@4everland/land-v6 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 (171) hide show
  1. package/.gitattributes +1 -0
  2. package/.gitmodules +3 -0
  3. package/README.md +9 -0
  4. package/package.json +96 -0
  5. package/tsconfig.json +11 -0
  6. package/types/BasicToken.d.ts +300 -0
  7. package/types/BlackList.d.ts +512 -0
  8. package/types/BlastOracleLand.d.ts +933 -0
  9. package/types/ChainlinkPriceFeed.d.ts +427 -0
  10. package/types/Console.d.ts +101 -0
  11. package/types/CustomPriceFeed.d.ts +214 -0
  12. package/types/ERC1967Proxy.d.ts +126 -0
  13. package/types/ERC1967Upgrade.d.ts +126 -0
  14. package/types/ERC20.d.ts +343 -0
  15. package/types/ERC20Basic.d.ts +199 -0
  16. package/types/ETHOracleLand.d.ts +901 -0
  17. package/types/FixedPriceFeed.d.ts +212 -0
  18. package/types/IAggregatorV3Interface.d.ts +234 -0
  19. package/types/IBeacon.d.ts +101 -0
  20. package/types/IBlast.d.ts +919 -0
  21. package/types/ICoin.d.ts +95 -0
  22. package/types/IERC1822Proxiable.d.ts +101 -0
  23. package/types/IERC1967.d.ts +126 -0
  24. package/types/IERC20.d.ts +324 -0
  25. package/types/IERC20Metadata.d.ts +363 -0
  26. package/types/IERC20Rebasing.d.ts +184 -0
  27. package/types/ILand.d.ts +386 -0
  28. package/types/ILandCore.d.ts +255 -0
  29. package/types/IPriceFeed.d.ts +108 -0
  30. package/types/IPyth.d.ts +194 -0
  31. package/types/IQuoter.d.ts +269 -0
  32. package/types/ITransparentUpgradeableProxy.d.ts +256 -0
  33. package/types/IUniswapV3Pool.d.ts +203 -0
  34. package/types/IUniswapV3PoolActions.d.ts +396 -0
  35. package/types/IUniswapV3PoolDerivedState.d.ts +185 -0
  36. package/types/IUniswapV3PoolEvents.d.ts +482 -0
  37. package/types/IUniswapV3PoolImmutables.d.ts +174 -0
  38. package/types/IUniswapV3PoolOwnerActions.d.ts +168 -0
  39. package/types/IUniswapV3PoolState.d.ts +438 -0
  40. package/types/IWETH.d.ts +374 -0
  41. package/types/Initializable.d.ts +92 -0
  42. package/types/Land.d.ts +586 -0
  43. package/types/LandCore.d.ts +255 -0
  44. package/types/LandMath.d.ts +101 -0
  45. package/types/LandOwnable.d.ts +134 -0
  46. package/types/LandOwnableUpgradeable.d.ts +148 -0
  47. package/types/MockDAI.d.ts +441 -0
  48. package/types/MockUSDC.d.ts +441 -0
  49. package/types/MockUSDT.d.ts +441 -0
  50. package/types/OracleLand.d.ts +724 -0
  51. package/types/Ownable.d.ts +130 -0
  52. package/types/Pausable.d.ts +203 -0
  53. package/types/Proxy.d.ts +78 -0
  54. package/types/ProxyAdmin.d.ts +357 -0
  55. package/types/PythPriceFeed.d.ts +423 -0
  56. package/types/StandardToken.d.ts +493 -0
  57. package/types/TetherToken.d.ts +1018 -0
  58. package/types/TransparentUpgradeableProxy.d.ts +126 -0
  59. package/types/UpgradedStandardToken.d.ts +630 -0
  60. package/types/common.d.ts +35 -0
  61. package/types/factories/BasicToken__factory.js +183 -0
  62. package/types/factories/BasicToken__factory.ts +185 -0
  63. package/types/factories/BlackList__factory.js +318 -0
  64. package/types/factories/BlackList__factory.ts +320 -0
  65. package/types/factories/BlastOracleLand__factory.js +656 -0
  66. package/types/factories/BlastOracleLand__factory.ts +649 -0
  67. package/types/factories/ChainlinkPriceFeed__factory.js +378 -0
  68. package/types/factories/ChainlinkPriceFeed__factory.ts +398 -0
  69. package/types/factories/Console__factory.js +76 -0
  70. package/types/factories/Console__factory.ts +66 -0
  71. package/types/factories/CustomPriceFeed__factory.js +207 -0
  72. package/types/factories/CustomPriceFeed__factory.ts +211 -0
  73. package/types/factories/ERC1967Proxy__factory.js +132 -0
  74. package/types/factories/ERC1967Proxy__factory.ts +137 -0
  75. package/types/factories/ERC1967Upgrade__factory.js +66 -0
  76. package/types/factories/ERC1967Upgrade__factory.ts +71 -0
  77. package/types/factories/ERC20Basic__factory.js +108 -0
  78. package/types/factories/ERC20Basic__factory.ts +110 -0
  79. package/types/factories/ERC20__factory.js +193 -0
  80. package/types/factories/ERC20__factory.ts +192 -0
  81. package/types/factories/ETHOracleLand__factory.js +625 -0
  82. package/types/factories/ETHOracleLand__factory.ts +615 -0
  83. package/types/factories/FixedPriceFeed__factory.js +192 -0
  84. package/types/factories/FixedPriceFeed__factory.ts +203 -0
  85. package/types/factories/IAggregatorV3Interface__factory.js +132 -0
  86. package/types/factories/IAggregatorV3Interface__factory.ts +141 -0
  87. package/types/factories/IBeacon__factory.js +34 -0
  88. package/types/factories/IBeacon__factory.ts +36 -0
  89. package/types/factories/IBlast__factory.js +439 -0
  90. package/types/factories/IBlast__factory.ts +438 -0
  91. package/types/factories/ICoin__factory.js +34 -0
  92. package/types/factories/ICoin__factory.ts +33 -0
  93. package/types/factories/IERC1822Proxiable__factory.js +34 -0
  94. package/types/factories/IERC1822Proxiable__factory.ts +39 -0
  95. package/types/factories/IERC1967__factory.js +66 -0
  96. package/types/factories/IERC1967__factory.ts +68 -0
  97. package/types/factories/IERC20Metadata__factory.js +243 -0
  98. package/types/factories/IERC20Metadata__factory.ts +248 -0
  99. package/types/factories/IERC20Rebasing__factory.js +83 -0
  100. package/types/factories/IERC20Rebasing__factory.ts +88 -0
  101. package/types/factories/IERC20__factory.js +204 -0
  102. package/types/factories/IERC20__factory.ts +203 -0
  103. package/types/factories/ILandCore__factory.js +143 -0
  104. package/types/factories/ILandCore__factory.ts +145 -0
  105. package/types/factories/ILand__factory.js +255 -0
  106. package/types/factories/ILand__factory.ts +254 -0
  107. package/types/factories/IPriceFeed__factory.js +40 -0
  108. package/types/factories/IPriceFeed__factory.ts +42 -0
  109. package/types/factories/IPyth__factory.js +103 -0
  110. package/types/factories/IPyth__factory.ts +102 -0
  111. package/types/factories/IQuoter__factory.js +147 -0
  112. package/types/factories/IQuoter__factory.ts +149 -0
  113. package/types/factories/ITransparentUpgradeableProxy__factory.js +136 -0
  114. package/types/factories/ITransparentUpgradeableProxy__factory.ts +145 -0
  115. package/types/factories/IUniswapV3PoolActions__factory.js +241 -0
  116. package/types/factories/IUniswapV3PoolActions__factory.ts +250 -0
  117. package/types/factories/IUniswapV3PoolDerivedState__factory.js +79 -0
  118. package/types/factories/IUniswapV3PoolDerivedState__factory.ts +88 -0
  119. package/types/factories/IUniswapV3PoolEvents__factory.js +348 -0
  120. package/types/factories/IUniswapV3PoolEvents__factory.ts +357 -0
  121. package/types/factories/IUniswapV3PoolImmutables__factory.js +99 -0
  122. package/types/factories/IUniswapV3PoolImmutables__factory.ts +108 -0
  123. package/types/factories/IUniswapV3PoolOwnerActions__factory.js +73 -0
  124. package/types/factories/IUniswapV3PoolOwnerActions__factory.ts +82 -0
  125. package/types/factories/IUniswapV3PoolState__factory.js +267 -0
  126. package/types/factories/IUniswapV3PoolState__factory.ts +272 -0
  127. package/types/factories/IUniswapV3Pool__factory.js +114 -0
  128. package/types/factories/IUniswapV3Pool__factory.ts +119 -0
  129. package/types/factories/IWETH__factory.js +224 -0
  130. package/types/factories/IWETH__factory.ts +223 -0
  131. package/types/factories/Initializable__factory.js +34 -0
  132. package/types/factories/Initializable__factory.ts +36 -0
  133. package/types/factories/LandCore__factory.js +201 -0
  134. package/types/factories/LandCore__factory.ts +199 -0
  135. package/types/factories/LandMath__factory.js +76 -0
  136. package/types/factories/LandMath__factory.ts +66 -0
  137. package/types/factories/LandOwnableUpgradeable__factory.js +128 -0
  138. package/types/factories/LandOwnableUpgradeable__factory.ts +125 -0
  139. package/types/factories/LandOwnable__factory.js +126 -0
  140. package/types/factories/LandOwnable__factory.ts +118 -0
  141. package/types/factories/Land__factory.js +462 -0
  142. package/types/factories/Land__factory.ts +449 -0
  143. package/types/factories/MockDAI__factory.js +338 -0
  144. package/types/factories/MockDAI__factory.ts +328 -0
  145. package/types/factories/MockUSDC__factory.js +338 -0
  146. package/types/factories/MockUSDC__factory.ts +328 -0
  147. package/types/factories/MockUSDT__factory.js +338 -0
  148. package/types/factories/MockUSDT__factory.ts +328 -0
  149. package/types/factories/OracleLand__factory.js +537 -0
  150. package/types/factories/OracleLand__factory.ts +527 -0
  151. package/types/factories/Ownable__factory.js +73 -0
  152. package/types/factories/Ownable__factory.ts +75 -0
  153. package/types/factories/Pausable__factory.js +135 -0
  154. package/types/factories/Pausable__factory.ts +125 -0
  155. package/types/factories/ProxyAdmin__factory.js +212 -0
  156. package/types/factories/ProxyAdmin__factory.ts +202 -0
  157. package/types/factories/Proxy__factory.js +29 -0
  158. package/types/factories/Proxy__factory.ts +28 -0
  159. package/types/factories/PythPriceFeed__factory.js +378 -0
  160. package/types/factories/PythPriceFeed__factory.ts +400 -0
  161. package/types/factories/StandardToken__factory.js +305 -0
  162. package/types/factories/StandardToken__factory.ts +307 -0
  163. package/types/factories/TetherToken__factory.js +732 -0
  164. package/types/factories/TetherToken__factory.ts +749 -0
  165. package/types/factories/TransparentUpgradeableProxy__factory.js +137 -0
  166. package/types/factories/TransparentUpgradeableProxy__factory.ts +152 -0
  167. package/types/factories/UpgradedStandardToken__factory.js +375 -0
  168. package/types/factories/UpgradedStandardToken__factory.ts +384 -0
  169. package/types/hardhat.d.ts +573 -0
  170. package/types/index.js +112 -0
  171. package/types/index.ts +112 -0
@@ -0,0 +1,527 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
6
+ import { Provider, TransactionRequest } from "@ethersproject/providers";
7
+ import type { OracleLand, OracleLandInterface } from "../OracleLand";
8
+
9
+ const _abi = [
10
+ {
11
+ anonymous: false,
12
+ inputs: [
13
+ {
14
+ indexed: false,
15
+ internalType: "contract ICoin",
16
+ name: "coin",
17
+ type: "address",
18
+ },
19
+ ],
20
+ name: "AddCoin",
21
+ type: "event",
22
+ },
23
+ {
24
+ anonymous: false,
25
+ inputs: [
26
+ {
27
+ indexed: false,
28
+ internalType: "uint8",
29
+ name: "version",
30
+ type: "uint8",
31
+ },
32
+ ],
33
+ name: "Initialized",
34
+ type: "event",
35
+ },
36
+ {
37
+ anonymous: false,
38
+ inputs: [
39
+ {
40
+ indexed: false,
41
+ internalType: "bytes32",
42
+ name: "account",
43
+ type: "bytes32",
44
+ },
45
+ {
46
+ indexed: false,
47
+ internalType: "contract ICoin",
48
+ name: "coin",
49
+ type: "address",
50
+ },
51
+ {
52
+ indexed: false,
53
+ internalType: "uint256",
54
+ name: "value",
55
+ type: "uint256",
56
+ },
57
+ {
58
+ indexed: false,
59
+ internalType: "uint256",
60
+ name: "coinAmount",
61
+ type: "uint256",
62
+ },
63
+ {
64
+ indexed: false,
65
+ internalType: "uint256",
66
+ name: "landAmount",
67
+ type: "uint256",
68
+ },
69
+ {
70
+ indexed: false,
71
+ internalType: "uint256",
72
+ name: "totalLandAmount",
73
+ type: "uint256",
74
+ },
75
+ ],
76
+ name: "Mint",
77
+ type: "event",
78
+ },
79
+ {
80
+ anonymous: false,
81
+ inputs: [
82
+ {
83
+ indexed: false,
84
+ internalType: "contract ICoin",
85
+ name: "coin",
86
+ type: "address",
87
+ },
88
+ ],
89
+ name: "RemoveCoin",
90
+ type: "event",
91
+ },
92
+ {
93
+ anonymous: false,
94
+ inputs: [
95
+ {
96
+ indexed: false,
97
+ internalType: "contract ICoin",
98
+ name: "coin",
99
+ type: "address",
100
+ },
101
+ {
102
+ indexed: false,
103
+ internalType: "address",
104
+ name: "to",
105
+ type: "address",
106
+ },
107
+ {
108
+ indexed: false,
109
+ internalType: "uint256",
110
+ name: "amount",
111
+ type: "uint256",
112
+ },
113
+ ],
114
+ name: "WithdrawnCoin",
115
+ type: "event",
116
+ },
117
+ {
118
+ inputs: [],
119
+ name: "LandCore",
120
+ outputs: [
121
+ {
122
+ internalType: "contract ILandCore",
123
+ name: "",
124
+ type: "address",
125
+ },
126
+ ],
127
+ stateMutability: "view",
128
+ type: "function",
129
+ },
130
+ {
131
+ inputs: [
132
+ {
133
+ internalType: "contract ICoin",
134
+ name: "coin",
135
+ type: "address",
136
+ },
137
+ ],
138
+ name: "addCoin",
139
+ outputs: [],
140
+ stateMutability: "nonpayable",
141
+ type: "function",
142
+ },
143
+ {
144
+ inputs: [
145
+ {
146
+ internalType: "bytes32",
147
+ name: "to",
148
+ type: "bytes32",
149
+ },
150
+ ],
151
+ name: "balanceOf",
152
+ outputs: [
153
+ {
154
+ internalType: "uint256",
155
+ name: "",
156
+ type: "uint256",
157
+ },
158
+ ],
159
+ stateMutability: "view",
160
+ type: "function",
161
+ },
162
+ {
163
+ inputs: [
164
+ {
165
+ internalType: "uint256",
166
+ name: "i",
167
+ type: "uint256",
168
+ },
169
+ ],
170
+ name: "coinAt",
171
+ outputs: [
172
+ {
173
+ internalType: "address",
174
+ name: "",
175
+ type: "address",
176
+ },
177
+ {
178
+ internalType: "uint256",
179
+ name: "",
180
+ type: "uint256",
181
+ },
182
+ ],
183
+ stateMutability: "view",
184
+ type: "function",
185
+ },
186
+ {
187
+ inputs: [
188
+ {
189
+ internalType: "contract ICoin",
190
+ name: "coin",
191
+ type: "address",
192
+ },
193
+ ],
194
+ name: "coinExists",
195
+ outputs: [
196
+ {
197
+ internalType: "bool",
198
+ name: "",
199
+ type: "bool",
200
+ },
201
+ ],
202
+ stateMutability: "view",
203
+ type: "function",
204
+ },
205
+ {
206
+ inputs: [],
207
+ name: "coinLength",
208
+ outputs: [
209
+ {
210
+ internalType: "uint256",
211
+ name: "",
212
+ type: "uint256",
213
+ },
214
+ ],
215
+ stateMutability: "view",
216
+ type: "function",
217
+ },
218
+ {
219
+ inputs: [
220
+ {
221
+ internalType: "contract ICoin",
222
+ name: "coin",
223
+ type: "address",
224
+ },
225
+ ],
226
+ name: "decimalsOf",
227
+ outputs: [
228
+ {
229
+ internalType: "uint8",
230
+ name: "",
231
+ type: "uint8",
232
+ },
233
+ ],
234
+ stateMutability: "view",
235
+ type: "function",
236
+ },
237
+ {
238
+ inputs: [
239
+ {
240
+ internalType: "bytes32",
241
+ name: "",
242
+ type: "bytes32",
243
+ },
244
+ {
245
+ internalType: "contract ICoin",
246
+ name: "",
247
+ type: "address",
248
+ },
249
+ ],
250
+ name: "deposits",
251
+ outputs: [
252
+ {
253
+ internalType: "uint256",
254
+ name: "",
255
+ type: "uint256",
256
+ },
257
+ ],
258
+ stateMutability: "view",
259
+ type: "function",
260
+ },
261
+ {
262
+ inputs: [],
263
+ name: "fetchPrice",
264
+ outputs: [
265
+ {
266
+ internalType: "uint256",
267
+ name: "",
268
+ type: "uint256",
269
+ },
270
+ ],
271
+ stateMutability: "nonpayable",
272
+ type: "function",
273
+ },
274
+ {
275
+ inputs: [
276
+ {
277
+ internalType: "contract ICoin",
278
+ name: "coin",
279
+ type: "address",
280
+ },
281
+ {
282
+ internalType: "uint256",
283
+ name: "amount",
284
+ type: "uint256",
285
+ },
286
+ ],
287
+ name: "formatValue",
288
+ outputs: [
289
+ {
290
+ internalType: "uint256",
291
+ name: "",
292
+ type: "uint256",
293
+ },
294
+ ],
295
+ stateMutability: "view",
296
+ type: "function",
297
+ },
298
+ {
299
+ inputs: [],
300
+ name: "guardian",
301
+ outputs: [
302
+ {
303
+ internalType: "address",
304
+ name: "",
305
+ type: "address",
306
+ },
307
+ ],
308
+ stateMutability: "view",
309
+ type: "function",
310
+ },
311
+ {
312
+ inputs: [
313
+ {
314
+ internalType: "contract ILandCore",
315
+ name: "_core",
316
+ type: "address",
317
+ },
318
+ {
319
+ internalType: "contract IPriceFeed",
320
+ name: "_priceFeed",
321
+ type: "address",
322
+ },
323
+ {
324
+ internalType: "contract ICoin[]",
325
+ name: "_coins",
326
+ type: "address[]",
327
+ },
328
+ ],
329
+ name: "initialize",
330
+ outputs: [],
331
+ stateMutability: "nonpayable",
332
+ type: "function",
333
+ },
334
+ {
335
+ inputs: [],
336
+ name: "landPerCoin",
337
+ outputs: [
338
+ {
339
+ internalType: "uint64",
340
+ name: "",
341
+ type: "uint64",
342
+ },
343
+ ],
344
+ stateMutability: "view",
345
+ type: "function",
346
+ },
347
+ {
348
+ inputs: [
349
+ {
350
+ internalType: "contract ICoin",
351
+ name: "coin",
352
+ type: "address",
353
+ },
354
+ {
355
+ internalType: "bytes32",
356
+ name: "account",
357
+ type: "bytes32",
358
+ },
359
+ {
360
+ internalType: "uint256",
361
+ name: "amount",
362
+ type: "uint256",
363
+ },
364
+ ],
365
+ name: "mint",
366
+ outputs: [],
367
+ stateMutability: "nonpayable",
368
+ type: "function",
369
+ },
370
+ {
371
+ inputs: [
372
+ {
373
+ internalType: "bytes32",
374
+ name: "account",
375
+ type: "bytes32",
376
+ },
377
+ ],
378
+ name: "mintByETH",
379
+ outputs: [],
380
+ stateMutability: "payable",
381
+ type: "function",
382
+ },
383
+ {
384
+ inputs: [],
385
+ name: "owner",
386
+ outputs: [
387
+ {
388
+ internalType: "address",
389
+ name: "",
390
+ type: "address",
391
+ },
392
+ ],
393
+ stateMutability: "view",
394
+ type: "function",
395
+ },
396
+ {
397
+ inputs: [],
398
+ name: "paused",
399
+ outputs: [
400
+ {
401
+ internalType: "bool",
402
+ name: "",
403
+ type: "bool",
404
+ },
405
+ ],
406
+ stateMutability: "view",
407
+ type: "function",
408
+ },
409
+ {
410
+ inputs: [],
411
+ name: "priceFeed",
412
+ outputs: [
413
+ {
414
+ internalType: "contract IPriceFeed",
415
+ name: "",
416
+ type: "address",
417
+ },
418
+ ],
419
+ stateMutability: "view",
420
+ type: "function",
421
+ },
422
+ {
423
+ inputs: [
424
+ {
425
+ internalType: "contract ICoin",
426
+ name: "coin",
427
+ type: "address",
428
+ },
429
+ ],
430
+ name: "removeCoin",
431
+ outputs: [],
432
+ stateMutability: "nonpayable",
433
+ type: "function",
434
+ },
435
+ {
436
+ inputs: [
437
+ {
438
+ internalType: "contract IPriceFeed",
439
+ name: "_priceFeed",
440
+ type: "address",
441
+ },
442
+ ],
443
+ name: "setPriceFeed",
444
+ outputs: [],
445
+ stateMutability: "nonpayable",
446
+ type: "function",
447
+ },
448
+ {
449
+ inputs: [],
450
+ name: "targetPriceDecimals",
451
+ outputs: [
452
+ {
453
+ internalType: "uint8",
454
+ name: "",
455
+ type: "uint8",
456
+ },
457
+ ],
458
+ stateMutability: "view",
459
+ type: "function",
460
+ },
461
+ {
462
+ inputs: [
463
+ {
464
+ internalType: "contract ICoin",
465
+ name: "coin",
466
+ type: "address",
467
+ },
468
+ {
469
+ internalType: "address",
470
+ name: "to",
471
+ type: "address",
472
+ },
473
+ {
474
+ internalType: "uint256",
475
+ name: "amount",
476
+ type: "uint256",
477
+ },
478
+ ],
479
+ name: "withdraw",
480
+ outputs: [],
481
+ stateMutability: "nonpayable",
482
+ type: "function",
483
+ },
484
+ ];
485
+
486
+ const _bytecode =
487
+ "0x608060405234801561001057600080fd5b50611d09806100206000396000f3fe6080604052600436106101355760003560e01c8063741bef1a116100ab5780638da5cb5b1161006f5780638da5cb5b14610384578063908d51f514610399578063c89dcfce146103ae578063cbbcb647146103ce578063ce6d603f146103ee578063d9caed121461041457600080fd5b8063741bef1a146102c557806377a24f36146102f25780637f64cc251461031257806382f3ff821461034057806388363bf61461036457600080fd5b80634df9ca16116100fd5780634df9ca16146101de5780634f1c2c311461020b5780635c975abb146102435780635e2d7433146102585780636c7f154214610278578063724e78da146102a557600080fd5b80630fdb11cf1461013a57806316da863214610165578063250576da1461018757806332bc30f61461019a578063452a9320146101bc575b600080fd5b34801561014657600080fd5b5061014f610434565b60405161015c91906112ea565b60405180910390f35b34801561017157600080fd5b50610185610180366004611333565b6104ad565b005b610185610195366004611365565b6104fa565b3480156101a657600080fd5b506101af601281565b60405161015c919061138f565b3480156101c857600080fd5b506101d1610679565b60405161015c91906113a6565b3480156101ea57600080fd5b506101fe6101f9366004611333565b6106f1565b60405161015c91906113bc565b34801561021757600080fd5b5061014f6102263660046113ca565b600560209081526000928352604080842090915290825290205481565b34801561024f57600080fd5b506101fe610704565b34801561026457600080fd5b506101af610273366004611333565b61077c565b34801561028457600080fd5b5061014f610293366004611365565b60009081526004602052604090205490565b3480156102b157600080fd5b506101856102c0366004611333565b610789565b3480156102d157600080fd5b506006546102e5906001600160a01b031681565b60405161015c919061141b565b3480156102fe57600080fd5b5061018561030d366004611530565b6107e3565b34801561031e57600080fd5b5061033261032d366004611365565b6108e1565b60405161015c92919061159b565b34801561034c57600080fd5b50610357620f424081565b60405161015c91906115c6565b34801561037057600080fd5b5061018561037f366004611333565b6108f8565b34801561039057600080fd5b506101d1610939565b3480156103a557600080fd5b5061014f61098d565b3480156103ba57600080fd5b506101856103c93660046115d4565b610999565b3480156103da57600080fd5b5061014f6103e936600461161a565b610c33565b3480156103fa57600080fd5b506000546102e5906201000090046001600160a01b031681565b34801561042057600080fd5b5061018561042f366004611661565b610ca9565b600654604051635670bcc760e11b81526000916001600160a01b03169063ace1798e906104659084906004016113a6565b6020604051808303816000875af1158015610484573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104a891906116a1565b905090565b6104b5610679565b6001600160a01b0316336001600160a01b0316146104ee5760405162461bcd60e51b81526004016104e5906116e9565b60405180910390fd5b6104f781610e25565b50565b610502610704565b1561051f5760405162461bcd60e51b81526004016104e590611716565b60008061052a610434565b90506000670de0b6b3a7640000610541833461173c565b61054b919061176a565b9050600061055c620f42408361173c565b905080600460008781526020019081526020016000206000828254610581919061177e565b9091555061058f9050610939565b6001600160a01b0316346040516105a590611791565b60006040518083038185875af1925050503d80600081146105e2576040519150601f19603f3d011682016040523d82523d6000602084013e6105e7565b606091505b50505060008581526005602090815260408083206001600160a01b03881684529091528120805434929061061c90849061177e565b9091555050600085815260046020526040908190205490517f6c25b193a57bcfde4968cefddf7b4de59a5058812b4da55cb997fafd9e93fdc29161066a918891889134918891889190611799565b60405180910390a15050505050565b60008060029054906101000a90046001600160a01b03166001600160a01b031663452a93206040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104a891906117fe565b60006106fe600183610efc565b92915050565b60008060029054906101000a90046001600160a01b03166001600160a01b0316635c975abb6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610758573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104a89190611832565b60006106fe600183610f18565b610791610939565b6001600160a01b0316336001600160a01b0316146107c15760405162461bcd60e51b81526004016104e590611874565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b600054610100900460ff16158080156108035750600054600160ff909116105b8061081d5750303b15801561081d575060005460ff166001145b6108395760405162461bcd60e51b81526004016104e590611884565b6000805460ff19166001179055801561085c576000805461ff0019166101001790555b6000805462010000600160b01b031916620100006001600160a01b0387160217905561088783610f2d565b61089082610f54565b80156108db576000805461ff00191690556040517f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498906108d2906001906118ea565b60405180910390a15b50505050565b6000806108ef600184610fa8565b91509150915091565b610900610679565b6001600160a01b0316336001600160a01b0316146109305760405162461bcd60e51b81526004016104e5906116e9565b6104f781610fc4565b60008060029054906101000a90046001600160a01b03166001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106cd573d6000803e3d6000fd5b60006104a8600161102f565b6109a1610704565b156109be5760405162461bcd60e51b81526004016104e590611716565b6109c7836106f1565b6109e35760405162461bcd60e51b81526004016104e590611925565b6000836001600160a01b0316333084604051602401610a0493929190611935565b60408051601f198184030181529181526020820180516001600160e01b03166323b872dd60e01b17905251610a3991906119a3565b6000604051808303816000865af19150503d8060008114610a76576040519150601f19603f3d011682016040523d82523d6000602084013e610a7b565b606091505b5050905080610a9c5760405162461bcd60e51b81526004016104e5906119e3565b6000610aa88584610c33565b90506000610ab9620f42408361173c565b905080600460008781526020019081526020016000206000828254610ade919061177e565b909155505060008581526005602090815260408083206001600160a01b038a16845290915281208054869290610b1590849061177e565b90915550600090506001600160a01b038716610b2f610939565b86604051602401610b4192919061159b565b60408051601f198184030181529181526020820180516001600160e01b031663a9059cbb60e01b17905251610b7691906119a3565b6000604051808303816000865af19150503d8060008114610bb3576040519150601f19603f3d011682016040523d82523d6000602084013e610bb8565b606091505b5050905080610bd95760405162461bcd60e51b81526004016104e590611a1f565b600086815260046020526040908190205490517f6c25b193a57bcfde4968cefddf7b4de59a5058812b4da55cb997fafd9e93fdc291610c229189918b918a918991899190611799565b60405180910390a150505050505050565b600080610c3f8461077c565b9050601260ff82161015610c7557610c58816012611a2f565b610c6390600a611b5a565b610c6d908461173c565b9150506106fe565b601260ff82161115610ca157610c8c816012611a2f565b610c9790600a611b5a565b610c6d908461176a565b509092915050565b610cb1610939565b6001600160a01b0316336001600160a01b031614610ce15760405162461bcd60e51b81526004016104e590611874565b6001600160a01b03831615610d675760405163a9059cbb60e01b81526001600160a01b0384169063a9059cbb90610d1e908590859060040161159b565b6020604051808303816000875af1158015610d3d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d619190611832565b50610de5565b6000826001600160a01b031682604051610d8090611791565b60006040518083038185875af1925050503d8060008114610dbd576040519150601f19603f3d011682016040523d82523d6000602084013e610dc2565b606091505b5050905080610de35760405162461bcd60e51b81526004016104e590611b9a565b505b7f0ab59fee85bfb311ebc31e0ec8447cb4be3efc3381ec18bfdbea0fda61f90581838383604051610e1893929190611baa565b60405180910390a1505050565b610e2e816106f1565b15610e4b5760405162461bcd60e51b81526004016104e590611be0565b6000816001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eaf9190611c04565b9050610ec060018360ff841661103a565b507f2ab2c06fd2d8302b1e22cbd5f1e649cac91185838abf693cce465aa2c7ac48c182604051610ef0919061141b565b60405180910390a15050565b6000610f11836001600160a01b038416611058565b9392505050565b6000610f11836001600160a01b038416611064565b600680546001600160a01b0319166001600160a01b038316179055610f50610434565b5050565b60005b81518167ffffffffffffffff161015610f5057610f96828267ffffffffffffffff1681518110610f8957610f89611c25565b6020026020010151610e25565b80610fa081611c3b565b915050610f57565b6000808080610fb786866110a4565b9097909650945050505050565b610fcd816106f1565b610fe95760405162461bcd60e51b81526004016104e590611925565b610ff46001826110cf565b507facfb0f9f01902d0db1b0291da3b60229e2f15b74d078f3fcc726331181c5a77781604051611024919061141b565b60405180910390a150565b60006106fe826110e4565b6000611050846001600160a01b038516846110ef565b949350505050565b6000610f11838361110c565b60008181526002830160205260408120548015158061108857506110888484611058565b610f115760405162461bcd60e51b81526004016104e590611c9a565b600080806110b28585611124565b600081815260029690960160205260409095205494959350505050565b6000610f11836001600160a01b038416611130565b60006106fe8261114d565b600082815260028401602052604081208290556110508484611157565b60008181526001830160205260408120541515610f11565b6000610f118383611163565b60008181526002830160205260408120819055610f11838361118d565b60006106fe825490565b6000610f118383611199565b600082600001828154811061117a5761117a611c25565b9060005260206000200154905092915050565b6000610f1183836111e8565b60008181526001830160205260408120546111e0575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556106fe565b5060006106fe565b600081815260018301602052604081205480156112d157600061120c600183611caa565b855490915060009061122090600190611caa565b905081811461128557600086600001828154811061124057611240611c25565b906000526020600020015490508087600001848154811061126357611263611c25565b6000918252602080832090910192909255918252600188019052604090208390555b855486908061129657611296611cbd565b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506106fe565b60009150506106fe565b5092915050565b805b82525050565b602081016106fe82846112e2565b60006001600160a01b0382166106fe565b60006106fe826112f8565b61131d81611309565b81146104f757600080fd5b80356106fe81611314565b60006020828403121561134857611348600080fd5b60006110508484611328565b8061131d565b80356106fe81611354565b60006020828403121561137a5761137a600080fd5b6000611050848461135a565b60ff81166112e4565b602081016106fe8284611386565b6112e4816112f8565b602081016106fe828461139d565b8015156112e4565b602081016106fe82846113b4565b600080604083850312156113e0576113e0600080fd5b60006113ec858561135a565b92505060206113fd85828601611328565b9150509250929050565b60006106fe82611309565b6112e481611407565b602081016106fe8284611412565b634e487b7160e01b600052604160045260246000fd5b601f19601f830116810181811067ffffffffffffffff8211171561146557611465611429565b6040525050565b600061147760405190565b9050611483828261143f565b919050565b600067ffffffffffffffff8211156114a2576114a2611429565b5060209081020190565b60006114bf6114ba84611488565b61146c565b838152905060208082019084028301858111156114de576114de600080fd5b835b8181101561150257806114f38882611328565b845250602092830192016114e0565b5050509392505050565b600082601f83011261152057611520600080fd5b81356110508482602086016114ac565b60008060006060848603121561154857611548600080fd5b60006115548686611328565b935050602061156586828701611328565b925050604084013567ffffffffffffffff81111561158557611585600080fd5b6115918682870161150c565b9150509250925092565b604081016115a9828561139d565b610f1160208301846112e2565b67ffffffffffffffff81166112e4565b602081016106fe82846115b6565b6000806000606084860312156115ec576115ec600080fd5b60006115f88686611328565b93505060206116098682870161135a565b92505060406115918682870161135a565b6000806040838503121561163057611630600080fd5b600061163c8585611328565b92505060206113fd8582860161135a565b61131d816112f8565b80356106fe8161164d565b60008060006060848603121561167957611679600080fd5b60006116858686611328565b935050602061160986828701611656565b80516106fe81611354565b6000602082840312156116b6576116b6600080fd5b60006110508484611696565b600d81526000602082016c27b7363c9033bab0b93234b0b760991b815291505b5060200190565b602080825281016106fe816116c2565b60068152600060208201651c185d5cd95960d21b815291506116e2565b602080825281016106fe816116f9565b634e487b7160e01b600052601160045260246000fd5b8181028082158382048514176112db576112db611726565b634e487b7160e01b600052601260045260246000fd5b60008261177957611779611754565b500490565b808201808211156106fe576106fe611726565b6000816106fe565b60c081016117a782896112e2565b6117b46020830188611412565b6117c160408301876112e2565b6117ce60608301866112e2565b6117db60808301856112e2565b6117e860a08301846112e2565b979650505050505050565b80516106fe8161164d565b60006020828403121561181357611813600080fd5b600061105084846117f3565b80151561131d565b80516106fe8161181f565b60006020828403121561184757611847600080fd5b60006110508484611827565b600a81526000602082016927b7363c9037bbb732b960b11b815291506116e2565b602080825281016106fe81611853565b602080825281016106fe81602e81527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160208201526d191e481a5b9a5d1a585b1a5e995960921b604082015260600190565b600060ff82166106fe565b6112e4816118d6565b602081016106fe82846118e1565b60168152600060208201752630b7321d103737b732bc34b9ba32b73a1031b7b4b760511b815291506116e2565b602080825281016106fe816118f8565b60608101611943828661139d565b611950602083018561139d565b61105060408301846112e2565b60005b83811015611978578181015183820152602001611960565b50506000910152565b600061198b825190565b61199981856020860161195d565b9290920192915050565b6000610f118284611981565b601a81526000602082017f4c616e643a207472616e736665722066726f6d206661696c6564000000000000815291506116e2565b602080825281016106fe816119af565b601581526000602082017413185b990e881d1c985b9cd9995c8819985a5b1959605a1b815291506116e2565b602080825281016106fe816119f3565b60ff9182169190811690828203908111156106fe576106fe611726565b80825b6001851115611a8b57808604811115611a6a57611a6a611726565b6001851615611a7857908102905b8002611a848560011c90565b9450611a4f565b94509492505050565b600082611aa357506001610f11565b81611ab057506000610f11565b8160018114611ac65760028114611ad057611afd565b6001915050610f11565b60ff841115611ae157611ae1611726565b8360020a915084821115611af757611af7611726565b50610f11565b5060208310610133831016604e8410600b8410161715611b30575081810a83811115611b2b57611b2b611726565b610f11565b611b3d8484846001611a4c565b92509050818404811115611b5357611b53611726565b0292915050565b600060ff83169250610f116000198484611a94565b601481526000602082017313185b990e881d1c985b99995c8819985a5b195960621b815291506116e2565b602080825281016106fe81611b6f565b606081016119438286611412565b60118152600060208201704c616e643a20636f696e2065786973747360781b815291506116e2565b602080825281016106fe81611bb8565b60ff811661131d565b80516106fe81611bf0565b600060208284031215611c1957611c19600080fd5b60006110508484611bf9565b634e487b7160e01b600052603260045260246000fd5b67ffffffffffffffff16600067fffffffffffffffe198201611c5f57611c5f611726565b5060010190565b601e81526000602082017f456e756d657261626c654d61703a206e6f6e6578697374656e74206b65790000815291506116e2565b602080825281016106fe81611c66565b818103818111156106fe576106fe611726565b634e487b7160e01b600052603160045260246000fdfea264697066735822122016b9f143d8ff9a94d584a74083f26022ebe08a97b0a51bf07082f5b81756eb6064736f6c63430008130033";
488
+
489
+ export class OracleLand__factory extends ContractFactory {
490
+ constructor(
491
+ ...args: [signer: Signer] | ConstructorParameters<typeof ContractFactory>
492
+ ) {
493
+ if (args.length === 1) {
494
+ super(_abi, _bytecode, args[0]);
495
+ } else {
496
+ super(...args);
497
+ }
498
+ }
499
+
500
+ deploy(
501
+ overrides?: Overrides & { from?: string | Promise<string> }
502
+ ): Promise<OracleLand> {
503
+ return super.deploy(overrides || {}) as Promise<OracleLand>;
504
+ }
505
+ getDeployTransaction(
506
+ overrides?: Overrides & { from?: string | Promise<string> }
507
+ ): TransactionRequest {
508
+ return super.getDeployTransaction(overrides || {});
509
+ }
510
+ attach(address: string): OracleLand {
511
+ return super.attach(address) as OracleLand;
512
+ }
513
+ connect(signer: Signer): OracleLand__factory {
514
+ return super.connect(signer) as OracleLand__factory;
515
+ }
516
+ static readonly bytecode = _bytecode;
517
+ static readonly abi = _abi;
518
+ static createInterface(): OracleLandInterface {
519
+ return new utils.Interface(_abi) as OracleLandInterface;
520
+ }
521
+ static connect(
522
+ address: string,
523
+ signerOrProvider: Signer | Provider
524
+ ): OracleLand {
525
+ return new Contract(address, _abi, signerOrProvider) as OracleLand;
526
+ }
527
+ }
@@ -0,0 +1,73 @@
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.Ownable__factory = void 0;
7
+ var ethers_1 = require("ethers");
8
+ var _abi = [
9
+ {
10
+ anonymous: false,
11
+ inputs: [
12
+ {
13
+ indexed: true,
14
+ internalType: "address",
15
+ name: "previousOwner",
16
+ type: "address",
17
+ },
18
+ {
19
+ indexed: true,
20
+ internalType: "address",
21
+ name: "newOwner",
22
+ type: "address",
23
+ },
24
+ ],
25
+ name: "OwnershipTransferred",
26
+ type: "event",
27
+ },
28
+ {
29
+ inputs: [],
30
+ name: "owner",
31
+ outputs: [
32
+ {
33
+ internalType: "address",
34
+ name: "",
35
+ type: "address",
36
+ },
37
+ ],
38
+ stateMutability: "view",
39
+ type: "function",
40
+ },
41
+ {
42
+ inputs: [],
43
+ name: "renounceOwnership",
44
+ outputs: [],
45
+ stateMutability: "nonpayable",
46
+ type: "function",
47
+ },
48
+ {
49
+ inputs: [
50
+ {
51
+ internalType: "address",
52
+ name: "newOwner",
53
+ type: "address",
54
+ },
55
+ ],
56
+ name: "transferOwnership",
57
+ outputs: [],
58
+ stateMutability: "nonpayable",
59
+ type: "function",
60
+ },
61
+ ];
62
+ var Ownable__factory = exports.Ownable__factory = /** @class */ (function () {
63
+ function Ownable__factory() {
64
+ }
65
+ Ownable__factory.createInterface = function () {
66
+ return new ethers_1.utils.Interface(_abi);
67
+ };
68
+ Ownable__factory.connect = function (address, signerOrProvider) {
69
+ return new ethers_1.Contract(address, _abi, signerOrProvider);
70
+ };
71
+ Ownable__factory.abi = _abi;
72
+ return Ownable__factory;
73
+ }());
@@ -0,0 +1,75 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import { Contract, Signer, utils } from "ethers";
6
+ import { Provider } from "@ethersproject/providers";
7
+ import type { Ownable, OwnableInterface } from "../Ownable";
8
+
9
+ const _abi = [
10
+ {
11
+ anonymous: false,
12
+ inputs: [
13
+ {
14
+ indexed: true,
15
+ internalType: "address",
16
+ name: "previousOwner",
17
+ type: "address",
18
+ },
19
+ {
20
+ indexed: true,
21
+ internalType: "address",
22
+ name: "newOwner",
23
+ type: "address",
24
+ },
25
+ ],
26
+ name: "OwnershipTransferred",
27
+ type: "event",
28
+ },
29
+ {
30
+ inputs: [],
31
+ name: "owner",
32
+ outputs: [
33
+ {
34
+ internalType: "address",
35
+ name: "",
36
+ type: "address",
37
+ },
38
+ ],
39
+ stateMutability: "view",
40
+ type: "function",
41
+ },
42
+ {
43
+ inputs: [],
44
+ name: "renounceOwnership",
45
+ outputs: [],
46
+ stateMutability: "nonpayable",
47
+ type: "function",
48
+ },
49
+ {
50
+ inputs: [
51
+ {
52
+ internalType: "address",
53
+ name: "newOwner",
54
+ type: "address",
55
+ },
56
+ ],
57
+ name: "transferOwnership",
58
+ outputs: [],
59
+ stateMutability: "nonpayable",
60
+ type: "function",
61
+ },
62
+ ];
63
+
64
+ export class Ownable__factory {
65
+ static readonly abi = _abi;
66
+ static createInterface(): OwnableInterface {
67
+ return new utils.Interface(_abi) as OwnableInterface;
68
+ }
69
+ static connect(
70
+ address: string,
71
+ signerOrProvider: Signer | Provider
72
+ ): Ownable {
73
+ return new Contract(address, _abi, signerOrProvider) as Ownable;
74
+ }
75
+ }