0 txs
0 calls
constructor
constructor()
functions
DEFAULT_ADMIN_ROLE
viewfunction DEFAULT_ADMIN_ROLE() view returns (bytes32)
entryPoint
viewfunction entryPoint() view returns (address)
FEE_ACCOUNT
viewfunction FEE_ACCOUNT() view returns (address)
getBalance
viewfunction getBalance(address assetAddress) view returns (uint256)
getRoleAdmin
viewfunction getRoleAdmin(bytes32 role) view returns (bytes32)
GLOBAL_TRADE_GUARDIAN
viewfunction GLOBAL_TRADE_GUARDIAN() view returns (address)
hasRole
viewfunction hasRole(bytes32 role, address account) view returns (bool)
isPasskeyClient
viewfunction isPasskeyClient(bytes account) view returns (bool)
isPasskeyTrader
viewfunction isPasskeyTrader(bytes account) view returns (bool)
isValidSignature
viewfunction isValidSignature(bytes32 _hash, bytes _encodedSignature) view returns (bytes4)
ROLE_CLIENT
viewfunction ROLE_CLIENT() view returns (bytes32)
ROLE_DEFINITIVE_ADMIN
viewfunction ROLE_DEFINITIVE_ADMIN() view returns (bytes32)
ROLE_DEFINITIVE
viewfunction ROLE_DEFINITIVE() view returns (bytes32)
ROLE_TRADER
viewfunction ROLE_TRADER() view returns (bytes32)
STOP_GUARDIAN_ENABLED
viewfunction STOP_GUARDIAN_ENABLED() view returns (bool)
supportsInterface
viewfunction supportsInterface(bytes4 interfaceId) view returns (bool)
supportsNativeAssets
purefunction supportsNativeAssets() pure returns (bool)
TRADING_GUARDIAN_TRADING_DISABLED
viewfunction TRADING_GUARDIAN_TRADING_DISABLED() view returns (bool)
WRAPPED_NATIVE_ASSET_ADDRESS
viewfunction WRAPPED_NATIVE_ASSET_ADDRESS() view returns (address)
deposit
payablefunction deposit(uint256[] amounts, address[] assetAddresses) payable
disableStopGuardian
nonpayablefunction disableStopGuardian()
disableTrading
nonpayablefunction disableTrading()
disableWithdrawals
nonpayablefunction disableWithdrawals()
enableStopGuardian
nonpayablefunction enableStopGuardian()
enableTrading
nonpayablefunction enableTrading()
enableWithdrawals
nonpayablefunction enableWithdrawals()
execute
payablefunction execute(address target, uint256 value, bytes data) payable returns (bytes result)
executeBatch
payablefunction executeBatch(tuple[] calls) payable returns (bytes[] results)
grantPasskeyClientRole
nonpayablefunction grantPasskeyClientRole(bytes account)
grantPasskeyTraderRole
nonpayablefunction grantPasskeyTraderRole(bytes account)
grantRole
nonpayablefunction grantRole(bytes32 role, address account)
initialize
nonpayablefunction initialize(tuple baseNativeWrapperConfig, tuple coreAccessControlConfig, address _globalTradeGuardianOverride)
multicall
nonpayablefunction multicall(bytes[] data) returns (bytes[] results)
renounceRole
nonpayablefunction renounceRole(bytes32 role, address callerConfirmation)
revokePasskeyClientRole
nonpayablefunction revokePasskeyClientRole(bytes account)
revokePasskeyTraderRole
nonpayablefunction revokePasskeyTraderRole(bytes account)
revokeRole
nonpayablefunction revokeRole(bytes32 role, address account)
swap
payablefunction swap(tuple[] payloads, address outputToken, uint256 amountOutMin, uint256 feePct) payable returns (uint256)
unwrap
nonpayablefunction unwrap(uint256 amount)
unwrapAll
nonpayablefunction unwrapAll()
updateGlobalTradeGuardian
nonpayablefunction updateGlobalTradeGuardian(address _globalTradeGuardian)
validateUserOp
payablefunction validateUserOp(tuple userOp, bytes32 userOpHash, uint256 missingAccountFunds) payable returns (uint256 validationData)
withdraw
nonpayablefunction withdraw(uint256 amount, address erc20Token) returns (bool)
withdrawAll
nonpayablefunction withdrawAll(address[] tokens) returns (bool)
withdrawAllTo
nonpayablefunction withdrawAllTo(address[] tokens, address to) returns (bool)
withdrawTo
nonpayablefunction withdrawTo(uint256 amount, address erc20Token, address to) returns (bool)
wrap
nonpayablefunction wrap(uint256 amount)
events
Deposit
event Deposit(address indexed actor, address[] assetAddresses, uint256[] amounts)
GlobalTradeGuardianUpdate
event GlobalTradeGuardianUpdate(address indexed globalTradeGuardian)
Initialized
event Initialized(uint64 version)
NativeAssetWrap
event NativeAssetWrap(address actor, uint256 amount, bool indexed wrappingToNative)
NativeTransfer
event NativeTransfer(address indexed from, uint256 value)
RoleAdminChanged
event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted
event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked
event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
StopGuardianUpdate
event StopGuardianUpdate(address indexed actor, bool indexed isEnabled)
SwapHandled
event SwapHandled(address[] swapTokens, uint256[] swapAmounts, address outputToken, uint256 outputAmount, uint256 feeAmount)
SwapHandlerUpdate
event SwapHandlerUpdate(address actor, address swapHandler, bool isEnabled)
TradingDisabledUpdate
event TradingDisabledUpdate(address indexed actor, bool indexed isEnabled)
Withdrawal
event Withdrawal(address indexed erc20Token, uint256 amount, address indexed recipient)
WithdrawalsDisabledUpdate
event WithdrawalsDisabledUpdate(address indexed actor, bool indexed isEnabled)
errors
AccessControlBadConfirmation
error AccessControlBadConfirmation()
AccessControlUnauthorizedAccount
error AccessControlUnauthorizedAccount(address account, bytes32 neededRole)
AccountMissingRole
error AccountMissingRole(address _account, bytes32 _role)
AccountNotAdmin
error AccountNotAdmin(address)
AccountNotWhitelisted
error AccountNotWhitelisted(address)
AddressEmptyCode
error AddressEmptyCode(address target)
AddressInsufficientBalance
error AddressInsufficientBalance(address account)
ECDSAInvalidSignature
error ECDSAInvalidSignature()
ECDSAInvalidSignatureLength
error ECDSAInvalidSignatureLength(uint256 length)
ECDSAInvalidSignatureS
error ECDSAInvalidSignatureS(bytes32 s)
FailedInnerCall
error FailedInnerCall()
FnSelectorNotRecognized
error FnSelectorNotRecognized()
GlobalStopGuardianEnabled
error GlobalStopGuardianEnabled()
InsufficientSwapTokenBalance
error InsufficientSwapTokenBalance()
InvalidAddress
error InvalidAddress()
InvalidAmount
error InvalidAmount()
InvalidERC20Address
error InvalidERC20Address()
InvalidExecutedOutputAmount
error InvalidExecutedOutputAmount()
InvalidFeePercent
error InvalidFeePercent()
InvalidInitialization
error InvalidInitialization()
InvalidInputs
error InvalidInputs()
InvalidMethod
error InvalidMethod(bytes4 methodSig)
InvalidMsgValue
error InvalidMsgValue()
InvalidOutputToken
error InvalidOutputToken()
InvalidReportedOutputAmount
error InvalidReportedOutputAmount()
InvalidSignature
error InvalidSignature()
InvalidSwapHandler
error InvalidSwapHandler()
NotInitializing
error NotInitializing()
ReentrancyGuardReentrantCall
error ReentrancyGuardReentrantCall()
SafeERC20FailedOperation
error SafeERC20FailedOperation(address token)
SlippageExceeded
error SlippageExceeded(uint256 _outputAmount, uint256 _outputAmountMin)
StopGuardianEnabled
error StopGuardianEnabled()
SwapTokenIsOutputToken
error SwapTokenIsOutputToken()
TradingDisabled
error TradingDisabled()
Unauthorized
error Unauthorized()
WithdrawalsDisabled
error WithdrawalsDisabled()
creation bytecode
0x60523d8160223d3973000000005ae5f42270cdf0e41960840e7fb1b2dc60195155f3363d3d373d3d363d602036600436635c60da1b60e01b36527fa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50545afa5036515af43d6000803e604d573d6000fd5b3d6000f3