orchestration.handler
@bosonprotocol/core-sdk / Exports / orchestration / handler
Namespace: handler
orchestration.handler
Table of contents
Functions
Functions
createOfferAndSeller
▸ createOfferAndSeller(args
): Promise
<TransactionResponse
>
Parameters
Name | Type |
---|---|
args | Object |
args.contractAddress | string |
args.metadataStorage? | MetadataStorage |
args.offerToCreate | CreateOfferArgs |
args.sellerToCreate | CreateSellerArgs |
args.theGraphStorage? | MetadataStorage |
args.web3Lib | Web3LibAdapter |
Returns
Promise
<TransactionResponse
>
Defined in
src/orchestration/handler.ts:18
createOfferWithCondition
▸ createOfferWithCondition(args
): Promise
<TransactionResponse
>
Parameters
Name | Type |
---|---|
args | Object |
args.condition | ConditionStruct |
args.contractAddress | string |
args.metadataStorage? | MetadataStorage |
args.offerToCreate | CreateOfferArgs |
args.theGraphStorage? | MetadataStorage |
args.web3Lib | Web3LibAdapter |
Returns
Promise
<TransactionResponse
>
Defined in
src/orchestration/handler.ts:46
createSellerAndOfferWithCondition
▸ createSellerAndOfferWithCondition(args
): Promise
<TransactionResponse
>
Parameters
Name | Type |
---|---|
args | Object |
args.condition | ConditionStruct |
args.contractAddress | string |
args.metadataStorage? | MetadataStorage |
args.offerToCreate | CreateOfferArgs |
args.sellerToCreate | CreateSellerArgs |
args.theGraphStorage? | MetadataStorage |
args.web3Lib | Web3LibAdapter |
Returns
Promise
<TransactionResponse
>