Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Reference — Core SDK: Orchestration · Boson Protocol
Skip to content

Orchestration mixin

Class: OrchestrationMixin

Source: packages/core-sdk/src/orchestration/mixin.ts

Methods (10)

commitToConditionalOfferAndRedeemVoucher, commitToOfferAndRedeemVoucher, createOfferCommitAndRedeem, createOfferWithCondition, createPremintedOfferAddToGroup, createPremintedOfferWithCondition, createSellerAndOfferWithCondition, createSellerAndPremintedOffer, createSellerAndPremintedOfferWithCondition, raiseAndEscalateDispute

Signatures

commitToConditionalOfferAndRedeemVoucher (3 signatures)

Overload: returnTxInfo is true → returns TransactionRequest

public async commitToConditionalOfferAndRedeemVoucher(
    offerId: BigNumberish,
    tokenId: BigNumberish,
    overrides: Partial<{
      contractAddress: string;
      returnTxInfo: true;
    }>
  ): Promise<TransactionRequest>
 
public async commitToConditionalOfferAndRedeemVoucher(
    offerId: BigNumberish,
    tokenId: BigNumberish,
    overrides?: Partial<{
      contractAddress: string;
      returnTxInfo?: false;
    }>
  ): Promise<TransactionResponse>
 
public async commitToConditionalOfferAndRedeemVoucher(
    offerId: BigNumberish,
    tokenId: BigNumberish,
    overrides: Partial<{
      contractAddress: string;
      returnTxInfo?: boolean;
    }> = {}
  ): Promise<TransactionResponse | TransactionRequest>

commitToOfferAndRedeemVoucher (3 signatures)

Overload: returnTxInfo is true → returns TransactionRequest

public async commitToOfferAndRedeemVoucher(
    offerId: BigNumberish,
    overrides: Partial<{
      contractAddress: string;
      returnTxInfo: true;
    }>
  ): Promise<TransactionRequest>
 
public async commitToOfferAndRedeemVoucher(
    offerId: BigNumberish,
    overrides?: Partial<{
      contractAddress: string;
      returnTxInfo?: false;
    }>
  ): Promise<TransactionResponse>
 
public async commitToOfferAndRedeemVoucher(
    offerId: BigNumberish,
    overrides: Partial<{
      contractAddress: string;
      returnTxInfo?: boolean;
    }> = {}
  ): Promise<TransactionResponse | TransactionRequest>

createOfferCommitAndRedeem (3 signatures)

Overload: returnTxInfo is true → returns TransactionRequest

public async createOfferCommitAndRedeem(
    createOfferAndCommitArgs: FullOfferArgs,
    overrides: Partial<{
      contractAddress: string;
      txRequest: TransactionRequest;
      returnTxInfo: true;
    }>
  ): Promise<TransactionRequest>
 
public async createOfferCommitAndRedeem(
    createOfferAndCommitArgs: FullOfferArgs,
    overrides?: Partial<{
      contractAddress: string;
      txRequest: TransactionRequest;
      returnTxInfo?: false;
    }>
  ): Promise<TransactionResponse>
 
public async createOfferCommitAndRedeem(
    createOfferAndCommitArgs: FullOfferArgs,
    overrides: Partial<{
      contractAddress: string;
      txRequest: TransactionRequest;
      returnTxInfo?: boolean;
    }> = {}
  ): Promise<TransactionResponse | TransactionRequest>

createOfferWithCondition (3 signatures)

Overload: returnTxInfo is true → returns TransactionRequest

public async createOfferWithCondition(
    offerToCreate: offers.CreateOfferArgs,
    condition: ConditionStruct,
    overrides: Partial<{
      contractAddress: string;
      returnTxInfo: true;
    }>
  ): Promise<TransactionRequest>
 
public async createOfferWithCondition(
    offerToCreate: offers.CreateOfferArgs,
    condition: ConditionStruct,
    overrides?: Partial<{
      contractAddress: string;
      returnTxInfo?: false;
    }>
  ): Promise<TransactionResponse>
 
public async createOfferWithCondition(
    offerToCreate: offers.CreateOfferArgs,
    condition: ConditionStruct,
    overrides: Partial<{
      contractAddress: string;
      returnTxInfo?: boolean;
    }> = {}
  ): Promise<TransactionResponse | TransactionRequest>

createPremintedOfferAddToGroup (3 signatures)

Overload: returnTxInfo is true → returns TransactionRequest

public async createPremintedOfferAddToGroup(
    offerToCreate: offers.CreateOfferArgs,
    premintParameters: PremintParametersStruct,
    groupId: BigNumberish,
    overrides: Partial<{
      contractAddress: string;
      returnTxInfo: true;
    }>
  ): Promise<TransactionRequest>
 
public async createPremintedOfferAddToGroup(
    offerToCreate: offers.CreateOfferArgs,
    premintParameters: PremintParametersStruct,
    groupId: BigNumberish,
    overrides?: Partial<{
      contractAddress: string;
      returnTxInfo?: false;
    }>
  ): Promise<TransactionResponse>
 
public async createPremintedOfferAddToGroup(
    offerToCreate: offers.CreateOfferArgs,
    premintParameters: PremintParametersStruct,
    groupId: BigNumberish,
    overrides: Partial<{
      contractAddress: string;
      returnTxInfo?: boolean;
    }> = {}
  ): Promise<TransactionResponse | TransactionRequest>

createPremintedOfferWithCondition (3 signatures)

Overload: returnTxInfo is true → returns TransactionRequest

public async createPremintedOfferWithCondition(
    offerToCreate: offers.CreateOfferArgs,
    premintParameters: PremintParametersStruct,
    condition: ConditionStruct,
    overrides: Partial<{
      contractAddress: string;
      returnTxInfo: true;
    }>
  ): Promise<TransactionRequest>
 
public async createPremintedOfferWithCondition(
    offerToCreate: offers.CreateOfferArgs,
    premintParameters: PremintParametersStruct,
    condition: ConditionStruct,
    overrides?: Partial<{
      contractAddress: string;
      returnTxInfo?: false;
    }>
  ): Promise<TransactionResponse>
 
public async createPremintedOfferWithCondition(
    offerToCreate: offers.CreateOfferArgs,
    premintParameters: PremintParametersStruct,
    condition: ConditionStruct,
    overrides: Partial<{
      contractAddress: string;
      returnTxInfo?: boolean;
    }> = {}
  ): Promise<TransactionResponse | TransactionRequest>

createSellerAndOfferWithCondition (3 signatures)

Overload: returnTxInfo is true → returns TransactionRequest

public async createSellerAndOfferWithCondition(
    sellerToCreate: accounts.CreateSellerArgs,
    offerToCreate: offers.CreateOfferArgs,
    condition: ConditionStruct,
    overrides: Partial<{
      contractAddress: string;
      returnTxInfo: true;
    }>
  ): Promise<TransactionRequest>
 
public async createSellerAndOfferWithCondition(
    sellerToCreate: accounts.CreateSellerArgs,
    offerToCreate: offers.CreateOfferArgs,
    condition: ConditionStruct,
    overrides?: Partial<{
      contractAddress: string;
      returnTxInfo?: false;
    }>
  ): Promise<TransactionResponse>
 
public async createSellerAndOfferWithCondition(
    sellerToCreate: accounts.CreateSellerArgs,
    offerToCreate: offers.CreateOfferArgs,
    condition: ConditionStruct,
    overrides: Partial<{
      contractAddress: string;
      returnTxInfo?: boolean;
    }> = {}
  ): Promise<TransactionResponse | TransactionRequest>

createSellerAndPremintedOffer (3 signatures)

Overload: returnTxInfo is true → returns TransactionRequest

public async createSellerAndPremintedOffer(
    sellerToCreate: accounts.CreateSellerArgs,
    offerToCreate: offers.CreateOfferArgs,
    premintParameters: PremintParametersStruct,
    overrides: Partial<{
      contractAddress: string;
      returnTxInfo: true;
    }>
  ): Promise<TransactionRequest>
 
public async createSellerAndPremintedOffer(
    sellerToCreate: accounts.CreateSellerArgs,
    offerToCreate: offers.CreateOfferArgs,
    premintParameters: PremintParametersStruct,
    overrides?: Partial<{
      contractAddress: string;
      returnTxInfo?: false;
    }>
  ): Promise<TransactionResponse>
 
public async createSellerAndPremintedOffer(
    sellerToCreate: accounts.CreateSellerArgs,
    offerToCreate: offers.CreateOfferArgs,
    premintParameters: PremintParametersStruct,
    overrides: Partial<{
      contractAddress: string;
      returnTxInfo?: boolean;
    }> = {}
  ): Promise<TransactionResponse | TransactionRequest>

createSellerAndPremintedOfferWithCondition (3 signatures)

Overload: returnTxInfo is true → returns TransactionRequest

public async createSellerAndPremintedOfferWithCondition(
    sellerToCreate: accounts.CreateSellerArgs,
    offerToCreate: offers.CreateOfferArgs,
    premintParameters: PremintParametersStruct,
    condition: ConditionStruct,
    overrides: Partial<{
      contractAddress: string;
      returnTxInfo: true;
    }>
  ): Promise<TransactionRequest>
 
public async createSellerAndPremintedOfferWithCondition(
    sellerToCreate: accounts.CreateSellerArgs,
    offerToCreate: offers.CreateOfferArgs,
    premintParameters: PremintParametersStruct,
    condition: ConditionStruct,
    overrides?: Partial<{
      contractAddress: string;
      returnTxInfo?: false;
    }>
  ): Promise<TransactionResponse>
 
public async createSellerAndPremintedOfferWithCondition(
    sellerToCreate: accounts.CreateSellerArgs,
    offerToCreate: offers.CreateOfferArgs,
    premintParameters: PremintParametersStruct,
    condition: ConditionStruct,
    overrides: Partial<{
      contractAddress: string;
      returnTxInfo?: boolean;
    }> = {}
  ): Promise<TransactionResponse | TransactionRequest>

raiseAndEscalateDispute (3 signatures)

Overload: returnTxInfo is true → returns TransactionRequest

public async raiseAndEscalateDispute(
    exchangeId: BigNumberish,
    overrides: Partial<{
      contractAddress: string;
      returnTxInfo: true;
    }>
  ): Promise<TransactionRequest>
 
public async raiseAndEscalateDispute(
    exchangeId: BigNumberish,
    overrides?: Partial<{
      contractAddress: string;
      returnTxInfo?: false;
    }>
  ): Promise<TransactionResponse>
 
public async raiseAndEscalateDispute(
    exchangeId: BigNumberish,
    overrides: Partial<{
      contractAddress: string;
      returnTxInfo?: boolean;
    }> = {}
  ): Promise<TransactionResponse | TransactionRequest>

Related