-
Notifications
You must be signed in to change notification settings - Fork 1
/
IChainopoly.sol
31 lines (23 loc) · 933 Bytes
/
IChainopoly.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
import {ChainopolySetup as Setup} from "../libraries/ChainopolySetup.sol";
interface IChainopoly {
function allGameDetails(uint256 gameID) external view returns (Setup.GameDetails memory gameDetails);
function getPlayerGameID(address player) external view returns (uint256);
function priceOf(uint256 position) external view returns (uint256);
function buildingPrice(uint256 position) external view returns (uint256);
function clearPlayersInGame(address player) external;
function propertyDetails(
uint256 position
) external view returns (Setup.Property memory property, Setup.PropertyDetails memory details);
function blocktrainDetails()
external
view
returns (
uint256 price,
uint256 rentOneBlocktrain,
uint256 rentTwoBlocktrains,
uint256 rentThreeBlocktrains,
uint256 rentFourBlocktrains
);
}