account/account

Types

pub type AccountType {
  BasicAccount
  VestingContract
  HashedTimeLockedContract
  StakingContract
}

Constructors

  • BasicAccount
  • VestingContract
  • HashedTimeLockedContract
  • StakingContract

Functions

pub fn from_account_type(account_type: AccountType) -> Int
pub fn to_account_type(
  account_type: Int,
) -> Result(AccountType, String)
Search Document