@hypercerts-org/marketplace-sdk 0.0.3 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/LooksRare.d.ts +1 -6
- package/dist/abis/LooksRareProtocol.json +5 -184
- package/dist/index.cjs.js +25 -229
- package/dist/index.d.ts +3 -3
- package/dist/index.esm.js +25 -229
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/LooksRareProtocol.d.ts +45 -219
- package/dist/types.d.ts +0 -9
- package/dist/utils/calls/exchange.d.ts +3 -3
- package/package.json +2 -2
- package/LICENSE-APACHE +0 -10
- package/LICENSE-MIT +0 -21
package/dist/index.esm.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Contract, ZeroAddress, AbiCoder, TypedDataEncoder, keccak256, solidityPackedKeccak256, ethers, ZeroHash, MaxUint256 } from 'ethers';
|
|
2
2
|
import { MerkleTree } from 'merkletreejs';
|
|
3
|
+
import { deployments } from '@hypercerts-org/contracts';
|
|
3
4
|
import { keccak256 as keccak256$1 } from 'js-sha3';
|
|
4
5
|
|
|
5
6
|
var abiIERC721 = [
|
|
@@ -611,12 +612,6 @@ var abi$2 = [
|
|
|
611
612
|
name: "NotAContract",
|
|
612
613
|
type: "error"
|
|
613
614
|
},
|
|
614
|
-
{
|
|
615
|
-
inputs: [
|
|
616
|
-
],
|
|
617
|
-
name: "NotAffiliateController",
|
|
618
|
-
type: "error"
|
|
619
|
-
},
|
|
620
615
|
{
|
|
621
616
|
inputs: [
|
|
622
617
|
],
|
|
@@ -641,12 +636,6 @@ var abi$2 = [
|
|
|
641
636
|
name: "OutsideOfTimeRange",
|
|
642
637
|
type: "error"
|
|
643
638
|
},
|
|
644
|
-
{
|
|
645
|
-
inputs: [
|
|
646
|
-
],
|
|
647
|
-
name: "PercentageTooHigh",
|
|
648
|
-
type: "error"
|
|
649
|
-
},
|
|
650
639
|
{
|
|
651
640
|
inputs: [
|
|
652
641
|
],
|
|
@@ -755,33 +744,14 @@ var abi$2 = [
|
|
|
755
744
|
{
|
|
756
745
|
inputs: [
|
|
757
746
|
],
|
|
758
|
-
name: "
|
|
747
|
+
name: "UnsupportedCollectionType",
|
|
759
748
|
type: "error"
|
|
760
749
|
},
|
|
761
750
|
{
|
|
762
|
-
anonymous: false,
|
|
763
751
|
inputs: [
|
|
764
|
-
{
|
|
765
|
-
indexed: false,
|
|
766
|
-
internalType: "address",
|
|
767
|
-
name: "affiliate",
|
|
768
|
-
type: "address"
|
|
769
|
-
},
|
|
770
|
-
{
|
|
771
|
-
indexed: false,
|
|
772
|
-
internalType: "address",
|
|
773
|
-
name: "currency",
|
|
774
|
-
type: "address"
|
|
775
|
-
},
|
|
776
|
-
{
|
|
777
|
-
indexed: false,
|
|
778
|
-
internalType: "uint256",
|
|
779
|
-
name: "affiliateFee",
|
|
780
|
-
type: "uint256"
|
|
781
|
-
}
|
|
782
752
|
],
|
|
783
|
-
name: "
|
|
784
|
-
type: "
|
|
753
|
+
name: "WrongPotentialOwner",
|
|
754
|
+
type: "error"
|
|
785
755
|
},
|
|
786
756
|
{
|
|
787
757
|
anonymous: false,
|
|
@@ -835,51 +805,6 @@ var abi$2 = [
|
|
|
835
805
|
name: "InitiateOwnershipTransfer",
|
|
836
806
|
type: "event"
|
|
837
807
|
},
|
|
838
|
-
{
|
|
839
|
-
anonymous: false,
|
|
840
|
-
inputs: [
|
|
841
|
-
{
|
|
842
|
-
indexed: false,
|
|
843
|
-
internalType: "address",
|
|
844
|
-
name: "affiliateController",
|
|
845
|
-
type: "address"
|
|
846
|
-
}
|
|
847
|
-
],
|
|
848
|
-
name: "NewAffiliateController",
|
|
849
|
-
type: "event"
|
|
850
|
-
},
|
|
851
|
-
{
|
|
852
|
-
anonymous: false,
|
|
853
|
-
inputs: [
|
|
854
|
-
{
|
|
855
|
-
indexed: false,
|
|
856
|
-
internalType: "bool",
|
|
857
|
-
name: "isActive",
|
|
858
|
-
type: "bool"
|
|
859
|
-
}
|
|
860
|
-
],
|
|
861
|
-
name: "NewAffiliateProgramStatus",
|
|
862
|
-
type: "event"
|
|
863
|
-
},
|
|
864
|
-
{
|
|
865
|
-
anonymous: false,
|
|
866
|
-
inputs: [
|
|
867
|
-
{
|
|
868
|
-
indexed: false,
|
|
869
|
-
internalType: "address",
|
|
870
|
-
name: "affiliate",
|
|
871
|
-
type: "address"
|
|
872
|
-
},
|
|
873
|
-
{
|
|
874
|
-
indexed: false,
|
|
875
|
-
internalType: "uint256",
|
|
876
|
-
name: "rate",
|
|
877
|
-
type: "uint256"
|
|
878
|
-
}
|
|
879
|
-
],
|
|
880
|
-
name: "NewAffiliateRate",
|
|
881
|
-
type: "event"
|
|
882
|
-
},
|
|
883
808
|
{
|
|
884
809
|
anonymous: false,
|
|
885
810
|
inputs: [
|
|
@@ -1330,39 +1255,6 @@ var abi$2 = [
|
|
|
1330
1255
|
stateMutability: "nonpayable",
|
|
1331
1256
|
type: "function"
|
|
1332
1257
|
},
|
|
1333
|
-
{
|
|
1334
|
-
inputs: [
|
|
1335
|
-
],
|
|
1336
|
-
name: "affiliateController",
|
|
1337
|
-
outputs: [
|
|
1338
|
-
{
|
|
1339
|
-
internalType: "address",
|
|
1340
|
-
name: "",
|
|
1341
|
-
type: "address"
|
|
1342
|
-
}
|
|
1343
|
-
],
|
|
1344
|
-
stateMutability: "view",
|
|
1345
|
-
type: "function"
|
|
1346
|
-
},
|
|
1347
|
-
{
|
|
1348
|
-
inputs: [
|
|
1349
|
-
{
|
|
1350
|
-
internalType: "address",
|
|
1351
|
-
name: "",
|
|
1352
|
-
type: "address"
|
|
1353
|
-
}
|
|
1354
|
-
],
|
|
1355
|
-
name: "affiliateRates",
|
|
1356
|
-
outputs: [
|
|
1357
|
-
{
|
|
1358
|
-
internalType: "uint256",
|
|
1359
|
-
name: "",
|
|
1360
|
-
type: "uint256"
|
|
1361
|
-
}
|
|
1362
|
-
],
|
|
1363
|
-
stateMutability: "view",
|
|
1364
|
-
type: "function"
|
|
1365
|
-
},
|
|
1366
1258
|
{
|
|
1367
1259
|
inputs: [
|
|
1368
1260
|
{
|
|
@@ -1595,11 +1487,6 @@ var abi$2 = [
|
|
|
1595
1487
|
name: "merkleTrees",
|
|
1596
1488
|
type: "tuple[]"
|
|
1597
1489
|
},
|
|
1598
|
-
{
|
|
1599
|
-
internalType: "address",
|
|
1600
|
-
name: "affiliate",
|
|
1601
|
-
type: "address"
|
|
1602
|
-
},
|
|
1603
1490
|
{
|
|
1604
1491
|
internalType: "bool",
|
|
1605
1492
|
name: "isAtomic",
|
|
@@ -1746,11 +1633,6 @@ var abi$2 = [
|
|
|
1746
1633
|
internalType: "struct OrderStructs.MerkleTree",
|
|
1747
1634
|
name: "merkleTree",
|
|
1748
1635
|
type: "tuple"
|
|
1749
|
-
},
|
|
1750
|
-
{
|
|
1751
|
-
internalType: "address",
|
|
1752
|
-
name: "affiliate",
|
|
1753
|
-
type: "address"
|
|
1754
1636
|
}
|
|
1755
1637
|
],
|
|
1756
1638
|
name: "executeTakerAsk",
|
|
@@ -1893,11 +1775,6 @@ var abi$2 = [
|
|
|
1893
1775
|
internalType: "struct OrderStructs.MerkleTree",
|
|
1894
1776
|
name: "merkleTree",
|
|
1895
1777
|
type: "tuple"
|
|
1896
|
-
},
|
|
1897
|
-
{
|
|
1898
|
-
internalType: "address",
|
|
1899
|
-
name: "affiliate",
|
|
1900
|
-
type: "address"
|
|
1901
1778
|
}
|
|
1902
1779
|
],
|
|
1903
1780
|
name: "executeTakerBid",
|
|
@@ -1972,20 +1849,6 @@ var abi$2 = [
|
|
|
1972
1849
|
stateMutability: "nonpayable",
|
|
1973
1850
|
type: "function"
|
|
1974
1851
|
},
|
|
1975
|
-
{
|
|
1976
|
-
inputs: [
|
|
1977
|
-
],
|
|
1978
|
-
name: "isAffiliateProgramActive",
|
|
1979
|
-
outputs: [
|
|
1980
|
-
{
|
|
1981
|
-
internalType: "bool",
|
|
1982
|
-
name: "",
|
|
1983
|
-
type: "bool"
|
|
1984
|
-
}
|
|
1985
|
-
],
|
|
1986
|
-
stateMutability: "view",
|
|
1987
|
-
type: "function"
|
|
1988
|
-
},
|
|
1989
1852
|
{
|
|
1990
1853
|
inputs: [
|
|
1991
1854
|
{
|
|
@@ -2261,53 +2124,6 @@ var abi$2 = [
|
|
|
2261
2124
|
stateMutability: "view",
|
|
2262
2125
|
type: "function"
|
|
2263
2126
|
},
|
|
2264
|
-
{
|
|
2265
|
-
inputs: [
|
|
2266
|
-
{
|
|
2267
|
-
internalType: "address",
|
|
2268
|
-
name: "newAffiliateController",
|
|
2269
|
-
type: "address"
|
|
2270
|
-
}
|
|
2271
|
-
],
|
|
2272
|
-
name: "updateAffiliateController",
|
|
2273
|
-
outputs: [
|
|
2274
|
-
],
|
|
2275
|
-
stateMutability: "nonpayable",
|
|
2276
|
-
type: "function"
|
|
2277
|
-
},
|
|
2278
|
-
{
|
|
2279
|
-
inputs: [
|
|
2280
|
-
{
|
|
2281
|
-
internalType: "bool",
|
|
2282
|
-
name: "isActive",
|
|
2283
|
-
type: "bool"
|
|
2284
|
-
}
|
|
2285
|
-
],
|
|
2286
|
-
name: "updateAffiliateProgramStatus",
|
|
2287
|
-
outputs: [
|
|
2288
|
-
],
|
|
2289
|
-
stateMutability: "nonpayable",
|
|
2290
|
-
type: "function"
|
|
2291
|
-
},
|
|
2292
|
-
{
|
|
2293
|
-
inputs: [
|
|
2294
|
-
{
|
|
2295
|
-
internalType: "address",
|
|
2296
|
-
name: "affiliate",
|
|
2297
|
-
type: "address"
|
|
2298
|
-
},
|
|
2299
|
-
{
|
|
2300
|
-
internalType: "uint256",
|
|
2301
|
-
name: "bp",
|
|
2302
|
-
type: "uint256"
|
|
2303
|
-
}
|
|
2304
|
-
],
|
|
2305
|
-
name: "updateAffiliateRate",
|
|
2306
|
-
outputs: [
|
|
2307
|
-
],
|
|
2308
|
-
stateMutability: "nonpayable",
|
|
2309
|
-
type: "function"
|
|
2310
|
-
},
|
|
2311
2127
|
{
|
|
2312
2128
|
inputs: [
|
|
2313
2129
|
{
|
|
@@ -2495,45 +2311,45 @@ var abi$2 = [
|
|
|
2495
2311
|
}
|
|
2496
2312
|
];
|
|
2497
2313
|
|
|
2498
|
-
const executeTakerBid = (signer, address, taker, maker, makerSignature, merkleTree,
|
|
2314
|
+
const executeTakerBid = (signer, address, taker, maker, makerSignature, merkleTree, overrides) => {
|
|
2499
2315
|
const overridesWithValue = {
|
|
2500
2316
|
...overrides,
|
|
2501
2317
|
...(maker.currency === ZeroAddress && { value: maker.price }),
|
|
2502
2318
|
};
|
|
2503
2319
|
const contract = new Contract(address, abi$2).connect(signer);
|
|
2504
2320
|
return {
|
|
2505
|
-
call: (additionalOverrides) => contract.executeTakerBid.send(taker, maker, makerSignature, merkleTree,
|
|
2321
|
+
call: (additionalOverrides) => contract.executeTakerBid.send(taker, maker, makerSignature, merkleTree, {
|
|
2506
2322
|
...overridesWithValue,
|
|
2507
2323
|
...additionalOverrides,
|
|
2508
2324
|
}),
|
|
2509
|
-
estimateGas: (additionalOverrides) => contract.executeTakerBid.estimateGas(taker, maker, makerSignature, merkleTree,
|
|
2325
|
+
estimateGas: (additionalOverrides) => contract.executeTakerBid.estimateGas(taker, maker, makerSignature, merkleTree, {
|
|
2510
2326
|
...overridesWithValue,
|
|
2511
2327
|
...additionalOverrides,
|
|
2512
2328
|
}),
|
|
2513
|
-
callStatic: (additionalOverrides) => contract.executeTakerBid.staticCall(taker, maker, makerSignature, merkleTree,
|
|
2329
|
+
callStatic: (additionalOverrides) => contract.executeTakerBid.staticCall(taker, maker, makerSignature, merkleTree, {
|
|
2514
2330
|
...overridesWithValue,
|
|
2515
2331
|
...additionalOverrides,
|
|
2516
2332
|
}),
|
|
2517
2333
|
};
|
|
2518
2334
|
};
|
|
2519
|
-
const executeTakerAsk = (signer, address, taker, maker, makerSignature, merkleTree,
|
|
2335
|
+
const executeTakerAsk = (signer, address, taker, maker, makerSignature, merkleTree, overrides) => {
|
|
2520
2336
|
const contract = new Contract(address, abi$2).connect(signer);
|
|
2521
2337
|
return {
|
|
2522
|
-
call: (additionalOverrides) => contract.executeTakerAsk.send(taker, maker, makerSignature, merkleTree,
|
|
2338
|
+
call: (additionalOverrides) => contract.executeTakerAsk.send(taker, maker, makerSignature, merkleTree, {
|
|
2523
2339
|
...overrides,
|
|
2524
2340
|
...additionalOverrides,
|
|
2525
2341
|
}),
|
|
2526
|
-
estimateGas: (additionalOverrides) => contract.executeTakerAsk.estimateGas(taker, maker, makerSignature, merkleTree,
|
|
2342
|
+
estimateGas: (additionalOverrides) => contract.executeTakerAsk.estimateGas(taker, maker, makerSignature, merkleTree, {
|
|
2527
2343
|
...overrides,
|
|
2528
2344
|
...additionalOverrides,
|
|
2529
2345
|
}),
|
|
2530
|
-
callStatic: (additionalOverrides) => contract.executeTakerAsk.staticCall(taker, maker, makerSignature, merkleTree,
|
|
2346
|
+
callStatic: (additionalOverrides) => contract.executeTakerAsk.staticCall(taker, maker, makerSignature, merkleTree, {
|
|
2531
2347
|
...overrides,
|
|
2532
2348
|
...additionalOverrides,
|
|
2533
2349
|
}),
|
|
2534
2350
|
};
|
|
2535
2351
|
};
|
|
2536
|
-
const executeMultipleTakerBids = (signer, address, taker, maker, makerSignature, isAtomic, merkleTree,
|
|
2352
|
+
const executeMultipleTakerBids = (signer, address, taker, maker, makerSignature, isAtomic, merkleTree, overrides) => {
|
|
2537
2353
|
const value = maker.reduce((acc, order) => (order.currency === ZeroAddress ? acc + BigInt(order.price) : acc), 0n);
|
|
2538
2354
|
const overridesWithValue = {
|
|
2539
2355
|
...overrides,
|
|
@@ -2541,15 +2357,15 @@ const executeMultipleTakerBids = (signer, address, taker, maker, makerSignature,
|
|
|
2541
2357
|
};
|
|
2542
2358
|
const contract = new Contract(address, abi$2).connect(signer);
|
|
2543
2359
|
return {
|
|
2544
|
-
call: (additionalOverrides) => contract.executeMultipleTakerBids.send(taker, maker, makerSignature, merkleTree,
|
|
2360
|
+
call: (additionalOverrides) => contract.executeMultipleTakerBids.send(taker, maker, makerSignature, merkleTree, isAtomic, {
|
|
2545
2361
|
...overridesWithValue,
|
|
2546
2362
|
...additionalOverrides,
|
|
2547
2363
|
}),
|
|
2548
|
-
estimateGas: (additionalOverrides) => contract.executeMultipleTakerBids.estimateGas(taker, maker, makerSignature, merkleTree,
|
|
2364
|
+
estimateGas: (additionalOverrides) => contract.executeMultipleTakerBids.estimateGas(taker, maker, makerSignature, merkleTree, isAtomic, {
|
|
2549
2365
|
...overridesWithValue,
|
|
2550
2366
|
...additionalOverrides,
|
|
2551
2367
|
}),
|
|
2552
|
-
callStatic: (additionalOverrides) => contract.executeMultipleTakerBids.staticCall(taker, maker, makerSignature, merkleTree,
|
|
2368
|
+
callStatic: (additionalOverrides) => contract.executeMultipleTakerBids.staticCall(taker, maker, makerSignature, merkleTree, isAtomic, {
|
|
2553
2369
|
...overridesWithValue,
|
|
2554
2370
|
...additionalOverrides,
|
|
2555
2371
|
}),
|
|
@@ -4010,26 +3826,18 @@ var signMakerOrders = /*#__PURE__*/Object.freeze({
|
|
|
4010
3826
|
});
|
|
4011
3827
|
|
|
4012
3828
|
const goerliAddresses = {
|
|
4013
|
-
|
|
4014
|
-
|
|
4015
|
-
|
|
3829
|
+
EXCHANGE_V2: "0x483e634b79A933CDf369c46f6138a781B7495233",
|
|
3830
|
+
TRANSFER_MANAGER_V2: "0x7AAC4C1407f5F83256581eCc913dC8b20F7bdab1",
|
|
3831
|
+
// EXCHANGE_V2: deployments[5].HypercertExchange as string,
|
|
3832
|
+
// TRANSFER_MANAGER_V2: deployments[5].TransferManager as string,
|
|
4016
3833
|
WETH: "0xB4FBF271143F4FBf7B91A5ded31805e42b2208d6",
|
|
4017
3834
|
ORDER_VALIDATOR_V2: "0x7454Cc9AEB024bcE6A2CDC49ad4733B4D8215fb8",
|
|
4018
|
-
REVERSE_RECORDS: "0x333Fc8f550043f239a2CF79aEd5e9cF4A20Eb41e",
|
|
4019
|
-
LOOKS_LP_V3: "0x87C81267796Cd65347130e789CADdCdAf7bD2231",
|
|
4020
|
-
STAKING_POOL_FOR_LOOKS_LP: "",
|
|
4021
|
-
AGGREGATOR_UNISWAP_V3: "0x63c38B3BE3eF075a00a5edaeC36F499088c7334C",
|
|
4022
3835
|
};
|
|
4023
3836
|
const sepoliaAddresses = {
|
|
4024
|
-
|
|
4025
|
-
|
|
4026
|
-
TRANSFER_MANAGER_V2: "0xb46f116ecBa8451E661189F4b2B63aC60a618092",
|
|
3837
|
+
EXCHANGE_V2: deployments[11155111].HypercertExchange,
|
|
3838
|
+
TRANSFER_MANAGER_V2: deployments[11155111].TransferManager,
|
|
4027
3839
|
WETH: "",
|
|
4028
3840
|
ORDER_VALIDATOR_V2: "0x0bc129E4c1f8D7b5583eAbAeb1F7468935B6ec0C",
|
|
4029
|
-
REVERSE_RECORDS: "",
|
|
4030
|
-
LOOKS_LP_V3: "",
|
|
4031
|
-
STAKING_POOL_FOR_LOOKS_LP: "",
|
|
4032
|
-
AGGREGATOR_UNISWAP_V3: "",
|
|
4033
3841
|
};
|
|
4034
3842
|
/**
|
|
4035
3843
|
* List of useful contract addresses
|
|
@@ -4048,10 +3856,6 @@ const chainInfo = {
|
|
|
4048
3856
|
rpcUrl: "https://eth-goerli.g.alchemy.com/v2",
|
|
4049
3857
|
baseApiUrl: "https://graphql-goerli.looksrare.org",
|
|
4050
3858
|
osApiUrl: "https://testnets-api.opensea.io",
|
|
4051
|
-
cdnUrl: "https://static-goerli.looksnice.org",
|
|
4052
|
-
rewardsSubgraphUrl: "https://api.thegraph.com/subgraphs/name/0xjurassicpunk/looks-distribution",
|
|
4053
|
-
cloudinaryUrl: "https://looksrare.mo.cloudinary.net/goerli",
|
|
4054
|
-
wsUrl: "wss://ws-goerli.looksrare.org/ws",
|
|
4055
3859
|
},
|
|
4056
3860
|
[ChainId.SEPOLIA]: {
|
|
4057
3861
|
label: "Sepolia",
|
|
@@ -4060,10 +3864,6 @@ const chainInfo = {
|
|
|
4060
3864
|
rpcUrl: "https://eth-sepolia.g.alchemy.com/v2",
|
|
4061
3865
|
baseApiUrl: "https://graphql-sepolia.looksrare.org",
|
|
4062
3866
|
osApiUrl: "https://testnets-api.opensea.io",
|
|
4063
|
-
cdnUrl: "https://static-sepolia.looksnice.org",
|
|
4064
|
-
rewardsSubgraphUrl: "https://api.thegraph.com/subgraphs/name/0xjurassicpunk/looks-distribution",
|
|
4065
|
-
cloudinaryUrl: "https://looksrare.mo.cloudinary.net/sepolia",
|
|
4066
|
-
wsUrl: "wss://ws-sepolia.looksrare.org/ws",
|
|
4067
3867
|
},
|
|
4068
3868
|
[ChainId.HARDHAT]: {
|
|
4069
3869
|
label: "Hardhat",
|
|
@@ -4072,10 +3872,6 @@ const chainInfo = {
|
|
|
4072
3872
|
rpcUrl: "http://127.0.0.1:8545",
|
|
4073
3873
|
baseApiUrl: "http://localhost:4000",
|
|
4074
3874
|
osApiUrl: "https://testnets-api.opensea.io",
|
|
4075
|
-
cdnUrl: "https://via.placeholder.com",
|
|
4076
|
-
rewardsSubgraphUrl: "https://api.thegraph.com/subgraphs/name/0xjurassicpunk/looks-distribution",
|
|
4077
|
-
cloudinaryUrl: "",
|
|
4078
|
-
wsUrl: "ws://localhost:5001/ws",
|
|
4079
3875
|
},
|
|
4080
3876
|
};
|
|
4081
3877
|
|
|
@@ -5046,10 +4842,10 @@ class LooksRare {
|
|
|
5046
4842
|
* @param affiliate Affiliate address if applicable
|
|
5047
4843
|
* @returns ContractMethods
|
|
5048
4844
|
*/
|
|
5049
|
-
executeOrder(maker, taker, signature, merkleTree = defaultMerkleTree,
|
|
4845
|
+
executeOrder(maker, taker, signature, merkleTree = defaultMerkleTree, overrides) {
|
|
5050
4846
|
const signer = this.getSigner();
|
|
5051
4847
|
const execute = maker.quoteType === QuoteType.Ask ? executeTakerBid : executeTakerAsk;
|
|
5052
|
-
return execute(signer, this.addresses.EXCHANGE_V2, taker, maker, signature, merkleTree,
|
|
4848
|
+
return execute(signer, this.addresses.EXCHANGE_V2, taker, maker, signature, merkleTree, overrides);
|
|
5053
4849
|
}
|
|
5054
4850
|
/**
|
|
5055
4851
|
* Execute several orders
|
|
@@ -5074,7 +4870,7 @@ class LooksRare {
|
|
|
5074
4870
|
signatures.push(order.signature);
|
|
5075
4871
|
merkleTrees.push(order.merkleTree ?? defaultMerkleTree);
|
|
5076
4872
|
});
|
|
5077
|
-
return executeMultipleTakerBids(signer, this.addresses.EXCHANGE_V2, takers, makers, signatures, isAtomic, merkleTrees, affiliate
|
|
4873
|
+
return executeMultipleTakerBids(signer, this.addresses.EXCHANGE_V2, takers, makers, signatures, isAtomic, merkleTrees, affiliate);
|
|
5078
4874
|
}
|
|
5079
4875
|
/**
|
|
5080
4876
|
* Cancell all maker bid and/or ask orders for the current user
|