BlockMarket
Verified contract
Active on
Ethereum with 785 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 "BlockMarket"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 5238601 | 7 years ago | | | 0 | 0.000094875000 | |
| 5228156 | 7 years ago | | | 0.0525 | 0.00024658000 | |
| 5228156 | 7 years ago | | | 0.081573072 | 0.00019675200 | |
| 5228156 | 7 years ago | | | 0.0125 | 0.00017215800 | |
| 5228154 | 7 years ago | | | 0.0125 | 0.00032055400 | |
| 5228154 | 7 years ago | | | 0.062748517 | 0.000049188000 | |
| 5227486 | 7 years ago | | | 0.16078125 | 0.00025285600 | |
| 5227486 | 7 years ago | | | 0.081573072 | 0.00093852500 | |
| 5227486 | 7 years ago | | | 0.0525 | 0.00029589600 | |
| 5227486 | 7 years ago | | | 0.0525 | 0.00024594000 |
ABI
ABI objects
Getter at block 21318161
getStockCount() view returns (uint256)
10
owner() view returns (address)
0x2a67bb9260b22d80758082eb6aada378441287bf
Read-only
getCurrentPrice(uint256 _stockId, uint256 _shareId) view returns (uint256 currentPrice)
getDividendPayout(uint256 _purchasePrice, uint256 _stockDividend, uint256 _numDividends) pure returns (uint256 dividend)
getStockShares(uint256 _stockId) view returns (uint256[])
shares(uint256) view returns (address holder, uint256 purchasePrice)
stockShares(uint256, uint256) view returns (uint256)
stocks(uint256) view returns (string name, uint256 priceIncrease, uint256 dividendAmount, uint256 lastAction, uint256 dividendsPaid)
State-modifying
Events addStock(string _name, uint256 _initialPrice, uint256 _priceIncrease, uint256 _dividendAmount, uint8 _numShares) returns (uint256 stockId)
purchase(uint256 _stockId, uint256 _shareId) payable
transferOwnership(address newOwner)
withdraw(uint256 _amount, address _destination)
CompanyListed(string company, uint256 basePrice)
DividendPaid(address shareholder, uint256 amount)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
ShareSold(uint256 stockId, uint256 shareId, uint256 oldPrice, uint256 newPrice, address oldOwner, address newOwner)
This contract contains no constructor objects.
fallback()
This contract contains no error objects.