MercatusDeals
Verified contract
Active on
Ethereum with 14 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "MercatusDeals"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 5213952 | 7 years ago | | | 0 | 0.00075422000 | |
| 5208328 | 7 years ago | | | 0 | 0.0021584000 | |
| 5208324 | 7 years ago | | | 0.65248142 | 0.013584750 | |
| 5189320 | 7 years ago | | | 0 | 0.0011511500 | |
| 5189292 | 7 years ago | | | 0 | 0.0011511500 | |
| 5189280 | 7 years ago | | | 0 | 0.0011511500 | |
| 5187516 | 7 years ago | | | 0 | 0.0018855500 | |
| 5183596 | 7 years ago | | | 0 | 0.0021584000 | |
| 5183589 | 7 years ago | | | 0.67532121 | 0.00081508500 | |
| 5090227 | 7 years ago | | | 0 | 0.00075550000 |
ABI
ABI objects
Getter at block 21210294
be() view returns (address)
0x873a2832898b17b5c12355769a7e2dae6c2f92f7
getDealsCount() view returns (uint256)
3
Read-only
deals(uint256) view returns (uint8 currentState, uint256 start, uint256 deadline, uint256 maxLoss, uint256 startBalance, uint256 targetBalance, uint256 amount, uint8 currency, string investor, address investorAddress, string trader, address traderAddress)
getSplit(uint256 finishAmount, uint256 startBalance, uint256 targetBalance, uint256 amount) pure returns (uint256)
getStart(uint256 dealId) view returns (uint256)
getState(uint256 dealId) view returns (uint256)
State-modifying
Events makeDeal(uint256 _duration, uint256 _maxLoss, uint256 _startBalance, uint256 _targetBalance, uint256 _amount, string _investor, address _investorAddress, string _trader, address _traderAddress, uint256 offer, uint256 _currency) payable
setFinished(uint256 dealId, uint256 finishAmount)
setHalted(uint256 dealId)
setVerified(uint256 dealId)
spawnInstance(address indexed from, uint256 indexed dealId, uint256 start, uint256 offer)
constructor()
fallback()
This contract contains no error objects.