Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type aliases

EventDetail

EventDetail: { Withdraw: { from: Principal; to: Principal } } | { ChargingStationDeployed: { canister: Principal } } | { Deposit: { to: Principal } } | { CanisterCreated: { canister: Principal } } | { CanisterCalled: { canister: Principal; method_name: string } } | { Transfer: { from: Principal; to: Principal } }

GetTransactionResult

GetTransactionResult: { None: null } | { Some: Event }

ResultCall

ResultCall: { Ok: { return: number[] } } | { Err: string }

TransactionId

TransactionId: bigint

TransactionStatus

TransactionStatus: { InternalError: null } | { Completed: null } | { Pending: null } | { InsufficientFunds: null }

TransferError

TransferError: { InsufficientBalance: null } | { InternalError: string } | { AmountTooLarge: null }

TransferResponse

TransferResponse: { Ok: TransactionId } | { Err: TransferError }

WithdrawError

WithdrawError: { InsufficientBalance: null } | { InternalError: string } | { AmountTooLarge: null }

WithdrawResult

WithdrawResult: { Ok: TransactionId } | { Err: WithdrawError }

Legend

  • Variable
  • Function
  • Function with type parameter
  • Type alias
  • Type alias with type parameter
  • Interface
  • Interface with type parameter
  • Class
  • Class with type parameter
  • Enumeration