TokenBridge
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
10
Slot
XX
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
Balances ($0.00)
No balances found for "TokenBridge"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "TokenBridge"
ABI
ABI objects
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(address) view returns (address)
nativeToBridgedToken(uint256, address) view returns (address)
State-modifying
Events acceptOwnership()
bridgeToken(address _token, uint256 _amount, address _recipient) payable
bridgeTokenWithPermit(address _token, uint256 _amount, address _recipient, bytes _permitData) payable
completeBridging(address _nativeToken, uint256 _amount, address _recipient, uint256 _chainId, bytes _tokenMetadata)
confirmDeployment(address[] _tokens) payable
initialize(address _securityCouncil, address _messageService, address _tokenBeacon, uint256 _sourceChainId, uint256 _targetChainId, address[] _reservedTokens)
pause()
removeReserved(address _token)
renounceOwnership()
setCustomContract(address _nativeToken, address _targetContract)
setDeployed(address[] _nativeTokens)
setMessageService(address _messageService)
setRemoteTokenBridge(address _remoteTokenBridge)
setReserved(address _token)
transferOwnership(address newOwner)
unpause()
BridgingFinalized(address indexed nativeToken, address indexed bridgedToken, uint256 indexed amount, address recipient)
BridgingFinalizedV2(address indexed nativeToken, address indexed bridgedToken, uint256 amount, address indexed recipient)
BridgingInitiated(address indexed sender, address recipient, address indexed token, uint256 indexed amount)
BridgingInitiatedV2(address indexed sender, address indexed recipient, address indexed token, uint256 amount)
CustomContractSet(address indexed nativeToken, address indexed customContract, address indexed setBy)
DeploymentConfirmed(address[] tokens, address indexed confirmedBy)
Initialized(uint8 version)
MessageServiceUpdated(address indexed newMessageService, address indexed oldMessageService, address indexed setBy)
NewToken(address indexed token)
NewTokenDeployed(address indexed bridgedToken, address indexed nativeToken)
OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Paused(address account)
RemoteTokenBridgeSet(address indexed remoteTokenBridge, address indexed setBy)
ReservationRemoved(address indexed token)
TokenDeployed(address indexed token)
TokenReserved(address indexed token)
Unpaused(address account)
constructor()
This contract contains no fallback and receive objects.
AlreadyBridgedToken(address token)
AlreadyBrigedToNativeTokenSet(address token)
CallerIsNotMessageService()
DecimalsAreUnknown(address token)
InvalidPermitData(bytes4 permitData, bytes4 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)