Read Functions
This section covers the view functions that allow querying the contract state without modifying it.
balances
Returns the balance of a user in a specific space.
function balances(
uint256 spaceId,
address user
) external view returns (uint256);
balanceOf
Returns the balance of a user in a specific space.
function balanceOf(
uint256 spaceId,
address account
) external view returns (uint256);
totalSupply
function totalSupply(uint256 spaceId) external view returns (uint256);
getCurrentMemberCount
function getCurrentMemberCount(
uint256 spaceId
) external view returns (uint256);
getJoinFee
function getJoinFee(uint256 spaceId) external view returns (uint256);
getOwner
function getOwner(uint256 spaceId) external view returns (address);
getToken
function getToken(uint256 spaceId) external view returns (address);
isWithdrawalEnabled
function isWithdrawalEnabled(
uint256 spaceId,
address user
) external view returns (bool);
currentSpaceId
function currentSpaceId() external view returns (uint256);