Token.ts
This module sources {@link Token} data.
Added in v2.0.0
Signature
export type Any = typeof Any.Type
Source: src/Token.ts:140
Added in v2.0.0
Signature
export declare const isNative: ( u: Erc20 | EvmGas | Cw20 | CosmosTokenFactory | CosmosBank | CosmosIbcClassic) => Unify<never | ReturnType<LazyArg<boolean>>>
Source: src/Token.ts:203
Added in v2.0.0
Signature
export declare const Any: S.Union< [typeof Erc20, typeof EvmGas, typeof Cw20, typeof CosmosTokenFactory, typeof CosmosBank, typeof CosmosIbcClassic]>
Source: src/Token.ts:128
Added in v2.0.0
Signature
export declare class CosmosBank
Added in v2.0.0
Signature
[Hash.symbol](): number
Added in v2.0.0
Source: src/Token.ts:111
Signature
export declare class CosmosIbcClassic
Added in v2.0.0
Signature
[Hash.symbol](): number
Added in v2.0.0
Source: src/Token.ts:57
Signature
export declare class CosmosTokenFactory
Added in v2.0.0
Signature
[Hash.symbol](): number
Added in v2.0.0
Source: src/Token.ts:77
Signature
export declare class Cw20
Added in v2.0.0
Signature
[Hash.symbol](): number
Added in v2.0.0
Source: src/Token.ts:94
Signature
export declare class Erc20
Added in v2.0.0
Signature
[Hash.symbol](): number
Added in v2.0.0
Source: src/Token.ts:16
Signature
export declare class EvmGas
Added in v2.0.0
Signature
[Hash.symbol](): number
Added in v2.0.0
Source: src/Token.ts:37
Signature
export declare const TokenFromString: S.transformOrFail< typeof S.String, S.Union< [typeof Erc20, typeof EvmGas, typeof Cw20, typeof CosmosTokenFactory, typeof CosmosBank, typeof CosmosIbcClassic] >, never>
Source: src/Token.ts:146
Added in v2.0.0
Signature
export declare const AnyFromEncoded: ( rpcType: Chain.RpcType) => S.transformOrFail< S.TemplateLiteral<`0x${string}`>, S.Union< [typeof Erc20, typeof EvmGas, typeof Cw20, typeof CosmosTokenFactory, typeof CosmosBank, typeof CosmosIbcClassic] >, never>
Source: src/Token.ts:169
Added in v2.0.0