GuildOfGuardiansPreSale
Verified contract
Active on
Ethereum with 15,209 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 34 additional slots
-
variable spans 10 additional slots
-
variable spans 8 additional slots
-
variable spans 8 additional slots
-
variable spans 17 additional slots
Balances ($0.00)
No balances found for "GuildOfGuardiansPreSale"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20837985 | a month ago | | | 0 | 0.00060168282 | |
| 20289714 | 4 months ago | | | 0 | 0.00013046331 | |
| 20274480 | 4 months ago | | | 0 | 0.00018210496 | |
| 20149673 | 5 months ago | | | 0.012760235 | 0.00020508029 | |
| 20141243 | 5 months ago | | | 0 | 0.00025938315 | |
| 19910441 | 6 months ago | | | 0 | 0.00013437069 | |
| 19847327 | 6 months ago | | | 0 | 0.00023585151 | |
| 19847286 | 6 months ago | | | 0 | 0.00024917288 | |
| 19847240 | 6 months ago | | | 0 | 0.00024755614 | |
| 19847211 | 6 months ago | | | 0 | 0.00024197010 |
ABI
ABI objects
Getter at block 21159379
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
IMMUTABLE_SYSTEM_ROLE() view returns (bytes32)
0xc372c82fbd1d74a0ccd03f3656e1b509abac07d9ebbd6922221b96ab984d059d
PRODUCT_OWNER_ROLE() view returns (bytes32)
0xe984cfd1d1fa34f80e24ddb2a60c8300359d79eee44555bc35c106eb020394cd
TREASURER_ROLE() view returns (bytes32)
0x3496e2e73c4d42b75d702e60d9e48102720b8691234415963a5a857b86425d07
stockFixed() view returns (bool)
false
usdEthPairAddress() view returns (address)
0xa478c2975ab1ea89e8196811f51a7b7ade33eb11
Read-only
_calcWeiFromUsd(uint112 _usdReserve, uint112 _ethReserve, uint256 _amountInUsd) pure returns (uint256)
calcOrderCostUsd(uint16[] _order) view returns (uint256)
calcOrderCostWei(uint16[] _order) view returns (uint256)
confirmMythic(struct InventoryAllocatedOrder _allocatedOrder, uint256 _mythicOrderLine, uint256 _secondDiceRoll) view returns (bool)
decodeAllocation(struct InventoryAllocatedOrder _allocatedOrder, uint256 _secondDiceRoll) view returns (struct InventoryDetailedAllocation[])
getFirstDiceRoll(uint256 _userProvidedSeed) view returns (uint256 randomNumber)
getProductCostUsd(uint8 _productId) view returns (uint256)
getProductCostWei(uint8 _productId) view returns (uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
getSecondDiceRoll(uint256 _firstDiceRoll, uint256 _commitBlock) view returns (uint256)
getWeiPrice(uint256 _amountInUsd) view returns (uint256)
hasRole(bytes32 role, address account) view returns (bool)
mythicOwner(uint256) view returns (address)
originalStock(uint256) view returns (uint256)
productPrices(uint256, uint256) view returns (uint256)
referrerBonuses(address) view returns (uint256)
stockAvailable(uint256) view returns (uint256)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events addStock(uint16[] _stockToAdd)
addStockAndGift(uint16[] _giftOrder, address _giftRecipient)
claimMythicForCustomer(struct InventoryAllocatedOrder _allocatedOrder, uint256 _mythicOrderLine, address _customerAddr, uint256 _secondDiceRoll)
emitSecondDiceRoll(uint256 _firstDiceRoll, uint256 _commitBlock)
giftPack(uint16[] _giftOrder, address _giftRecipient)
grantRole(bytes32 role, address account)
permanentlyLockStock()
purchase(uint16[] _order, address _referrer) payable
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
updateUsdToEthPair(address _usdEthPairAddress)
withdraw(uint256 _amount)
withdrawBonus()
AllocateOrder(struct InventoryAllocatedOrder _allocatedOrder, address indexed _owner, uint256 _orderPrice)
ClaimMythic(struct InventoryAllocatedOrder _allocatedOrder, uint256 _mythicOrderLine, address indexed _customerAddr)
GiftOrder(address indexed _giftRecipient)
PermanentlyLockStock()
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
SecondDiceRoll(uint256 indexed _firstDiceRoll, uint256 indexed _commitBlock, uint256 _secondDiceRoll)
UpdateUsdToEthPair(address _usdToEthPairAddress)
Withdraw(uint256 _amount)
WithdrawBonus(uint256 _amount, address _referrer)
constructor(address _usdEthPairAddress)
This contract contains no fallback and receive objects.
This contract contains no error objects.