Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Contracts
    • TFContracts

Index

Constructors

  • Parameters

    • client: Client

    Returns TFContracts

Properties

client: Client

Methods

  • approveService(options: ApproveServiceOptions): Promise<ExtrinsicResult<ServiceContract>>
  • Parameters

    • options: ApproveServiceOptions

    Returns Promise<ExtrinsicResult<ServiceContract>>

  • batchCancelContracts(ids: number[]): Promise<number[]>
  • billService(options: BillServiceOptions): Promise<ExtrinsicResult<ServiceContract>>
  • Parameters

    • options: BillServiceOptions

    Returns Promise<ExtrinsicResult<ServiceContract>>

  • cancel(options: CancelOptions): Promise<ExtrinsicResult<number>>
  • Parameters

    • options: CancelOptions

    Returns Promise<ExtrinsicResult<number>>

  • cancelService(options: CancelServiceOptions): Promise<ExtrinsicResult<number>>
  • Parameters

    • options: CancelServiceOptions

    Returns Promise<ExtrinsicResult<number>>

  • contractLock(options: ContractLockOptions): Promise<ContractLock>
  • createName(options: CreateNameOptions): Promise<ExtrinsicResult<Contract>>
  • Parameters

    • options: CreateNameOptions

    Returns Promise<ExtrinsicResult<Contract>>

  • createNode(options: CreateNodeOptions): Promise<ExtrinsicResult<Contract>>
  • Parameters

    • options: CreateNodeOptions

    Returns Promise<ExtrinsicResult<Contract>>

  • createRent(options: CreateRentOptions): Promise<ExtrinsicResult<Contract>>
  • Parameters

    • options: CreateRentOptions

    Returns Promise<ExtrinsicResult<Contract>>

  • createService(options: CreateServiceOptions): Promise<ExtrinsicResult<ServiceContract>>
  • Parameters

    • options: CreateServiceOptions

    Returns Promise<ExtrinsicResult<ServiceContract>>

  • get(options: QueryContractsGetOptions): Promise<Contract>
  • Parameters

    • options: QueryContractsGetOptions

    Returns Promise<Contract>

  • getContractIdByActiveRentForNode(options: QueryContractsGetContractByActiveRentOptions): Promise<number>
  • Parameters

    • options: QueryContractsGetContractByActiveRentOptions

    Returns Promise<number>

  • getContractIdByName(options: QueryContractGetContractByNameOptions): Promise<number>
  • Parameters

    • options: QueryContractGetContractByNameOptions

    Returns Promise<number>

  • getContractIdByNodeIdAndHash(options: QueryContractGetContractByIdAndHashOptions): Promise<number>
  • Parameters

    • options: QueryContractGetContractByIdAndHashOptions

    Returns Promise<number>

  • getDedicatedNodeExtraFee(options: GetDedicatedNodePriceOptions): Promise<number>
  • getDeletionTime(options: QueryContractsGetOptions): Promise<number>
  • Parameters

    • options: QueryContractsGetOptions

    Returns Promise<number>

  • getService(options: QueryContractGetServiceOptions): Promise<ServiceContract>
  • Parameters

    • options: QueryContractGetServiceOptions

    Returns Promise<ServiceContract>

  • setDedicatedNodeExtraFee(options: SetDedicatedNodeExtraFeesOptions): Promise<ExtrinsicResult<unknown>>
  • setServiceFees(options: SetServiceFeesOptions): Promise<ExtrinsicResult<ServiceContract>>
  • Parameters

    • options: SetServiceFeesOptions

    Returns Promise<ExtrinsicResult<ServiceContract>>

  • setServiceMetadata(options: SetServiceMetadataOptions): Promise<ExtrinsicResult<ServiceContract>>
  • Parameters

    • options: SetServiceMetadataOptions

    Returns Promise<ExtrinsicResult<ServiceContract>>

  • updateNode(options: UpdateNodeOptions): Promise<ExtrinsicResult<Contract>>
  • Parameters

    • options: UpdateNodeOptions

    Returns Promise<ExtrinsicResult<Contract>>

Generated using TypeDoc