TradingVault

Verified contract

Active on Ethereum
Deployed by via 0xb6fae80b at 18821455
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "TradingVault"

0xda27802075bbc4cb2b87eda8fb31c9f1d19e8137001384510e4cb17f95679410
0x54fecb2dd21c425ba5a2880ef7fd1166c2dd32c7989be1a0b5fb92d0e695af9f
0x29ff7dbc82dc5422f8751baa5c07337c41a585cd25ec151a6ac43d2b431f39d0
0x534ea3ee3bd76c47fac4c75020483ab960716fbe6c0deb3e162e148cd722687b
0x4e8cd4d985b4076f1553abb36cc2c37d865c0e7a05f56e82c2614c16b8edc3ab
0x93bc9ca8c9f88ba95200bc8ea937b3dd1db145ae53e011f8de5699f3f3c09aef
0x6a601002c5ad13bf86370737d738849c9e838dcb7709095402e131ed51f69830
0x8ac3066438d4702060dbbf8b8bfd7925fa98e5350e290709d1532f9b101e7970
0x5417a942bfb5ce2b1fe5374d7016073ad947724b543995ae10dafb7840bc1aed
0xa0f0bc39b440bcac7d30efd22915194742bd12ac3614acaab0b97b8acd3cc1d1

Functions
Getter at block 21221701
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
FEE_ACCOUNT(view returns (address)
0x3b016025cd3d213c5779e10fe94a35ba440bd1c9
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
WRAPPED_NATIVE_ASSET_ADDRESS(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
supportsNativeAssets(pure returns (bool)
true
Read-only
_swapHandlers(addressview returns (bool)
getBalance(address assetAddressview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
deposit(uint256[] amountsaddress[] assetAddressespayable 
disableStopGuardian(
disableSwapHandlers(address[] swapHandlers
enableStopGuardian(
enableSwapHandlers(address[] swapHandlers
executeOperation(address targetbytes payloadpayable 
grantRole(bytes32 roleaddress account
multicall(bytes[] datareturns (bytes[] results)
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
swap(struct SwapPayload[] payloadsaddress outputTokenuint256 amountOutMinuint256 feePctreturns (uint256)
unwrap(uint256 amount
unwrapAll(
updateFeeAccount(address _feeAccount
withdraw(uint256 amountaddress erc20Tokenreturns (bool)
withdrawAll(address[] tokensreturns (bool)
withdrawAllTo(address[] tokensaddress toreturns (bool)
withdrawTo(uint256 amountaddress erc20Tokenaddress toreturns (bool)
wrap(uint256 amount
Events
Deposit(address indexed actoraddress[] assetAddressesuint256[] amounts
FeeAccountUpdated(address actoraddress feeAccount
NativeAssetWrap(address actoruint256 amountbool indexed wrappingToNative
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
StopGuardianUpdate(address indexed actorbool indexed isEnabled
SwapHandled(address[] swapTokensuint256[] swapAmountsaddress outputTokenuint256 outputAmountuint256 feeAmount
SwapHandlerUpdate(address actoraddress swapHandlerbool isEnabled
Withdrawal(address indexed erc20Tokenuint256 amountaddress indexed recipient
Constructor
constructor(struct BaseNativeWrapperConfig baseNativeWrapperConfigstruct CoreAccessControlConfig coreAccessControlConfigstruct CoreSimpleSwapConfig coreSimpleSwapConfigstruct CoreFeesConfig coreFeesConfig
Fallback and receive
fallback(
receive(
Errors
AccountMissingRole(address _accountbytes32 _role
AccountNotAdmin(address arg0
AccountNotWhitelisted(address arg0
InsufficientSwapTokenBalance(
InvalidAmount(
InvalidERC20Address(
InvalidExecutedOutputAmount(
InvalidFeePercent(
InvalidInputs(
InvalidMsgValue(
InvalidOutputToken(
InvalidReportedOutputAmount(
InvalidSwapHandler(
SlippageExceeded(uint256 _outputAmountuint256 _outputAmountMin
StopGuardianEnabled(
SwapTokenIsOutputToken(