ZkLink
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
53
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
2 additional
variables
Balances ($0.00)
No balances found for "ZkLink"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "ZkLink"
ABI
ABI objects
Getter at block 21204860
exodusMode() view returns (bool)
false
firstPriorityRequestId() view returns (uint64)
0
getNoticePeriod() pure returns (uint256)
3600
isReadyForUpgrade() view returns (bool)
true
networkGovernor() view returns (address)
0x0000000000000000000000000000000000000000
periphery() view returns (address)
0x0000000000000000000000000000000000000000
totalBlocksCommitted() view returns (uint32)
0
totalBlocksExecuted() view returns (uint32)
0
totalBlocksProven() view returns (uint32)
0
totalBlocksSynchronized() view returns (uint32)
0
totalCommittedPriorityRequests() view returns (uint64)
0
totalOpenPriorityRequests() view returns (uint64)
0
verifier() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
accepts(uint32, bytes32) view returns (address)
authFacts(address, uint32) view returns (bytes32)
bridgeIndex(address) view returns (uint256)
bridges(uint256) view returns (address bridge, bool enableBridgeTo, bool enableBridgeFrom)
performedExodus(uint32, uint8, uint16, uint16) view returns (bool)
tokenIds(address) view returns (uint16)
tokens(uint16) view returns (bool registered, bool paused, address tokenAddress, uint8 decimals, bool standard)
validators(address) view returns (bool)
State-modifying
Events commitBlocks(struct StorageStoredBlockInfo _lastCommittedBlockData, struct ZkLinkCommitBlockInfo[] _newBlocksData)
commitCompressedBlocks(struct StorageStoredBlockInfo _lastCommittedBlockData, struct ZkLinkCommitBlockInfo[] _newBlocksData, struct ZkLinkCompressedBlockExtraInfo[] _newBlocksExtraData)
depositERC20(address _token, uint104 _amount, bytes32 _zkLinkAddress, uint8 _subAccountId, bool _mapping)
depositETH(bytes32 _zkLinkAddress, uint8 _subAccountId) payable
executeBlocks(struct ZkLinkExecuteBlockInfo[] _blocksData)
initialize(bytes initializationParameters)
requestFullExit(uint32 _accountId, uint8 _subAccountId, uint16 _tokenId, bool _mapping)
transferERC20(address _token, address _to, uint128 _amount, uint128 _maxAmount, bool _isStandard) returns (uint128 withdrawnAmount)
upgrade(bytes upgradeParameters)
Accept(address indexed acceptor, uint32 indexed accountId, address indexed receiver, uint16 tokenId, uint128 amount, uint16 withdrawFeeRate, uint32 accountIdOfNonce, uint8 subAccountIdOfNonce, uint32 nonce, uint128 amountSent, uint128 amountReceive)
AddBridge(address indexed bridge, uint256 bridgeIndex)
BlockCommit(uint32 indexed blockNumber)
BlockExecuted(uint32 indexed blockNumber)
BlockProven(uint32 indexed blockNumber)
BlocksRevert(uint32 totalBlocksVerified, uint32 totalBlocksCommitted)
BrokerApprove(uint16 indexed tokenId, address indexed owner, address indexed spender, uint128 amount)
ExodusMode()
FactAuth(address indexed sender, uint32 nonce, bytes fact)
FactAuthResetTime(address indexed sender, uint32 nonce, uint256 time)
NewGovernor(address newGovernor)
NewPriorityRequest(address sender, uint64 serialId, uint8 opType, bytes pubData, uint256 expirationBlock)
NewToken(uint16 indexed tokenId, address indexed token, uint8 decimals)
TokenPausedUpdate(uint16 indexed token, bool paused)
UpdateBridge(uint256 indexed bridgeIndex, bool enableBridgeTo, bool enableBridgeFrom)
ValidatorStatusUpdate(address indexed validatorAddress, bool isActive)
Withdrawal(uint16 indexed tokenId, uint128 amount)
WithdrawalPending(uint16 indexed tokenId, bytes32 indexed recepient, uint128 amount)
This contract contains no constructor objects.
fallback()
This contract contains no error objects.