BCGrid

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0x17c792b4 at 2519977
Slot
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

No balances found for "BCGrid"

No transactions found for "BCGrid"


Functions
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 startIndexuint256 endIndexview returns (address[])
getAllPurchaseCounts(uint256 startIndexuint256 endIndexview returns (uint256[])
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
grid(uint256view returns (address owneruint256 purchase_count)
hasRole(bytes32 roleaddress accountview returns (bool)
plots_owned(addressview returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
buyPlot(uint256 coordaddress referralpayable 
changeStage(uint256 new_stage
changeTreasury(address new_treasury
grantRole(bytes32 roleaddress account
initialize(address _treasuryaddress _bc_token
pullFunds(address tokenAddress_
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
transferAdmin(address account
Events
Initialized(uint8 version
PlotPurchase(address indexed buyeruint256 indexed coorduint256 priceuint256 purchase_count
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.