TokenRouter

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0xeb8f8c39 at 18787953
Slot Value
0x0000000000000000000000000000000000000000000000000000000000000000 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000001 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000002 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000003 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000004 0x0000000000000000000000000000000000000000000000000000000000000000

No balances found for "TokenRouter"

No transactions found for "TokenRouter"


Functions
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 chainview returns (uint32)
getMintRecipient(uint16 chainview returns (bytes32)
getRouter(uint16 chainview returns (bytes32)
getRouterEndpoint(uint16 chainview returns (struct Endpoint)
State-modifying
addRouterEndpoint(uint16 chainstruct Endpoint endpointuint32 circleDomain
cancelOwnershipTransferRequest(
confirmOwnershipTransferRequest(
disableRouterEndpoint(uint16 chain
enableFastTransfers(bool enable
initialize(bytes initDatapayable 
migrate(
placeFastMarketOrder(uint64 amountInuint16 targetChainbytes32 redeemerbytes redeemerMessageuint64 maxFeeuint32 deadlinepayable returns (uint64 sequenceuint64 fastSequenceuint256 protocolSequence)
placeFastMarketOrder(uint64 amountInuint64 minAmountOutuint16 targetChainbytes32 redeemerbytes redeemerMessageaddress refundAddressuint64 maxFeeuint32 deadlinepayable returns (uint64 sequenceuint64 fastSequenceuint256 protocolSequence)
placeMarketOrder(uint64 amountInuint16 targetChainbytes32 redeemerbytes redeemerMessagepayable returns (uint64 sequenceuint256 protocolSequence)
placeMarketOrder(uint64 amountInuint64 minAmountOutuint16 targetChainbytes32 redeemerbytes redeemerMessageaddress refundAddresspayable returns (uint64 sequenceuint256 protocolSequence)
redeemFill(struct OrderResponse responsereturns (struct RedeemedFill fill)
setCctpAllowance(uint256 amount
setPause(bool paused
submitOwnershipTransferRequest(address newOwner
updateFastTransferParameters(struct FastTransferParameters newParams
updateOwnerAssistant(address newAssistant
updateRouterEndpoint(uint16 chainstruct Endpoint endpointuint32 circleDomain
upgradeContract(address newImplementation
Events
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
FillRedeemed(uint16 indexed emitterChainIdbytes32 indexed emitterAddressuint64 indexed sequence
Initialized(uint64 version
IsPaused(bool paused
OwnershipTransfered(address indexed oldOwneraddress indexed newOwner
Upgraded(address indexed implementation
Constructor
constructor(address token_address wormhole_address cctpTokenMessenger_uint16 matchingEngineChain_bytes32 matchingEngineAddress_bytes32 matchingEngineMintRecipient_uint32 matchingEngineDomain_
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AddressOverflow(bytes32 addr
CctpVaaMismatch(uint32 arg0uint32 arg1uint64 arg2
ContractPaused(
ErrAmountTooLarge(uint64 amountInuint64 maxAmount
ErrCallerNotDeployer(address deployeraddress caller
ErrChainNotAllowed(uint16 chain
ErrEndpointAlreadyExists(uint16 chain
ErrFastTransferDisabled(
ErrFastTransferNotSupported(
ErrInsufficientAmount(uint64 amountuint64 minAmount
ErrInvalidEndpoint(bytes32 endpoint
ErrInvalidFastTransferParameters(
ErrInvalidMaxFee(uint64 maxFeeuint64 minimumReuiredFee
ErrInvalidRedeemer(bytes32 redeemerbytes32 expected
ErrInvalidRedeemerAddress(
ErrInvalidRefundAddress(
ErrInvalidSourceRouter(bytes32 senderbytes32 expected
ErrUnsupportedChain(uint16 chain
InvalidAddress(
InvalidInitialization(
InvalidMessage(
InvalidPayloadId(uint8 parsedPayloadIduint8 expectedPayloadId
InvalidPayloadLength(uint256 parsedLengthuint256 expectedLength
InvalidVaa(
LengthMismatch(uint256 encodedLengthuint256 expectedLength
MaxPayloadSizeExceeded(uint256 actualSizeuint256 maxSize
MissingPayload(
NotInitializing(
NotMigrating(
NotPendingOwner(
NotTheOwner(
NotTheOwnerOrAssistant(
OnlyDelegateCall(
PayloadTooLarge(uint256 arg0
UnexpectedEmitter(bytes32 arg0bytes32 arg1
UnexpectedMessageLength(uint256 arg0uint256 arg1