opensea-js 4.0.21 → 4.0.22

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 (123) hide show
  1. package/lib/abi/CanonicalWETH.d.ts +2 -0
  2. package/lib/abi/CanonicalWETH.js +157 -0
  3. package/lib/abi/CanonicalWETH.js.map +1 -0
  4. package/lib/abi/ERC1155.d.ts +2 -0
  5. package/lib/abi/ERC1155.js +9 -0
  6. package/lib/abi/ERC1155.js.map +1 -0
  7. package/lib/abi/ERC1155Abi.json +2346 -0
  8. package/lib/abi/ERC20.d.ts +2 -0
  9. package/lib/abi/ERC20.js +141 -0
  10. package/lib/abi/ERC20.js.map +1 -0
  11. package/lib/abi/ERC721v3.d.ts +2 -0
  12. package/lib/abi/ERC721v3.js +9 -0
  13. package/lib/abi/ERC721v3.js.map +1 -0
  14. package/lib/abi/ERC721v3Abi.json +470 -0
  15. package/lib/abi/Proxy.d.ts +27 -0
  16. package/lib/abi/Proxy.js +30 -0
  17. package/lib/abi/Proxy.js.map +1 -0
  18. package/lib/abi/UniswapExchange.d.ts +2 -0
  19. package/lib/abi/UniswapExchange.js +9 -0
  20. package/lib/abi/UniswapExchange.js.map +1 -0
  21. package/lib/abi/UniswapExchangeAbi.json +451 -0
  22. package/lib/abi/UniswapFactory.d.ts +2 -0
  23. package/lib/abi/UniswapFactory.js +9 -0
  24. package/lib/abi/UniswapFactory.js.map +1 -0
  25. package/lib/abi/UniswapFactoryAbi.json +67 -0
  26. package/lib/abi/WrappedNFT.d.ts +2 -0
  27. package/lib/abi/WrappedNFT.js +9 -0
  28. package/lib/abi/WrappedNFT.js.map +1 -0
  29. package/lib/abi/WrappedNFTAbi.json +331 -0
  30. package/lib/abi/WrappedNFTFactory.d.ts +2 -0
  31. package/lib/abi/WrappedNFTFactory.js +9 -0
  32. package/lib/abi/WrappedNFTFactory.js.map +1 -0
  33. package/lib/abi/WrappedNFTFactoryAbi.json +250 -0
  34. package/lib/abi/WrappedNFTLiquidationProxy.d.ts +2 -0
  35. package/lib/abi/WrappedNFTLiquidationProxy.js +139 -0
  36. package/lib/abi/WrappedNFTLiquidationProxy.js.map +1 -0
  37. package/lib/api.d.ts +134 -0
  38. package/lib/api.js +509 -0
  39. package/lib/api.js.map +1 -0
  40. package/lib/constants.d.ts +56 -0
  41. package/lib/constants.js +89 -0
  42. package/lib/constants.js.map +1 -0
  43. package/lib/contracts.d.ts +12 -0
  44. package/lib/contracts.js +32 -0
  45. package/lib/contracts.js.map +1 -0
  46. package/lib/debugging.d.ts +22 -0
  47. package/lib/debugging.js +194 -0
  48. package/lib/debugging.js.map +1 -0
  49. package/lib/index.d.ts +17 -0
  50. package/lib/index.js +25 -0
  51. package/lib/index.js.map +1 -0
  52. package/lib/orders/privateListings.d.ts +4 -0
  53. package/lib/orders/privateListings.js +129 -0
  54. package/lib/orders/privateListings.js.map +1 -0
  55. package/lib/orders/schemas.d.ts +3 -0
  56. package/lib/orders/schemas.js +78 -0
  57. package/lib/orders/schemas.js.map +1 -0
  58. package/lib/orders/types.d.ts +99 -0
  59. package/lib/orders/types.js +3 -0
  60. package/lib/orders/types.js.map +1 -0
  61. package/lib/orders/utils.d.ts +23 -0
  62. package/lib/orders/utils.js +76 -0
  63. package/lib/orders/utils.js.map +1 -0
  64. package/lib/package.json +2 -1
  65. package/lib/schemas.d.ts +9 -0
  66. package/lib/schemas.js +50 -0
  67. package/lib/schemas.js.map +1 -0
  68. package/lib/sdk.d.ts +704 -0
  69. package/lib/sdk.js +3336 -0
  70. package/lib/sdk.js.map +1 -0
  71. package/lib/src/__integration_tests__/postOrder.d.ts +1 -0
  72. package/lib/src/__integration_tests__/postOrder.js +78 -0
  73. package/lib/src/__integration_tests__/postOrder.js.map +1 -0
  74. package/lib/src/__tests__/constants.d.ts +12 -0
  75. package/lib/src/__tests__/constants.js +22 -0
  76. package/lib/src/__tests__/constants.js.map +1 -0
  77. package/lib/src/api.d.ts +14 -2
  78. package/lib/src/api.js +74 -8
  79. package/lib/src/api.js.map +1 -1
  80. package/lib/src/constants.d.ts +1 -1
  81. package/lib/src/constants.js +1 -1
  82. package/lib/src/orders/types.d.ts +29 -1
  83. package/lib/src/orders/utils.d.ts +21 -1
  84. package/lib/src/orders/utils.js +34 -1
  85. package/lib/src/orders/utils.js.map +1 -1
  86. package/lib/src/sdk.d.ts +17 -3
  87. package/lib/src/sdk.js +86 -16
  88. package/lib/src/sdk.js.map +1 -1
  89. package/lib/src/types.d.ts +1 -1
  90. package/lib/typechain/contracts/ERC1155Abi.d.ts +436 -0
  91. package/lib/typechain/contracts/ERC1155Abi.js +6 -0
  92. package/lib/typechain/contracts/ERC1155Abi.js.map +1 -0
  93. package/lib/typechain/contracts/ERC721v3Abi.d.ts +76 -0
  94. package/lib/typechain/contracts/ERC721v3Abi.js +6 -0
  95. package/lib/typechain/contracts/ERC721v3Abi.js.map +1 -0
  96. package/lib/typechain/contracts/UniswapExchangeAbi.d.ts +132 -0
  97. package/lib/typechain/contracts/UniswapExchangeAbi.js +6 -0
  98. package/lib/typechain/contracts/UniswapExchangeAbi.js.map +1 -0
  99. package/lib/typechain/contracts/UniswapFactoryAbi.d.ts +37 -0
  100. package/lib/typechain/contracts/UniswapFactoryAbi.js +6 -0
  101. package/lib/typechain/contracts/UniswapFactoryAbi.js.map +1 -0
  102. package/lib/typechain/contracts/WrappedNFTAbi.d.ts +80 -0
  103. package/lib/typechain/contracts/WrappedNFTAbi.js +6 -0
  104. package/lib/typechain/contracts/WrappedNFTAbi.js.map +1 -0
  105. package/lib/typechain/contracts/WrappedNFTFactoryAbi.d.ts +57 -0
  106. package/lib/typechain/contracts/WrappedNFTFactoryAbi.js +6 -0
  107. package/lib/typechain/contracts/WrappedNFTFactoryAbi.js.map +1 -0
  108. package/lib/typechain/contracts/types.d.ts +54 -0
  109. package/lib/typechain/contracts/types.js +3 -0
  110. package/lib/typechain/contracts/types.js.map +1 -0
  111. package/lib/types.d.ts +516 -0
  112. package/lib/types.js +151 -0
  113. package/lib/types.js.map +1 -0
  114. package/lib/utils/index.d.ts +2 -0
  115. package/lib/utils/index.js +15 -0
  116. package/lib/utils/index.js.map +1 -0
  117. package/lib/utils/schema.d.ts +49 -0
  118. package/lib/utils/schema.js +238 -0
  119. package/lib/utils/schema.js.map +1 -0
  120. package/lib/utils/utils.d.ts +203 -0
  121. package/lib/utils/utils.js +1113 -0
  122. package/lib/utils/utils.js.map +1 -0
  123. package/package.json +2 -1
@@ -0,0 +1,2 @@
1
+ import { PartialReadonlyContractAbi } from "../types";
2
+ export declare const UniswapExchange: PartialReadonlyContractAbi;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.UniswapExchange = void 0;
7
+ var UniswapExchangeAbi_json_1 = __importDefault(require("./UniswapExchangeAbi.json"));
8
+ exports.UniswapExchange = UniswapExchangeAbi_json_1.default;
9
+ //# sourceMappingURL=UniswapExchange.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UniswapExchange.js","sourceRoot":"","sources":["../../src/abi/UniswapExchange.ts"],"names":[],"mappings":";;;;;;AACA,sFAA2D;AAE9C,QAAA,eAAe,GAAG,iCAAgD,CAAC"}
@@ -0,0 +1,451 @@
1
+ [
2
+ {
3
+ "name": "TokenPurchase",
4
+ "inputs": [
5
+ { "type": "address", "name": "buyer", "indexed": true },
6
+ { "type": "uint256", "name": "eth_sold", "indexed": true },
7
+ { "type": "uint256", "name": "tokens_bought", "indexed": true }
8
+ ],
9
+ "anonymous": false,
10
+ "type": "event"
11
+ },
12
+ {
13
+ "name": "EthPurchase",
14
+ "inputs": [
15
+ { "type": "address", "name": "buyer", "indexed": true },
16
+ { "type": "uint256", "name": "tokens_sold", "indexed": true },
17
+ { "type": "uint256", "name": "eth_bought", "indexed": true }
18
+ ],
19
+ "anonymous": false,
20
+ "type": "event"
21
+ },
22
+ {
23
+ "name": "AddLiquidity",
24
+ "inputs": [
25
+ { "type": "address", "name": "provider", "indexed": true },
26
+ { "type": "uint256", "name": "eth_amount", "indexed": true },
27
+ { "type": "uint256", "name": "token_amount", "indexed": true }
28
+ ],
29
+ "anonymous": false,
30
+ "type": "event"
31
+ },
32
+ {
33
+ "name": "RemoveLiquidity",
34
+ "inputs": [
35
+ { "type": "address", "name": "provider", "indexed": true },
36
+ { "type": "uint256", "name": "eth_amount", "indexed": true },
37
+ { "type": "uint256", "name": "token_amount", "indexed": true }
38
+ ],
39
+ "anonymous": false,
40
+ "type": "event"
41
+ },
42
+ {
43
+ "name": "Transfer",
44
+ "inputs": [
45
+ { "type": "address", "name": "_from", "indexed": true },
46
+ { "type": "address", "name": "_to", "indexed": true },
47
+ { "type": "uint256", "name": "_value", "indexed": false }
48
+ ],
49
+ "anonymous": false,
50
+ "type": "event"
51
+ },
52
+ {
53
+ "name": "Approval",
54
+ "inputs": [
55
+ { "type": "address", "name": "_owner", "indexed": true },
56
+ { "type": "address", "name": "_spender", "indexed": true },
57
+ { "type": "uint256", "name": "_value", "indexed": false }
58
+ ],
59
+ "anonymous": false,
60
+ "type": "event"
61
+ },
62
+ {
63
+ "name": "setup",
64
+ "outputs": [],
65
+ "inputs": [{ "type": "address", "name": "token_addr" }],
66
+ "constant": false,
67
+ "payable": false,
68
+ "type": "function"
69
+ },
70
+ {
71
+ "name": "addLiquidity",
72
+ "outputs": [{ "type": "uint256", "name": "out" }],
73
+ "inputs": [
74
+ { "type": "uint256", "name": "min_liquidity" },
75
+ { "type": "uint256", "name": "max_tokens" },
76
+ { "type": "uint256", "name": "deadline" }
77
+ ],
78
+ "constant": false,
79
+ "payable": true,
80
+ "type": "function"
81
+ },
82
+ {
83
+ "name": "removeLiquidity",
84
+ "outputs": [
85
+ { "type": "uint256", "name": "out_a" },
86
+ { "type": "uint256", "name": "out_b" }
87
+ ],
88
+ "inputs": [
89
+ { "type": "uint256", "name": "amount" },
90
+ { "type": "uint256", "name": "min_eth" },
91
+ { "type": "uint256", "name": "min_tokens" },
92
+ { "type": "uint256", "name": "deadline" }
93
+ ],
94
+ "constant": false,
95
+ "payable": false,
96
+ "type": "function"
97
+ },
98
+ {
99
+ "name": "__default__",
100
+ "outputs": [],
101
+ "inputs": [],
102
+ "constant": false,
103
+ "payable": true,
104
+ "type": "function"
105
+ },
106
+ {
107
+ "name": "ethToTokenSwapInput",
108
+ "outputs": [{ "type": "uint256", "name": "out" }],
109
+ "inputs": [
110
+ { "type": "uint256", "name": "min_tokens" },
111
+ { "type": "uint256", "name": "deadline" }
112
+ ],
113
+ "constant": false,
114
+ "payable": true,
115
+ "type": "function"
116
+ },
117
+ {
118
+ "name": "ethToTokenTransferInput",
119
+ "outputs": [{ "type": "uint256", "name": "out" }],
120
+ "inputs": [
121
+ { "type": "uint256", "name": "min_tokens" },
122
+ { "type": "uint256", "name": "deadline" },
123
+ { "type": "address", "name": "recipient" }
124
+ ],
125
+ "constant": false,
126
+ "payable": true,
127
+ "type": "function"
128
+ },
129
+ {
130
+ "name": "ethToTokenSwapOutput",
131
+ "outputs": [{ "type": "uint256", "name": "out" }],
132
+ "inputs": [
133
+ { "type": "uint256", "name": "tokens_bought" },
134
+ { "type": "uint256", "name": "deadline" }
135
+ ],
136
+ "constant": false,
137
+ "payable": true,
138
+ "type": "function"
139
+ },
140
+ {
141
+ "name": "ethToTokenTransferOutput",
142
+ "outputs": [{ "type": "uint256", "name": "out" }],
143
+ "inputs": [
144
+ { "type": "uint256", "name": "tokens_bought" },
145
+ { "type": "uint256", "name": "deadline" },
146
+ { "type": "address", "name": "recipient" }
147
+ ],
148
+ "constant": false,
149
+ "payable": true,
150
+ "type": "function"
151
+ },
152
+ {
153
+ "name": "tokenToEthSwapInput",
154
+ "outputs": [{ "type": "uint256", "name": "out" }],
155
+ "inputs": [
156
+ { "type": "uint256", "name": "tokens_sold" },
157
+ { "type": "uint256", "name": "min_eth" },
158
+ { "type": "uint256", "name": "deadline" }
159
+ ],
160
+ "constant": false,
161
+ "payable": false,
162
+ "type": "function"
163
+ },
164
+ {
165
+ "name": "tokenToEthTransferInput",
166
+ "outputs": [{ "type": "uint256", "name": "out" }],
167
+ "inputs": [
168
+ { "type": "uint256", "name": "tokens_sold" },
169
+ { "type": "uint256", "name": "min_eth" },
170
+ { "type": "uint256", "name": "deadline" },
171
+ { "type": "address", "name": "recipient" }
172
+ ],
173
+ "constant": false,
174
+ "payable": false,
175
+ "type": "function"
176
+ },
177
+ {
178
+ "name": "tokenToEthSwapOutput",
179
+ "outputs": [{ "type": "uint256", "name": "out" }],
180
+ "inputs": [
181
+ { "type": "uint256", "name": "eth_bought" },
182
+ { "type": "uint256", "name": "max_tokens" },
183
+ { "type": "uint256", "name": "deadline" }
184
+ ],
185
+ "constant": false,
186
+ "payable": false,
187
+ "type": "function"
188
+ },
189
+ {
190
+ "name": "tokenToEthTransferOutput",
191
+ "outputs": [{ "type": "uint256", "name": "out" }],
192
+ "inputs": [
193
+ { "type": "uint256", "name": "eth_bought" },
194
+ { "type": "uint256", "name": "max_tokens" },
195
+ { "type": "uint256", "name": "deadline" },
196
+ { "type": "address", "name": "recipient" }
197
+ ],
198
+ "constant": false,
199
+ "payable": false,
200
+ "type": "function"
201
+ },
202
+ {
203
+ "name": "tokenToTokenSwapInput",
204
+ "outputs": [{ "type": "uint256", "name": "out" }],
205
+ "inputs": [
206
+ { "type": "uint256", "name": "tokens_sold" },
207
+ { "type": "uint256", "name": "min_tokens_bought" },
208
+ { "type": "uint256", "name": "min_eth_bought" },
209
+ { "type": "uint256", "name": "deadline" },
210
+ { "type": "address", "name": "token_addr" }
211
+ ],
212
+ "constant": false,
213
+ "payable": false,
214
+ "type": "function"
215
+ },
216
+ {
217
+ "name": "tokenToTokenTransferInput",
218
+ "outputs": [{ "type": "uint256", "name": "out" }],
219
+ "inputs": [
220
+ { "type": "uint256", "name": "tokens_sold" },
221
+ { "type": "uint256", "name": "min_tokens_bought" },
222
+ { "type": "uint256", "name": "min_eth_bought" },
223
+ { "type": "uint256", "name": "deadline" },
224
+ { "type": "address", "name": "recipient" },
225
+ { "type": "address", "name": "token_addr" }
226
+ ],
227
+ "constant": false,
228
+ "payable": false,
229
+ "type": "function"
230
+ },
231
+ {
232
+ "name": "tokenToTokenSwapOutput",
233
+ "outputs": [{ "type": "uint256", "name": "out" }],
234
+ "inputs": [
235
+ { "type": "uint256", "name": "tokens_bought" },
236
+ { "type": "uint256", "name": "max_tokens_sold" },
237
+ { "type": "uint256", "name": "max_eth_sold" },
238
+ { "type": "uint256", "name": "deadline" },
239
+ { "type": "address", "name": "token_addr" }
240
+ ],
241
+ "constant": false,
242
+ "payable": false,
243
+ "type": "function"
244
+ },
245
+ {
246
+ "name": "tokenToTokenTransferOutput",
247
+ "outputs": [{ "type": "uint256", "name": "out" }],
248
+ "inputs": [
249
+ { "type": "uint256", "name": "tokens_bought" },
250
+ { "type": "uint256", "name": "max_tokens_sold" },
251
+ { "type": "uint256", "name": "max_eth_sold" },
252
+ { "type": "uint256", "name": "deadline" },
253
+ { "type": "address", "name": "recipient" },
254
+ { "type": "address", "name": "token_addr" }
255
+ ],
256
+ "constant": false,
257
+ "payable": false,
258
+ "type": "function"
259
+ },
260
+ {
261
+ "name": "tokenToExchangeSwapInput",
262
+ "outputs": [{ "type": "uint256", "name": "out" }],
263
+ "inputs": [
264
+ { "type": "uint256", "name": "tokens_sold" },
265
+ { "type": "uint256", "name": "min_tokens_bought" },
266
+ { "type": "uint256", "name": "min_eth_bought" },
267
+ { "type": "uint256", "name": "deadline" },
268
+ { "type": "address", "name": "exchange_addr" }
269
+ ],
270
+ "constant": false,
271
+ "payable": false,
272
+ "type": "function"
273
+ },
274
+ {
275
+ "name": "tokenToExchangeTransferInput",
276
+ "outputs": [{ "type": "uint256", "name": "out" }],
277
+ "inputs": [
278
+ { "type": "uint256", "name": "tokens_sold" },
279
+ { "type": "uint256", "name": "min_tokens_bought" },
280
+ { "type": "uint256", "name": "min_eth_bought" },
281
+ { "type": "uint256", "name": "deadline" },
282
+ { "type": "address", "name": "recipient" },
283
+ { "type": "address", "name": "exchange_addr" }
284
+ ],
285
+ "constant": false,
286
+ "payable": false,
287
+ "type": "function"
288
+ },
289
+ {
290
+ "name": "tokenToExchangeSwapOutput",
291
+ "outputs": [{ "type": "uint256", "name": "out" }],
292
+ "inputs": [
293
+ { "type": "uint256", "name": "tokens_bought" },
294
+ { "type": "uint256", "name": "max_tokens_sold" },
295
+ { "type": "uint256", "name": "max_eth_sold" },
296
+ { "type": "uint256", "name": "deadline" },
297
+ { "type": "address", "name": "exchange_addr" }
298
+ ],
299
+ "constant": false,
300
+ "payable": false,
301
+ "type": "function"
302
+ },
303
+ {
304
+ "name": "tokenToExchangeTransferOutput",
305
+ "outputs": [{ "type": "uint256", "name": "out" }],
306
+ "inputs": [
307
+ { "type": "uint256", "name": "tokens_bought" },
308
+ { "type": "uint256", "name": "max_tokens_sold" },
309
+ { "type": "uint256", "name": "max_eth_sold" },
310
+ { "type": "uint256", "name": "deadline" },
311
+ { "type": "address", "name": "recipient" },
312
+ { "type": "address", "name": "exchange_addr" }
313
+ ],
314
+ "constant": false,
315
+ "payable": false,
316
+ "type": "function"
317
+ },
318
+ {
319
+ "name": "getEthToTokenInputPrice",
320
+ "outputs": [{ "type": "uint256", "name": "out" }],
321
+ "inputs": [{ "type": "uint256", "name": "eth_sold" }],
322
+ "constant": true,
323
+ "payable": false,
324
+ "type": "function"
325
+ },
326
+ {
327
+ "name": "getEthToTokenOutputPrice",
328
+ "outputs": [{ "type": "uint256", "name": "out" }],
329
+ "inputs": [{ "type": "uint256", "name": "tokens_bought" }],
330
+ "constant": true,
331
+ "payable": false,
332
+ "type": "function"
333
+ },
334
+ {
335
+ "name": "getTokenToEthInputPrice",
336
+ "outputs": [{ "type": "uint256", "name": "out" }],
337
+ "inputs": [{ "type": "uint256", "name": "tokens_sold" }],
338
+ "constant": true,
339
+ "payable": false,
340
+ "type": "function"
341
+ },
342
+ {
343
+ "name": "getTokenToEthOutputPrice",
344
+ "outputs": [{ "type": "uint256", "name": "out" }],
345
+ "inputs": [{ "type": "uint256", "name": "eth_bought" }],
346
+ "constant": true,
347
+ "payable": false,
348
+ "type": "function"
349
+ },
350
+ {
351
+ "name": "tokenAddress",
352
+ "outputs": [{ "type": "address", "name": "out" }],
353
+ "inputs": [],
354
+ "constant": true,
355
+ "payable": false,
356
+ "type": "function"
357
+ },
358
+ {
359
+ "name": "factoryAddress",
360
+ "outputs": [{ "type": "address", "name": "out" }],
361
+ "inputs": [],
362
+ "constant": true,
363
+ "payable": false,
364
+ "type": "function"
365
+ },
366
+ {
367
+ "name": "balanceOf",
368
+ "outputs": [{ "type": "uint256", "name": "out" }],
369
+ "inputs": [{ "type": "address", "name": "_owner" }],
370
+ "constant": true,
371
+ "payable": false,
372
+ "type": "function"
373
+ },
374
+ {
375
+ "name": "transfer",
376
+ "outputs": [{ "type": "bool", "name": "out" }],
377
+ "inputs": [
378
+ { "type": "address", "name": "_to" },
379
+ { "type": "uint256", "name": "_value" }
380
+ ],
381
+ "constant": false,
382
+ "payable": false,
383
+ "type": "function"
384
+ },
385
+ {
386
+ "name": "transferFrom",
387
+ "outputs": [{ "type": "bool", "name": "out" }],
388
+ "inputs": [
389
+ { "type": "address", "name": "_from" },
390
+ { "type": "address", "name": "_to" },
391
+ { "type": "uint256", "name": "_value" }
392
+ ],
393
+ "constant": false,
394
+ "payable": false,
395
+ "type": "function"
396
+ },
397
+ {
398
+ "name": "approve",
399
+ "outputs": [{ "type": "bool", "name": "out" }],
400
+ "inputs": [
401
+ { "type": "address", "name": "_spender" },
402
+ { "type": "uint256", "name": "_value" }
403
+ ],
404
+ "constant": false,
405
+ "payable": false,
406
+ "type": "function"
407
+ },
408
+ {
409
+ "name": "allowance",
410
+ "outputs": [{ "type": "uint256", "name": "out" }],
411
+ "inputs": [
412
+ { "type": "address", "name": "_owner" },
413
+ { "type": "address", "name": "_spender" }
414
+ ],
415
+ "constant": true,
416
+ "payable": false,
417
+ "type": "function"
418
+ },
419
+ {
420
+ "name": "name",
421
+ "outputs": [{ "type": "bytes32", "name": "out" }],
422
+ "inputs": [],
423
+ "constant": true,
424
+ "payable": false,
425
+ "type": "function"
426
+ },
427
+ {
428
+ "name": "symbol",
429
+ "outputs": [{ "type": "bytes32", "name": "out" }],
430
+ "inputs": [],
431
+ "constant": true,
432
+ "payable": false,
433
+ "type": "function"
434
+ },
435
+ {
436
+ "name": "decimals",
437
+ "outputs": [{ "type": "uint256", "name": "out" }],
438
+ "inputs": [],
439
+ "constant": true,
440
+ "payable": false,
441
+ "type": "function"
442
+ },
443
+ {
444
+ "name": "totalSupply",
445
+ "outputs": [{ "type": "uint256", "name": "out" }],
446
+ "inputs": [],
447
+ "constant": true,
448
+ "payable": false,
449
+ "type": "function"
450
+ }
451
+ ]
@@ -0,0 +1,2 @@
1
+ import { PartialReadonlyContractAbi } from "../types";
2
+ export declare const UniswapFactory: PartialReadonlyContractAbi;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.UniswapFactory = void 0;
7
+ var UniswapFactoryAbi_json_1 = __importDefault(require("./UniswapFactoryAbi.json"));
8
+ exports.UniswapFactory = UniswapFactoryAbi_json_1.default;
9
+ //# sourceMappingURL=UniswapFactory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UniswapFactory.js","sourceRoot":"","sources":["../../src/abi/UniswapFactory.ts"],"names":[],"mappings":";;;;;;AACA,oFAAyD;AAE5C,QAAA,cAAc,GAAG,gCAA+C,CAAC"}
@@ -0,0 +1,67 @@
1
+ [
2
+ {
3
+ "name": "NewExchange",
4
+ "inputs": [
5
+ { "type": "address", "name": "token", "indexed": true },
6
+ { "type": "address", "name": "exchange", "indexed": true }
7
+ ],
8
+ "anonymous": false,
9
+ "type": "event"
10
+ },
11
+ {
12
+ "name": "initializeFactory",
13
+ "outputs": [],
14
+ "inputs": [{ "type": "address", "name": "template" }],
15
+ "constant": false,
16
+ "payable": false,
17
+ "type": "function"
18
+ },
19
+ {
20
+ "name": "createExchange",
21
+ "outputs": [{ "type": "address", "name": "out" }],
22
+ "inputs": [{ "type": "address", "name": "token" }],
23
+ "constant": false,
24
+ "payable": false,
25
+ "type": "function"
26
+ },
27
+ {
28
+ "name": "getExchange",
29
+ "outputs": [{ "type": "address", "name": "out" }],
30
+ "inputs": [{ "type": "address", "name": "token" }],
31
+ "constant": true,
32
+ "payable": false,
33
+ "type": "function"
34
+ },
35
+ {
36
+ "name": "getToken",
37
+ "outputs": [{ "type": "address", "name": "out" }],
38
+ "inputs": [{ "type": "address", "name": "exchange" }],
39
+ "constant": true,
40
+ "payable": false,
41
+ "type": "function"
42
+ },
43
+ {
44
+ "name": "getTokenWithId",
45
+ "outputs": [{ "type": "address", "name": "out" }],
46
+ "inputs": [{ "type": "uint256", "name": "token_id" }],
47
+ "constant": true,
48
+ "payable": false,
49
+ "type": "function"
50
+ },
51
+ {
52
+ "name": "exchangeTemplate",
53
+ "outputs": [{ "type": "address", "name": "out" }],
54
+ "inputs": [],
55
+ "constant": true,
56
+ "payable": false,
57
+ "type": "function"
58
+ },
59
+ {
60
+ "name": "tokenCount",
61
+ "outputs": [{ "type": "uint256", "name": "out" }],
62
+ "inputs": [],
63
+ "constant": true,
64
+ "payable": false,
65
+ "type": "function"
66
+ }
67
+ ]
@@ -0,0 +1,2 @@
1
+ import { PartialReadonlyContractAbi } from "../types";
2
+ export declare const WrappedNFT: PartialReadonlyContractAbi;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.WrappedNFT = void 0;
7
+ var WrappedNFTAbi_json_1 = __importDefault(require("./WrappedNFTAbi.json"));
8
+ exports.WrappedNFT = WrappedNFTAbi_json_1.default;
9
+ //# sourceMappingURL=WrappedNFT.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WrappedNFT.js","sourceRoot":"","sources":["../../src/abi/WrappedNFT.ts"],"names":[],"mappings":";;;;;;AACA,4EAAiD;AAEpC,QAAA,UAAU,GAAG,4BAA2C,CAAC"}