ZAssetRegistry.ts
This module provides the ZAsset registry.
Added in v0.4.0
models
Section titled “models”Z_ASSET_REGISTRY
Section titled “Z_ASSET_REGISTRY”Signature
export declare const Z_ASSET_REGISTRY: { [chainId: string & Brand<"UniversalChainId">]: { [assetAddress: Erc20Address]: Domain.ZAssetAddress }}Added in v0.4.0
getZAsset
Section titled “getZAsset”Signature
export declare const getZAsset: ( universalChainId: Domain.UniversalChainId, assetAddress: Erc20Address) => Option.Option<Domain.ZAssetAddress>Added in v0.4.0
getZAssetOrError
Section titled “getZAssetOrError”Signature
export declare const getZAssetOrError: ( universalChainId: string & Brand<"UniversalChainId">, assetAddress: Erc20Address) => Effect.Effect<Domain.ZAssetAddress, Error.SystemError, never>Added in v0.4.0
getZAssetOrThrow
Section titled “getZAssetOrThrow”Signature
export declare const getZAssetOrThrow: ( universalChainId: string & Brand<"UniversalChainId">, assetAddress: Erc20Address) => Domain.ZAssetAddressAdded in v0.4.0