TokenBridge

Verified contract

Active on Ethereum with 71,907 txns
Deployed by via 0x9589ec39 at 15778949
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $99.96
ERC-20
Value $105,753,798.59
ERC-20
Value $10,363,626.14
ERC-20
Value $8,688,088.13
ERC-20
Value $2,799,755.16
ERC-20
Value $31.89
ERC-20
Value $1.01
ERC-20
Value $0.22
ERC-20
Value $0.01
ERC-20
--
0x761b9adb5690ea799306629276146963c63b31f295863f844d3e929953d8bb4d
0x7645f800103694427279c8870a60c241b29907648b45936c0657fd7eb69f42b8
0x048464b459c0f6d72e5ebd2723a19bafaae7b10e20a3ced98e529c23d022b153
0xe8219820cf2dab52b1b0feb0821f199350a21f181a2ede80440ab3e674d55344
0x068790d3aabb67043013565d259f30025b06bcc18adc1d43164c7ef18a4ae042
0x271176d3a34dab2992c6f5ec70d6a9c482007c92bc92f9ff360e9f35cebcb2e1
0x0b78824770527824a36422be10a7436b52874a1f47b529ee67ad0f60fc3d1c85
0xd5ef64130fe1ec6f74756cb7ae2ab35cf13fe5f143a25e1f56a8b5c1f4e0537c
0x910b476856725302aff566a17e080c32439002228b5735d432df49ac614348cb
0x82e148cfa704c86f01094d9c50ca6434fba73d4d1cf0d44718ea8115b3228bcc

Functions
Getter at block 21217502
BP_DENOMINATOR(view returns (uint256)
10000
SHARED_DECIMALS(view returns (uint8)
6
aptosChainId(view returns (uint16)
108
bridgeFeeBP(view returns (uint256)
7
emergencyWithdrawEnabled(view returns (bool)
false
emergencyWithdrawTime(view returns (uint256)
0
globalPaused(view returns (bool)
false
lzEndpoint(view returns (address)
0x66a71dcef29a0ffbdbe3c6a460a3b5bc225cd675
owner(view returns (address)
0x65bb797c2b9830d891d87288f029ed8dacc19705
precrime(view returns (address)
0x0000000000000000000000000000000000000000
useCustomAdapterParams(view returns (bool)
true
weth(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Read-only
accruedFeeLD(address _tokenview returns (uint256)
failedMessages(uint16bytesuint64view returns (bytes32)
getConfig(uint16 _versionuint16 _chainIdaddressuint256 _configTypeview returns (bytes)
getTrustedRemoteAddress(uint16 _remoteChainIdview returns (bytes)
isTrustedRemote(uint16 _srcChainIdbytes _srcAddressview returns (bool)
ld2sdRates(addressview returns (uint256)
minDstGasLookup(uint16uint16view returns (uint256)
pausedTokens(addressview returns (bool)
quoteForSend(struct LzLibCallParams _callParamsbytes _adapterParamsview returns (uint256 nativeFeeuint256 zroFee)
supportedTokens(addressview returns (bool)
trustedRemoteLookup(uint16view returns (bytes)
tvlSDs(addressview returns (uint64)
State-modifying
enableEmergencyWithdraw(bool enabled
forceResumeReceive(uint16 _srcChainIdbytes _srcAddress
lzReceive(uint16 _srcChainIdbytes _srcAddressuint64 _noncebytes _payload
nonblockingLzReceive(uint16 _srcChainIdbytes _srcAddressuint64 _noncebytes _payload
registerToken(address _token
renounceOwnership(
retryMessage(uint16 _srcChainIdbytes _srcAddressuint64 _noncebytes _payloadpayable 
sendETHToAptos(bytes32 _toAddressuint256 _amountLDstruct LzLibCallParams _callParamsbytes _adapterParamspayable 
sendToAptos(address _tokenbytes32 _toAddressuint256 _amountLDstruct LzLibCallParams _callParamsbytes _adapterParamspayable 
setAptosChainId(uint16 _aptosChainId
setBridgeFeeBP(uint256 _bridgeFeeBP
setConfig(uint16 _versionuint16 _chainIduint256 _configTypebytes _config
setGlobalPause(bool _paused
setMinDstGas(uint16 _dstChainIduint16 _packetTypeuint256 _minGas
setPrecrime(address _precrime
setReceiveVersion(uint16 _version
setSendVersion(uint16 _version
setTokenPause(address _tokenbool _paused
setTrustedRemote(uint16 _srcChainIdbytes _path
setTrustedRemoteAddress(uint16 _remoteChainIdbytes _remoteAddress
setUseCustomAdapterParams(bool _useCustomAdapterParams
setWETH(address _weth
transferOwnership(address newOwner
withdrawEmergency(address _tokenaddress _to
withdrawFee(address _tokenaddress _touint256 _amountLD
withdrawTVL(address _tokenaddress _touint64 _amountSD
Events
EnableEmergencyWithdraw(bool enableduint256 unlockTime
MessageFailed(uint16 _srcChainIdbytes _srcAddressuint64 _noncebytes _payloadbytes _reason
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Receive(address indexed tokenaddress indexed touint256 amountLD
RegisterToken(address token
RetryMessageSuccess(uint16 _srcChainIdbytes _srcAddressuint64 _noncebytes32 _payloadHash
Send(address indexed tokenaddress indexed frombytes32 indexed touint256 amountLD
SetAptosChainId(uint16 aptosChainId
SetBridgeBP(uint256 bridgeFeeBP
SetGlobalPause(bool paused
SetLocalChainId(uint16 localChainId
SetMinDstGas(uint16 _dstChainIduint16 _typeuint256 _minDstGas
SetPrecrime(address precrime
SetTokenPause(address tokenbool paused
SetTrustedRemote(uint16 _remoteChainIdbytes _path
SetTrustedRemoteAddress(uint16 _remoteChainIdbytes _remoteAddress
SetUseCustomAdapterParams(bool useCustomAdapterParams
SetWETH(address weth
WithdrawFee(address indexed tokenaddress touint256 amountLD
WithdrawTVL(address indexed tokenaddress touint256 amountLD
Constructor
constructor(address _layerZeroEndpointuint16 _aptosChainId
Fallback and receive
receive(
Errors

This contract contains no error objects.