Swap

Verified contract

Active on Ethereum with 19 txns
Deployed by via 0xe1e5fac1 at 11743274
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0x9fdc090e2baebe9d62c43d319148d98efff3f5d0bcac992e1ccd9242ec9b2d80
0x433fe986cdb8de1a6b1aed5f6f43dbfeae95182b0c62bffd44d32ba214409f43
0xadc1902c87e853d723b720de0b44bbf0a9a88b5969bf1e2efbc54171006ef49d
0xba09037ca35931e61359d92d2239381b25f664612091be20eb040b4bad9f4a84
0x80234766fe791ee1d1dfc4ecba860d03b24676ac92361ee452c1d16338970b18
0x4c055483a055d299640dfdedfc3cc89e81671638d91ddf3bf6ba198ef14c9857
0x4ce12156a01cbbb5b50d530e8910cdee136ac3adace475ef152ab9c618537b80
0xa1b7d4415ac23ce79fcb57d766b5007efeea769cc992ce0f0f583deba5400004
0xa879de438b1c1393f6fde56ccdf2520e7f8d3c972b02b703fa45599316884340
0x579b01cfc0e64479d88894fea1b49f2932e51077fd3302e82ab70f5e69ee1e6e

Functions
Getter at block 21125839
askToken(view returns (address)
0x4bc6a931055d1185ded83d866f5d7560ca659d0d
assetToken(view returns (address)
0xee4e2032812e96ea006772068f611b9d50f1ea07
createFee(view returns (uint256)
200000000000000000000
createFeeToken(view returns (address)
0x4bc6a931055d1185ded83d866f5d7560ca659d0d
dealFeeRate(view returns (uint256)
100
feeFund(view returns (address)
0xb83e9deef17a4498d0e272134ebe4feda20fb029
getOrdersCount(view returns (uint256)
4
isOperator(view returns (bool)
false
maxExpirePeroid(view returns (uint256)
172800
operator(view returns (address)
0xb83e9deef17a4498d0e272134ebe4feda20fb029
owner(view returns (address)
0xb83e9deef17a4498d0e272134ebe4feda20fb029
Read-only
getBatchOrders(uint256 fromIdview returns (struct SwapOrder[])
getBatchUserOrders(address owneruint256 fromIdview returns (struct SwapOrder[])
getUserOrdersCount(address ownerview returns (uint256)
orders(uint256view returns (uint256 createTimeaddress owneruint256 assetAmountuint256 askAmountuint256 expire)
userOrders(addressuint256view returns (uint256)
State-modifying
cancelOrder(uint256 orderId
createOrder(uint256 assetAmountuint256 askAmountuint256 expire
dealOrder(uint256 orderIduint256 bidAmount
renounceOwnership(
setCreateFee(uint256 _createFee
setDealFeeRate(uint256 _dealFeeRate
setFeeFund(address _feeFund
setMaxExpirePeroid(uint256 _maxExpirePeroid
transferOperator(address newOperator_
transferOwnership(address newOwner
Events
CancelOrder(uint256 orderIduint256 timestamp
CreateOrder(uint256 orderIduint256 timestampaddress onweruint256 assetAmountuint256 askAmount
DealOrder(uint256 orderIduint256 timestampaddress dealeruint256 bidAmount
OperatorTransferred(address indexed previousOperatoraddress indexed newOperator
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Constructor
constructor(address _assetTokenaddress _askTokenaddress _feeFundaddress _createFeeTokenuint256 _createFeeuint256 _dealFeeRateuint256 _maxExpirePeroid
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.