@uniswap/universal-router-sdk 1.5.0-beta.0 → 1.5.0-beta.2
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/README.md +2 -3
- package/dist/entities/NFTTrade.d.ts +3 -3
- package/dist/entities/protocols/index.d.ts +1 -1
- package/dist/entities/protocols/looksRareV2.d.ts +56 -0
- package/dist/entities/protocols/nftx.d.ts +1 -1
- package/dist/test/orders/looksRareV2.d.ts +2 -0
- package/dist/test/orders/seaportV1_4.d.ts +1 -2
- package/dist/universal-router-sdk.cjs.development.js +1635 -703
- package/dist/universal-router-sdk.cjs.development.js.map +1 -1
- package/dist/universal-router-sdk.cjs.production.min.js +1 -1
- package/dist/universal-router-sdk.cjs.production.min.js.map +1 -1
- package/dist/universal-router-sdk.esm.js +1636 -704
- package/dist/universal-router-sdk.esm.js.map +1 -1
- package/dist/utils/routerCommands.d.ts +4 -5
- package/package.json +4 -4
- package/dist/entities/protocols/looksRare.d.ts +0 -44
- package/dist/test/orders/looksRare.d.ts +0 -12
|
@@ -7,8 +7,22 @@ import { defaultAbiCoder } from 'ethers/lib/utils';
|
|
|
7
7
|
import { Trade, Pair } from '@uniswap/v2-sdk';
|
|
8
8
|
import { Trade as Trade$1, encodeRouteToPath, Pool } from '@uniswap/v3-sdk';
|
|
9
9
|
import { Protocol, MixedRouteTrade, partitionMixedRouteByProtocol, getOutputOfPools, MixedRouteSDK, MixedRoute, encodeMixedRouteToPath } from '@uniswap/router-sdk';
|
|
10
|
-
import { TradeType, Percent
|
|
10
|
+
import { TradeType, Percent } from '@uniswap/sdk-core';
|
|
11
11
|
|
|
12
|
+
function _extends() {
|
|
13
|
+
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
14
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
15
|
+
var source = arguments[i];
|
|
16
|
+
for (var key in source) {
|
|
17
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
18
|
+
target[key] = source[key];
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
return target;
|
|
23
|
+
};
|
|
24
|
+
return _extends.apply(this, arguments);
|
|
25
|
+
}
|
|
12
26
|
function _inheritsLoose(subClass, superClass) {
|
|
13
27
|
subClass.prototype = Object.create(superClass.prototype);
|
|
14
28
|
subClass.prototype.constructor = subClass;
|
|
@@ -83,11 +97,11 @@ var CommandType;
|
|
|
83
97
|
CommandType[CommandType["PERMIT2_TRANSFER_FROM_BATCH"] = 13] = "PERMIT2_TRANSFER_FROM_BATCH";
|
|
84
98
|
CommandType[CommandType["BALANCE_CHECK_ERC20"] = 14] = "BALANCE_CHECK_ERC20";
|
|
85
99
|
// NFT-related command types
|
|
86
|
-
CommandType[CommandType["
|
|
87
|
-
CommandType[CommandType["
|
|
100
|
+
CommandType[CommandType["SEAPORT_V1_5"] = 16] = "SEAPORT_V1_5";
|
|
101
|
+
CommandType[CommandType["LOOKS_RARE_V2"] = 17] = "LOOKS_RARE_V2";
|
|
88
102
|
CommandType[CommandType["NFTX"] = 18] = "NFTX";
|
|
89
103
|
CommandType[CommandType["CRYPTOPUNKS"] = 19] = "CRYPTOPUNKS";
|
|
90
|
-
|
|
104
|
+
// 0x14
|
|
91
105
|
CommandType[CommandType["OWNER_CHECK_721"] = 21] = "OWNER_CHECK_721";
|
|
92
106
|
CommandType[CommandType["OWNER_CHECK_1155"] = 22] = "OWNER_CHECK_1155";
|
|
93
107
|
CommandType[CommandType["SWEEP_ERC721"] = 23] = "SWEEP_ERC721";
|
|
@@ -98,17 +112,17 @@ var CommandType;
|
|
|
98
112
|
CommandType[CommandType["FOUNDATION"] = 28] = "FOUNDATION";
|
|
99
113
|
CommandType[CommandType["SWEEP_ERC1155"] = 29] = "SWEEP_ERC1155";
|
|
100
114
|
CommandType[CommandType["ELEMENT_MARKET"] = 30] = "ELEMENT_MARKET";
|
|
101
|
-
CommandType[CommandType["
|
|
102
|
-
CommandType[CommandType["
|
|
115
|
+
CommandType[CommandType["SEAPORT_V1_4"] = 32] = "SEAPORT_V1_4";
|
|
116
|
+
CommandType[CommandType["EXECUTE_SUB_PLAN"] = 33] = "EXECUTE_SUB_PLAN";
|
|
103
117
|
CommandType[CommandType["APPROVE_ERC20"] = 34] = "APPROVE_ERC20";
|
|
104
118
|
})(CommandType || (CommandType = {}));
|
|
105
119
|
var ALLOW_REVERT_FLAG = 0x80;
|
|
106
|
-
var REVERTIBLE_COMMANDS = /*#__PURE__*/new Set([CommandType.
|
|
120
|
+
var REVERTIBLE_COMMANDS = /*#__PURE__*/new Set([CommandType.SEAPORT_V1_5, CommandType.SEAPORT_V1_4, CommandType.NFTX, CommandType.LOOKS_RARE_V2, CommandType.X2Y2_721, CommandType.X2Y2_1155, CommandType.FOUNDATION, CommandType.SUDOSWAP, CommandType.NFT20, CommandType.EXECUTE_SUB_PLAN, CommandType.CRYPTOPUNKS, CommandType.ELEMENT_MARKET]);
|
|
107
121
|
var PERMIT_STRUCT = '((address token,uint160 amount,uint48 expiration,uint48 nonce) details,address spender,uint256 sigDeadline)';
|
|
108
122
|
var PERMIT_BATCH_STRUCT = '((address token,uint160 amount,uint48 expiration,uint48 nonce)[] details,address spender,uint256 sigDeadline)';
|
|
109
123
|
var PERMIT2_TRANSFER_FROM_STRUCT = '(address from,address to,uint160 amount,address token)';
|
|
110
124
|
var PERMIT2_TRANSFER_FROM_BATCH_STRUCT = PERMIT2_TRANSFER_FROM_STRUCT + '[]';
|
|
111
|
-
var ABI_DEFINITION = (_ABI_DEFINITION = {}, _ABI_DEFINITION[CommandType.EXECUTE_SUB_PLAN] = ['bytes', 'bytes[]'], _ABI_DEFINITION[CommandType.PERMIT2_PERMIT] = [PERMIT_STRUCT, 'bytes'], _ABI_DEFINITION[CommandType.PERMIT2_PERMIT_BATCH] = [PERMIT_BATCH_STRUCT, 'bytes'], _ABI_DEFINITION[CommandType.PERMIT2_TRANSFER_FROM] = ['address', 'address', 'uint160'], _ABI_DEFINITION[CommandType.PERMIT2_TRANSFER_FROM_BATCH] = [PERMIT2_TRANSFER_FROM_BATCH_STRUCT], _ABI_DEFINITION[CommandType.V3_SWAP_EXACT_IN] = ['address', 'uint256', 'uint256', 'bytes', 'bool'], _ABI_DEFINITION[CommandType.V3_SWAP_EXACT_OUT] = ['address', 'uint256', 'uint256', 'bytes', 'bool'], _ABI_DEFINITION[CommandType.V2_SWAP_EXACT_IN] = ['address', 'uint256', 'uint256', 'address[]', 'bool'], _ABI_DEFINITION[CommandType.V2_SWAP_EXACT_OUT] = ['address', 'uint256', 'uint256', 'address[]', 'bool'], _ABI_DEFINITION[CommandType.WRAP_ETH] = ['address', 'uint256'], _ABI_DEFINITION[CommandType.UNWRAP_WETH] = ['address', 'uint256'], _ABI_DEFINITION[CommandType.SWEEP] = ['address', 'address', 'uint256'], _ABI_DEFINITION[CommandType.SWEEP_ERC721] = ['address', 'address', 'uint256'], _ABI_DEFINITION[CommandType.SWEEP_ERC1155] = ['address', 'address', 'uint256', 'uint256'], _ABI_DEFINITION[CommandType.TRANSFER] = ['address', 'address', 'uint256'], _ABI_DEFINITION[CommandType.PAY_PORTION] = ['address', 'address', 'uint256'], _ABI_DEFINITION[CommandType.BALANCE_CHECK_ERC20] = ['address', 'address', 'uint256'], _ABI_DEFINITION[CommandType.OWNER_CHECK_721] = ['address', 'address', 'uint256'], _ABI_DEFINITION[CommandType.OWNER_CHECK_1155] = ['address', 'address', 'uint256', 'uint256'], _ABI_DEFINITION[CommandType.APPROVE_ERC20] = ['address', 'uint256'], _ABI_DEFINITION[CommandType.
|
|
125
|
+
var ABI_DEFINITION = (_ABI_DEFINITION = {}, _ABI_DEFINITION[CommandType.EXECUTE_SUB_PLAN] = ['bytes', 'bytes[]'], _ABI_DEFINITION[CommandType.PERMIT2_PERMIT] = [PERMIT_STRUCT, 'bytes'], _ABI_DEFINITION[CommandType.PERMIT2_PERMIT_BATCH] = [PERMIT_BATCH_STRUCT, 'bytes'], _ABI_DEFINITION[CommandType.PERMIT2_TRANSFER_FROM] = ['address', 'address', 'uint160'], _ABI_DEFINITION[CommandType.PERMIT2_TRANSFER_FROM_BATCH] = [PERMIT2_TRANSFER_FROM_BATCH_STRUCT], _ABI_DEFINITION[CommandType.V3_SWAP_EXACT_IN] = ['address', 'uint256', 'uint256', 'bytes', 'bool'], _ABI_DEFINITION[CommandType.V3_SWAP_EXACT_OUT] = ['address', 'uint256', 'uint256', 'bytes', 'bool'], _ABI_DEFINITION[CommandType.V2_SWAP_EXACT_IN] = ['address', 'uint256', 'uint256', 'address[]', 'bool'], _ABI_DEFINITION[CommandType.V2_SWAP_EXACT_OUT] = ['address', 'uint256', 'uint256', 'address[]', 'bool'], _ABI_DEFINITION[CommandType.WRAP_ETH] = ['address', 'uint256'], _ABI_DEFINITION[CommandType.UNWRAP_WETH] = ['address', 'uint256'], _ABI_DEFINITION[CommandType.SWEEP] = ['address', 'address', 'uint256'], _ABI_DEFINITION[CommandType.SWEEP_ERC721] = ['address', 'address', 'uint256'], _ABI_DEFINITION[CommandType.SWEEP_ERC1155] = ['address', 'address', 'uint256', 'uint256'], _ABI_DEFINITION[CommandType.TRANSFER] = ['address', 'address', 'uint256'], _ABI_DEFINITION[CommandType.PAY_PORTION] = ['address', 'address', 'uint256'], _ABI_DEFINITION[CommandType.BALANCE_CHECK_ERC20] = ['address', 'address', 'uint256'], _ABI_DEFINITION[CommandType.OWNER_CHECK_721] = ['address', 'address', 'uint256'], _ABI_DEFINITION[CommandType.OWNER_CHECK_1155] = ['address', 'address', 'uint256', 'uint256'], _ABI_DEFINITION[CommandType.APPROVE_ERC20] = ['address', 'uint256'], _ABI_DEFINITION[CommandType.SEAPORT_V1_5] = ['uint256', 'bytes'], _ABI_DEFINITION[CommandType.SEAPORT_V1_4] = ['uint256', 'bytes'], _ABI_DEFINITION[CommandType.NFTX] = ['uint256', 'bytes'], _ABI_DEFINITION[CommandType.LOOKS_RARE_V2] = ['uint256', 'bytes'], _ABI_DEFINITION[CommandType.X2Y2_721] = ['uint256', 'bytes', 'address', 'address', 'uint256'], _ABI_DEFINITION[CommandType.X2Y2_1155] = ['uint256', 'bytes', 'address', 'address', 'uint256', 'uint256'], _ABI_DEFINITION[CommandType.FOUNDATION] = ['uint256', 'bytes', 'address', 'address', 'uint256'], _ABI_DEFINITION[CommandType.SUDOSWAP] = ['uint256', 'bytes'], _ABI_DEFINITION[CommandType.NFT20] = ['uint256', 'bytes'], _ABI_DEFINITION[CommandType.CRYPTOPUNKS] = ['uint256', 'address', 'uint256'], _ABI_DEFINITION[CommandType.ELEMENT_MARKET] = ['uint256', 'bytes'], _ABI_DEFINITION);
|
|
112
126
|
var RoutePlanner = /*#__PURE__*/function () {
|
|
113
127
|
function RoutePlanner() {
|
|
114
128
|
this.commands = '0x';
|
|
@@ -145,8 +159,8 @@ function createCommand(type, parameters) {
|
|
|
145
159
|
var UNIVERSAL_ROUTER_ADDRESS = function UNIVERSAL_ROUTER_ADDRESS(chainId) {
|
|
146
160
|
switch (chainId) {
|
|
147
161
|
case 1:
|
|
148
|
-
// mainnet
|
|
149
|
-
return '
|
|
162
|
+
// mainnet. UR v1.2, all others are v1
|
|
163
|
+
return '0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD';
|
|
150
164
|
case 5:
|
|
151
165
|
// goerli
|
|
152
166
|
return '0x4648a43B2C14Da09FdF82B161150d3F634f40491';
|
|
@@ -217,6 +231,7 @@ var WETH_ADDRESS = function WETH_ADDRESS(chainId) {
|
|
|
217
231
|
var PERMIT2_ADDRESS = '0x000000000022D473030F116dDEE9F6B43aC78BA3';
|
|
218
232
|
var CONTRACT_BALANCE = /*#__PURE__*/BigNumber.from(2).pow(255);
|
|
219
233
|
var ETH_ADDRESS = '0x0000000000000000000000000000000000000000';
|
|
234
|
+
var ZERO_ADDRESS = '0x0000000000000000000000000000000000000000';
|
|
220
235
|
var SENDER_AS_RECIPIENT = '0x0000000000000000000000000000000000000001';
|
|
221
236
|
var ROUTER_AS_RECIPIENT = '0x0000000000000000000000000000000000000002';
|
|
222
237
|
var OPENSEA_CONDUIT_SPENDER_ID = 0;
|
|
@@ -416,8 +431,8 @@ function encodeInputTokenOptions(planner, options) {
|
|
|
416
431
|
}
|
|
417
432
|
function mapApprovalProtocol(protocolAddress) {
|
|
418
433
|
switch (protocolAddress.toLowerCase()) {
|
|
419
|
-
case '
|
|
420
|
-
// Seaport v1.
|
|
434
|
+
case '0x00000000000000ADc04C56Bf30aC9d3c0aAF14dC':
|
|
435
|
+
// Seaport v1.5
|
|
421
436
|
return OPENSEA_CONDUIT_SPENDER_ID;
|
|
422
437
|
case '0x00000000000001ad428e4906ae43d8f9852d0dd6':
|
|
423
438
|
// Seaport v1.4
|
|
@@ -502,7 +517,8 @@ var SwapRouter = /*#__PURE__*/function () {
|
|
|
502
517
|
}
|
|
503
518
|
}
|
|
504
519
|
// TODO: matches current logic for now, but should eventually only sweep for multiple NFT trades
|
|
505
|
-
// or NFT trades with potential slippage (i.e. sudo)
|
|
520
|
+
// or NFT trades with potential slippage (i.e. sudo).
|
|
521
|
+
// Note: NFTXV2 sends excess ETH to the caller (router), not the specified recipient
|
|
506
522
|
if (nftTrades.length > 0) planner.addCommand(CommandType.SWEEP, [ETH_ADDRESS, SENDER_AS_RECIPIENT, 0]);
|
|
507
523
|
return SwapRouter.encodePlan(planner, transactionValue, config);
|
|
508
524
|
}
|
|
@@ -584,7 +600,7 @@ var NFTTrade = function NFTTrade(market, orders) {
|
|
|
584
600
|
var Market;
|
|
585
601
|
(function (Market) {
|
|
586
602
|
Market["Foundation"] = "foundation";
|
|
587
|
-
Market["
|
|
603
|
+
Market["LooksRareV2"] = "looksrareV2";
|
|
588
604
|
Market["NFT20"] = "nft20";
|
|
589
605
|
Market["NFTX"] = "nftx";
|
|
590
606
|
Market["Seaport"] = "seaport";
|
|
@@ -2300,27 +2316,22 @@ var abi$1 = [
|
|
|
2300
2316
|
inputs: [
|
|
2301
2317
|
{
|
|
2302
2318
|
internalType: "address",
|
|
2303
|
-
name: "
|
|
2304
|
-
type: "address"
|
|
2305
|
-
},
|
|
2306
|
-
{
|
|
2307
|
-
internalType: "address",
|
|
2308
|
-
name: "_executionManager",
|
|
2319
|
+
name: "_owner",
|
|
2309
2320
|
type: "address"
|
|
2310
2321
|
},
|
|
2311
2322
|
{
|
|
2312
2323
|
internalType: "address",
|
|
2313
|
-
name: "
|
|
2324
|
+
name: "_protocolFeeRecipient",
|
|
2314
2325
|
type: "address"
|
|
2315
2326
|
},
|
|
2316
2327
|
{
|
|
2317
2328
|
internalType: "address",
|
|
2318
|
-
name: "
|
|
2329
|
+
name: "_transferManager",
|
|
2319
2330
|
type: "address"
|
|
2320
2331
|
},
|
|
2321
2332
|
{
|
|
2322
2333
|
internalType: "address",
|
|
2323
|
-
name: "
|
|
2334
|
+
name: "_weth",
|
|
2324
2335
|
type: "address"
|
|
2325
2336
|
}
|
|
2326
2337
|
],
|
|
@@ -2328,162 +2339,361 @@ var abi$1 = [
|
|
|
2328
2339
|
type: "constructor"
|
|
2329
2340
|
},
|
|
2330
2341
|
{
|
|
2331
|
-
|
|
2342
|
+
inputs: [
|
|
2343
|
+
],
|
|
2344
|
+
name: "CallerInvalid",
|
|
2345
|
+
type: "error"
|
|
2346
|
+
},
|
|
2347
|
+
{
|
|
2348
|
+
inputs: [
|
|
2349
|
+
],
|
|
2350
|
+
name: "ChainIdInvalid",
|
|
2351
|
+
type: "error"
|
|
2352
|
+
},
|
|
2353
|
+
{
|
|
2354
|
+
inputs: [
|
|
2355
|
+
],
|
|
2356
|
+
name: "CreatorFeeBpTooHigh",
|
|
2357
|
+
type: "error"
|
|
2358
|
+
},
|
|
2359
|
+
{
|
|
2360
|
+
inputs: [
|
|
2361
|
+
],
|
|
2362
|
+
name: "CurrencyInvalid",
|
|
2363
|
+
type: "error"
|
|
2364
|
+
},
|
|
2365
|
+
{
|
|
2366
|
+
inputs: [
|
|
2367
|
+
],
|
|
2368
|
+
name: "ERC20TransferFromFail",
|
|
2369
|
+
type: "error"
|
|
2370
|
+
},
|
|
2371
|
+
{
|
|
2372
|
+
inputs: [
|
|
2373
|
+
],
|
|
2374
|
+
name: "LengthsInvalid",
|
|
2375
|
+
type: "error"
|
|
2376
|
+
},
|
|
2377
|
+
{
|
|
2378
|
+
inputs: [
|
|
2379
|
+
],
|
|
2380
|
+
name: "MerkleProofInvalid",
|
|
2381
|
+
type: "error"
|
|
2382
|
+
},
|
|
2383
|
+
{
|
|
2332
2384
|
inputs: [
|
|
2333
2385
|
{
|
|
2334
|
-
indexed: true,
|
|
2335
|
-
internalType: "address",
|
|
2336
|
-
name: "user",
|
|
2337
|
-
type: "address"
|
|
2338
|
-
},
|
|
2339
|
-
{
|
|
2340
|
-
indexed: false,
|
|
2341
2386
|
internalType: "uint256",
|
|
2342
|
-
name: "
|
|
2387
|
+
name: "length",
|
|
2343
2388
|
type: "uint256"
|
|
2344
2389
|
}
|
|
2345
2390
|
],
|
|
2346
|
-
name: "
|
|
2347
|
-
type: "
|
|
2391
|
+
name: "MerkleProofTooLarge",
|
|
2392
|
+
type: "error"
|
|
2393
|
+
},
|
|
2394
|
+
{
|
|
2395
|
+
inputs: [
|
|
2396
|
+
],
|
|
2397
|
+
name: "NewGasLimitETHTransferTooLow",
|
|
2398
|
+
type: "error"
|
|
2399
|
+
},
|
|
2400
|
+
{
|
|
2401
|
+
inputs: [
|
|
2402
|
+
],
|
|
2403
|
+
name: "NewProtocolFeeRecipientCannotBeNullAddress",
|
|
2404
|
+
type: "error"
|
|
2405
|
+
},
|
|
2406
|
+
{
|
|
2407
|
+
inputs: [
|
|
2408
|
+
],
|
|
2409
|
+
name: "NoOngoingTransferInProgress",
|
|
2410
|
+
type: "error"
|
|
2411
|
+
},
|
|
2412
|
+
{
|
|
2413
|
+
inputs: [
|
|
2414
|
+
],
|
|
2415
|
+
name: "NoSelectorForStrategy",
|
|
2416
|
+
type: "error"
|
|
2417
|
+
},
|
|
2418
|
+
{
|
|
2419
|
+
inputs: [
|
|
2420
|
+
],
|
|
2421
|
+
name: "NoncesInvalid",
|
|
2422
|
+
type: "error"
|
|
2423
|
+
},
|
|
2424
|
+
{
|
|
2425
|
+
inputs: [
|
|
2426
|
+
],
|
|
2427
|
+
name: "NotAContract",
|
|
2428
|
+
type: "error"
|
|
2429
|
+
},
|
|
2430
|
+
{
|
|
2431
|
+
inputs: [
|
|
2432
|
+
],
|
|
2433
|
+
name: "NotAffiliateController",
|
|
2434
|
+
type: "error"
|
|
2435
|
+
},
|
|
2436
|
+
{
|
|
2437
|
+
inputs: [
|
|
2438
|
+
],
|
|
2439
|
+
name: "NotOwner",
|
|
2440
|
+
type: "error"
|
|
2441
|
+
},
|
|
2442
|
+
{
|
|
2443
|
+
inputs: [
|
|
2444
|
+
],
|
|
2445
|
+
name: "NotV2Strategy",
|
|
2446
|
+
type: "error"
|
|
2447
|
+
},
|
|
2448
|
+
{
|
|
2449
|
+
inputs: [
|
|
2450
|
+
],
|
|
2451
|
+
name: "NullSignerAddress",
|
|
2452
|
+
type: "error"
|
|
2453
|
+
},
|
|
2454
|
+
{
|
|
2455
|
+
inputs: [
|
|
2456
|
+
],
|
|
2457
|
+
name: "OutsideOfTimeRange",
|
|
2458
|
+
type: "error"
|
|
2459
|
+
},
|
|
2460
|
+
{
|
|
2461
|
+
inputs: [
|
|
2462
|
+
],
|
|
2463
|
+
name: "PercentageTooHigh",
|
|
2464
|
+
type: "error"
|
|
2465
|
+
},
|
|
2466
|
+
{
|
|
2467
|
+
inputs: [
|
|
2468
|
+
],
|
|
2469
|
+
name: "QuoteTypeInvalid",
|
|
2470
|
+
type: "error"
|
|
2471
|
+
},
|
|
2472
|
+
{
|
|
2473
|
+
inputs: [
|
|
2474
|
+
],
|
|
2475
|
+
name: "ReentrancyFail",
|
|
2476
|
+
type: "error"
|
|
2477
|
+
},
|
|
2478
|
+
{
|
|
2479
|
+
inputs: [
|
|
2480
|
+
],
|
|
2481
|
+
name: "RenouncementNotInProgress",
|
|
2482
|
+
type: "error"
|
|
2483
|
+
},
|
|
2484
|
+
{
|
|
2485
|
+
inputs: [
|
|
2486
|
+
],
|
|
2487
|
+
name: "SameDomainSeparator",
|
|
2488
|
+
type: "error"
|
|
2489
|
+
},
|
|
2490
|
+
{
|
|
2491
|
+
inputs: [
|
|
2492
|
+
],
|
|
2493
|
+
name: "SignatureEOAInvalid",
|
|
2494
|
+
type: "error"
|
|
2495
|
+
},
|
|
2496
|
+
{
|
|
2497
|
+
inputs: [
|
|
2498
|
+
],
|
|
2499
|
+
name: "SignatureERC1271Invalid",
|
|
2500
|
+
type: "error"
|
|
2348
2501
|
},
|
|
2349
2502
|
{
|
|
2350
|
-
anonymous: false,
|
|
2351
2503
|
inputs: [
|
|
2352
2504
|
{
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2505
|
+
internalType: "uint256",
|
|
2506
|
+
name: "length",
|
|
2507
|
+
type: "uint256"
|
|
2508
|
+
}
|
|
2509
|
+
],
|
|
2510
|
+
name: "SignatureLengthInvalid",
|
|
2511
|
+
type: "error"
|
|
2512
|
+
},
|
|
2513
|
+
{
|
|
2514
|
+
inputs: [
|
|
2515
|
+
],
|
|
2516
|
+
name: "SignatureParameterSInvalid",
|
|
2517
|
+
type: "error"
|
|
2518
|
+
},
|
|
2519
|
+
{
|
|
2520
|
+
inputs: [
|
|
2358
2521
|
{
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
type: "uint256[]"
|
|
2522
|
+
internalType: "uint8",
|
|
2523
|
+
name: "v",
|
|
2524
|
+
type: "uint8"
|
|
2363
2525
|
}
|
|
2364
2526
|
],
|
|
2365
|
-
name: "
|
|
2366
|
-
type: "
|
|
2527
|
+
name: "SignatureParameterVInvalid",
|
|
2528
|
+
type: "error"
|
|
2529
|
+
},
|
|
2530
|
+
{
|
|
2531
|
+
inputs: [
|
|
2532
|
+
],
|
|
2533
|
+
name: "StrategyHasNoSelector",
|
|
2534
|
+
type: "error"
|
|
2367
2535
|
},
|
|
2368
2536
|
{
|
|
2369
|
-
anonymous: false,
|
|
2370
2537
|
inputs: [
|
|
2371
2538
|
{
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
type: "address"
|
|
2539
|
+
internalType: "uint256",
|
|
2540
|
+
name: "strategyId",
|
|
2541
|
+
type: "uint256"
|
|
2376
2542
|
}
|
|
2377
2543
|
],
|
|
2378
|
-
name: "
|
|
2379
|
-
type: "
|
|
2544
|
+
name: "StrategyNotAvailable",
|
|
2545
|
+
type: "error"
|
|
2546
|
+
},
|
|
2547
|
+
{
|
|
2548
|
+
inputs: [
|
|
2549
|
+
],
|
|
2550
|
+
name: "StrategyNotUsed",
|
|
2551
|
+
type: "error"
|
|
2552
|
+
},
|
|
2553
|
+
{
|
|
2554
|
+
inputs: [
|
|
2555
|
+
],
|
|
2556
|
+
name: "StrategyProtocolFeeTooHigh",
|
|
2557
|
+
type: "error"
|
|
2558
|
+
},
|
|
2559
|
+
{
|
|
2560
|
+
inputs: [
|
|
2561
|
+
],
|
|
2562
|
+
name: "TransferAlreadyInProgress",
|
|
2563
|
+
type: "error"
|
|
2564
|
+
},
|
|
2565
|
+
{
|
|
2566
|
+
inputs: [
|
|
2567
|
+
],
|
|
2568
|
+
name: "TransferNotInProgress",
|
|
2569
|
+
type: "error"
|
|
2570
|
+
},
|
|
2571
|
+
{
|
|
2572
|
+
inputs: [
|
|
2573
|
+
],
|
|
2574
|
+
name: "WrongPotentialOwner",
|
|
2575
|
+
type: "error"
|
|
2380
2576
|
},
|
|
2381
2577
|
{
|
|
2382
2578
|
anonymous: false,
|
|
2383
2579
|
inputs: [
|
|
2384
2580
|
{
|
|
2385
|
-
indexed:
|
|
2581
|
+
indexed: false,
|
|
2386
2582
|
internalType: "address",
|
|
2387
|
-
name: "
|
|
2583
|
+
name: "affiliate",
|
|
2388
2584
|
type: "address"
|
|
2585
|
+
},
|
|
2586
|
+
{
|
|
2587
|
+
indexed: false,
|
|
2588
|
+
internalType: "address",
|
|
2589
|
+
name: "currency",
|
|
2590
|
+
type: "address"
|
|
2591
|
+
},
|
|
2592
|
+
{
|
|
2593
|
+
indexed: false,
|
|
2594
|
+
internalType: "uint256",
|
|
2595
|
+
name: "affiliateFee",
|
|
2596
|
+
type: "uint256"
|
|
2389
2597
|
}
|
|
2390
2598
|
],
|
|
2391
|
-
name: "
|
|
2599
|
+
name: "AffiliatePayment",
|
|
2392
2600
|
type: "event"
|
|
2393
2601
|
},
|
|
2394
2602
|
{
|
|
2395
2603
|
anonymous: false,
|
|
2396
2604
|
inputs: [
|
|
2397
|
-
{
|
|
2398
|
-
indexed: true,
|
|
2399
|
-
internalType: "address",
|
|
2400
|
-
name: "protocolFeeRecipient",
|
|
2401
|
-
type: "address"
|
|
2402
|
-
}
|
|
2403
2605
|
],
|
|
2404
|
-
name: "
|
|
2606
|
+
name: "CancelOwnershipTransfer",
|
|
2405
2607
|
type: "event"
|
|
2406
2608
|
},
|
|
2407
2609
|
{
|
|
2408
2610
|
anonymous: false,
|
|
2409
2611
|
inputs: [
|
|
2410
2612
|
{
|
|
2411
|
-
indexed:
|
|
2613
|
+
indexed: false,
|
|
2412
2614
|
internalType: "address",
|
|
2413
|
-
name: "
|
|
2615
|
+
name: "currency",
|
|
2414
2616
|
type: "address"
|
|
2617
|
+
},
|
|
2618
|
+
{
|
|
2619
|
+
indexed: false,
|
|
2620
|
+
internalType: "bool",
|
|
2621
|
+
name: "isAllowed",
|
|
2622
|
+
type: "bool"
|
|
2415
2623
|
}
|
|
2416
2624
|
],
|
|
2417
|
-
name: "
|
|
2625
|
+
name: "CurrencyStatusUpdated",
|
|
2418
2626
|
type: "event"
|
|
2419
2627
|
},
|
|
2420
2628
|
{
|
|
2421
2629
|
anonymous: false,
|
|
2422
2630
|
inputs: [
|
|
2423
|
-
{
|
|
2424
|
-
indexed: true,
|
|
2425
|
-
internalType: "address",
|
|
2426
|
-
name: "transferSelectorNFT",
|
|
2427
|
-
type: "address"
|
|
2428
|
-
}
|
|
2429
2631
|
],
|
|
2430
|
-
name: "
|
|
2632
|
+
name: "InitiateOwnershipRenouncement",
|
|
2431
2633
|
type: "event"
|
|
2432
2634
|
},
|
|
2433
2635
|
{
|
|
2434
2636
|
anonymous: false,
|
|
2435
2637
|
inputs: [
|
|
2436
2638
|
{
|
|
2437
|
-
indexed:
|
|
2639
|
+
indexed: false,
|
|
2438
2640
|
internalType: "address",
|
|
2439
2641
|
name: "previousOwner",
|
|
2440
2642
|
type: "address"
|
|
2441
2643
|
},
|
|
2442
2644
|
{
|
|
2443
|
-
indexed:
|
|
2645
|
+
indexed: false,
|
|
2444
2646
|
internalType: "address",
|
|
2445
|
-
name: "
|
|
2647
|
+
name: "potentialOwner",
|
|
2446
2648
|
type: "address"
|
|
2447
2649
|
}
|
|
2448
2650
|
],
|
|
2449
|
-
name: "
|
|
2651
|
+
name: "InitiateOwnershipTransfer",
|
|
2450
2652
|
type: "event"
|
|
2451
2653
|
},
|
|
2452
2654
|
{
|
|
2453
2655
|
anonymous: false,
|
|
2454
2656
|
inputs: [
|
|
2455
2657
|
{
|
|
2456
|
-
indexed:
|
|
2658
|
+
indexed: false,
|
|
2457
2659
|
internalType: "address",
|
|
2458
|
-
name: "
|
|
2660
|
+
name: "affiliateController",
|
|
2459
2661
|
type: "address"
|
|
2460
|
-
}
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2662
|
+
}
|
|
2663
|
+
],
|
|
2664
|
+
name: "NewAffiliateController",
|
|
2665
|
+
type: "event"
|
|
2666
|
+
},
|
|
2667
|
+
{
|
|
2668
|
+
anonymous: false,
|
|
2669
|
+
inputs: [
|
|
2467
2670
|
{
|
|
2468
|
-
indexed:
|
|
2469
|
-
internalType: "
|
|
2470
|
-
name: "
|
|
2471
|
-
type: "
|
|
2472
|
-
}
|
|
2671
|
+
indexed: false,
|
|
2672
|
+
internalType: "bool",
|
|
2673
|
+
name: "isActive",
|
|
2674
|
+
type: "bool"
|
|
2675
|
+
}
|
|
2676
|
+
],
|
|
2677
|
+
name: "NewAffiliateProgramStatus",
|
|
2678
|
+
type: "event"
|
|
2679
|
+
},
|
|
2680
|
+
{
|
|
2681
|
+
anonymous: false,
|
|
2682
|
+
inputs: [
|
|
2473
2683
|
{
|
|
2474
2684
|
indexed: false,
|
|
2475
2685
|
internalType: "address",
|
|
2476
|
-
name: "
|
|
2686
|
+
name: "affiliate",
|
|
2477
2687
|
type: "address"
|
|
2478
2688
|
},
|
|
2479
2689
|
{
|
|
2480
2690
|
indexed: false,
|
|
2481
2691
|
internalType: "uint256",
|
|
2482
|
-
name: "
|
|
2692
|
+
name: "rate",
|
|
2483
2693
|
type: "uint256"
|
|
2484
2694
|
}
|
|
2485
2695
|
],
|
|
2486
|
-
name: "
|
|
2696
|
+
name: "NewAffiliateRate",
|
|
2487
2697
|
type: "event"
|
|
2488
2698
|
},
|
|
2489
2699
|
{
|
|
@@ -2491,66 +2701,83 @@ var abi$1 = [
|
|
|
2491
2701
|
inputs: [
|
|
2492
2702
|
{
|
|
2493
2703
|
indexed: false,
|
|
2494
|
-
internalType: "
|
|
2495
|
-
name: "
|
|
2496
|
-
type: "
|
|
2704
|
+
internalType: "address",
|
|
2705
|
+
name: "user",
|
|
2706
|
+
type: "address"
|
|
2497
2707
|
},
|
|
2498
2708
|
{
|
|
2499
2709
|
indexed: false,
|
|
2500
2710
|
internalType: "uint256",
|
|
2501
|
-
name: "
|
|
2711
|
+
name: "bidNonce",
|
|
2502
2712
|
type: "uint256"
|
|
2503
2713
|
},
|
|
2504
|
-
{
|
|
2505
|
-
indexed: true,
|
|
2506
|
-
internalType: "address",
|
|
2507
|
-
name: "taker",
|
|
2508
|
-
type: "address"
|
|
2509
|
-
},
|
|
2510
|
-
{
|
|
2511
|
-
indexed: true,
|
|
2512
|
-
internalType: "address",
|
|
2513
|
-
name: "maker",
|
|
2514
|
-
type: "address"
|
|
2515
|
-
},
|
|
2516
|
-
{
|
|
2517
|
-
indexed: true,
|
|
2518
|
-
internalType: "address",
|
|
2519
|
-
name: "strategy",
|
|
2520
|
-
type: "address"
|
|
2521
|
-
},
|
|
2522
2714
|
{
|
|
2523
2715
|
indexed: false,
|
|
2524
|
-
internalType: "
|
|
2525
|
-
name: "
|
|
2526
|
-
type: "
|
|
2527
|
-
}
|
|
2716
|
+
internalType: "uint256",
|
|
2717
|
+
name: "askNonce",
|
|
2718
|
+
type: "uint256"
|
|
2719
|
+
}
|
|
2720
|
+
],
|
|
2721
|
+
name: "NewBidAskNonces",
|
|
2722
|
+
type: "event"
|
|
2723
|
+
},
|
|
2724
|
+
{
|
|
2725
|
+
anonymous: false,
|
|
2726
|
+
inputs: [
|
|
2528
2727
|
{
|
|
2529
2728
|
indexed: false,
|
|
2530
2729
|
internalType: "address",
|
|
2531
|
-
name: "
|
|
2730
|
+
name: "creatorFeeManager",
|
|
2532
2731
|
type: "address"
|
|
2533
|
-
}
|
|
2732
|
+
}
|
|
2733
|
+
],
|
|
2734
|
+
name: "NewCreatorFeeManager",
|
|
2735
|
+
type: "event"
|
|
2736
|
+
},
|
|
2737
|
+
{
|
|
2738
|
+
anonymous: false,
|
|
2739
|
+
inputs: [
|
|
2740
|
+
],
|
|
2741
|
+
name: "NewDomainSeparator",
|
|
2742
|
+
type: "event"
|
|
2743
|
+
},
|
|
2744
|
+
{
|
|
2745
|
+
anonymous: false,
|
|
2746
|
+
inputs: [
|
|
2534
2747
|
{
|
|
2535
2748
|
indexed: false,
|
|
2536
2749
|
internalType: "uint256",
|
|
2537
|
-
name: "
|
|
2750
|
+
name: "gasLimitETHTransfer",
|
|
2538
2751
|
type: "uint256"
|
|
2539
|
-
}
|
|
2752
|
+
}
|
|
2753
|
+
],
|
|
2754
|
+
name: "NewGasLimitETHTransfer",
|
|
2755
|
+
type: "event"
|
|
2756
|
+
},
|
|
2757
|
+
{
|
|
2758
|
+
anonymous: false,
|
|
2759
|
+
inputs: [
|
|
2540
2760
|
{
|
|
2541
2761
|
indexed: false,
|
|
2542
2762
|
internalType: "uint256",
|
|
2543
|
-
name: "
|
|
2763
|
+
name: "maxCreatorFeeBp",
|
|
2544
2764
|
type: "uint256"
|
|
2545
|
-
}
|
|
2765
|
+
}
|
|
2766
|
+
],
|
|
2767
|
+
name: "NewMaxCreatorFeeBp",
|
|
2768
|
+
type: "event"
|
|
2769
|
+
},
|
|
2770
|
+
{
|
|
2771
|
+
anonymous: false,
|
|
2772
|
+
inputs: [
|
|
2546
2773
|
{
|
|
2547
2774
|
indexed: false,
|
|
2548
|
-
internalType: "
|
|
2549
|
-
name: "
|
|
2550
|
-
type: "
|
|
2775
|
+
internalType: "address",
|
|
2776
|
+
name: "newOwner",
|
|
2777
|
+
type: "address"
|
|
2551
2778
|
}
|
|
2552
2779
|
],
|
|
2553
|
-
name: "
|
|
2780
|
+
name: "NewOwner",
|
|
2554
2781
|
type: "event"
|
|
2555
2782
|
},
|
|
2556
2783
|
{
|
|
@@ -2558,250 +2785,703 @@ var abi$1 = [
|
|
|
2558
2785
|
inputs: [
|
|
2559
2786
|
{
|
|
2560
2787
|
indexed: false,
|
|
2561
|
-
internalType: "
|
|
2562
|
-
name: "
|
|
2563
|
-
type: "
|
|
2564
|
-
}
|
|
2788
|
+
internalType: "address",
|
|
2789
|
+
name: "protocolFeeRecipient",
|
|
2790
|
+
type: "address"
|
|
2791
|
+
}
|
|
2792
|
+
],
|
|
2793
|
+
name: "NewProtocolFeeRecipient",
|
|
2794
|
+
type: "event"
|
|
2795
|
+
},
|
|
2796
|
+
{
|
|
2797
|
+
anonymous: false,
|
|
2798
|
+
inputs: [
|
|
2565
2799
|
{
|
|
2566
2800
|
indexed: false,
|
|
2567
2801
|
internalType: "uint256",
|
|
2568
|
-
name: "
|
|
2802
|
+
name: "strategyId",
|
|
2569
2803
|
type: "uint256"
|
|
2570
2804
|
},
|
|
2571
2805
|
{
|
|
2572
|
-
indexed:
|
|
2573
|
-
internalType: "
|
|
2574
|
-
name: "
|
|
2575
|
-
type: "
|
|
2576
|
-
},
|
|
2577
|
-
{
|
|
2578
|
-
indexed: true,
|
|
2579
|
-
internalType: "address",
|
|
2580
|
-
name: "maker",
|
|
2581
|
-
type: "address"
|
|
2582
|
-
},
|
|
2583
|
-
{
|
|
2584
|
-
indexed: true,
|
|
2585
|
-
internalType: "address",
|
|
2586
|
-
name: "strategy",
|
|
2587
|
-
type: "address"
|
|
2806
|
+
indexed: false,
|
|
2807
|
+
internalType: "uint16",
|
|
2808
|
+
name: "standardProtocolFeeBp",
|
|
2809
|
+
type: "uint16"
|
|
2588
2810
|
},
|
|
2589
2811
|
{
|
|
2590
2812
|
indexed: false,
|
|
2591
|
-
internalType: "
|
|
2592
|
-
name: "
|
|
2593
|
-
type: "
|
|
2813
|
+
internalType: "uint16",
|
|
2814
|
+
name: "minTotalFeeBp",
|
|
2815
|
+
type: "uint16"
|
|
2594
2816
|
},
|
|
2595
2817
|
{
|
|
2596
2818
|
indexed: false,
|
|
2597
|
-
internalType: "
|
|
2598
|
-
name: "
|
|
2599
|
-
type: "
|
|
2819
|
+
internalType: "uint16",
|
|
2820
|
+
name: "maxProtocolFeeBp",
|
|
2821
|
+
type: "uint16"
|
|
2600
2822
|
},
|
|
2601
2823
|
{
|
|
2602
2824
|
indexed: false,
|
|
2603
|
-
internalType: "
|
|
2604
|
-
name: "
|
|
2605
|
-
type: "
|
|
2825
|
+
internalType: "bytes4",
|
|
2826
|
+
name: "selector",
|
|
2827
|
+
type: "bytes4"
|
|
2606
2828
|
},
|
|
2607
2829
|
{
|
|
2608
2830
|
indexed: false,
|
|
2609
|
-
internalType: "
|
|
2610
|
-
name: "
|
|
2611
|
-
type: "
|
|
2831
|
+
internalType: "bool",
|
|
2832
|
+
name: "isMakerBid",
|
|
2833
|
+
type: "bool"
|
|
2612
2834
|
},
|
|
2613
2835
|
{
|
|
2614
2836
|
indexed: false,
|
|
2615
|
-
internalType: "
|
|
2616
|
-
name: "
|
|
2617
|
-
type: "
|
|
2837
|
+
internalType: "address",
|
|
2838
|
+
name: "implementation",
|
|
2839
|
+
type: "address"
|
|
2618
2840
|
}
|
|
2619
2841
|
],
|
|
2620
|
-
name: "
|
|
2842
|
+
name: "NewStrategy",
|
|
2621
2843
|
type: "event"
|
|
2622
2844
|
},
|
|
2623
2845
|
{
|
|
2846
|
+
anonymous: false,
|
|
2624
2847
|
inputs: [
|
|
2625
|
-
],
|
|
2626
|
-
name: "DOMAIN_SEPARATOR",
|
|
2627
|
-
outputs: [
|
|
2628
|
-
{
|
|
2629
|
-
internalType: "bytes32",
|
|
2630
|
-
name: "",
|
|
2631
|
-
type: "bytes32"
|
|
2632
|
-
}
|
|
2633
|
-
],
|
|
2634
|
-
stateMutability: "view",
|
|
2635
|
-
type: "function"
|
|
2636
|
-
},
|
|
2637
|
-
{
|
|
2638
|
-
inputs: [
|
|
2639
|
-
],
|
|
2640
|
-
name: "WETH",
|
|
2641
|
-
outputs: [
|
|
2642
2848
|
{
|
|
2849
|
+
indexed: false,
|
|
2643
2850
|
internalType: "address",
|
|
2644
|
-
name: "",
|
|
2851
|
+
name: "user",
|
|
2645
2852
|
type: "address"
|
|
2646
|
-
}
|
|
2647
|
-
],
|
|
2648
|
-
stateMutability: "view",
|
|
2649
|
-
type: "function"
|
|
2650
|
-
},
|
|
2651
|
-
{
|
|
2652
|
-
inputs: [
|
|
2653
|
-
{
|
|
2654
|
-
internalType: "uint256",
|
|
2655
|
-
name: "minNonce",
|
|
2656
|
-
type: "uint256"
|
|
2657
|
-
}
|
|
2658
|
-
],
|
|
2659
|
-
name: "cancelAllOrdersForSender",
|
|
2660
|
-
outputs: [
|
|
2661
|
-
],
|
|
2662
|
-
stateMutability: "nonpayable",
|
|
2663
|
-
type: "function"
|
|
2664
|
-
},
|
|
2665
|
-
{
|
|
2666
|
-
inputs: [
|
|
2853
|
+
},
|
|
2667
2854
|
{
|
|
2855
|
+
indexed: false,
|
|
2668
2856
|
internalType: "uint256[]",
|
|
2669
2857
|
name: "orderNonces",
|
|
2670
2858
|
type: "uint256[]"
|
|
2671
2859
|
}
|
|
2672
2860
|
],
|
|
2673
|
-
name: "
|
|
2674
|
-
|
|
2675
|
-
],
|
|
2676
|
-
stateMutability: "nonpayable",
|
|
2677
|
-
type: "function"
|
|
2861
|
+
name: "OrderNoncesCancelled",
|
|
2862
|
+
type: "event"
|
|
2678
2863
|
},
|
|
2679
2864
|
{
|
|
2865
|
+
anonymous: false,
|
|
2680
2866
|
inputs: [
|
|
2681
|
-
],
|
|
2682
|
-
name: "currencyManager",
|
|
2683
|
-
outputs: [
|
|
2684
2867
|
{
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
stateMutability: "view",
|
|
2691
|
-
type: "function"
|
|
2692
|
-
},
|
|
2693
|
-
{
|
|
2694
|
-
inputs: [
|
|
2695
|
-
],
|
|
2696
|
-
name: "executionManager",
|
|
2697
|
-
outputs: [
|
|
2868
|
+
indexed: false,
|
|
2869
|
+
internalType: "uint256",
|
|
2870
|
+
name: "strategyId",
|
|
2871
|
+
type: "uint256"
|
|
2872
|
+
},
|
|
2698
2873
|
{
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2874
|
+
indexed: false,
|
|
2875
|
+
internalType: "bool",
|
|
2876
|
+
name: "isActive",
|
|
2877
|
+
type: "bool"
|
|
2878
|
+
},
|
|
2879
|
+
{
|
|
2880
|
+
indexed: false,
|
|
2881
|
+
internalType: "uint16",
|
|
2882
|
+
name: "standardProtocolFeeBp",
|
|
2883
|
+
type: "uint16"
|
|
2884
|
+
},
|
|
2885
|
+
{
|
|
2886
|
+
indexed: false,
|
|
2887
|
+
internalType: "uint16",
|
|
2888
|
+
name: "minTotalFeeBp",
|
|
2889
|
+
type: "uint16"
|
|
2702
2890
|
}
|
|
2703
2891
|
],
|
|
2704
|
-
|
|
2705
|
-
type: "
|
|
2892
|
+
name: "StrategyUpdated",
|
|
2893
|
+
type: "event"
|
|
2706
2894
|
},
|
|
2707
2895
|
{
|
|
2896
|
+
anonymous: false,
|
|
2708
2897
|
inputs: [
|
|
2709
2898
|
{
|
|
2899
|
+
indexed: false,
|
|
2710
2900
|
internalType: "address",
|
|
2711
2901
|
name: "user",
|
|
2712
2902
|
type: "address"
|
|
2713
2903
|
},
|
|
2714
2904
|
{
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
],
|
|
2720
|
-
name: "isUserOrderNonceExecutedOrCancelled",
|
|
2721
|
-
outputs: [
|
|
2722
|
-
{
|
|
2723
|
-
internalType: "bool",
|
|
2724
|
-
name: "",
|
|
2725
|
-
type: "bool"
|
|
2905
|
+
indexed: false,
|
|
2906
|
+
internalType: "uint256[]",
|
|
2907
|
+
name: "subsetNonces",
|
|
2908
|
+
type: "uint256[]"
|
|
2726
2909
|
}
|
|
2727
2910
|
],
|
|
2728
|
-
|
|
2729
|
-
type: "
|
|
2911
|
+
name: "SubsetNoncesCancelled",
|
|
2912
|
+
type: "event"
|
|
2730
2913
|
},
|
|
2731
2914
|
{
|
|
2915
|
+
anonymous: false,
|
|
2732
2916
|
inputs: [
|
|
2733
2917
|
{
|
|
2734
2918
|
components: [
|
|
2735
2919
|
{
|
|
2736
|
-
internalType: "
|
|
2737
|
-
name: "
|
|
2920
|
+
internalType: "bytes32",
|
|
2921
|
+
name: "orderHash",
|
|
2922
|
+
type: "bytes32"
|
|
2923
|
+
},
|
|
2924
|
+
{
|
|
2925
|
+
internalType: "uint256",
|
|
2926
|
+
name: "orderNonce",
|
|
2927
|
+
type: "uint256"
|
|
2928
|
+
},
|
|
2929
|
+
{
|
|
2930
|
+
internalType: "bool",
|
|
2931
|
+
name: "isNonceInvalidated",
|
|
2932
|
+
type: "bool"
|
|
2933
|
+
}
|
|
2934
|
+
],
|
|
2935
|
+
indexed: false,
|
|
2936
|
+
internalType: "struct ILooksRareProtocol.NonceInvalidationParameters",
|
|
2937
|
+
name: "nonceInvalidationParameters",
|
|
2938
|
+
type: "tuple"
|
|
2939
|
+
},
|
|
2940
|
+
{
|
|
2941
|
+
indexed: false,
|
|
2942
|
+
internalType: "address",
|
|
2943
|
+
name: "askUser",
|
|
2944
|
+
type: "address"
|
|
2945
|
+
},
|
|
2946
|
+
{
|
|
2947
|
+
indexed: false,
|
|
2948
|
+
internalType: "address",
|
|
2949
|
+
name: "bidUser",
|
|
2950
|
+
type: "address"
|
|
2951
|
+
},
|
|
2952
|
+
{
|
|
2953
|
+
indexed: false,
|
|
2954
|
+
internalType: "uint256",
|
|
2955
|
+
name: "strategyId",
|
|
2956
|
+
type: "uint256"
|
|
2957
|
+
},
|
|
2958
|
+
{
|
|
2959
|
+
indexed: false,
|
|
2960
|
+
internalType: "address",
|
|
2961
|
+
name: "currency",
|
|
2962
|
+
type: "address"
|
|
2963
|
+
},
|
|
2964
|
+
{
|
|
2965
|
+
indexed: false,
|
|
2966
|
+
internalType: "address",
|
|
2967
|
+
name: "collection",
|
|
2968
|
+
type: "address"
|
|
2969
|
+
},
|
|
2970
|
+
{
|
|
2971
|
+
indexed: false,
|
|
2972
|
+
internalType: "uint256[]",
|
|
2973
|
+
name: "itemIds",
|
|
2974
|
+
type: "uint256[]"
|
|
2975
|
+
},
|
|
2976
|
+
{
|
|
2977
|
+
indexed: false,
|
|
2978
|
+
internalType: "uint256[]",
|
|
2979
|
+
name: "amounts",
|
|
2980
|
+
type: "uint256[]"
|
|
2981
|
+
},
|
|
2982
|
+
{
|
|
2983
|
+
indexed: false,
|
|
2984
|
+
internalType: "address[2]",
|
|
2985
|
+
name: "feeRecipients",
|
|
2986
|
+
type: "address[2]"
|
|
2987
|
+
},
|
|
2988
|
+
{
|
|
2989
|
+
indexed: false,
|
|
2990
|
+
internalType: "uint256[3]",
|
|
2991
|
+
name: "feeAmounts",
|
|
2992
|
+
type: "uint256[3]"
|
|
2993
|
+
}
|
|
2994
|
+
],
|
|
2995
|
+
name: "TakerAsk",
|
|
2996
|
+
type: "event"
|
|
2997
|
+
},
|
|
2998
|
+
{
|
|
2999
|
+
anonymous: false,
|
|
3000
|
+
inputs: [
|
|
3001
|
+
{
|
|
3002
|
+
components: [
|
|
3003
|
+
{
|
|
3004
|
+
internalType: "bytes32",
|
|
3005
|
+
name: "orderHash",
|
|
3006
|
+
type: "bytes32"
|
|
3007
|
+
},
|
|
3008
|
+
{
|
|
3009
|
+
internalType: "uint256",
|
|
3010
|
+
name: "orderNonce",
|
|
3011
|
+
type: "uint256"
|
|
3012
|
+
},
|
|
3013
|
+
{
|
|
3014
|
+
internalType: "bool",
|
|
3015
|
+
name: "isNonceInvalidated",
|
|
2738
3016
|
type: "bool"
|
|
3017
|
+
}
|
|
3018
|
+
],
|
|
3019
|
+
indexed: false,
|
|
3020
|
+
internalType: "struct ILooksRareProtocol.NonceInvalidationParameters",
|
|
3021
|
+
name: "nonceInvalidationParameters",
|
|
3022
|
+
type: "tuple"
|
|
3023
|
+
},
|
|
3024
|
+
{
|
|
3025
|
+
indexed: false,
|
|
3026
|
+
internalType: "address",
|
|
3027
|
+
name: "bidUser",
|
|
3028
|
+
type: "address"
|
|
3029
|
+
},
|
|
3030
|
+
{
|
|
3031
|
+
indexed: false,
|
|
3032
|
+
internalType: "address",
|
|
3033
|
+
name: "bidRecipient",
|
|
3034
|
+
type: "address"
|
|
3035
|
+
},
|
|
3036
|
+
{
|
|
3037
|
+
indexed: false,
|
|
3038
|
+
internalType: "uint256",
|
|
3039
|
+
name: "strategyId",
|
|
3040
|
+
type: "uint256"
|
|
3041
|
+
},
|
|
3042
|
+
{
|
|
3043
|
+
indexed: false,
|
|
3044
|
+
internalType: "address",
|
|
3045
|
+
name: "currency",
|
|
3046
|
+
type: "address"
|
|
3047
|
+
},
|
|
3048
|
+
{
|
|
3049
|
+
indexed: false,
|
|
3050
|
+
internalType: "address",
|
|
3051
|
+
name: "collection",
|
|
3052
|
+
type: "address"
|
|
3053
|
+
},
|
|
3054
|
+
{
|
|
3055
|
+
indexed: false,
|
|
3056
|
+
internalType: "uint256[]",
|
|
3057
|
+
name: "itemIds",
|
|
3058
|
+
type: "uint256[]"
|
|
3059
|
+
},
|
|
3060
|
+
{
|
|
3061
|
+
indexed: false,
|
|
3062
|
+
internalType: "uint256[]",
|
|
3063
|
+
name: "amounts",
|
|
3064
|
+
type: "uint256[]"
|
|
3065
|
+
},
|
|
3066
|
+
{
|
|
3067
|
+
indexed: false,
|
|
3068
|
+
internalType: "address[2]",
|
|
3069
|
+
name: "feeRecipients",
|
|
3070
|
+
type: "address[2]"
|
|
3071
|
+
},
|
|
3072
|
+
{
|
|
3073
|
+
indexed: false,
|
|
3074
|
+
internalType: "uint256[3]",
|
|
3075
|
+
name: "feeAmounts",
|
|
3076
|
+
type: "uint256[3]"
|
|
3077
|
+
}
|
|
3078
|
+
],
|
|
3079
|
+
name: "TakerBid",
|
|
3080
|
+
type: "event"
|
|
3081
|
+
},
|
|
3082
|
+
{
|
|
3083
|
+
inputs: [
|
|
3084
|
+
],
|
|
3085
|
+
name: "MAGIC_VALUE_ORDER_NONCE_EXECUTED",
|
|
3086
|
+
outputs: [
|
|
3087
|
+
{
|
|
3088
|
+
internalType: "bytes32",
|
|
3089
|
+
name: "",
|
|
3090
|
+
type: "bytes32"
|
|
3091
|
+
}
|
|
3092
|
+
],
|
|
3093
|
+
stateMutability: "view",
|
|
3094
|
+
type: "function"
|
|
3095
|
+
},
|
|
3096
|
+
{
|
|
3097
|
+
inputs: [
|
|
3098
|
+
],
|
|
3099
|
+
name: "WETH",
|
|
3100
|
+
outputs: [
|
|
3101
|
+
{
|
|
3102
|
+
internalType: "address",
|
|
3103
|
+
name: "",
|
|
3104
|
+
type: "address"
|
|
3105
|
+
}
|
|
3106
|
+
],
|
|
3107
|
+
stateMutability: "view",
|
|
3108
|
+
type: "function"
|
|
3109
|
+
},
|
|
3110
|
+
{
|
|
3111
|
+
inputs: [
|
|
3112
|
+
{
|
|
3113
|
+
internalType: "uint16",
|
|
3114
|
+
name: "standardProtocolFeeBp",
|
|
3115
|
+
type: "uint16"
|
|
3116
|
+
},
|
|
3117
|
+
{
|
|
3118
|
+
internalType: "uint16",
|
|
3119
|
+
name: "minTotalFeeBp",
|
|
3120
|
+
type: "uint16"
|
|
3121
|
+
},
|
|
3122
|
+
{
|
|
3123
|
+
internalType: "uint16",
|
|
3124
|
+
name: "maxProtocolFeeBp",
|
|
3125
|
+
type: "uint16"
|
|
3126
|
+
},
|
|
3127
|
+
{
|
|
3128
|
+
internalType: "bytes4",
|
|
3129
|
+
name: "selector",
|
|
3130
|
+
type: "bytes4"
|
|
3131
|
+
},
|
|
3132
|
+
{
|
|
3133
|
+
internalType: "bool",
|
|
3134
|
+
name: "isMakerBid",
|
|
3135
|
+
type: "bool"
|
|
3136
|
+
},
|
|
3137
|
+
{
|
|
3138
|
+
internalType: "address",
|
|
3139
|
+
name: "implementation",
|
|
3140
|
+
type: "address"
|
|
3141
|
+
}
|
|
3142
|
+
],
|
|
3143
|
+
name: "addStrategy",
|
|
3144
|
+
outputs: [
|
|
3145
|
+
],
|
|
3146
|
+
stateMutability: "nonpayable",
|
|
3147
|
+
type: "function"
|
|
3148
|
+
},
|
|
3149
|
+
{
|
|
3150
|
+
inputs: [
|
|
3151
|
+
],
|
|
3152
|
+
name: "affiliateController",
|
|
3153
|
+
outputs: [
|
|
3154
|
+
{
|
|
3155
|
+
internalType: "address",
|
|
3156
|
+
name: "",
|
|
3157
|
+
type: "address"
|
|
3158
|
+
}
|
|
3159
|
+
],
|
|
3160
|
+
stateMutability: "view",
|
|
3161
|
+
type: "function"
|
|
3162
|
+
},
|
|
3163
|
+
{
|
|
3164
|
+
inputs: [
|
|
3165
|
+
{
|
|
3166
|
+
internalType: "address",
|
|
3167
|
+
name: "",
|
|
3168
|
+
type: "address"
|
|
3169
|
+
}
|
|
3170
|
+
],
|
|
3171
|
+
name: "affiliateRates",
|
|
3172
|
+
outputs: [
|
|
3173
|
+
{
|
|
3174
|
+
internalType: "uint256",
|
|
3175
|
+
name: "",
|
|
3176
|
+
type: "uint256"
|
|
3177
|
+
}
|
|
3178
|
+
],
|
|
3179
|
+
stateMutability: "view",
|
|
3180
|
+
type: "function"
|
|
3181
|
+
},
|
|
3182
|
+
{
|
|
3183
|
+
inputs: [
|
|
3184
|
+
{
|
|
3185
|
+
internalType: "uint256[]",
|
|
3186
|
+
name: "orderNonces",
|
|
3187
|
+
type: "uint256[]"
|
|
3188
|
+
}
|
|
3189
|
+
],
|
|
3190
|
+
name: "cancelOrderNonces",
|
|
3191
|
+
outputs: [
|
|
3192
|
+
],
|
|
3193
|
+
stateMutability: "nonpayable",
|
|
3194
|
+
type: "function"
|
|
3195
|
+
},
|
|
3196
|
+
{
|
|
3197
|
+
inputs: [
|
|
3198
|
+
],
|
|
3199
|
+
name: "cancelOwnershipTransfer",
|
|
3200
|
+
outputs: [
|
|
3201
|
+
],
|
|
3202
|
+
stateMutability: "nonpayable",
|
|
3203
|
+
type: "function"
|
|
3204
|
+
},
|
|
3205
|
+
{
|
|
3206
|
+
inputs: [
|
|
3207
|
+
{
|
|
3208
|
+
internalType: "uint256[]",
|
|
3209
|
+
name: "subsetNonces",
|
|
3210
|
+
type: "uint256[]"
|
|
3211
|
+
}
|
|
3212
|
+
],
|
|
3213
|
+
name: "cancelSubsetNonces",
|
|
3214
|
+
outputs: [
|
|
3215
|
+
],
|
|
3216
|
+
stateMutability: "nonpayable",
|
|
3217
|
+
type: "function"
|
|
3218
|
+
},
|
|
3219
|
+
{
|
|
3220
|
+
inputs: [
|
|
3221
|
+
],
|
|
3222
|
+
name: "chainId",
|
|
3223
|
+
outputs: [
|
|
3224
|
+
{
|
|
3225
|
+
internalType: "uint256",
|
|
3226
|
+
name: "",
|
|
3227
|
+
type: "uint256"
|
|
3228
|
+
}
|
|
3229
|
+
],
|
|
3230
|
+
stateMutability: "view",
|
|
3231
|
+
type: "function"
|
|
3232
|
+
},
|
|
3233
|
+
{
|
|
3234
|
+
inputs: [
|
|
3235
|
+
],
|
|
3236
|
+
name: "confirmOwnershipRenouncement",
|
|
3237
|
+
outputs: [
|
|
3238
|
+
],
|
|
3239
|
+
stateMutability: "nonpayable",
|
|
3240
|
+
type: "function"
|
|
3241
|
+
},
|
|
3242
|
+
{
|
|
3243
|
+
inputs: [
|
|
3244
|
+
],
|
|
3245
|
+
name: "confirmOwnershipTransfer",
|
|
3246
|
+
outputs: [
|
|
3247
|
+
],
|
|
3248
|
+
stateMutability: "nonpayable",
|
|
3249
|
+
type: "function"
|
|
3250
|
+
},
|
|
3251
|
+
{
|
|
3252
|
+
inputs: [
|
|
3253
|
+
],
|
|
3254
|
+
name: "creatorFeeManager",
|
|
3255
|
+
outputs: [
|
|
3256
|
+
{
|
|
3257
|
+
internalType: "contract ICreatorFeeManager",
|
|
3258
|
+
name: "",
|
|
3259
|
+
type: "address"
|
|
3260
|
+
}
|
|
3261
|
+
],
|
|
3262
|
+
stateMutability: "view",
|
|
3263
|
+
type: "function"
|
|
3264
|
+
},
|
|
3265
|
+
{
|
|
3266
|
+
inputs: [
|
|
3267
|
+
],
|
|
3268
|
+
name: "domainSeparator",
|
|
3269
|
+
outputs: [
|
|
3270
|
+
{
|
|
3271
|
+
internalType: "bytes32",
|
|
3272
|
+
name: "",
|
|
3273
|
+
type: "bytes32"
|
|
3274
|
+
}
|
|
3275
|
+
],
|
|
3276
|
+
stateMutability: "view",
|
|
3277
|
+
type: "function"
|
|
3278
|
+
},
|
|
3279
|
+
{
|
|
3280
|
+
inputs: [
|
|
3281
|
+
{
|
|
3282
|
+
components: [
|
|
3283
|
+
{
|
|
3284
|
+
internalType: "address",
|
|
3285
|
+
name: "recipient",
|
|
3286
|
+
type: "address"
|
|
3287
|
+
},
|
|
3288
|
+
{
|
|
3289
|
+
internalType: "bytes",
|
|
3290
|
+
name: "additionalParameters",
|
|
3291
|
+
type: "bytes"
|
|
3292
|
+
}
|
|
3293
|
+
],
|
|
3294
|
+
internalType: "struct OrderStructs.Taker[]",
|
|
3295
|
+
name: "takerBids",
|
|
3296
|
+
type: "tuple[]"
|
|
3297
|
+
},
|
|
3298
|
+
{
|
|
3299
|
+
components: [
|
|
3300
|
+
{
|
|
3301
|
+
internalType: "enum QuoteType",
|
|
3302
|
+
name: "quoteType",
|
|
3303
|
+
type: "uint8"
|
|
3304
|
+
},
|
|
3305
|
+
{
|
|
3306
|
+
internalType: "uint256",
|
|
3307
|
+
name: "globalNonce",
|
|
3308
|
+
type: "uint256"
|
|
3309
|
+
},
|
|
3310
|
+
{
|
|
3311
|
+
internalType: "uint256",
|
|
3312
|
+
name: "subsetNonce",
|
|
3313
|
+
type: "uint256"
|
|
3314
|
+
},
|
|
3315
|
+
{
|
|
3316
|
+
internalType: "uint256",
|
|
3317
|
+
name: "orderNonce",
|
|
3318
|
+
type: "uint256"
|
|
3319
|
+
},
|
|
3320
|
+
{
|
|
3321
|
+
internalType: "uint256",
|
|
3322
|
+
name: "strategyId",
|
|
3323
|
+
type: "uint256"
|
|
3324
|
+
},
|
|
3325
|
+
{
|
|
3326
|
+
internalType: "enum CollectionType",
|
|
3327
|
+
name: "collectionType",
|
|
3328
|
+
type: "uint8"
|
|
3329
|
+
},
|
|
3330
|
+
{
|
|
3331
|
+
internalType: "address",
|
|
3332
|
+
name: "collection",
|
|
3333
|
+
type: "address"
|
|
3334
|
+
},
|
|
3335
|
+
{
|
|
3336
|
+
internalType: "address",
|
|
3337
|
+
name: "currency",
|
|
3338
|
+
type: "address"
|
|
2739
3339
|
},
|
|
2740
3340
|
{
|
|
2741
3341
|
internalType: "address",
|
|
2742
|
-
name: "
|
|
3342
|
+
name: "signer",
|
|
2743
3343
|
type: "address"
|
|
2744
3344
|
},
|
|
2745
3345
|
{
|
|
2746
3346
|
internalType: "uint256",
|
|
2747
|
-
name: "
|
|
3347
|
+
name: "startTime",
|
|
2748
3348
|
type: "uint256"
|
|
2749
3349
|
},
|
|
2750
3350
|
{
|
|
2751
3351
|
internalType: "uint256",
|
|
2752
|
-
name: "
|
|
3352
|
+
name: "endTime",
|
|
2753
3353
|
type: "uint256"
|
|
2754
3354
|
},
|
|
2755
3355
|
{
|
|
2756
3356
|
internalType: "uint256",
|
|
2757
|
-
name: "
|
|
3357
|
+
name: "price",
|
|
2758
3358
|
type: "uint256"
|
|
2759
3359
|
},
|
|
3360
|
+
{
|
|
3361
|
+
internalType: "uint256[]",
|
|
3362
|
+
name: "itemIds",
|
|
3363
|
+
type: "uint256[]"
|
|
3364
|
+
},
|
|
3365
|
+
{
|
|
3366
|
+
internalType: "uint256[]",
|
|
3367
|
+
name: "amounts",
|
|
3368
|
+
type: "uint256[]"
|
|
3369
|
+
},
|
|
2760
3370
|
{
|
|
2761
3371
|
internalType: "bytes",
|
|
2762
|
-
name: "
|
|
3372
|
+
name: "additionalParameters",
|
|
2763
3373
|
type: "bytes"
|
|
2764
3374
|
}
|
|
2765
3375
|
],
|
|
2766
|
-
internalType: "struct
|
|
2767
|
-
name: "
|
|
2768
|
-
type: "tuple"
|
|
3376
|
+
internalType: "struct OrderStructs.Maker[]",
|
|
3377
|
+
name: "makerAsks",
|
|
3378
|
+
type: "tuple[]"
|
|
3379
|
+
},
|
|
3380
|
+
{
|
|
3381
|
+
internalType: "bytes[]",
|
|
3382
|
+
name: "makerSignatures",
|
|
3383
|
+
type: "bytes[]"
|
|
2769
3384
|
},
|
|
2770
3385
|
{
|
|
2771
3386
|
components: [
|
|
2772
3387
|
{
|
|
2773
|
-
internalType: "
|
|
2774
|
-
name: "
|
|
2775
|
-
type: "
|
|
3388
|
+
internalType: "bytes32",
|
|
3389
|
+
name: "root",
|
|
3390
|
+
type: "bytes32"
|
|
2776
3391
|
},
|
|
3392
|
+
{
|
|
3393
|
+
components: [
|
|
3394
|
+
{
|
|
3395
|
+
internalType: "bytes32",
|
|
3396
|
+
name: "value",
|
|
3397
|
+
type: "bytes32"
|
|
3398
|
+
},
|
|
3399
|
+
{
|
|
3400
|
+
internalType: "enum OrderStructs.MerkleTreeNodePosition",
|
|
3401
|
+
name: "position",
|
|
3402
|
+
type: "uint8"
|
|
3403
|
+
}
|
|
3404
|
+
],
|
|
3405
|
+
internalType: "struct OrderStructs.MerkleTreeNode[]",
|
|
3406
|
+
name: "proof",
|
|
3407
|
+
type: "tuple[]"
|
|
3408
|
+
}
|
|
3409
|
+
],
|
|
3410
|
+
internalType: "struct OrderStructs.MerkleTree[]",
|
|
3411
|
+
name: "merkleTrees",
|
|
3412
|
+
type: "tuple[]"
|
|
3413
|
+
},
|
|
3414
|
+
{
|
|
3415
|
+
internalType: "address",
|
|
3416
|
+
name: "affiliate",
|
|
3417
|
+
type: "address"
|
|
3418
|
+
},
|
|
3419
|
+
{
|
|
3420
|
+
internalType: "bool",
|
|
3421
|
+
name: "isAtomic",
|
|
3422
|
+
type: "bool"
|
|
3423
|
+
}
|
|
3424
|
+
],
|
|
3425
|
+
name: "executeMultipleTakerBids",
|
|
3426
|
+
outputs: [
|
|
3427
|
+
],
|
|
3428
|
+
stateMutability: "payable",
|
|
3429
|
+
type: "function"
|
|
3430
|
+
},
|
|
3431
|
+
{
|
|
3432
|
+
inputs: [
|
|
3433
|
+
{
|
|
3434
|
+
components: [
|
|
2777
3435
|
{
|
|
2778
3436
|
internalType: "address",
|
|
2779
|
-
name: "
|
|
3437
|
+
name: "recipient",
|
|
2780
3438
|
type: "address"
|
|
2781
3439
|
},
|
|
2782
3440
|
{
|
|
2783
|
-
internalType: "
|
|
2784
|
-
name: "
|
|
2785
|
-
type: "
|
|
3441
|
+
internalType: "bytes",
|
|
3442
|
+
name: "additionalParameters",
|
|
3443
|
+
type: "bytes"
|
|
3444
|
+
}
|
|
3445
|
+
],
|
|
3446
|
+
internalType: "struct OrderStructs.Taker",
|
|
3447
|
+
name: "takerAsk",
|
|
3448
|
+
type: "tuple"
|
|
3449
|
+
},
|
|
3450
|
+
{
|
|
3451
|
+
components: [
|
|
3452
|
+
{
|
|
3453
|
+
internalType: "enum QuoteType",
|
|
3454
|
+
name: "quoteType",
|
|
3455
|
+
type: "uint8"
|
|
2786
3456
|
},
|
|
2787
3457
|
{
|
|
2788
3458
|
internalType: "uint256",
|
|
2789
|
-
name: "
|
|
3459
|
+
name: "globalNonce",
|
|
2790
3460
|
type: "uint256"
|
|
2791
3461
|
},
|
|
2792
3462
|
{
|
|
2793
3463
|
internalType: "uint256",
|
|
2794
|
-
name: "
|
|
3464
|
+
name: "subsetNonce",
|
|
2795
3465
|
type: "uint256"
|
|
2796
3466
|
},
|
|
2797
3467
|
{
|
|
2798
3468
|
internalType: "uint256",
|
|
2799
|
-
name: "
|
|
3469
|
+
name: "orderNonce",
|
|
3470
|
+
type: "uint256"
|
|
3471
|
+
},
|
|
3472
|
+
{
|
|
3473
|
+
internalType: "uint256",
|
|
3474
|
+
name: "strategyId",
|
|
2800
3475
|
type: "uint256"
|
|
2801
3476
|
},
|
|
3477
|
+
{
|
|
3478
|
+
internalType: "enum CollectionType",
|
|
3479
|
+
name: "collectionType",
|
|
3480
|
+
type: "uint8"
|
|
3481
|
+
},
|
|
2802
3482
|
{
|
|
2803
3483
|
internalType: "address",
|
|
2804
|
-
name: "
|
|
3484
|
+
name: "collection",
|
|
2805
3485
|
type: "address"
|
|
2806
3486
|
},
|
|
2807
3487
|
{
|
|
@@ -2810,9 +3490,9 @@ var abi$1 = [
|
|
|
2810
3490
|
type: "address"
|
|
2811
3491
|
},
|
|
2812
3492
|
{
|
|
2813
|
-
internalType: "
|
|
2814
|
-
name: "
|
|
2815
|
-
type: "
|
|
3493
|
+
internalType: "address",
|
|
3494
|
+
name: "signer",
|
|
3495
|
+
type: "address"
|
|
2816
3496
|
},
|
|
2817
3497
|
{
|
|
2818
3498
|
internalType: "uint256",
|
|
@@ -2826,36 +3506,70 @@ var abi$1 = [
|
|
|
2826
3506
|
},
|
|
2827
3507
|
{
|
|
2828
3508
|
internalType: "uint256",
|
|
2829
|
-
name: "
|
|
3509
|
+
name: "price",
|
|
2830
3510
|
type: "uint256"
|
|
2831
3511
|
},
|
|
2832
3512
|
{
|
|
2833
|
-
internalType: "
|
|
2834
|
-
name: "
|
|
2835
|
-
type: "
|
|
3513
|
+
internalType: "uint256[]",
|
|
3514
|
+
name: "itemIds",
|
|
3515
|
+
type: "uint256[]"
|
|
2836
3516
|
},
|
|
2837
3517
|
{
|
|
2838
|
-
internalType: "
|
|
2839
|
-
name: "
|
|
2840
|
-
type: "
|
|
3518
|
+
internalType: "uint256[]",
|
|
3519
|
+
name: "amounts",
|
|
3520
|
+
type: "uint256[]"
|
|
2841
3521
|
},
|
|
3522
|
+
{
|
|
3523
|
+
internalType: "bytes",
|
|
3524
|
+
name: "additionalParameters",
|
|
3525
|
+
type: "bytes"
|
|
3526
|
+
}
|
|
3527
|
+
],
|
|
3528
|
+
internalType: "struct OrderStructs.Maker",
|
|
3529
|
+
name: "makerBid",
|
|
3530
|
+
type: "tuple"
|
|
3531
|
+
},
|
|
3532
|
+
{
|
|
3533
|
+
internalType: "bytes",
|
|
3534
|
+
name: "makerSignature",
|
|
3535
|
+
type: "bytes"
|
|
3536
|
+
},
|
|
3537
|
+
{
|
|
3538
|
+
components: [
|
|
2842
3539
|
{
|
|
2843
3540
|
internalType: "bytes32",
|
|
2844
|
-
name: "
|
|
3541
|
+
name: "root",
|
|
2845
3542
|
type: "bytes32"
|
|
2846
3543
|
},
|
|
2847
3544
|
{
|
|
2848
|
-
|
|
2849
|
-
|
|
2850
|
-
|
|
3545
|
+
components: [
|
|
3546
|
+
{
|
|
3547
|
+
internalType: "bytes32",
|
|
3548
|
+
name: "value",
|
|
3549
|
+
type: "bytes32"
|
|
3550
|
+
},
|
|
3551
|
+
{
|
|
3552
|
+
internalType: "enum OrderStructs.MerkleTreeNodePosition",
|
|
3553
|
+
name: "position",
|
|
3554
|
+
type: "uint8"
|
|
3555
|
+
}
|
|
3556
|
+
],
|
|
3557
|
+
internalType: "struct OrderStructs.MerkleTreeNode[]",
|
|
3558
|
+
name: "proof",
|
|
3559
|
+
type: "tuple[]"
|
|
2851
3560
|
}
|
|
2852
3561
|
],
|
|
2853
|
-
internalType: "struct
|
|
2854
|
-
name: "
|
|
3562
|
+
internalType: "struct OrderStructs.MerkleTree",
|
|
3563
|
+
name: "merkleTree",
|
|
2855
3564
|
type: "tuple"
|
|
3565
|
+
},
|
|
3566
|
+
{
|
|
3567
|
+
internalType: "address",
|
|
3568
|
+
name: "affiliate",
|
|
3569
|
+
type: "address"
|
|
2856
3570
|
}
|
|
2857
3571
|
],
|
|
2858
|
-
name: "
|
|
3572
|
+
name: "executeTakerAsk",
|
|
2859
3573
|
outputs: [
|
|
2860
3574
|
],
|
|
2861
3575
|
stateMutability: "nonpayable",
|
|
@@ -2865,76 +3579,56 @@ var abi$1 = [
|
|
|
2865
3579
|
inputs: [
|
|
2866
3580
|
{
|
|
2867
3581
|
components: [
|
|
2868
|
-
{
|
|
2869
|
-
internalType: "bool",
|
|
2870
|
-
name: "isOrderAsk",
|
|
2871
|
-
type: "bool"
|
|
2872
|
-
},
|
|
2873
3582
|
{
|
|
2874
3583
|
internalType: "address",
|
|
2875
|
-
name: "
|
|
3584
|
+
name: "recipient",
|
|
2876
3585
|
type: "address"
|
|
2877
3586
|
},
|
|
2878
|
-
{
|
|
2879
|
-
internalType: "uint256",
|
|
2880
|
-
name: "price",
|
|
2881
|
-
type: "uint256"
|
|
2882
|
-
},
|
|
2883
|
-
{
|
|
2884
|
-
internalType: "uint256",
|
|
2885
|
-
name: "tokenId",
|
|
2886
|
-
type: "uint256"
|
|
2887
|
-
},
|
|
2888
|
-
{
|
|
2889
|
-
internalType: "uint256",
|
|
2890
|
-
name: "minPercentageToAsk",
|
|
2891
|
-
type: "uint256"
|
|
2892
|
-
},
|
|
2893
3587
|
{
|
|
2894
3588
|
internalType: "bytes",
|
|
2895
|
-
name: "
|
|
3589
|
+
name: "additionalParameters",
|
|
2896
3590
|
type: "bytes"
|
|
2897
3591
|
}
|
|
2898
3592
|
],
|
|
2899
|
-
internalType: "struct
|
|
3593
|
+
internalType: "struct OrderStructs.Taker",
|
|
2900
3594
|
name: "takerBid",
|
|
2901
3595
|
type: "tuple"
|
|
2902
3596
|
},
|
|
2903
3597
|
{
|
|
2904
3598
|
components: [
|
|
2905
3599
|
{
|
|
2906
|
-
internalType: "
|
|
2907
|
-
name: "
|
|
2908
|
-
type: "
|
|
2909
|
-
},
|
|
2910
|
-
{
|
|
2911
|
-
internalType: "address",
|
|
2912
|
-
name: "signer",
|
|
2913
|
-
type: "address"
|
|
3600
|
+
internalType: "enum QuoteType",
|
|
3601
|
+
name: "quoteType",
|
|
3602
|
+
type: "uint8"
|
|
2914
3603
|
},
|
|
2915
3604
|
{
|
|
2916
|
-
internalType: "
|
|
2917
|
-
name: "
|
|
2918
|
-
type: "
|
|
3605
|
+
internalType: "uint256",
|
|
3606
|
+
name: "globalNonce",
|
|
3607
|
+
type: "uint256"
|
|
2919
3608
|
},
|
|
2920
3609
|
{
|
|
2921
3610
|
internalType: "uint256",
|
|
2922
|
-
name: "
|
|
3611
|
+
name: "subsetNonce",
|
|
2923
3612
|
type: "uint256"
|
|
2924
3613
|
},
|
|
2925
3614
|
{
|
|
2926
3615
|
internalType: "uint256",
|
|
2927
|
-
name: "
|
|
3616
|
+
name: "orderNonce",
|
|
2928
3617
|
type: "uint256"
|
|
2929
3618
|
},
|
|
2930
3619
|
{
|
|
2931
3620
|
internalType: "uint256",
|
|
2932
|
-
name: "
|
|
3621
|
+
name: "strategyId",
|
|
2933
3622
|
type: "uint256"
|
|
2934
3623
|
},
|
|
3624
|
+
{
|
|
3625
|
+
internalType: "enum CollectionType",
|
|
3626
|
+
name: "collectionType",
|
|
3627
|
+
type: "uint8"
|
|
3628
|
+
},
|
|
2935
3629
|
{
|
|
2936
3630
|
internalType: "address",
|
|
2937
|
-
name: "
|
|
3631
|
+
name: "collection",
|
|
2938
3632
|
type: "address"
|
|
2939
3633
|
},
|
|
2940
3634
|
{
|
|
@@ -2943,9 +3637,9 @@ var abi$1 = [
|
|
|
2943
3637
|
type: "address"
|
|
2944
3638
|
},
|
|
2945
3639
|
{
|
|
2946
|
-
internalType: "
|
|
2947
|
-
name: "
|
|
2948
|
-
type: "
|
|
3640
|
+
internalType: "address",
|
|
3641
|
+
name: "signer",
|
|
3642
|
+
type: "address"
|
|
2949
3643
|
},
|
|
2950
3644
|
{
|
|
2951
3645
|
internalType: "uint256",
|
|
@@ -2959,115 +3653,298 @@ var abi$1 = [
|
|
|
2959
3653
|
},
|
|
2960
3654
|
{
|
|
2961
3655
|
internalType: "uint256",
|
|
2962
|
-
name: "
|
|
3656
|
+
name: "price",
|
|
2963
3657
|
type: "uint256"
|
|
2964
3658
|
},
|
|
2965
3659
|
{
|
|
2966
|
-
internalType: "
|
|
2967
|
-
name: "
|
|
2968
|
-
type: "
|
|
3660
|
+
internalType: "uint256[]",
|
|
3661
|
+
name: "itemIds",
|
|
3662
|
+
type: "uint256[]"
|
|
2969
3663
|
},
|
|
2970
3664
|
{
|
|
2971
|
-
internalType: "
|
|
2972
|
-
name: "
|
|
2973
|
-
type: "
|
|
3665
|
+
internalType: "uint256[]",
|
|
3666
|
+
name: "amounts",
|
|
3667
|
+
type: "uint256[]"
|
|
2974
3668
|
},
|
|
3669
|
+
{
|
|
3670
|
+
internalType: "bytes",
|
|
3671
|
+
name: "additionalParameters",
|
|
3672
|
+
type: "bytes"
|
|
3673
|
+
}
|
|
3674
|
+
],
|
|
3675
|
+
internalType: "struct OrderStructs.Maker",
|
|
3676
|
+
name: "makerAsk",
|
|
3677
|
+
type: "tuple"
|
|
3678
|
+
},
|
|
3679
|
+
{
|
|
3680
|
+
internalType: "bytes",
|
|
3681
|
+
name: "makerSignature",
|
|
3682
|
+
type: "bytes"
|
|
3683
|
+
},
|
|
3684
|
+
{
|
|
3685
|
+
components: [
|
|
2975
3686
|
{
|
|
2976
3687
|
internalType: "bytes32",
|
|
2977
|
-
name: "
|
|
3688
|
+
name: "root",
|
|
2978
3689
|
type: "bytes32"
|
|
2979
3690
|
},
|
|
2980
3691
|
{
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
|
|
3692
|
+
components: [
|
|
3693
|
+
{
|
|
3694
|
+
internalType: "bytes32",
|
|
3695
|
+
name: "value",
|
|
3696
|
+
type: "bytes32"
|
|
3697
|
+
},
|
|
3698
|
+
{
|
|
3699
|
+
internalType: "enum OrderStructs.MerkleTreeNodePosition",
|
|
3700
|
+
name: "position",
|
|
3701
|
+
type: "uint8"
|
|
3702
|
+
}
|
|
3703
|
+
],
|
|
3704
|
+
internalType: "struct OrderStructs.MerkleTreeNode[]",
|
|
3705
|
+
name: "proof",
|
|
3706
|
+
type: "tuple[]"
|
|
2984
3707
|
}
|
|
2985
3708
|
],
|
|
2986
|
-
internalType: "struct
|
|
2987
|
-
name: "
|
|
3709
|
+
internalType: "struct OrderStructs.MerkleTree",
|
|
3710
|
+
name: "merkleTree",
|
|
2988
3711
|
type: "tuple"
|
|
3712
|
+
},
|
|
3713
|
+
{
|
|
3714
|
+
internalType: "address",
|
|
3715
|
+
name: "affiliate",
|
|
3716
|
+
type: "address"
|
|
2989
3717
|
}
|
|
2990
3718
|
],
|
|
2991
|
-
name: "
|
|
3719
|
+
name: "executeTakerBid",
|
|
2992
3720
|
outputs: [
|
|
2993
3721
|
],
|
|
2994
3722
|
stateMutability: "payable",
|
|
2995
3723
|
type: "function"
|
|
2996
3724
|
},
|
|
3725
|
+
{
|
|
3726
|
+
inputs: [
|
|
3727
|
+
{
|
|
3728
|
+
internalType: "bytes32",
|
|
3729
|
+
name: "root",
|
|
3730
|
+
type: "bytes32"
|
|
3731
|
+
},
|
|
3732
|
+
{
|
|
3733
|
+
internalType: "uint256",
|
|
3734
|
+
name: "proofLength",
|
|
3735
|
+
type: "uint256"
|
|
3736
|
+
}
|
|
3737
|
+
],
|
|
3738
|
+
name: "hashBatchOrder",
|
|
3739
|
+
outputs: [
|
|
3740
|
+
{
|
|
3741
|
+
internalType: "bytes32",
|
|
3742
|
+
name: "batchOrderHash",
|
|
3743
|
+
type: "bytes32"
|
|
3744
|
+
}
|
|
3745
|
+
],
|
|
3746
|
+
stateMutability: "pure",
|
|
3747
|
+
type: "function"
|
|
3748
|
+
},
|
|
3749
|
+
{
|
|
3750
|
+
inputs: [
|
|
3751
|
+
{
|
|
3752
|
+
internalType: "bool",
|
|
3753
|
+
name: "bid",
|
|
3754
|
+
type: "bool"
|
|
3755
|
+
},
|
|
3756
|
+
{
|
|
3757
|
+
internalType: "bool",
|
|
3758
|
+
name: "ask",
|
|
3759
|
+
type: "bool"
|
|
3760
|
+
}
|
|
3761
|
+
],
|
|
3762
|
+
name: "incrementBidAskNonces",
|
|
3763
|
+
outputs: [
|
|
3764
|
+
],
|
|
3765
|
+
stateMutability: "nonpayable",
|
|
3766
|
+
type: "function"
|
|
3767
|
+
},
|
|
3768
|
+
{
|
|
3769
|
+
inputs: [
|
|
3770
|
+
],
|
|
3771
|
+
name: "initiateOwnershipRenouncement",
|
|
3772
|
+
outputs: [
|
|
3773
|
+
],
|
|
3774
|
+
stateMutability: "nonpayable",
|
|
3775
|
+
type: "function"
|
|
3776
|
+
},
|
|
3777
|
+
{
|
|
3778
|
+
inputs: [
|
|
3779
|
+
{
|
|
3780
|
+
internalType: "address",
|
|
3781
|
+
name: "newPotentialOwner",
|
|
3782
|
+
type: "address"
|
|
3783
|
+
}
|
|
3784
|
+
],
|
|
3785
|
+
name: "initiateOwnershipTransfer",
|
|
3786
|
+
outputs: [
|
|
3787
|
+
],
|
|
3788
|
+
stateMutability: "nonpayable",
|
|
3789
|
+
type: "function"
|
|
3790
|
+
},
|
|
3791
|
+
{
|
|
3792
|
+
inputs: [
|
|
3793
|
+
],
|
|
3794
|
+
name: "isAffiliateProgramActive",
|
|
3795
|
+
outputs: [
|
|
3796
|
+
{
|
|
3797
|
+
internalType: "bool",
|
|
3798
|
+
name: "",
|
|
3799
|
+
type: "bool"
|
|
3800
|
+
}
|
|
3801
|
+
],
|
|
3802
|
+
stateMutability: "view",
|
|
3803
|
+
type: "function"
|
|
3804
|
+
},
|
|
3805
|
+
{
|
|
3806
|
+
inputs: [
|
|
3807
|
+
{
|
|
3808
|
+
internalType: "address",
|
|
3809
|
+
name: "",
|
|
3810
|
+
type: "address"
|
|
3811
|
+
}
|
|
3812
|
+
],
|
|
3813
|
+
name: "isCurrencyAllowed",
|
|
3814
|
+
outputs: [
|
|
3815
|
+
{
|
|
3816
|
+
internalType: "bool",
|
|
3817
|
+
name: "",
|
|
3818
|
+
type: "bool"
|
|
3819
|
+
}
|
|
3820
|
+
],
|
|
3821
|
+
stateMutability: "view",
|
|
3822
|
+
type: "function"
|
|
3823
|
+
},
|
|
3824
|
+
{
|
|
3825
|
+
inputs: [
|
|
3826
|
+
],
|
|
3827
|
+
name: "maxCreatorFeeBp",
|
|
3828
|
+
outputs: [
|
|
3829
|
+
{
|
|
3830
|
+
internalType: "uint16",
|
|
3831
|
+
name: "",
|
|
3832
|
+
type: "uint16"
|
|
3833
|
+
}
|
|
3834
|
+
],
|
|
3835
|
+
stateMutability: "view",
|
|
3836
|
+
type: "function"
|
|
3837
|
+
},
|
|
3838
|
+
{
|
|
3839
|
+
inputs: [
|
|
3840
|
+
],
|
|
3841
|
+
name: "owner",
|
|
3842
|
+
outputs: [
|
|
3843
|
+
{
|
|
3844
|
+
internalType: "address",
|
|
3845
|
+
name: "",
|
|
3846
|
+
type: "address"
|
|
3847
|
+
}
|
|
3848
|
+
],
|
|
3849
|
+
stateMutability: "view",
|
|
3850
|
+
type: "function"
|
|
3851
|
+
},
|
|
3852
|
+
{
|
|
3853
|
+
inputs: [
|
|
3854
|
+
],
|
|
3855
|
+
name: "ownershipStatus",
|
|
3856
|
+
outputs: [
|
|
3857
|
+
{
|
|
3858
|
+
internalType: "enum IOwnableTwoSteps.Status",
|
|
3859
|
+
name: "",
|
|
3860
|
+
type: "uint8"
|
|
3861
|
+
}
|
|
3862
|
+
],
|
|
3863
|
+
stateMutability: "view",
|
|
3864
|
+
type: "function"
|
|
3865
|
+
},
|
|
3866
|
+
{
|
|
3867
|
+
inputs: [
|
|
3868
|
+
],
|
|
3869
|
+
name: "potentialOwner",
|
|
3870
|
+
outputs: [
|
|
3871
|
+
{
|
|
3872
|
+
internalType: "address",
|
|
3873
|
+
name: "",
|
|
3874
|
+
type: "address"
|
|
3875
|
+
}
|
|
3876
|
+
],
|
|
3877
|
+
stateMutability: "view",
|
|
3878
|
+
type: "function"
|
|
3879
|
+
},
|
|
3880
|
+
{
|
|
3881
|
+
inputs: [
|
|
3882
|
+
],
|
|
3883
|
+
name: "protocolFeeRecipient",
|
|
3884
|
+
outputs: [
|
|
3885
|
+
{
|
|
3886
|
+
internalType: "address",
|
|
3887
|
+
name: "",
|
|
3888
|
+
type: "address"
|
|
3889
|
+
}
|
|
3890
|
+
],
|
|
3891
|
+
stateMutability: "view",
|
|
3892
|
+
type: "function"
|
|
3893
|
+
},
|
|
2997
3894
|
{
|
|
2998
3895
|
inputs: [
|
|
2999
3896
|
{
|
|
3000
3897
|
components: [
|
|
3001
|
-
{
|
|
3002
|
-
internalType: "bool",
|
|
3003
|
-
name: "isOrderAsk",
|
|
3004
|
-
type: "bool"
|
|
3005
|
-
},
|
|
3006
3898
|
{
|
|
3007
3899
|
internalType: "address",
|
|
3008
|
-
name: "
|
|
3900
|
+
name: "recipient",
|
|
3009
3901
|
type: "address"
|
|
3010
3902
|
},
|
|
3011
|
-
{
|
|
3012
|
-
internalType: "uint256",
|
|
3013
|
-
name: "price",
|
|
3014
|
-
type: "uint256"
|
|
3015
|
-
},
|
|
3016
|
-
{
|
|
3017
|
-
internalType: "uint256",
|
|
3018
|
-
name: "tokenId",
|
|
3019
|
-
type: "uint256"
|
|
3020
|
-
},
|
|
3021
|
-
{
|
|
3022
|
-
internalType: "uint256",
|
|
3023
|
-
name: "minPercentageToAsk",
|
|
3024
|
-
type: "uint256"
|
|
3025
|
-
},
|
|
3026
3903
|
{
|
|
3027
3904
|
internalType: "bytes",
|
|
3028
|
-
name: "
|
|
3905
|
+
name: "additionalParameters",
|
|
3029
3906
|
type: "bytes"
|
|
3030
3907
|
}
|
|
3031
3908
|
],
|
|
3032
|
-
internalType: "struct
|
|
3033
|
-
name: "
|
|
3909
|
+
internalType: "struct OrderStructs.Taker",
|
|
3910
|
+
name: "takerBid",
|
|
3034
3911
|
type: "tuple"
|
|
3035
3912
|
},
|
|
3036
3913
|
{
|
|
3037
3914
|
components: [
|
|
3038
3915
|
{
|
|
3039
|
-
internalType: "
|
|
3040
|
-
name: "
|
|
3041
|
-
type: "
|
|
3042
|
-
},
|
|
3043
|
-
{
|
|
3044
|
-
internalType: "address",
|
|
3045
|
-
name: "signer",
|
|
3046
|
-
type: "address"
|
|
3916
|
+
internalType: "enum QuoteType",
|
|
3917
|
+
name: "quoteType",
|
|
3918
|
+
type: "uint8"
|
|
3047
3919
|
},
|
|
3048
3920
|
{
|
|
3049
|
-
internalType: "
|
|
3050
|
-
name: "
|
|
3051
|
-
type: "
|
|
3921
|
+
internalType: "uint256",
|
|
3922
|
+
name: "globalNonce",
|
|
3923
|
+
type: "uint256"
|
|
3052
3924
|
},
|
|
3053
3925
|
{
|
|
3054
3926
|
internalType: "uint256",
|
|
3055
|
-
name: "
|
|
3927
|
+
name: "subsetNonce",
|
|
3056
3928
|
type: "uint256"
|
|
3057
3929
|
},
|
|
3058
3930
|
{
|
|
3059
3931
|
internalType: "uint256",
|
|
3060
|
-
name: "
|
|
3932
|
+
name: "orderNonce",
|
|
3061
3933
|
type: "uint256"
|
|
3062
3934
|
},
|
|
3063
3935
|
{
|
|
3064
3936
|
internalType: "uint256",
|
|
3065
|
-
name: "
|
|
3937
|
+
name: "strategyId",
|
|
3066
3938
|
type: "uint256"
|
|
3067
3939
|
},
|
|
3940
|
+
{
|
|
3941
|
+
internalType: "enum CollectionType",
|
|
3942
|
+
name: "collectionType",
|
|
3943
|
+
type: "uint8"
|
|
3944
|
+
},
|
|
3068
3945
|
{
|
|
3069
3946
|
internalType: "address",
|
|
3070
|
-
name: "
|
|
3947
|
+
name: "collection",
|
|
3071
3948
|
type: "address"
|
|
3072
3949
|
},
|
|
3073
3950
|
{
|
|
@@ -3076,9 +3953,9 @@ var abi$1 = [
|
|
|
3076
3953
|
type: "address"
|
|
3077
3954
|
},
|
|
3078
3955
|
{
|
|
3079
|
-
internalType: "
|
|
3080
|
-
name: "
|
|
3081
|
-
type: "
|
|
3956
|
+
internalType: "address",
|
|
3957
|
+
name: "signer",
|
|
3958
|
+
type: "address"
|
|
3082
3959
|
},
|
|
3083
3960
|
{
|
|
3084
3961
|
internalType: "uint256",
|
|
@@ -3092,49 +3969,94 @@ var abi$1 = [
|
|
|
3092
3969
|
},
|
|
3093
3970
|
{
|
|
3094
3971
|
internalType: "uint256",
|
|
3095
|
-
name: "
|
|
3972
|
+
name: "price",
|
|
3096
3973
|
type: "uint256"
|
|
3097
3974
|
},
|
|
3098
3975
|
{
|
|
3099
|
-
internalType: "
|
|
3100
|
-
name: "
|
|
3101
|
-
type: "
|
|
3102
|
-
},
|
|
3103
|
-
{
|
|
3104
|
-
internalType: "uint8",
|
|
3105
|
-
name: "v",
|
|
3106
|
-
type: "uint8"
|
|
3976
|
+
internalType: "uint256[]",
|
|
3977
|
+
name: "itemIds",
|
|
3978
|
+
type: "uint256[]"
|
|
3107
3979
|
},
|
|
3108
|
-
{
|
|
3109
|
-
internalType: "
|
|
3110
|
-
name: "
|
|
3111
|
-
type: "
|
|
3980
|
+
{
|
|
3981
|
+
internalType: "uint256[]",
|
|
3982
|
+
name: "amounts",
|
|
3983
|
+
type: "uint256[]"
|
|
3112
3984
|
},
|
|
3113
3985
|
{
|
|
3114
|
-
internalType: "
|
|
3115
|
-
name: "
|
|
3116
|
-
type: "
|
|
3986
|
+
internalType: "bytes",
|
|
3987
|
+
name: "additionalParameters",
|
|
3988
|
+
type: "bytes"
|
|
3117
3989
|
}
|
|
3118
3990
|
],
|
|
3119
|
-
internalType: "struct
|
|
3120
|
-
name: "
|
|
3991
|
+
internalType: "struct OrderStructs.Maker",
|
|
3992
|
+
name: "makerAsk",
|
|
3121
3993
|
type: "tuple"
|
|
3994
|
+
},
|
|
3995
|
+
{
|
|
3996
|
+
internalType: "address",
|
|
3997
|
+
name: "sender",
|
|
3998
|
+
type: "address"
|
|
3999
|
+
},
|
|
4000
|
+
{
|
|
4001
|
+
internalType: "bytes32",
|
|
4002
|
+
name: "orderHash",
|
|
4003
|
+
type: "bytes32"
|
|
3122
4004
|
}
|
|
3123
4005
|
],
|
|
3124
|
-
name: "
|
|
4006
|
+
name: "restrictedExecuteTakerBid",
|
|
3125
4007
|
outputs: [
|
|
4008
|
+
{
|
|
4009
|
+
internalType: "uint256",
|
|
4010
|
+
name: "protocolFeeAmount",
|
|
4011
|
+
type: "uint256"
|
|
4012
|
+
}
|
|
3126
4013
|
],
|
|
3127
4014
|
stateMutability: "nonpayable",
|
|
3128
4015
|
type: "function"
|
|
3129
4016
|
},
|
|
3130
4017
|
{
|
|
3131
4018
|
inputs: [
|
|
4019
|
+
{
|
|
4020
|
+
internalType: "uint256",
|
|
4021
|
+
name: "",
|
|
4022
|
+
type: "uint256"
|
|
4023
|
+
}
|
|
3132
4024
|
],
|
|
3133
|
-
name: "
|
|
4025
|
+
name: "strategyInfo",
|
|
3134
4026
|
outputs: [
|
|
4027
|
+
{
|
|
4028
|
+
internalType: "bool",
|
|
4029
|
+
name: "isActive",
|
|
4030
|
+
type: "bool"
|
|
4031
|
+
},
|
|
4032
|
+
{
|
|
4033
|
+
internalType: "uint16",
|
|
4034
|
+
name: "standardProtocolFeeBp",
|
|
4035
|
+
type: "uint16"
|
|
4036
|
+
},
|
|
4037
|
+
{
|
|
4038
|
+
internalType: "uint16",
|
|
4039
|
+
name: "minTotalFeeBp",
|
|
4040
|
+
type: "uint16"
|
|
4041
|
+
},
|
|
4042
|
+
{
|
|
4043
|
+
internalType: "uint16",
|
|
4044
|
+
name: "maxProtocolFeeBp",
|
|
4045
|
+
type: "uint16"
|
|
4046
|
+
},
|
|
4047
|
+
{
|
|
4048
|
+
internalType: "bytes4",
|
|
4049
|
+
name: "selector",
|
|
4050
|
+
type: "bytes4"
|
|
4051
|
+
},
|
|
4052
|
+
{
|
|
4053
|
+
internalType: "bool",
|
|
4054
|
+
name: "isMakerBid",
|
|
4055
|
+
type: "bool"
|
|
4056
|
+
},
|
|
3135
4057
|
{
|
|
3136
4058
|
internalType: "address",
|
|
3137
|
-
name: "",
|
|
4059
|
+
name: "implementation",
|
|
3138
4060
|
type: "address"
|
|
3139
4061
|
}
|
|
3140
4062
|
],
|
|
@@ -3144,10 +4066,10 @@ var abi$1 = [
|
|
|
3144
4066
|
{
|
|
3145
4067
|
inputs: [
|
|
3146
4068
|
],
|
|
3147
|
-
name: "
|
|
4069
|
+
name: "transferManager",
|
|
3148
4070
|
outputs: [
|
|
3149
4071
|
{
|
|
3150
|
-
internalType: "
|
|
4072
|
+
internalType: "contract TransferManager",
|
|
3151
4073
|
name: "",
|
|
3152
4074
|
type: "address"
|
|
3153
4075
|
}
|
|
@@ -3157,8 +4079,13 @@ var abi$1 = [
|
|
|
3157
4079
|
},
|
|
3158
4080
|
{
|
|
3159
4081
|
inputs: [
|
|
4082
|
+
{
|
|
4083
|
+
internalType: "address",
|
|
4084
|
+
name: "newAffiliateController",
|
|
4085
|
+
type: "address"
|
|
4086
|
+
}
|
|
3160
4087
|
],
|
|
3161
|
-
name: "
|
|
4088
|
+
name: "updateAffiliateController",
|
|
3162
4089
|
outputs: [
|
|
3163
4090
|
],
|
|
3164
4091
|
stateMutability: "nonpayable",
|
|
@@ -3166,27 +4093,46 @@ var abi$1 = [
|
|
|
3166
4093
|
},
|
|
3167
4094
|
{
|
|
3168
4095
|
inputs: [
|
|
4096
|
+
{
|
|
4097
|
+
internalType: "bool",
|
|
4098
|
+
name: "isActive",
|
|
4099
|
+
type: "bool"
|
|
4100
|
+
}
|
|
3169
4101
|
],
|
|
3170
|
-
name: "
|
|
4102
|
+
name: "updateAffiliateProgramStatus",
|
|
3171
4103
|
outputs: [
|
|
4104
|
+
],
|
|
4105
|
+
stateMutability: "nonpayable",
|
|
4106
|
+
type: "function"
|
|
4107
|
+
},
|
|
4108
|
+
{
|
|
4109
|
+
inputs: [
|
|
3172
4110
|
{
|
|
3173
|
-
internalType: "
|
|
3174
|
-
name: "",
|
|
4111
|
+
internalType: "address",
|
|
4112
|
+
name: "affiliate",
|
|
3175
4113
|
type: "address"
|
|
4114
|
+
},
|
|
4115
|
+
{
|
|
4116
|
+
internalType: "uint256",
|
|
4117
|
+
name: "bp",
|
|
4118
|
+
type: "uint256"
|
|
3176
4119
|
}
|
|
3177
4120
|
],
|
|
3178
|
-
|
|
4121
|
+
name: "updateAffiliateRate",
|
|
4122
|
+
outputs: [
|
|
4123
|
+
],
|
|
4124
|
+
stateMutability: "nonpayable",
|
|
3179
4125
|
type: "function"
|
|
3180
4126
|
},
|
|
3181
4127
|
{
|
|
3182
4128
|
inputs: [
|
|
3183
4129
|
{
|
|
3184
4130
|
internalType: "address",
|
|
3185
|
-
name: "
|
|
4131
|
+
name: "newCreatorFeeManager",
|
|
3186
4132
|
type: "address"
|
|
3187
4133
|
}
|
|
3188
4134
|
],
|
|
3189
|
-
name: "
|
|
4135
|
+
name: "updateCreatorFeeManager",
|
|
3190
4136
|
outputs: [
|
|
3191
4137
|
],
|
|
3192
4138
|
stateMutability: "nonpayable",
|
|
@@ -3194,27 +4140,41 @@ var abi$1 = [
|
|
|
3194
4140
|
},
|
|
3195
4141
|
{
|
|
3196
4142
|
inputs: [
|
|
3197
|
-
],
|
|
3198
|
-
name: "transferSelectorNFT",
|
|
3199
|
-
outputs: [
|
|
3200
4143
|
{
|
|
3201
|
-
internalType: "
|
|
3202
|
-
name: "",
|
|
4144
|
+
internalType: "address",
|
|
4145
|
+
name: "currency",
|
|
3203
4146
|
type: "address"
|
|
4147
|
+
},
|
|
4148
|
+
{
|
|
4149
|
+
internalType: "bool",
|
|
4150
|
+
name: "isAllowed",
|
|
4151
|
+
type: "bool"
|
|
3204
4152
|
}
|
|
3205
4153
|
],
|
|
3206
|
-
|
|
4154
|
+
name: "updateCurrencyStatus",
|
|
4155
|
+
outputs: [
|
|
4156
|
+
],
|
|
4157
|
+
stateMutability: "nonpayable",
|
|
4158
|
+
type: "function"
|
|
4159
|
+
},
|
|
4160
|
+
{
|
|
4161
|
+
inputs: [
|
|
4162
|
+
],
|
|
4163
|
+
name: "updateDomainSeparator",
|
|
4164
|
+
outputs: [
|
|
4165
|
+
],
|
|
4166
|
+
stateMutability: "nonpayable",
|
|
3207
4167
|
type: "function"
|
|
3208
4168
|
},
|
|
3209
4169
|
{
|
|
3210
4170
|
inputs: [
|
|
3211
4171
|
{
|
|
3212
|
-
internalType: "
|
|
3213
|
-
name: "
|
|
3214
|
-
type: "
|
|
4172
|
+
internalType: "uint256",
|
|
4173
|
+
name: "newGasLimitETHTransfer",
|
|
4174
|
+
type: "uint256"
|
|
3215
4175
|
}
|
|
3216
4176
|
],
|
|
3217
|
-
name: "
|
|
4177
|
+
name: "updateETHGasLimitForTransfer",
|
|
3218
4178
|
outputs: [
|
|
3219
4179
|
],
|
|
3220
4180
|
stateMutability: "nonpayable",
|
|
@@ -3223,12 +4183,12 @@ var abi$1 = [
|
|
|
3223
4183
|
{
|
|
3224
4184
|
inputs: [
|
|
3225
4185
|
{
|
|
3226
|
-
internalType: "
|
|
3227
|
-
name: "
|
|
3228
|
-
type: "
|
|
4186
|
+
internalType: "uint16",
|
|
4187
|
+
name: "newMaxCreatorFeeBp",
|
|
4188
|
+
type: "uint16"
|
|
3229
4189
|
}
|
|
3230
4190
|
],
|
|
3231
|
-
name: "
|
|
4191
|
+
name: "updateMaxCreatorFeeBp",
|
|
3232
4192
|
outputs: [
|
|
3233
4193
|
],
|
|
3234
4194
|
stateMutability: "nonpayable",
|
|
@@ -3238,7 +4198,7 @@ var abi$1 = [
|
|
|
3238
4198
|
inputs: [
|
|
3239
4199
|
{
|
|
3240
4200
|
internalType: "address",
|
|
3241
|
-
name: "
|
|
4201
|
+
name: "newProtocolFeeRecipient",
|
|
3242
4202
|
type: "address"
|
|
3243
4203
|
}
|
|
3244
4204
|
],
|
|
@@ -3251,12 +4211,27 @@ var abi$1 = [
|
|
|
3251
4211
|
{
|
|
3252
4212
|
inputs: [
|
|
3253
4213
|
{
|
|
3254
|
-
internalType: "
|
|
3255
|
-
name: "
|
|
3256
|
-
type: "
|
|
4214
|
+
internalType: "uint256",
|
|
4215
|
+
name: "strategyId",
|
|
4216
|
+
type: "uint256"
|
|
4217
|
+
},
|
|
4218
|
+
{
|
|
4219
|
+
internalType: "bool",
|
|
4220
|
+
name: "isActive",
|
|
4221
|
+
type: "bool"
|
|
4222
|
+
},
|
|
4223
|
+
{
|
|
4224
|
+
internalType: "uint16",
|
|
4225
|
+
name: "newStandardProtocolFee",
|
|
4226
|
+
type: "uint16"
|
|
4227
|
+
},
|
|
4228
|
+
{
|
|
4229
|
+
internalType: "uint16",
|
|
4230
|
+
name: "newMinTotalFee",
|
|
4231
|
+
type: "uint16"
|
|
3257
4232
|
}
|
|
3258
4233
|
],
|
|
3259
|
-
name: "
|
|
4234
|
+
name: "updateStrategy",
|
|
3260
4235
|
outputs: [
|
|
3261
4236
|
],
|
|
3262
4237
|
stateMutability: "nonpayable",
|
|
@@ -3266,14 +4241,24 @@ var abi$1 = [
|
|
|
3266
4241
|
inputs: [
|
|
3267
4242
|
{
|
|
3268
4243
|
internalType: "address",
|
|
3269
|
-
name: "
|
|
4244
|
+
name: "",
|
|
3270
4245
|
type: "address"
|
|
3271
4246
|
}
|
|
3272
4247
|
],
|
|
3273
|
-
name: "
|
|
4248
|
+
name: "userBidAskNonces",
|
|
3274
4249
|
outputs: [
|
|
4250
|
+
{
|
|
4251
|
+
internalType: "uint256",
|
|
4252
|
+
name: "bidNonce",
|
|
4253
|
+
type: "uint256"
|
|
4254
|
+
},
|
|
4255
|
+
{
|
|
4256
|
+
internalType: "uint256",
|
|
4257
|
+
name: "askNonce",
|
|
4258
|
+
type: "uint256"
|
|
4259
|
+
}
|
|
3275
4260
|
],
|
|
3276
|
-
stateMutability: "
|
|
4261
|
+
stateMutability: "view",
|
|
3277
4262
|
type: "function"
|
|
3278
4263
|
},
|
|
3279
4264
|
{
|
|
@@ -3282,62 +4267,118 @@ var abi$1 = [
|
|
|
3282
4267
|
internalType: "address",
|
|
3283
4268
|
name: "",
|
|
3284
4269
|
type: "address"
|
|
4270
|
+
},
|
|
4271
|
+
{
|
|
4272
|
+
internalType: "uint256",
|
|
4273
|
+
name: "",
|
|
4274
|
+
type: "uint256"
|
|
3285
4275
|
}
|
|
3286
4276
|
],
|
|
3287
|
-
name: "
|
|
4277
|
+
name: "userOrderNonce",
|
|
3288
4278
|
outputs: [
|
|
4279
|
+
{
|
|
4280
|
+
internalType: "bytes32",
|
|
4281
|
+
name: "",
|
|
4282
|
+
type: "bytes32"
|
|
4283
|
+
}
|
|
4284
|
+
],
|
|
4285
|
+
stateMutability: "view",
|
|
4286
|
+
type: "function"
|
|
4287
|
+
},
|
|
4288
|
+
{
|
|
4289
|
+
inputs: [
|
|
4290
|
+
{
|
|
4291
|
+
internalType: "address",
|
|
4292
|
+
name: "",
|
|
4293
|
+
type: "address"
|
|
4294
|
+
},
|
|
3289
4295
|
{
|
|
3290
4296
|
internalType: "uint256",
|
|
3291
4297
|
name: "",
|
|
3292
4298
|
type: "uint256"
|
|
3293
4299
|
}
|
|
3294
4300
|
],
|
|
4301
|
+
name: "userSubsetNonce",
|
|
4302
|
+
outputs: [
|
|
4303
|
+
{
|
|
4304
|
+
internalType: "bool",
|
|
4305
|
+
name: "",
|
|
4306
|
+
type: "bool"
|
|
4307
|
+
}
|
|
4308
|
+
],
|
|
3295
4309
|
stateMutability: "view",
|
|
3296
4310
|
type: "function"
|
|
3297
4311
|
}
|
|
3298
4312
|
];
|
|
3299
4313
|
|
|
3300
|
-
var
|
|
3301
|
-
_inheritsLoose(
|
|
3302
|
-
function
|
|
3303
|
-
return _NFTTrade.call(this, Market.
|
|
4314
|
+
var LooksRareV2Trade = /*#__PURE__*/function (_NFTTrade) {
|
|
4315
|
+
_inheritsLoose(LooksRareV2Trade, _NFTTrade);
|
|
4316
|
+
function LooksRareV2Trade(orders) {
|
|
4317
|
+
return _NFTTrade.call(this, Market.LooksRareV2, orders) || this;
|
|
3304
4318
|
}
|
|
3305
|
-
var _proto =
|
|
4319
|
+
var _proto = LooksRareV2Trade.prototype;
|
|
3306
4320
|
_proto.encode = function encode(planner, config) {
|
|
3307
4321
|
for (var _iterator = _createForOfIteratorHelperLoose(this.orders), _step; !(_step = _iterator()).done;) {
|
|
3308
4322
|
var item = _step.value;
|
|
3309
|
-
var
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
|
|
4323
|
+
var _this$refactorAPIData = this.refactorAPIData(item),
|
|
4324
|
+
takerBid = _this$refactorAPIData.takerBid,
|
|
4325
|
+
makerOrder = _this$refactorAPIData.makerOrder,
|
|
4326
|
+
makerSignature = _this$refactorAPIData.makerSignature,
|
|
4327
|
+
value = _this$refactorAPIData.value,
|
|
4328
|
+
merkleTree = _this$refactorAPIData.merkleTree;
|
|
4329
|
+
var calldata = LooksRareV2Trade.INTERFACE.encodeFunctionData('executeTakerBid', [takerBid, makerOrder, makerSignature, merkleTree, ZERO_ADDRESS]);
|
|
4330
|
+
planner.addCommand(CommandType.LOOKS_RARE_V2, [value, calldata], config.allowRevert);
|
|
3316
4331
|
}
|
|
3317
4332
|
};
|
|
3318
4333
|
_proto.getBuyItems = function getBuyItems() {
|
|
3319
4334
|
var buyItems = [];
|
|
3320
4335
|
for (var _iterator2 = _createForOfIteratorHelperLoose(this.orders), _step2; !(_step2 = _iterator2()).done;) {
|
|
3321
4336
|
var item = _step2.value;
|
|
3322
|
-
|
|
3323
|
-
|
|
3324
|
-
|
|
3325
|
-
|
|
3326
|
-
|
|
4337
|
+
var tokenAddress = item.apiOrder.collection;
|
|
4338
|
+
var tokenType = item.apiOrder.collectionType == LooksRareV2Trade.ERC721_ORDER ? TokenType.ERC721 : TokenType.ERC1155;
|
|
4339
|
+
for (var _iterator3 = _createForOfIteratorHelperLoose(item.apiOrder.itemIds), _step3; !(_step3 = _iterator3()).done;) {
|
|
4340
|
+
var tokenId = _step3.value;
|
|
4341
|
+
buyItems.push({
|
|
4342
|
+
tokenAddress: tokenAddress,
|
|
4343
|
+
tokenId: tokenId,
|
|
4344
|
+
tokenType: tokenType
|
|
4345
|
+
});
|
|
4346
|
+
}
|
|
3327
4347
|
}
|
|
3328
4348
|
return buyItems;
|
|
3329
4349
|
};
|
|
3330
4350
|
_proto.getTotalPrice = function getTotalPrice() {
|
|
3331
4351
|
var total = BigNumber.from(0);
|
|
3332
|
-
for (var
|
|
3333
|
-
var item =
|
|
3334
|
-
total = total.add(item.
|
|
4352
|
+
for (var _iterator4 = _createForOfIteratorHelperLoose(this.orders), _step4; !(_step4 = _iterator4()).done;) {
|
|
4353
|
+
var item = _step4.value;
|
|
4354
|
+
total = total.add(item.apiOrder.price);
|
|
3335
4355
|
}
|
|
3336
4356
|
return total;
|
|
3337
4357
|
};
|
|
3338
|
-
|
|
4358
|
+
_proto.refactorAPIData = function refactorAPIData(data) {
|
|
4359
|
+
var makerOrder = _extends({}, data.apiOrder);
|
|
4360
|
+
var makerSignature = data.apiOrder.signature;
|
|
4361
|
+
var takerBid = {
|
|
4362
|
+
recipient: data.taker,
|
|
4363
|
+
additionalParameters: '0x'
|
|
4364
|
+
};
|
|
4365
|
+
var value = BigNumber.from(data.apiOrder.price);
|
|
4366
|
+
var merkleTree = {
|
|
4367
|
+
root: data.apiOrder.merkleRoot,
|
|
4368
|
+
proof: data.apiOrder.merkleProof
|
|
4369
|
+
};
|
|
4370
|
+
return {
|
|
4371
|
+
takerBid: takerBid,
|
|
4372
|
+
makerOrder: makerOrder,
|
|
4373
|
+
makerSignature: makerSignature,
|
|
4374
|
+
value: value,
|
|
4375
|
+
merkleTree: merkleTree
|
|
4376
|
+
};
|
|
4377
|
+
};
|
|
4378
|
+
return LooksRareV2Trade;
|
|
3339
4379
|
}(NFTTrade);
|
|
3340
|
-
|
|
4380
|
+
LooksRareV2Trade.INTERFACE = /*#__PURE__*/new Interface(abi$1);
|
|
4381
|
+
LooksRareV2Trade.ERC721_ORDER = 0;
|
|
3341
4382
|
|
|
3342
4383
|
var abi$2 = [
|
|
3343
4384
|
{
|
|
@@ -3647,8 +4688,18 @@ var abi$3 = [
|
|
|
3647
4688
|
},
|
|
3648
4689
|
{
|
|
3649
4690
|
internalType: "address",
|
|
3650
|
-
name: "
|
|
4691
|
+
name: "_WETH",
|
|
4692
|
+
type: "address"
|
|
4693
|
+
},
|
|
4694
|
+
{
|
|
4695
|
+
internalType: "address payable",
|
|
4696
|
+
name: "_swapTarget",
|
|
3651
4697
|
type: "address"
|
|
4698
|
+
},
|
|
4699
|
+
{
|
|
4700
|
+
internalType: "uint256",
|
|
4701
|
+
name: "_dustThreshold",
|
|
4702
|
+
type: "uint256"
|
|
3652
4703
|
}
|
|
3653
4704
|
],
|
|
3654
4705
|
stateMutability: "nonpayable",
|
|
@@ -3679,38 +4730,19 @@ var abi$3 = [
|
|
|
3679
4730
|
name: "Buy",
|
|
3680
4731
|
type: "event"
|
|
3681
4732
|
},
|
|
3682
|
-
{
|
|
3683
|
-
anonymous: false,
|
|
3684
|
-
inputs: [
|
|
3685
|
-
{
|
|
3686
|
-
indexed: true,
|
|
3687
|
-
internalType: "address",
|
|
3688
|
-
name: "previousOwner",
|
|
3689
|
-
type: "address"
|
|
3690
|
-
},
|
|
3691
|
-
{
|
|
3692
|
-
indexed: true,
|
|
3693
|
-
internalType: "address",
|
|
3694
|
-
name: "newOwner",
|
|
3695
|
-
type: "address"
|
|
3696
|
-
}
|
|
3697
|
-
],
|
|
3698
|
-
name: "OwnershipTransferred",
|
|
3699
|
-
type: "event"
|
|
3700
|
-
},
|
|
3701
4733
|
{
|
|
3702
4734
|
anonymous: false,
|
|
3703
4735
|
inputs: [
|
|
3704
4736
|
{
|
|
3705
4737
|
indexed: false,
|
|
3706
4738
|
internalType: "uint256",
|
|
3707
|
-
name: "
|
|
4739
|
+
name: "ethAmount",
|
|
3708
4740
|
type: "uint256"
|
|
3709
4741
|
},
|
|
3710
4742
|
{
|
|
3711
4743
|
indexed: false,
|
|
3712
4744
|
internalType: "uint256",
|
|
3713
|
-
name: "
|
|
4745
|
+
name: "vTokenAmount",
|
|
3714
4746
|
type: "uint256"
|
|
3715
4747
|
},
|
|
3716
4748
|
{
|
|
@@ -3720,119 +4752,90 @@ var abi$3 = [
|
|
|
3720
4752
|
type: "address"
|
|
3721
4753
|
}
|
|
3722
4754
|
],
|
|
3723
|
-
name: "
|
|
4755
|
+
name: "DustReturned",
|
|
3724
4756
|
type: "event"
|
|
3725
4757
|
},
|
|
3726
4758
|
{
|
|
3727
4759
|
anonymous: false,
|
|
3728
4760
|
inputs: [
|
|
3729
4761
|
{
|
|
3730
|
-
indexed:
|
|
3731
|
-
internalType: "
|
|
3732
|
-
name: "
|
|
3733
|
-
type: "
|
|
3734
|
-
},
|
|
3735
|
-
{
|
|
3736
|
-
indexed: false,
|
|
3737
|
-
internalType: "uint256",
|
|
3738
|
-
name: "ethSpent",
|
|
3739
|
-
type: "uint256"
|
|
4762
|
+
indexed: true,
|
|
4763
|
+
internalType: "address",
|
|
4764
|
+
name: "previousOwner",
|
|
4765
|
+
type: "address"
|
|
3740
4766
|
},
|
|
3741
4767
|
{
|
|
3742
|
-
indexed:
|
|
4768
|
+
indexed: true,
|
|
3743
4769
|
internalType: "address",
|
|
3744
|
-
name: "
|
|
4770
|
+
name: "newOwner",
|
|
3745
4771
|
type: "address"
|
|
3746
4772
|
}
|
|
3747
4773
|
],
|
|
3748
|
-
name: "
|
|
4774
|
+
name: "OwnershipTransferred",
|
|
3749
4775
|
type: "event"
|
|
3750
4776
|
},
|
|
3751
4777
|
{
|
|
4778
|
+
anonymous: false,
|
|
3752
4779
|
inputs: [
|
|
3753
|
-
],
|
|
3754
|
-
name: "WETH",
|
|
3755
|
-
outputs: [
|
|
3756
|
-
{
|
|
3757
|
-
internalType: "contract IWETH",
|
|
3758
|
-
name: "",
|
|
3759
|
-
type: "address"
|
|
3760
|
-
}
|
|
3761
|
-
],
|
|
3762
|
-
stateMutability: "view",
|
|
3763
|
-
type: "function"
|
|
3764
|
-
},
|
|
3765
|
-
{
|
|
3766
|
-
inputs: [
|
|
3767
|
-
{
|
|
3768
|
-
internalType: "uint256",
|
|
3769
|
-
name: "vaultId",
|
|
3770
|
-
type: "uint256"
|
|
3771
|
-
},
|
|
3772
|
-
{
|
|
3773
|
-
internalType: "uint256",
|
|
3774
|
-
name: "amount",
|
|
3775
|
-
type: "uint256"
|
|
3776
|
-
},
|
|
3777
4780
|
{
|
|
3778
|
-
|
|
3779
|
-
|
|
3780
|
-
|
|
4781
|
+
indexed: false,
|
|
4782
|
+
internalType: "uint256",
|
|
4783
|
+
name: "count",
|
|
4784
|
+
type: "uint256"
|
|
3781
4785
|
},
|
|
3782
4786
|
{
|
|
3783
|
-
|
|
3784
|
-
|
|
3785
|
-
|
|
4787
|
+
indexed: false,
|
|
4788
|
+
internalType: "uint256",
|
|
4789
|
+
name: "ethReceived",
|
|
4790
|
+
type: "uint256"
|
|
3786
4791
|
},
|
|
3787
4792
|
{
|
|
4793
|
+
indexed: false,
|
|
3788
4794
|
internalType: "address",
|
|
3789
4795
|
name: "to",
|
|
3790
4796
|
type: "address"
|
|
3791
4797
|
}
|
|
3792
4798
|
],
|
|
3793
|
-
name: "
|
|
3794
|
-
|
|
3795
|
-
],
|
|
3796
|
-
stateMutability: "payable",
|
|
3797
|
-
type: "function"
|
|
4799
|
+
name: "Sell",
|
|
4800
|
+
type: "event"
|
|
3798
4801
|
},
|
|
3799
4802
|
{
|
|
4803
|
+
anonymous: false,
|
|
3800
4804
|
inputs: [
|
|
3801
4805
|
{
|
|
4806
|
+
indexed: false,
|
|
3802
4807
|
internalType: "uint256",
|
|
3803
|
-
name: "
|
|
3804
|
-
type: "uint256"
|
|
3805
|
-
},
|
|
3806
|
-
{
|
|
3807
|
-
internalType: "uint256",
|
|
3808
|
-
name: "amount",
|
|
4808
|
+
name: "count",
|
|
3809
4809
|
type: "uint256"
|
|
3810
4810
|
},
|
|
3811
4811
|
{
|
|
3812
|
-
|
|
3813
|
-
name: "specificIds",
|
|
3814
|
-
type: "uint256[]"
|
|
3815
|
-
},
|
|
3816
|
-
{
|
|
4812
|
+
indexed: false,
|
|
3817
4813
|
internalType: "uint256",
|
|
3818
|
-
name: "
|
|
4814
|
+
name: "ethSpent",
|
|
3819
4815
|
type: "uint256"
|
|
3820
4816
|
},
|
|
3821
4817
|
{
|
|
3822
|
-
|
|
3823
|
-
name: "path",
|
|
3824
|
-
type: "address[]"
|
|
3825
|
-
},
|
|
3826
|
-
{
|
|
4818
|
+
indexed: false,
|
|
3827
4819
|
internalType: "address",
|
|
3828
4820
|
name: "to",
|
|
3829
4821
|
type: "address"
|
|
3830
4822
|
}
|
|
3831
4823
|
],
|
|
3832
|
-
name: "
|
|
4824
|
+
name: "Swap",
|
|
4825
|
+
type: "event"
|
|
4826
|
+
},
|
|
4827
|
+
{
|
|
4828
|
+
inputs: [
|
|
4829
|
+
],
|
|
4830
|
+
name: "WETH",
|
|
3833
4831
|
outputs: [
|
|
4832
|
+
{
|
|
4833
|
+
internalType: "contract IWETH",
|
|
4834
|
+
name: "",
|
|
4835
|
+
type: "address"
|
|
4836
|
+
}
|
|
3834
4837
|
],
|
|
3835
|
-
stateMutability: "
|
|
4838
|
+
stateMutability: "view",
|
|
3836
4839
|
type: "function"
|
|
3837
4840
|
},
|
|
3838
4841
|
{
|
|
@@ -3843,14 +4846,9 @@ var abi$3 = [
|
|
|
3843
4846
|
type: "uint256"
|
|
3844
4847
|
},
|
|
3845
4848
|
{
|
|
3846
|
-
internalType: "uint256
|
|
3847
|
-
name: "
|
|
3848
|
-
type: "uint256
|
|
3849
|
-
},
|
|
3850
|
-
{
|
|
3851
|
-
internalType: "uint256[]",
|
|
3852
|
-
name: "amounts",
|
|
3853
|
-
type: "uint256[]"
|
|
4849
|
+
internalType: "uint256",
|
|
4850
|
+
name: "amount",
|
|
4851
|
+
type: "uint256"
|
|
3854
4852
|
},
|
|
3855
4853
|
{
|
|
3856
4854
|
internalType: "uint256[]",
|
|
@@ -3858,17 +4856,17 @@ var abi$3 = [
|
|
|
3858
4856
|
type: "uint256[]"
|
|
3859
4857
|
},
|
|
3860
4858
|
{
|
|
3861
|
-
internalType: "
|
|
3862
|
-
name: "
|
|
3863
|
-
type: "
|
|
4859
|
+
internalType: "bytes",
|
|
4860
|
+
name: "swapCallData",
|
|
4861
|
+
type: "bytes"
|
|
3864
4862
|
},
|
|
3865
4863
|
{
|
|
3866
|
-
internalType: "address",
|
|
4864
|
+
internalType: "address payable",
|
|
3867
4865
|
name: "to",
|
|
3868
4866
|
type: "address"
|
|
3869
4867
|
}
|
|
3870
4868
|
],
|
|
3871
|
-
name: "
|
|
4869
|
+
name: "buyAndRedeem",
|
|
3872
4870
|
outputs: [
|
|
3873
4871
|
],
|
|
3874
4872
|
stateMutability: "payable",
|
|
@@ -3897,22 +4895,17 @@ var abi$3 = [
|
|
|
3897
4895
|
type: "uint256[]"
|
|
3898
4896
|
},
|
|
3899
4897
|
{
|
|
3900
|
-
internalType: "
|
|
3901
|
-
name: "
|
|
3902
|
-
type: "
|
|
3903
|
-
},
|
|
3904
|
-
{
|
|
3905
|
-
internalType: "address[]",
|
|
3906
|
-
name: "path",
|
|
3907
|
-
type: "address[]"
|
|
4898
|
+
internalType: "bytes",
|
|
4899
|
+
name: "swapCallData",
|
|
4900
|
+
type: "bytes"
|
|
3908
4901
|
},
|
|
3909
4902
|
{
|
|
3910
|
-
internalType: "address",
|
|
4903
|
+
internalType: "address payable",
|
|
3911
4904
|
name: "to",
|
|
3912
4905
|
type: "address"
|
|
3913
4906
|
}
|
|
3914
4907
|
],
|
|
3915
|
-
name: "
|
|
4908
|
+
name: "buyAndSwap1155",
|
|
3916
4909
|
outputs: [
|
|
3917
4910
|
],
|
|
3918
4911
|
stateMutability: "payable",
|
|
@@ -3936,12 +4929,12 @@ var abi$3 = [
|
|
|
3936
4929
|
type: "uint256[]"
|
|
3937
4930
|
},
|
|
3938
4931
|
{
|
|
3939
|
-
internalType: "
|
|
3940
|
-
name: "
|
|
3941
|
-
type: "
|
|
4932
|
+
internalType: "bytes",
|
|
4933
|
+
name: "swapCallData",
|
|
4934
|
+
type: "bytes"
|
|
3942
4935
|
},
|
|
3943
4936
|
{
|
|
3944
|
-
internalType: "address",
|
|
4937
|
+
internalType: "address payable",
|
|
3945
4938
|
name: "to",
|
|
3946
4939
|
type: "address"
|
|
3947
4940
|
}
|
|
@@ -3954,50 +4947,25 @@ var abi$3 = [
|
|
|
3954
4947
|
},
|
|
3955
4948
|
{
|
|
3956
4949
|
inputs: [
|
|
4950
|
+
],
|
|
4951
|
+
name: "dustThreshold",
|
|
4952
|
+
outputs: [
|
|
3957
4953
|
{
|
|
3958
4954
|
internalType: "uint256",
|
|
3959
|
-
name: "
|
|
3960
|
-
type: "uint256"
|
|
3961
|
-
},
|
|
3962
|
-
{
|
|
3963
|
-
internalType: "uint256[]",
|
|
3964
|
-
name: "idsIn",
|
|
3965
|
-
type: "uint256[]"
|
|
3966
|
-
},
|
|
3967
|
-
{
|
|
3968
|
-
internalType: "uint256[]",
|
|
3969
|
-
name: "specificIds",
|
|
3970
|
-
type: "uint256[]"
|
|
3971
|
-
},
|
|
3972
|
-
{
|
|
3973
|
-
internalType: "uint256",
|
|
3974
|
-
name: "maxWethIn",
|
|
4955
|
+
name: "",
|
|
3975
4956
|
type: "uint256"
|
|
3976
|
-
},
|
|
3977
|
-
{
|
|
3978
|
-
internalType: "address[]",
|
|
3979
|
-
name: "path",
|
|
3980
|
-
type: "address[]"
|
|
3981
|
-
},
|
|
3982
|
-
{
|
|
3983
|
-
internalType: "address",
|
|
3984
|
-
name: "to",
|
|
3985
|
-
type: "address"
|
|
3986
4957
|
}
|
|
3987
4958
|
],
|
|
3988
|
-
|
|
3989
|
-
outputs: [
|
|
3990
|
-
],
|
|
3991
|
-
stateMutability: "nonpayable",
|
|
4959
|
+
stateMutability: "view",
|
|
3992
4960
|
type: "function"
|
|
3993
4961
|
},
|
|
3994
4962
|
{
|
|
3995
4963
|
inputs: [
|
|
3996
4964
|
],
|
|
3997
|
-
name: "
|
|
4965
|
+
name: "feeDistributor",
|
|
3998
4966
|
outputs: [
|
|
3999
4967
|
{
|
|
4000
|
-
internalType: "
|
|
4968
|
+
internalType: "address",
|
|
4001
4969
|
name: "",
|
|
4002
4970
|
type: "address"
|
|
4003
4971
|
}
|
|
@@ -4023,17 +4991,12 @@ var abi$3 = [
|
|
|
4023
4991
|
type: "uint256[]"
|
|
4024
4992
|
},
|
|
4025
4993
|
{
|
|
4026
|
-
internalType: "
|
|
4027
|
-
name: "
|
|
4028
|
-
type: "
|
|
4029
|
-
},
|
|
4030
|
-
{
|
|
4031
|
-
internalType: "address[]",
|
|
4032
|
-
name: "path",
|
|
4033
|
-
type: "address[]"
|
|
4994
|
+
internalType: "bytes",
|
|
4995
|
+
name: "swapCallData",
|
|
4996
|
+
type: "bytes"
|
|
4034
4997
|
},
|
|
4035
4998
|
{
|
|
4036
|
-
internalType: "address",
|
|
4999
|
+
internalType: "address payable",
|
|
4037
5000
|
name: "to",
|
|
4038
5001
|
type: "address"
|
|
4039
5002
|
}
|
|
@@ -4057,27 +5020,17 @@ var abi$3 = [
|
|
|
4057
5020
|
type: "uint256[]"
|
|
4058
5021
|
},
|
|
4059
5022
|
{
|
|
4060
|
-
internalType: "
|
|
4061
|
-
name: "
|
|
4062
|
-
type: "
|
|
4063
|
-
},
|
|
4064
|
-
{
|
|
4065
|
-
internalType: "uint256",
|
|
4066
|
-
name: "minWethOut",
|
|
4067
|
-
type: "uint256"
|
|
4068
|
-
},
|
|
4069
|
-
{
|
|
4070
|
-
internalType: "address[]",
|
|
4071
|
-
name: "path",
|
|
4072
|
-
type: "address[]"
|
|
5023
|
+
internalType: "bytes",
|
|
5024
|
+
name: "swapCallData",
|
|
5025
|
+
type: "bytes"
|
|
4073
5026
|
},
|
|
4074
5027
|
{
|
|
4075
|
-
internalType: "address",
|
|
5028
|
+
internalType: "address payable",
|
|
4076
5029
|
name: "to",
|
|
4077
5030
|
type: "address"
|
|
4078
5031
|
}
|
|
4079
5032
|
],
|
|
4080
|
-
name: "
|
|
5033
|
+
name: "mintAndSell721",
|
|
4081
5034
|
outputs: [
|
|
4082
5035
|
],
|
|
4083
5036
|
stateMutability: "nonpayable",
|
|
@@ -4085,79 +5038,30 @@ var abi$3 = [
|
|
|
4085
5038
|
},
|
|
4086
5039
|
{
|
|
4087
5040
|
inputs: [
|
|
5041
|
+
],
|
|
5042
|
+
name: "nftxFactory",
|
|
5043
|
+
outputs: [
|
|
4088
5044
|
{
|
|
4089
|
-
internalType: "
|
|
4090
|
-
name: "
|
|
4091
|
-
type: "uint256"
|
|
4092
|
-
},
|
|
4093
|
-
{
|
|
4094
|
-
internalType: "uint256[]",
|
|
4095
|
-
name: "ids",
|
|
4096
|
-
type: "uint256[]"
|
|
4097
|
-
},
|
|
4098
|
-
{
|
|
4099
|
-
internalType: "uint256",
|
|
4100
|
-
name: "minEthOut",
|
|
4101
|
-
type: "uint256"
|
|
4102
|
-
},
|
|
4103
|
-
{
|
|
4104
|
-
internalType: "address[]",
|
|
4105
|
-
name: "path",
|
|
4106
|
-
type: "address[]"
|
|
4107
|
-
},
|
|
4108
|
-
{
|
|
4109
|
-
internalType: "address",
|
|
4110
|
-
name: "to",
|
|
5045
|
+
internalType: "contract INFTXVaultFactory",
|
|
5046
|
+
name: "",
|
|
4111
5047
|
type: "address"
|
|
4112
5048
|
}
|
|
4113
5049
|
],
|
|
4114
|
-
|
|
4115
|
-
outputs: [
|
|
4116
|
-
],
|
|
4117
|
-
stateMutability: "nonpayable",
|
|
5050
|
+
stateMutability: "view",
|
|
4118
5051
|
type: "function"
|
|
4119
5052
|
},
|
|
4120
5053
|
{
|
|
4121
5054
|
inputs: [
|
|
4122
5055
|
{
|
|
4123
5056
|
internalType: "uint256",
|
|
4124
|
-
name: "
|
|
4125
|
-
type: "uint256"
|
|
4126
|
-
},
|
|
4127
|
-
{
|
|
4128
|
-
internalType: "uint256[]",
|
|
4129
|
-
name: "ids",
|
|
4130
|
-
type: "uint256[]"
|
|
4131
|
-
},
|
|
4132
|
-
{
|
|
4133
|
-
internalType: "uint256",
|
|
4134
|
-
name: "minWethOut",
|
|
5057
|
+
name: "",
|
|
4135
5058
|
type: "uint256"
|
|
4136
|
-
},
|
|
4137
|
-
{
|
|
4138
|
-
internalType: "address[]",
|
|
4139
|
-
name: "path",
|
|
4140
|
-
type: "address[]"
|
|
4141
|
-
},
|
|
4142
|
-
{
|
|
4143
|
-
internalType: "address",
|
|
4144
|
-
name: "to",
|
|
4145
|
-
type: "address"
|
|
4146
5059
|
}
|
|
4147
5060
|
],
|
|
4148
|
-
name: "
|
|
4149
|
-
outputs: [
|
|
4150
|
-
],
|
|
4151
|
-
stateMutability: "nonpayable",
|
|
4152
|
-
type: "function"
|
|
4153
|
-
},
|
|
4154
|
-
{
|
|
4155
|
-
inputs: [
|
|
4156
|
-
],
|
|
4157
|
-
name: "nftxFactory",
|
|
5061
|
+
name: "nftxVaultAddresses",
|
|
4158
5062
|
outputs: [
|
|
4159
5063
|
{
|
|
4160
|
-
internalType: "
|
|
5064
|
+
internalType: "address",
|
|
4161
5065
|
name: "",
|
|
4162
5066
|
type: "address"
|
|
4163
5067
|
}
|
|
@@ -4291,6 +5195,34 @@ var abi$3 = [
|
|
|
4291
5195
|
stateMutability: "view",
|
|
4292
5196
|
type: "function"
|
|
4293
5197
|
},
|
|
5198
|
+
{
|
|
5199
|
+
inputs: [
|
|
5200
|
+
{
|
|
5201
|
+
internalType: "bool",
|
|
5202
|
+
name: "_paused",
|
|
5203
|
+
type: "bool"
|
|
5204
|
+
}
|
|
5205
|
+
],
|
|
5206
|
+
name: "pause",
|
|
5207
|
+
outputs: [
|
|
5208
|
+
],
|
|
5209
|
+
stateMutability: "nonpayable",
|
|
5210
|
+
type: "function"
|
|
5211
|
+
},
|
|
5212
|
+
{
|
|
5213
|
+
inputs: [
|
|
5214
|
+
],
|
|
5215
|
+
name: "paused",
|
|
5216
|
+
outputs: [
|
|
5217
|
+
{
|
|
5218
|
+
internalType: "bool",
|
|
5219
|
+
name: "",
|
|
5220
|
+
type: "bool"
|
|
5221
|
+
}
|
|
5222
|
+
],
|
|
5223
|
+
stateMutability: "view",
|
|
5224
|
+
type: "function"
|
|
5225
|
+
},
|
|
4294
5226
|
{
|
|
4295
5227
|
inputs: [
|
|
4296
5228
|
],
|
|
@@ -4317,31 +5249,31 @@ var abi$3 = [
|
|
|
4317
5249
|
{
|
|
4318
5250
|
inputs: [
|
|
4319
5251
|
{
|
|
4320
|
-
internalType: "
|
|
4321
|
-
name: "
|
|
4322
|
-
type: "
|
|
5252
|
+
internalType: "uint256",
|
|
5253
|
+
name: "_dustThreshold",
|
|
5254
|
+
type: "uint256"
|
|
4323
5255
|
}
|
|
4324
5256
|
],
|
|
4325
|
-
name: "
|
|
5257
|
+
name: "setDustThreshold",
|
|
4326
5258
|
outputs: [
|
|
4327
|
-
{
|
|
4328
|
-
internalType: "bool",
|
|
4329
|
-
name: "",
|
|
4330
|
-
type: "bool"
|
|
4331
|
-
}
|
|
4332
5259
|
],
|
|
4333
|
-
stateMutability: "
|
|
5260
|
+
stateMutability: "nonpayable",
|
|
4334
5261
|
type: "function"
|
|
4335
5262
|
},
|
|
4336
5263
|
{
|
|
4337
5264
|
inputs: [
|
|
5265
|
+
{
|
|
5266
|
+
internalType: "bytes4",
|
|
5267
|
+
name: "interfaceId",
|
|
5268
|
+
type: "bytes4"
|
|
5269
|
+
}
|
|
4338
5270
|
],
|
|
4339
|
-
name: "
|
|
5271
|
+
name: "supportsInterface",
|
|
4340
5272
|
outputs: [
|
|
4341
5273
|
{
|
|
4342
|
-
internalType: "
|
|
5274
|
+
internalType: "bool",
|
|
4343
5275
|
name: "",
|
|
4344
|
-
type: "
|
|
5276
|
+
type: "bool"
|
|
4345
5277
|
}
|
|
4346
5278
|
],
|
|
4347
5279
|
stateMutability: "view",
|
|
@@ -4376,7 +5308,7 @@ var NFTXTrade = /*#__PURE__*/function (_NFTTrade) {
|
|
|
4376
5308
|
_proto.encode = function encode(planner, config) {
|
|
4377
5309
|
for (var _iterator = _createForOfIteratorHelperLoose(this.orders), _step; !(_step = _iterator()).done;) {
|
|
4378
5310
|
var order = _step.value;
|
|
4379
|
-
var calldata = NFTXTrade.INTERFACE.encodeFunctionData('buyAndRedeem', [order.vaultId, order.tokenIds.length, order.tokenIds,
|
|
5311
|
+
var calldata = NFTXTrade.INTERFACE.encodeFunctionData('buyAndRedeem', [order.vaultId, order.tokenIds.length, order.tokenIds, order.swapCalldata, order.recipient]);
|
|
4380
5312
|
planner.addCommand(CommandType.NFTX, [order.value, calldata], config.allowRevert);
|
|
4381
5313
|
}
|
|
4382
5314
|
};
|
|
@@ -7127,9 +8059,9 @@ var SeaportTrade = /*#__PURE__*/function (_NFTTrade) {
|
|
|
7127
8059
|
};
|
|
7128
8060
|
_proto.commandMap = function commandMap(protocolAddress) {
|
|
7129
8061
|
switch (protocolAddress.toLowerCase()) {
|
|
7130
|
-
case '
|
|
7131
|
-
// Seaport v1.
|
|
7132
|
-
return CommandType.
|
|
8062
|
+
case '0x00000000000000ADc04C56Bf30aC9d3c0aAF14dC':
|
|
8063
|
+
// Seaport v1.5
|
|
8064
|
+
return CommandType.SEAPORT_V1_5;
|
|
7133
8065
|
case '0x00000000000001ad428e4906ae43d8f9852d0dd6':
|
|
7134
8066
|
// Seaport v1.4
|
|
7135
8067
|
return CommandType.SEAPORT_V1_4;
|
|
@@ -9531,5 +10463,5 @@ var UnwrapWETH = /*#__PURE__*/function () {
|
|
|
9531
10463
|
return UnwrapWETH;
|
|
9532
10464
|
}();
|
|
9533
10465
|
|
|
9534
|
-
export { CryptopunkTrade, FoundationTrade,
|
|
10466
|
+
export { CryptopunkTrade, FoundationTrade, LooksRareV2Trade, Market, NFT20Trade, NFTTrade, NFTXTrade, PERMIT2_ADDRESS, ROUTER_AS_RECIPIENT, RouterTradeType, SeaportTrade, SudoswapTrade, SwapRouter, TokenType, UNIVERSAL_ROUTER_ADDRESS, UniswapTrade, UnwrapWETH, WETH_ADDRESS, X2Y2Trade };
|
|
9535
10467
|
//# sourceMappingURL=universal-router-sdk.esm.js.map
|