0 txs
0 calls
constructor
No constructor.
functions
allowlistedWithdrawalAddressValidFrom
viewfunction allowlistedWithdrawalAddressValidFrom(address _withdrawalAddress) view returns (uint256)
getAllowlistDelay
viewfunction getAllowlistDelay() view returns (uint256)
isAllowlistedWithdrawalAddress
viewfunction isAllowlistedWithdrawalAddress(address _withdrawalAddress) view returns (bool)
setAllowlistedWithdrawalAddress
nonpayablefunction setAllowlistedWithdrawalAddress(address _allowlistedWithdrawalAddress, bool _status)
withdrawERC1155BatchToAllowlistedAddress
nonpayablefunction withdrawERC1155BatchToAllowlistedAddress(address _withdrawalAddress, address _token, uint256[] _tokenIds, uint256[] _amounts, bytes _data)
withdrawERC1155ToAllowlistedAddress
nonpayablefunction withdrawERC1155ToAllowlistedAddress(address _withdrawalAddress, address _token, uint256 _tokenId, uint256 _amount, bytes _data)
withdrawERC20ToAllowlistedAddress
nonpayablefunction withdrawERC20ToAllowlistedAddress(address _withdrawalAddress, address _token, uint256 _amount)
withdrawERC721ToAllowlistedAddress
nonpayablefunction withdrawERC721ToAllowlistedAddress(address _withdrawalAddress, address _token, uint256 _tokenId)
withdrawEtherToAllowlistedAddress
nonpayablefunction withdrawEtherToAllowlistedAddress(address _withdrawalAddress, uint256 _amount)
events
AllowlistedWithdrawAddressRemoved
event AllowlistedWithdrawAddressRemoved(address indexed withdrawalAddress)
AllowlistedWithdrawAddressSetWithDelay
event AllowlistedWithdrawAddressSetWithDelay(address indexed withdrawalAddress, uint256 validFrom)
Initialized
event Initialized(uint64 version)
PayloadProcessed
event PayloadProcessed((address _address, address _address2, uint256 _uint256, bytes32 _nonce, uint32 _uint32, bool _bool, bytes4 _selector) request, bytes signature)
WithdrawalERC1155BatchExecuted
event WithdrawalERC1155BatchExecuted(address indexed token, address indexed withdrawalAddress, uint256[] tokenIds, uint256[] amounts, bytes data)
WithdrawalERC1155Executed
event WithdrawalERC1155Executed(address indexed token, address indexed withdrawalAddress, uint256 tokenId, uint256 amount, bytes data)
WithdrawalERC20Executed
event WithdrawalERC20Executed(address indexed token, address indexed withdrawalAddress, uint256 amount)
WithdrawalERC721Executed
event WithdrawalERC721Executed(address indexed token, address indexed withdrawalAddress, uint256 tokenId)
WithdrawalEtherExecuted
event WithdrawalEtherExecuted(address indexed withdrawalAddress, uint256 amount)
WithdrawalFeeUSDCTaken
event WithdrawalFeeUSDCTaken(address token, uint256 amount)
errors
AddressAlreadySet
error AddressAlreadySet()
AddressEmptyCode
error AddressEmptyCode(address target)
AddressInsufficientBalance
error AddressInsufficientBalance(address account)
ETHTransferFailed
error ETHTransferFailed()
FailedInnerCall
error FailedInnerCall()
InsufficientBalanceForFee
error InsufficientBalanceForFee(uint256 balance, uint256 fee)
InvalidInitialization
error InvalidInitialization()
InvalidKeySignature
error InvalidKeySignature(address from)
InvalidWithdrawalAddress
error InvalidWithdrawalAddress(address to)
NotInitializing
error NotInitializing()
NullAddress
error NullAddress()
ReentrancyGuardReentrantCall
error ReentrancyGuardReentrantCall()
SafeERC20FailedOperation
error SafeERC20FailedOperation(address token)
ZeroValue
error ZeroValue()
creation bytecode
0x608060405234801561001057600080fd5b506118f9806100206000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063446dfab911610066578063446dfab9146100f95780634ffe193d1461010157806355965ed31461011457806390aebde714610137578063e75c67831461014a57600080fd5b806301fd453b146100985780631311b246146100be578063194d9a48146100d35780633a181eba146100e6575b600080fd5b6100ab6100a6366004611231565b61015d565b6040519081526020015b60405180910390f35b6100d16100cc36600461125c565b61016e565b005b6100d16100e13660046112de565b6101e9565b6100d16100f436600461139f565b61023e565b6100ab610297565b6100d161010f36600461145e565b6102a6565b610127610122366004611231565b6102f5565b60405190151581526020016100b5565b6100d161014536600461149f565b610300565b6100d161015836600461145e565b610349565b60006101688261037c565b92915050565b61017e6101796103a7565b6103f9565b6101b45761018a6103a7565b6040516357a92af760e01b81526001600160a01b0390911660048201526024015b60405180910390fd5b6001600160a01b0382166101db5760405163e99d5ac560e01b815260040160405180910390fd5b6101e58282610429565b5050565b6101f46101796103a7565b6102005761018a6103a7565b610208610539565b61021186610571565b61021f8686868686866105cc565b61023660016000805160206118a483398151915255565b505050505050565b6102496101796103a7565b6102555761018a6103a7565b61025d610539565b61026688610571565b61027688888888888888886105da565b61028d60016000805160206118a483398151915255565b5050505050505050565b60006102a16105ea565b905090565b6102b16101796103a7565b6102bd5761018a6103a7565b6102c5610539565b6102ce83610571565b6102d98383836105ff565b6102f060016000805160206118a483398151915255565b505050565b600061016882610658565b61030b6101796103a7565b6103175761018a6103a7565b61031f610539565b61032882610571565b61033282826106ae565b6101e560016000805160206118a483398151915255565b6103546101796103a7565b6103605761018a6103a7565b610368610539565b61037183610571565b6102d9838383610700565b60008061038761077a565b6001600160a01b0390931660009081526020939093525050604090205490565b60003660146103b5336107d2565b80156103c15750808210155b156103f1576000366103d383856114e1565b6103de9282906114f4565b6103e79161151e565b60601c9250505090565b339250505090565b6000806104046107e5565b6001600160a01b03909316600090815260039093016020525050604090205460ff1690565b600061043361077a565b905081156104e7576001600160a01b0383166000908152602082905260409020541561047257604051637b1616c160e11b815260040160405180910390fd5b60008160010154426104849190611553565b9050836001600160a01b03167f7dc667ce4ca28cf978d8ac7b3bb0710326c2e6c6966d92fc34b7190dd432f147826040516104c191815260200190565b60405180910390a26001600160a01b038416600090815260208390526040902055505050565b6040516001600160a01b038416907f88dae2c1c671c2a778c1fe3901998708defc086237302417f694c6388d23bc0d90600090a26001600160a01b038316600090815260208290526040812055505050565b6000805160206118a483398151915280546001190161056b57604051633ee5aeb560e01b815260040160405180910390fd5b60029055565b61057a81610658565b1580156105a0575061058a610829565b6001600160a01b0316816001600160a01b031614155b156105c95760405163085a028160e21b81526001600160a01b03821660048201526024016101ab565b50565b610236868686868686610844565b61028d8888888888888888610905565b6000806105f561077a565b6001015492915050565b6001600160a01b0383166106265760405163e99d5ac560e01b815260040160405180910390fd5b6001600160a01b03821661064d5760405163e99d5ac560e01b815260040160405180910390fd5b6102f08383836109d0565b60008061066361077a565b6001600160a01b0384166000908152602082905260408120549192500361068d5750600092915050565b6001600160a01b039092166000908152602092909252506040902054421190565b6001600160a01b0382166106d55760405163e99d5ac560e01b815260040160405180910390fd5b806000036106f657604051637c946ed760e01b815260040160405180910390fd5b6101e58282610a8a565b8060000361072157604051637c946ed760e01b815260040160405180910390fd5b6001600160a01b0383166107485760405163e99d5ac560e01b815260040160405180910390fd5b6001600160a01b03821661076f5760405163e99d5ac560e01b815260040160405180910390fd5b6102f0828483610b4a565b6000806040516020016107b490602080825260139082015272696f2e696e66696e65782e576974686472617760681b604082015260600190565b60408051601f19818403018152919052805160209091012092915050565b60006101686107df610c4e565b83610c92565b6000806040516020016107b49060208082526017908201527f696f2e696e66696e65782e53656375726974794b657973000000000000000000604082015260600190565b600080610834610cb7565b546001600160a01b031692915050565b856001600160a01b0316856001600160a01b03167fea56b6ce6255c732403c487e40f74dcf40c33a3e8142cfff363608fa3bceabf58686868660405161088d949392919061158f565b60405180910390a3604051637921219560e11b81526001600160a01b0386169063f242432a906108cb9030908a9089908990899089906004016115af565b600060405180830381600087803b1580156108e557600080fd5b505af11580156108f9573d6000803e3d6000fd5b50505050505050505050565b876001600160a01b0316876001600160a01b03167f801a405e409a990c6098d2cbe9441f0a8c82ee40600340bb51f6b1f30b2bdf4588888888888860405161095296959493929190611628565b60405180910390a3604051631759616b60e11b81526001600160a01b03881690632eb2c2d6906109949030908c908b908b908b908b908b908b90600401611671565b600060405180830381600087803b1580156109ae57600080fd5b505af11580156109c2573d6000803e3d6000fd5b505050505050505050505050565b826001600160a01b0316826001600160a01b03167f940cf2d89850b5478dc7522e0cc925e2039c4dd76b5d878e3cbf22d3e473d17983604051610a1591815260200190565b60405180910390a3604051632142170760e11b81523060048201526001600160a01b038481166024830152604482018390528316906342842e0e90606401600060405180830381600087803b158015610a6d57600080fd5b505af1158015610a81573d6000803e3d6000fd5b50505050505050565b610a92610cf1565b50816001600160a01b03167fd82b833f24e4f073c79ca596acad7d5e9df45b62f22c465fe540feb2a96af3db82604051610ace91815260200190565b60405180910390a26000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114610b23576040519150601f19603f3d011682016040523d82523d6000602084013e610b28565b606091505b50509050806102f05760405163b12d13eb60e01b815260040160405180910390fd5b6000610bba82856001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b8e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bb291906116d5565b60ff16610f45565b9050806000610bc7610cf1565b9050610bd1610f7e565b6001600160a01b0316866001600160a01b031603610bf657610bf381846114e1565b91505b846001600160a01b0316866001600160a01b03167f0a25bb5963c8215635d6d00abec63a956ee2f11c6df8b500a29d5bea14f1f41384604051610c3b91815260200190565b60405180910390a3610236868684610f9a565b6000806040516020016107b49060208082526019908201527f696f2e696e66696e65782e45524332373731436f6e7465787400000000000000604082015260600190565b6001600160a01b038116600090815260018301602052604081205415155b9392505050565b6000806040516020016107b490602080825260139082015272696f2e696e66696e65782e5265636f7665727960681b604082015260600190565b600080610cfc610fec565b90506000610d08610f7e565b90506000816001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d6e91906116d5565b6040516370a0823160e01b815230600482015260ff9190911691506000906001600160a01b038416906370a0823190602401602060405180830381865afa158015610dbd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610de191906116f8565b9050610e63610df183600a6117f5565b610dfc906032611801565b856001600160a01b031663a3e141c66040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5e91906116f8565b610ff7565b945084811015610e905760405163146aea2360e01b815260048101829052602481018690526044016101ab565b604080516001600160a01b0385168152602081018790527f3be83bfde3ee7ed72c56c116f6aafff9f01d4e1587de99d1b4484d7ff2e42a3b910160405180910390a1610f3e83856001600160a01b0316637f753de66040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f14573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f389190611818565b87610f9a565b5050505090565b600060128211610f6957610f64610f5d8360126114e1565b849061100d565b610cb0565b610cb0610f776012846114e1565b8490611024565b6000610f8861103b565b600201546001600160a01b0316919050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526102f0908490611073565b6000806108346110d6565b60008183106110065781610cb0565b5090919050565b600061101a82600a6117f5565b610cb09084611835565b600061103182600a6117f5565b610cb09084611801565b6000806040516020016107b490602080825260119082015270696f2e696e66696e65782e42726964676560781b604082015260600190565b60006110886001600160a01b0384168361111a565b905080516000141580156110ad5750808060200190518101906110ab9190611857565b155b156102f057604051635274afe760e01b81526001600160a01b03841660048201526024016101ab565b6000806040516020016107b49060208082526019908201527f696f2e696e66696e65782e4163636f756e7453746f7261676500000000000000604082015260600190565b6060610cb08383600084600080856001600160a01b031684866040516111409190611874565b60006040518083038185875af1925050503d806000811461117d576040519150601f19603f3d011682016040523d82523d6000602084013e611182565b606091505b509150915061119286838361119c565b9695505050505050565b6060826111ac57610f64826111f3565b81511580156111c357506001600160a01b0384163b155b156111ec57604051639996b31560e01b81526001600160a01b03851660048201526024016101ab565b5080610cb0565b8051156112035780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6001600160a01b03811681146105c957600080fd5b60006020828403121561124357600080fd5b8135610cb08161121c565b80151581146105c957600080fd5b6000806040838503121561126f57600080fd5b823561127a8161121c565b9150602083013561128a8161124e565b809150509250929050565b60008083601f8401126112a757600080fd5b50813567ffffffffffffffff8111156112bf57600080fd5b6020830191508360208285010111156112d757600080fd5b9250929050565b60008060008060008060a087890312156112f757600080fd5b86356113028161121c565b955060208701356113128161121c565b94506040870135935060608701359250608087013567ffffffffffffffff81111561133c57600080fd5b61134889828a01611295565b979a9699509497509295939492505050565b60008083601f84011261136c57600080fd5b50813567ffffffffffffffff81111561138457600080fd5b6020830191508360208260051b85010111156112d757600080fd5b60008060008060008060008060a0898b0312156113bb57600080fd5b88356113c68161121c565b975060208901356113d68161121c565b9650604089013567ffffffffffffffff808211156113f357600080fd5b6113ff8c838d0161135a565b909850965060608b013591508082111561141857600080fd5b6114248c838d0161135a565b909650945060808b013591508082111561143d57600080fd5b5061144a8b828c01611295565b999c989b5096995094979396929594505050565b60008060006060848603121561147357600080fd5b833561147e8161121c565b9250602084013561148e8161121c565b929592945050506040919091013590565b600080604083850312156114b257600080fd5b82356114bd8161121c565b946020939093013593505050565b634e487b7160e01b600052601160045260246000fd5b81810381811115610168576101686114cb565b6000808585111561150457600080fd5b8386111561151157600080fd5b5050820193919092039150565b6bffffffffffffffffffffffff19813581811691601485101561154b5780818660140360031b1b83161692505b505092915050565b80820180821115610168576101686114cb565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b848152836020820152606060408201526000611192606083018486611566565b6001600160a01b03878116825286166020820152604081018590526060810184905260a0608082018190526000906115ea9083018486611566565b98975050505050505050565b81835260006001600160fb1b0383111561160f57600080fd5b8260051b80836020870137939093016020019392505050565b60608152600061163c60608301888a6115f6565b828103602084015261164f8187896115f6565b90508281036040840152611664818587611566565b9998505050505050505050565b6001600160a01b0389811682528816602082015260a06040820181905260009061169e908301888a6115f6565b82810360608401526116b18187896115f6565b905082810360808401526116c6818587611566565b9b9a5050505050505050505050565b6000602082840312156116e757600080fd5b815160ff81168114610cb057600080fd5b60006020828403121561170a57600080fd5b5051919050565b600181815b8085111561174c578160001904821115611732576117326114cb565b8085161561173f57918102915b93841c9390800290611716565b509250929050565b60008261176357506001610168565b8161177057506000610168565b81600181146117865760028114611790576117ac565b6001915050610168565b60ff8411156117a1576117a16114cb565b50506001821b610168565b5060208310610133831016604e8410600b84101617156117cf575081810a610168565b6117d98383611711565b80600019048211156117ed576117ed6114cb565b029392505050565b6000610cb08383611754565b8082028115828204841417610168576101686114cb565b60006020828403121561182a57600080fd5b8151610cb08161121c565b60008261185257634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561186957600080fd5b8151610cb08161124e565b6000825160005b81811015611895576020818601810151858301520161187b565b50600092019182525091905056fe9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00a2646970667358221220f8de4688e4feaf0c9c959997f570856b0cd37a60981877d9200dde818edfff9464736f6c63430008150033