L1ApeETHRouter

Verified contract

Active on Ethereum with 122 txns
Deployed by via 0xc862ab8b at 20964495
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
ERC-20
--
0x6c725f2b11d6e62a582a4bd16b8393e5c2f5dcd16633146394a6be2a984e8600
0x762ce812e789406eddcd38736d6fa975a3042fa8b7fe9464f0adeb729bd37545
0x6931616f6bca9a6becce46773b862ea2d2db3f0d102afb75227b43ce901853b0
0x7301493130cfbf72ebfcb362c23cb293d908db8e2e1b3cff55ad2eb45b537fb6
0x2980a8ace628f668ea7081b690e3f9e78deb43a189ea78a81f18daf54327f20f
0xc29730e1b8cf4cec6e1f94c760e5c00febbcc0985de2ef48addaac2fa54ee061
0x5b08f82316b15db5dfeb2a652ff02f0f006de82eb70fe84b3ad83e97c9eadadd
0x572b6fe4a7d8ee86bdb115b8b1ab1d3f183bada362161390dc6a7631f749faa7
0xe2a9920a62413d75fbecf371f331c0c89b94b623737b360f1eae92b94253d2ef
0x20d23032a4c3c2a752d2607cd069c0acbf58c1497f131cfb14ce5dccc56c3a2c

Functions
Getter at block 21311204
COMMAND_WITHDRAW(view returns (bytes1)
0x7a
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
PRECISION(view returns (uint256)
1000000000000000000
REBASE_ROLE(view returns (bytes32)
0x2cb8fee3430f011f8ea5df36a120dd5a293aa25c9ca88cc51159a94f41f768bb
defaultAdmin(view returns (address)
0xa42095bb1c45c51ecd6535f1130eec65dbe04484
defaultAdminDelay(view returns (uint48)
0
defaultAdminDelayIncreaseWait(view returns (uint48)
432000
endpoint(view returns (address)
0x1a44076050125825900e736c501f859c50fe728c
gasLzReceive(view returns (uint128)
120000
 
getExchangeRate(view returns (uint256 exchangeRate)
getFeeAmount(view returns (uint256 feeAmount)
0
getFeeRecipient(view returns (address feeRecipient)
0x0000000000000000000000000000000000000000
oAppVersion(view returns (uint64 senderVersionuint64 receiverVersion)
(senderVersion=1, receiverVersion=0)
oft4626(view returns (address)
0xcf800f4948d16f23333508191b1b1591daf70438
owner(view returns (address)
0xa42095bb1c45c51ecd6535f1130eec65dbe04484
pendingDefaultAdmin(view returns (address newAdminuint48 schedule)
(newAdmin=0x0000000000000000000000000000000000000000, schedule=0)
pendingDefaultAdminDelay(view returns (uint48 newDelayuint48 schedule)
(newDelay=0, schedule=0)
pendingOwner(view returns (address)
0x0000000000000000000000000000000000000000
vault(view returns (address)
0xc8a12b1db09ec5a43919906d94fa7eeaef1131d1
Read-only
dstOft4626Router(uint32view returns (address)
getOft4626Router(uint32 eidview returns (address)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
peers(uint32 eidview returns (bytes32 peer)
quoteDepositAndSend(struct IOftRouterDecentBridgeCall bridgeCallview returns (uint256 nativeFeeuint256 shares)
quoteRebase(uint32 dstEidview returns (uint256 nativeFee)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
acceptDefaultAdminTransfer(
acceptOwnership(
beginDefaultAdminTransfer(address newAdmin
cancelDefaultAdminTransfer(
changeDefaultAdminDelay(uint48 newDelay
depositAndSend(struct IOftRouterDecentBridgeCall bridgeCallpayable 
grantRole(bytes32 roleaddress account
lzCompose(address _frombytes32bytes _messageaddressbytespayable 
rebase(uint32 dstEiduint256 minExpectedRateuint256 maxExpectedRatepayable 
redeem(uint256 sharesaddress receiver
renounceOwnership(
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
rollbackDefaultAdminDelay(
setDelegate(address _delegate
setPeer(uint32 _eidbytes32 _peer
setPeerOftRouter(uint32 eidaddress _l2OftRouter
transferOwnership(address newOwner
updateFeeManager(struct FeeManager _feeManager
updateGasLzReceive(uint128 _gasLzReceive
Events
DefaultAdminDelayChangeCanceled(
DefaultAdminDelayChangeScheduled(uint48 newDelayuint48 effectSchedule
DefaultAdminTransferCanceled(
DefaultAdminTransferScheduled(address indexed newAdminuint48 acceptSchedule
OwnershipTransferStarted(address indexed previousOwneraddress indexed newOwner
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
PeerSet(uint32 eidbytes32 peer
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Constructor
constructor(address _vaultaddress _oft4626address _endpoint
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AccessControlBadConfirmation(
AccessControlEnforcedDefaultAdminDelay(uint48 schedule
AccessControlEnforcedDefaultAdminRules(
AccessControlInvalidDefaultAdmin(address defaultAdmin
AccessControlUnauthorizedAccount(address accountbytes32 neededRole
AddressEmptyCode(address target
AddressInsufficientBalance(address account
FailedInnerCall(
InvalidDelegate(
InvalidEndpointCall(
InvalidLZOptions(
InvalidOptionType(uint16 optionType
LzTokenUnavailable(
MathOverflowedMulDiv(
NoPeer(uint32 eid
NoZeroAddress(
NotEnoughNative(uint256 msgValue
OnlyLzEndpoint(
OnlyOft4626(
OnlyPeer(uint32 eidbytes32 sender
OwnableInvalidOwner(address owner
OwnableUnauthorizedAccount(address account
RebaseOutOfRange(
RefundFailed(
SafeCastOverflowedUintDowncast(uint8 bitsuint256 value
SafeERC20FailedOperation(address token
SharesTooLow(