@opensea/seaport-js 1.0.1-beta.0 → 1.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 (79) hide show
  1. package/lib/abi/ERC1155.d.ts +29 -29
  2. package/lib/abi/ERC1155.js +319 -0
  3. package/lib/abi/ERC1155.js.map +1 -0
  4. package/lib/abi/ERC20.d.ts +29 -29
  5. package/lib/abi/ERC20.js +317 -0
  6. package/lib/abi/ERC20.js.map +1 -0
  7. package/lib/abi/ERC721.d.ts +29 -29
  8. package/lib/abi/ERC721.js +337 -0
  9. package/lib/abi/ERC721.js.map +1 -0
  10. package/lib/abi/Seaport.d.ts +112 -112
  11. package/lib/abi/Seaport.js +2585 -0
  12. package/lib/abi/Seaport.js.map +1 -0
  13. package/lib/constants.d.ts +49 -49
  14. package/lib/constants.js +73 -0
  15. package/lib/constants.js.map +1 -0
  16. package/lib/index.d.ts +2 -2
  17. package/lib/index.js +6 -2
  18. package/lib/index.js.map +1 -1
  19. package/lib/seaport.d.ts +181 -181
  20. package/lib/seaport.js +720 -0
  21. package/lib/seaport.js.map +1 -0
  22. package/lib/typechain/ERC1155.d.ts +189 -0
  23. package/lib/typechain/ERC1155.js +3 -0
  24. package/lib/typechain/ERC1155.js.map +1 -0
  25. package/lib/typechain/ERC20.d.ts +209 -0
  26. package/lib/typechain/ERC20.js +3 -0
  27. package/lib/typechain/ERC20.js.map +1 -0
  28. package/lib/typechain/ERC721.d.ts +220 -0
  29. package/lib/typechain/ERC721.js +3 -0
  30. package/lib/typechain/ERC721.js.map +1 -0
  31. package/lib/typechain/Seaport.d.ts +686 -0
  32. package/lib/typechain/Seaport.js +3 -0
  33. package/lib/typechain/Seaport.js.map +1 -0
  34. package/lib/typechain/common.d.ts +21 -0
  35. package/lib/typechain/common.js +3 -0
  36. package/lib/typechain/common.js.map +1 -0
  37. package/lib/types.d.ts +207 -207
  38. package/lib/types.js +3 -0
  39. package/lib/types.js.map +1 -0
  40. package/lib/utils/approval.d.ts +9 -9
  41. package/lib/utils/approval.js +108 -0
  42. package/lib/utils/approval.js.map +1 -0
  43. package/lib/utils/balance.d.ts +4 -4
  44. package/lib/utils/balance.js +86 -0
  45. package/lib/utils/balance.js.map +1 -0
  46. package/lib/utils/balanceAndApprovalCheck.d.ts +108 -108
  47. package/lib/utils/balanceAndApprovalCheck.js +322 -0
  48. package/lib/utils/balanceAndApprovalCheck.js.map +1 -0
  49. package/lib/utils/criteria.d.ts +14 -13
  50. package/lib/utils/criteria.js +91 -0
  51. package/lib/utils/criteria.js.map +1 -0
  52. package/lib/utils/fulfill.d.ts +84 -84
  53. package/lib/utils/fulfill.js +573 -0
  54. package/lib/utils/fulfill.js.map +1 -0
  55. package/lib/utils/gcd.d.ts +3 -3
  56. package/lib/utils/gcd.js +25 -0
  57. package/lib/utils/gcd.js.map +1 -0
  58. package/lib/utils/item.d.ts +29 -30
  59. package/lib/utils/item.js +136 -0
  60. package/lib/utils/item.js.map +1 -0
  61. package/lib/utils/match.d.ts +49 -49
  62. package/lib/utils/match.js +56 -0
  63. package/lib/utils/match.js.map +1 -0
  64. package/lib/utils/merkletree.d.ts +11 -11
  65. package/lib/utils/merkletree.js +32 -0
  66. package/lib/utils/merkletree.js.map +1 -0
  67. package/lib/utils/order.d.ts +37 -37
  68. package/lib/utils/order.js +224 -0
  69. package/lib/utils/order.js.map +1 -0
  70. package/lib/utils/usecase.d.ts +4 -4
  71. package/lib/utils/usecase.js +158 -0
  72. package/lib/utils/usecase.js.map +1 -0
  73. package/package.json +3 -5
  74. package/lib/index.esm.mjs +0 -2
  75. package/lib/index.esm.mjs.map +0 -1
  76. package/lib/index.modern.mjs +0 -2
  77. package/lib/index.modern.mjs.map +0 -1
  78. package/lib/index.umd.js +0 -2
  79. package/lib/index.umd.js.map +0 -1
@@ -1,29 +1,29 @@
1
- declare const ERC1155ABI: ({
2
- anonymous: boolean;
3
- inputs: {
4
- indexed: boolean;
5
- internalType: string;
6
- name: string;
7
- type: string;
8
- }[];
9
- name: string;
10
- type: string;
11
- outputs?: undefined;
12
- stateMutability?: undefined;
13
- } | {
14
- inputs: {
15
- internalType: string;
16
- name: string;
17
- type: string;
18
- }[];
19
- name: string;
20
- outputs: {
21
- internalType: string;
22
- name: string;
23
- type: string;
24
- }[];
25
- stateMutability: string;
26
- type: string;
27
- anonymous?: undefined;
28
- })[];
29
- export { ERC1155ABI };
1
+ declare const ERC1155ABI: ({
2
+ anonymous: boolean;
3
+ inputs: {
4
+ indexed: boolean;
5
+ internalType: string;
6
+ name: string;
7
+ type: string;
8
+ }[];
9
+ name: string;
10
+ type: string;
11
+ outputs?: undefined;
12
+ stateMutability?: undefined;
13
+ } | {
14
+ inputs: {
15
+ internalType: string;
16
+ name: string;
17
+ type: string;
18
+ }[];
19
+ name: string;
20
+ outputs: {
21
+ internalType: string;
22
+ name: string;
23
+ type: string;
24
+ }[];
25
+ stateMutability: string;
26
+ type: string;
27
+ anonymous?: undefined;
28
+ })[];
29
+ export { ERC1155ABI };
@@ -0,0 +1,319 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ERC1155ABI = void 0;
4
+ var ERC1155ABI = [
5
+ {
6
+ anonymous: false,
7
+ inputs: [
8
+ {
9
+ indexed: true,
10
+ internalType: "address",
11
+ name: "owner",
12
+ type: "address",
13
+ },
14
+ {
15
+ indexed: true,
16
+ internalType: "address",
17
+ name: "operator",
18
+ type: "address",
19
+ },
20
+ {
21
+ indexed: false,
22
+ internalType: "bool",
23
+ name: "approved",
24
+ type: "bool",
25
+ },
26
+ ],
27
+ name: "ApprovalForAll",
28
+ type: "event",
29
+ },
30
+ {
31
+ anonymous: false,
32
+ inputs: [
33
+ {
34
+ indexed: true,
35
+ internalType: "address",
36
+ name: "operator",
37
+ type: "address",
38
+ },
39
+ {
40
+ indexed: true,
41
+ internalType: "address",
42
+ name: "from",
43
+ type: "address",
44
+ },
45
+ {
46
+ indexed: true,
47
+ internalType: "address",
48
+ name: "to",
49
+ type: "address",
50
+ },
51
+ {
52
+ indexed: false,
53
+ internalType: "uint256[]",
54
+ name: "ids",
55
+ type: "uint256[]",
56
+ },
57
+ {
58
+ indexed: false,
59
+ internalType: "uint256[]",
60
+ name: "amounts",
61
+ type: "uint256[]",
62
+ },
63
+ ],
64
+ name: "TransferBatch",
65
+ type: "event",
66
+ },
67
+ {
68
+ anonymous: false,
69
+ inputs: [
70
+ {
71
+ indexed: true,
72
+ internalType: "address",
73
+ name: "operator",
74
+ type: "address",
75
+ },
76
+ {
77
+ indexed: true,
78
+ internalType: "address",
79
+ name: "from",
80
+ type: "address",
81
+ },
82
+ {
83
+ indexed: true,
84
+ internalType: "address",
85
+ name: "to",
86
+ type: "address",
87
+ },
88
+ {
89
+ indexed: false,
90
+ internalType: "uint256",
91
+ name: "id",
92
+ type: "uint256",
93
+ },
94
+ {
95
+ indexed: false,
96
+ internalType: "uint256",
97
+ name: "amount",
98
+ type: "uint256",
99
+ },
100
+ ],
101
+ name: "TransferSingle",
102
+ type: "event",
103
+ },
104
+ {
105
+ anonymous: false,
106
+ inputs: [
107
+ {
108
+ indexed: false,
109
+ internalType: "string",
110
+ name: "value",
111
+ type: "string",
112
+ },
113
+ {
114
+ indexed: true,
115
+ internalType: "uint256",
116
+ name: "id",
117
+ type: "uint256",
118
+ },
119
+ ],
120
+ name: "URI",
121
+ type: "event",
122
+ },
123
+ {
124
+ inputs: [
125
+ {
126
+ internalType: "address",
127
+ name: "",
128
+ type: "address",
129
+ },
130
+ {
131
+ internalType: "uint256",
132
+ name: "",
133
+ type: "uint256",
134
+ },
135
+ ],
136
+ name: "balanceOf",
137
+ outputs: [
138
+ {
139
+ internalType: "uint256",
140
+ name: "",
141
+ type: "uint256",
142
+ },
143
+ ],
144
+ stateMutability: "view",
145
+ type: "function",
146
+ },
147
+ {
148
+ inputs: [
149
+ {
150
+ internalType: "address[]",
151
+ name: "owners",
152
+ type: "address[]",
153
+ },
154
+ {
155
+ internalType: "uint256[]",
156
+ name: "ids",
157
+ type: "uint256[]",
158
+ },
159
+ ],
160
+ name: "balanceOfBatch",
161
+ outputs: [
162
+ {
163
+ internalType: "uint256[]",
164
+ name: "balances",
165
+ type: "uint256[]",
166
+ },
167
+ ],
168
+ stateMutability: "view",
169
+ type: "function",
170
+ },
171
+ {
172
+ inputs: [
173
+ {
174
+ internalType: "address",
175
+ name: "",
176
+ type: "address",
177
+ },
178
+ {
179
+ internalType: "address",
180
+ name: "",
181
+ type: "address",
182
+ },
183
+ ],
184
+ name: "isApprovedForAll",
185
+ outputs: [
186
+ {
187
+ internalType: "bool",
188
+ name: "",
189
+ type: "bool",
190
+ },
191
+ ],
192
+ stateMutability: "view",
193
+ type: "function",
194
+ },
195
+ {
196
+ inputs: [
197
+ {
198
+ internalType: "address",
199
+ name: "from",
200
+ type: "address",
201
+ },
202
+ {
203
+ internalType: "address",
204
+ name: "to",
205
+ type: "address",
206
+ },
207
+ {
208
+ internalType: "uint256[]",
209
+ name: "ids",
210
+ type: "uint256[]",
211
+ },
212
+ {
213
+ internalType: "uint256[]",
214
+ name: "amounts",
215
+ type: "uint256[]",
216
+ },
217
+ {
218
+ internalType: "bytes",
219
+ name: "data",
220
+ type: "bytes",
221
+ },
222
+ ],
223
+ name: "safeBatchTransferFrom",
224
+ outputs: [],
225
+ stateMutability: "nonpayable",
226
+ type: "function",
227
+ },
228
+ {
229
+ inputs: [
230
+ {
231
+ internalType: "address",
232
+ name: "from",
233
+ type: "address",
234
+ },
235
+ {
236
+ internalType: "address",
237
+ name: "to",
238
+ type: "address",
239
+ },
240
+ {
241
+ internalType: "uint256",
242
+ name: "id",
243
+ type: "uint256",
244
+ },
245
+ {
246
+ internalType: "uint256",
247
+ name: "amount",
248
+ type: "uint256",
249
+ },
250
+ {
251
+ internalType: "bytes",
252
+ name: "data",
253
+ type: "bytes",
254
+ },
255
+ ],
256
+ name: "safeTransferFrom",
257
+ outputs: [],
258
+ stateMutability: "nonpayable",
259
+ type: "function",
260
+ },
261
+ {
262
+ inputs: [
263
+ {
264
+ internalType: "address",
265
+ name: "operator",
266
+ type: "address",
267
+ },
268
+ {
269
+ internalType: "bool",
270
+ name: "approved",
271
+ type: "bool",
272
+ },
273
+ ],
274
+ name: "setApprovalForAll",
275
+ outputs: [],
276
+ stateMutability: "nonpayable",
277
+ type: "function",
278
+ },
279
+ {
280
+ inputs: [
281
+ {
282
+ internalType: "bytes4",
283
+ name: "interfaceId",
284
+ type: "bytes4",
285
+ },
286
+ ],
287
+ name: "supportsInterface",
288
+ outputs: [
289
+ {
290
+ internalType: "bool",
291
+ name: "",
292
+ type: "bool",
293
+ },
294
+ ],
295
+ stateMutability: "pure",
296
+ type: "function",
297
+ },
298
+ {
299
+ inputs: [
300
+ {
301
+ internalType: "uint256",
302
+ name: "id",
303
+ type: "uint256",
304
+ },
305
+ ],
306
+ name: "uri",
307
+ outputs: [
308
+ {
309
+ internalType: "string",
310
+ name: "",
311
+ type: "string",
312
+ },
313
+ ],
314
+ stateMutability: "view",
315
+ type: "function",
316
+ },
317
+ ];
318
+ exports.ERC1155ABI = ERC1155ABI;
319
+ //# sourceMappingURL=ERC1155.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ERC1155.js","sourceRoot":"","sources":["../../src/abi/ERC1155.ts"],"names":[],"mappings":";;;AAAA,IAAM,UAAU,GAAG;IACjB;QACE,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE;YACN;gBACE,OAAO,EAAE,IAAI;gBACb,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,OAAO,EAAE,IAAI;gBACb,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,OAAO,EAAE,KAAK;gBACd,YAAY,EAAE,MAAM;gBACpB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,MAAM;aACb;SACF;QACD,IAAI,EAAE,gBAAg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ChB;YACD;gBACE,YAAY,EAAE,OAAO;gBACrB,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,OAAO;aACd;SACF;QACD,IAAI,EAAE,kBAAkB;QACxB,OAAO,EAAE,EAAE;QACX,eAAe,EAAE,YAAY;QAC7B,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,MAAM;gBACpB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,MAAM;aACb;SACF;QACD,IAAI,EAAE,mBAAmB;QACzB,OAAO,EAAE,EAAE;QACX,eAAe,EAAE,YAAY;QAC7B,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,QAAQ;gBACtB,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,QAAQ;aACf;SACF;QACD,IAAI,EAAE,mBAAmB;QACzB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,MAAM;gBACpB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,MAAM;aACb;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,IAAI;gBACV,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,KAAK;QACX,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,QAAQ;gBACtB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,QAAQ;aACf;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;CACF,CAAC;AAEO,gCAAU"}
@@ -1,29 +1,29 @@
1
- declare const ERC20ABI: ({
2
- anonymous: boolean;
3
- inputs: {
4
- indexed: boolean;
5
- internalType: string;
6
- name: string;
7
- type: string;
8
- }[];
9
- name: string;
10
- type: string;
11
- outputs?: undefined;
12
- stateMutability?: undefined;
13
- } | {
14
- inputs: {
15
- internalType: string;
16
- name: string;
17
- type: string;
18
- }[];
19
- name: string;
20
- outputs: {
21
- internalType: string;
22
- name: string;
23
- type: string;
24
- }[];
25
- stateMutability: string;
26
- type: string;
27
- anonymous?: undefined;
28
- })[];
29
- export { ERC20ABI };
1
+ declare const ERC20ABI: ({
2
+ anonymous: boolean;
3
+ inputs: {
4
+ indexed: boolean;
5
+ internalType: string;
6
+ name: string;
7
+ type: string;
8
+ }[];
9
+ name: string;
10
+ type: string;
11
+ outputs?: undefined;
12
+ stateMutability?: undefined;
13
+ } | {
14
+ inputs: {
15
+ internalType: string;
16
+ name: string;
17
+ type: string;
18
+ }[];
19
+ name: string;
20
+ outputs: {
21
+ internalType: string;
22
+ name: string;
23
+ type: string;
24
+ }[];
25
+ stateMutability: string;
26
+ type: string;
27
+ anonymous?: undefined;
28
+ })[];
29
+ export { ERC20ABI };