BCGrid
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
2
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
Balances ($0.00)
No balances found for "BCGrid"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "BCGrid"
ABI
ABI objects
Getter at block 22936205
BASE_PRICE() view returns (uint256)
10000000000000000
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
bc_token() view returns (address)
0x0000000000000000000000000000000000000000
game_stage() view returns (uint256)
0
max_purchase_count() view returns (uint256)
0
mint_per_plot() view returns (uint256)
0
total_plots() view returns (uint256)
0
treasury() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
getAllOwners(uint256 startIndex, uint256 endIndex) view returns (address[])
getAllPurchaseCounts(uint256 startIndex, uint256 endIndex) view returns (uint256[])
getRoleAdmin(bytes32 role) view returns (bytes32)
getRoleMember(bytes32 role, uint256 index) view returns (address)
getRoleMemberCount(bytes32 role) view returns (uint256)
grid(uint256) view returns (address owner, uint256 purchase_count)
hasRole(bytes32 role, address account) view returns (bool)
plots_owned(address) view returns (uint256)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events buyPlot(uint256 coord, address referral) payable
changeStage(uint256 new_stage)
changeTreasury(address new_treasury)
grantRole(bytes32 role, address account)
initialize(address _treasury, address _bc_token)
pullFunds(address tokenAddress_)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
transferAdmin(address account)
Initialized(uint8 version)
PlotPurchase(address indexed buyer, uint256 indexed coord, uint256 price, uint256 purchase_count)
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)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.