Relayer

Verified contract

Active on Ethereum with 8,941 txns
Deployed by via 0xa5d05b6e at 18387061
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $66,146.76
0x79f25740eed3aed48769db09e1ee41e70c35acf1e5c27320b35b1b99a8ba09c9
0xe71430a88b239ce57c49fa140d0fdb420f8e7f51dc7b7d4a7fd1017829b4e0f6
0x5376c33b70607a55d3db1aabaf78f05278ccf1e6dac25109c0d4d686689d8f37
0xea9d2943014869abbf1666d07598bedb9d20b164a2e1b95db6d99242b41dfe90
0x14c0fd15d5458465621234822e0c6511b89d130e1755f82322ca46252101f4dc
0x029a3e5e4084191810faceda2001beb3a9935b03f4a6d24f0a542e604f2963b6
0x43b1d7378564621a06bac7a3dbca236f28f9bbab71d2deece7e2e2a8ee9ff3c4
0x8220481e49d1f6a9bb7eac6b59d8da2059f9e0b730e2008c67bb980f102e1967
0x0272c81cfec7572419ef9f9ec1d91e9849ebdd8e13b3567f909d9fe141bf6c5c
0xd2f337cb51e1976e0ee97eccfd09db42b455f72c7313c0e21363c81e1b05150a

Functions
Getter at block 21284550
BASE_GAS(view returns (uint256)
70500
defaultCollector(view returns (address)
0xb3afb6db38a8e72905165c1fbb96772e63560790
owner(view returns (address)
0x6c0542daee8cc6866529d4a68163eb157fb78999
Read-only
getApplicableCollector(address smartVaultview returns (address)
getSmartVaultBalance(addressview returns (uint256)
getSmartVaultCollector(addressview returns (address)
getSmartVaultMaxQuota(addressview returns (uint256)
getSmartVaultUsedQuota(addressview returns (uint256)
isExecutorAllowed(addressview returns (bool)
State-modifying
deposit(address smartVaultuint256 amountpayable 
execute(address[] tasksbytes[] databool continueIfFailed
renounceOwnership(
rescueFunds(address tokenaddress recipientuint256 amount
setDefaultCollector(address collector
setExecutor(address executorbool allowed
setSmartVaultCollector(address smartVaultaddress collector
setSmartVaultMaxQuota(address smartVaultuint256 maxQuota
simulate(address[] tasksbytes[] databool continueIfFailed
transferOwnership(address newOwner
withdraw(uint256 amount
Events
DefaultCollectorSet(address indexed collector
Deposited(address indexed smartVaultuint256 amount
ExecutorSet(address indexed executorbool allowed
FundsRescued(address indexed tokenaddress indexed recipientuint256 amount
GasPaid(address indexed smartVaultuint256 amountuint256 quota
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
QuotaPaid(address indexed smartVaultuint256 amount
SmartVaultCollectorSet(address indexed smartVaultaddress indexed collector
SmartVaultMaxQuotaSet(address indexed smartVaultuint256 maxQuota
TaskExecuted(address indexed smartVaultaddress indexed taskbytes databool successbytes resultuint256 gasuint256 index
Withdrawn(address indexed smartVaultuint256 amount
Constructor
constructor(address executoraddress collectoraddress owner
Fallback and receive

This contract contains no fallback and receive objects.

Errors
RelayerAmountZero(
RelayerCollectorZero(
RelayerExecutorNotAllowed(address sender
RelayerExecutorZero(
RelayerInputLengthMismatch(
RelayerMultipleTaskSmartVaults(address taskaddress taskSmartVaultaddress expectedSmartVault
RelayerNoTaskGiven(
RelayerPaymentFailed(address smartVaultuint256 amountuint256 quota
RelayerPaymentInsufficientBalance(address smartVaultuint256 balanceuint256 quotauint256 amount
RelayerRecipientZero(
RelayerSimulationResult(struct IRelayerTaskResult[] taskResults
RelayerTaskDoesNotHavePermissions(address taskaddress smartVault
RelayerTokenZero(
RelayerValueDoesNotMatchAmount(uint256 valueuint256 amount
RelayerWithdrawFailed(address senderuint256 amount
RelayerWithdrawInsufficientBalance(address senderuint256 balanceuint256 amount