Versions in this module Expand all Collapse all v0 v0.3.1 Aug 25, 2023 Changes in this version + type Account = struct + Owner principal.Principal + Subaccount *Subaccount + type Agent struct + func NewAgent(canisterId principal.Principal, config agent.Config) (*Agent, error) + func (a Agent) Icrc1BalanceOf(arg0 Account) (*idl.Nat, error) + func (a Agent) Icrc1Decimals() (*uint8, error) + func (a Agent) Icrc1Fee() (*idl.Nat, error) + func (a Agent) Icrc1Metadata() (..., error) + func (a Agent) Icrc1MintingAccount() (**Account, error) + func (a Agent) Icrc1Name() (*string, error) + func (a Agent) Icrc1SupportedStandards() (..., error) + func (a Agent) Icrc1Symbol() (*string, error) + func (a Agent) Icrc1TotalSupply() (*idl.Nat, error) + func (a Agent) Icrc1Transfer(arg0 TransferArgs) (..., error) + type Duration = uint64 + type Subaccount = []byte + type Timestamp = uint64 + type TransferArgs = struct + Amount idl.Nat + CreatedAtTime *Timestamp + Fee *idl.Nat + FromSubaccount *Subaccount + Memo *[]byte + To Account + type TransferError = struct + BadBurn ... + BadFee ... + CreatedInFuture ... + Duplicate ... + GenericError ... + InsufficientFunds ... + TemporarilyUnavailable *struct{} + TooOld *struct{} + type Value = struct + Blob *[]byte + Int *idl.Int + Nat *idl.Nat + Text *string