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 "CityWL"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 15804818 | 2 years ago | | | 0 | 0.0011322799 | |
| 15804815 | 2 years ago | | | 0 | 0.0011844233 | |
| 15804811 | 2 years ago | | | 0 | 0.0012188360 | |
| 15804807 | 2 years ago | | | 0 | 0.0011641665 | |
| 15804804 | 2 years ago | | | 0 | 0.0013008221 | |
| 15804802 | 2 years ago | | | 0 | 0.0011948101 | |
| 15804797 | 2 years ago | | | 0 | 0.0014234245 | |
| 15804793 | 2 years ago | | | 0 | 0.0013304583 | |
| 15804790 | 2 years ago | | | 0 | 0.0013014163 | |
| 15804787 | 2 years ago | | | 0 | 0.0012910028 |
ABI
ABI objects
Getter at block 21206685
CONTRACT_ROLE() view returns (bytes32)
0x364d3d7565c7a8300c96fd53e065d19b65848d7b23b3191adcd55621c744223c
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
UPDATER_ROLE() view returns (bytes32)
0x73e573f9566d61418a34d5de3ff49360f9c51fec37f7486551670290f6285dab
Read-only
checkPassportHasWLSpot(uint256 passportId, string city, uint32 buildingId) view returns (bool)
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
supportsInterface(bytes4 interfaceId) view returns (bool)
wlListBuildingIds(uint256 passportId) view returns (uint256[])
wlSpotsList(uint256 passportId) view returns (bytes)
State-modifying
Events addCityContractRole(address cityContractAddress)
addTheRolesForContractCalls(address winContract, address lotContract, address passContract)
addWLSpot(uint256 passportId, string city, string buildingName, uint32 buildingTokenId)
grantRole(bytes32 role, address account)
removeCityWlSpot(uint256 passportId, string city, uint32 buildingId)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
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)
WLSpotAdded(uint256 tokenId, struct CityWLWLSpot spot)
WLSpotRemoved(uint256 tokenId, string city, uint32 buildignId)
constructor(address pasContractAd)
This contract contains no fallback and receive objects.
This contract contains no error objects.