MagicBox

Verified contract

Active on Ethereum with 329 txns
Deployed by via 0xff774103 at 5991246
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0xf97c4874fc204ad33da8c11fb7a376dd082a0c8e1d2d64fe9d2bb716e5a3e2f5
0x1368a213a7abc38517f112e54ac4ea1a7bf82b41f2de54082803fe0783ccab32
0x9e653a9b4685cb9ac7862bd79f9e36902f5d2e58d603c974b7c745c52df44cab
0xb79b5fca4c9f4309dc499fd2fdd2759f0d4953c4ce435f530588e71a7c037081
0xb8c4a3d11a80b649a9e6a51877c8187926e67b737634fda0ceacf205d7f57f48
0xfe61c2396e3fd86ad46a17268ad12e7d0a0d00c717bfb88d1ebfa9838a578e4c
0x2f5edcc5bf87da233c29496366b075690e465c73c05fe19d19b4424c03fa3239
0xf5870311d1a423e06ef5794de609f347b12167c7878e7773bf0e9a4155062f9b
0xb8241cf61aaa07d569e3d32cff6ebe332ce95f81e97c074595ff64fb6f4441c5
0xb98e150e120ead9b31035409ec52c75e52283c680f3ee0b740e9a1798fd07186

Functions
Getter at block 21225802
boxPrice(view returns (uint256)
15000000000000000
keyAddress(view returns (address)
0x27d99a6d64e8fd38a47fb87df2d80867d6c1592c
keyRequired(view returns (uint256)
10000000000000000000
name(view returns (string)
Incubator I
openNonceId(view returns (uint256)
245
owner(view returns (address)
0x60e08885aaa460249a187cd44d69067abbcec320
prizePoolAddress(view returns (address)
0x24d156341ea6a54eb025b86022a4ca97677337f8
Read-only
getPrizeIndex(uint256 randomview returns (uint256)
openNonce(uint256view returns (address)
prizeIndex(uint256view returns (uint256)
prizeRange(uint256view returns (uint256)
serverAddressList(addressview returns (bool)
State-modifying
addOpenBoxFromServer(address _userAddress
addServerAddress(address _serverAddressreturns (bool)
addServerAddresss(address[] _serverAddress
openBoxFromServer(address _userAddressuint256 _randomuint256[] _geneuint256 _openNonceIdreturns (bool)
openBoxFromServerNoNonce(address _userAddressuint256 _randomuint256[] _genereturns (bool)
receiveApproval(address _fromuint256 _amountaddress _tokenAddressbytes _data
removeServerAddress(address _serverAddress
setCFO(address _newCFO
setKeyAddress(address _key
setupBoxPrice(uint256 _boxPrice
setupKeyRequired(uint256 _keyRequired
setupPrize(uint256[] _prizeIndexuint256[] _prizeRange
transferOwnership(address newOwner
withDrawBalance(uint256 amount
withDrawToken(uint256 _amount
Events
AddServerAddress(address contractAddress
OpenBoxV2(address addruint256 timeuint256 openNonceId
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
RemoveServerAddress(address contractAddress
Constructor
constructor(string _nameaddress _prizePoolAddressaddress[] _serverAddressaddress _keyAddressuint256 _keyRequireduint256 _boxPrice
Fallback and receive
fallback(
Errors

This contract contains no error objects.