ZkBridgeOracleV2
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
9
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 48 additional slots
Balances ($0.00)
No balances found for "ZkBridgeOracleV2"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "ZkBridgeOracleV2"
ABI
ABI objects
Getter at block 22918012
feeBalance() view returns (uint256 balance)
0
getLzMessageLibLength() view returns (uint256)
0
layerZeroEndpointV1() view returns (address)
0xb6319cc6c8c27a8f5daf0dd3df91ea35c4720dd7
layerZeroEndpointV2() view returns (address)
0x1a44076050125825900e736c501f859c50fe728c
localEid() view returns (uint32)
30184
owner() view returns (address)
0x0000000000000000000000000000000000000000
zkMptValidator() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
blockUpdaters(uint32) view returns (address)
chainFeeLookup(uint32) view returns (uint256)
feeManager(address) view returns (bool)
getFee(uint32 _dstEid, uint64, address, bytes) view returns (uint256 fee)
getLzMessageLib(address _msgLib) view returns (struct ZkBridgeOracleV2MessageLibInfo)
hashLookup(bytes _encodedPayload) view returns (bool)
isSupportedMessageLib(address _messageLib) view returns (bool)
receiveLibToView(address) view returns (address)
supportedDstChain(uint32) view returns (bool)
State-modifying
Events addLzMessageLib(address _messageLib)
assignJob(struct ILayerZeroDVNAssignJobParam _param, bytes) payable returns (uint256 fee)
batchVerify(bytes32[] _blockHashs, bytes[] _encodedPayloads, bytes[] _zkMptProof)
initialize()
removeLzMessageLib(address _messageLib)
renounceOwnership()
setBlockUpdater(uint32 _srcEid, address _newBlockUpdater)
setDstChain(uint32 _dstEid, bool enabled)
setFee(uint32 _dstEid, uint256 _price)
setFeeManager(address feeManager_, bool enabled_)
setFees(uint32[] _dstEid, uint256[] _price)
setReceiveView(address receiveLib_, address receiveLibView_)
setZKMptValidator(address _newZkMptValidator)
transferOwnership(address newOwner)
verify(bytes32 _blockHash, bytes _encodedPayload, bytes _zkMptProof)
withdrawFee(address _messageLib, address _to)
withdrawFeeAll(address _to)
DstChainStatusChanged(uint32 dstEid, bool enabled)
Initialized(uint8 version)
NewBlockUpdater(uint32 srcEid, address oldBlockUpdater, address newBlockUpdater)
NewZKMptValidator(address oldValidator, address newValidator)
OracleNotified(uint32 dstEid, uint64 blockConfirmations, address userApplication, uint256 fee)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
SetFee(uint32 dstEid, uint256 fee)
SetFeeManager(address feeManager, bool enabled)
WithdrawFee(address messageLib, address receiver, uint256 amount)
constructor(address _layerZeroEndpointV2, address _layerZeroEndpointV1)
This contract contains no fallback and receive objects.
AlreadySet()
BlockNotSet()
InsufficientFee()
InvalidParameters()
InvalidZkMptProof()
MessageLibAlreadyAdded()
MessageLibAlreadyDeleted()
OnlySendLib()
PacketNotVerified()
ReceiveLibViewNotSet()
Unauthorized()
UnsupportedChain(uint32 dstEid)
UnsupportedSendLib()
UnsupportedUpdater(uint32 srcEid)
ZeroAddress()
ZkMptValidatorUnavailable()