Relayer

Verified contract

Active on Ethereum with 5,821 txns
Deployed by via 0x466de1ac at 20121903
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $15,467.67
0x1a75ae3637ed4debc20744ca44f0e950d1b7fa9c24592f5df3dc63c82051fee8
0xcd8f48e03f0a661dc38f690b6ac67c009cad5d92693a6e7c8973444c487933b6
0xa660947796ccca55cb3063934ff859d9504c8b8f03ef90ae77a56414f5903e50
0x3b6ef3774bd3d31f75524693f51ef72f9a02f6256aa4111c23b73652239cb594
0xae75530796750581ce30ff60fda6bfe86bdda4a12fff182215a4f373e3a48078
0xdb050f8878e31e648e26e2e1715bd8b4f4da1faa83e32864d1ccc4d80978103a
0x1f48c704e9ca766a3295a03628ae400f3f170881ca185d9408007ea5b13c9fb0
0x157c6a13d29e1161fdbd01b729df77acc593a4c232cbcc5b501755f09d1bc53d
0x4742327991a2a2168a1d749e6d35c17164192827949dcceb6a143264a5dfc25c
0x3b1809de01061197a43ab203eee88b3b21c6699a16e1dd4a3afa05aeff1a863c

Functions
Getter at block 21164697
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
RelayerQuotaPaymentFailed(address smartVaultuint256 quota
RelayerRecipientZero(
RelayerSimulationResult(struct IRelayerTaskResult[] taskResults
RelayerTaskDoesNotHavePermissions(address taskaddress smartVault
RelayerTokenZero(
RelayerValueDoesNotMatchAmount(uint256 valueuint256 amount
RelayerWithdrawFailed(address senderuint256 amount
RelayerWithdrawInsufficientBalance(address senderuint256 balanceuint256 amount