Router

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x63e15457 at 20371870
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "Router"

No transactions found for "Router"


Functions
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 _commandsbytes[] _inputsview returns (uint256)
previewSpotRate(bytes _commandsbytes[] _inputsview returns (uint256)
State-modifying
execute(bytes _commandsbytes[] _inputspayable 
execute(bytes _commandsbytes[] _inputsuint256 _deadlinepayable 
initialize(address _routerUtiladdress _initialAuthority
onFlashLoan(addressaddress _tokenuint256 _amountuint256 _feebytes _datareturns (bytes32)
setAuthority(address newAuthority
setRouterUtil(address _routerUtil
Events
AuthorityUpdated(address authority
Initialized(uint64 version
Constructor
constructor(address _registry
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AccessManagedInvalidAuthority(address authority
AccessManagedRequiredDelay(address calleruint32 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 iuint256 j
LengthMismatch(
MathOverflowedMulDiv(
MaxInvolvedTokensExceeded(
MinimumBalanceNotReached(address tokenaddress owneruint256 minimumBalanceuint256 actualBalance
NotInitializing(
PermitFailed(
SafeERC20FailedOperation(address token
TransactionDeadlinePassed(
UnauthorizedOnFlashloanCaller(
UnauthorizedReentrantCall(