@hypercerts-org/marketplace-sdk 0.0.1
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/LICENSE +4 -0
- package/LICENSE-APACHE +10 -0
- package/LICENSE-MIT +21 -0
- package/README.md +101 -0
- package/dist/LooksRare.d.ts +223 -0
- package/dist/abis/IERC1155.json +276 -0
- package/dist/abis/IERC20.json +185 -0
- package/dist/abis/IERC721.json +268 -0
- package/dist/abis/ILooksRareProtocol.json +677 -0
- package/dist/abis/ITransferManager.json +91 -0
- package/dist/abis/IWETH.json +46 -0
- package/dist/abis/LooksRareProtocol.json +1924 -0
- package/dist/abis/OrderValidatorV2A.json +410 -0
- package/dist/abis/ProtocolHelpers.json +366 -0
- package/dist/abis/TransferManager.json +492 -0
- package/dist/abis/WETH.json +361 -0
- package/dist/abis/index.d.ts +7 -0
- package/dist/abis/index.ts +7 -0
- package/dist/constants/addresses.d.ts +7 -0
- package/dist/constants/chains.d.ts +4 -0
- package/dist/constants/eip712.d.ts +10 -0
- package/dist/constants/index.d.ts +14 -0
- package/dist/errors.d.ts +30 -0
- package/dist/index.cjs.js +5251 -0
- package/dist/index.d.ts +45 -0
- package/dist/index.esm.js +5229 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/AffiliateManager.d.ts +210 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/BatchOrderTypehashRegistry.d.ts +35 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/CreatorFeeManagerWithRoyalties.d.ts +47 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/CurrencyManager.d.ts +247 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/ExecutionManager.d.ts +616 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/LooksRareProtocol.d.ts +1005 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/NonceManager.d.ts +148 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/StrategyManager.d.ts +401 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/TransferManager.d.ts +324 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/TransferSelectorNFT.d.ts +620 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/executionStrategies/BaseStrategy.d.ts +97 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/executionStrategies/StrategyCollectionOffer.d.ts +176 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/executionStrategies/index.d.ts +2 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/helpers/OrderValidatorV2A.d.ts +172 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/helpers/ProtocolHelpers.d.ts +148 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/helpers/index.d.ts +2 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/index.d.ts +16 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/IAffiliateManager.d.ts +65 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/ICreatorFeeManager.d.ts +47 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/ICurrencyManager.d.ts +37 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/IExecutionManager.d.ts +64 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/ILooksRareProtocol.d.ts +343 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/INonceManager.d.ts +72 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/IRoyaltyFeeRegistry.d.ts +41 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/IStrategy.d.ts +97 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/IStrategyManager.d.ts +85 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/ITransferManager.d.ts +80 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/index.d.ts +10 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/index.d.ts +4 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/test/index.d.ts +2 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/test/mock/MockRoyaltyFeeRegistry.d.ts +222 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/test/mock/index.d.ts +1 -0
- package/dist/typechain/@looksrare/contracts-libs/contracts/OwnableTwoSteps.d.ts +121 -0
- package/dist/typechain/@looksrare/contracts-libs/contracts/PackableReentrancyGuard.d.ts +20 -0
- package/dist/typechain/@looksrare/contracts-libs/contracts/index.d.ts +4 -0
- package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/IOwnableTwoSteps.d.ts +80 -0
- package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/IReentrancyGuard.d.ts +20 -0
- package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/generic/IERC1155.d.ts +224 -0
- package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/generic/IERC1271.d.ts +35 -0
- package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/generic/IERC165.d.ts +29 -0
- package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/generic/IERC20.d.ts +129 -0
- package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/generic/IERC2981.d.ts +49 -0
- package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/generic/IERC721.d.ts +191 -0
- package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/generic/IWETH.d.ts +43 -0
- package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/generic/index.d.ts +7 -0
- package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/index.d.ts +4 -0
- package/dist/typechain/@looksrare/contracts-libs/index.d.ts +2 -0
- package/dist/typechain/@looksrare/index.d.ts +4 -0
- package/dist/typechain/common.d.ts +50 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/AffiliateManager__factory.d.ts +264 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/BatchOrderTypehashRegistry__factory.d.ts +48 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/CreatorFeeManagerWithRoyalties__factory.d.ts +74 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/CurrencyManager__factory.d.ts +307 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/ExecutionManager__factory.d.ts +748 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/LooksRareProtocol__factory.d.ts +1527 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/NonceManager__factory.d.ts +174 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/StrategyManager__factory.d.ts +478 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/TransferManager__factory.d.ts +406 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/TransferSelectorNFT__factory.d.ts +766 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/executionStrategies/BaseStrategy__factory.d.ts +100 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/executionStrategies/StrategyCollectionOffer__factory.d.ts +323 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/executionStrategies/index.d.ts +2 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/helpers/OrderValidatorV2A__factory.d.ts +338 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/helpers/ProtocolHelpers__factory.d.ts +302 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/helpers/index.d.ts +2 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/index.d.ts +13 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/IAffiliateManager__factory.d.ts +50 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/ICreatorFeeManager__factory.d.ts +51 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/ICurrencyManager__factory.d.ts +22 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/IExecutionManager__factory.d.ts +61 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/ILooksRareProtocol__factory.d.ts +540 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/INonceManager__factory.d.ts +57 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/IRoyaltyFeeRegistry__factory.d.ts +29 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/IStrategyManager__factory.d.ts +88 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/IStrategy__factory.d.ts +100 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/ITransferManager__factory.d.ts +77 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/index.d.ts +10 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/index.d.ts +2 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/test/index.d.ts +1 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/test/mock/MockRoyaltyFeeRegistry__factory.d.ts +278 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/test/mock/index.d.ts +1 -0
- package/dist/typechain/factories/@looksrare/contracts-libs/contracts/OwnableTwoSteps__factory.d.ts +130 -0
- package/dist/typechain/factories/@looksrare/contracts-libs/contracts/PackableReentrancyGuard__factory.d.ts +11 -0
- package/dist/typechain/factories/@looksrare/contracts-libs/contracts/index.d.ts +3 -0
- package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/IOwnableTwoSteps__factory.d.ts +66 -0
- package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/IReentrancyGuard__factory.d.ts +11 -0
- package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/generic/IERC1155__factory.d.ts +222 -0
- package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/generic/IERC1271__factory.d.ts +25 -0
- package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/generic/IERC165__factory.d.ts +21 -0
- package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/generic/IERC20__factory.d.ts +147 -0
- package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/generic/IERC2981__factory.d.ts +43 -0
- package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/generic/IERC721__factory.d.ts +213 -0
- package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/generic/IWETH__factory.d.ts +41 -0
- package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/generic/index.d.ts +7 -0
- package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/index.d.ts +3 -0
- package/dist/typechain/factories/@looksrare/contracts-libs/index.d.ts +1 -0
- package/dist/typechain/factories/@looksrare/index.d.ts +2 -0
- package/dist/typechain/factories/index.d.ts +3 -0
- package/dist/typechain/factories/solmate/index.d.ts +1 -0
- package/dist/typechain/factories/solmate/src/index.d.ts +1 -0
- package/dist/typechain/factories/solmate/src/tokens/ERC1155.sol/ERC1155TokenReceiver__factory.d.ts +67 -0
- package/dist/typechain/factories/solmate/src/tokens/ERC1155.sol/ERC1155__factory.d.ts +250 -0
- package/dist/typechain/factories/solmate/src/tokens/ERC1155.sol/index.d.ts +2 -0
- package/dist/typechain/factories/solmate/src/tokens/ERC20__factory.d.ts +235 -0
- package/dist/typechain/factories/solmate/src/tokens/ERC721.sol/ERC721TokenReceiver__factory.d.ts +33 -0
- package/dist/typechain/factories/solmate/src/tokens/ERC721.sol/ERC721__factory.d.ts +261 -0
- package/dist/typechain/factories/solmate/src/tokens/ERC721.sol/index.d.ts +2 -0
- package/dist/typechain/factories/solmate/src/tokens/WETH__factory.d.ts +299 -0
- package/dist/typechain/factories/solmate/src/tokens/index.d.ts +4 -0
- package/dist/typechain/factories/src/contracts/index.d.ts +1 -0
- package/dist/typechain/factories/src/contracts/tests/MockERC1155__factory.d.ts +283 -0
- package/dist/typechain/factories/src/contracts/tests/MockERC721__factory.d.ts +308 -0
- package/dist/typechain/factories/src/contracts/tests/Verifier__factory.d.ts +462 -0
- package/dist/typechain/factories/src/contracts/tests/index.d.ts +3 -0
- package/dist/typechain/factories/src/index.d.ts +1 -0
- package/dist/typechain/index.d.ts +97 -0
- package/dist/typechain/solmate/index.d.ts +2 -0
- package/dist/typechain/solmate/src/index.d.ts +2 -0
- package/dist/typechain/solmate/src/tokens/ERC1155.sol/ERC1155.d.ts +236 -0
- package/dist/typechain/solmate/src/tokens/ERC1155.sol/ERC1155TokenReceiver.d.ts +67 -0
- package/dist/typechain/solmate/src/tokens/ERC1155.sol/index.d.ts +2 -0
- package/dist/typechain/solmate/src/tokens/ERC20.d.ts +181 -0
- package/dist/typechain/solmate/src/tokens/ERC721.sol/ERC721.d.ts +211 -0
- package/dist/typechain/solmate/src/tokens/ERC721.sol/ERC721TokenReceiver.d.ts +39 -0
- package/dist/typechain/solmate/src/tokens/ERC721.sol/index.d.ts +2 -0
- package/dist/typechain/solmate/src/tokens/WETH.d.ts +219 -0
- package/dist/typechain/solmate/src/tokens/index.d.ts +6 -0
- package/dist/typechain/src/contracts/index.d.ts +2 -0
- package/dist/typechain/src/contracts/tests/MockERC1155.d.ts +252 -0
- package/dist/typechain/src/contracts/tests/MockERC721.d.ts +219 -0
- package/dist/typechain/src/contracts/tests/Verifier.d.ts +174 -0
- package/dist/typechain/src/contracts/tests/index.d.ts +3 -0
- package/dist/typechain/src/index.d.ts +2 -0
- package/dist/types.d.ts +242 -0
- package/dist/utils/Eip712MakerMerkleTree.d.ts +10 -0
- package/dist/utils/Eip712MerkleTree.d.ts +40 -0
- package/dist/utils/calls/exchange.d.ts +10 -0
- package/dist/utils/calls/nonces.d.ts +9 -0
- package/dist/utils/calls/orderValidator.d.ts +3 -0
- package/dist/utils/calls/strategies.d.ts +3 -0
- package/dist/utils/calls/tokens.d.ts +6 -0
- package/dist/utils/calls/transferManager.d.ts +6 -0
- package/dist/utils/eip712.d.ts +12 -0
- package/dist/utils/encodeOrderParams.d.ts +22 -0
- package/dist/utils/signMakerOrders.d.ts +18 -0
- package/package.json +94 -0
@@ -0,0 +1,410 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"inputs": [
|
4
|
+
{
|
5
|
+
"internalType": "address",
|
6
|
+
"name": "_looksRareProtocol",
|
7
|
+
"type": "address"
|
8
|
+
}
|
9
|
+
],
|
10
|
+
"stateMutability": "nonpayable",
|
11
|
+
"type": "constructor"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"inputs": [],
|
15
|
+
"name": "CRITERIA_GROUPS",
|
16
|
+
"outputs": [
|
17
|
+
{
|
18
|
+
"internalType": "uint256",
|
19
|
+
"name": "",
|
20
|
+
"type": "uint256"
|
21
|
+
}
|
22
|
+
],
|
23
|
+
"stateMutability": "view",
|
24
|
+
"type": "function"
|
25
|
+
},
|
26
|
+
{
|
27
|
+
"inputs": [],
|
28
|
+
"name": "ERC1155_INTERFACE_ID",
|
29
|
+
"outputs": [
|
30
|
+
{
|
31
|
+
"internalType": "bytes4",
|
32
|
+
"name": "",
|
33
|
+
"type": "bytes4"
|
34
|
+
}
|
35
|
+
],
|
36
|
+
"stateMutability": "view",
|
37
|
+
"type": "function"
|
38
|
+
},
|
39
|
+
{
|
40
|
+
"inputs": [],
|
41
|
+
"name": "ERC721_INTERFACE_ID_1",
|
42
|
+
"outputs": [
|
43
|
+
{
|
44
|
+
"internalType": "bytes4",
|
45
|
+
"name": "",
|
46
|
+
"type": "bytes4"
|
47
|
+
}
|
48
|
+
],
|
49
|
+
"stateMutability": "view",
|
50
|
+
"type": "function"
|
51
|
+
},
|
52
|
+
{
|
53
|
+
"inputs": [],
|
54
|
+
"name": "ERC721_INTERFACE_ID_2",
|
55
|
+
"outputs": [
|
56
|
+
{
|
57
|
+
"internalType": "bytes4",
|
58
|
+
"name": "",
|
59
|
+
"type": "bytes4"
|
60
|
+
}
|
61
|
+
],
|
62
|
+
"stateMutability": "view",
|
63
|
+
"type": "function"
|
64
|
+
},
|
65
|
+
{
|
66
|
+
"inputs": [],
|
67
|
+
"name": "MAGIC_VALUE_ORDER_NONCE_EXECUTED",
|
68
|
+
"outputs": [
|
69
|
+
{
|
70
|
+
"internalType": "bytes32",
|
71
|
+
"name": "",
|
72
|
+
"type": "bytes32"
|
73
|
+
}
|
74
|
+
],
|
75
|
+
"stateMutability": "view",
|
76
|
+
"type": "function"
|
77
|
+
},
|
78
|
+
{
|
79
|
+
"inputs": [
|
80
|
+
{
|
81
|
+
"components": [
|
82
|
+
{
|
83
|
+
"internalType": "enum QuoteType",
|
84
|
+
"name": "quoteType",
|
85
|
+
"type": "uint8"
|
86
|
+
},
|
87
|
+
{
|
88
|
+
"internalType": "uint256",
|
89
|
+
"name": "globalNonce",
|
90
|
+
"type": "uint256"
|
91
|
+
},
|
92
|
+
{
|
93
|
+
"internalType": "uint256",
|
94
|
+
"name": "subsetNonce",
|
95
|
+
"type": "uint256"
|
96
|
+
},
|
97
|
+
{
|
98
|
+
"internalType": "uint256",
|
99
|
+
"name": "orderNonce",
|
100
|
+
"type": "uint256"
|
101
|
+
},
|
102
|
+
{
|
103
|
+
"internalType": "uint256",
|
104
|
+
"name": "strategyId",
|
105
|
+
"type": "uint256"
|
106
|
+
},
|
107
|
+
{
|
108
|
+
"internalType": "enum CollectionType",
|
109
|
+
"name": "collectionType",
|
110
|
+
"type": "uint8"
|
111
|
+
},
|
112
|
+
{
|
113
|
+
"internalType": "address",
|
114
|
+
"name": "collection",
|
115
|
+
"type": "address"
|
116
|
+
},
|
117
|
+
{
|
118
|
+
"internalType": "address",
|
119
|
+
"name": "currency",
|
120
|
+
"type": "address"
|
121
|
+
},
|
122
|
+
{
|
123
|
+
"internalType": "address",
|
124
|
+
"name": "signer",
|
125
|
+
"type": "address"
|
126
|
+
},
|
127
|
+
{
|
128
|
+
"internalType": "uint256",
|
129
|
+
"name": "startTime",
|
130
|
+
"type": "uint256"
|
131
|
+
},
|
132
|
+
{
|
133
|
+
"internalType": "uint256",
|
134
|
+
"name": "endTime",
|
135
|
+
"type": "uint256"
|
136
|
+
},
|
137
|
+
{
|
138
|
+
"internalType": "uint256",
|
139
|
+
"name": "price",
|
140
|
+
"type": "uint256"
|
141
|
+
},
|
142
|
+
{
|
143
|
+
"internalType": "uint256[]",
|
144
|
+
"name": "itemIds",
|
145
|
+
"type": "uint256[]"
|
146
|
+
},
|
147
|
+
{
|
148
|
+
"internalType": "uint256[]",
|
149
|
+
"name": "amounts",
|
150
|
+
"type": "uint256[]"
|
151
|
+
},
|
152
|
+
{
|
153
|
+
"internalType": "bytes",
|
154
|
+
"name": "additionalParameters",
|
155
|
+
"type": "bytes"
|
156
|
+
}
|
157
|
+
],
|
158
|
+
"internalType": "struct OrderStructs.Maker",
|
159
|
+
"name": "makerOrder",
|
160
|
+
"type": "tuple"
|
161
|
+
},
|
162
|
+
{
|
163
|
+
"internalType": "bytes",
|
164
|
+
"name": "signature",
|
165
|
+
"type": "bytes"
|
166
|
+
},
|
167
|
+
{
|
168
|
+
"components": [
|
169
|
+
{
|
170
|
+
"internalType": "bytes32",
|
171
|
+
"name": "root",
|
172
|
+
"type": "bytes32"
|
173
|
+
},
|
174
|
+
{
|
175
|
+
"components": [
|
176
|
+
{
|
177
|
+
"internalType": "bytes32",
|
178
|
+
"name": "value",
|
179
|
+
"type": "bytes32"
|
180
|
+
},
|
181
|
+
{
|
182
|
+
"internalType": "enum OrderStructs.MerkleTreeNodePosition",
|
183
|
+
"name": "position",
|
184
|
+
"type": "uint8"
|
185
|
+
}
|
186
|
+
],
|
187
|
+
"internalType": "struct OrderStructs.MerkleTreeNode[]",
|
188
|
+
"name": "proof",
|
189
|
+
"type": "tuple[]"
|
190
|
+
}
|
191
|
+
],
|
192
|
+
"internalType": "struct OrderStructs.MerkleTree",
|
193
|
+
"name": "merkleTree",
|
194
|
+
"type": "tuple"
|
195
|
+
}
|
196
|
+
],
|
197
|
+
"name": "checkMakerOrderValidity",
|
198
|
+
"outputs": [
|
199
|
+
{
|
200
|
+
"internalType": "uint256[9]",
|
201
|
+
"name": "validationCodes",
|
202
|
+
"type": "uint256[9]"
|
203
|
+
}
|
204
|
+
],
|
205
|
+
"stateMutability": "view",
|
206
|
+
"type": "function"
|
207
|
+
},
|
208
|
+
{
|
209
|
+
"inputs": [
|
210
|
+
{
|
211
|
+
"components": [
|
212
|
+
{
|
213
|
+
"internalType": "enum QuoteType",
|
214
|
+
"name": "quoteType",
|
215
|
+
"type": "uint8"
|
216
|
+
},
|
217
|
+
{
|
218
|
+
"internalType": "uint256",
|
219
|
+
"name": "globalNonce",
|
220
|
+
"type": "uint256"
|
221
|
+
},
|
222
|
+
{
|
223
|
+
"internalType": "uint256",
|
224
|
+
"name": "subsetNonce",
|
225
|
+
"type": "uint256"
|
226
|
+
},
|
227
|
+
{
|
228
|
+
"internalType": "uint256",
|
229
|
+
"name": "orderNonce",
|
230
|
+
"type": "uint256"
|
231
|
+
},
|
232
|
+
{
|
233
|
+
"internalType": "uint256",
|
234
|
+
"name": "strategyId",
|
235
|
+
"type": "uint256"
|
236
|
+
},
|
237
|
+
{
|
238
|
+
"internalType": "enum CollectionType",
|
239
|
+
"name": "collectionType",
|
240
|
+
"type": "uint8"
|
241
|
+
},
|
242
|
+
{
|
243
|
+
"internalType": "address",
|
244
|
+
"name": "collection",
|
245
|
+
"type": "address"
|
246
|
+
},
|
247
|
+
{
|
248
|
+
"internalType": "address",
|
249
|
+
"name": "currency",
|
250
|
+
"type": "address"
|
251
|
+
},
|
252
|
+
{
|
253
|
+
"internalType": "address",
|
254
|
+
"name": "signer",
|
255
|
+
"type": "address"
|
256
|
+
},
|
257
|
+
{
|
258
|
+
"internalType": "uint256",
|
259
|
+
"name": "startTime",
|
260
|
+
"type": "uint256"
|
261
|
+
},
|
262
|
+
{
|
263
|
+
"internalType": "uint256",
|
264
|
+
"name": "endTime",
|
265
|
+
"type": "uint256"
|
266
|
+
},
|
267
|
+
{
|
268
|
+
"internalType": "uint256",
|
269
|
+
"name": "price",
|
270
|
+
"type": "uint256"
|
271
|
+
},
|
272
|
+
{
|
273
|
+
"internalType": "uint256[]",
|
274
|
+
"name": "itemIds",
|
275
|
+
"type": "uint256[]"
|
276
|
+
},
|
277
|
+
{
|
278
|
+
"internalType": "uint256[]",
|
279
|
+
"name": "amounts",
|
280
|
+
"type": "uint256[]"
|
281
|
+
},
|
282
|
+
{
|
283
|
+
"internalType": "bytes",
|
284
|
+
"name": "additionalParameters",
|
285
|
+
"type": "bytes"
|
286
|
+
}
|
287
|
+
],
|
288
|
+
"internalType": "struct OrderStructs.Maker[]",
|
289
|
+
"name": "makerOrders",
|
290
|
+
"type": "tuple[]"
|
291
|
+
},
|
292
|
+
{
|
293
|
+
"internalType": "bytes[]",
|
294
|
+
"name": "signatures",
|
295
|
+
"type": "bytes[]"
|
296
|
+
},
|
297
|
+
{
|
298
|
+
"components": [
|
299
|
+
{
|
300
|
+
"internalType": "bytes32",
|
301
|
+
"name": "root",
|
302
|
+
"type": "bytes32"
|
303
|
+
},
|
304
|
+
{
|
305
|
+
"components": [
|
306
|
+
{
|
307
|
+
"internalType": "bytes32",
|
308
|
+
"name": "value",
|
309
|
+
"type": "bytes32"
|
310
|
+
},
|
311
|
+
{
|
312
|
+
"internalType": "enum OrderStructs.MerkleTreeNodePosition",
|
313
|
+
"name": "position",
|
314
|
+
"type": "uint8"
|
315
|
+
}
|
316
|
+
],
|
317
|
+
"internalType": "struct OrderStructs.MerkleTreeNode[]",
|
318
|
+
"name": "proof",
|
319
|
+
"type": "tuple[]"
|
320
|
+
}
|
321
|
+
],
|
322
|
+
"internalType": "struct OrderStructs.MerkleTree[]",
|
323
|
+
"name": "merkleTrees",
|
324
|
+
"type": "tuple[]"
|
325
|
+
}
|
326
|
+
],
|
327
|
+
"name": "checkMultipleMakerOrderValidities",
|
328
|
+
"outputs": [
|
329
|
+
{
|
330
|
+
"internalType": "uint256[9][]",
|
331
|
+
"name": "validationCodes",
|
332
|
+
"type": "uint256[9][]"
|
333
|
+
}
|
334
|
+
],
|
335
|
+
"stateMutability": "view",
|
336
|
+
"type": "function"
|
337
|
+
},
|
338
|
+
{
|
339
|
+
"inputs": [],
|
340
|
+
"name": "creatorFeeManager",
|
341
|
+
"outputs": [
|
342
|
+
{
|
343
|
+
"internalType": "contract ICreatorFeeManager",
|
344
|
+
"name": "",
|
345
|
+
"type": "address"
|
346
|
+
}
|
347
|
+
],
|
348
|
+
"stateMutability": "view",
|
349
|
+
"type": "function"
|
350
|
+
},
|
351
|
+
{
|
352
|
+
"inputs": [],
|
353
|
+
"name": "deriveProtocolParameters",
|
354
|
+
"outputs": [],
|
355
|
+
"stateMutability": "nonpayable",
|
356
|
+
"type": "function"
|
357
|
+
},
|
358
|
+
{
|
359
|
+
"inputs": [],
|
360
|
+
"name": "domainSeparator",
|
361
|
+
"outputs": [
|
362
|
+
{
|
363
|
+
"internalType": "bytes32",
|
364
|
+
"name": "",
|
365
|
+
"type": "bytes32"
|
366
|
+
}
|
367
|
+
],
|
368
|
+
"stateMutability": "view",
|
369
|
+
"type": "function"
|
370
|
+
},
|
371
|
+
{
|
372
|
+
"inputs": [],
|
373
|
+
"name": "looksRareProtocol",
|
374
|
+
"outputs": [
|
375
|
+
{
|
376
|
+
"internalType": "contract LooksRareProtocol",
|
377
|
+
"name": "",
|
378
|
+
"type": "address"
|
379
|
+
}
|
380
|
+
],
|
381
|
+
"stateMutability": "view",
|
382
|
+
"type": "function"
|
383
|
+
},
|
384
|
+
{
|
385
|
+
"inputs": [],
|
386
|
+
"name": "maxCreatorFeeBp",
|
387
|
+
"outputs": [
|
388
|
+
{
|
389
|
+
"internalType": "uint256",
|
390
|
+
"name": "",
|
391
|
+
"type": "uint256"
|
392
|
+
}
|
393
|
+
],
|
394
|
+
"stateMutability": "view",
|
395
|
+
"type": "function"
|
396
|
+
},
|
397
|
+
{
|
398
|
+
"inputs": [],
|
399
|
+
"name": "transferManager",
|
400
|
+
"outputs": [
|
401
|
+
{
|
402
|
+
"internalType": "contract TransferManager",
|
403
|
+
"name": "",
|
404
|
+
"type": "address"
|
405
|
+
}
|
406
|
+
],
|
407
|
+
"stateMutability": "view",
|
408
|
+
"type": "function"
|
409
|
+
}
|
410
|
+
]
|