TradingVaultImplementation
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
10
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 22764985
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
FEE_ACCOUNT() view returns (address)
0x0000000000000000000000000000000000000000
GLOBAL_TRADE_GUARDIAN() view returns (address)
0x3ab7069fcb015bd18d0542da9deedce3f4374aee
ROLE_CLIENT() view returns (bytes32)
0x43023f179164d629e1d761fb32e2db4dbd5ce417a23159d7da9cc7b562689285
ROLE_DEFINITIVE() view returns (bytes32)
0xd9c9e1a27f80559d0ef9cb96900d3b37cb5d56df00dca6d004c3b26d13df7898
ROLE_DEFINITIVE_ADMIN() view returns (bytes32)
0x71b4013af46185a424aaa4fe1eb172247581306dd750cb51be59e3864d3dc986
STOP_GUARDIAN_ENABLED() view returns (bool)
false
TRADING_GUARDIAN_TRADING_DISABLED() view returns (bool)
false
TRADING_GUARDIAN_WITHDRAWALS_DISABLED() view returns (bool)
false
WRAPPED_NATIVE_ASSET_ADDRESS() view returns (address)
0x0000000000000000000000000000000000000000
supportsNativeAssets() pure returns (bool)
true
Read-only
_swapHandlers(address) view returns (bool)
getBalance(address assetAddress) view returns (uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address 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()
disableSwapHandlers(address[] swapHandlers)
disableTrading()
disableWithdrawals()
enableStopGuardian()
enableSwapHandlers(address[] swapHandlers)
enableTrading()
enableWithdrawals()
executeOperation(address target, bytes payload) payable
grantRole(bytes32 role, address account)
initialize(struct BaseNativeWrapperConfig baseNativeWrapperConfig, struct CoreAccessControlConfig coreAccessControlConfig, struct CoreSimpleSwapConfig coreSimpleSwapConfig, struct CoreFeesConfig coreFeesConfig)
multicall(bytes[] data) returns (bytes[] results)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
swap(struct SwapPayload[] payloads, address outputToken, uint256 amountOutMin, uint256 feePct) returns (uint256)
unwrap(uint256 amount)
unwrapAll()
updateFeeAccount(address _feeAccount)
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)
FeeAccountUpdated(address actor, address feeAccount)
Initialized(uint8 version)
NativeAssetWrap(address actor, uint256 amount, bool indexed wrappingToNative)
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()
fallback()
receive()
AccountMissingRole(address _account, bytes32 _role)
AccountNotAdmin(address arg0)
AccountNotWhitelisted(address arg0)
GlobalStopGuardianEnabled()
InsufficientSwapTokenBalance()
InvalidAmount()
InvalidERC20Address()
InvalidExecutedOutputAmount()
InvalidFeePercent()
InvalidInputs()
InvalidMsgValue()
InvalidOutputToken()
InvalidReportedOutputAmount()
InvalidSignature()
InvalidSwapHandler()
SlippageExceeded(uint256 _outputAmount, uint256 _outputAmountMin)
StopGuardianEnabled()
SwapTokenIsOutputToken()
TradingDisabled()
WithdrawalsDisabled()