NestMiningV1
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
31
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 36 additional slots
Balances ($0.00)
No balances found for "NestMiningV1"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "NestMiningV1"
ABI
ABI objects
Getter at block 20850040
addrOfGovernance() view returns (address)
0x0000000000000000000000000000000000000000
flag() view returns (uint8)
0
governance() view returns (address)
0x0000000000000000000000000000000000000000
latestMinedHeight() view returns (uint64)
0
mineNest() view returns (uint256)
0
minedNestAmount() view returns (uint256)
0
parameters() view returns (struct NestMiningV1Params params)
(0, 0, 0, 0, 0, 0, 0, 0)
version() view returns (uint64)
0
Read-only
fullPriceSheet(address token, uint256 index) view returns (struct MiningV1DataPriceSheet sheet)
latestPriceOf(address token) view returns (uint256 ethAmount, uint256 tokenAmount, uint256 blockNum)
lengthOfPriceSheets(address token) view returns (uint256)
mineNToken(address ntoken) view returns (uint256)
priceAvgAndSigmaOf(address token) view returns (uint128 price, uint128 avgPrice, int128 vola, uint32 bn)
priceListOfToken(address token, uint8 num) view returns (uint128[] data, uint256 bn)
priceOf(address token) view returns (uint256 ethAmount, uint256 tokenAmount, uint256 blockNum)
priceOfTokenAtHeight(address token, uint64 atHeight) view returns (uint256 ethAmount, uint256 tokenAmount, uint256 bn)
priceSheet(address token, uint256 index) view returns (struct MiningV1DataPriceSheetPub sheet)
sheetListOf(address miner, address token, uint256 fromIndex, uint256 num) view returns (struct MiningV1DataPriceSheetPub2[] sheets)
unClosedSheetListOf(address miner, address token, uint256 fromIndex, uint256 num) view returns (struct MiningV1DataPriceSheetPub2[] sheets)
unVerifiedSheetList(address token) view returns (struct MiningV1DataPriceSheetPub2[] sheets)
State-modifying
Events biteEth(address token, uint256 index, uint256 biteNum, uint256 newTokenAmountPerEth) payable
biteToken(address token, uint256 index, uint256 biteNum, uint256 newTokenAmountPerEth) payable
close(address token, uint256 index)
closeAndWithdraw(address token, uint256 index)
closeList(address token, uint32[] indices)
incVersion()
initialize(address NestPool)
loadContracts()
loadGovernance()
post(address token, uint256 ethNum, uint256 tokenAmountPerEth) payable
post2(address token, uint256 ethNum, uint256 tokenAmountPerEth, uint256 ntokenAmountPerEth) payable
setParams(struct NestMiningV1Params newParams)
setParams1(uint128 latestMiningHeight, uint128 minedNestTotalAmount)
setup(uint32 genesisBlockNumber, uint128 latestMiningHeight, uint128 minedNestTotalAmount, struct NestMiningV1Params initParams)
stat(address _token)
upgrade()
withdrawEth(uint256 ethAmount)
withdrawEthAndToken(uint256 ethAmount, address token, uint256 tokenAmount)
withdrawEthAndTokenAndNest(uint256 ethAmount, address token, uint256 tokenAmount, uint256 nestAmount)
withdrawNest(uint256 nestAmount)
This contract contains no event objects.
constructor()
receive()
This contract contains no error objects.