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 "WinChances"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 15688032 | 2 years ago | | | 0 | 0.00081646601 |
ABI
ABI objects
Getter at block 21206672
CONTRACT_ROLE() view returns (bytes32)
0x364d3d7565c7a8300c96fd53e065d19b65848d7b23b3191adcd55621c744223c
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
UPDATER_ROLE() view returns (bytes32)
0x73e573f9566d61418a34d5de3ff49360f9c51fec37f7486551670290f6285dab
_loseIncrease() view returns (uint16)
1
_referralIncrements() view returns (uint16)
2
_winDecrease() view returns (uint16)
1
getCitiesDropped() view returns (uint16)
0
getReferalIncrease() view returns (uint16)
2
Read-only
checkClaimedWC(uint256 passportId, string city) view returns (bool)
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events addTheRolesForContractCalls(address wlContract, address lotContract, address passContract)
cityDrawsFinished()
closeCityForWinLossRedemption(string city)
grantRole(bytes32 role, address account)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setLossIncrease(uint16 increase)
setReferralIncrement(uint16 incr)
setWinDecrease(uint16 decr)
updateAfterLoss(uint256 passportId, string city, uint32 buildingId)
updateAfterWin(uint256 passportId, string city, uint32 buildingId)
LoseIncreaseUpdated(uint16 increase)
ReferallIncrementUpdated(uint16 increase)
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)
WinDecreaseUpdated(uint16 change)
constructor(address passport, address draw)
This contract contains no fallback and receive objects.
This contract contains no error objects.