StaticPriceSale
Verified contract
Active on
Ethereum with 438 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x4185…cdfa
0x3b62…5325
Balances ($0.00)
No balances found for "StaticPriceSale"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 11550551 | 4 years ago | | | 0 | 0.0026293150 | |
| 11507981 | 4 years ago | | | 0 | 0.010789876 | |
| 11506702 | 4 years ago | | | 0 | 0.0059455130 | |
| 11504743 | 4 years ago | | | 0 | 0.0033309090 | |
| 11504724 | 4 years ago | | | 0 | 0.0030773160 | |
| 11504706 | 4 years ago | | | 0 | 0.0023779260 | |
| 11504012 | 4 years ago | | | 0 | 0.0020219500 | |
| 11502944 | 4 years ago | | | 0 | 0.0037067670 | |
| 11502919 | 4 years ago | | | 0 | 0.0032171940 | |
| 11501276 | 4 years ago | | | 0 | 0.0033706845 |
ABI
ABI objects
Getter at block 21324287
CAP_CONTROLLER_ROLE() view returns (bytes32)
0xe4fafac5724f0988df7b642491cf8f114c540f1ddf8a5d3ce0c367980650c1ba
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
coinbaseToken() view returns (address)
0x4185cf99745b2a20727b37ee798193dd4a56cdfa
deusToken() view returns (address)
0x3b62f3820e0b035cc4ad602dece6d796bc325325
endBlock() view returns (uint256)
11900000
feeWallet() view returns (address)
0xd9775d818fc23e07ac4b8efd4c58972f7c59bc0f
initialUserMaxCap() view returns (uint256)
10000000000000000000
price() view returns (uint256)
50000000000000000000
spread() view returns (uint256)
5000000000000000
totalMaxCap() view returns (uint256)
3000000000000000000000
totalUsedCap() view returns (uint256)
2999999757592080001540
Read-only
calculatePurchaseReturn(uint256 deusAmount) view returns (uint256, uint256)
calculateSaleReturn(uint256 coinbaseTokenAmount) view returns (uint256, uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
getRoleMember(bytes32 role, uint256 index) view returns (address)
getRoleMemberCount(bytes32 role) view returns (uint256)
hasRole(bytes32 role, address account) view returns (bool)
users(address) view returns (uint256 usedCap, uint256 maxCap, bool inited)
State-modifying
Events buy(uint256 coinbaseTokenAmount, uint256 deusAmount)
buyFor(address _user, uint256 coinbaseTokenAmount, uint256 deusAmount)
grantRole(bytes32 role, address account)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
sell(uint256 coinbaseTokenAmount, uint256 deusAmount)
sellFor(address _user, uint256 coinbaseTokenAmount, uint256 deusAmount)
setEndBlock(uint256 _endBlock)
setFeeWallet(address _feeWallet)
setSpreadAndPrice(uint256 _spread, uint256 _price)
setTotalMaxCap(uint256 _totalMaxCap, uint256 _initialUserMaxCap)
setUserMaxCap(address user, uint256 userMaxCap)
withdraw(address to, uint256 amount)
Buy(address user, uint256 coinbaseTokenAmount, uint256 deusAmount, uint256 feeAmount)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
Sell(address user, uint256 deusAmount, uint256 coinbaseTokenAmount, uint256 feeAmount)
constructor(address _coinbaseToken, address _deusToken, address _feeWallet, uint256 _endBlock, uint256 _spread, uint256 _price, uint256 _initialUserMaxCap, uint256 _totalMaxCap)
This contract contains no fallback and receive objects.
This contract contains no error objects.