ZkBridgeOracleV2
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
10
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 21279523
defaultTxValidator() view returns (address)
0x0000000000000000000000000000000000000000
defaultZkValidator() view returns (address)
0x0000000000000000000000000000000000000000
feeBalance() view returns (uint256 balance)
0
getLzMessageLibLength() view returns (uint256)
0
layerZeroEndpointV1() view returns (address)
0x66a71dcef29a0ffbdbe3c6a460a3b5bc225cd675
layerZeroEndpointV2() view returns (address)
0x1a44076050125825900e736c501f859c50fe728c
localEid() view returns (uint32)
30101
owner() view returns (address)
0x0000000000000000000000000000000000000000
sender() 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)
getTxValidator(uint32 _eid) view returns (address)
getZkValidator(uint32 _eid) view returns (address)
hashLookup(bytes _encodedPayload) view returns (bool)
isSupportedMessageLib(address _messageLib) view returns (bool)
receiveLibToView(address) view returns (address)
supportedDstChain(uint32) view returns (bool)
trustedRemoteLookup(uint32) view returns (address)
State-modifying
Events addLzMessageLib(address _messageLib)
assignJob(struct ILayerZeroDVNAssignJobParam _param, bytes) payable returns (uint256 fee)
batchVerify(bytes32[] _blockHashs, bytes[] _encodedPayloads, bytes[] _zkProof)
batchVerifyByTx(bytes32[] _blockHashs, uint32[] _srcEid, bytes[] _txData)
initialize()
removeLzMessageLib(address _messageLib)
renounceOwnership()
setBlockUpdater(uint32 _srcEid, address _newBlockUpdater)
setDefaultTxValidator(address _newTxValidator)
setDefaultZkValidator(address _newDefaultZkValidator)
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_)
setTrustedRemoteLookup(uint32 eid, address trustedRemoteAddress)
setTxValidator(uint32 _srcEid, address _newTxValidator)
setZkValidator(uint32 _eid, address _newZkValidator)
transferOwnership(address newOwner)
verify(bytes32 _blockHash, bytes _encodedPayload, bytes _zkProof)
verifyByTx(bytes32 _blockHash, uint32 _srcEid, bytes _txData)
withdrawFee(address _messageLib, address _to)
withdrawFeeAll(address _to)
DstChainStatusChanged(uint32 dstEid, bool enabled)
Initialized(uint8 version)
NewBlockUpdater(uint32 srcEid, address oldBlockUpdater, address newBlockUpdater)
NewDefaultTxValidator(address oldValidator, address newValidator)
NewDefaultZkValidator(address oldValidator, address newValidator)
NewTxValidator(uint32 srcEid, address oldValidator, address newValidator)
NewZkValidator(uint32 srcEid, 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()
InvalidZkProof()
Locked()
MessageLibAlreadyAdded()
MessageLibAlreadyDeleted()
NotTrustedSource()
OnlySendLib()
PacketNotVerified()
ReceiveLibViewNotSet()
TxValidatorUnavailable()
Unauthorized()
UnsupportedChain(uint32 dstEid)
UnsupportedSendLib()
UnsupportedUpdater(uint32 srcEid)
ZeroAddress()
ZkValidatorUnavailable()