Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions packages/marketplace/src/marketplace.gen.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint-disable */
// marketplace-api v0-25.12.1+61b56ff ec2402a5d97f7a444807ac40e894721991bdb228
// marketplace-api v0-25.12.1+61b56ff 695923688f38cbb56ca3bab78e75d9a0f48c10e2
// --
// Code generated by webrpc-gen@v0.31.2 with github.com/webrpc/gen-typescript@v0.19.0 generator. DO NOT EDIT.
//
Expand All @@ -16,7 +16,7 @@ export const WebRPCVersion = 'v1'
export const WebRPCSchemaVersion = 'v0-25.12.1+61b56ff'

// Schema hash generated from your RIDL schema
export const WebRPCSchemaHash = 'ec2402a5d97f7a444807ac40e894721991bdb228'
export const WebRPCSchemaHash = '695923688f38cbb56ca3bab78e75d9a0f48c10e2'

type WebrpcGenVersions = {
webrpcGenVersion: string
Expand Down Expand Up @@ -535,6 +535,11 @@ export interface Domain {
verifyingContract: string
}

export interface GenerateBuySellTransactionResponse {
steps: Array<Step>
canBeUsedWithTrails: boolean
}

export interface CheckoutOptionsMarketplaceOrder {
contractAddress: string
orderId: string
Expand Down Expand Up @@ -1267,9 +1272,11 @@ export interface GenerateBuyTransactionArgs {
ordersData: Array<OrderData>
additionalFees: Array<AdditionalFee>
walletType?: WalletKind
useWithTrails: boolean
}

export interface GenerateBuyTransactionReturn {
resp: GenerateBuySellTransactionResponse
steps: Array<Step>
}
export interface GenerateSellTransactionArgs {
Expand All @@ -1280,9 +1287,11 @@ export interface GenerateSellTransactionArgs {
ordersData: Array<OrderData>
additionalFees: Array<AdditionalFee>
walletType?: WalletKind
useWithTrails: boolean
}

export interface GenerateSellTransactionReturn {
resp: GenerateBuySellTransactionResponse
steps: Array<Step>
}
export interface GenerateListingTransactionArgs {
Expand Down Expand Up @@ -2179,6 +2188,7 @@ export class Marketplace implements Marketplace {
res => {
return buildResponse(res).then(_data => {
return {
resp: <GenerateBuySellTransactionResponse>_data.resp,
steps: <Array<Step>>_data.steps
}
})
Expand All @@ -2198,6 +2208,7 @@ export class Marketplace implements Marketplace {
res => {
return buildResponse(res).then(_data => {
return {
resp: <GenerateBuySellTransactionResponse>_data.resp,
steps: <Array<Step>>_data.steps
}
})
Expand Down