Skip to content

Commit

Permalink
Added supply getters for each horse level
Browse files Browse the repository at this point in the history
  • Loading branch information
jooohneth committed Aug 25, 2022
1 parent 98e759d commit 2a5ae4e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions contracts/StallionNFT.sol
Original file line number Diff line number Diff line change
Expand Up @@ -144,4 +144,18 @@ contract StallionNFT is ERC721, ERC721Enumerable, ERC721URIStorage, Ownable {
return 'none';
}
}

function bulletSupply() external view returns(uint256){
return _levels[0].supply;

}

function hopeSupply() external view returns(uint256){
return _levels[1].supply;
}

function flashSupply() external view returns(uint256){
return _levels[2].supply;
}

}

0 comments on commit 2a5ae4e

Please sign in to comment.