TokenRouter
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Raw
Slot | Value |
---|---|
0x0000000000000000000000000000000000000000000000000000000000000000 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
0x0000000000000000000000000000000000000000000000000000000000000001 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
0x0000000000000000000000000000000000000000000000000000000000000002 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
0x0000000000000000000000000000000000000000000000000000000000000003 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
0x0000000000000000000000000000000000000000000000000000000000000004 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
Balances ($0.00)
No balances found for "TokenRouter"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "TokenRouter"
ABI
ABI objects
Getter at block 22463760
fastTransfersEnabled() view returns (bool)
false
getBaseFee() view returns (uint64)
0
getDeployer() view returns (address)
0x420e8aa32c31626f7f31d6fcc154eeccd6e6e9cb
getFastTransferParameters() pure returns (struct FastTransferParameters)
(false, 0, 0, 0)
getInitialAuctionFee() view returns (uint64)
0
getMaxFastTransferAmount() view returns (uint64)
0
getMaxPayloadSize() pure returns (uint256)
500
getMigratesImmutables() view returns (bool)
false
getMinFastTransferAmount() pure returns (uint64)
100000000
getMinFee() pure returns (uint64)
1
getOwner() view returns (address)
0x0000000000000000000000000000000000000000
getOwnerAssistant() view returns (address)
0x0000000000000000000000000000000000000000
getPendingOwner() view returns (address)
0x0000000000000000000000000000000000000000
isPaused() view returns (bool)
false
matchingEngineAddress() view returns (bytes32)
0x74e70ed52464f997369bbefd141d8a2d9dd3cd15e1f21b37bce18f45e0e923b2
matchingEngineChain() view returns (uint16)
1
matchingEngineDomain() view returns (uint32)
5
matchingEngineMintRecipient() view returns (bytes32)
0xf4c8473a0e8fb093ca12970ed615db09f7ebbbb3d00f40b3e285e12f40e5c9a6
orderToken() view returns (address)
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
wormhole() view returns (address)
0xbebdb6c8ddc678ffa9f8748f85c815c556dd8ac6
wormholeChainId() view returns (uint16)
30
Read-only
getDomain(uint16 chain) view returns (uint32)
getMintRecipient(uint16 chain) view returns (bytes32)
getRouter(uint16 chain) view returns (bytes32)
getRouterEndpoint(uint16 chain) view returns (struct Endpoint)
State-modifying
Events addRouterEndpoint(uint16 chain, struct Endpoint endpoint, uint32 circleDomain)
cancelOwnershipTransferRequest()
confirmOwnershipTransferRequest()
disableRouterEndpoint(uint16 chain)
enableFastTransfers(bool enable)
initialize(bytes initData) payable
migrate()
placeFastMarketOrder(uint64 amountIn, uint16 targetChain, bytes32 redeemer, bytes redeemerMessage, uint64 maxFee, uint32 deadline) payable returns (uint64 sequence, uint64 fastSequence, uint256 protocolSequence)
placeFastMarketOrder(uint64 amountIn, uint64 minAmountOut, uint16 targetChain, bytes32 redeemer, bytes redeemerMessage, address refundAddress, uint64 maxFee, uint32 deadline) payable returns (uint64 sequence, uint64 fastSequence, uint256 protocolSequence)
placeMarketOrder(uint64 amountIn, uint16 targetChain, bytes32 redeemer, bytes redeemerMessage) payable returns (uint64 sequence, uint256 protocolSequence)
placeMarketOrder(uint64 amountIn, uint64 minAmountOut, uint16 targetChain, bytes32 redeemer, bytes redeemerMessage, address refundAddress) payable returns (uint64 sequence, uint256 protocolSequence)
redeemFill(struct OrderResponse response) returns (struct RedeemedFill fill)
setCctpAllowance(uint256 amount)
setPause(bool paused)
submitOwnershipTransferRequest(address newOwner)
updateFastTransferParameters(struct FastTransferParameters newParams)
updateOwnerAssistant(address newAssistant)
updateRouterEndpoint(uint16 chain, struct Endpoint endpoint, uint32 circleDomain)
upgradeContract(address newImplementation)
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
FillRedeemed(uint16 indexed emitterChainId, bytes32 indexed emitterAddress, uint64 indexed sequence)
Initialized(uint64 version)
IsPaused(bool paused)
OwnershipTransfered(address indexed oldOwner, address indexed newOwner)
Upgraded(address indexed implementation)
constructor(address token_, address wormhole_, address cctpTokenMessenger_, uint16 matchingEngineChain_, bytes32 matchingEngineAddress_, bytes32 matchingEngineMintRecipient_, uint32 matchingEngineDomain_)
This contract contains no fallback and receive objects.
AddressOverflow(bytes32 addr)
CctpVaaMismatch(uint32 arg0, uint32 arg1, uint64 arg2)
ContractPaused()
ErrAmountTooLarge(uint64 amountIn, uint64 maxAmount)
ErrCallerNotDeployer(address deployer, address caller)
ErrChainNotAllowed(uint16 chain)
ErrEndpointAlreadyExists(uint16 chain)
ErrFastTransferDisabled()
ErrFastTransferNotSupported()
ErrInsufficientAmount(uint64 amount, uint64 minAmount)
ErrInvalidEndpoint(bytes32 endpoint)
ErrInvalidFastTransferParameters()
ErrInvalidMaxFee(uint64 maxFee, uint64 minimumReuiredFee)
ErrInvalidRedeemer(bytes32 redeemer, bytes32 expected)
ErrInvalidRedeemerAddress()
ErrInvalidRefundAddress()
ErrInvalidSourceRouter(bytes32 sender, bytes32 expected)
ErrUnsupportedChain(uint16 chain)
InvalidAddress()
InvalidInitialization()
InvalidMessage()
InvalidPayloadId(uint8 parsedPayloadId, uint8 expectedPayloadId)
InvalidPayloadLength(uint256 parsedLength, uint256 expectedLength)
InvalidVaa()
LengthMismatch(uint256 encodedLength, uint256 expectedLength)
MaxPayloadSizeExceeded(uint256 actualSize, uint256 maxSize)
MissingPayload()
NotInitializing()
NotMigrating()
NotPendingOwner()
NotTheOwner()
NotTheOwnerOrAssistant()
OnlyDelegateCall()
PayloadTooLarge(uint256 arg0)
UnexpectedEmitter(bytes32 arg0, bytes32 arg1)
UnexpectedMessageLength(uint256 arg0, uint256 arg1)