add max supply

This commit is contained in:
Hardhat Chad
2024-05-03 02:59:34 +00:00
parent dc84a347e7
commit d1c903ec48
3 changed files with 21 additions and 6 deletions

View File

@@ -19,6 +19,8 @@ pub enum OreError {
TransactionInvalid = 5,
#[error("The tolerance cannot exceed i64 max value")]
ToleranceOverflow = 6,
#[error("The maximum supply has been reached")]
MaxSupply = 7,
}
impl From<OreError> for ProgramError {