@opensea/seaport-js 1.0.8 → 1.0.9

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 (49) hide show
  1. package/lib/abi/Seaport_v1_2.d.ts +129 -0
  2. package/lib/abi/Seaport_v1_2.js +2818 -0
  3. package/lib/abi/Seaport_v1_2.js.map +1 -0
  4. package/lib/abi/Seaport_v1_4.d.ts +129 -0
  5. package/lib/abi/Seaport_v1_4.js +2818 -0
  6. package/lib/abi/Seaport_v1_4.js.map +1 -0
  7. package/lib/constants.d.ts +21 -1
  8. package/lib/constants.js +34 -1
  9. package/lib/constants.js.map +1 -1
  10. package/lib/seaport.d.ts +53 -24
  11. package/lib/seaport.js +324 -126
  12. package/lib/seaport.js.map +1 -1
  13. package/lib/typechain/DomainRegistry.d.ts +2 -2
  14. package/lib/typechain/ERC1155.d.ts +8 -8
  15. package/lib/typechain/ERC20.d.ts +4 -12
  16. package/lib/typechain/ERC721.d.ts +18 -16
  17. package/lib/typechain/Seaport.d.ts +125 -104
  18. package/lib/typechain/common.d.ts +4 -4
  19. package/lib/types.d.ts +56 -46
  20. package/lib/utils/approval.d.ts +1 -1
  21. package/lib/utils/approval.js +11 -7
  22. package/lib/utils/approval.js.map +1 -1
  23. package/lib/utils/balance.d.ts +1 -1
  24. package/lib/utils/balance.js +1 -1
  25. package/lib/utils/balanceAndApprovalCheck.d.ts +3 -3
  26. package/lib/utils/balanceAndApprovalCheck.js +1 -1
  27. package/lib/utils/eip712/Eip712MerkleTree.d.ts +34 -0
  28. package/lib/utils/eip712/Eip712MerkleTree.js +125 -0
  29. package/lib/utils/eip712/Eip712MerkleTree.js.map +1 -0
  30. package/lib/utils/eip712/bulk-orders.d.ts +6 -0
  31. package/lib/utils/eip712/bulk-orders.js +84 -0
  32. package/lib/utils/eip712/bulk-orders.js.map +1 -0
  33. package/lib/utils/eip712/defaults.d.ts +14 -0
  34. package/lib/utils/eip712/defaults.js +114 -0
  35. package/lib/utils/eip712/defaults.js.map +1 -0
  36. package/lib/utils/eip712/utils.d.ts +11 -0
  37. package/lib/utils/eip712/utils.js +78 -0
  38. package/lib/utils/eip712/utils.js.map +1 -0
  39. package/lib/utils/fulfill.d.ts +6 -5
  40. package/lib/utils/fulfill.js +7 -7
  41. package/lib/utils/fulfill.js.map +1 -1
  42. package/lib/utils/item.d.ts +1 -1
  43. package/lib/utils/order.d.ts +1 -1
  44. package/lib/utils/order.js +2 -0
  45. package/lib/utils/order.js.map +1 -1
  46. package/lib/utils/usecase.d.ts +2 -2
  47. package/lib/utils/usecase.js +17 -18
  48. package/lib/utils/usecase.js.map +1 -1
  49. package/package.json +9 -7
@@ -0,0 +1,129 @@
1
+ declare const SeaportABIv14: ({
2
+ inputs: {
3
+ internalType: string;
4
+ name: string;
5
+ type: string;
6
+ }[];
7
+ stateMutability: string;
8
+ type: string;
9
+ name?: undefined;
10
+ anonymous?: undefined;
11
+ outputs?: undefined;
12
+ } | {
13
+ inputs: {
14
+ internalType: string;
15
+ name: string;
16
+ type: string;
17
+ }[];
18
+ name: string;
19
+ type: string;
20
+ stateMutability?: undefined;
21
+ anonymous?: undefined;
22
+ outputs?: undefined;
23
+ } | {
24
+ anonymous: boolean;
25
+ inputs: ({
26
+ indexed: boolean;
27
+ internalType: string;
28
+ name: string;
29
+ type: string;
30
+ components?: undefined;
31
+ } | {
32
+ components: ({
33
+ internalType: string;
34
+ name: string;
35
+ type: string;
36
+ components?: undefined;
37
+ } | {
38
+ components: {
39
+ internalType: string;
40
+ name: string;
41
+ type: string;
42
+ }[];
43
+ internalType: string;
44
+ name: string;
45
+ type: string;
46
+ })[];
47
+ indexed: boolean;
48
+ internalType: string;
49
+ name: string;
50
+ type: string;
51
+ })[];
52
+ name: string;
53
+ type: string;
54
+ stateMutability?: undefined;
55
+ outputs?: undefined;
56
+ } | {
57
+ inputs: ({
58
+ components: ({
59
+ components: ({
60
+ internalType: string;
61
+ name: string;
62
+ type: string;
63
+ components?: undefined;
64
+ } | {
65
+ components: {
66
+ internalType: string;
67
+ name: string;
68
+ type: string;
69
+ }[];
70
+ internalType: string;
71
+ name: string;
72
+ type: string;
73
+ })[];
74
+ internalType: string;
75
+ name: string;
76
+ type: string;
77
+ } | {
78
+ internalType: string;
79
+ name: string;
80
+ type: string;
81
+ components?: undefined;
82
+ })[];
83
+ internalType: string;
84
+ name: string;
85
+ type: string;
86
+ } | {
87
+ internalType: string;
88
+ name: string;
89
+ type: string;
90
+ components?: undefined;
91
+ })[];
92
+ name: string;
93
+ outputs: ({
94
+ internalType: string;
95
+ name: string;
96
+ type: string;
97
+ components?: undefined;
98
+ } | {
99
+ components: ({
100
+ components: {
101
+ internalType: string;
102
+ name: string;
103
+ type: string;
104
+ }[];
105
+ internalType: string;
106
+ name: string;
107
+ type: string;
108
+ } | {
109
+ internalType: string;
110
+ name: string;
111
+ type: string;
112
+ components?: undefined;
113
+ })[];
114
+ internalType: string;
115
+ name: string;
116
+ type: string;
117
+ })[];
118
+ stateMutability: string;
119
+ type: string;
120
+ anonymous?: undefined;
121
+ } | {
122
+ stateMutability: string;
123
+ type: string;
124
+ inputs?: undefined;
125
+ name?: undefined;
126
+ anonymous?: undefined;
127
+ outputs?: undefined;
128
+ })[];
129
+ export { SeaportABIv14 };