Ethen

Verified contract

Active on Ethereum with 31,048 txns
Deployed by via 0x9fc779b1 at 5354266
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $139,088.56
ERC-20
Value $69.71
ERC-20
Value $3.99
ERC-20
Value $2.53
ERC-20
Value $0.16
ERC-20
Value $0.16
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
0x024ff1c4ce450d1411b21108b376f629cb3e0e8540ba5fb190b74f217ef42b79
0x5ec24b441ce66ceb3718ae3ef6ce0a737414480b2f38e3ac4533578082293c7a
0x3095e5387ad9701ce052e5b84eec04be6f6c522a6ecbe670872a1bbbdceb3a3a
0x82dc72c391746b95b3967b4104c6e5aafed356a42b291318104b13983106a5a2
0xce36f057a58fc89a4d0be33a95816483142ec6e18b6b708e1731a5872e0cd1e4
0x134a9311e6f05b6772b013701b9e51e4c063aaebf78e8be0c865ac1c603615a5
0x1ade54faf35cf5c0c2ad02bb7b8b466a4967f89f1470657c3ae09abeb2d14785
0x845fcd21ec9ca411856ae19486aefd59885165020759581416d8c46a3fb11c37
0x6e37734c2e8cc0ef675fa387cccd78824839d06efcbd391fa2f79fe68c17d886
0x9ecbe9af6b5e59a33074b77cebf9bbbd78762fa425c5c548f4e6bdf6e21381a0

Functions
Getter at block 21160841
BUY(view returns (uint256)
1
ETH_SIGN_TYPED_DATA_ARGHASH(view returns (bytes32)
0x3da4a05d8449a7bc291302cce8a490cf367b98ec37200076c3f13f1f2308fd74
FEE_MUL(view returns (uint256)
1000000
MAX_EXPIRE_DELAY(view returns (uint256)
600
MAX_FEE(view returns (uint256)
5000
PRICE_MUL(view returns (uint256)
1000000000000000000
SELL(view returns (uint256)
0
expireDelay(view returns (uint256)
300
feeCollector(view returns (address)
0x8a1ff1f8a84c78d89cbc3d2fd4e6442e68af4a9b
makeFee(view returns (uint256)
0
owner(view returns (address)
0x8a1ff1f8a84c78d89cbc3d2fd4e6442e68af4a9b
paused(view returns (bool)
false
signer(view returns (address)
0xf2c24291897fbe28fed3c65cf6cf5a1c1b4e484e
takeFee(view returns (uint256)
2500
Read-only
balances(addressview returns (uint256)
coeffs(addressview returns (uint8 coeffuint128 expire)
filled(addressuint256view returns (uint256)
getPack(uint8 _coeffuint128 _durationview returns (uint256)
packs(uint256view returns (uint256)
tokens(addressaddressview returns (uint256)
trades(addressuint256view returns (bool)
State-modifying
addPack(uint8 _coeffuint128 _durationuint256 _price
buyPack(uint8 _coeffuint128 _durationpayable 
cancel(uint8 _orderaddress _tokenuint256 _nonceuint256 _priceuint256 _amountuint256 _expireuint256 _vbytes32 _rbytes32 _s
delPack(uint8 _coeffuint128 _duration
depositEther(payable 
depositToken(address _tokenuint256 _amount
pause(
setCoeff(uint8 _coeffuint128 _expireuint8 _vbytes32 _rbytes32 _s
setExpireDelay(uint256 _expireDelay
setFeeCollector(address _addr
setMakeFee(uint256 _makeFee
setSigner(address _addr
setTakeFee(uint256 _takeFee
trade(uint256[] _numsaddress[] _addrsbytes32[] _rss
transferOwnership(address newOwner
unpause(
withdrawEther(uint256 _amount
withdrawToken(address _tokenuint256 _amount
Events
Cancel(uint8 orderaddress owneruint256 nonceaddress tokenuint256 priceuint256 amount
DepositEther(address useruint256 amountuint256 total
DepositToken(address useraddress tokenuint256 amountuint256 total
NewFeeCoeff(address useruint8 coeffuint128 expireuint256 price
NewMakeFee(uint256 makeFee
NewTakeFee(uint256 takeFee
NotEnoughEther(address owneruint256 shouldHaveAmountuint256 actualAmount
NotEnoughTokens(address owneraddress tokenuint256 shouldHaveAmountuint256 actualAmount
Order(address orderOwneruint256 orderNonceuint256 orderPriceuint256 tradeTokensuint256 orderFilleduint256 orderOwnerFinalTokensuint256 orderOwnerFinalEtheruint256 fees
Pause(
Trade(address traderuint256 nonceuint256 tradeaddress tokenuint256 traderFinalTokensuint256 traderFinalEther
Unpause(
WithdrawEther(address useruint256 amountuint256 total
WithdrawToken(address useraddress tokenuint256 amountuint256 total
Constructor
constructor(address _signer
Fallback and receive
fallback(
Errors

This contract contains no error objects.