LnErc20Bridge
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
5
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 47 additional slots
Balances ($0.00)
No balances found for "LnErc20Bridge"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "LnErc20Bridge"
ABI
ABI objects
Getter at block 21306922
DEPOSIT_TYPEHASH() view returns (bytes32)
0x7dea0ff38c20ec194d3cb84e9720e47fce7770d8b28af58ea15562bc9cf52860
DOMAIN_SEPARATOR() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
TOKEN_LOCK_TYPE_MINT_BURN() view returns (uint8)
2
TOKEN_LOCK_TYPE_TRANSFER() view returns (uint8)
1
admin() view returns (address)
0x0000000000000000000000000000000000000000
candidate() view returns (address)
0x0000000000000000000000000000000000000000
currentChainId() view returns (uint256)
0
depositCount() view returns (uint256)
0
relayer() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
getTokenAddress(bytes32 tokenKey) view returns (address)
getTokenLockType(bytes32 tokenKey) view returns (uint8)
isTokenSupportedOnChain(bytes32 tokenKey, uint256 chainId) view returns (bool)
tokenInfos(bytes32) view returns (address tokenAddress, uint8 lockType)
tokenSupportedOnChain(bytes32, uint256) view returns (bool)
withdrawnDeposits(uint256, uint256) view returns (bool)
State-modifying
Events __LnAdminUpgradeable_init(address _admin)
__LnErc20Bridge_init(address _relayer, address _admin)
addChainSupportForToken(bytes32 tokenKey, uint256 chainId)
addToken(bytes32 tokenKey, address tokenAddress, uint8 lockType)
becomeAdmin()
deposit(bytes32 token, uint256 amount, uint256 destChainId, bytes32 recipient)
dropChainSupportForToken(bytes32 tokenKey, uint256 chainId)
removeToken(bytes32 tokenKey)
setCandidate(address _candidate)
setRelayer(address _relayer)
withdraw(uint256 srcChainId, uint256 destChainId, uint256 depositId, bytes32 depositor, bytes32 recipient, bytes32 currency, uint256 amount, bytes signature)
AdminChanged(address oldAdmin, address newAdmin)
CandidateChanged(address oldCandidate, address newCandidate)
ChainSupportForTokenAdded(bytes32 tokenKey, uint256 chainId)
ChainSupportForTokenDropped(bytes32 tokenKey, uint256 chainId)
RelayerChanged(address oldRelayer, address newRelayer)
TokenAdded(bytes32 tokenKey, address tokenAddress, uint8 lockType)
TokenDeposited(uint256 srcChainId, uint256 destChainId, uint256 depositId, bytes32 depositor, bytes32 recipient, bytes32 currency, uint256 amount)
TokenRemoved(bytes32 tokenKey)
TokenWithdrawn(uint256 srcChainId, uint256 destChainId, uint256 depositId, bytes32 depositor, bytes32 recipient, bytes32 currency, uint256 amount)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.