use fvm_shared3::METHOD_CONSTRUCTOR;
use num_derive::FromPrimitive;
pub use self::state::State;
pub use self::types::*;
mod state;
mod types;
#[derive(FromPrimitive)]
#[repr(u64)]
pub enum Method {
Constructor = METHOD_CONSTRUCTOR,
MintExported = frc42_macros::method_hash!("Mint"),
DestroyExported = frc42_macros::method_hash!("Destroy"),
NameExported = frc42_macros::method_hash!("Name"),
SymbolExported = frc42_macros::method_hash!("Symbol"),
GranularityExported = frc42_macros::method_hash!("Granularity"),
TotalSupplyExported = frc42_macros::method_hash!("TotalSupply"),
BalanceExported = frc42_macros::method_hash!("Balance"),
TransferExported = frc42_macros::method_hash!("Transfer"),
TransferFromExported = frc42_macros::method_hash!("TransferFrom"),
IncreaseAllowanceExported = frc42_macros::method_hash!("IncreaseAllowance"),
DecreaseAllowanceExported = frc42_macros::method_hash!("DecreaseAllowance"),
RevokeAllowanceExported = frc42_macros::method_hash!("RevokeAllowance"),
BurnExported = frc42_macros::method_hash!("Burn"),
BurnFromExported = frc42_macros::method_hash!("BurnFrom"),
AllowanceExported = frc42_macros::method_hash!("Allowance"),
}