OriginalTokenBridge

Verified contract

Active on Ethereum with 4,909 txns
Deployed by via 0x3d202f0e at 16728490
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $819,756.6
ERC-20
Value $468,234.65
ERC-20
Value $262,575.13
ERC-20
Value $188,185.88
ERC-20
Value $0.01
ERC-20
--
ERC-20
--
ERC-20
--
 (#0)
ERC-1555
--
0x70172bb197697de9cb7f2b360b896f0e30bfabe1ae67ed206311e069df2be2a1
0x42c6de34860456b1193f297dea041864c2ba7aed01fac47a85a03f5b75806b17
0xfc2176bec71cfc8a15cbca867763fb4c2024b33807d189da240bf12cce863790
0xf0a02d4478cfa40ace9b4fc2c3a78a4079362959886b23a58f262794d162ebf2
0xfef14fa8bb2e7bd92b9cb2e630ca4fed81777f492150763d98735a554906d436
0xb32b1daadc9a6a2bb4bd9be626c88172fee84cca1a0ef006485a4ae6fd9f7fff
0xca7d3e04f4c2b919236ef059c623afbe83284fd3975ce4d76fc5c5ab16a66353
0x75b17b3d814ac3e1efeef403c137f032d54528befbdce27f39d11ab899549c34
0x1b8bfb0371aae5e34d87c63eccf9537c4ca3772485ad42de3a0cd90dbb91b88c
0xe9fd1d47dc39d57f3509d6af3142e01e7b1b9ed5e1c72da306db13b5b9a91455

Functions
Getter at block 21412184
PT_MINT(view returns (uint8)
0
PT_UNLOCK(view returns (uint8)
1
lzEndpoint(view returns (address)
0x66a71dcef29a0ffbdbe3c6a460a3b5bc225cd675
owner(view returns (address)
0xcda390be26c2d43c0c90abe9a89c2be604b5d13c
precrime(view returns (address)
0x0000000000000000000000000000000000000000
remoteChainId(view returns (uint16)
153
useCustomAdapterParams(view returns (bool)
false
weth(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Read-only
LDtoSDConversionRate(addressview returns (uint256)
accruedFeeLD(address tokenview returns (uint256)
estimateBridgeFee(bool useZrobytes adapterParamsview returns (uint256 nativeFeeuint256 zroFee)
failedMessages(uint16bytesuint64view returns (bytes32)
getConfig(uint16 _versionuint16 _chainIdaddressuint256 _configTypeview returns (bytes)
getTrustedRemoteAddress(uint16 _remoteChainIdview returns (bytes)
isTrustedRemote(uint16 _srcChainIdbytes _srcAddressview returns (bool)
minDstGasLookup(uint16uint16view returns (uint256)
supportedTokens(addressview returns (bool)
totalValueLockedSD(addressview returns (uint256)
trustedRemoteLookup(uint16view returns (bytes)
State-modifying
bridge(address tokenuint256 amountLDaddress tostruct LzLibCallParams callParamsbytes adapterParamspayable 
bridgeETH(uint256 amountLDaddress tostruct LzLibCallParams callParamsbytes adapterParamspayable 
forceResumeReceive(uint16 _srcChainIdbytes _srcAddress
lzReceive(uint16 _srcChainIdbytes _srcAddressuint64 _noncebytes _payload
nonblockingLzReceive(uint16 _srcChainIdbytes _srcAddressuint64 _noncebytes _payload
registerToken(address tokenuint8 sharedDecimals
renounceOwnership(
retryMessage(uint16 _srcChainIdbytes _srcAddressuint64 _noncebytes _payloadpayable 
setConfig(uint16 _versionuint16 _chainIduint256 _configTypebytes _config
setMinDstGas(uint16 _dstChainIduint16 _packetTypeuint256 _minGas
setPrecrime(address _precrime
setReceiveVersion(uint16 _version
setRemoteChainId(uint16 _remoteChainId
setSendVersion(uint16 _version
setTrustedRemote(uint16 _srcChainIdbytes _path
setTrustedRemoteAddress(uint16 _remoteChainIdbytes _remoteAddress
setUseCustomAdapterParams(bool _useCustomAdapterParams
transferOwnership(address newOwner
withdrawFee(address tokenaddress touint256 amountLD
Events
MessageFailed(uint16 _srcChainIdbytes _srcAddressuint64 _noncebytes _payloadbytes _reason
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
ReceiveToken(address tokenaddress touint256 amount
RegisterToken(address token
RetryMessageSuccess(uint16 _srcChainIdbytes _srcAddressuint64 _noncebytes32 _payloadHash
SendToken(address tokenaddress fromaddress touint256 amount
SetMinDstGas(uint16 _dstChainIduint16 _typeuint256 _minDstGas
SetPrecrime(address precrime
SetRemoteChainId(uint16 remoteChainId
SetTrustedRemote(uint16 _remoteChainIdbytes _path
SetTrustedRemoteAddress(uint16 _remoteChainIdbytes _remoteAddress
SetUseCustomAdapterParams(bool useCustomAdapterParams
WithdrawFee(address indexed tokenaddress touint256 amount
Constructor
constructor(address _endpointuint16 _remoteChainIdaddress _weth
Fallback and receive
receive(
Errors

This contract contains no error objects.