gondi 0.26.2 → 0.26.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +17 -14
- package/dist/index.mjs.map +3 -3
- package/dist/src/clients/api/index.d.ts +3 -3
- package/dist/src/clients/api/sdk.d.ts +3 -3
- package/dist/src/clients/contracts/PurchaseBundlerV2.d.ts +0 -3
- package/dist/src/clients/contracts/index.d.ts +1 -1
- package/dist/src/generated/blockchain/v7.d.ts +66 -339
- package/dist/src/generated/graphql/index.d.ts +9 -8
- package/dist/src/gondi.d.ts +4 -4
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -11,7 +11,7 @@ export declare const apiDomain: () => string;
|
|
|
11
11
|
export declare class Api {
|
|
12
12
|
api: ReturnType<typeof getSdkApollo>;
|
|
13
13
|
getSaleCalldata: (variables: import("../../generated/graphql").Exact<{
|
|
14
|
-
orderId: import("../../generated/graphql").Scalars["
|
|
14
|
+
orderId: import("../../generated/graphql").Scalars["Int64"];
|
|
15
15
|
nftId: import("../../generated/graphql").Scalars["Int"];
|
|
16
16
|
taker: import("../../generated/graphql").Scalars["Address"];
|
|
17
17
|
}>, options?: {} | undefined) => Promise<import("../../generated/graphql").GetSaleCalldataQuery>;
|
|
@@ -76,10 +76,10 @@ export declare class Api {
|
|
|
76
76
|
contractAddress: import("../../generated/graphql").Scalars["Address"];
|
|
77
77
|
}>, options?: {} | undefined) => Promise<import("../../generated/graphql").UnhideRenegotiationOfferMutation>;
|
|
78
78
|
hideOrder: (variables: import("../../generated/graphql").Exact<{
|
|
79
|
-
id: import("../../generated/graphql").Scalars["
|
|
79
|
+
id: import("../../generated/graphql").Scalars["Int64"];
|
|
80
80
|
}>, options?: {} | undefined) => Promise<import("../../generated/graphql").HideOrderMutation>;
|
|
81
81
|
showOrder: (variables: import("../../generated/graphql").Exact<{
|
|
82
|
-
id: import("../../generated/graphql").Scalars["
|
|
82
|
+
id: import("../../generated/graphql").Scalars["Int64"];
|
|
83
83
|
}>, options?: {} | undefined) => Promise<import("../../generated/graphql").ShowOrderMutation>;
|
|
84
84
|
collectionStepsById: (variables: import("../../generated/graphql").Exact<{
|
|
85
85
|
collectionId: import("../../generated/graphql").Scalars["Int"];
|
|
@@ -28,7 +28,7 @@ export declare function getSdkApollo<C>(client: ApolloClient<C>): {
|
|
|
28
28
|
id: import("../../generated/graphql").Scalars["String"];
|
|
29
29
|
}>, options?: {} | undefined): Promise<import("../../generated/graphql").UnhideOfferMutation>;
|
|
30
30
|
hideOrder(variables: import("../../generated/graphql").Exact<{
|
|
31
|
-
id: import("../../generated/graphql").Scalars["
|
|
31
|
+
id: import("../../generated/graphql").Scalars["Int64"];
|
|
32
32
|
}>, options?: {} | undefined): Promise<import("../../generated/graphql").HideOrderMutation>;
|
|
33
33
|
publishBuyNowPayLaterOrder(variables: import("../../generated/graphql").Exact<{
|
|
34
34
|
orderInput: import("../../generated/graphql").BnplOrderInput;
|
|
@@ -46,7 +46,7 @@ export declare function getSdkApollo<C>(client: ApolloClient<C>): {
|
|
|
46
46
|
orderInput: import("../../generated/graphql").NftOrderInput;
|
|
47
47
|
}>, options?: {} | undefined): Promise<import("../../generated/graphql").PublishSellAndRepayOrderMutation>;
|
|
48
48
|
showOrder(variables: import("../../generated/graphql").Exact<{
|
|
49
|
-
id: import("../../generated/graphql").Scalars["
|
|
49
|
+
id: import("../../generated/graphql").Scalars["Int64"];
|
|
50
50
|
}>, options?: {} | undefined): Promise<import("../../generated/graphql").ShowOrderMutation>;
|
|
51
51
|
generateRenegotiationOfferHash(variables: import("../../generated/graphql").Exact<{
|
|
52
52
|
renegotiationInput: import("../../generated/graphql").RenegotiationOfferInput;
|
|
@@ -129,7 +129,7 @@ export declare function getSdkApollo<C>(client: ApolloClient<C>): {
|
|
|
129
129
|
after?: import("../../generated/graphql").InputMaybe<import("../../generated/graphql").Scalars["String"]>;
|
|
130
130
|
}>, options?: {} | undefined): Promise<import("../../generated/graphql").ListOffersQuery>;
|
|
131
131
|
getSaleCalldata(variables: import("../../generated/graphql").Exact<{
|
|
132
|
-
orderId: import("../../generated/graphql").Scalars["
|
|
132
|
+
orderId: import("../../generated/graphql").Scalars["Int64"];
|
|
133
133
|
nftId: import("../../generated/graphql").Scalars["Int"];
|
|
134
134
|
taker: import("../../generated/graphql").Scalars["Address"];
|
|
135
135
|
}>, options?: {} | undefined): Promise<import("../../generated/graphql").GetSaleCalldataQuery>;
|
|
@@ -35,9 +35,6 @@ export declare class PurchaseBundlerV2 extends BaseContract<typeof purchaseBundl
|
|
|
35
35
|
}, {
|
|
36
36
|
readonly name: "purchaseCurrency";
|
|
37
37
|
readonly type: "address";
|
|
38
|
-
}, {
|
|
39
|
-
readonly name: "purchaseAmount";
|
|
40
|
-
readonly type: "uint256";
|
|
41
38
|
}, {
|
|
42
39
|
readonly name: "amount";
|
|
43
40
|
readonly type: "uint256";
|
|
@@ -62,7 +62,7 @@ export declare class Contracts {
|
|
|
62
62
|
* @param mslContractAddress The contract address of the MSL contract
|
|
63
63
|
* @returns The corresponding PurchaseBundler contract
|
|
64
64
|
*/
|
|
65
|
-
PurchaseBundler(address: Address, mslContractAddress: Address): PurchaseBundlerV1 | PurchaseBundlerV2;
|
|
65
|
+
PurchaseBundler(address: Address | undefined, mslContractAddress: Address): PurchaseBundlerV1 | PurchaseBundlerV2;
|
|
66
66
|
UserVault(address: Address): UserVaultV5 | UserVaultV6;
|
|
67
67
|
Nft(address: Address, standard: NftStandard): BaseContract<Erc721Or1155ABI>;
|
|
68
68
|
ERC721(address: Address): BaseContract<readonly [{
|
|
@@ -2942,15 +2942,15 @@ export declare const purchaseBundlerV2ABI: readonly [{
|
|
|
2942
2942
|
readonly type: "address";
|
|
2943
2943
|
readonly internalType: "address payable";
|
|
2944
2944
|
}, {
|
|
2945
|
-
readonly name: "
|
|
2945
|
+
readonly name: "aaveAddressProvider";
|
|
2946
2946
|
readonly type: "address";
|
|
2947
2947
|
readonly internalType: "address payable";
|
|
2948
2948
|
}, {
|
|
2949
|
-
readonly name: "
|
|
2949
|
+
readonly name: "permit2Address";
|
|
2950
2950
|
readonly type: "address";
|
|
2951
|
-
readonly internalType: "address";
|
|
2951
|
+
readonly internalType: "address payable";
|
|
2952
2952
|
}, {
|
|
2953
|
-
readonly name: "
|
|
2953
|
+
readonly name: "currencyManager";
|
|
2954
2954
|
readonly type: "address";
|
|
2955
2955
|
readonly internalType: "address";
|
|
2956
2956
|
}, {
|
|
@@ -3051,26 +3051,6 @@ export declare const purchaseBundlerV2ABI: readonly [{
|
|
|
3051
3051
|
readonly internalType: "uint256";
|
|
3052
3052
|
}];
|
|
3053
3053
|
readonly stateMutability: "view";
|
|
3054
|
-
}, {
|
|
3055
|
-
readonly type: "function";
|
|
3056
|
-
readonly name: "QUOTER_UPDATE_NOTICE";
|
|
3057
|
-
readonly inputs: readonly [];
|
|
3058
|
-
readonly outputs: readonly [{
|
|
3059
|
-
readonly name: "";
|
|
3060
|
-
readonly type: "uint256";
|
|
3061
|
-
readonly internalType: "uint256";
|
|
3062
|
-
}];
|
|
3063
|
-
readonly stateMutability: "view";
|
|
3064
|
-
}, {
|
|
3065
|
-
readonly type: "function";
|
|
3066
|
-
readonly name: "TAX_UPDATE_NOTICE";
|
|
3067
|
-
readonly inputs: readonly [];
|
|
3068
|
-
readonly outputs: readonly [{
|
|
3069
|
-
readonly name: "";
|
|
3070
|
-
readonly type: "uint256";
|
|
3071
|
-
readonly internalType: "uint256";
|
|
3072
|
-
}];
|
|
3073
|
-
readonly stateMutability: "view";
|
|
3074
3054
|
}, {
|
|
3075
3055
|
readonly type: "function";
|
|
3076
3056
|
readonly name: "VERSION";
|
|
@@ -3165,162 +3145,6 @@ export declare const purchaseBundlerV2ABI: readonly [{
|
|
|
3165
3145
|
readonly internalType: "bytes4";
|
|
3166
3146
|
}];
|
|
3167
3147
|
readonly stateMutability: "nonpayable";
|
|
3168
|
-
}, {
|
|
3169
|
-
readonly type: "function";
|
|
3170
|
-
readonly name: "afterNFTTransfer";
|
|
3171
|
-
readonly inputs: readonly [{
|
|
3172
|
-
readonly name: "_loan";
|
|
3173
|
-
readonly type: "tuple";
|
|
3174
|
-
readonly internalType: "struct IMultiSourceLoan.Loan";
|
|
3175
|
-
readonly components: readonly [{
|
|
3176
|
-
readonly name: "borrower";
|
|
3177
|
-
readonly type: "address";
|
|
3178
|
-
readonly internalType: "address";
|
|
3179
|
-
}, {
|
|
3180
|
-
readonly name: "nftCollateralTokenId";
|
|
3181
|
-
readonly type: "uint256";
|
|
3182
|
-
readonly internalType: "uint256";
|
|
3183
|
-
}, {
|
|
3184
|
-
readonly name: "nftCollateralAddress";
|
|
3185
|
-
readonly type: "address";
|
|
3186
|
-
readonly internalType: "address";
|
|
3187
|
-
}, {
|
|
3188
|
-
readonly name: "principalAddress";
|
|
3189
|
-
readonly type: "address";
|
|
3190
|
-
readonly internalType: "address";
|
|
3191
|
-
}, {
|
|
3192
|
-
readonly name: "principalAmount";
|
|
3193
|
-
readonly type: "uint256";
|
|
3194
|
-
readonly internalType: "uint256";
|
|
3195
|
-
}, {
|
|
3196
|
-
readonly name: "startTime";
|
|
3197
|
-
readonly type: "uint256";
|
|
3198
|
-
readonly internalType: "uint256";
|
|
3199
|
-
}, {
|
|
3200
|
-
readonly name: "duration";
|
|
3201
|
-
readonly type: "uint256";
|
|
3202
|
-
readonly internalType: "uint256";
|
|
3203
|
-
}, {
|
|
3204
|
-
readonly name: "source";
|
|
3205
|
-
readonly type: "tuple[]";
|
|
3206
|
-
readonly internalType: "struct IMultiSourceLoan.Source[]";
|
|
3207
|
-
readonly components: readonly [{
|
|
3208
|
-
readonly name: "loanId";
|
|
3209
|
-
readonly type: "uint256";
|
|
3210
|
-
readonly internalType: "uint256";
|
|
3211
|
-
}, {
|
|
3212
|
-
readonly name: "lender";
|
|
3213
|
-
readonly type: "address";
|
|
3214
|
-
readonly internalType: "address";
|
|
3215
|
-
}, {
|
|
3216
|
-
readonly name: "principalAmount";
|
|
3217
|
-
readonly type: "uint256";
|
|
3218
|
-
readonly internalType: "uint256";
|
|
3219
|
-
}, {
|
|
3220
|
-
readonly name: "accruedInterest";
|
|
3221
|
-
readonly type: "uint256";
|
|
3222
|
-
readonly internalType: "uint256";
|
|
3223
|
-
}, {
|
|
3224
|
-
readonly name: "startTime";
|
|
3225
|
-
readonly type: "uint256";
|
|
3226
|
-
readonly internalType: "uint256";
|
|
3227
|
-
}, {
|
|
3228
|
-
readonly name: "aprBps";
|
|
3229
|
-
readonly type: "uint256";
|
|
3230
|
-
readonly internalType: "uint256";
|
|
3231
|
-
}];
|
|
3232
|
-
}];
|
|
3233
|
-
}, {
|
|
3234
|
-
readonly name: "_executionData";
|
|
3235
|
-
readonly type: "bytes";
|
|
3236
|
-
readonly internalType: "bytes";
|
|
3237
|
-
}];
|
|
3238
|
-
readonly outputs: readonly [{
|
|
3239
|
-
readonly name: "";
|
|
3240
|
-
readonly type: "bytes4";
|
|
3241
|
-
readonly internalType: "bytes4";
|
|
3242
|
-
}];
|
|
3243
|
-
readonly stateMutability: "nonpayable";
|
|
3244
|
-
}, {
|
|
3245
|
-
readonly type: "function";
|
|
3246
|
-
readonly name: "afterPrincipalTransfer";
|
|
3247
|
-
readonly inputs: readonly [{
|
|
3248
|
-
readonly name: "_loan";
|
|
3249
|
-
readonly type: "tuple";
|
|
3250
|
-
readonly internalType: "struct IMultiSourceLoan.Loan";
|
|
3251
|
-
readonly components: readonly [{
|
|
3252
|
-
readonly name: "borrower";
|
|
3253
|
-
readonly type: "address";
|
|
3254
|
-
readonly internalType: "address";
|
|
3255
|
-
}, {
|
|
3256
|
-
readonly name: "nftCollateralTokenId";
|
|
3257
|
-
readonly type: "uint256";
|
|
3258
|
-
readonly internalType: "uint256";
|
|
3259
|
-
}, {
|
|
3260
|
-
readonly name: "nftCollateralAddress";
|
|
3261
|
-
readonly type: "address";
|
|
3262
|
-
readonly internalType: "address";
|
|
3263
|
-
}, {
|
|
3264
|
-
readonly name: "principalAddress";
|
|
3265
|
-
readonly type: "address";
|
|
3266
|
-
readonly internalType: "address";
|
|
3267
|
-
}, {
|
|
3268
|
-
readonly name: "principalAmount";
|
|
3269
|
-
readonly type: "uint256";
|
|
3270
|
-
readonly internalType: "uint256";
|
|
3271
|
-
}, {
|
|
3272
|
-
readonly name: "startTime";
|
|
3273
|
-
readonly type: "uint256";
|
|
3274
|
-
readonly internalType: "uint256";
|
|
3275
|
-
}, {
|
|
3276
|
-
readonly name: "duration";
|
|
3277
|
-
readonly type: "uint256";
|
|
3278
|
-
readonly internalType: "uint256";
|
|
3279
|
-
}, {
|
|
3280
|
-
readonly name: "source";
|
|
3281
|
-
readonly type: "tuple[]";
|
|
3282
|
-
readonly internalType: "struct IMultiSourceLoan.Source[]";
|
|
3283
|
-
readonly components: readonly [{
|
|
3284
|
-
readonly name: "loanId";
|
|
3285
|
-
readonly type: "uint256";
|
|
3286
|
-
readonly internalType: "uint256";
|
|
3287
|
-
}, {
|
|
3288
|
-
readonly name: "lender";
|
|
3289
|
-
readonly type: "address";
|
|
3290
|
-
readonly internalType: "address";
|
|
3291
|
-
}, {
|
|
3292
|
-
readonly name: "principalAmount";
|
|
3293
|
-
readonly type: "uint256";
|
|
3294
|
-
readonly internalType: "uint256";
|
|
3295
|
-
}, {
|
|
3296
|
-
readonly name: "accruedInterest";
|
|
3297
|
-
readonly type: "uint256";
|
|
3298
|
-
readonly internalType: "uint256";
|
|
3299
|
-
}, {
|
|
3300
|
-
readonly name: "startTime";
|
|
3301
|
-
readonly type: "uint256";
|
|
3302
|
-
readonly internalType: "uint256";
|
|
3303
|
-
}, {
|
|
3304
|
-
readonly name: "aprBps";
|
|
3305
|
-
readonly type: "uint256";
|
|
3306
|
-
readonly internalType: "uint256";
|
|
3307
|
-
}];
|
|
3308
|
-
}];
|
|
3309
|
-
}, {
|
|
3310
|
-
readonly name: "_fee";
|
|
3311
|
-
readonly type: "uint256";
|
|
3312
|
-
readonly internalType: "uint256";
|
|
3313
|
-
}, {
|
|
3314
|
-
readonly name: "_executionData";
|
|
3315
|
-
readonly type: "bytes";
|
|
3316
|
-
readonly internalType: "bytes";
|
|
3317
|
-
}];
|
|
3318
|
-
readonly outputs: readonly [{
|
|
3319
|
-
readonly name: "";
|
|
3320
|
-
readonly type: "bytes4";
|
|
3321
|
-
readonly internalType: "bytes4";
|
|
3322
|
-
}];
|
|
3323
|
-
readonly stateMutability: "nonpayable";
|
|
3324
3148
|
}, {
|
|
3325
3149
|
readonly type: "function";
|
|
3326
3150
|
readonly name: "afterPrincipalTransfer";
|
|
@@ -3419,24 +3243,6 @@ export declare const purchaseBundlerV2ABI: readonly [{
|
|
|
3419
3243
|
}];
|
|
3420
3244
|
readonly outputs: readonly [];
|
|
3421
3245
|
readonly stateMutability: "nonpayable";
|
|
3422
|
-
}, {
|
|
3423
|
-
readonly type: "function";
|
|
3424
|
-
readonly name: "buy";
|
|
3425
|
-
readonly inputs: readonly [{
|
|
3426
|
-
readonly name: "executionData";
|
|
3427
|
-
readonly type: "bytes[]";
|
|
3428
|
-
readonly internalType: "bytes[]";
|
|
3429
|
-
}, {
|
|
3430
|
-
readonly name: "currencies";
|
|
3431
|
-
readonly type: "address[]";
|
|
3432
|
-
readonly internalType: "address[]";
|
|
3433
|
-
}];
|
|
3434
|
-
readonly outputs: readonly [{
|
|
3435
|
-
readonly name: "loanIds";
|
|
3436
|
-
readonly type: "uint256[]";
|
|
3437
|
-
readonly internalType: "uint256[]";
|
|
3438
|
-
}];
|
|
3439
|
-
readonly stateMutability: "payable";
|
|
3440
3246
|
}, {
|
|
3441
3247
|
readonly type: "function";
|
|
3442
3248
|
readonly name: "buy";
|
|
@@ -3505,7 +3311,7 @@ export declare const purchaseBundlerV2ABI: readonly [{
|
|
|
3505
3311
|
readonly type: "uint256[]";
|
|
3506
3312
|
readonly internalType: "uint256[]";
|
|
3507
3313
|
}, {
|
|
3508
|
-
readonly name: "";
|
|
3314
|
+
readonly name: "initiator";
|
|
3509
3315
|
readonly type: "address";
|
|
3510
3316
|
readonly internalType: "address";
|
|
3511
3317
|
}, {
|
|
@@ -3685,22 +3491,6 @@ export declare const purchaseBundlerV2ABI: readonly [{
|
|
|
3685
3491
|
}];
|
|
3686
3492
|
readonly outputs: readonly [];
|
|
3687
3493
|
readonly stateMutability: "payable";
|
|
3688
|
-
}, {
|
|
3689
|
-
readonly type: "function";
|
|
3690
|
-
readonly name: "finalUpdateMultiSourceLoanAddress";
|
|
3691
|
-
readonly inputs: readonly [{
|
|
3692
|
-
readonly name: "_newAddress";
|
|
3693
|
-
readonly type: "address";
|
|
3694
|
-
readonly internalType: "address";
|
|
3695
|
-
}];
|
|
3696
|
-
readonly outputs: readonly [];
|
|
3697
|
-
readonly stateMutability: "nonpayable";
|
|
3698
|
-
}, {
|
|
3699
|
-
readonly type: "function";
|
|
3700
|
-
readonly name: "finalUpdateQuoterAddress";
|
|
3701
|
-
readonly inputs: readonly [];
|
|
3702
|
-
readonly outputs: readonly [];
|
|
3703
|
-
readonly stateMutability: "nonpayable";
|
|
3704
3494
|
}, {
|
|
3705
3495
|
readonly type: "function";
|
|
3706
3496
|
readonly name: "getMultiSourceLoanAddress";
|
|
@@ -3888,6 +3678,20 @@ export declare const purchaseBundlerV2ABI: readonly [{
|
|
|
3888
3678
|
readonly internalType: "uint256";
|
|
3889
3679
|
}];
|
|
3890
3680
|
readonly stateMutability: "view";
|
|
3681
|
+
}, {
|
|
3682
|
+
readonly type: "function";
|
|
3683
|
+
readonly name: "multicall";
|
|
3684
|
+
readonly inputs: readonly [{
|
|
3685
|
+
readonly name: "data";
|
|
3686
|
+
readonly type: "bytes[]";
|
|
3687
|
+
readonly internalType: "bytes[]";
|
|
3688
|
+
}];
|
|
3689
|
+
readonly outputs: readonly [{
|
|
3690
|
+
readonly name: "results";
|
|
3691
|
+
readonly type: "bytes[]";
|
|
3692
|
+
readonly internalType: "bytes[]";
|
|
3693
|
+
}];
|
|
3694
|
+
readonly stateMutability: "payable";
|
|
3891
3695
|
}, {
|
|
3892
3696
|
readonly type: "function";
|
|
3893
3697
|
readonly name: "name";
|
|
@@ -4009,36 +3813,6 @@ export declare const purchaseBundlerV2ABI: readonly [{
|
|
|
4009
3813
|
readonly internalType: "uint256";
|
|
4010
3814
|
}];
|
|
4011
3815
|
readonly stateMutability: "view";
|
|
4012
|
-
}, {
|
|
4013
|
-
readonly type: "function";
|
|
4014
|
-
readonly name: "pendingQuoterAddress";
|
|
4015
|
-
readonly inputs: readonly [];
|
|
4016
|
-
readonly outputs: readonly [{
|
|
4017
|
-
readonly name: "";
|
|
4018
|
-
readonly type: "address";
|
|
4019
|
-
readonly internalType: "address";
|
|
4020
|
-
}];
|
|
4021
|
-
readonly stateMutability: "view";
|
|
4022
|
-
}, {
|
|
4023
|
-
readonly type: "function";
|
|
4024
|
-
readonly name: "pendingQuoterAddressSetTime";
|
|
4025
|
-
readonly inputs: readonly [];
|
|
4026
|
-
readonly outputs: readonly [{
|
|
4027
|
-
readonly name: "";
|
|
4028
|
-
readonly type: "uint256";
|
|
4029
|
-
readonly internalType: "uint256";
|
|
4030
|
-
}];
|
|
4031
|
-
readonly stateMutability: "view";
|
|
4032
|
-
}, {
|
|
4033
|
-
readonly type: "function";
|
|
4034
|
-
readonly name: "quoterAddress";
|
|
4035
|
-
readonly inputs: readonly [];
|
|
4036
|
-
readonly outputs: readonly [{
|
|
4037
|
-
readonly name: "";
|
|
4038
|
-
readonly type: "address";
|
|
4039
|
-
readonly internalType: "address";
|
|
4040
|
-
}];
|
|
4041
|
-
readonly stateMutability: "view";
|
|
4042
3816
|
}, {
|
|
4043
3817
|
readonly type: "function";
|
|
4044
3818
|
readonly name: "requestTransferOwner";
|
|
@@ -4049,16 +3823,6 @@ export declare const purchaseBundlerV2ABI: readonly [{
|
|
|
4049
3823
|
}];
|
|
4050
3824
|
readonly outputs: readonly [];
|
|
4051
3825
|
readonly stateMutability: "nonpayable";
|
|
4052
|
-
}, {
|
|
4053
|
-
readonly type: "function";
|
|
4054
|
-
readonly name: "requestUpdateQuoterAddress";
|
|
4055
|
-
readonly inputs: readonly [{
|
|
4056
|
-
readonly name: "quoterAddress_";
|
|
4057
|
-
readonly type: "address";
|
|
4058
|
-
readonly internalType: "address";
|
|
4059
|
-
}];
|
|
4060
|
-
readonly outputs: readonly [];
|
|
4061
|
-
readonly stateMutability: "nonpayable";
|
|
4062
3826
|
}, {
|
|
4063
3827
|
readonly type: "function";
|
|
4064
3828
|
readonly name: "sell";
|
|
@@ -4093,29 +3857,38 @@ export declare const purchaseBundlerV2ABI: readonly [{
|
|
|
4093
3857
|
readonly type: "function";
|
|
4094
3858
|
readonly name: "swapAndExecute";
|
|
4095
3859
|
readonly inputs: readonly [{
|
|
4096
|
-
readonly name: "
|
|
4097
|
-
readonly type: "
|
|
4098
|
-
readonly internalType: "
|
|
4099
|
-
|
|
4100
|
-
|
|
4101
|
-
|
|
4102
|
-
|
|
4103
|
-
|
|
4104
|
-
|
|
4105
|
-
|
|
4106
|
-
|
|
4107
|
-
|
|
4108
|
-
|
|
4109
|
-
|
|
4110
|
-
|
|
4111
|
-
|
|
4112
|
-
|
|
4113
|
-
|
|
4114
|
-
|
|
4115
|
-
|
|
4116
|
-
|
|
4117
|
-
|
|
4118
|
-
|
|
3860
|
+
readonly name: "args";
|
|
3861
|
+
readonly type: "tuple";
|
|
3862
|
+
readonly internalType: "struct IPurchaseBundler.SwapAndExecuteParams";
|
|
3863
|
+
readonly components: readonly [{
|
|
3864
|
+
readonly name: "inputCurrencies";
|
|
3865
|
+
readonly type: "address[]";
|
|
3866
|
+
readonly internalType: "address[]";
|
|
3867
|
+
}, {
|
|
3868
|
+
readonly name: "outputCurrencies";
|
|
3869
|
+
readonly type: "address[]";
|
|
3870
|
+
readonly internalType: "address[]";
|
|
3871
|
+
}, {
|
|
3872
|
+
readonly name: "amountsToSwap";
|
|
3873
|
+
readonly type: "uint256[]";
|
|
3874
|
+
readonly internalType: "uint256[]";
|
|
3875
|
+
}, {
|
|
3876
|
+
readonly name: "swapData";
|
|
3877
|
+
readonly type: "bytes";
|
|
3878
|
+
readonly internalType: "bytes";
|
|
3879
|
+
}, {
|
|
3880
|
+
readonly name: "target";
|
|
3881
|
+
readonly type: "address";
|
|
3882
|
+
readonly internalType: "address";
|
|
3883
|
+
}, {
|
|
3884
|
+
readonly name: "executionCalldata";
|
|
3885
|
+
readonly type: "bytes";
|
|
3886
|
+
readonly internalType: "bytes";
|
|
3887
|
+
}, {
|
|
3888
|
+
readonly name: "executionValue";
|
|
3889
|
+
readonly type: "uint256";
|
|
3890
|
+
readonly internalType: "uint256";
|
|
3891
|
+
}];
|
|
4119
3892
|
}];
|
|
4120
3893
|
readonly outputs: readonly [];
|
|
4121
3894
|
readonly stateMutability: "payable";
|
|
@@ -4135,16 +3908,6 @@ export declare const purchaseBundlerV2ABI: readonly [{
|
|
|
4135
3908
|
}];
|
|
4136
3909
|
readonly outputs: readonly [];
|
|
4137
3910
|
readonly stateMutability: "nonpayable";
|
|
4138
|
-
}, {
|
|
4139
|
-
readonly type: "function";
|
|
4140
|
-
readonly name: "updateMultiSourceLoanAddressFirst";
|
|
4141
|
-
readonly inputs: readonly [{
|
|
4142
|
-
readonly name: "_newAddress";
|
|
4143
|
-
readonly type: "address";
|
|
4144
|
-
readonly internalType: "address";
|
|
4145
|
-
}];
|
|
4146
|
-
readonly outputs: readonly [];
|
|
4147
|
-
readonly stateMutability: "nonpayable";
|
|
4148
3911
|
}, {
|
|
4149
3912
|
readonly type: "function";
|
|
4150
3913
|
readonly name: "updateProtocolFee";
|
|
@@ -4212,26 +3975,6 @@ export declare const purchaseBundlerV2ABI: readonly [{
|
|
|
4212
3975
|
readonly internalType: "uint256[]";
|
|
4213
3976
|
}];
|
|
4214
3977
|
readonly anonymous: false;
|
|
4215
|
-
}, {
|
|
4216
|
-
readonly type: "event";
|
|
4217
|
-
readonly name: "MultiSourceLoanPendingUpdate";
|
|
4218
|
-
readonly inputs: readonly [{
|
|
4219
|
-
readonly name: "newAddress";
|
|
4220
|
-
readonly type: "address";
|
|
4221
|
-
readonly indexed: false;
|
|
4222
|
-
readonly internalType: "address";
|
|
4223
|
-
}];
|
|
4224
|
-
readonly anonymous: false;
|
|
4225
|
-
}, {
|
|
4226
|
-
readonly type: "event";
|
|
4227
|
-
readonly name: "MultiSourceLoanUpdated";
|
|
4228
|
-
readonly inputs: readonly [{
|
|
4229
|
-
readonly name: "newAddress";
|
|
4230
|
-
readonly type: "address";
|
|
4231
|
-
readonly indexed: false;
|
|
4232
|
-
readonly internalType: "address";
|
|
4233
|
-
}];
|
|
4234
|
-
readonly anonymous: false;
|
|
4235
3978
|
}, {
|
|
4236
3979
|
readonly type: "event";
|
|
4237
3980
|
readonly name: "OrderExecuted";
|
|
@@ -4335,26 +4078,6 @@ export declare const purchaseBundlerV2ABI: readonly [{
|
|
|
4335
4078
|
}];
|
|
4336
4079
|
}];
|
|
4337
4080
|
readonly anonymous: false;
|
|
4338
|
-
}, {
|
|
4339
|
-
readonly type: "event";
|
|
4340
|
-
readonly name: "QuoterAddressPendingUpdate";
|
|
4341
|
-
readonly inputs: readonly [{
|
|
4342
|
-
readonly name: "newQuoterAddress";
|
|
4343
|
-
readonly type: "address";
|
|
4344
|
-
readonly indexed: false;
|
|
4345
|
-
readonly internalType: "address";
|
|
4346
|
-
}];
|
|
4347
|
-
readonly anonymous: false;
|
|
4348
|
-
}, {
|
|
4349
|
-
readonly type: "event";
|
|
4350
|
-
readonly name: "QuoterAddressUpdated";
|
|
4351
|
-
readonly inputs: readonly [{
|
|
4352
|
-
readonly name: "newQuoterAddress";
|
|
4353
|
-
readonly type: "address";
|
|
4354
|
-
readonly indexed: false;
|
|
4355
|
-
readonly internalType: "address";
|
|
4356
|
-
}];
|
|
4357
|
-
readonly anonymous: false;
|
|
4358
4081
|
}, {
|
|
4359
4082
|
readonly type: "event";
|
|
4360
4083
|
readonly name: "SellAndRepayExecuted";
|
|
@@ -4455,10 +4178,6 @@ export declare const purchaseBundlerV2ABI: readonly [{
|
|
|
4455
4178
|
readonly type: "bytes32";
|
|
4456
4179
|
readonly internalType: "bytes32";
|
|
4457
4180
|
}];
|
|
4458
|
-
}, {
|
|
4459
|
-
readonly type: "error";
|
|
4460
|
-
readonly name: "InvalidAddressUpdateError";
|
|
4461
|
-
readonly inputs: readonly [];
|
|
4462
4181
|
}, {
|
|
4463
4182
|
readonly type: "error";
|
|
4464
4183
|
readonly name: "InvalidCallbackError";
|
|
@@ -4479,10 +4198,6 @@ export declare const purchaseBundlerV2ABI: readonly [{
|
|
|
4479
4198
|
readonly type: "error";
|
|
4480
4199
|
readonly name: "InvalidInputError";
|
|
4481
4200
|
readonly inputs: readonly [];
|
|
4482
|
-
}, {
|
|
4483
|
-
readonly type: "error";
|
|
4484
|
-
readonly name: "InvalidPrincipalError";
|
|
4485
|
-
readonly inputs: readonly [];
|
|
4486
4201
|
}, {
|
|
4487
4202
|
readonly type: "error";
|
|
4488
4203
|
readonly name: "InvalidSignature";
|
|
@@ -4495,6 +4210,10 @@ export declare const purchaseBundlerV2ABI: readonly [{
|
|
|
4495
4210
|
readonly type: "error";
|
|
4496
4211
|
readonly name: "InvalidSwapDataLengthError";
|
|
4497
4212
|
readonly inputs: readonly [];
|
|
4213
|
+
}, {
|
|
4214
|
+
readonly type: "error";
|
|
4215
|
+
readonly name: "InvalidSwapError";
|
|
4216
|
+
readonly inputs: readonly [];
|
|
4498
4217
|
}, {
|
|
4499
4218
|
readonly type: "error";
|
|
4500
4219
|
readonly name: "InvalidTaker";
|
|
@@ -4542,11 +4261,19 @@ export declare const purchaseBundlerV2ABI: readonly [{
|
|
|
4542
4261
|
readonly inputs: readonly [];
|
|
4543
4262
|
}, {
|
|
4544
4263
|
readonly type: "error";
|
|
4545
|
-
readonly name: "
|
|
4546
|
-
readonly inputs: readonly [
|
|
4264
|
+
readonly name: "MulticallFailed";
|
|
4265
|
+
readonly inputs: readonly [{
|
|
4266
|
+
readonly name: "i";
|
|
4267
|
+
readonly type: "uint256";
|
|
4268
|
+
readonly internalType: "uint256";
|
|
4269
|
+
}, {
|
|
4270
|
+
readonly name: "returndata";
|
|
4271
|
+
readonly type: "bytes";
|
|
4272
|
+
readonly internalType: "bytes";
|
|
4273
|
+
}];
|
|
4547
4274
|
}, {
|
|
4548
4275
|
readonly type: "error";
|
|
4549
|
-
readonly name: "
|
|
4276
|
+
readonly name: "OnlyLoanCallableError";
|
|
4550
4277
|
readonly inputs: readonly [];
|
|
4551
4278
|
}, {
|
|
4552
4279
|
readonly type: "error";
|
|
@@ -26,6 +26,7 @@ export type Scalars = {
|
|
|
26
26
|
DateTime: Date;
|
|
27
27
|
Hash: Hash;
|
|
28
28
|
Hex: Hex;
|
|
29
|
+
Int64: any;
|
|
29
30
|
JSON: object;
|
|
30
31
|
Signature: Hex;
|
|
31
32
|
Void: any;
|
|
@@ -1512,7 +1513,7 @@ export type MutationHideOfferArgs = {
|
|
|
1512
1513
|
offerId: Scalars['String'];
|
|
1513
1514
|
};
|
|
1514
1515
|
export type MutationHideOrderArgs = {
|
|
1515
|
-
|
|
1516
|
+
orderIdInt64?: InputMaybe<Scalars['Int64']>;
|
|
1516
1517
|
};
|
|
1517
1518
|
export type MutationHideRenegotiationArgs = {
|
|
1518
1519
|
contractAddress?: InputMaybe<Scalars['Address']>;
|
|
@@ -1575,7 +1576,7 @@ export type MutationShowOfferArgs = {
|
|
|
1575
1576
|
offerId: Scalars['String'];
|
|
1576
1577
|
};
|
|
1577
1578
|
export type MutationShowOrderArgs = {
|
|
1578
|
-
|
|
1579
|
+
orderIdInt64?: InputMaybe<Scalars['Int64']>;
|
|
1579
1580
|
};
|
|
1580
1581
|
export type MutationShowRenegotiationArgs = {
|
|
1581
1582
|
contractAddress?: InputMaybe<Scalars['Address']>;
|
|
@@ -1695,7 +1696,7 @@ export type NftPriceSample = Node & {
|
|
|
1695
1696
|
currencyAddress: Scalars['Address'];
|
|
1696
1697
|
id: Scalars['String'];
|
|
1697
1698
|
order: Order;
|
|
1698
|
-
orderId: Scalars['
|
|
1699
|
+
orderId: Scalars['Int64'];
|
|
1699
1700
|
surveyedId: Scalars['Int'];
|
|
1700
1701
|
taker: Scalars['Address'];
|
|
1701
1702
|
timestamp: Scalars['Int'];
|
|
@@ -2302,13 +2303,13 @@ export type QueryGetNftBySlugAndTokenIdArgs = {
|
|
|
2302
2303
|
/** Query for the lending module */
|
|
2303
2304
|
export type QueryGetOrderCancelCalldataArgs = {
|
|
2304
2305
|
model?: InputMaybe<OrderModel>;
|
|
2305
|
-
|
|
2306
|
+
orderIdInt64?: InputMaybe<Scalars['Int64']>;
|
|
2306
2307
|
};
|
|
2307
2308
|
/** Query for the lending module */
|
|
2308
2309
|
export type QueryGetOrderSaleCalldataArgs = {
|
|
2309
2310
|
model?: InputMaybe<OrderModel>;
|
|
2310
2311
|
nftId?: InputMaybe<Scalars['Int']>;
|
|
2311
|
-
|
|
2312
|
+
orderIdInt64?: InputMaybe<Scalars['Int64']>;
|
|
2312
2313
|
taker?: InputMaybe<Scalars['Address']>;
|
|
2313
2314
|
};
|
|
2314
2315
|
/** Query for the lending module */
|
|
@@ -3715,7 +3716,7 @@ export type UnhideOfferMutation = {
|
|
|
3715
3716
|
};
|
|
3716
3717
|
};
|
|
3717
3718
|
export type HideOrderMutationVariables = Exact<{
|
|
3718
|
-
id: Scalars['
|
|
3719
|
+
id: Scalars['Int64'];
|
|
3719
3720
|
}>;
|
|
3720
3721
|
export type HideOrderMutation = {
|
|
3721
3722
|
__typename?: 'Mutation';
|
|
@@ -3861,7 +3862,7 @@ export type PublishSellAndRepayOrderMutation = {
|
|
|
3861
3862
|
};
|
|
3862
3863
|
};
|
|
3863
3864
|
export type ShowOrderMutationVariables = Exact<{
|
|
3864
|
-
id: Scalars['
|
|
3865
|
+
id: Scalars['Int64'];
|
|
3865
3866
|
}>;
|
|
3866
3867
|
export type ShowOrderMutation = {
|
|
3867
3868
|
__typename?: 'Mutation';
|
|
@@ -4478,7 +4479,7 @@ export type ListOffersQuery = {
|
|
|
4478
4479
|
};
|
|
4479
4480
|
};
|
|
4480
4481
|
export type GetSaleCalldataQueryVariables = Exact<{
|
|
4481
|
-
orderId: Scalars['
|
|
4482
|
+
orderId: Scalars['Int64'];
|
|
4482
4483
|
nftId: Scalars['Int'];
|
|
4483
4484
|
taker: Scalars['Address'];
|
|
4484
4485
|
}>;
|