Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Adapter
    • ACLAdapter

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

  • adminRole(): Promise<string>
  • Get the admin role describing bytes.

    Returns Promise<string>

  • 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>

  • getRoleAdmin(role: string): Promise<string>
  • Returns the admin role bytes which controls the given role.

    Parameters

    • role: string

      Role bytes.

    Returns Promise<string>

  • getRoleMembers(role: string): Promise<AccountId[]>
  • Returns role members.

    Parameters

    • role: string

      Role bytes.

    Returns Promise<AccountId[]>

  • grantRole(role: string, account: AccountId): Promise<ContractTransaction>
  • Grants role to account.

    Parameters

    • role: string

      Role bytes.

    • account: AccountId

      User account ID.

    Returns Promise<ContractTransaction>

  • hasRole(role: string, account: AccountId): Promise<boolean>
  • Returns true if role has been granted to account.

    Parameters

    • role: string

      Role bytes.

    • account: AccountId

      User account ID.

    Returns Promise<boolean>

  • listingWizardRole(): Promise<string>
  • Get the listing wizard role describing bytes.

    Returns Promise<string>

  • optionalAccountIdToAddress(accountId?: AccountId): undefined | string
  • Parameters

    • Optional accountId: AccountId

    Returns undefined | string

  • renounceRole(role: string): Promise<ContractTransaction>
  • Revokes role from the calling account.

    Parameters

    • role: string

      Role bytes.

    Returns Promise<ContractTransaction>

  • revokeRole(role: string, account: AccountId): Promise<ContractTransaction>
  • Revokes role from account.

    Parameters

    • role: string

      Role bytes.

    • account: AccountId

      User account ID.

    Returns Promise<ContractTransaction>

  • supervisorRole(): Promise<string>
  • Get the supervisor role describing bytes.

    Returns Promise<string>

  • tokenQuoteSignerRole(): Promise<string>
  • Get the token quote signer role describing bytes.

    Returns Promise<string>

  • universeWizardRole(): Promise<string>
  • Get the universe wizard role describing bytes.

    Returns Promise<string>

Generated using TypeDoc