Router
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
38
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "Router"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "Router"
ABI
ABI objects
Getter at block 20866827
authority() view returns (address)
0x0000000000000000000000000000000000000000
isConsumingScheduledOp() view returns (bytes4)
0x00000000
registry() view returns (address)
0x4973b53b300d64ab72147eff8c9d962f6b1da02e
routerUtil() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
previewRate(bytes _commands, bytes[] _inputs) view returns (uint256)
previewSpotRate(bytes _commands, bytes[] _inputs) view returns (uint256)
State-modifying
Events execute(bytes _commands, bytes[] _inputs) payable
execute(bytes _commands, bytes[] _inputs, uint256 _deadline) payable
initialize(address _routerUtil, address _initialAuthority)
onFlashLoan(address, address _token, uint256 _amount, uint256 _fee, bytes _data) returns (bytes32)
setAuthority(address newAuthority)
setRouterUtil(address _routerUtil)
AuthorityUpdated(address authority)
Initialized(uint64 version)
constructor(address _registry)
This contract contains no fallback and receive objects.
AccessManagedInvalidAuthority(address authority)
AccessManagedRequiredDelay(address caller, uint32 delay)
AccessManagedUnauthorized(address caller)
AddressEmptyCode(address target)
AddressError()
AddressInsufficientBalance(address account)
AmountError()
BalanceUnderflow()
CallFailed()
DirectOnFlashloanCall()
FailedInnerCall()
InvalidCommandType(uint256 commandType)
InvalidFlashloanLender(address lender)
InvalidInitialization()
InvalidTokenIndex(uint256 i, uint256 j)
LengthMismatch()
MathOverflowedMulDiv()
MaxInvolvedTokensExceeded()
MinimumBalanceNotReached(address token, address owner, uint256 minimumBalance, uint256 actualBalance)
NotInitializing()
PermitFailed()
SafeERC20FailedOperation(address token)
TransactionDeadlinePassed()
UnauthorizedOnFlashloanCaller()
UnauthorizedReentrantCall()