TokenIDL.Token
- allowance
- approve
- balanceOf
- decimals
- getAllowanceSize
- getBlockUsed
- getHolders
- getMetadata
- getTokenInfo
- getUserApprovals
- historySize
- isBlockUsed
- logo
- mint
- name
- owner
- setFee
- setFeeTo
- setGenesis
- setLogo
- setName
- setOwner
- symbol
- totalSupply
- transfer
- transferFrom
- withdraw
▸ allowance(arg_0
, arg_1
): Promise
<bigint
>
Name | Type |
---|---|
arg_0 |
Principal |
arg_1 |
Principal |
Promise
<bigint
>
▸ approve(arg_0
, arg_1
): Promise
<Result
>
Name | Type |
---|---|
arg_0 |
Principal |
arg_1 |
bigint |
Promise
<Result
>
▸ balanceOf(arg_0
): Promise
<bigint
>
Name | Type |
---|---|
arg_0 |
Principal |
Promise
<bigint
>
▸ decimals(): Promise
<number
>
Promise
<number
>
▸ getAllowanceSize(): Promise
<bigint
>
Promise
<bigint
>
▸ getBlockUsed(): Promise
<bigint
[]>
Promise
<bigint
[]>
▸ getHolders(arg_0
, arg_1
): Promise
<[Principal
, bigint
][]>
Name | Type |
---|---|
arg_0 |
bigint |
arg_1 |
bigint |
Promise
<[Principal
, bigint
][]>
▸ getMetadata(): Promise
<Metadata
>
Promise
<Metadata
>
▸ getTokenInfo(): Promise
<TokenInfo
>
Promise
<TokenInfo
>
▸ getUserApprovals(arg_0
): Promise
<[Principal
, bigint
][]>
Name | Type |
---|---|
arg_0 |
Principal |
Promise
<[Principal
, bigint
][]>
▸ historySize(): Promise
<bigint
>
Promise
<bigint
>
▸ isBlockUsed(arg_0
): Promise
<boolean
>
Name | Type |
---|---|
arg_0 |
bigint |
Promise
<boolean
>
▸ logo(): Promise
<string
>
Promise
<string
>
▸ mint(arg_0
, arg_1
): Promise
<Result
>
Name | Type |
---|---|
arg_0 |
[] | [number []] |
arg_1 |
bigint |
Promise
<Result
>
▸ name(): Promise
<string
>
Promise
<string
>
▸ owner(): Promise
<Principal
>
Promise
<Principal
>
▸ setFee(arg_0
): Promise
<undefined
>
Name | Type |
---|---|
arg_0 |
bigint |
Promise
<undefined
>
▸ setFeeTo(arg_0
): Promise
<undefined
>
Name | Type |
---|---|
arg_0 |
Principal |
Promise
<undefined
>
▸ setGenesis(): Promise
<Result
>
Promise
<Result
>
▸ setLogo(arg_0
): Promise
<undefined
>
Name | Type |
---|---|
arg_0 |
string |
Promise
<undefined
>
▸ setName(arg_0
): Promise
<undefined
>
Name | Type |
---|---|
arg_0 |
string |
Promise
<undefined
>
▸ setOwner(arg_0
): Promise
<undefined
>
Name | Type |
---|---|
arg_0 |
Principal |
Promise
<undefined
>
▸ symbol(): Promise
<string
>
Promise
<string
>
▸ totalSupply(): Promise
<bigint
>
Promise
<bigint
>
▸ transfer(arg_0
, arg_1
): Promise
<Result
>
Name | Type |
---|---|
arg_0 |
Principal |
arg_1 |
bigint |
Promise
<Result
>
▸ transferFrom(arg_0
, arg_1
, arg_2
): Promise
<Result
>
Name | Type |
---|---|
arg_0 |
Principal |
arg_1 |
Principal |
arg_2 |
bigint |
Promise
<Result
>
▸ withdraw(arg_0
, arg_1
): Promise
<Result
>
Name | Type |
---|---|
arg_0 |
bigint |
arg_1 |
string |
Promise
<Result
>