TradingVaultImplementation
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
16
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "TradingVaultImplementation"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "TradingVaultImplementation"
ABI
ABI objects
Getter at block 23642256 FEE_ACCOUNT() view returns (address)
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
GLOBAL_TRADE_GUARDIAN() view returns (address)
0x0000000000000000000000000000000000000000
ROLE_CLIENT() view returns (bytes32)
0x43023f179164d629e1d761fb32e2db4dbd5ce417a23159d7da9cc7b562689285
ROLE_DEFINITIVE() view returns (bytes32)
0xd9c9e1a27f80559d0ef9cb96900d3b37cb5d56df00dca6d004c3b26d13df7898
ROLE_DEFINITIVE_ADMIN() view returns (bytes32)
0x71b4013af46185a424aaa4fe1eb172247581306dd750cb51be59e3864d3dc986
ROLE_TRADER() view returns (bytes32)
0x872340a532bdd7bb02bea115c1b0f1ba87eac982f5b79b51ac189ffaac1b6fce
STOP_GUARDIAN_ENABLED() view returns (bool)
false
TRADING_GUARDIAN_TRADING_DISABLED() view returns (bool)
false
WRAPPED_NATIVE_ASSET_ADDRESS() view returns (address)
0x0000000000000000000000000000000000000000
entryPoint() view returns (address)
0x0000000071727de22e5e9d8baf0edac6f37da032
supportsNativeAssets() pure returns (bool)
true
Read-only
getBalance(address assetAddress) view returns (uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
isPasskeyClient(bytes account) view returns (bool)
isPasskeyTrader(bytes account) view returns (bool)
isValidSignature(bytes32 _hash, bytes _encodedSignature) view returns (bytes4)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events deposit(uint256[] amounts, address[] assetAddresses) payable
disableStopGuardian()
disableTrading()
disableWithdrawals()
enableStopGuardian()
enableTrading()
enableWithdrawals()
execute(address target, uint256 value, bytes data) payable returns (bytes result)
executeBatch(struct CoreAccountAbstractionCall[] calls) payable returns (bytes[] results)
grantPasskeyClientRole(bytes account)
grantPasskeyTraderRole(bytes account)
grantRole(bytes32 role, address account)
initialize(struct BaseNativeWrapperConfig baseNativeWrapperConfig, struct CoreAccessControlConfig coreAccessControlConfig, address _globalTradeGuardianOverride)
multicall(bytes[] data) returns (bytes[] results)
renounceRole(bytes32 role, address callerConfirmation)
revokePasskeyClientRole(bytes account)
revokePasskeyTraderRole(bytes account)
revokeRole(bytes32 role, address account)
swap(struct SwapPayload[] payloads, address outputToken, uint256 amountOutMin, uint256 feePct) payable returns (uint256)
unwrap(uint256 amount)
unwrapAll()
updateGlobalTradeGuardian(address _globalTradeGuardian)
validateUserOp(struct CoreAccountAbstractionPackedUserOperation userOp, bytes32 userOpHash, uint256 missingAccountFunds) payable returns (uint256 validationData)
withdraw(uint256 amount, address erc20Token) returns (bool)
withdrawAll(address[] tokens) returns (bool)
withdrawAllTo(address[] tokens, address to) returns (bool)
withdrawTo(uint256 amount, address erc20Token, address to) returns (bool)
wrap(uint256 amount)
Deposit(address indexed actor, address[] assetAddresses, uint256[] amounts)
GlobalTradeGuardianUpdate(address indexed globalTradeGuardian)
Initialized(uint64 version)
NativeAssetWrap(address actor, uint256 amount, bool indexed wrappingToNative)
NativeTransfer(address indexed from, uint256 value)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
StopGuardianUpdate(address indexed actor, bool indexed isEnabled)
SwapHandled(address[] swapTokens, uint256[] swapAmounts, address outputToken, uint256 outputAmount, uint256 feeAmount)
SwapHandlerUpdate(address actor, address swapHandler, bool isEnabled)
TradingDisabledUpdate(address indexed actor, bool indexed isEnabled)
Withdrawal(address indexed erc20Token, uint256 amount, address indexed recipient)
WithdrawalsDisabledUpdate(address indexed actor, bool indexed isEnabled)
constructor()
receive()
AccessControlBadConfirmation()
AccessControlUnauthorizedAccount(address account, bytes32 neededRole)
AccountMissingRole(address _account, bytes32 _role)
AccountNotAdmin(address arg0)
AccountNotWhitelisted(address arg0)
AddressEmptyCode(address target)
AddressInsufficientBalance(address account)
ECDSAInvalidSignature()
ECDSAInvalidSignatureLength(uint256 length)
ECDSAInvalidSignatureS(bytes32 s)
FailedInnerCall()
FnSelectorNotRecognized()
GlobalStopGuardianEnabled()
InsufficientSwapTokenBalance()
InvalidAddress()
InvalidAmount()
InvalidERC20Address()
InvalidExecutedOutputAmount()
InvalidFeePercent()
InvalidInitialization()
InvalidInputs()
InvalidMethod(bytes4 methodSig)
InvalidMsgValue()
InvalidOutputToken()
InvalidReportedOutputAmount()
InvalidSignature()
InvalidSwapHandler()
NotInitializing()
ReentrancyGuardReentrantCall()
SafeERC20FailedOperation(address token)
SlippageExceeded(uint256 _outputAmount, uint256 _outputAmountMin)
StopGuardianEnabled()
SwapTokenIsOutputToken()
TradingDisabled()
Unauthorized()
WithdrawalsDisabled()