SimpleTradeContract

Verified contract

Active on Base with 2,682 txns
Deployed by via 0xaf7b46be at 15154735
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $90.18
ERC-20
Value $3.56
ERC-20
Value $0.12
ERC-20
Value $0.06
ERC-20
Value $0.05
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
ERC-20
--
0x5b3fb5cb6e31207b6b663c98cd59043e9c9295ee4c6f202138ff4651c376bdef
0x30ff6bda2646376f7321584683cc8f3020a4184dae4e2a70ab71cc2d1e1fcd09
0xf76a976787931a96ccb33e9f64361e67cb4467f466270afc512aaeab9af29a7d
0xa5e1e5ea915d815c152bfa188658284c59999b38acc3fd42caa1f6862c1d3b48
0x0288a6432f1097a8d591db78fff4f2d230c68b10b9e03ab30013ecaa8c94b208
0x479e72462d85408eb51c4e955a6ab562064b3391ccd9eda96d8b12a00abf9d1d
0xbe2c829248fd5bb4446ec456566cc2942cdcaaa7244a777d85ed2a7d0d3f2535
0x935e12a66dbdf1a20adb786997a184b99eedd806078f1f8b9a4d29ed4834caf6
0xde8903de67e6bb82c9108b39c40310e1b7888004eae99fe5775e02bb3e48dda0
0x521dd7e3e5a89c6e34d04509dc629320b8f6decf14ad5da1bd13f8bde660a36d

Functions
Getter at block 22943146
BASIS_POINTS(view returns (uint256)
10000
CHALLENGE_WINDOW(view returns (uint256)
0
DEFAULT_PAYLOAD_SIZE_LIMIT(view returns (uint256)
10000
VERIFY_WINDOW(view returns (uint256)
0
lzEndpoint(view returns (address)
0xb6319cc6c8c27a8f5daf0dd3df91ea35c4720dd7
lzc(view returns (uint16)
184
owner(view returns (address)
0x451f52446ebd4376d4a05f4267ef1a03acf1aaf4
precrime(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
addFee(uint256 numberuint256 _feepure returns (uint256)
book(uint256addressaddressview returns (address srcaddress dstuint16 lz_cid)
decimals(address tknview returns (uint8 decimal)
failedMessages(uint16bytesuint64view returns (bytes32)
getConfig(uint16 _versionuint16 _chainIdaddressuint256 _configTypeview returns (bytes)
getMatch(address sell_tokenaddress buy_tokenuint256 lz_ciduint256 indexaddress guarantoruint256 nonceview returns (struct TradeInterfaceMatch _match)
getOrder(address sell_tokenaddress buy_tokenuint256 lz_ciduint256 indexview returns (struct TradeInterfaceOrder _order)
getOrders(address sell_tokenaddress buy_tokenuint256 lz_cidview returns (struct TradeInterfaceOrder[] orders)
getTrustedRemoteAddress(uint16 _remoteChainIdview returns (bytes)
isTrustedRemote(uint16 _srcChainIdbytes _srcAddressview returns (bool)
minDstGasLookup(uint16uint16view returns (uint256)
payloadSizeLimitLookup(uint16view returns (uint256)
spokes(uint16view returns (address)
subFee(uint256 numberuint256 _feepure returns (uint256)
trustedRemoteLookup(uint16view returns (bytes)
State-modifying
challengeTrade(address sell_tokenaddress buy_tokenuint256 lz_ciduint256 indexaddress guarantoruint256 noncepayable 
executeMatch(address sell_tokenaddress buy_tokenuint256 lz_ciduint256 indexaddress guarantoruint256 nonce
finalizeMatch(address sell_tokenaddress buy_tokenuint256 lz_ciduint256 indexuint256 noncepayable 
forceResumeReceive(uint16 _srcChainIdbytes _srcAddress
lzReceive(uint16 _srcChainIdbytes _srcAddressuint64 _noncebytes _payload
nonblockingLzReceive(uint16 _srcChainIdbytes _srcAddressuint64 _noncebytes _payload
placeTrade(address sell_tokenaddress buy_tokenuint256 lz_ciduint256 amountuint256 priceuint256 fee
proposeMatch(address sell_tokenaddress buy_tokenuint256 lz_ciduint256 src_ixuint256 dst_ixuint256 src_matchaddress receiverreturns (uint256 match_nonce)
renounceOwnership(
retryMessage(uint16 _srcChainIdbytes _srcAddressuint64 _noncebytes _payloadpayable 
setConfig(uint16 _versionuint16 _chainIduint256 _configTypebytes _config
setMinDstGas(uint16 _dstChainIduint16 _packetTypeuint256 _minGas
setPayloadSizeLimit(uint16 _dstChainIduint256 _size
setPrecrime(address _precrime
setReceiveVersion(uint16 _version
setSendVersion(uint16 _version
setTrustedRemote(uint16 _remoteChainIdbytes _path
setTrustedRemoteAddress(uint16 _remoteChainIdbytes _remoteAddress
setspoke(address _contraspokeuint16 contra_cid
transferOwnership(address newOwner
unwindMatch(address sell_tokenaddress buy_tokenuint256 lz_ciduint256 indexuint256 nonce
Events
MatchExecuted(address src_tokenaddress dst_tokenuint256 dst_lzcuint256 src_ixuint256 dst_ixuint256 match_nonce
MatchProposed(address src_tokenaddress dst_tokenuint256 dst_lzcuint256 src_ixuint256 dst_ixuint256 match_nonceuint256 src_quantityuint256 dst_quantityaddress indexed guarantor
MessageFailed(uint16 _srcChainIdbytes _srcAddressuint64 _noncebytes _payloadbytes _reason
OrderPlaced(address src_tokenaddress dst_tokenuint256 lz_ciduint256 order_indexaddress indexed senderuint256 amountuint256 priceuint256 fee
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
RetryMessageSuccess(uint16 _srcChainIdbytes _srcAddressuint64 _noncebytes32 _payloadHash
SetMinDstGas(uint16 _dstChainIduint16 _typeuint256 _minDstGas
SetPrecrime(address precrime
SetTrustedRemote(uint16 _remoteChainIdbytes _path
SetTrustedRemoteAddress(uint16 _remoteChainIdbytes _remoteAddress
Constructor
constructor(address _lzEndpointuint16 _lzc
Fallback and receive
receive(
Errors

This contract contains no error objects.