TokenBridge

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x872e5c08 at 20018927
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 9 additional slots
-
variable spans 48 additional slots
-
variable spans 49 additional slots

No balances found for "TokenBridge"

No transactions found for "TokenBridge"


Functions
Getter at block 20792703
messageService(view returns (address)
0x0000000000000000000000000000000000000000
owner(view returns (address)
0x0000000000000000000000000000000000000000
paused(view returns (bool)
false
pendingOwner(view returns (address)
0x0000000000000000000000000000000000000000
remoteSender(view returns (address)
0x0000000000000000000000000000000000000000
sourceChainId(view returns (uint256)
0
targetChainId(view returns (uint256)
0
tokenBeacon(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
bridgedToNativeToken(addressview returns (address)
nativeToBridgedToken(uint256addressview returns (address)
State-modifying
acceptOwnership(
bridgeToken(address _tokenuint256 _amountaddress _recipientpayable 
bridgeTokenWithPermit(address _tokenuint256 _amountaddress _recipientbytes _permitDatapayable 
completeBridging(address _nativeTokenuint256 _amountaddress _recipientuint256 _chainIdbytes _tokenMetadata
confirmDeployment(address[] _tokenspayable 
initialize(address _securityCounciladdress _messageServiceaddress _tokenBeaconuint256 _sourceChainIduint256 _targetChainIdaddress[] _reservedTokens
pause(
removeReserved(address _token
renounceOwnership(
setCustomContract(address _nativeTokenaddress _targetContract
setDeployed(address[] _nativeTokens
setMessageService(address _messageService
setRemoteTokenBridge(address _remoteTokenBridge
setReserved(address _token
transferOwnership(address newOwner
unpause(
Events
BridgingFinalized(address indexed nativeTokenaddress indexed bridgedTokenuint256 indexed amountaddress recipient
BridgingFinalizedV2(address indexed nativeTokenaddress indexed bridgedTokenuint256 amountaddress indexed recipient
BridgingInitiated(address indexed senderaddress recipientaddress indexed tokenuint256 indexed amount
BridgingInitiatedV2(address indexed senderaddress indexed recipientaddress indexed tokenuint256 amount
CustomContractSet(address indexed nativeTokenaddress indexed customContractaddress indexed setBy
DeploymentConfirmed(address[] tokensaddress indexed confirmedBy
Initialized(uint8 version
MessageServiceUpdated(address indexed newMessageServiceaddress indexed oldMessageServiceaddress indexed setBy
NewToken(address indexed token
NewTokenDeployed(address indexed bridgedTokenaddress indexed nativeToken
OwnershipTransferStarted(address indexed previousOwneraddress indexed newOwner
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Paused(address account
RemoteTokenBridgeSet(address indexed remoteTokenBridgeaddress indexed setBy
ReservationRemoved(address indexed token
TokenDeployed(address indexed token
TokenReserved(address indexed token
Unpaused(address account
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AlreadyBridgedToken(address token
AlreadyBrigedToNativeTokenSet(address token
CallerIsNotMessageService(
DecimalsAreUnknown(address token
InvalidPermitData(bytes4 permitDatabytes4 permitSelector
NativeToBridgedTokenAlreadySet(address token
NotReserved(address token
PermitNotAllowingBridge(address spender
PermitNotFromSender(address owner
RemoteTokenBridgeAlreadySet(address remoteTokenBridge
ReservedToken(address token
SenderNotAuthorized(
StatusAddressNotAllowed(address token
TokenNotDeployed(address token
ZeroAddressNotAllowed(
ZeroAmountNotAllowed(uint256 amount