Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Adapter
    • ListingStrategyRegistryAdapter

Index

Constructors

Properties

addressTranslator: AddressTranslator
contractResolver: ContractResolver

Methods

  • accountIdToAddress(accountId: AccountId): string
  • Parameters

    • accountId: AccountId

    Returns string

  • addressToAccountId(address: string): AccountId
  • Parameters

    • address: string

    Returns AccountId

  • addressToAssetType(address: string, namespace: string): AssetType
  • Parameters

    • address: string
    • namespace: string

    Returns AssetType

  • assetIdToAddress(assetId: AssetId): string
  • Parameters

    • assetId: AssetId

    Returns string

  • assetTypeToAddress(assetType: AssetType): string
  • Parameters

    • assetType: AssetType

    Returns string

  • decodeAgreementTerms(params: AgreementTermsStruct): AgreementTerms
  • Parameters

    • params: AgreementTermsStruct

    Returns AgreementTerms

  • decodeAsset(asset: AssetStructOutput): Asset
  • Parameters

    • asset: AssetStructOutput

    Returns Asset

  • encodeAsset(asset: Asset): AssetStruct
  • Parameters

    Returns AssetStruct

  • erc20AssetMetadata(assetType: AssetType): Promise<{ decimals: number; name: string; symbol: string }>
  • Parameters

    • assetType: AssetType

    Returns Promise<{ decimals: number; name: string; symbol: string }>

  • getChainId(): Promise<ChainId>
  • Returns Promise<ChainId>

  • isRegisteredListingStrategy(listingStrategyId: BytesLike): Promise<boolean>
  • listingController(listingStrategyId: BytesLike): Promise<AccountId>
  • listingTaxController(listingStrategyId: BytesLike): Promise<AccountId>
  • listingTaxId(listingStrategyId: BytesLike): Promise<BytesLike>
  • optionalAccountIdToAddress(accountId?: AccountId): undefined | string
  • Parameters

    • Optional accountId: AccountId

    Returns undefined | string

  • registerListingStrategy(listingStrategyId: BytesLike, config: ListingStrategyConfig): Promise<ContractTransaction>
  • setListingController(listingStrategyId: BytesLike, controller: AccountId): Promise<ContractTransaction>
  • Sets listing strategy controller.

    Parameters

    • listingStrategyId: BytesLike

      Listing strategy ID.

    • controller: AccountId

      Listing controller account ID.

    Returns Promise<ContractTransaction>

Generated using TypeDoc