Orderbook

Verified contract

Active on Base with 16,889 txns
Deployed by via 0xe8c8ed1b at 16581349
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $4
ERC-20
Value $1.41
ERC-20
Value $0
ERC-20
--
0x797bff4897da660d2a318baaf2cc257b6fc69e067214f29b462e11a0bcd02f6e
0xe12eae8f5a6075a45fe5663d99c7a3fd8d572cbbce0b0299b968db96ea812398
0x05ed6b8398bf3a5ca81c38827e26046e169b9dde26aafe6d0c0fbd37bc4f45ab
0xc258d34c228433e4fad4c57d81f27f2b81c36f2c7b04302ee928ae7cea09f4e5
0x7330e9ac8707d0e6cbb4a0a906c6cfad503543b9d8fc237e87ef2b01ddf9e46b
0x74a0ee9095a617a4d5917100cd82bb4d60c8922f0c45ca5deb0c3e165bc01732
0x0a32ae65257e5ebc23505a436a3d01b9aaf1f2b4f8c970284c8b639e21377717
0x7cd905456820703bc22cf1d34d88d6107930b6af0fabc984b0f057d85777f348
0xb2a68de0b886789cd9cb143839c02cc6655ce0aa5e43571965e76e491cca1cf8
0x1bb235b13364fa4f4affae40270b68972ffd9c846349631581d3350a6ce1091b

Functions
Getter at block 22741636
endpoint(view returns (address)
0x1a44076050125825900e736c501f859c50fe728c
getCurrentBlockNumber(view returns (uint256)
22741636
maxFee(view returns (uint16)
1001
oAppVersion(pure returns (uint64 senderVersionuint64 receiverVersion)
(senderVersion=1, receiverVersion=2)
owner(view returns (address)
0x451f52446ebd4376d4a05f4267ef1a03acf1aaf4
srcLzc(view returns (uint32)
30184
Read-only
allowInitializePath(struct Origin originview returns (bool)
applyFee(uint256 numberuint256 _feepure returns (uint256)
bondFee(uint256 numberuint256 _feepure returns (uint256)
book(uint256addressaddressview returns (address srcaddress dstuint16 lzc)
combineOptions(uint32 _eiduint16 _msgTypebytes _extraOptionsview returns (bytes)
decodeMessage(bytes encodedMessagepure returns (struct TradeInterfacePayload messageuint16 msgTypeuint256 extraOptionsStartuint256 extraOptionsLength)
enforcedOptions(uint32 eiduint16 msgTypeview returns (bytes enforcedOption)
getMatch(address srcAssetaddress dstAssetuint256 dstLzcuint256 indexview returns (struct TradeInterfaceMatch _match)
getOrder(address srcAssetaddress dstAssetuint256 dstLzcuint256 indexview returns (struct TradeInterfaceOrder _order)
getOrders(address srcAssetaddress dstAssetuint256 dstLzcview returns (struct TradeInterfaceOrder[] orders)
getReceipt(address srcAssetaddress dstAssetuint256 dstLzcuint256 srcIndexuint256 dstIndexview returns (struct TradeInterfaceReceipt _receipt)
isComposeMsgSender(struct Originbytesaddress _senderview returns (bool)
nextNonce(uint32bytes32view returns (uint64 nonce)
peers(uint32 eidview returns (bytes32 peer)
State-modifying
cancelOrder(struct TradeInterfaceOrderDirection directionuint32 orderIndex
challengeMatch(struct TradeInterfaceOrderDirection directionuint32 srcIndexbytes _extraSendOptionsbytes _extraReturnOptionspayable 
confirmMatch(struct TradeInterfaceOrderDirection directionuint32 srcIndex
createMatch(struct TradeInterfaceOrderDirection directionuint32 srcIndexuint32 dstIndexaddress Counterpartyuint96 srcQuantityuint96 dstQuantity
executeMatch(struct TradeInterfaceOrderDirection directionuint32 srcIndexuint32 dstIndexaddress Counterpartyuint96 srcQuantityuint96 dstQuantitybool isUnwrap
lzReceive(struct Origin _originbytes32 _guidbytes _messageaddress _executorbytes _extraDatapayable 
placeOrder(struct TradeInterfaceOrderDirection directionstruct TradeInterfaceOrderFunding fundingstruct TradeInterfaceOrderExpiration expirationbool isMaker
renounceOwnership(
setDelegate(address _delegate
setEnforcedOptions(struct EnforcedOptionParam[] _enforcedOptions
setMaxFee(uint16 _newMaxFee
setPeer(uint32 _eidbytes32 _peer
transferOwnership(address newOwner
unwindMatch(struct TradeInterfaceOrderDirection directionuint32 srcIndex
Events
ChallengeRaised(address indexed challengerstruct TradeInterfaceOrderDirection directionuint32 srcIndexaddress bonderuint32 dstIndex
ChallengeResult(bool challenge_status
EnforcedOptionSet(struct EnforcedOptionParam[] _enforcedOptions
MatchConfirmed(address indexed bonderstruct TradeInterfaceOrderDirection directionuint32 srcIndexuint32 dstIndexuint16 bondFee
MatchCreated(address indexed bonderstruct TradeInterfaceOrderDirection directionuint32 srcIndexuint32 dstIndexuint96 srcQuantityuint96 dstQuantityaddress Makeruint96 blockNumber
MatchExecuted(address indexed bonderstruct TradeInterfaceOrderDirection directionuint32 srcIndexuint32 dstIndexuint96 srcQuantityuint96 dstQuantityaddress Takerbool isWrapped
MatchUnwound(address indexed bonderstruct TradeInterfaceOrderDirection directionuint32 srcIndexuint32 dstIndex
MessageReceived(string messageuint32 senderEidbytes32 sender
MessageSent(bytes messageuint32 dstEid
OrderCancelled(address indexed senderstruct TradeInterfaceOrderDirection directionuint32 orderIndex
OrderPlaced(address indexed senderuint32 orderIndexstruct TradeInterfaceOrderDirection directionstruct TradeInterfaceOrderFunding fundingstruct TradeInterfaceOrderExpiration expirationbool isMaker
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
PeerSet(uint32 eidbytes32 peer
ReturnMessageSent(string messageuint32 dstEid
Constructor
constructor(address _endpointaddress _owneruint32 _lzEid
Fallback and receive
receive(
Errors
InvalidDelegate(
InvalidEndpointCall(
InvalidOptions(bytes options
LzTokenUnavailable(
NoPeer(uint32 eid
NotEnoughNative(uint256 msgValue
OnlyEndpoint(address addr
OnlyPeer(uint32 eidbytes32 sender