@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.
Files changed (172) hide show
  1. package/LICENSE +4 -0
  2. package/LICENSE-APACHE +10 -0
  3. package/LICENSE-MIT +21 -0
  4. package/README.md +101 -0
  5. package/dist/LooksRare.d.ts +223 -0
  6. package/dist/abis/IERC1155.json +276 -0
  7. package/dist/abis/IERC20.json +185 -0
  8. package/dist/abis/IERC721.json +268 -0
  9. package/dist/abis/ILooksRareProtocol.json +677 -0
  10. package/dist/abis/ITransferManager.json +91 -0
  11. package/dist/abis/IWETH.json +46 -0
  12. package/dist/abis/LooksRareProtocol.json +1924 -0
  13. package/dist/abis/OrderValidatorV2A.json +410 -0
  14. package/dist/abis/ProtocolHelpers.json +366 -0
  15. package/dist/abis/TransferManager.json +492 -0
  16. package/dist/abis/WETH.json +361 -0
  17. package/dist/abis/index.d.ts +7 -0
  18. package/dist/abis/index.ts +7 -0
  19. package/dist/constants/addresses.d.ts +7 -0
  20. package/dist/constants/chains.d.ts +4 -0
  21. package/dist/constants/eip712.d.ts +10 -0
  22. package/dist/constants/index.d.ts +14 -0
  23. package/dist/errors.d.ts +30 -0
  24. package/dist/index.cjs.js +5251 -0
  25. package/dist/index.d.ts +45 -0
  26. package/dist/index.esm.js +5229 -0
  27. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/AffiliateManager.d.ts +210 -0
  28. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/BatchOrderTypehashRegistry.d.ts +35 -0
  29. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/CreatorFeeManagerWithRoyalties.d.ts +47 -0
  30. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/CurrencyManager.d.ts +247 -0
  31. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/ExecutionManager.d.ts +616 -0
  32. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/LooksRareProtocol.d.ts +1005 -0
  33. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/NonceManager.d.ts +148 -0
  34. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/StrategyManager.d.ts +401 -0
  35. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/TransferManager.d.ts +324 -0
  36. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/TransferSelectorNFT.d.ts +620 -0
  37. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/executionStrategies/BaseStrategy.d.ts +97 -0
  38. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/executionStrategies/StrategyCollectionOffer.d.ts +176 -0
  39. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/executionStrategies/index.d.ts +2 -0
  40. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/helpers/OrderValidatorV2A.d.ts +172 -0
  41. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/helpers/ProtocolHelpers.d.ts +148 -0
  42. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/helpers/index.d.ts +2 -0
  43. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/index.d.ts +16 -0
  44. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/IAffiliateManager.d.ts +65 -0
  45. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/ICreatorFeeManager.d.ts +47 -0
  46. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/ICurrencyManager.d.ts +37 -0
  47. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/IExecutionManager.d.ts +64 -0
  48. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/ILooksRareProtocol.d.ts +343 -0
  49. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/INonceManager.d.ts +72 -0
  50. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/IRoyaltyFeeRegistry.d.ts +41 -0
  51. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/IStrategy.d.ts +97 -0
  52. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/IStrategyManager.d.ts +85 -0
  53. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/ITransferManager.d.ts +80 -0
  54. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/index.d.ts +10 -0
  55. package/dist/typechain/@looksrare/contracts-exchange-v2/index.d.ts +4 -0
  56. package/dist/typechain/@looksrare/contracts-exchange-v2/test/index.d.ts +2 -0
  57. package/dist/typechain/@looksrare/contracts-exchange-v2/test/mock/MockRoyaltyFeeRegistry.d.ts +222 -0
  58. package/dist/typechain/@looksrare/contracts-exchange-v2/test/mock/index.d.ts +1 -0
  59. package/dist/typechain/@looksrare/contracts-libs/contracts/OwnableTwoSteps.d.ts +121 -0
  60. package/dist/typechain/@looksrare/contracts-libs/contracts/PackableReentrancyGuard.d.ts +20 -0
  61. package/dist/typechain/@looksrare/contracts-libs/contracts/index.d.ts +4 -0
  62. package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/IOwnableTwoSteps.d.ts +80 -0
  63. package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/IReentrancyGuard.d.ts +20 -0
  64. package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/generic/IERC1155.d.ts +224 -0
  65. package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/generic/IERC1271.d.ts +35 -0
  66. package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/generic/IERC165.d.ts +29 -0
  67. package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/generic/IERC20.d.ts +129 -0
  68. package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/generic/IERC2981.d.ts +49 -0
  69. package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/generic/IERC721.d.ts +191 -0
  70. package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/generic/IWETH.d.ts +43 -0
  71. package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/generic/index.d.ts +7 -0
  72. package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/index.d.ts +4 -0
  73. package/dist/typechain/@looksrare/contracts-libs/index.d.ts +2 -0
  74. package/dist/typechain/@looksrare/index.d.ts +4 -0
  75. package/dist/typechain/common.d.ts +50 -0
  76. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/AffiliateManager__factory.d.ts +264 -0
  77. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/BatchOrderTypehashRegistry__factory.d.ts +48 -0
  78. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/CreatorFeeManagerWithRoyalties__factory.d.ts +74 -0
  79. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/CurrencyManager__factory.d.ts +307 -0
  80. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/ExecutionManager__factory.d.ts +748 -0
  81. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/LooksRareProtocol__factory.d.ts +1527 -0
  82. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/NonceManager__factory.d.ts +174 -0
  83. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/StrategyManager__factory.d.ts +478 -0
  84. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/TransferManager__factory.d.ts +406 -0
  85. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/TransferSelectorNFT__factory.d.ts +766 -0
  86. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/executionStrategies/BaseStrategy__factory.d.ts +100 -0
  87. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/executionStrategies/StrategyCollectionOffer__factory.d.ts +323 -0
  88. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/executionStrategies/index.d.ts +2 -0
  89. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/helpers/OrderValidatorV2A__factory.d.ts +338 -0
  90. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/helpers/ProtocolHelpers__factory.d.ts +302 -0
  91. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/helpers/index.d.ts +2 -0
  92. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/index.d.ts +13 -0
  93. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/IAffiliateManager__factory.d.ts +50 -0
  94. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/ICreatorFeeManager__factory.d.ts +51 -0
  95. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/ICurrencyManager__factory.d.ts +22 -0
  96. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/IExecutionManager__factory.d.ts +61 -0
  97. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/ILooksRareProtocol__factory.d.ts +540 -0
  98. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/INonceManager__factory.d.ts +57 -0
  99. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/IRoyaltyFeeRegistry__factory.d.ts +29 -0
  100. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/IStrategyManager__factory.d.ts +88 -0
  101. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/IStrategy__factory.d.ts +100 -0
  102. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/ITransferManager__factory.d.ts +77 -0
  103. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/index.d.ts +10 -0
  104. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/index.d.ts +2 -0
  105. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/test/index.d.ts +1 -0
  106. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/test/mock/MockRoyaltyFeeRegistry__factory.d.ts +278 -0
  107. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/test/mock/index.d.ts +1 -0
  108. package/dist/typechain/factories/@looksrare/contracts-libs/contracts/OwnableTwoSteps__factory.d.ts +130 -0
  109. package/dist/typechain/factories/@looksrare/contracts-libs/contracts/PackableReentrancyGuard__factory.d.ts +11 -0
  110. package/dist/typechain/factories/@looksrare/contracts-libs/contracts/index.d.ts +3 -0
  111. package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/IOwnableTwoSteps__factory.d.ts +66 -0
  112. package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/IReentrancyGuard__factory.d.ts +11 -0
  113. package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/generic/IERC1155__factory.d.ts +222 -0
  114. package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/generic/IERC1271__factory.d.ts +25 -0
  115. package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/generic/IERC165__factory.d.ts +21 -0
  116. package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/generic/IERC20__factory.d.ts +147 -0
  117. package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/generic/IERC2981__factory.d.ts +43 -0
  118. package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/generic/IERC721__factory.d.ts +213 -0
  119. package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/generic/IWETH__factory.d.ts +41 -0
  120. package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/generic/index.d.ts +7 -0
  121. package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/index.d.ts +3 -0
  122. package/dist/typechain/factories/@looksrare/contracts-libs/index.d.ts +1 -0
  123. package/dist/typechain/factories/@looksrare/index.d.ts +2 -0
  124. package/dist/typechain/factories/index.d.ts +3 -0
  125. package/dist/typechain/factories/solmate/index.d.ts +1 -0
  126. package/dist/typechain/factories/solmate/src/index.d.ts +1 -0
  127. package/dist/typechain/factories/solmate/src/tokens/ERC1155.sol/ERC1155TokenReceiver__factory.d.ts +67 -0
  128. package/dist/typechain/factories/solmate/src/tokens/ERC1155.sol/ERC1155__factory.d.ts +250 -0
  129. package/dist/typechain/factories/solmate/src/tokens/ERC1155.sol/index.d.ts +2 -0
  130. package/dist/typechain/factories/solmate/src/tokens/ERC20__factory.d.ts +235 -0
  131. package/dist/typechain/factories/solmate/src/tokens/ERC721.sol/ERC721TokenReceiver__factory.d.ts +33 -0
  132. package/dist/typechain/factories/solmate/src/tokens/ERC721.sol/ERC721__factory.d.ts +261 -0
  133. package/dist/typechain/factories/solmate/src/tokens/ERC721.sol/index.d.ts +2 -0
  134. package/dist/typechain/factories/solmate/src/tokens/WETH__factory.d.ts +299 -0
  135. package/dist/typechain/factories/solmate/src/tokens/index.d.ts +4 -0
  136. package/dist/typechain/factories/src/contracts/index.d.ts +1 -0
  137. package/dist/typechain/factories/src/contracts/tests/MockERC1155__factory.d.ts +283 -0
  138. package/dist/typechain/factories/src/contracts/tests/MockERC721__factory.d.ts +308 -0
  139. package/dist/typechain/factories/src/contracts/tests/Verifier__factory.d.ts +462 -0
  140. package/dist/typechain/factories/src/contracts/tests/index.d.ts +3 -0
  141. package/dist/typechain/factories/src/index.d.ts +1 -0
  142. package/dist/typechain/index.d.ts +97 -0
  143. package/dist/typechain/solmate/index.d.ts +2 -0
  144. package/dist/typechain/solmate/src/index.d.ts +2 -0
  145. package/dist/typechain/solmate/src/tokens/ERC1155.sol/ERC1155.d.ts +236 -0
  146. package/dist/typechain/solmate/src/tokens/ERC1155.sol/ERC1155TokenReceiver.d.ts +67 -0
  147. package/dist/typechain/solmate/src/tokens/ERC1155.sol/index.d.ts +2 -0
  148. package/dist/typechain/solmate/src/tokens/ERC20.d.ts +181 -0
  149. package/dist/typechain/solmate/src/tokens/ERC721.sol/ERC721.d.ts +211 -0
  150. package/dist/typechain/solmate/src/tokens/ERC721.sol/ERC721TokenReceiver.d.ts +39 -0
  151. package/dist/typechain/solmate/src/tokens/ERC721.sol/index.d.ts +2 -0
  152. package/dist/typechain/solmate/src/tokens/WETH.d.ts +219 -0
  153. package/dist/typechain/solmate/src/tokens/index.d.ts +6 -0
  154. package/dist/typechain/src/contracts/index.d.ts +2 -0
  155. package/dist/typechain/src/contracts/tests/MockERC1155.d.ts +252 -0
  156. package/dist/typechain/src/contracts/tests/MockERC721.d.ts +219 -0
  157. package/dist/typechain/src/contracts/tests/Verifier.d.ts +174 -0
  158. package/dist/typechain/src/contracts/tests/index.d.ts +3 -0
  159. package/dist/typechain/src/index.d.ts +2 -0
  160. package/dist/types.d.ts +242 -0
  161. package/dist/utils/Eip712MakerMerkleTree.d.ts +10 -0
  162. package/dist/utils/Eip712MerkleTree.d.ts +40 -0
  163. package/dist/utils/calls/exchange.d.ts +10 -0
  164. package/dist/utils/calls/nonces.d.ts +9 -0
  165. package/dist/utils/calls/orderValidator.d.ts +3 -0
  166. package/dist/utils/calls/strategies.d.ts +3 -0
  167. package/dist/utils/calls/tokens.d.ts +6 -0
  168. package/dist/utils/calls/transferManager.d.ts +6 -0
  169. package/dist/utils/eip712.d.ts +12 -0
  170. package/dist/utils/encodeOrderParams.d.ts +22 -0
  171. package/dist/utils/signMakerOrders.d.ts +18 -0
  172. package/package.json +94 -0
@@ -0,0 +1,1924 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ {
5
+ "internalType": "address",
6
+ "name": "_owner",
7
+ "type": "address"
8
+ },
9
+ {
10
+ "internalType": "address",
11
+ "name": "_protocolFeeRecipient",
12
+ "type": "address"
13
+ },
14
+ {
15
+ "internalType": "address",
16
+ "name": "_transferManager",
17
+ "type": "address"
18
+ },
19
+ {
20
+ "internalType": "address",
21
+ "name": "_weth",
22
+ "type": "address"
23
+ }
24
+ ],
25
+ "stateMutability": "nonpayable",
26
+ "type": "constructor"
27
+ },
28
+ {
29
+ "inputs": [],
30
+ "name": "CallerInvalid",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [],
35
+ "name": "ChainIdInvalid",
36
+ "type": "error"
37
+ },
38
+ {
39
+ "inputs": [],
40
+ "name": "CreatorFeeBpTooHigh",
41
+ "type": "error"
42
+ },
43
+ {
44
+ "inputs": [],
45
+ "name": "CurrencyInvalid",
46
+ "type": "error"
47
+ },
48
+ {
49
+ "inputs": [],
50
+ "name": "ERC20TransferFromFail",
51
+ "type": "error"
52
+ },
53
+ {
54
+ "inputs": [],
55
+ "name": "LengthsInvalid",
56
+ "type": "error"
57
+ },
58
+ {
59
+ "inputs": [],
60
+ "name": "MerkleProofInvalid",
61
+ "type": "error"
62
+ },
63
+ {
64
+ "inputs": [
65
+ {
66
+ "internalType": "uint256",
67
+ "name": "length",
68
+ "type": "uint256"
69
+ }
70
+ ],
71
+ "name": "MerkleProofTooLarge",
72
+ "type": "error"
73
+ },
74
+ {
75
+ "inputs": [],
76
+ "name": "NewGasLimitETHTransferTooLow",
77
+ "type": "error"
78
+ },
79
+ {
80
+ "inputs": [],
81
+ "name": "NewProtocolFeeRecipientCannotBeNullAddress",
82
+ "type": "error"
83
+ },
84
+ {
85
+ "inputs": [],
86
+ "name": "NoOngoingTransferInProgress",
87
+ "type": "error"
88
+ },
89
+ {
90
+ "inputs": [],
91
+ "name": "NoSelectorForStrategy",
92
+ "type": "error"
93
+ },
94
+ {
95
+ "inputs": [],
96
+ "name": "NoncesInvalid",
97
+ "type": "error"
98
+ },
99
+ {
100
+ "inputs": [],
101
+ "name": "NotAContract",
102
+ "type": "error"
103
+ },
104
+ {
105
+ "inputs": [],
106
+ "name": "NotAffiliateController",
107
+ "type": "error"
108
+ },
109
+ {
110
+ "inputs": [],
111
+ "name": "NotOwner",
112
+ "type": "error"
113
+ },
114
+ {
115
+ "inputs": [],
116
+ "name": "NotV2Strategy",
117
+ "type": "error"
118
+ },
119
+ {
120
+ "inputs": [],
121
+ "name": "NullSignerAddress",
122
+ "type": "error"
123
+ },
124
+ {
125
+ "inputs": [],
126
+ "name": "OutsideOfTimeRange",
127
+ "type": "error"
128
+ },
129
+ {
130
+ "inputs": [],
131
+ "name": "PercentageTooHigh",
132
+ "type": "error"
133
+ },
134
+ {
135
+ "inputs": [],
136
+ "name": "QuoteTypeInvalid",
137
+ "type": "error"
138
+ },
139
+ {
140
+ "inputs": [],
141
+ "name": "ReentrancyFail",
142
+ "type": "error"
143
+ },
144
+ {
145
+ "inputs": [],
146
+ "name": "RenouncementNotInProgress",
147
+ "type": "error"
148
+ },
149
+ {
150
+ "inputs": [],
151
+ "name": "SameDomainSeparator",
152
+ "type": "error"
153
+ },
154
+ {
155
+ "inputs": [],
156
+ "name": "SignatureEOAInvalid",
157
+ "type": "error"
158
+ },
159
+ {
160
+ "inputs": [],
161
+ "name": "SignatureERC1271Invalid",
162
+ "type": "error"
163
+ },
164
+ {
165
+ "inputs": [
166
+ {
167
+ "internalType": "uint256",
168
+ "name": "length",
169
+ "type": "uint256"
170
+ }
171
+ ],
172
+ "name": "SignatureLengthInvalid",
173
+ "type": "error"
174
+ },
175
+ {
176
+ "inputs": [],
177
+ "name": "SignatureParameterSInvalid",
178
+ "type": "error"
179
+ },
180
+ {
181
+ "inputs": [
182
+ {
183
+ "internalType": "uint8",
184
+ "name": "v",
185
+ "type": "uint8"
186
+ }
187
+ ],
188
+ "name": "SignatureParameterVInvalid",
189
+ "type": "error"
190
+ },
191
+ {
192
+ "inputs": [],
193
+ "name": "StrategyHasNoSelector",
194
+ "type": "error"
195
+ },
196
+ {
197
+ "inputs": [
198
+ {
199
+ "internalType": "uint256",
200
+ "name": "strategyId",
201
+ "type": "uint256"
202
+ }
203
+ ],
204
+ "name": "StrategyNotAvailable",
205
+ "type": "error"
206
+ },
207
+ {
208
+ "inputs": [],
209
+ "name": "StrategyNotUsed",
210
+ "type": "error"
211
+ },
212
+ {
213
+ "inputs": [],
214
+ "name": "StrategyProtocolFeeTooHigh",
215
+ "type": "error"
216
+ },
217
+ {
218
+ "inputs": [],
219
+ "name": "TransferAlreadyInProgress",
220
+ "type": "error"
221
+ },
222
+ {
223
+ "inputs": [],
224
+ "name": "TransferNotInProgress",
225
+ "type": "error"
226
+ },
227
+ {
228
+ "inputs": [],
229
+ "name": "WrongPotentialOwner",
230
+ "type": "error"
231
+ },
232
+ {
233
+ "anonymous": false,
234
+ "inputs": [
235
+ {
236
+ "indexed": false,
237
+ "internalType": "address",
238
+ "name": "affiliate",
239
+ "type": "address"
240
+ },
241
+ {
242
+ "indexed": false,
243
+ "internalType": "address",
244
+ "name": "currency",
245
+ "type": "address"
246
+ },
247
+ {
248
+ "indexed": false,
249
+ "internalType": "uint256",
250
+ "name": "affiliateFee",
251
+ "type": "uint256"
252
+ }
253
+ ],
254
+ "name": "AffiliatePayment",
255
+ "type": "event"
256
+ },
257
+ {
258
+ "anonymous": false,
259
+ "inputs": [],
260
+ "name": "CancelOwnershipTransfer",
261
+ "type": "event"
262
+ },
263
+ {
264
+ "anonymous": false,
265
+ "inputs": [
266
+ {
267
+ "indexed": false,
268
+ "internalType": "address",
269
+ "name": "currency",
270
+ "type": "address"
271
+ },
272
+ {
273
+ "indexed": false,
274
+ "internalType": "bool",
275
+ "name": "isAllowed",
276
+ "type": "bool"
277
+ }
278
+ ],
279
+ "name": "CurrencyStatusUpdated",
280
+ "type": "event"
281
+ },
282
+ {
283
+ "anonymous": false,
284
+ "inputs": [],
285
+ "name": "InitiateOwnershipRenouncement",
286
+ "type": "event"
287
+ },
288
+ {
289
+ "anonymous": false,
290
+ "inputs": [
291
+ {
292
+ "indexed": false,
293
+ "internalType": "address",
294
+ "name": "previousOwner",
295
+ "type": "address"
296
+ },
297
+ {
298
+ "indexed": false,
299
+ "internalType": "address",
300
+ "name": "potentialOwner",
301
+ "type": "address"
302
+ }
303
+ ],
304
+ "name": "InitiateOwnershipTransfer",
305
+ "type": "event"
306
+ },
307
+ {
308
+ "anonymous": false,
309
+ "inputs": [
310
+ {
311
+ "indexed": false,
312
+ "internalType": "address",
313
+ "name": "affiliateController",
314
+ "type": "address"
315
+ }
316
+ ],
317
+ "name": "NewAffiliateController",
318
+ "type": "event"
319
+ },
320
+ {
321
+ "anonymous": false,
322
+ "inputs": [
323
+ {
324
+ "indexed": false,
325
+ "internalType": "bool",
326
+ "name": "isActive",
327
+ "type": "bool"
328
+ }
329
+ ],
330
+ "name": "NewAffiliateProgramStatus",
331
+ "type": "event"
332
+ },
333
+ {
334
+ "anonymous": false,
335
+ "inputs": [
336
+ {
337
+ "indexed": false,
338
+ "internalType": "address",
339
+ "name": "affiliate",
340
+ "type": "address"
341
+ },
342
+ {
343
+ "indexed": false,
344
+ "internalType": "uint256",
345
+ "name": "rate",
346
+ "type": "uint256"
347
+ }
348
+ ],
349
+ "name": "NewAffiliateRate",
350
+ "type": "event"
351
+ },
352
+ {
353
+ "anonymous": false,
354
+ "inputs": [
355
+ {
356
+ "indexed": false,
357
+ "internalType": "address",
358
+ "name": "user",
359
+ "type": "address"
360
+ },
361
+ {
362
+ "indexed": false,
363
+ "internalType": "uint256",
364
+ "name": "bidNonce",
365
+ "type": "uint256"
366
+ },
367
+ {
368
+ "indexed": false,
369
+ "internalType": "uint256",
370
+ "name": "askNonce",
371
+ "type": "uint256"
372
+ }
373
+ ],
374
+ "name": "NewBidAskNonces",
375
+ "type": "event"
376
+ },
377
+ {
378
+ "anonymous": false,
379
+ "inputs": [
380
+ {
381
+ "indexed": false,
382
+ "internalType": "address",
383
+ "name": "creatorFeeManager",
384
+ "type": "address"
385
+ }
386
+ ],
387
+ "name": "NewCreatorFeeManager",
388
+ "type": "event"
389
+ },
390
+ {
391
+ "anonymous": false,
392
+ "inputs": [],
393
+ "name": "NewDomainSeparator",
394
+ "type": "event"
395
+ },
396
+ {
397
+ "anonymous": false,
398
+ "inputs": [
399
+ {
400
+ "indexed": false,
401
+ "internalType": "uint256",
402
+ "name": "gasLimitETHTransfer",
403
+ "type": "uint256"
404
+ }
405
+ ],
406
+ "name": "NewGasLimitETHTransfer",
407
+ "type": "event"
408
+ },
409
+ {
410
+ "anonymous": false,
411
+ "inputs": [
412
+ {
413
+ "indexed": false,
414
+ "internalType": "uint256",
415
+ "name": "maxCreatorFeeBp",
416
+ "type": "uint256"
417
+ }
418
+ ],
419
+ "name": "NewMaxCreatorFeeBp",
420
+ "type": "event"
421
+ },
422
+ {
423
+ "anonymous": false,
424
+ "inputs": [
425
+ {
426
+ "indexed": false,
427
+ "internalType": "address",
428
+ "name": "newOwner",
429
+ "type": "address"
430
+ }
431
+ ],
432
+ "name": "NewOwner",
433
+ "type": "event"
434
+ },
435
+ {
436
+ "anonymous": false,
437
+ "inputs": [
438
+ {
439
+ "indexed": false,
440
+ "internalType": "address",
441
+ "name": "protocolFeeRecipient",
442
+ "type": "address"
443
+ }
444
+ ],
445
+ "name": "NewProtocolFeeRecipient",
446
+ "type": "event"
447
+ },
448
+ {
449
+ "anonymous": false,
450
+ "inputs": [
451
+ {
452
+ "indexed": false,
453
+ "internalType": "uint256",
454
+ "name": "strategyId",
455
+ "type": "uint256"
456
+ },
457
+ {
458
+ "indexed": false,
459
+ "internalType": "uint16",
460
+ "name": "standardProtocolFeeBp",
461
+ "type": "uint16"
462
+ },
463
+ {
464
+ "indexed": false,
465
+ "internalType": "uint16",
466
+ "name": "minTotalFeeBp",
467
+ "type": "uint16"
468
+ },
469
+ {
470
+ "indexed": false,
471
+ "internalType": "uint16",
472
+ "name": "maxProtocolFeeBp",
473
+ "type": "uint16"
474
+ },
475
+ {
476
+ "indexed": false,
477
+ "internalType": "bytes4",
478
+ "name": "selector",
479
+ "type": "bytes4"
480
+ },
481
+ {
482
+ "indexed": false,
483
+ "internalType": "bool",
484
+ "name": "isMakerBid",
485
+ "type": "bool"
486
+ },
487
+ {
488
+ "indexed": false,
489
+ "internalType": "address",
490
+ "name": "implementation",
491
+ "type": "address"
492
+ }
493
+ ],
494
+ "name": "NewStrategy",
495
+ "type": "event"
496
+ },
497
+ {
498
+ "anonymous": false,
499
+ "inputs": [
500
+ {
501
+ "indexed": false,
502
+ "internalType": "address",
503
+ "name": "user",
504
+ "type": "address"
505
+ },
506
+ {
507
+ "indexed": false,
508
+ "internalType": "uint256[]",
509
+ "name": "orderNonces",
510
+ "type": "uint256[]"
511
+ }
512
+ ],
513
+ "name": "OrderNoncesCancelled",
514
+ "type": "event"
515
+ },
516
+ {
517
+ "anonymous": false,
518
+ "inputs": [
519
+ {
520
+ "indexed": false,
521
+ "internalType": "uint256",
522
+ "name": "strategyId",
523
+ "type": "uint256"
524
+ },
525
+ {
526
+ "indexed": false,
527
+ "internalType": "bool",
528
+ "name": "isActive",
529
+ "type": "bool"
530
+ },
531
+ {
532
+ "indexed": false,
533
+ "internalType": "uint16",
534
+ "name": "standardProtocolFeeBp",
535
+ "type": "uint16"
536
+ },
537
+ {
538
+ "indexed": false,
539
+ "internalType": "uint16",
540
+ "name": "minTotalFeeBp",
541
+ "type": "uint16"
542
+ }
543
+ ],
544
+ "name": "StrategyUpdated",
545
+ "type": "event"
546
+ },
547
+ {
548
+ "anonymous": false,
549
+ "inputs": [
550
+ {
551
+ "indexed": false,
552
+ "internalType": "address",
553
+ "name": "user",
554
+ "type": "address"
555
+ },
556
+ {
557
+ "indexed": false,
558
+ "internalType": "uint256[]",
559
+ "name": "subsetNonces",
560
+ "type": "uint256[]"
561
+ }
562
+ ],
563
+ "name": "SubsetNoncesCancelled",
564
+ "type": "event"
565
+ },
566
+ {
567
+ "anonymous": false,
568
+ "inputs": [
569
+ {
570
+ "components": [
571
+ {
572
+ "internalType": "bytes32",
573
+ "name": "orderHash",
574
+ "type": "bytes32"
575
+ },
576
+ {
577
+ "internalType": "uint256",
578
+ "name": "orderNonce",
579
+ "type": "uint256"
580
+ },
581
+ {
582
+ "internalType": "bool",
583
+ "name": "isNonceInvalidated",
584
+ "type": "bool"
585
+ }
586
+ ],
587
+ "indexed": false,
588
+ "internalType": "struct ILooksRareProtocol.NonceInvalidationParameters",
589
+ "name": "nonceInvalidationParameters",
590
+ "type": "tuple"
591
+ },
592
+ {
593
+ "indexed": false,
594
+ "internalType": "address",
595
+ "name": "askUser",
596
+ "type": "address"
597
+ },
598
+ {
599
+ "indexed": false,
600
+ "internalType": "address",
601
+ "name": "bidUser",
602
+ "type": "address"
603
+ },
604
+ {
605
+ "indexed": false,
606
+ "internalType": "uint256",
607
+ "name": "strategyId",
608
+ "type": "uint256"
609
+ },
610
+ {
611
+ "indexed": false,
612
+ "internalType": "address",
613
+ "name": "currency",
614
+ "type": "address"
615
+ },
616
+ {
617
+ "indexed": false,
618
+ "internalType": "address",
619
+ "name": "collection",
620
+ "type": "address"
621
+ },
622
+ {
623
+ "indexed": false,
624
+ "internalType": "uint256[]",
625
+ "name": "itemIds",
626
+ "type": "uint256[]"
627
+ },
628
+ {
629
+ "indexed": false,
630
+ "internalType": "uint256[]",
631
+ "name": "amounts",
632
+ "type": "uint256[]"
633
+ },
634
+ {
635
+ "indexed": false,
636
+ "internalType": "address[2]",
637
+ "name": "feeRecipients",
638
+ "type": "address[2]"
639
+ },
640
+ {
641
+ "indexed": false,
642
+ "internalType": "uint256[3]",
643
+ "name": "feeAmounts",
644
+ "type": "uint256[3]"
645
+ }
646
+ ],
647
+ "name": "TakerAsk",
648
+ "type": "event"
649
+ },
650
+ {
651
+ "anonymous": false,
652
+ "inputs": [
653
+ {
654
+ "components": [
655
+ {
656
+ "internalType": "bytes32",
657
+ "name": "orderHash",
658
+ "type": "bytes32"
659
+ },
660
+ {
661
+ "internalType": "uint256",
662
+ "name": "orderNonce",
663
+ "type": "uint256"
664
+ },
665
+ {
666
+ "internalType": "bool",
667
+ "name": "isNonceInvalidated",
668
+ "type": "bool"
669
+ }
670
+ ],
671
+ "indexed": false,
672
+ "internalType": "struct ILooksRareProtocol.NonceInvalidationParameters",
673
+ "name": "nonceInvalidationParameters",
674
+ "type": "tuple"
675
+ },
676
+ {
677
+ "indexed": false,
678
+ "internalType": "address",
679
+ "name": "bidUser",
680
+ "type": "address"
681
+ },
682
+ {
683
+ "indexed": false,
684
+ "internalType": "address",
685
+ "name": "bidRecipient",
686
+ "type": "address"
687
+ },
688
+ {
689
+ "indexed": false,
690
+ "internalType": "uint256",
691
+ "name": "strategyId",
692
+ "type": "uint256"
693
+ },
694
+ {
695
+ "indexed": false,
696
+ "internalType": "address",
697
+ "name": "currency",
698
+ "type": "address"
699
+ },
700
+ {
701
+ "indexed": false,
702
+ "internalType": "address",
703
+ "name": "collection",
704
+ "type": "address"
705
+ },
706
+ {
707
+ "indexed": false,
708
+ "internalType": "uint256[]",
709
+ "name": "itemIds",
710
+ "type": "uint256[]"
711
+ },
712
+ {
713
+ "indexed": false,
714
+ "internalType": "uint256[]",
715
+ "name": "amounts",
716
+ "type": "uint256[]"
717
+ },
718
+ {
719
+ "indexed": false,
720
+ "internalType": "address[2]",
721
+ "name": "feeRecipients",
722
+ "type": "address[2]"
723
+ },
724
+ {
725
+ "indexed": false,
726
+ "internalType": "uint256[3]",
727
+ "name": "feeAmounts",
728
+ "type": "uint256[3]"
729
+ }
730
+ ],
731
+ "name": "TakerBid",
732
+ "type": "event"
733
+ },
734
+ {
735
+ "inputs": [],
736
+ "name": "MAGIC_VALUE_ORDER_NONCE_EXECUTED",
737
+ "outputs": [
738
+ {
739
+ "internalType": "bytes32",
740
+ "name": "",
741
+ "type": "bytes32"
742
+ }
743
+ ],
744
+ "stateMutability": "view",
745
+ "type": "function"
746
+ },
747
+ {
748
+ "inputs": [],
749
+ "name": "WETH",
750
+ "outputs": [
751
+ {
752
+ "internalType": "address",
753
+ "name": "",
754
+ "type": "address"
755
+ }
756
+ ],
757
+ "stateMutability": "view",
758
+ "type": "function"
759
+ },
760
+ {
761
+ "inputs": [
762
+ {
763
+ "internalType": "uint16",
764
+ "name": "standardProtocolFeeBp",
765
+ "type": "uint16"
766
+ },
767
+ {
768
+ "internalType": "uint16",
769
+ "name": "minTotalFeeBp",
770
+ "type": "uint16"
771
+ },
772
+ {
773
+ "internalType": "uint16",
774
+ "name": "maxProtocolFeeBp",
775
+ "type": "uint16"
776
+ },
777
+ {
778
+ "internalType": "bytes4",
779
+ "name": "selector",
780
+ "type": "bytes4"
781
+ },
782
+ {
783
+ "internalType": "bool",
784
+ "name": "isMakerBid",
785
+ "type": "bool"
786
+ },
787
+ {
788
+ "internalType": "address",
789
+ "name": "implementation",
790
+ "type": "address"
791
+ }
792
+ ],
793
+ "name": "addStrategy",
794
+ "outputs": [],
795
+ "stateMutability": "nonpayable",
796
+ "type": "function"
797
+ },
798
+ {
799
+ "inputs": [],
800
+ "name": "affiliateController",
801
+ "outputs": [
802
+ {
803
+ "internalType": "address",
804
+ "name": "",
805
+ "type": "address"
806
+ }
807
+ ],
808
+ "stateMutability": "view",
809
+ "type": "function"
810
+ },
811
+ {
812
+ "inputs": [
813
+ {
814
+ "internalType": "address",
815
+ "name": "",
816
+ "type": "address"
817
+ }
818
+ ],
819
+ "name": "affiliateRates",
820
+ "outputs": [
821
+ {
822
+ "internalType": "uint256",
823
+ "name": "",
824
+ "type": "uint256"
825
+ }
826
+ ],
827
+ "stateMutability": "view",
828
+ "type": "function"
829
+ },
830
+ {
831
+ "inputs": [
832
+ {
833
+ "internalType": "uint256[]",
834
+ "name": "orderNonces",
835
+ "type": "uint256[]"
836
+ }
837
+ ],
838
+ "name": "cancelOrderNonces",
839
+ "outputs": [],
840
+ "stateMutability": "nonpayable",
841
+ "type": "function"
842
+ },
843
+ {
844
+ "inputs": [],
845
+ "name": "cancelOwnershipTransfer",
846
+ "outputs": [],
847
+ "stateMutability": "nonpayable",
848
+ "type": "function"
849
+ },
850
+ {
851
+ "inputs": [
852
+ {
853
+ "internalType": "uint256[]",
854
+ "name": "subsetNonces",
855
+ "type": "uint256[]"
856
+ }
857
+ ],
858
+ "name": "cancelSubsetNonces",
859
+ "outputs": [],
860
+ "stateMutability": "nonpayable",
861
+ "type": "function"
862
+ },
863
+ {
864
+ "inputs": [],
865
+ "name": "chainId",
866
+ "outputs": [
867
+ {
868
+ "internalType": "uint256",
869
+ "name": "",
870
+ "type": "uint256"
871
+ }
872
+ ],
873
+ "stateMutability": "view",
874
+ "type": "function"
875
+ },
876
+ {
877
+ "inputs": [],
878
+ "name": "confirmOwnershipRenouncement",
879
+ "outputs": [],
880
+ "stateMutability": "nonpayable",
881
+ "type": "function"
882
+ },
883
+ {
884
+ "inputs": [],
885
+ "name": "confirmOwnershipTransfer",
886
+ "outputs": [],
887
+ "stateMutability": "nonpayable",
888
+ "type": "function"
889
+ },
890
+ {
891
+ "inputs": [],
892
+ "name": "creatorFeeManager",
893
+ "outputs": [
894
+ {
895
+ "internalType": "contract ICreatorFeeManager",
896
+ "name": "",
897
+ "type": "address"
898
+ }
899
+ ],
900
+ "stateMutability": "view",
901
+ "type": "function"
902
+ },
903
+ {
904
+ "inputs": [],
905
+ "name": "domainSeparator",
906
+ "outputs": [
907
+ {
908
+ "internalType": "bytes32",
909
+ "name": "",
910
+ "type": "bytes32"
911
+ }
912
+ ],
913
+ "stateMutability": "view",
914
+ "type": "function"
915
+ },
916
+ {
917
+ "inputs": [
918
+ {
919
+ "components": [
920
+ {
921
+ "internalType": "address",
922
+ "name": "recipient",
923
+ "type": "address"
924
+ },
925
+ {
926
+ "internalType": "bytes",
927
+ "name": "additionalParameters",
928
+ "type": "bytes"
929
+ }
930
+ ],
931
+ "internalType": "struct OrderStructs.Taker[]",
932
+ "name": "takerBids",
933
+ "type": "tuple[]"
934
+ },
935
+ {
936
+ "components": [
937
+ {
938
+ "internalType": "enum QuoteType",
939
+ "name": "quoteType",
940
+ "type": "uint8"
941
+ },
942
+ {
943
+ "internalType": "uint256",
944
+ "name": "globalNonce",
945
+ "type": "uint256"
946
+ },
947
+ {
948
+ "internalType": "uint256",
949
+ "name": "subsetNonce",
950
+ "type": "uint256"
951
+ },
952
+ {
953
+ "internalType": "uint256",
954
+ "name": "orderNonce",
955
+ "type": "uint256"
956
+ },
957
+ {
958
+ "internalType": "uint256",
959
+ "name": "strategyId",
960
+ "type": "uint256"
961
+ },
962
+ {
963
+ "internalType": "enum CollectionType",
964
+ "name": "collectionType",
965
+ "type": "uint8"
966
+ },
967
+ {
968
+ "internalType": "address",
969
+ "name": "collection",
970
+ "type": "address"
971
+ },
972
+ {
973
+ "internalType": "address",
974
+ "name": "currency",
975
+ "type": "address"
976
+ },
977
+ {
978
+ "internalType": "address",
979
+ "name": "signer",
980
+ "type": "address"
981
+ },
982
+ {
983
+ "internalType": "uint256",
984
+ "name": "startTime",
985
+ "type": "uint256"
986
+ },
987
+ {
988
+ "internalType": "uint256",
989
+ "name": "endTime",
990
+ "type": "uint256"
991
+ },
992
+ {
993
+ "internalType": "uint256",
994
+ "name": "price",
995
+ "type": "uint256"
996
+ },
997
+ {
998
+ "internalType": "uint256[]",
999
+ "name": "itemIds",
1000
+ "type": "uint256[]"
1001
+ },
1002
+ {
1003
+ "internalType": "uint256[]",
1004
+ "name": "amounts",
1005
+ "type": "uint256[]"
1006
+ },
1007
+ {
1008
+ "internalType": "bytes",
1009
+ "name": "additionalParameters",
1010
+ "type": "bytes"
1011
+ }
1012
+ ],
1013
+ "internalType": "struct OrderStructs.Maker[]",
1014
+ "name": "makerAsks",
1015
+ "type": "tuple[]"
1016
+ },
1017
+ {
1018
+ "internalType": "bytes[]",
1019
+ "name": "makerSignatures",
1020
+ "type": "bytes[]"
1021
+ },
1022
+ {
1023
+ "components": [
1024
+ {
1025
+ "internalType": "bytes32",
1026
+ "name": "root",
1027
+ "type": "bytes32"
1028
+ },
1029
+ {
1030
+ "components": [
1031
+ {
1032
+ "internalType": "bytes32",
1033
+ "name": "value",
1034
+ "type": "bytes32"
1035
+ },
1036
+ {
1037
+ "internalType": "enum OrderStructs.MerkleTreeNodePosition",
1038
+ "name": "position",
1039
+ "type": "uint8"
1040
+ }
1041
+ ],
1042
+ "internalType": "struct OrderStructs.MerkleTreeNode[]",
1043
+ "name": "proof",
1044
+ "type": "tuple[]"
1045
+ }
1046
+ ],
1047
+ "internalType": "struct OrderStructs.MerkleTree[]",
1048
+ "name": "merkleTrees",
1049
+ "type": "tuple[]"
1050
+ },
1051
+ {
1052
+ "internalType": "address",
1053
+ "name": "affiliate",
1054
+ "type": "address"
1055
+ },
1056
+ {
1057
+ "internalType": "bool",
1058
+ "name": "isAtomic",
1059
+ "type": "bool"
1060
+ }
1061
+ ],
1062
+ "name": "executeMultipleTakerBids",
1063
+ "outputs": [],
1064
+ "stateMutability": "payable",
1065
+ "type": "function"
1066
+ },
1067
+ {
1068
+ "inputs": [
1069
+ {
1070
+ "components": [
1071
+ {
1072
+ "internalType": "address",
1073
+ "name": "recipient",
1074
+ "type": "address"
1075
+ },
1076
+ {
1077
+ "internalType": "bytes",
1078
+ "name": "additionalParameters",
1079
+ "type": "bytes"
1080
+ }
1081
+ ],
1082
+ "internalType": "struct OrderStructs.Taker",
1083
+ "name": "takerAsk",
1084
+ "type": "tuple"
1085
+ },
1086
+ {
1087
+ "components": [
1088
+ {
1089
+ "internalType": "enum QuoteType",
1090
+ "name": "quoteType",
1091
+ "type": "uint8"
1092
+ },
1093
+ {
1094
+ "internalType": "uint256",
1095
+ "name": "globalNonce",
1096
+ "type": "uint256"
1097
+ },
1098
+ {
1099
+ "internalType": "uint256",
1100
+ "name": "subsetNonce",
1101
+ "type": "uint256"
1102
+ },
1103
+ {
1104
+ "internalType": "uint256",
1105
+ "name": "orderNonce",
1106
+ "type": "uint256"
1107
+ },
1108
+ {
1109
+ "internalType": "uint256",
1110
+ "name": "strategyId",
1111
+ "type": "uint256"
1112
+ },
1113
+ {
1114
+ "internalType": "enum CollectionType",
1115
+ "name": "collectionType",
1116
+ "type": "uint8"
1117
+ },
1118
+ {
1119
+ "internalType": "address",
1120
+ "name": "collection",
1121
+ "type": "address"
1122
+ },
1123
+ {
1124
+ "internalType": "address",
1125
+ "name": "currency",
1126
+ "type": "address"
1127
+ },
1128
+ {
1129
+ "internalType": "address",
1130
+ "name": "signer",
1131
+ "type": "address"
1132
+ },
1133
+ {
1134
+ "internalType": "uint256",
1135
+ "name": "startTime",
1136
+ "type": "uint256"
1137
+ },
1138
+ {
1139
+ "internalType": "uint256",
1140
+ "name": "endTime",
1141
+ "type": "uint256"
1142
+ },
1143
+ {
1144
+ "internalType": "uint256",
1145
+ "name": "price",
1146
+ "type": "uint256"
1147
+ },
1148
+ {
1149
+ "internalType": "uint256[]",
1150
+ "name": "itemIds",
1151
+ "type": "uint256[]"
1152
+ },
1153
+ {
1154
+ "internalType": "uint256[]",
1155
+ "name": "amounts",
1156
+ "type": "uint256[]"
1157
+ },
1158
+ {
1159
+ "internalType": "bytes",
1160
+ "name": "additionalParameters",
1161
+ "type": "bytes"
1162
+ }
1163
+ ],
1164
+ "internalType": "struct OrderStructs.Maker",
1165
+ "name": "makerBid",
1166
+ "type": "tuple"
1167
+ },
1168
+ {
1169
+ "internalType": "bytes",
1170
+ "name": "makerSignature",
1171
+ "type": "bytes"
1172
+ },
1173
+ {
1174
+ "components": [
1175
+ {
1176
+ "internalType": "bytes32",
1177
+ "name": "root",
1178
+ "type": "bytes32"
1179
+ },
1180
+ {
1181
+ "components": [
1182
+ {
1183
+ "internalType": "bytes32",
1184
+ "name": "value",
1185
+ "type": "bytes32"
1186
+ },
1187
+ {
1188
+ "internalType": "enum OrderStructs.MerkleTreeNodePosition",
1189
+ "name": "position",
1190
+ "type": "uint8"
1191
+ }
1192
+ ],
1193
+ "internalType": "struct OrderStructs.MerkleTreeNode[]",
1194
+ "name": "proof",
1195
+ "type": "tuple[]"
1196
+ }
1197
+ ],
1198
+ "internalType": "struct OrderStructs.MerkleTree",
1199
+ "name": "merkleTree",
1200
+ "type": "tuple"
1201
+ },
1202
+ {
1203
+ "internalType": "address",
1204
+ "name": "affiliate",
1205
+ "type": "address"
1206
+ }
1207
+ ],
1208
+ "name": "executeTakerAsk",
1209
+ "outputs": [],
1210
+ "stateMutability": "nonpayable",
1211
+ "type": "function"
1212
+ },
1213
+ {
1214
+ "inputs": [
1215
+ {
1216
+ "components": [
1217
+ {
1218
+ "internalType": "address",
1219
+ "name": "recipient",
1220
+ "type": "address"
1221
+ },
1222
+ {
1223
+ "internalType": "bytes",
1224
+ "name": "additionalParameters",
1225
+ "type": "bytes"
1226
+ }
1227
+ ],
1228
+ "internalType": "struct OrderStructs.Taker",
1229
+ "name": "takerBid",
1230
+ "type": "tuple"
1231
+ },
1232
+ {
1233
+ "components": [
1234
+ {
1235
+ "internalType": "enum QuoteType",
1236
+ "name": "quoteType",
1237
+ "type": "uint8"
1238
+ },
1239
+ {
1240
+ "internalType": "uint256",
1241
+ "name": "globalNonce",
1242
+ "type": "uint256"
1243
+ },
1244
+ {
1245
+ "internalType": "uint256",
1246
+ "name": "subsetNonce",
1247
+ "type": "uint256"
1248
+ },
1249
+ {
1250
+ "internalType": "uint256",
1251
+ "name": "orderNonce",
1252
+ "type": "uint256"
1253
+ },
1254
+ {
1255
+ "internalType": "uint256",
1256
+ "name": "strategyId",
1257
+ "type": "uint256"
1258
+ },
1259
+ {
1260
+ "internalType": "enum CollectionType",
1261
+ "name": "collectionType",
1262
+ "type": "uint8"
1263
+ },
1264
+ {
1265
+ "internalType": "address",
1266
+ "name": "collection",
1267
+ "type": "address"
1268
+ },
1269
+ {
1270
+ "internalType": "address",
1271
+ "name": "currency",
1272
+ "type": "address"
1273
+ },
1274
+ {
1275
+ "internalType": "address",
1276
+ "name": "signer",
1277
+ "type": "address"
1278
+ },
1279
+ {
1280
+ "internalType": "uint256",
1281
+ "name": "startTime",
1282
+ "type": "uint256"
1283
+ },
1284
+ {
1285
+ "internalType": "uint256",
1286
+ "name": "endTime",
1287
+ "type": "uint256"
1288
+ },
1289
+ {
1290
+ "internalType": "uint256",
1291
+ "name": "price",
1292
+ "type": "uint256"
1293
+ },
1294
+ {
1295
+ "internalType": "uint256[]",
1296
+ "name": "itemIds",
1297
+ "type": "uint256[]"
1298
+ },
1299
+ {
1300
+ "internalType": "uint256[]",
1301
+ "name": "amounts",
1302
+ "type": "uint256[]"
1303
+ },
1304
+ {
1305
+ "internalType": "bytes",
1306
+ "name": "additionalParameters",
1307
+ "type": "bytes"
1308
+ }
1309
+ ],
1310
+ "internalType": "struct OrderStructs.Maker",
1311
+ "name": "makerAsk",
1312
+ "type": "tuple"
1313
+ },
1314
+ {
1315
+ "internalType": "bytes",
1316
+ "name": "makerSignature",
1317
+ "type": "bytes"
1318
+ },
1319
+ {
1320
+ "components": [
1321
+ {
1322
+ "internalType": "bytes32",
1323
+ "name": "root",
1324
+ "type": "bytes32"
1325
+ },
1326
+ {
1327
+ "components": [
1328
+ {
1329
+ "internalType": "bytes32",
1330
+ "name": "value",
1331
+ "type": "bytes32"
1332
+ },
1333
+ {
1334
+ "internalType": "enum OrderStructs.MerkleTreeNodePosition",
1335
+ "name": "position",
1336
+ "type": "uint8"
1337
+ }
1338
+ ],
1339
+ "internalType": "struct OrderStructs.MerkleTreeNode[]",
1340
+ "name": "proof",
1341
+ "type": "tuple[]"
1342
+ }
1343
+ ],
1344
+ "internalType": "struct OrderStructs.MerkleTree",
1345
+ "name": "merkleTree",
1346
+ "type": "tuple"
1347
+ },
1348
+ {
1349
+ "internalType": "address",
1350
+ "name": "affiliate",
1351
+ "type": "address"
1352
+ }
1353
+ ],
1354
+ "name": "executeTakerBid",
1355
+ "outputs": [],
1356
+ "stateMutability": "payable",
1357
+ "type": "function"
1358
+ },
1359
+ {
1360
+ "inputs": [
1361
+ {
1362
+ "internalType": "bytes32",
1363
+ "name": "root",
1364
+ "type": "bytes32"
1365
+ },
1366
+ {
1367
+ "internalType": "uint256",
1368
+ "name": "proofLength",
1369
+ "type": "uint256"
1370
+ }
1371
+ ],
1372
+ "name": "hashBatchOrder",
1373
+ "outputs": [
1374
+ {
1375
+ "internalType": "bytes32",
1376
+ "name": "batchOrderHash",
1377
+ "type": "bytes32"
1378
+ }
1379
+ ],
1380
+ "stateMutability": "pure",
1381
+ "type": "function"
1382
+ },
1383
+ {
1384
+ "inputs": [
1385
+ {
1386
+ "internalType": "bool",
1387
+ "name": "bid",
1388
+ "type": "bool"
1389
+ },
1390
+ {
1391
+ "internalType": "bool",
1392
+ "name": "ask",
1393
+ "type": "bool"
1394
+ }
1395
+ ],
1396
+ "name": "incrementBidAskNonces",
1397
+ "outputs": [],
1398
+ "stateMutability": "nonpayable",
1399
+ "type": "function"
1400
+ },
1401
+ {
1402
+ "inputs": [],
1403
+ "name": "initiateOwnershipRenouncement",
1404
+ "outputs": [],
1405
+ "stateMutability": "nonpayable",
1406
+ "type": "function"
1407
+ },
1408
+ {
1409
+ "inputs": [
1410
+ {
1411
+ "internalType": "address",
1412
+ "name": "newPotentialOwner",
1413
+ "type": "address"
1414
+ }
1415
+ ],
1416
+ "name": "initiateOwnershipTransfer",
1417
+ "outputs": [],
1418
+ "stateMutability": "nonpayable",
1419
+ "type": "function"
1420
+ },
1421
+ {
1422
+ "inputs": [],
1423
+ "name": "isAffiliateProgramActive",
1424
+ "outputs": [
1425
+ {
1426
+ "internalType": "bool",
1427
+ "name": "",
1428
+ "type": "bool"
1429
+ }
1430
+ ],
1431
+ "stateMutability": "view",
1432
+ "type": "function"
1433
+ },
1434
+ {
1435
+ "inputs": [
1436
+ {
1437
+ "internalType": "address",
1438
+ "name": "",
1439
+ "type": "address"
1440
+ }
1441
+ ],
1442
+ "name": "isCurrencyAllowed",
1443
+ "outputs": [
1444
+ {
1445
+ "internalType": "bool",
1446
+ "name": "",
1447
+ "type": "bool"
1448
+ }
1449
+ ],
1450
+ "stateMutability": "view",
1451
+ "type": "function"
1452
+ },
1453
+ {
1454
+ "inputs": [],
1455
+ "name": "maxCreatorFeeBp",
1456
+ "outputs": [
1457
+ {
1458
+ "internalType": "uint16",
1459
+ "name": "",
1460
+ "type": "uint16"
1461
+ }
1462
+ ],
1463
+ "stateMutability": "view",
1464
+ "type": "function"
1465
+ },
1466
+ {
1467
+ "inputs": [],
1468
+ "name": "owner",
1469
+ "outputs": [
1470
+ {
1471
+ "internalType": "address",
1472
+ "name": "",
1473
+ "type": "address"
1474
+ }
1475
+ ],
1476
+ "stateMutability": "view",
1477
+ "type": "function"
1478
+ },
1479
+ {
1480
+ "inputs": [],
1481
+ "name": "ownershipStatus",
1482
+ "outputs": [
1483
+ {
1484
+ "internalType": "enum IOwnableTwoSteps.Status",
1485
+ "name": "",
1486
+ "type": "uint8"
1487
+ }
1488
+ ],
1489
+ "stateMutability": "view",
1490
+ "type": "function"
1491
+ },
1492
+ {
1493
+ "inputs": [],
1494
+ "name": "potentialOwner",
1495
+ "outputs": [
1496
+ {
1497
+ "internalType": "address",
1498
+ "name": "",
1499
+ "type": "address"
1500
+ }
1501
+ ],
1502
+ "stateMutability": "view",
1503
+ "type": "function"
1504
+ },
1505
+ {
1506
+ "inputs": [],
1507
+ "name": "protocolFeeRecipient",
1508
+ "outputs": [
1509
+ {
1510
+ "internalType": "address",
1511
+ "name": "",
1512
+ "type": "address"
1513
+ }
1514
+ ],
1515
+ "stateMutability": "view",
1516
+ "type": "function"
1517
+ },
1518
+ {
1519
+ "inputs": [
1520
+ {
1521
+ "components": [
1522
+ {
1523
+ "internalType": "address",
1524
+ "name": "recipient",
1525
+ "type": "address"
1526
+ },
1527
+ {
1528
+ "internalType": "bytes",
1529
+ "name": "additionalParameters",
1530
+ "type": "bytes"
1531
+ }
1532
+ ],
1533
+ "internalType": "struct OrderStructs.Taker",
1534
+ "name": "takerBid",
1535
+ "type": "tuple"
1536
+ },
1537
+ {
1538
+ "components": [
1539
+ {
1540
+ "internalType": "enum QuoteType",
1541
+ "name": "quoteType",
1542
+ "type": "uint8"
1543
+ },
1544
+ {
1545
+ "internalType": "uint256",
1546
+ "name": "globalNonce",
1547
+ "type": "uint256"
1548
+ },
1549
+ {
1550
+ "internalType": "uint256",
1551
+ "name": "subsetNonce",
1552
+ "type": "uint256"
1553
+ },
1554
+ {
1555
+ "internalType": "uint256",
1556
+ "name": "orderNonce",
1557
+ "type": "uint256"
1558
+ },
1559
+ {
1560
+ "internalType": "uint256",
1561
+ "name": "strategyId",
1562
+ "type": "uint256"
1563
+ },
1564
+ {
1565
+ "internalType": "enum CollectionType",
1566
+ "name": "collectionType",
1567
+ "type": "uint8"
1568
+ },
1569
+ {
1570
+ "internalType": "address",
1571
+ "name": "collection",
1572
+ "type": "address"
1573
+ },
1574
+ {
1575
+ "internalType": "address",
1576
+ "name": "currency",
1577
+ "type": "address"
1578
+ },
1579
+ {
1580
+ "internalType": "address",
1581
+ "name": "signer",
1582
+ "type": "address"
1583
+ },
1584
+ {
1585
+ "internalType": "uint256",
1586
+ "name": "startTime",
1587
+ "type": "uint256"
1588
+ },
1589
+ {
1590
+ "internalType": "uint256",
1591
+ "name": "endTime",
1592
+ "type": "uint256"
1593
+ },
1594
+ {
1595
+ "internalType": "uint256",
1596
+ "name": "price",
1597
+ "type": "uint256"
1598
+ },
1599
+ {
1600
+ "internalType": "uint256[]",
1601
+ "name": "itemIds",
1602
+ "type": "uint256[]"
1603
+ },
1604
+ {
1605
+ "internalType": "uint256[]",
1606
+ "name": "amounts",
1607
+ "type": "uint256[]"
1608
+ },
1609
+ {
1610
+ "internalType": "bytes",
1611
+ "name": "additionalParameters",
1612
+ "type": "bytes"
1613
+ }
1614
+ ],
1615
+ "internalType": "struct OrderStructs.Maker",
1616
+ "name": "makerAsk",
1617
+ "type": "tuple"
1618
+ },
1619
+ {
1620
+ "internalType": "address",
1621
+ "name": "sender",
1622
+ "type": "address"
1623
+ },
1624
+ {
1625
+ "internalType": "bytes32",
1626
+ "name": "orderHash",
1627
+ "type": "bytes32"
1628
+ }
1629
+ ],
1630
+ "name": "restrictedExecuteTakerBid",
1631
+ "outputs": [
1632
+ {
1633
+ "internalType": "uint256",
1634
+ "name": "protocolFeeAmount",
1635
+ "type": "uint256"
1636
+ }
1637
+ ],
1638
+ "stateMutability": "nonpayable",
1639
+ "type": "function"
1640
+ },
1641
+ {
1642
+ "inputs": [
1643
+ {
1644
+ "internalType": "uint256",
1645
+ "name": "",
1646
+ "type": "uint256"
1647
+ }
1648
+ ],
1649
+ "name": "strategyInfo",
1650
+ "outputs": [
1651
+ {
1652
+ "internalType": "bool",
1653
+ "name": "isActive",
1654
+ "type": "bool"
1655
+ },
1656
+ {
1657
+ "internalType": "uint16",
1658
+ "name": "standardProtocolFeeBp",
1659
+ "type": "uint16"
1660
+ },
1661
+ {
1662
+ "internalType": "uint16",
1663
+ "name": "minTotalFeeBp",
1664
+ "type": "uint16"
1665
+ },
1666
+ {
1667
+ "internalType": "uint16",
1668
+ "name": "maxProtocolFeeBp",
1669
+ "type": "uint16"
1670
+ },
1671
+ {
1672
+ "internalType": "bytes4",
1673
+ "name": "selector",
1674
+ "type": "bytes4"
1675
+ },
1676
+ {
1677
+ "internalType": "bool",
1678
+ "name": "isMakerBid",
1679
+ "type": "bool"
1680
+ },
1681
+ {
1682
+ "internalType": "address",
1683
+ "name": "implementation",
1684
+ "type": "address"
1685
+ }
1686
+ ],
1687
+ "stateMutability": "view",
1688
+ "type": "function"
1689
+ },
1690
+ {
1691
+ "inputs": [],
1692
+ "name": "transferManager",
1693
+ "outputs": [
1694
+ {
1695
+ "internalType": "contract TransferManager",
1696
+ "name": "",
1697
+ "type": "address"
1698
+ }
1699
+ ],
1700
+ "stateMutability": "view",
1701
+ "type": "function"
1702
+ },
1703
+ {
1704
+ "inputs": [
1705
+ {
1706
+ "internalType": "address",
1707
+ "name": "newAffiliateController",
1708
+ "type": "address"
1709
+ }
1710
+ ],
1711
+ "name": "updateAffiliateController",
1712
+ "outputs": [],
1713
+ "stateMutability": "nonpayable",
1714
+ "type": "function"
1715
+ },
1716
+ {
1717
+ "inputs": [
1718
+ {
1719
+ "internalType": "bool",
1720
+ "name": "isActive",
1721
+ "type": "bool"
1722
+ }
1723
+ ],
1724
+ "name": "updateAffiliateProgramStatus",
1725
+ "outputs": [],
1726
+ "stateMutability": "nonpayable",
1727
+ "type": "function"
1728
+ },
1729
+ {
1730
+ "inputs": [
1731
+ {
1732
+ "internalType": "address",
1733
+ "name": "affiliate",
1734
+ "type": "address"
1735
+ },
1736
+ {
1737
+ "internalType": "uint256",
1738
+ "name": "bp",
1739
+ "type": "uint256"
1740
+ }
1741
+ ],
1742
+ "name": "updateAffiliateRate",
1743
+ "outputs": [],
1744
+ "stateMutability": "nonpayable",
1745
+ "type": "function"
1746
+ },
1747
+ {
1748
+ "inputs": [
1749
+ {
1750
+ "internalType": "address",
1751
+ "name": "newCreatorFeeManager",
1752
+ "type": "address"
1753
+ }
1754
+ ],
1755
+ "name": "updateCreatorFeeManager",
1756
+ "outputs": [],
1757
+ "stateMutability": "nonpayable",
1758
+ "type": "function"
1759
+ },
1760
+ {
1761
+ "inputs": [
1762
+ {
1763
+ "internalType": "address",
1764
+ "name": "currency",
1765
+ "type": "address"
1766
+ },
1767
+ {
1768
+ "internalType": "bool",
1769
+ "name": "isAllowed",
1770
+ "type": "bool"
1771
+ }
1772
+ ],
1773
+ "name": "updateCurrencyStatus",
1774
+ "outputs": [],
1775
+ "stateMutability": "nonpayable",
1776
+ "type": "function"
1777
+ },
1778
+ {
1779
+ "inputs": [],
1780
+ "name": "updateDomainSeparator",
1781
+ "outputs": [],
1782
+ "stateMutability": "nonpayable",
1783
+ "type": "function"
1784
+ },
1785
+ {
1786
+ "inputs": [
1787
+ {
1788
+ "internalType": "uint256",
1789
+ "name": "newGasLimitETHTransfer",
1790
+ "type": "uint256"
1791
+ }
1792
+ ],
1793
+ "name": "updateETHGasLimitForTransfer",
1794
+ "outputs": [],
1795
+ "stateMutability": "nonpayable",
1796
+ "type": "function"
1797
+ },
1798
+ {
1799
+ "inputs": [
1800
+ {
1801
+ "internalType": "uint16",
1802
+ "name": "newMaxCreatorFeeBp",
1803
+ "type": "uint16"
1804
+ }
1805
+ ],
1806
+ "name": "updateMaxCreatorFeeBp",
1807
+ "outputs": [],
1808
+ "stateMutability": "nonpayable",
1809
+ "type": "function"
1810
+ },
1811
+ {
1812
+ "inputs": [
1813
+ {
1814
+ "internalType": "address",
1815
+ "name": "newProtocolFeeRecipient",
1816
+ "type": "address"
1817
+ }
1818
+ ],
1819
+ "name": "updateProtocolFeeRecipient",
1820
+ "outputs": [],
1821
+ "stateMutability": "nonpayable",
1822
+ "type": "function"
1823
+ },
1824
+ {
1825
+ "inputs": [
1826
+ {
1827
+ "internalType": "uint256",
1828
+ "name": "strategyId",
1829
+ "type": "uint256"
1830
+ },
1831
+ {
1832
+ "internalType": "bool",
1833
+ "name": "isActive",
1834
+ "type": "bool"
1835
+ },
1836
+ {
1837
+ "internalType": "uint16",
1838
+ "name": "newStandardProtocolFee",
1839
+ "type": "uint16"
1840
+ },
1841
+ {
1842
+ "internalType": "uint16",
1843
+ "name": "newMinTotalFee",
1844
+ "type": "uint16"
1845
+ }
1846
+ ],
1847
+ "name": "updateStrategy",
1848
+ "outputs": [],
1849
+ "stateMutability": "nonpayable",
1850
+ "type": "function"
1851
+ },
1852
+ {
1853
+ "inputs": [
1854
+ {
1855
+ "internalType": "address",
1856
+ "name": "",
1857
+ "type": "address"
1858
+ }
1859
+ ],
1860
+ "name": "userBidAskNonces",
1861
+ "outputs": [
1862
+ {
1863
+ "internalType": "uint256",
1864
+ "name": "bidNonce",
1865
+ "type": "uint256"
1866
+ },
1867
+ {
1868
+ "internalType": "uint256",
1869
+ "name": "askNonce",
1870
+ "type": "uint256"
1871
+ }
1872
+ ],
1873
+ "stateMutability": "view",
1874
+ "type": "function"
1875
+ },
1876
+ {
1877
+ "inputs": [
1878
+ {
1879
+ "internalType": "address",
1880
+ "name": "",
1881
+ "type": "address"
1882
+ },
1883
+ {
1884
+ "internalType": "uint256",
1885
+ "name": "",
1886
+ "type": "uint256"
1887
+ }
1888
+ ],
1889
+ "name": "userOrderNonce",
1890
+ "outputs": [
1891
+ {
1892
+ "internalType": "bytes32",
1893
+ "name": "",
1894
+ "type": "bytes32"
1895
+ }
1896
+ ],
1897
+ "stateMutability": "view",
1898
+ "type": "function"
1899
+ },
1900
+ {
1901
+ "inputs": [
1902
+ {
1903
+ "internalType": "address",
1904
+ "name": "",
1905
+ "type": "address"
1906
+ },
1907
+ {
1908
+ "internalType": "uint256",
1909
+ "name": "",
1910
+ "type": "uint256"
1911
+ }
1912
+ ],
1913
+ "name": "userSubsetNonce",
1914
+ "outputs": [
1915
+ {
1916
+ "internalType": "bool",
1917
+ "name": "",
1918
+ "type": "bool"
1919
+ }
1920
+ ],
1921
+ "stateMutability": "view",
1922
+ "type": "function"
1923
+ }
1924
+ ]