@opensea/seaport-js 1.0.6 → 1.0.7

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 (316) hide show
  1. package/lib/__tests__/ascending-descending-amounts.spec.d.ts +1 -0
  2. package/lib/__tests__/ascending-descending-amounts.spec.js +1016 -0
  3. package/lib/__tests__/ascending-descending-amounts.spec.js.map +1 -0
  4. package/lib/__tests__/basic-fulfill.spec.d.ts +1 -0
  5. package/lib/__tests__/basic-fulfill.spec.js +914 -0
  6. package/lib/__tests__/basic-fulfill.spec.js.map +1 -0
  7. package/lib/__tests__/bundle.spec.d.ts +1 -0
  8. package/lib/__tests__/bundle.spec.js +1226 -0
  9. package/lib/__tests__/bundle.spec.js.map +1 -0
  10. package/lib/__tests__/cancel.spec.d.ts +1 -0
  11. package/lib/__tests__/cancel.spec.js +194 -0
  12. package/lib/__tests__/cancel.spec.js.map +1 -0
  13. package/lib/__tests__/create-order.spec.d.ts +1 -0
  14. package/lib/__tests__/create-order.spec.js +1043 -0
  15. package/lib/__tests__/create-order.spec.js.map +1 -0
  16. package/lib/__tests__/criteria-based.spec.d.ts +1 -0
  17. package/lib/__tests__/criteria-based.spec.js +1593 -0
  18. package/lib/__tests__/criteria-based.spec.js.map +1 -0
  19. package/lib/__tests__/fulfill-orders.spec.d.ts +1 -0
  20. package/lib/__tests__/fulfill-orders.spec.js +1010 -0
  21. package/lib/__tests__/fulfill-orders.spec.js.map +1 -0
  22. package/lib/__tests__/gifting.spec.d.ts +1 -0
  23. package/lib/__tests__/gifting.spec.js +374 -0
  24. package/lib/__tests__/gifting.spec.js.map +1 -0
  25. package/lib/__tests__/match-orders.spec.d.ts +1 -0
  26. package/lib/__tests__/match-orders.spec.js +425 -0
  27. package/lib/__tests__/match-orders.spec.js.map +1 -0
  28. package/lib/__tests__/partial-fulfill.spec.d.ts +1 -0
  29. package/lib/__tests__/partial-fulfill.spec.js +849 -0
  30. package/lib/__tests__/partial-fulfill.spec.js.map +1 -0
  31. package/lib/__tests__/sign-order.spec.d.ts +1 -0
  32. package/lib/__tests__/sign-order.spec.js +147 -0
  33. package/lib/__tests__/sign-order.spec.js.map +1 -0
  34. package/lib/__tests__/swap.spec.d.ts +1 -0
  35. package/lib/__tests__/swap.spec.js +594 -0
  36. package/lib/__tests__/swap.spec.js.map +1 -0
  37. package/lib/__tests__/utils/balance.d.ts +22 -0
  38. package/lib/__tests__/utils/balance.js +271 -0
  39. package/lib/__tests__/utils/balance.js.map +1 -0
  40. package/lib/__tests__/utils/examples/privateListings.d.ts +3 -0
  41. package/lib/__tests__/utils/examples/privateListings.js +139 -0
  42. package/lib/__tests__/utils/examples/privateListings.js.map +1 -0
  43. package/lib/__tests__/utils/setup.d.ts +11 -0
  44. package/lib/__tests__/utils/setup.js +119 -0
  45. package/lib/__tests__/utils/setup.js.map +1 -0
  46. package/lib/seaport.d.ts +15 -6
  47. package/lib/seaport.js +29 -28
  48. package/lib/seaport.js.map +1 -1
  49. package/lib/typechain/AmountDerivationErrors.d.ts +29 -0
  50. package/lib/typechain/AmountDerivationErrors.js +3 -0
  51. package/lib/typechain/AmountDerivationErrors.js.map +1 -0
  52. package/lib/typechain/AmountDeriver.d.ts +29 -0
  53. package/lib/typechain/AmountDeriver.js +3 -0
  54. package/lib/typechain/AmountDeriver.js.map +1 -0
  55. package/lib/typechain/Assertions.d.ts +124 -0
  56. package/lib/typechain/Assertions.js +3 -0
  57. package/lib/typechain/Assertions.js.map +1 -0
  58. package/lib/typechain/BasicOrderFulfiller.d.ts +124 -0
  59. package/lib/typechain/BasicOrderFulfiller.js +3 -0
  60. package/lib/typechain/BasicOrderFulfiller.js.map +1 -0
  61. package/lib/typechain/Conduit.d.ts +156 -0
  62. package/lib/typechain/Conduit.js +3 -0
  63. package/lib/typechain/Conduit.js.map +1 -0
  64. package/lib/typechain/ConduitController.d.ts +266 -0
  65. package/lib/typechain/ConduitController.js +3 -0
  66. package/lib/typechain/ConduitController.js.map +1 -0
  67. package/lib/typechain/ConduitControllerInterface.d.ts +266 -0
  68. package/lib/typechain/ConduitControllerInterface.js +3 -0
  69. package/lib/typechain/ConduitControllerInterface.js.map +1 -0
  70. package/lib/typechain/ConduitInterface.d.ts +156 -0
  71. package/lib/typechain/ConduitInterface.js +3 -0
  72. package/lib/typechain/ConduitInterface.js.map +1 -0
  73. package/lib/typechain/Consideration.d.ts +686 -0
  74. package/lib/typechain/Consideration.js +3 -0
  75. package/lib/typechain/Consideration.js.map +1 -0
  76. package/lib/typechain/ConsiderationBase.d.ts +124 -0
  77. package/lib/typechain/ConsiderationBase.js +3 -0
  78. package/lib/typechain/ConsiderationBase.js.map +1 -0
  79. package/lib/typechain/ConsiderationEventsAndErrors.d.ts +124 -0
  80. package/lib/typechain/ConsiderationEventsAndErrors.js +3 -0
  81. package/lib/typechain/ConsiderationEventsAndErrors.js.map +1 -0
  82. package/lib/typechain/ConsiderationInterface.d.ts +612 -0
  83. package/lib/typechain/ConsiderationInterface.js +3 -0
  84. package/lib/typechain/ConsiderationInterface.js.map +1 -0
  85. package/lib/typechain/CounterManager.d.ts +124 -0
  86. package/lib/typechain/CounterManager.js +3 -0
  87. package/lib/typechain/CounterManager.js.map +1 -0
  88. package/lib/typechain/CriteriaResolution.d.ts +29 -0
  89. package/lib/typechain/CriteriaResolution.js +3 -0
  90. package/lib/typechain/CriteriaResolution.js.map +1 -0
  91. package/lib/typechain/CriteriaResolutionErrors.d.ts +29 -0
  92. package/lib/typechain/CriteriaResolutionErrors.js +3 -0
  93. package/lib/typechain/CriteriaResolutionErrors.js.map +1 -0
  94. package/lib/typechain/EIP1271Interface.d.ts +43 -0
  95. package/lib/typechain/EIP1271Interface.js +3 -0
  96. package/lib/typechain/EIP1271Interface.js.map +1 -0
  97. package/lib/typechain/ERC1155Interface.d.ts +67 -0
  98. package/lib/typechain/ERC1155Interface.js +3 -0
  99. package/lib/typechain/ERC1155Interface.js.map +1 -0
  100. package/lib/typechain/ERC1155TokenReceiver.d.ts +67 -0
  101. package/lib/typechain/ERC1155TokenReceiver.js +3 -0
  102. package/lib/typechain/ERC1155TokenReceiver.js.map +1 -0
  103. package/lib/typechain/ERC20Interface.d.ts +51 -0
  104. package/lib/typechain/ERC20Interface.js +3 -0
  105. package/lib/typechain/ERC20Interface.js.map +1 -0
  106. package/lib/typechain/ERC721Interface.d.ts +51 -0
  107. package/lib/typechain/ERC721Interface.js +3 -0
  108. package/lib/typechain/ERC721Interface.js.map +1 -0
  109. package/lib/typechain/ERC721TokenReceiver.d.ts +51 -0
  110. package/lib/typechain/ERC721TokenReceiver.js +3 -0
  111. package/lib/typechain/ERC721TokenReceiver.js.map +1 -0
  112. package/lib/typechain/Executor.d.ts +124 -0
  113. package/lib/typechain/Executor.js +3 -0
  114. package/lib/typechain/Executor.js.map +1 -0
  115. package/lib/typechain/FulfillmentApplicationErrors.d.ts +29 -0
  116. package/lib/typechain/FulfillmentApplicationErrors.js +3 -0
  117. package/lib/typechain/FulfillmentApplicationErrors.js.map +1 -0
  118. package/lib/typechain/FulfillmentApplier.d.ts +29 -0
  119. package/lib/typechain/FulfillmentApplier.js +3 -0
  120. package/lib/typechain/FulfillmentApplier.js.map +1 -0
  121. package/lib/typechain/GettersAndDerivers.d.ts +124 -0
  122. package/lib/typechain/GettersAndDerivers.js +3 -0
  123. package/lib/typechain/GettersAndDerivers.js.map +1 -0
  124. package/lib/typechain/OrderCombiner.d.ts +124 -0
  125. package/lib/typechain/OrderCombiner.js +3 -0
  126. package/lib/typechain/OrderCombiner.js.map +1 -0
  127. package/lib/typechain/OrderFulfiller.d.ts +124 -0
  128. package/lib/typechain/OrderFulfiller.js +3 -0
  129. package/lib/typechain/OrderFulfiller.js.map +1 -0
  130. package/lib/typechain/OrderValidator.d.ts +124 -0
  131. package/lib/typechain/OrderValidator.js +3 -0
  132. package/lib/typechain/OrderValidator.js.map +1 -0
  133. package/lib/typechain/ReentrancyErrors.d.ts +29 -0
  134. package/lib/typechain/ReentrancyErrors.js +3 -0
  135. package/lib/typechain/ReentrancyErrors.js.map +1 -0
  136. package/lib/typechain/ReentrancyGuard.d.ts +29 -0
  137. package/lib/typechain/ReentrancyGuard.js +3 -0
  138. package/lib/typechain/ReentrancyGuard.js.map +1 -0
  139. package/lib/typechain/SignatureVerification.d.ts +29 -0
  140. package/lib/typechain/SignatureVerification.js +3 -0
  141. package/lib/typechain/SignatureVerification.js.map +1 -0
  142. package/lib/typechain/SignatureVerificationErrors.d.ts +29 -0
  143. package/lib/typechain/SignatureVerificationErrors.js +3 -0
  144. package/lib/typechain/SignatureVerificationErrors.js.map +1 -0
  145. package/lib/typechain/TestERC1155.d.ts +205 -0
  146. package/lib/typechain/TestERC1155.js +3 -0
  147. package/lib/typechain/TestERC1155.js.map +1 -0
  148. package/lib/typechain/TestERC20.d.ts +249 -0
  149. package/lib/typechain/TestERC20.js +3 -0
  150. package/lib/typechain/TestERC20.js.map +1 -0
  151. package/lib/typechain/TestERC721.d.ts +236 -0
  152. package/lib/typechain/TestERC721.js +3 -0
  153. package/lib/typechain/TestERC721.js.map +1 -0
  154. package/lib/typechain/TokenTransferrer.d.ts +29 -0
  155. package/lib/typechain/TokenTransferrer.js +3 -0
  156. package/lib/typechain/TokenTransferrer.js.map +1 -0
  157. package/lib/typechain/TokenTransferrerErrors.d.ts +29 -0
  158. package/lib/typechain/TokenTransferrerErrors.js +3 -0
  159. package/lib/typechain/TokenTransferrerErrors.js.map +1 -0
  160. package/lib/typechain/Verifiers.d.ts +124 -0
  161. package/lib/typechain/Verifiers.js +3 -0
  162. package/lib/typechain/Verifiers.js.map +1 -0
  163. package/lib/typechain/ZoneInteraction.d.ts +29 -0
  164. package/lib/typechain/ZoneInteraction.js +3 -0
  165. package/lib/typechain/ZoneInteraction.js.map +1 -0
  166. package/lib/typechain/ZoneInteractionErrors.d.ts +29 -0
  167. package/lib/typechain/ZoneInteractionErrors.js +3 -0
  168. package/lib/typechain/ZoneInteractionErrors.js.map +1 -0
  169. package/lib/typechain/ZoneInterface.d.ts +182 -0
  170. package/lib/typechain/ZoneInterface.js +3 -0
  171. package/lib/typechain/ZoneInterface.js.map +1 -0
  172. package/lib/typechain/factories/AmountDerivationErrors__factory.d.ts +12 -0
  173. package/lib/typechain/factories/AmountDerivationErrors__factory.js +28 -0
  174. package/lib/typechain/factories/AmountDerivationErrors__factory.js.map +1 -0
  175. package/lib/typechain/factories/AmountDeriver__factory.d.ts +26 -0
  176. package/lib/typechain/factories/AmountDeriver__factory.js +97 -0
  177. package/lib/typechain/factories/AmountDeriver__factory.js.map +1 -0
  178. package/lib/typechain/factories/Assertions__factory.d.ts +64 -0
  179. package/lib/typechain/factories/Assertions__factory.js +526 -0
  180. package/lib/typechain/factories/Assertions__factory.js.map +1 -0
  181. package/lib/typechain/factories/BasicOrderFulfiller__factory.d.ts +64 -0
  182. package/lib/typechain/factories/BasicOrderFulfiller__factory.js +563 -0
  183. package/lib/typechain/factories/BasicOrderFulfiller__factory.js.map +1 -0
  184. package/lib/typechain/factories/ConduitControllerInterface__factory.d.ts +46 -0
  185. package/lib/typechain/factories/ConduitControllerInterface__factory.js +453 -0
  186. package/lib/typechain/factories/ConduitControllerInterface__factory.js.map +1 -0
  187. package/lib/typechain/factories/ConduitController__factory.d.ts +67 -0
  188. package/lib/typechain/factories/ConduitController__factory.js +527 -0
  189. package/lib/typechain/factories/ConduitController__factory.js.map +1 -0
  190. package/lib/typechain/factories/ConduitInterface__factory.d.ts +62 -0
  191. package/lib/typechain/factories/ConduitInterface__factory.js +282 -0
  192. package/lib/typechain/factories/ConduitInterface__factory.js.map +1 -0
  193. package/lib/typechain/factories/Conduit__factory.d.ts +83 -0
  194. package/lib/typechain/factories/Conduit__factory.js +465 -0
  195. package/lib/typechain/factories/Conduit__factory.js.map +1 -0
  196. package/lib/typechain/factories/ConsiderationBase__factory.d.ts +64 -0
  197. package/lib/typechain/factories/ConsiderationBase__factory.js +412 -0
  198. package/lib/typechain/factories/ConsiderationBase__factory.js.map +1 -0
  199. package/lib/typechain/factories/ConsiderationEventsAndErrors__factory.d.ts +38 -0
  200. package/lib/typechain/factories/ConsiderationEventsAndErrors__factory.js +332 -0
  201. package/lib/typechain/factories/ConsiderationEventsAndErrors__factory.js.map +1 -0
  202. package/lib/typechain/factories/ConsiderationInterface__factory.d.ts +72 -0
  203. package/lib/typechain/factories/ConsiderationInterface__factory.js +2064 -0
  204. package/lib/typechain/factories/ConsiderationInterface__factory.js.map +1 -0
  205. package/lib/typechain/factories/Consideration__factory.d.ts +132 -0
  206. package/lib/typechain/factories/Consideration__factory.js +2670 -0
  207. package/lib/typechain/factories/Consideration__factory.js.map +1 -0
  208. package/lib/typechain/factories/CounterManager__factory.d.ts +52 -0
  209. package/lib/typechain/factories/CounterManager__factory.js +406 -0
  210. package/lib/typechain/factories/CounterManager__factory.js.map +1 -0
  211. package/lib/typechain/factories/CriteriaResolutionErrors__factory.d.ts +12 -0
  212. package/lib/typechain/factories/CriteriaResolutionErrors__factory.js +58 -0
  213. package/lib/typechain/factories/CriteriaResolutionErrors__factory.js.map +1 -0
  214. package/lib/typechain/factories/CriteriaResolution__factory.d.ts +26 -0
  215. package/lib/typechain/factories/CriteriaResolution__factory.js +127 -0
  216. package/lib/typechain/factories/CriteriaResolution__factory.js.map +1 -0
  217. package/lib/typechain/factories/EIP1271Interface__factory.d.ts +22 -0
  218. package/lib/typechain/factories/EIP1271Interface__factory.js +47 -0
  219. package/lib/typechain/factories/EIP1271Interface__factory.js.map +1 -0
  220. package/lib/typechain/factories/ERC1155Interface__factory.d.ts +18 -0
  221. package/lib/typechain/factories/ERC1155Interface__factory.js +89 -0
  222. package/lib/typechain/factories/ERC1155Interface__factory.js.map +1 -0
  223. package/lib/typechain/factories/ERC1155TokenReceiver__factory.d.ts +22 -0
  224. package/lib/typechain/factories/ERC1155TokenReceiver__factory.js +101 -0
  225. package/lib/typechain/factories/ERC1155TokenReceiver__factory.js.map +1 -0
  226. package/lib/typechain/factories/ERC1155__factory.d.ts +35 -0
  227. package/lib/typechain/factories/ERC1155__factory.js +335 -0
  228. package/lib/typechain/factories/ERC1155__factory.js.map +1 -0
  229. package/lib/typechain/factories/ERC20Interface__factory.d.ts +22 -0
  230. package/lib/typechain/factories/ERC20Interface__factory.js +52 -0
  231. package/lib/typechain/factories/ERC20Interface__factory.js.map +1 -0
  232. package/lib/typechain/factories/ERC20__factory.d.ts +35 -0
  233. package/lib/typechain/factories/ERC20__factory.js +333 -0
  234. package/lib/typechain/factories/ERC20__factory.js.map +1 -0
  235. package/lib/typechain/factories/ERC721Interface__factory.d.ts +18 -0
  236. package/lib/typechain/factories/ERC721Interface__factory.js +46 -0
  237. package/lib/typechain/factories/ERC721Interface__factory.js.map +1 -0
  238. package/lib/typechain/factories/ERC721TokenReceiver__factory.d.ts +22 -0
  239. package/lib/typechain/factories/ERC721TokenReceiver__factory.js +57 -0
  240. package/lib/typechain/factories/ERC721TokenReceiver__factory.js.map +1 -0
  241. package/lib/typechain/factories/ERC721__factory.d.ts +35 -0
  242. package/lib/typechain/factories/ERC721__factory.js +353 -0
  243. package/lib/typechain/factories/ERC721__factory.js.map +1 -0
  244. package/lib/typechain/factories/Executor__factory.d.ts +64 -0
  245. package/lib/typechain/factories/Executor__factory.js +552 -0
  246. package/lib/typechain/factories/Executor__factory.js.map +1 -0
  247. package/lib/typechain/factories/FulfillmentApplicationErrors__factory.d.ts +16 -0
  248. package/lib/typechain/factories/FulfillmentApplicationErrors__factory.js +49 -0
  249. package/lib/typechain/factories/FulfillmentApplicationErrors__factory.js.map +1 -0
  250. package/lib/typechain/factories/FulfillmentApplier__factory.d.ts +30 -0
  251. package/lib/typechain/factories/FulfillmentApplier__factory.js +118 -0
  252. package/lib/typechain/factories/FulfillmentApplier__factory.js.map +1 -0
  253. package/lib/typechain/factories/GettersAndDerivers__factory.d.ts +64 -0
  254. package/lib/typechain/factories/GettersAndDerivers__factory.js +412 -0
  255. package/lib/typechain/factories/GettersAndDerivers__factory.js.map +1 -0
  256. package/lib/typechain/factories/OrderCombiner__factory.d.ts +64 -0
  257. package/lib/typechain/factories/OrderCombiner__factory.js +629 -0
  258. package/lib/typechain/factories/OrderCombiner__factory.js.map +1 -0
  259. package/lib/typechain/factories/OrderFulfiller__factory.d.ts +64 -0
  260. package/lib/typechain/factories/OrderFulfiller__factory.js +603 -0
  261. package/lib/typechain/factories/OrderFulfiller__factory.js.map +1 -0
  262. package/lib/typechain/factories/OrderValidator__factory.d.ts +64 -0
  263. package/lib/typechain/factories/OrderValidator__factory.js +563 -0
  264. package/lib/typechain/factories/OrderValidator__factory.js.map +1 -0
  265. package/lib/typechain/factories/ReentrancyErrors__factory.d.ts +12 -0
  266. package/lib/typechain/factories/ReentrancyErrors__factory.js +28 -0
  267. package/lib/typechain/factories/ReentrancyErrors__factory.js.map +1 -0
  268. package/lib/typechain/factories/ReentrancyGuard__factory.d.ts +32 -0
  269. package/lib/typechain/factories/ReentrancyGuard__factory.js +102 -0
  270. package/lib/typechain/factories/ReentrancyGuard__factory.js.map +1 -0
  271. package/lib/typechain/factories/Seaport__factory.d.ts +132 -0
  272. package/lib/typechain/factories/Seaport__factory.js +2670 -0
  273. package/lib/typechain/factories/Seaport__factory.js.map +1 -0
  274. package/lib/typechain/factories/SignatureVerificationErrors__factory.d.ts +16 -0
  275. package/lib/typechain/factories/SignatureVerificationErrors__factory.js +49 -0
  276. package/lib/typechain/factories/SignatureVerificationErrors__factory.js.map +1 -0
  277. package/lib/typechain/factories/SignatureVerification__factory.d.ts +30 -0
  278. package/lib/typechain/factories/SignatureVerification__factory.js +118 -0
  279. package/lib/typechain/factories/SignatureVerification__factory.js.map +1 -0
  280. package/lib/typechain/factories/TestERC1155__factory.d.ts +49 -0
  281. package/lib/typechain/factories/TestERC1155__factory.js +433 -0
  282. package/lib/typechain/factories/TestERC1155__factory.js.map +1 -0
  283. package/lib/typechain/factories/TestERC20__factory.d.ts +56 -0
  284. package/lib/typechain/factories/TestERC20__factory.js +457 -0
  285. package/lib/typechain/factories/TestERC20__factory.js.map +1 -0
  286. package/lib/typechain/factories/TestERC721__factory.d.ts +49 -0
  287. package/lib/typechain/factories/TestERC721__factory.js +446 -0
  288. package/lib/typechain/factories/TestERC721__factory.js.map +1 -0
  289. package/lib/typechain/factories/TokenTransferrerErrors__factory.d.ts +16 -0
  290. package/lib/typechain/factories/TokenTransferrerErrors__factory.js +132 -0
  291. package/lib/typechain/factories/TokenTransferrerErrors__factory.js.map +1 -0
  292. package/lib/typechain/factories/TokenTransferrer__factory.d.ts +30 -0
  293. package/lib/typechain/factories/TokenTransferrer__factory.js +201 -0
  294. package/lib/typechain/factories/TokenTransferrer__factory.js.map +1 -0
  295. package/lib/typechain/factories/Verifiers__factory.d.ts +64 -0
  296. package/lib/typechain/factories/Verifiers__factory.js +552 -0
  297. package/lib/typechain/factories/Verifiers__factory.js.map +1 -0
  298. package/lib/typechain/factories/ZoneInteractionErrors__factory.d.ts +16 -0
  299. package/lib/typechain/factories/ZoneInteractionErrors__factory.js +34 -0
  300. package/lib/typechain/factories/ZoneInteractionErrors__factory.js.map +1 -0
  301. package/lib/typechain/factories/ZoneInteraction__factory.d.ts +30 -0
  302. package/lib/typechain/factories/ZoneInteraction__factory.js +103 -0
  303. package/lib/typechain/factories/ZoneInteraction__factory.js.map +1 -0
  304. package/lib/typechain/factories/ZoneInterface__factory.d.ts +52 -0
  305. package/lib/typechain/factories/ZoneInterface__factory.js +266 -0
  306. package/lib/typechain/factories/ZoneInterface__factory.js.map +1 -0
  307. package/lib/typechain/index.d.ts +90 -0
  308. package/lib/typechain/index.js +94 -0
  309. package/lib/typechain/index.js.map +1 -0
  310. package/lib/utils/fulfill.d.ts +6 -3
  311. package/lib/utils/fulfill.js +7 -11
  312. package/lib/utils/fulfill.js.map +1 -1
  313. package/lib/utils/usecase.d.ts +2 -1
  314. package/lib/utils/usecase.js +38 -11
  315. package/lib/utils/usecase.js.map +1 -1
  316. package/package.json +1 -1
@@ -0,0 +1,2064 @@
1
+ "use strict";
2
+ /* Autogenerated file. Do not edit manually. */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.ConsiderationInterface__factory = void 0;
7
+ var ethers_1 = require("ethers");
8
+ var _abi = [
9
+ {
10
+ inputs: [
11
+ {
12
+ components: [
13
+ {
14
+ internalType: "address",
15
+ name: "offerer",
16
+ type: "address",
17
+ },
18
+ {
19
+ internalType: "address",
20
+ name: "zone",
21
+ type: "address",
22
+ },
23
+ {
24
+ components: [
25
+ {
26
+ internalType: "enum ItemType",
27
+ name: "itemType",
28
+ type: "uint8",
29
+ },
30
+ {
31
+ internalType: "address",
32
+ name: "token",
33
+ type: "address",
34
+ },
35
+ {
36
+ internalType: "uint256",
37
+ name: "identifierOrCriteria",
38
+ type: "uint256",
39
+ },
40
+ {
41
+ internalType: "uint256",
42
+ name: "startAmount",
43
+ type: "uint256",
44
+ },
45
+ {
46
+ internalType: "uint256",
47
+ name: "endAmount",
48
+ type: "uint256",
49
+ },
50
+ ],
51
+ internalType: "struct OfferItem[]",
52
+ name: "offer",
53
+ type: "tuple[]",
54
+ },
55
+ {
56
+ components: [
57
+ {
58
+ internalType: "enum ItemType",
59
+ name: "itemType",
60
+ type: "uint8",
61
+ },
62
+ {
63
+ internalType: "address",
64
+ name: "token",
65
+ type: "address",
66
+ },
67
+ {
68
+ internalType: "uint256",
69
+ name: "identifierOrCriteria",
70
+ type: "uint256",
71
+ },
72
+ {
73
+ internalType: "uint256",
74
+ name: "startAmount",
75
+ type: "uint256",
76
+ },
77
+ {
78
+ internalType: "uint256",
79
+ name: "endAmount",
80
+ type: "uint256",
81
+ },
82
+ {
83
+ internalType: "address payable",
84
+ name: "recipient",
85
+ type: "address",
86
+ },
87
+ ],
88
+ internalType: "struct ConsiderationItem[]",
89
+ name: "consideration",
90
+ type: "tuple[]",
91
+ },
92
+ {
93
+ internalType: "enum OrderType",
94
+ name: "orderType",
95
+ type: "uint8",
96
+ },
97
+ {
98
+ internalType: "uint256",
99
+ name: "startTime",
100
+ type: "uint256",
101
+ },
102
+ {
103
+ internalType: "uint256",
104
+ name: "endTime",
105
+ type: "uint256",
106
+ },
107
+ {
108
+ internalType: "bytes32",
109
+ name: "zoneHash",
110
+ type: "bytes32",
111
+ },
112
+ {
113
+ internalType: "uint256",
114
+ name: "salt",
115
+ type: "uint256",
116
+ },
117
+ {
118
+ internalType: "bytes32",
119
+ name: "conduitKey",
120
+ type: "bytes32",
121
+ },
122
+ {
123
+ internalType: "uint256",
124
+ name: "counter",
125
+ type: "uint256",
126
+ },
127
+ ],
128
+ internalType: "struct OrderComponents[]",
129
+ name: "orders",
130
+ type: "tuple[]",
131
+ },
132
+ ],
133
+ name: "cancel",
134
+ outputs: [
135
+ {
136
+ internalType: "bool",
137
+ name: "cancelled",
138
+ type: "bool",
139
+ },
140
+ ],
141
+ stateMutability: "nonpayable",
142
+ type: "function",
143
+ },
144
+ {
145
+ inputs: [
146
+ {
147
+ components: [
148
+ {
149
+ components: [
150
+ {
151
+ internalType: "address",
152
+ name: "offerer",
153
+ type: "address",
154
+ },
155
+ {
156
+ internalType: "address",
157
+ name: "zone",
158
+ type: "address",
159
+ },
160
+ {
161
+ components: [
162
+ {
163
+ internalType: "enum ItemType",
164
+ name: "itemType",
165
+ type: "uint8",
166
+ },
167
+ {
168
+ internalType: "address",
169
+ name: "token",
170
+ type: "address",
171
+ },
172
+ {
173
+ internalType: "uint256",
174
+ name: "identifierOrCriteria",
175
+ type: "uint256",
176
+ },
177
+ {
178
+ internalType: "uint256",
179
+ name: "startAmount",
180
+ type: "uint256",
181
+ },
182
+ {
183
+ internalType: "uint256",
184
+ name: "endAmount",
185
+ type: "uint256",
186
+ },
187
+ ],
188
+ internalType: "struct OfferItem[]",
189
+ name: "offer",
190
+ type: "tuple[]",
191
+ },
192
+ {
193
+ components: [
194
+ {
195
+ internalType: "enum ItemType",
196
+ name: "itemType",
197
+ type: "uint8",
198
+ },
199
+ {
200
+ internalType: "address",
201
+ name: "token",
202
+ type: "address",
203
+ },
204
+ {
205
+ internalType: "uint256",
206
+ name: "identifierOrCriteria",
207
+ type: "uint256",
208
+ },
209
+ {
210
+ internalType: "uint256",
211
+ name: "startAmount",
212
+ type: "uint256",
213
+ },
214
+ {
215
+ internalType: "uint256",
216
+ name: "endAmount",
217
+ type: "uint256",
218
+ },
219
+ {
220
+ internalType: "address payable",
221
+ name: "recipient",
222
+ type: "address",
223
+ },
224
+ ],
225
+ internalType: "struct ConsiderationItem[]",
226
+ name: "consideration",
227
+ type: "tuple[]",
228
+ },
229
+ {
230
+ internalType: "enum OrderType",
231
+ name: "orderType",
232
+ type: "uint8",
233
+ },
234
+ {
235
+ internalType: "uint256",
236
+ name: "startTime",
237
+ type: "uint256",
238
+ },
239
+ {
240
+ internalType: "uint256",
241
+ name: "endTime",
242
+ type: "uint256",
243
+ },
244
+ {
245
+ internalType: "bytes32",
246
+ name: "zoneHash",
247
+ type: "bytes32",
248
+ },
249
+ {
250
+ internalType: "uint256",
251
+ name: "salt",
252
+ type: "uint256",
253
+ },
254
+ {
255
+ internalType: "bytes32",
256
+ name: "conduitKey",
257
+ type: "bytes32",
258
+ },
259
+ {
260
+ internalType: "uint256",
261
+ name: "totalOriginalConsiderationItems",
262
+ type: "uint256",
263
+ },
264
+ ],
265
+ internalType: "struct OrderParameters",
266
+ name: "parameters",
267
+ type: "tuple",
268
+ },
269
+ {
270
+ internalType: "uint120",
271
+ name: "numerator",
272
+ type: "uint120",
273
+ },
274
+ {
275
+ internalType: "uint120",
276
+ name: "denominator",
277
+ type: "uint120",
278
+ },
279
+ {
280
+ internalType: "bytes",
281
+ name: "signature",
282
+ type: "bytes",
283
+ },
284
+ {
285
+ internalType: "bytes",
286
+ name: "extraData",
287
+ type: "bytes",
288
+ },
289
+ ],
290
+ internalType: "struct AdvancedOrder",
291
+ name: "advancedOrder",
292
+ type: "tuple",
293
+ },
294
+ {
295
+ components: [
296
+ {
297
+ internalType: "uint256",
298
+ name: "orderIndex",
299
+ type: "uint256",
300
+ },
301
+ {
302
+ internalType: "enum Side",
303
+ name: "side",
304
+ type: "uint8",
305
+ },
306
+ {
307
+ internalType: "uint256",
308
+ name: "index",
309
+ type: "uint256",
310
+ },
311
+ {
312
+ internalType: "uint256",
313
+ name: "identifier",
314
+ type: "uint256",
315
+ },
316
+ {
317
+ internalType: "bytes32[]",
318
+ name: "criteriaProof",
319
+ type: "bytes32[]",
320
+ },
321
+ ],
322
+ internalType: "struct CriteriaResolver[]",
323
+ name: "criteriaResolvers",
324
+ type: "tuple[]",
325
+ },
326
+ {
327
+ internalType: "bytes32",
328
+ name: "fulfillerConduitKey",
329
+ type: "bytes32",
330
+ },
331
+ {
332
+ internalType: "address",
333
+ name: "recipient",
334
+ type: "address",
335
+ },
336
+ ],
337
+ name: "fulfillAdvancedOrder",
338
+ outputs: [
339
+ {
340
+ internalType: "bool",
341
+ name: "fulfilled",
342
+ type: "bool",
343
+ },
344
+ ],
345
+ stateMutability: "payable",
346
+ type: "function",
347
+ },
348
+ {
349
+ inputs: [
350
+ {
351
+ components: [
352
+ {
353
+ components: [
354
+ {
355
+ internalType: "address",
356
+ name: "offerer",
357
+ type: "address",
358
+ },
359
+ {
360
+ internalType: "address",
361
+ name: "zone",
362
+ type: "address",
363
+ },
364
+ {
365
+ components: [
366
+ {
367
+ internalType: "enum ItemType",
368
+ name: "itemType",
369
+ type: "uint8",
370
+ },
371
+ {
372
+ internalType: "address",
373
+ name: "token",
374
+ type: "address",
375
+ },
376
+ {
377
+ internalType: "uint256",
378
+ name: "identifierOrCriteria",
379
+ type: "uint256",
380
+ },
381
+ {
382
+ internalType: "uint256",
383
+ name: "startAmount",
384
+ type: "uint256",
385
+ },
386
+ {
387
+ internalType: "uint256",
388
+ name: "endAmount",
389
+ type: "uint256",
390
+ },
391
+ ],
392
+ internalType: "struct OfferItem[]",
393
+ name: "offer",
394
+ type: "tuple[]",
395
+ },
396
+ {
397
+ components: [
398
+ {
399
+ internalType: "enum ItemType",
400
+ name: "itemType",
401
+ type: "uint8",
402
+ },
403
+ {
404
+ internalType: "address",
405
+ name: "token",
406
+ type: "address",
407
+ },
408
+ {
409
+ internalType: "uint256",
410
+ name: "identifierOrCriteria",
411
+ type: "uint256",
412
+ },
413
+ {
414
+ internalType: "uint256",
415
+ name: "startAmount",
416
+ type: "uint256",
417
+ },
418
+ {
419
+ internalType: "uint256",
420
+ name: "endAmount",
421
+ type: "uint256",
422
+ },
423
+ {
424
+ internalType: "address payable",
425
+ name: "recipient",
426
+ type: "address",
427
+ },
428
+ ],
429
+ internalType: "struct ConsiderationItem[]",
430
+ name: "consideration",
431
+ type: "tuple[]",
432
+ },
433
+ {
434
+ internalType: "enum OrderType",
435
+ name: "orderType",
436
+ type: "uint8",
437
+ },
438
+ {
439
+ internalType: "uint256",
440
+ name: "startTime",
441
+ type: "uint256",
442
+ },
443
+ {
444
+ internalType: "uint256",
445
+ name: "endTime",
446
+ type: "uint256",
447
+ },
448
+ {
449
+ internalType: "bytes32",
450
+ name: "zoneHash",
451
+ type: "bytes32",
452
+ },
453
+ {
454
+ internalType: "uint256",
455
+ name: "salt",
456
+ type: "uint256",
457
+ },
458
+ {
459
+ internalType: "bytes32",
460
+ name: "conduitKey",
461
+ type: "bytes32",
462
+ },
463
+ {
464
+ internalType: "uint256",
465
+ name: "totalOriginalConsiderationItems",
466
+ type: "uint256",
467
+ },
468
+ ],
469
+ internalType: "struct OrderParameters",
470
+ name: "parameters",
471
+ type: "tuple",
472
+ },
473
+ {
474
+ internalType: "uint120",
475
+ name: "numerator",
476
+ type: "uint120",
477
+ },
478
+ {
479
+ internalType: "uint120",
480
+ name: "denominator",
481
+ type: "uint120",
482
+ },
483
+ {
484
+ internalType: "bytes",
485
+ name: "signature",
486
+ type: "bytes",
487
+ },
488
+ {
489
+ internalType: "bytes",
490
+ name: "extraData",
491
+ type: "bytes",
492
+ },
493
+ ],
494
+ internalType: "struct AdvancedOrder[]",
495
+ name: "advancedOrders",
496
+ type: "tuple[]",
497
+ },
498
+ {
499
+ components: [
500
+ {
501
+ internalType: "uint256",
502
+ name: "orderIndex",
503
+ type: "uint256",
504
+ },
505
+ {
506
+ internalType: "enum Side",
507
+ name: "side",
508
+ type: "uint8",
509
+ },
510
+ {
511
+ internalType: "uint256",
512
+ name: "index",
513
+ type: "uint256",
514
+ },
515
+ {
516
+ internalType: "uint256",
517
+ name: "identifier",
518
+ type: "uint256",
519
+ },
520
+ {
521
+ internalType: "bytes32[]",
522
+ name: "criteriaProof",
523
+ type: "bytes32[]",
524
+ },
525
+ ],
526
+ internalType: "struct CriteriaResolver[]",
527
+ name: "criteriaResolvers",
528
+ type: "tuple[]",
529
+ },
530
+ {
531
+ components: [
532
+ {
533
+ internalType: "uint256",
534
+ name: "orderIndex",
535
+ type: "uint256",
536
+ },
537
+ {
538
+ internalType: "uint256",
539
+ name: "itemIndex",
540
+ type: "uint256",
541
+ },
542
+ ],
543
+ internalType: "struct FulfillmentComponent[][]",
544
+ name: "offerFulfillments",
545
+ type: "tuple[][]",
546
+ },
547
+ {
548
+ components: [
549
+ {
550
+ internalType: "uint256",
551
+ name: "orderIndex",
552
+ type: "uint256",
553
+ },
554
+ {
555
+ internalType: "uint256",
556
+ name: "itemIndex",
557
+ type: "uint256",
558
+ },
559
+ ],
560
+ internalType: "struct FulfillmentComponent[][]",
561
+ name: "considerationFulfillments",
562
+ type: "tuple[][]",
563
+ },
564
+ {
565
+ internalType: "bytes32",
566
+ name: "fulfillerConduitKey",
567
+ type: "bytes32",
568
+ },
569
+ {
570
+ internalType: "address",
571
+ name: "recipient",
572
+ type: "address",
573
+ },
574
+ {
575
+ internalType: "uint256",
576
+ name: "maximumFulfilled",
577
+ type: "uint256",
578
+ },
579
+ ],
580
+ name: "fulfillAvailableAdvancedOrders",
581
+ outputs: [
582
+ {
583
+ internalType: "bool[]",
584
+ name: "availableOrders",
585
+ type: "bool[]",
586
+ },
587
+ {
588
+ components: [
589
+ {
590
+ components: [
591
+ {
592
+ internalType: "enum ItemType",
593
+ name: "itemType",
594
+ type: "uint8",
595
+ },
596
+ {
597
+ internalType: "address",
598
+ name: "token",
599
+ type: "address",
600
+ },
601
+ {
602
+ internalType: "uint256",
603
+ name: "identifier",
604
+ type: "uint256",
605
+ },
606
+ {
607
+ internalType: "uint256",
608
+ name: "amount",
609
+ type: "uint256",
610
+ },
611
+ {
612
+ internalType: "address payable",
613
+ name: "recipient",
614
+ type: "address",
615
+ },
616
+ ],
617
+ internalType: "struct ReceivedItem",
618
+ name: "item",
619
+ type: "tuple",
620
+ },
621
+ {
622
+ internalType: "address",
623
+ name: "offerer",
624
+ type: "address",
625
+ },
626
+ {
627
+ internalType: "bytes32",
628
+ name: "conduitKey",
629
+ type: "bytes32",
630
+ },
631
+ ],
632
+ internalType: "struct Execution[]",
633
+ name: "executions",
634
+ type: "tuple[]",
635
+ },
636
+ ],
637
+ stateMutability: "payable",
638
+ type: "function",
639
+ },
640
+ {
641
+ inputs: [
642
+ {
643
+ components: [
644
+ {
645
+ components: [
646
+ {
647
+ internalType: "address",
648
+ name: "offerer",
649
+ type: "address",
650
+ },
651
+ {
652
+ internalType: "address",
653
+ name: "zone",
654
+ type: "address",
655
+ },
656
+ {
657
+ components: [
658
+ {
659
+ internalType: "enum ItemType",
660
+ name: "itemType",
661
+ type: "uint8",
662
+ },
663
+ {
664
+ internalType: "address",
665
+ name: "token",
666
+ type: "address",
667
+ },
668
+ {
669
+ internalType: "uint256",
670
+ name: "identifierOrCriteria",
671
+ type: "uint256",
672
+ },
673
+ {
674
+ internalType: "uint256",
675
+ name: "startAmount",
676
+ type: "uint256",
677
+ },
678
+ {
679
+ internalType: "uint256",
680
+ name: "endAmount",
681
+ type: "uint256",
682
+ },
683
+ ],
684
+ internalType: "struct OfferItem[]",
685
+ name: "offer",
686
+ type: "tuple[]",
687
+ },
688
+ {
689
+ components: [
690
+ {
691
+ internalType: "enum ItemType",
692
+ name: "itemType",
693
+ type: "uint8",
694
+ },
695
+ {
696
+ internalType: "address",
697
+ name: "token",
698
+ type: "address",
699
+ },
700
+ {
701
+ internalType: "uint256",
702
+ name: "identifierOrCriteria",
703
+ type: "uint256",
704
+ },
705
+ {
706
+ internalType: "uint256",
707
+ name: "startAmount",
708
+ type: "uint256",
709
+ },
710
+ {
711
+ internalType: "uint256",
712
+ name: "endAmount",
713
+ type: "uint256",
714
+ },
715
+ {
716
+ internalType: "address payable",
717
+ name: "recipient",
718
+ type: "address",
719
+ },
720
+ ],
721
+ internalType: "struct ConsiderationItem[]",
722
+ name: "consideration",
723
+ type: "tuple[]",
724
+ },
725
+ {
726
+ internalType: "enum OrderType",
727
+ name: "orderType",
728
+ type: "uint8",
729
+ },
730
+ {
731
+ internalType: "uint256",
732
+ name: "startTime",
733
+ type: "uint256",
734
+ },
735
+ {
736
+ internalType: "uint256",
737
+ name: "endTime",
738
+ type: "uint256",
739
+ },
740
+ {
741
+ internalType: "bytes32",
742
+ name: "zoneHash",
743
+ type: "bytes32",
744
+ },
745
+ {
746
+ internalType: "uint256",
747
+ name: "salt",
748
+ type: "uint256",
749
+ },
750
+ {
751
+ internalType: "bytes32",
752
+ name: "conduitKey",
753
+ type: "bytes32",
754
+ },
755
+ {
756
+ internalType: "uint256",
757
+ name: "totalOriginalConsiderationItems",
758
+ type: "uint256",
759
+ },
760
+ ],
761
+ internalType: "struct OrderParameters",
762
+ name: "parameters",
763
+ type: "tuple",
764
+ },
765
+ {
766
+ internalType: "bytes",
767
+ name: "signature",
768
+ type: "bytes",
769
+ },
770
+ ],
771
+ internalType: "struct Order[]",
772
+ name: "orders",
773
+ type: "tuple[]",
774
+ },
775
+ {
776
+ components: [
777
+ {
778
+ internalType: "uint256",
779
+ name: "orderIndex",
780
+ type: "uint256",
781
+ },
782
+ {
783
+ internalType: "uint256",
784
+ name: "itemIndex",
785
+ type: "uint256",
786
+ },
787
+ ],
788
+ internalType: "struct FulfillmentComponent[][]",
789
+ name: "offerFulfillments",
790
+ type: "tuple[][]",
791
+ },
792
+ {
793
+ components: [
794
+ {
795
+ internalType: "uint256",
796
+ name: "orderIndex",
797
+ type: "uint256",
798
+ },
799
+ {
800
+ internalType: "uint256",
801
+ name: "itemIndex",
802
+ type: "uint256",
803
+ },
804
+ ],
805
+ internalType: "struct FulfillmentComponent[][]",
806
+ name: "considerationFulfillments",
807
+ type: "tuple[][]",
808
+ },
809
+ {
810
+ internalType: "bytes32",
811
+ name: "fulfillerConduitKey",
812
+ type: "bytes32",
813
+ },
814
+ {
815
+ internalType: "uint256",
816
+ name: "maximumFulfilled",
817
+ type: "uint256",
818
+ },
819
+ ],
820
+ name: "fulfillAvailableOrders",
821
+ outputs: [
822
+ {
823
+ internalType: "bool[]",
824
+ name: "availableOrders",
825
+ type: "bool[]",
826
+ },
827
+ {
828
+ components: [
829
+ {
830
+ components: [
831
+ {
832
+ internalType: "enum ItemType",
833
+ name: "itemType",
834
+ type: "uint8",
835
+ },
836
+ {
837
+ internalType: "address",
838
+ name: "token",
839
+ type: "address",
840
+ },
841
+ {
842
+ internalType: "uint256",
843
+ name: "identifier",
844
+ type: "uint256",
845
+ },
846
+ {
847
+ internalType: "uint256",
848
+ name: "amount",
849
+ type: "uint256",
850
+ },
851
+ {
852
+ internalType: "address payable",
853
+ name: "recipient",
854
+ type: "address",
855
+ },
856
+ ],
857
+ internalType: "struct ReceivedItem",
858
+ name: "item",
859
+ type: "tuple",
860
+ },
861
+ {
862
+ internalType: "address",
863
+ name: "offerer",
864
+ type: "address",
865
+ },
866
+ {
867
+ internalType: "bytes32",
868
+ name: "conduitKey",
869
+ type: "bytes32",
870
+ },
871
+ ],
872
+ internalType: "struct Execution[]",
873
+ name: "executions",
874
+ type: "tuple[]",
875
+ },
876
+ ],
877
+ stateMutability: "payable",
878
+ type: "function",
879
+ },
880
+ {
881
+ inputs: [
882
+ {
883
+ components: [
884
+ {
885
+ internalType: "address",
886
+ name: "considerationToken",
887
+ type: "address",
888
+ },
889
+ {
890
+ internalType: "uint256",
891
+ name: "considerationIdentifier",
892
+ type: "uint256",
893
+ },
894
+ {
895
+ internalType: "uint256",
896
+ name: "considerationAmount",
897
+ type: "uint256",
898
+ },
899
+ {
900
+ internalType: "address payable",
901
+ name: "offerer",
902
+ type: "address",
903
+ },
904
+ {
905
+ internalType: "address",
906
+ name: "zone",
907
+ type: "address",
908
+ },
909
+ {
910
+ internalType: "address",
911
+ name: "offerToken",
912
+ type: "address",
913
+ },
914
+ {
915
+ internalType: "uint256",
916
+ name: "offerIdentifier",
917
+ type: "uint256",
918
+ },
919
+ {
920
+ internalType: "uint256",
921
+ name: "offerAmount",
922
+ type: "uint256",
923
+ },
924
+ {
925
+ internalType: "enum BasicOrderType",
926
+ name: "basicOrderType",
927
+ type: "uint8",
928
+ },
929
+ {
930
+ internalType: "uint256",
931
+ name: "startTime",
932
+ type: "uint256",
933
+ },
934
+ {
935
+ internalType: "uint256",
936
+ name: "endTime",
937
+ type: "uint256",
938
+ },
939
+ {
940
+ internalType: "bytes32",
941
+ name: "zoneHash",
942
+ type: "bytes32",
943
+ },
944
+ {
945
+ internalType: "uint256",
946
+ name: "salt",
947
+ type: "uint256",
948
+ },
949
+ {
950
+ internalType: "bytes32",
951
+ name: "offererConduitKey",
952
+ type: "bytes32",
953
+ },
954
+ {
955
+ internalType: "bytes32",
956
+ name: "fulfillerConduitKey",
957
+ type: "bytes32",
958
+ },
959
+ {
960
+ internalType: "uint256",
961
+ name: "totalOriginalAdditionalRecipients",
962
+ type: "uint256",
963
+ },
964
+ {
965
+ components: [
966
+ {
967
+ internalType: "uint256",
968
+ name: "amount",
969
+ type: "uint256",
970
+ },
971
+ {
972
+ internalType: "address payable",
973
+ name: "recipient",
974
+ type: "address",
975
+ },
976
+ ],
977
+ internalType: "struct AdditionalRecipient[]",
978
+ name: "additionalRecipients",
979
+ type: "tuple[]",
980
+ },
981
+ {
982
+ internalType: "bytes",
983
+ name: "signature",
984
+ type: "bytes",
985
+ },
986
+ ],
987
+ internalType: "struct BasicOrderParameters",
988
+ name: "parameters",
989
+ type: "tuple",
990
+ },
991
+ ],
992
+ name: "fulfillBasicOrder",
993
+ outputs: [
994
+ {
995
+ internalType: "bool",
996
+ name: "fulfilled",
997
+ type: "bool",
998
+ },
999
+ ],
1000
+ stateMutability: "payable",
1001
+ type: "function",
1002
+ },
1003
+ {
1004
+ inputs: [
1005
+ {
1006
+ components: [
1007
+ {
1008
+ components: [
1009
+ {
1010
+ internalType: "address",
1011
+ name: "offerer",
1012
+ type: "address",
1013
+ },
1014
+ {
1015
+ internalType: "address",
1016
+ name: "zone",
1017
+ type: "address",
1018
+ },
1019
+ {
1020
+ components: [
1021
+ {
1022
+ internalType: "enum ItemType",
1023
+ name: "itemType",
1024
+ type: "uint8",
1025
+ },
1026
+ {
1027
+ internalType: "address",
1028
+ name: "token",
1029
+ type: "address",
1030
+ },
1031
+ {
1032
+ internalType: "uint256",
1033
+ name: "identifierOrCriteria",
1034
+ type: "uint256",
1035
+ },
1036
+ {
1037
+ internalType: "uint256",
1038
+ name: "startAmount",
1039
+ type: "uint256",
1040
+ },
1041
+ {
1042
+ internalType: "uint256",
1043
+ name: "endAmount",
1044
+ type: "uint256",
1045
+ },
1046
+ ],
1047
+ internalType: "struct OfferItem[]",
1048
+ name: "offer",
1049
+ type: "tuple[]",
1050
+ },
1051
+ {
1052
+ components: [
1053
+ {
1054
+ internalType: "enum ItemType",
1055
+ name: "itemType",
1056
+ type: "uint8",
1057
+ },
1058
+ {
1059
+ internalType: "address",
1060
+ name: "token",
1061
+ type: "address",
1062
+ },
1063
+ {
1064
+ internalType: "uint256",
1065
+ name: "identifierOrCriteria",
1066
+ type: "uint256",
1067
+ },
1068
+ {
1069
+ internalType: "uint256",
1070
+ name: "startAmount",
1071
+ type: "uint256",
1072
+ },
1073
+ {
1074
+ internalType: "uint256",
1075
+ name: "endAmount",
1076
+ type: "uint256",
1077
+ },
1078
+ {
1079
+ internalType: "address payable",
1080
+ name: "recipient",
1081
+ type: "address",
1082
+ },
1083
+ ],
1084
+ internalType: "struct ConsiderationItem[]",
1085
+ name: "consideration",
1086
+ type: "tuple[]",
1087
+ },
1088
+ {
1089
+ internalType: "enum OrderType",
1090
+ name: "orderType",
1091
+ type: "uint8",
1092
+ },
1093
+ {
1094
+ internalType: "uint256",
1095
+ name: "startTime",
1096
+ type: "uint256",
1097
+ },
1098
+ {
1099
+ internalType: "uint256",
1100
+ name: "endTime",
1101
+ type: "uint256",
1102
+ },
1103
+ {
1104
+ internalType: "bytes32",
1105
+ name: "zoneHash",
1106
+ type: "bytes32",
1107
+ },
1108
+ {
1109
+ internalType: "uint256",
1110
+ name: "salt",
1111
+ type: "uint256",
1112
+ },
1113
+ {
1114
+ internalType: "bytes32",
1115
+ name: "conduitKey",
1116
+ type: "bytes32",
1117
+ },
1118
+ {
1119
+ internalType: "uint256",
1120
+ name: "totalOriginalConsiderationItems",
1121
+ type: "uint256",
1122
+ },
1123
+ ],
1124
+ internalType: "struct OrderParameters",
1125
+ name: "parameters",
1126
+ type: "tuple",
1127
+ },
1128
+ {
1129
+ internalType: "bytes",
1130
+ name: "signature",
1131
+ type: "bytes",
1132
+ },
1133
+ ],
1134
+ internalType: "struct Order",
1135
+ name: "order",
1136
+ type: "tuple",
1137
+ },
1138
+ {
1139
+ internalType: "bytes32",
1140
+ name: "fulfillerConduitKey",
1141
+ type: "bytes32",
1142
+ },
1143
+ ],
1144
+ name: "fulfillOrder",
1145
+ outputs: [
1146
+ {
1147
+ internalType: "bool",
1148
+ name: "fulfilled",
1149
+ type: "bool",
1150
+ },
1151
+ ],
1152
+ stateMutability: "payable",
1153
+ type: "function",
1154
+ },
1155
+ {
1156
+ inputs: [
1157
+ {
1158
+ internalType: "address",
1159
+ name: "offerer",
1160
+ type: "address",
1161
+ },
1162
+ ],
1163
+ name: "getCounter",
1164
+ outputs: [
1165
+ {
1166
+ internalType: "uint256",
1167
+ name: "counter",
1168
+ type: "uint256",
1169
+ },
1170
+ ],
1171
+ stateMutability: "view",
1172
+ type: "function",
1173
+ },
1174
+ {
1175
+ inputs: [
1176
+ {
1177
+ components: [
1178
+ {
1179
+ internalType: "address",
1180
+ name: "offerer",
1181
+ type: "address",
1182
+ },
1183
+ {
1184
+ internalType: "address",
1185
+ name: "zone",
1186
+ type: "address",
1187
+ },
1188
+ {
1189
+ components: [
1190
+ {
1191
+ internalType: "enum ItemType",
1192
+ name: "itemType",
1193
+ type: "uint8",
1194
+ },
1195
+ {
1196
+ internalType: "address",
1197
+ name: "token",
1198
+ type: "address",
1199
+ },
1200
+ {
1201
+ internalType: "uint256",
1202
+ name: "identifierOrCriteria",
1203
+ type: "uint256",
1204
+ },
1205
+ {
1206
+ internalType: "uint256",
1207
+ name: "startAmount",
1208
+ type: "uint256",
1209
+ },
1210
+ {
1211
+ internalType: "uint256",
1212
+ name: "endAmount",
1213
+ type: "uint256",
1214
+ },
1215
+ ],
1216
+ internalType: "struct OfferItem[]",
1217
+ name: "offer",
1218
+ type: "tuple[]",
1219
+ },
1220
+ {
1221
+ components: [
1222
+ {
1223
+ internalType: "enum ItemType",
1224
+ name: "itemType",
1225
+ type: "uint8",
1226
+ },
1227
+ {
1228
+ internalType: "address",
1229
+ name: "token",
1230
+ type: "address",
1231
+ },
1232
+ {
1233
+ internalType: "uint256",
1234
+ name: "identifierOrCriteria",
1235
+ type: "uint256",
1236
+ },
1237
+ {
1238
+ internalType: "uint256",
1239
+ name: "startAmount",
1240
+ type: "uint256",
1241
+ },
1242
+ {
1243
+ internalType: "uint256",
1244
+ name: "endAmount",
1245
+ type: "uint256",
1246
+ },
1247
+ {
1248
+ internalType: "address payable",
1249
+ name: "recipient",
1250
+ type: "address",
1251
+ },
1252
+ ],
1253
+ internalType: "struct ConsiderationItem[]",
1254
+ name: "consideration",
1255
+ type: "tuple[]",
1256
+ },
1257
+ {
1258
+ internalType: "enum OrderType",
1259
+ name: "orderType",
1260
+ type: "uint8",
1261
+ },
1262
+ {
1263
+ internalType: "uint256",
1264
+ name: "startTime",
1265
+ type: "uint256",
1266
+ },
1267
+ {
1268
+ internalType: "uint256",
1269
+ name: "endTime",
1270
+ type: "uint256",
1271
+ },
1272
+ {
1273
+ internalType: "bytes32",
1274
+ name: "zoneHash",
1275
+ type: "bytes32",
1276
+ },
1277
+ {
1278
+ internalType: "uint256",
1279
+ name: "salt",
1280
+ type: "uint256",
1281
+ },
1282
+ {
1283
+ internalType: "bytes32",
1284
+ name: "conduitKey",
1285
+ type: "bytes32",
1286
+ },
1287
+ {
1288
+ internalType: "uint256",
1289
+ name: "counter",
1290
+ type: "uint256",
1291
+ },
1292
+ ],
1293
+ internalType: "struct OrderComponents",
1294
+ name: "order",
1295
+ type: "tuple",
1296
+ },
1297
+ ],
1298
+ name: "getOrderHash",
1299
+ outputs: [
1300
+ {
1301
+ internalType: "bytes32",
1302
+ name: "orderHash",
1303
+ type: "bytes32",
1304
+ },
1305
+ ],
1306
+ stateMutability: "view",
1307
+ type: "function",
1308
+ },
1309
+ {
1310
+ inputs: [
1311
+ {
1312
+ internalType: "bytes32",
1313
+ name: "orderHash",
1314
+ type: "bytes32",
1315
+ },
1316
+ ],
1317
+ name: "getOrderStatus",
1318
+ outputs: [
1319
+ {
1320
+ internalType: "bool",
1321
+ name: "isValidated",
1322
+ type: "bool",
1323
+ },
1324
+ {
1325
+ internalType: "bool",
1326
+ name: "isCancelled",
1327
+ type: "bool",
1328
+ },
1329
+ {
1330
+ internalType: "uint256",
1331
+ name: "totalFilled",
1332
+ type: "uint256",
1333
+ },
1334
+ {
1335
+ internalType: "uint256",
1336
+ name: "totalSize",
1337
+ type: "uint256",
1338
+ },
1339
+ ],
1340
+ stateMutability: "view",
1341
+ type: "function",
1342
+ },
1343
+ {
1344
+ inputs: [],
1345
+ name: "incrementCounter",
1346
+ outputs: [
1347
+ {
1348
+ internalType: "uint256",
1349
+ name: "newCounter",
1350
+ type: "uint256",
1351
+ },
1352
+ ],
1353
+ stateMutability: "nonpayable",
1354
+ type: "function",
1355
+ },
1356
+ {
1357
+ inputs: [],
1358
+ name: "information",
1359
+ outputs: [
1360
+ {
1361
+ internalType: "string",
1362
+ name: "version",
1363
+ type: "string",
1364
+ },
1365
+ {
1366
+ internalType: "bytes32",
1367
+ name: "domainSeparator",
1368
+ type: "bytes32",
1369
+ },
1370
+ {
1371
+ internalType: "address",
1372
+ name: "conduitController",
1373
+ type: "address",
1374
+ },
1375
+ ],
1376
+ stateMutability: "view",
1377
+ type: "function",
1378
+ },
1379
+ {
1380
+ inputs: [
1381
+ {
1382
+ components: [
1383
+ {
1384
+ components: [
1385
+ {
1386
+ internalType: "address",
1387
+ name: "offerer",
1388
+ type: "address",
1389
+ },
1390
+ {
1391
+ internalType: "address",
1392
+ name: "zone",
1393
+ type: "address",
1394
+ },
1395
+ {
1396
+ components: [
1397
+ {
1398
+ internalType: "enum ItemType",
1399
+ name: "itemType",
1400
+ type: "uint8",
1401
+ },
1402
+ {
1403
+ internalType: "address",
1404
+ name: "token",
1405
+ type: "address",
1406
+ },
1407
+ {
1408
+ internalType: "uint256",
1409
+ name: "identifierOrCriteria",
1410
+ type: "uint256",
1411
+ },
1412
+ {
1413
+ internalType: "uint256",
1414
+ name: "startAmount",
1415
+ type: "uint256",
1416
+ },
1417
+ {
1418
+ internalType: "uint256",
1419
+ name: "endAmount",
1420
+ type: "uint256",
1421
+ },
1422
+ ],
1423
+ internalType: "struct OfferItem[]",
1424
+ name: "offer",
1425
+ type: "tuple[]",
1426
+ },
1427
+ {
1428
+ components: [
1429
+ {
1430
+ internalType: "enum ItemType",
1431
+ name: "itemType",
1432
+ type: "uint8",
1433
+ },
1434
+ {
1435
+ internalType: "address",
1436
+ name: "token",
1437
+ type: "address",
1438
+ },
1439
+ {
1440
+ internalType: "uint256",
1441
+ name: "identifierOrCriteria",
1442
+ type: "uint256",
1443
+ },
1444
+ {
1445
+ internalType: "uint256",
1446
+ name: "startAmount",
1447
+ type: "uint256",
1448
+ },
1449
+ {
1450
+ internalType: "uint256",
1451
+ name: "endAmount",
1452
+ type: "uint256",
1453
+ },
1454
+ {
1455
+ internalType: "address payable",
1456
+ name: "recipient",
1457
+ type: "address",
1458
+ },
1459
+ ],
1460
+ internalType: "struct ConsiderationItem[]",
1461
+ name: "consideration",
1462
+ type: "tuple[]",
1463
+ },
1464
+ {
1465
+ internalType: "enum OrderType",
1466
+ name: "orderType",
1467
+ type: "uint8",
1468
+ },
1469
+ {
1470
+ internalType: "uint256",
1471
+ name: "startTime",
1472
+ type: "uint256",
1473
+ },
1474
+ {
1475
+ internalType: "uint256",
1476
+ name: "endTime",
1477
+ type: "uint256",
1478
+ },
1479
+ {
1480
+ internalType: "bytes32",
1481
+ name: "zoneHash",
1482
+ type: "bytes32",
1483
+ },
1484
+ {
1485
+ internalType: "uint256",
1486
+ name: "salt",
1487
+ type: "uint256",
1488
+ },
1489
+ {
1490
+ internalType: "bytes32",
1491
+ name: "conduitKey",
1492
+ type: "bytes32",
1493
+ },
1494
+ {
1495
+ internalType: "uint256",
1496
+ name: "totalOriginalConsiderationItems",
1497
+ type: "uint256",
1498
+ },
1499
+ ],
1500
+ internalType: "struct OrderParameters",
1501
+ name: "parameters",
1502
+ type: "tuple",
1503
+ },
1504
+ {
1505
+ internalType: "uint120",
1506
+ name: "numerator",
1507
+ type: "uint120",
1508
+ },
1509
+ {
1510
+ internalType: "uint120",
1511
+ name: "denominator",
1512
+ type: "uint120",
1513
+ },
1514
+ {
1515
+ internalType: "bytes",
1516
+ name: "signature",
1517
+ type: "bytes",
1518
+ },
1519
+ {
1520
+ internalType: "bytes",
1521
+ name: "extraData",
1522
+ type: "bytes",
1523
+ },
1524
+ ],
1525
+ internalType: "struct AdvancedOrder[]",
1526
+ name: "orders",
1527
+ type: "tuple[]",
1528
+ },
1529
+ {
1530
+ components: [
1531
+ {
1532
+ internalType: "uint256",
1533
+ name: "orderIndex",
1534
+ type: "uint256",
1535
+ },
1536
+ {
1537
+ internalType: "enum Side",
1538
+ name: "side",
1539
+ type: "uint8",
1540
+ },
1541
+ {
1542
+ internalType: "uint256",
1543
+ name: "index",
1544
+ type: "uint256",
1545
+ },
1546
+ {
1547
+ internalType: "uint256",
1548
+ name: "identifier",
1549
+ type: "uint256",
1550
+ },
1551
+ {
1552
+ internalType: "bytes32[]",
1553
+ name: "criteriaProof",
1554
+ type: "bytes32[]",
1555
+ },
1556
+ ],
1557
+ internalType: "struct CriteriaResolver[]",
1558
+ name: "criteriaResolvers",
1559
+ type: "tuple[]",
1560
+ },
1561
+ {
1562
+ components: [
1563
+ {
1564
+ components: [
1565
+ {
1566
+ internalType: "uint256",
1567
+ name: "orderIndex",
1568
+ type: "uint256",
1569
+ },
1570
+ {
1571
+ internalType: "uint256",
1572
+ name: "itemIndex",
1573
+ type: "uint256",
1574
+ },
1575
+ ],
1576
+ internalType: "struct FulfillmentComponent[]",
1577
+ name: "offerComponents",
1578
+ type: "tuple[]",
1579
+ },
1580
+ {
1581
+ components: [
1582
+ {
1583
+ internalType: "uint256",
1584
+ name: "orderIndex",
1585
+ type: "uint256",
1586
+ },
1587
+ {
1588
+ internalType: "uint256",
1589
+ name: "itemIndex",
1590
+ type: "uint256",
1591
+ },
1592
+ ],
1593
+ internalType: "struct FulfillmentComponent[]",
1594
+ name: "considerationComponents",
1595
+ type: "tuple[]",
1596
+ },
1597
+ ],
1598
+ internalType: "struct Fulfillment[]",
1599
+ name: "fulfillments",
1600
+ type: "tuple[]",
1601
+ },
1602
+ ],
1603
+ name: "matchAdvancedOrders",
1604
+ outputs: [
1605
+ {
1606
+ components: [
1607
+ {
1608
+ components: [
1609
+ {
1610
+ internalType: "enum ItemType",
1611
+ name: "itemType",
1612
+ type: "uint8",
1613
+ },
1614
+ {
1615
+ internalType: "address",
1616
+ name: "token",
1617
+ type: "address",
1618
+ },
1619
+ {
1620
+ internalType: "uint256",
1621
+ name: "identifier",
1622
+ type: "uint256",
1623
+ },
1624
+ {
1625
+ internalType: "uint256",
1626
+ name: "amount",
1627
+ type: "uint256",
1628
+ },
1629
+ {
1630
+ internalType: "address payable",
1631
+ name: "recipient",
1632
+ type: "address",
1633
+ },
1634
+ ],
1635
+ internalType: "struct ReceivedItem",
1636
+ name: "item",
1637
+ type: "tuple",
1638
+ },
1639
+ {
1640
+ internalType: "address",
1641
+ name: "offerer",
1642
+ type: "address",
1643
+ },
1644
+ {
1645
+ internalType: "bytes32",
1646
+ name: "conduitKey",
1647
+ type: "bytes32",
1648
+ },
1649
+ ],
1650
+ internalType: "struct Execution[]",
1651
+ name: "executions",
1652
+ type: "tuple[]",
1653
+ },
1654
+ ],
1655
+ stateMutability: "payable",
1656
+ type: "function",
1657
+ },
1658
+ {
1659
+ inputs: [
1660
+ {
1661
+ components: [
1662
+ {
1663
+ components: [
1664
+ {
1665
+ internalType: "address",
1666
+ name: "offerer",
1667
+ type: "address",
1668
+ },
1669
+ {
1670
+ internalType: "address",
1671
+ name: "zone",
1672
+ type: "address",
1673
+ },
1674
+ {
1675
+ components: [
1676
+ {
1677
+ internalType: "enum ItemType",
1678
+ name: "itemType",
1679
+ type: "uint8",
1680
+ },
1681
+ {
1682
+ internalType: "address",
1683
+ name: "token",
1684
+ type: "address",
1685
+ },
1686
+ {
1687
+ internalType: "uint256",
1688
+ name: "identifierOrCriteria",
1689
+ type: "uint256",
1690
+ },
1691
+ {
1692
+ internalType: "uint256",
1693
+ name: "startAmount",
1694
+ type: "uint256",
1695
+ },
1696
+ {
1697
+ internalType: "uint256",
1698
+ name: "endAmount",
1699
+ type: "uint256",
1700
+ },
1701
+ ],
1702
+ internalType: "struct OfferItem[]",
1703
+ name: "offer",
1704
+ type: "tuple[]",
1705
+ },
1706
+ {
1707
+ components: [
1708
+ {
1709
+ internalType: "enum ItemType",
1710
+ name: "itemType",
1711
+ type: "uint8",
1712
+ },
1713
+ {
1714
+ internalType: "address",
1715
+ name: "token",
1716
+ type: "address",
1717
+ },
1718
+ {
1719
+ internalType: "uint256",
1720
+ name: "identifierOrCriteria",
1721
+ type: "uint256",
1722
+ },
1723
+ {
1724
+ internalType: "uint256",
1725
+ name: "startAmount",
1726
+ type: "uint256",
1727
+ },
1728
+ {
1729
+ internalType: "uint256",
1730
+ name: "endAmount",
1731
+ type: "uint256",
1732
+ },
1733
+ {
1734
+ internalType: "address payable",
1735
+ name: "recipient",
1736
+ type: "address",
1737
+ },
1738
+ ],
1739
+ internalType: "struct ConsiderationItem[]",
1740
+ name: "consideration",
1741
+ type: "tuple[]",
1742
+ },
1743
+ {
1744
+ internalType: "enum OrderType",
1745
+ name: "orderType",
1746
+ type: "uint8",
1747
+ },
1748
+ {
1749
+ internalType: "uint256",
1750
+ name: "startTime",
1751
+ type: "uint256",
1752
+ },
1753
+ {
1754
+ internalType: "uint256",
1755
+ name: "endTime",
1756
+ type: "uint256",
1757
+ },
1758
+ {
1759
+ internalType: "bytes32",
1760
+ name: "zoneHash",
1761
+ type: "bytes32",
1762
+ },
1763
+ {
1764
+ internalType: "uint256",
1765
+ name: "salt",
1766
+ type: "uint256",
1767
+ },
1768
+ {
1769
+ internalType: "bytes32",
1770
+ name: "conduitKey",
1771
+ type: "bytes32",
1772
+ },
1773
+ {
1774
+ internalType: "uint256",
1775
+ name: "totalOriginalConsiderationItems",
1776
+ type: "uint256",
1777
+ },
1778
+ ],
1779
+ internalType: "struct OrderParameters",
1780
+ name: "parameters",
1781
+ type: "tuple",
1782
+ },
1783
+ {
1784
+ internalType: "bytes",
1785
+ name: "signature",
1786
+ type: "bytes",
1787
+ },
1788
+ ],
1789
+ internalType: "struct Order[]",
1790
+ name: "orders",
1791
+ type: "tuple[]",
1792
+ },
1793
+ {
1794
+ components: [
1795
+ {
1796
+ components: [
1797
+ {
1798
+ internalType: "uint256",
1799
+ name: "orderIndex",
1800
+ type: "uint256",
1801
+ },
1802
+ {
1803
+ internalType: "uint256",
1804
+ name: "itemIndex",
1805
+ type: "uint256",
1806
+ },
1807
+ ],
1808
+ internalType: "struct FulfillmentComponent[]",
1809
+ name: "offerComponents",
1810
+ type: "tuple[]",
1811
+ },
1812
+ {
1813
+ components: [
1814
+ {
1815
+ internalType: "uint256",
1816
+ name: "orderIndex",
1817
+ type: "uint256",
1818
+ },
1819
+ {
1820
+ internalType: "uint256",
1821
+ name: "itemIndex",
1822
+ type: "uint256",
1823
+ },
1824
+ ],
1825
+ internalType: "struct FulfillmentComponent[]",
1826
+ name: "considerationComponents",
1827
+ type: "tuple[]",
1828
+ },
1829
+ ],
1830
+ internalType: "struct Fulfillment[]",
1831
+ name: "fulfillments",
1832
+ type: "tuple[]",
1833
+ },
1834
+ ],
1835
+ name: "matchOrders",
1836
+ outputs: [
1837
+ {
1838
+ components: [
1839
+ {
1840
+ components: [
1841
+ {
1842
+ internalType: "enum ItemType",
1843
+ name: "itemType",
1844
+ type: "uint8",
1845
+ },
1846
+ {
1847
+ internalType: "address",
1848
+ name: "token",
1849
+ type: "address",
1850
+ },
1851
+ {
1852
+ internalType: "uint256",
1853
+ name: "identifier",
1854
+ type: "uint256",
1855
+ },
1856
+ {
1857
+ internalType: "uint256",
1858
+ name: "amount",
1859
+ type: "uint256",
1860
+ },
1861
+ {
1862
+ internalType: "address payable",
1863
+ name: "recipient",
1864
+ type: "address",
1865
+ },
1866
+ ],
1867
+ internalType: "struct ReceivedItem",
1868
+ name: "item",
1869
+ type: "tuple",
1870
+ },
1871
+ {
1872
+ internalType: "address",
1873
+ name: "offerer",
1874
+ type: "address",
1875
+ },
1876
+ {
1877
+ internalType: "bytes32",
1878
+ name: "conduitKey",
1879
+ type: "bytes32",
1880
+ },
1881
+ ],
1882
+ internalType: "struct Execution[]",
1883
+ name: "executions",
1884
+ type: "tuple[]",
1885
+ },
1886
+ ],
1887
+ stateMutability: "payable",
1888
+ type: "function",
1889
+ },
1890
+ {
1891
+ inputs: [],
1892
+ name: "name",
1893
+ outputs: [
1894
+ {
1895
+ internalType: "string",
1896
+ name: "contractName",
1897
+ type: "string",
1898
+ },
1899
+ ],
1900
+ stateMutability: "view",
1901
+ type: "function",
1902
+ },
1903
+ {
1904
+ inputs: [
1905
+ {
1906
+ components: [
1907
+ {
1908
+ components: [
1909
+ {
1910
+ internalType: "address",
1911
+ name: "offerer",
1912
+ type: "address",
1913
+ },
1914
+ {
1915
+ internalType: "address",
1916
+ name: "zone",
1917
+ type: "address",
1918
+ },
1919
+ {
1920
+ components: [
1921
+ {
1922
+ internalType: "enum ItemType",
1923
+ name: "itemType",
1924
+ type: "uint8",
1925
+ },
1926
+ {
1927
+ internalType: "address",
1928
+ name: "token",
1929
+ type: "address",
1930
+ },
1931
+ {
1932
+ internalType: "uint256",
1933
+ name: "identifierOrCriteria",
1934
+ type: "uint256",
1935
+ },
1936
+ {
1937
+ internalType: "uint256",
1938
+ name: "startAmount",
1939
+ type: "uint256",
1940
+ },
1941
+ {
1942
+ internalType: "uint256",
1943
+ name: "endAmount",
1944
+ type: "uint256",
1945
+ },
1946
+ ],
1947
+ internalType: "struct OfferItem[]",
1948
+ name: "offer",
1949
+ type: "tuple[]",
1950
+ },
1951
+ {
1952
+ components: [
1953
+ {
1954
+ internalType: "enum ItemType",
1955
+ name: "itemType",
1956
+ type: "uint8",
1957
+ },
1958
+ {
1959
+ internalType: "address",
1960
+ name: "token",
1961
+ type: "address",
1962
+ },
1963
+ {
1964
+ internalType: "uint256",
1965
+ name: "identifierOrCriteria",
1966
+ type: "uint256",
1967
+ },
1968
+ {
1969
+ internalType: "uint256",
1970
+ name: "startAmount",
1971
+ type: "uint256",
1972
+ },
1973
+ {
1974
+ internalType: "uint256",
1975
+ name: "endAmount",
1976
+ type: "uint256",
1977
+ },
1978
+ {
1979
+ internalType: "address payable",
1980
+ name: "recipient",
1981
+ type: "address",
1982
+ },
1983
+ ],
1984
+ internalType: "struct ConsiderationItem[]",
1985
+ name: "consideration",
1986
+ type: "tuple[]",
1987
+ },
1988
+ {
1989
+ internalType: "enum OrderType",
1990
+ name: "orderType",
1991
+ type: "uint8",
1992
+ },
1993
+ {
1994
+ internalType: "uint256",
1995
+ name: "startTime",
1996
+ type: "uint256",
1997
+ },
1998
+ {
1999
+ internalType: "uint256",
2000
+ name: "endTime",
2001
+ type: "uint256",
2002
+ },
2003
+ {
2004
+ internalType: "bytes32",
2005
+ name: "zoneHash",
2006
+ type: "bytes32",
2007
+ },
2008
+ {
2009
+ internalType: "uint256",
2010
+ name: "salt",
2011
+ type: "uint256",
2012
+ },
2013
+ {
2014
+ internalType: "bytes32",
2015
+ name: "conduitKey",
2016
+ type: "bytes32",
2017
+ },
2018
+ {
2019
+ internalType: "uint256",
2020
+ name: "totalOriginalConsiderationItems",
2021
+ type: "uint256",
2022
+ },
2023
+ ],
2024
+ internalType: "struct OrderParameters",
2025
+ name: "parameters",
2026
+ type: "tuple",
2027
+ },
2028
+ {
2029
+ internalType: "bytes",
2030
+ name: "signature",
2031
+ type: "bytes",
2032
+ },
2033
+ ],
2034
+ internalType: "struct Order[]",
2035
+ name: "orders",
2036
+ type: "tuple[]",
2037
+ },
2038
+ ],
2039
+ name: "validate",
2040
+ outputs: [
2041
+ {
2042
+ internalType: "bool",
2043
+ name: "validated",
2044
+ type: "bool",
2045
+ },
2046
+ ],
2047
+ stateMutability: "nonpayable",
2048
+ type: "function",
2049
+ },
2050
+ ];
2051
+ var ConsiderationInterface__factory = /** @class */ (function () {
2052
+ function ConsiderationInterface__factory() {
2053
+ }
2054
+ ConsiderationInterface__factory.createInterface = function () {
2055
+ return new ethers_1.utils.Interface(_abi);
2056
+ };
2057
+ ConsiderationInterface__factory.connect = function (address, signerOrProvider) {
2058
+ return new ethers_1.Contract(address, _abi, signerOrProvider);
2059
+ };
2060
+ ConsiderationInterface__factory.abi = _abi;
2061
+ return ConsiderationInterface__factory;
2062
+ }());
2063
+ exports.ConsiderationInterface__factory = ConsiderationInterface__factory;
2064
+ //# sourceMappingURL=ConsiderationInterface__factory.js.map