SimpleTradeContract
Verified contract
Active on
Base with 2,682 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($93.97)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
USDM | ERC-20 | 89.91427 | $1.003 |
$90.18 | |
USDC | ERC-20 | 3.563656 | $1.00 |
$3.56 | |
crvUSD | ERC-20 | 0.120724 | $0.996575 |
$0.12 | |
WGC | ERC-20 | 200 | $0.000275 |
$0.06 | |
GOCHU | ERC-20 | 50K | $0.000001 |
$0.05 | |
USDbC | ERC-20 | 0.000141 | $1.001 |
$0 | |
kurbi | ERC-20 | 0.2 | $0.000528 |
$0 | |
DAI | ERC-20 | 0.0001 | $0.998898 |
$0 | |
SAMOYES | ERC-20 | 81 | -- | -- | |
BLOWN | ERC-20 | 77.694207 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 17176686 | 4 months ago | | | 0 | 0.0000015225940 | |
| 17176684 | 4 months ago | | | 0 | 0.0000039963192 | |
| 17176683 | 4 months ago | | | 0 | 0.0000019569442 | |
| 17176463 | 4 months ago | | | 0 | 0.0000015114514 | |
| 17176457 | 4 months ago | | | 0 | 0.0000012452423 | |
| 17176455 | 4 months ago | | | 0 | 0.0000041853285 | |
| 17176352 | 4 months ago | | | 0 | 0.0000017134100 | |
| 17174187 | 4 months ago | | | 0 | 0.000000900341560976 | |
| 17171455 | 4 months ago | | | 0 | 0.0000014694812 | |
| 17171454 | 4 months ago | | | 0 | 0.0000038476523 |
ABI
ABI objects
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 number, uint256 _fee) pure returns (uint256)
book(uint256, address, address) view returns (address src, address dst, uint16 lz_cid)
decimals(address tkn) view returns (uint8 decimal)
failedMessages(uint16, bytes, uint64) view returns (bytes32)
getConfig(uint16 _version, uint16 _chainId, address, uint256 _configType) view returns (bytes)
getMatch(address sell_token, address buy_token, uint256 lz_cid, uint256 index, address guarantor, uint256 nonce) view returns (struct TradeInterfaceMatch _match)
getOrder(address sell_token, address buy_token, uint256 lz_cid, uint256 index) view returns (struct TradeInterfaceOrder _order)
getOrders(address sell_token, address buy_token, uint256 lz_cid) view returns (struct TradeInterfaceOrder[] orders)
getTrustedRemoteAddress(uint16 _remoteChainId) view returns (bytes)
isTrustedRemote(uint16 _srcChainId, bytes _srcAddress) view returns (bool)
minDstGasLookup(uint16, uint16) view returns (uint256)
payloadSizeLimitLookup(uint16) view returns (uint256)
spokes(uint16) view returns (address)
subFee(uint256 number, uint256 _fee) pure returns (uint256)
trustedRemoteLookup(uint16) view returns (bytes)
State-modifying
Events challengeTrade(address sell_token, address buy_token, uint256 lz_cid, uint256 index, address guarantor, uint256 nonce) payable
executeMatch(address sell_token, address buy_token, uint256 lz_cid, uint256 index, address guarantor, uint256 nonce)
finalizeMatch(address sell_token, address buy_token, uint256 lz_cid, uint256 index, uint256 nonce) payable
forceResumeReceive(uint16 _srcChainId, bytes _srcAddress)
lzReceive(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes _payload)
nonblockingLzReceive(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes _payload)
placeTrade(address sell_token, address buy_token, uint256 lz_cid, uint256 amount, uint256 price, uint256 fee)
proposeMatch(address sell_token, address buy_token, uint256 lz_cid, uint256 src_ix, uint256 dst_ix, uint256 src_match, address receiver) returns (uint256 match_nonce)
renounceOwnership()
retryMessage(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes _payload) payable
setConfig(uint16 _version, uint16 _chainId, uint256 _configType, bytes _config)
setMinDstGas(uint16 _dstChainId, uint16 _packetType, uint256 _minGas)
setPayloadSizeLimit(uint16 _dstChainId, uint256 _size)
setPrecrime(address _precrime)
setReceiveVersion(uint16 _version)
setSendVersion(uint16 _version)
setTrustedRemote(uint16 _remoteChainId, bytes _path)
setTrustedRemoteAddress(uint16 _remoteChainId, bytes _remoteAddress)
setspoke(address _contraspoke, uint16 contra_cid)
transferOwnership(address newOwner)
unwindMatch(address sell_token, address buy_token, uint256 lz_cid, uint256 index, uint256 nonce)
MatchExecuted(address src_token, address dst_token, uint256 dst_lzc, uint256 src_ix, uint256 dst_ix, uint256 match_nonce)
MatchProposed(address src_token, address dst_token, uint256 dst_lzc, uint256 src_ix, uint256 dst_ix, uint256 match_nonce, uint256 src_quantity, uint256 dst_quantity, address indexed guarantor)
MessageFailed(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes _payload, bytes _reason)
OrderPlaced(address src_token, address dst_token, uint256 lz_cid, uint256 order_index, address indexed sender, uint256 amount, uint256 price, uint256 fee)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
RetryMessageSuccess(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes32 _payloadHash)
SetMinDstGas(uint16 _dstChainId, uint16 _type, uint256 _minDstGas)
SetPrecrime(address precrime)
SetTrustedRemote(uint16 _remoteChainId, bytes _path)
SetTrustedRemoteAddress(uint16 _remoteChainId, bytes _remoteAddress)
constructor(address _lzEndpoint, uint16 _lzc)
receive()
This contract contains no error objects.