CryptoCrystal

Verified contract

Active on Ethereum with 4,862 txns
Deployed by via 0x156ee1b8 at 5593248
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 99 additional slots
Native
Value $962.87
ERC-20
--
ERC-20
--
ERC-20
--
0x70a295c7186764b6b13815aed80f403e06464a227375ffc96591c6f912fb3c57
0xe24c4fc5bfb339ee6665442a2d42465ba4a37122f34e4f61552a9e2c0fd42f91
0xb02acc62e6a4e82319cd7f72204a298636cbd7e5598affc54b8dcd164224e7e0
0xd05cc793e9c79f14587b703fb44c0af744b363eb3fac98051795c14151066d7b
0xd873e18ee232e641ca08f191c99103d1e5b79d86bee4b7d4d57656aa3f0beb65
0x10d7e09b07be6f4fef81f6d52a972f759f70eb4d4b2f4c6c10443c00d44cadc1
0x27916336829d8e33f8d75d995b3cefeb80e71fb295db1fe618d74822ae5aca50
0x877f8b6963bb306f5113caa9b7ef3e4f92ba1d31ed50365239d71f8636ebd008
0xd97dc42dbcffc6d26eab65e91084465aa98e31b89c3e4ce19b71d76b98395de4
0x43902e1d7c079d7a3afbc7d76223a19ded0298cdfadc89a28e975f0859c767ae

Functions
Getter at block 21294083
MIN_WEI_AMOUNT(view returns (uint256)
5000000000000000
blockNumberUpdated(view returns (uint256)
12127701
crystal(view returns (address)
0xcfbc9103362aec4ce3089f155c2da2eea1cb7602
currentWeight(view returns (uint256)
1031904901
donationRate(view returns (uint256)
50
donationWallet(view returns (address)
0xfb6916095ca1df60bb79ce92ce3ea74c37c5d359
estimatedWeight(view returns (uint256)
2500
exchange(view returns (address)
0xb6e928db347dbaad2c06868b716a2cf488904574
generator(view returns (address)
0x045f11fc6fbed29b73119f4d51570c7e64af75f3
 
getCrystalWeights(view returns (uint256[100])
initialBlockNumber(view returns (uint256)
5593248
originalTotalWeight(view returns (uint256)
210000000000000
owner(view returns (address)
0xb144878128e9d6cd3d1a9d024e7b46b5c6b1c243
pickaxe(view returns (address)
0x5116c1d70e3a2cf55a2502d05f1bc17a0518782e
rate(view returns (uint256)
200
secondsPerBlock(view returns (uint256)
12
secondsPerDay(view returns (uint256)
86400
secondsPerYear(view returns (uint256)
31536000
wallet(view returns (address)
0x7b37faf831044d08da0c0e7419e2e31615f43032
Read-only
_estimateSupply(uint256 _secondsPerBlockuint256 _initialBlockNumberuint256 _currentBlockNumberuint256 _totalWeightpure returns (uint256)
_estimateWeight(uint256 _secondsPerBlockuint256 _initialBlockNumberuint256 _currentBlockNumberuint256 _totalWeightuint256 _currentWeightpure returns (uint256)
_getBlockIndex(uint256 _initialBlockNumberuint256 _currentBlockNumberpure returns (uint256)
_getBlockIndexAtYear(uint256 _initialBlockNumberuint256 _currentBlockNumberuint256 _secondsPerBlockpure returns (uint256)
_getBlocksPerYear(uint256 _secondsPerBlockpure returns (uint256)
_getFirstIndex(uint256 _minuint256[] _sortedpure returns (uint256)
_getWaitingBlocks(uint256 _secondsPerBlockpure returns (uint256)
_getWeightUntil(uint256 _totalWeightuint256 _yearIndexpure returns (uint256)
_getYearIndex(uint256 _secondsPerBlockuint256 _initialBlockNumberuint256 _currentBlockNumberpure returns (uint256)
_updateNeeded(uint256 _secondsPerBlockuint256 _currentBlockNumberuint256 _blockNumberUpdatedpure returns (bool)
State-modifying
_getRandom(uint256 _maxreturns (uint256)
bidExchange(uint256 _exchangeIduint256 _tokenId
buyPickaxes(address _beneficiarypayable 
cancelExchange(uint256 _id
createExchange(uint256 _tokenIduint256 _kinduint256 _weight
meltCrystals(uint256[] _tokenIds
mineCrystals(uint256 _pkxAmount
setEthereumWallet(address _donationWallet
setRandomGenerator(address _generator
setWallet(address _wallet
transferOwnership(address newOwner
Events
BidExchange(uint256 indexed idaddress owneruint256 ownerTokenIduint256 ownerTokenGeneuint256 ownerTokenKinduint256 ownerTokenWeightaddress exchangeruint256 exchangerTokenIduint256 exchangerTokenKinduint256 exchangerTokenWeightuint256 bidAt
CancelExchange(uint256 indexed idaddress owneruint256 ownerTokenIduint256 ownerTokenKinduint256 ownerTokenWeightuint256 cancelledAt
CreateExchange(uint256 indexed idaddress owneruint256 ownerTokenIduint256 ownerTokenGeneuint256 ownerTokenKinduint256 ownerTokenWeightuint256 kinduint256 weightuint256 createdAt
Donation(address senderuint256 value
ForwardFunds(address senderuint256 valueuint256 deposit
MeltCrystals(address indexed owneruint256 indexed meltedAtuint256[] meltedTokenIdsuint256 tokenIduint256 kinduint256 weightuint256 gene
MineCrystals(address indexed owneruint256 indexed minedAtuint256[] tokenIdsuint256[] kindsuint256[] weightsuint256[] genes
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
TokenPurchase(address indexed purchaseraddress indexed beneficiaryuint256 valueuint256 amount
UpdateEstimatedWeight(uint256 weightuint256 nextUpdateBlockNumber
Constructor
constructor(address _pickaxeaddress _crystaladdress _exchangeaddress _generatoraddress _walletaddress _donationWalletuint256 _donationRate
Fallback and receive
fallback(
Errors

This contract contains no error objects.