LnErc20Bridge

Verified contract

Implementation

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

No balances found for "LnErc20Bridge"

No transactions found for "LnErc20Bridge"


Functions
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 tokenKeyview returns (address)
getTokenLockType(bytes32 tokenKeyview returns (uint8)
isTokenSupportedOnChain(bytes32 tokenKeyuint256 chainIdview returns (bool)
tokenInfos(bytes32view returns (address tokenAddressuint8 lockType)
tokenSupportedOnChain(bytes32uint256view returns (bool)
withdrawnDeposits(uint256uint256view returns (bool)
State-modifying
__LnAdminUpgradeable_init(address _admin
__LnErc20Bridge_init(address _relayeraddress _admin
addChainSupportForToken(bytes32 tokenKeyuint256 chainId
addToken(bytes32 tokenKeyaddress tokenAddressuint8 lockType
becomeAdmin(
deposit(bytes32 tokenuint256 amountuint256 destChainIdbytes32 recipient
dropChainSupportForToken(bytes32 tokenKeyuint256 chainId
removeToken(bytes32 tokenKey
setCandidate(address _candidate
setRelayer(address _relayer
withdraw(uint256 srcChainIduint256 destChainIduint256 depositIdbytes32 depositorbytes32 recipientbytes32 currencyuint256 amountbytes signature
Events
AdminChanged(address oldAdminaddress newAdmin
CandidateChanged(address oldCandidateaddress newCandidate
ChainSupportForTokenAdded(bytes32 tokenKeyuint256 chainId
ChainSupportForTokenDropped(bytes32 tokenKeyuint256 chainId
RelayerChanged(address oldRelayeraddress newRelayer
TokenAdded(bytes32 tokenKeyaddress tokenAddressuint8 lockType
TokenDeposited(uint256 srcChainIduint256 destChainIduint256 depositIdbytes32 depositorbytes32 recipientbytes32 currencyuint256 amount
TokenRemoved(bytes32 tokenKey
TokenWithdrawn(uint256 srcChainIduint256 destChainIduint256 depositIdbytes32 depositorbytes32 recipientbytes32 currencyuint256 amount
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.