Token.ts
This module sources {@link Token} data.
Added in v2.0.0
Signature
export type Any = typeof Any.TypeSource: 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 CosmosBankAdded in v2.0.0
Signature
[Hash.symbol](): numberAdded in v2.0.0
Source: src/Token.ts:111
Signature
export declare class CosmosIbcClassicAdded in v2.0.0
Signature
[Hash.symbol](): numberAdded in v2.0.0
Source: src/Token.ts:57
Signature
export declare class CosmosTokenFactoryAdded in v2.0.0
Signature
[Hash.symbol](): numberAdded in v2.0.0
Source: src/Token.ts:77
Signature
export declare class Cw20Added in v2.0.0
Signature
[Hash.symbol](): numberAdded in v2.0.0
Source: src/Token.ts:94
Signature
export declare class Erc20Added in v2.0.0
Signature
[Hash.symbol](): numberAdded in v2.0.0
Source: src/Token.ts:16
Signature
export declare class EvmGasAdded in v2.0.0
Signature
[Hash.symbol](): numberAdded 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