@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.
- package/.gitattributes +1 -0
- package/.gitmodules +3 -0
- package/README.md +9 -0
- package/package.json +96 -0
- package/tsconfig.json +11 -0
- package/types/BasicToken.d.ts +300 -0
- package/types/BlackList.d.ts +512 -0
- package/types/BlastOracleLand.d.ts +933 -0
- package/types/ChainlinkPriceFeed.d.ts +427 -0
- package/types/Console.d.ts +101 -0
- package/types/CustomPriceFeed.d.ts +214 -0
- package/types/ERC1967Proxy.d.ts +126 -0
- package/types/ERC1967Upgrade.d.ts +126 -0
- package/types/ERC20.d.ts +343 -0
- package/types/ERC20Basic.d.ts +199 -0
- package/types/ETHOracleLand.d.ts +901 -0
- package/types/FixedPriceFeed.d.ts +212 -0
- package/types/IAggregatorV3Interface.d.ts +234 -0
- package/types/IBeacon.d.ts +101 -0
- package/types/IBlast.d.ts +919 -0
- package/types/ICoin.d.ts +95 -0
- package/types/IERC1822Proxiable.d.ts +101 -0
- package/types/IERC1967.d.ts +126 -0
- package/types/IERC20.d.ts +324 -0
- package/types/IERC20Metadata.d.ts +363 -0
- package/types/IERC20Rebasing.d.ts +184 -0
- package/types/ILand.d.ts +386 -0
- package/types/ILandCore.d.ts +255 -0
- package/types/IPriceFeed.d.ts +108 -0
- package/types/IPyth.d.ts +194 -0
- package/types/IQuoter.d.ts +269 -0
- package/types/ITransparentUpgradeableProxy.d.ts +256 -0
- package/types/IUniswapV3Pool.d.ts +203 -0
- package/types/IUniswapV3PoolActions.d.ts +396 -0
- package/types/IUniswapV3PoolDerivedState.d.ts +185 -0
- package/types/IUniswapV3PoolEvents.d.ts +482 -0
- package/types/IUniswapV3PoolImmutables.d.ts +174 -0
- package/types/IUniswapV3PoolOwnerActions.d.ts +168 -0
- package/types/IUniswapV3PoolState.d.ts +438 -0
- package/types/IWETH.d.ts +374 -0
- package/types/Initializable.d.ts +92 -0
- package/types/Land.d.ts +586 -0
- package/types/LandCore.d.ts +255 -0
- package/types/LandMath.d.ts +101 -0
- package/types/LandOwnable.d.ts +134 -0
- package/types/LandOwnableUpgradeable.d.ts +148 -0
- package/types/MockDAI.d.ts +441 -0
- package/types/MockUSDC.d.ts +441 -0
- package/types/MockUSDT.d.ts +441 -0
- package/types/OracleLand.d.ts +724 -0
- package/types/Ownable.d.ts +130 -0
- package/types/Pausable.d.ts +203 -0
- package/types/Proxy.d.ts +78 -0
- package/types/ProxyAdmin.d.ts +357 -0
- package/types/PythPriceFeed.d.ts +423 -0
- package/types/StandardToken.d.ts +493 -0
- package/types/TetherToken.d.ts +1018 -0
- package/types/TransparentUpgradeableProxy.d.ts +126 -0
- package/types/UpgradedStandardToken.d.ts +630 -0
- package/types/common.d.ts +35 -0
- package/types/factories/BasicToken__factory.js +183 -0
- package/types/factories/BasicToken__factory.ts +185 -0
- package/types/factories/BlackList__factory.js +318 -0
- package/types/factories/BlackList__factory.ts +320 -0
- package/types/factories/BlastOracleLand__factory.js +656 -0
- package/types/factories/BlastOracleLand__factory.ts +649 -0
- package/types/factories/ChainlinkPriceFeed__factory.js +378 -0
- package/types/factories/ChainlinkPriceFeed__factory.ts +398 -0
- package/types/factories/Console__factory.js +76 -0
- package/types/factories/Console__factory.ts +66 -0
- package/types/factories/CustomPriceFeed__factory.js +207 -0
- package/types/factories/CustomPriceFeed__factory.ts +211 -0
- package/types/factories/ERC1967Proxy__factory.js +132 -0
- package/types/factories/ERC1967Proxy__factory.ts +137 -0
- package/types/factories/ERC1967Upgrade__factory.js +66 -0
- package/types/factories/ERC1967Upgrade__factory.ts +71 -0
- package/types/factories/ERC20Basic__factory.js +108 -0
- package/types/factories/ERC20Basic__factory.ts +110 -0
- package/types/factories/ERC20__factory.js +193 -0
- package/types/factories/ERC20__factory.ts +192 -0
- package/types/factories/ETHOracleLand__factory.js +625 -0
- package/types/factories/ETHOracleLand__factory.ts +615 -0
- package/types/factories/FixedPriceFeed__factory.js +192 -0
- package/types/factories/FixedPriceFeed__factory.ts +203 -0
- package/types/factories/IAggregatorV3Interface__factory.js +132 -0
- package/types/factories/IAggregatorV3Interface__factory.ts +141 -0
- package/types/factories/IBeacon__factory.js +34 -0
- package/types/factories/IBeacon__factory.ts +36 -0
- package/types/factories/IBlast__factory.js +439 -0
- package/types/factories/IBlast__factory.ts +438 -0
- package/types/factories/ICoin__factory.js +34 -0
- package/types/factories/ICoin__factory.ts +33 -0
- package/types/factories/IERC1822Proxiable__factory.js +34 -0
- package/types/factories/IERC1822Proxiable__factory.ts +39 -0
- package/types/factories/IERC1967__factory.js +66 -0
- package/types/factories/IERC1967__factory.ts +68 -0
- package/types/factories/IERC20Metadata__factory.js +243 -0
- package/types/factories/IERC20Metadata__factory.ts +248 -0
- package/types/factories/IERC20Rebasing__factory.js +83 -0
- package/types/factories/IERC20Rebasing__factory.ts +88 -0
- package/types/factories/IERC20__factory.js +204 -0
- package/types/factories/IERC20__factory.ts +203 -0
- package/types/factories/ILandCore__factory.js +143 -0
- package/types/factories/ILandCore__factory.ts +145 -0
- package/types/factories/ILand__factory.js +255 -0
- package/types/factories/ILand__factory.ts +254 -0
- package/types/factories/IPriceFeed__factory.js +40 -0
- package/types/factories/IPriceFeed__factory.ts +42 -0
- package/types/factories/IPyth__factory.js +103 -0
- package/types/factories/IPyth__factory.ts +102 -0
- package/types/factories/IQuoter__factory.js +147 -0
- package/types/factories/IQuoter__factory.ts +149 -0
- package/types/factories/ITransparentUpgradeableProxy__factory.js +136 -0
- package/types/factories/ITransparentUpgradeableProxy__factory.ts +145 -0
- package/types/factories/IUniswapV3PoolActions__factory.js +241 -0
- package/types/factories/IUniswapV3PoolActions__factory.ts +250 -0
- package/types/factories/IUniswapV3PoolDerivedState__factory.js +79 -0
- package/types/factories/IUniswapV3PoolDerivedState__factory.ts +88 -0
- package/types/factories/IUniswapV3PoolEvents__factory.js +348 -0
- package/types/factories/IUniswapV3PoolEvents__factory.ts +357 -0
- package/types/factories/IUniswapV3PoolImmutables__factory.js +99 -0
- package/types/factories/IUniswapV3PoolImmutables__factory.ts +108 -0
- package/types/factories/IUniswapV3PoolOwnerActions__factory.js +73 -0
- package/types/factories/IUniswapV3PoolOwnerActions__factory.ts +82 -0
- package/types/factories/IUniswapV3PoolState__factory.js +267 -0
- package/types/factories/IUniswapV3PoolState__factory.ts +272 -0
- package/types/factories/IUniswapV3Pool__factory.js +114 -0
- package/types/factories/IUniswapV3Pool__factory.ts +119 -0
- package/types/factories/IWETH__factory.js +224 -0
- package/types/factories/IWETH__factory.ts +223 -0
- package/types/factories/Initializable__factory.js +34 -0
- package/types/factories/Initializable__factory.ts +36 -0
- package/types/factories/LandCore__factory.js +201 -0
- package/types/factories/LandCore__factory.ts +199 -0
- package/types/factories/LandMath__factory.js +76 -0
- package/types/factories/LandMath__factory.ts +66 -0
- package/types/factories/LandOwnableUpgradeable__factory.js +128 -0
- package/types/factories/LandOwnableUpgradeable__factory.ts +125 -0
- package/types/factories/LandOwnable__factory.js +126 -0
- package/types/factories/LandOwnable__factory.ts +118 -0
- package/types/factories/Land__factory.js +462 -0
- package/types/factories/Land__factory.ts +449 -0
- package/types/factories/MockDAI__factory.js +338 -0
- package/types/factories/MockDAI__factory.ts +328 -0
- package/types/factories/MockUSDC__factory.js +338 -0
- package/types/factories/MockUSDC__factory.ts +328 -0
- package/types/factories/MockUSDT__factory.js +338 -0
- package/types/factories/MockUSDT__factory.ts +328 -0
- package/types/factories/OracleLand__factory.js +537 -0
- package/types/factories/OracleLand__factory.ts +527 -0
- package/types/factories/Ownable__factory.js +73 -0
- package/types/factories/Ownable__factory.ts +75 -0
- package/types/factories/Pausable__factory.js +135 -0
- package/types/factories/Pausable__factory.ts +125 -0
- package/types/factories/ProxyAdmin__factory.js +212 -0
- package/types/factories/ProxyAdmin__factory.ts +202 -0
- package/types/factories/Proxy__factory.js +29 -0
- package/types/factories/Proxy__factory.ts +28 -0
- package/types/factories/PythPriceFeed__factory.js +378 -0
- package/types/factories/PythPriceFeed__factory.ts +400 -0
- package/types/factories/StandardToken__factory.js +305 -0
- package/types/factories/StandardToken__factory.ts +307 -0
- package/types/factories/TetherToken__factory.js +732 -0
- package/types/factories/TetherToken__factory.ts +749 -0
- package/types/factories/TransparentUpgradeableProxy__factory.js +137 -0
- package/types/factories/TransparentUpgradeableProxy__factory.ts +152 -0
- package/types/factories/UpgradedStandardToken__factory.js +375 -0
- package/types/factories/UpgradedStandardToken__factory.ts +384 -0
- package/types/hardhat.d.ts +573 -0
- package/types/index.js +112 -0
- package/types/index.ts +112 -0
@@ -0,0 +1,384 @@
|
|
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 {
|
8
|
+
UpgradedStandardToken,
|
9
|
+
UpgradedStandardTokenInterface,
|
10
|
+
} from "../UpgradedStandardToken";
|
11
|
+
|
12
|
+
const _abi = [
|
13
|
+
{
|
14
|
+
constant: false,
|
15
|
+
inputs: [
|
16
|
+
{
|
17
|
+
name: "_spender",
|
18
|
+
type: "address",
|
19
|
+
},
|
20
|
+
{
|
21
|
+
name: "_value",
|
22
|
+
type: "uint256",
|
23
|
+
},
|
24
|
+
],
|
25
|
+
name: "approve",
|
26
|
+
outputs: [],
|
27
|
+
payable: false,
|
28
|
+
stateMutability: "nonpayable",
|
29
|
+
type: "function",
|
30
|
+
},
|
31
|
+
{
|
32
|
+
constant: true,
|
33
|
+
inputs: [],
|
34
|
+
name: "totalSupply",
|
35
|
+
outputs: [
|
36
|
+
{
|
37
|
+
name: "",
|
38
|
+
type: "uint256",
|
39
|
+
},
|
40
|
+
],
|
41
|
+
payable: false,
|
42
|
+
stateMutability: "view",
|
43
|
+
type: "function",
|
44
|
+
},
|
45
|
+
{
|
46
|
+
constant: false,
|
47
|
+
inputs: [
|
48
|
+
{
|
49
|
+
name: "_from",
|
50
|
+
type: "address",
|
51
|
+
},
|
52
|
+
{
|
53
|
+
name: "_to",
|
54
|
+
type: "address",
|
55
|
+
},
|
56
|
+
{
|
57
|
+
name: "_value",
|
58
|
+
type: "uint256",
|
59
|
+
},
|
60
|
+
],
|
61
|
+
name: "transferFrom",
|
62
|
+
outputs: [],
|
63
|
+
payable: false,
|
64
|
+
stateMutability: "nonpayable",
|
65
|
+
type: "function",
|
66
|
+
},
|
67
|
+
{
|
68
|
+
constant: true,
|
69
|
+
inputs: [
|
70
|
+
{
|
71
|
+
name: "",
|
72
|
+
type: "address",
|
73
|
+
},
|
74
|
+
],
|
75
|
+
name: "balances",
|
76
|
+
outputs: [
|
77
|
+
{
|
78
|
+
name: "",
|
79
|
+
type: "uint256",
|
80
|
+
},
|
81
|
+
],
|
82
|
+
payable: false,
|
83
|
+
stateMutability: "view",
|
84
|
+
type: "function",
|
85
|
+
},
|
86
|
+
{
|
87
|
+
constant: true,
|
88
|
+
inputs: [],
|
89
|
+
name: "maximumFee",
|
90
|
+
outputs: [
|
91
|
+
{
|
92
|
+
name: "",
|
93
|
+
type: "uint256",
|
94
|
+
},
|
95
|
+
],
|
96
|
+
payable: false,
|
97
|
+
stateMutability: "view",
|
98
|
+
type: "function",
|
99
|
+
},
|
100
|
+
{
|
101
|
+
constant: true,
|
102
|
+
inputs: [],
|
103
|
+
name: "_totalSupply",
|
104
|
+
outputs: [
|
105
|
+
{
|
106
|
+
name: "",
|
107
|
+
type: "uint256",
|
108
|
+
},
|
109
|
+
],
|
110
|
+
payable: false,
|
111
|
+
stateMutability: "view",
|
112
|
+
type: "function",
|
113
|
+
},
|
114
|
+
{
|
115
|
+
constant: true,
|
116
|
+
inputs: [
|
117
|
+
{
|
118
|
+
name: "",
|
119
|
+
type: "address",
|
120
|
+
},
|
121
|
+
{
|
122
|
+
name: "",
|
123
|
+
type: "address",
|
124
|
+
},
|
125
|
+
],
|
126
|
+
name: "allowed",
|
127
|
+
outputs: [
|
128
|
+
{
|
129
|
+
name: "",
|
130
|
+
type: "uint256",
|
131
|
+
},
|
132
|
+
],
|
133
|
+
payable: false,
|
134
|
+
stateMutability: "view",
|
135
|
+
type: "function",
|
136
|
+
},
|
137
|
+
{
|
138
|
+
constant: false,
|
139
|
+
inputs: [
|
140
|
+
{
|
141
|
+
name: "from",
|
142
|
+
type: "address",
|
143
|
+
},
|
144
|
+
{
|
145
|
+
name: "to",
|
146
|
+
type: "address",
|
147
|
+
},
|
148
|
+
{
|
149
|
+
name: "value",
|
150
|
+
type: "uint256",
|
151
|
+
},
|
152
|
+
],
|
153
|
+
name: "transferByLegacy",
|
154
|
+
outputs: [],
|
155
|
+
payable: false,
|
156
|
+
stateMutability: "nonpayable",
|
157
|
+
type: "function",
|
158
|
+
},
|
159
|
+
{
|
160
|
+
constant: true,
|
161
|
+
inputs: [
|
162
|
+
{
|
163
|
+
name: "_owner",
|
164
|
+
type: "address",
|
165
|
+
},
|
166
|
+
],
|
167
|
+
name: "balanceOf",
|
168
|
+
outputs: [
|
169
|
+
{
|
170
|
+
name: "balance",
|
171
|
+
type: "uint256",
|
172
|
+
},
|
173
|
+
],
|
174
|
+
payable: false,
|
175
|
+
stateMutability: "view",
|
176
|
+
type: "function",
|
177
|
+
},
|
178
|
+
{
|
179
|
+
constant: false,
|
180
|
+
inputs: [
|
181
|
+
{
|
182
|
+
name: "sender",
|
183
|
+
type: "address",
|
184
|
+
},
|
185
|
+
{
|
186
|
+
name: "from",
|
187
|
+
type: "address",
|
188
|
+
},
|
189
|
+
{
|
190
|
+
name: "spender",
|
191
|
+
type: "address",
|
192
|
+
},
|
193
|
+
{
|
194
|
+
name: "value",
|
195
|
+
type: "uint256",
|
196
|
+
},
|
197
|
+
],
|
198
|
+
name: "transferFromByLegacy",
|
199
|
+
outputs: [],
|
200
|
+
payable: false,
|
201
|
+
stateMutability: "nonpayable",
|
202
|
+
type: "function",
|
203
|
+
},
|
204
|
+
{
|
205
|
+
constant: true,
|
206
|
+
inputs: [],
|
207
|
+
name: "owner",
|
208
|
+
outputs: [
|
209
|
+
{
|
210
|
+
name: "",
|
211
|
+
type: "address",
|
212
|
+
},
|
213
|
+
],
|
214
|
+
payable: false,
|
215
|
+
stateMutability: "view",
|
216
|
+
type: "function",
|
217
|
+
},
|
218
|
+
{
|
219
|
+
constant: false,
|
220
|
+
inputs: [
|
221
|
+
{
|
222
|
+
name: "_to",
|
223
|
+
type: "address",
|
224
|
+
},
|
225
|
+
{
|
226
|
+
name: "_value",
|
227
|
+
type: "uint256",
|
228
|
+
},
|
229
|
+
],
|
230
|
+
name: "transfer",
|
231
|
+
outputs: [],
|
232
|
+
payable: false,
|
233
|
+
stateMutability: "nonpayable",
|
234
|
+
type: "function",
|
235
|
+
},
|
236
|
+
{
|
237
|
+
constant: false,
|
238
|
+
inputs: [
|
239
|
+
{
|
240
|
+
name: "from",
|
241
|
+
type: "address",
|
242
|
+
},
|
243
|
+
{
|
244
|
+
name: "spender",
|
245
|
+
type: "address",
|
246
|
+
},
|
247
|
+
{
|
248
|
+
name: "value",
|
249
|
+
type: "uint256",
|
250
|
+
},
|
251
|
+
],
|
252
|
+
name: "approveByLegacy",
|
253
|
+
outputs: [],
|
254
|
+
payable: false,
|
255
|
+
stateMutability: "nonpayable",
|
256
|
+
type: "function",
|
257
|
+
},
|
258
|
+
{
|
259
|
+
constant: true,
|
260
|
+
inputs: [
|
261
|
+
{
|
262
|
+
name: "_owner",
|
263
|
+
type: "address",
|
264
|
+
},
|
265
|
+
{
|
266
|
+
name: "_spender",
|
267
|
+
type: "address",
|
268
|
+
},
|
269
|
+
],
|
270
|
+
name: "allowance",
|
271
|
+
outputs: [
|
272
|
+
{
|
273
|
+
name: "remaining",
|
274
|
+
type: "uint256",
|
275
|
+
},
|
276
|
+
],
|
277
|
+
payable: false,
|
278
|
+
stateMutability: "view",
|
279
|
+
type: "function",
|
280
|
+
},
|
281
|
+
{
|
282
|
+
constant: true,
|
283
|
+
inputs: [],
|
284
|
+
name: "basisPointsRate",
|
285
|
+
outputs: [
|
286
|
+
{
|
287
|
+
name: "",
|
288
|
+
type: "uint256",
|
289
|
+
},
|
290
|
+
],
|
291
|
+
payable: false,
|
292
|
+
stateMutability: "view",
|
293
|
+
type: "function",
|
294
|
+
},
|
295
|
+
{
|
296
|
+
constant: true,
|
297
|
+
inputs: [],
|
298
|
+
name: "MAX_UINT",
|
299
|
+
outputs: [
|
300
|
+
{
|
301
|
+
name: "",
|
302
|
+
type: "uint256",
|
303
|
+
},
|
304
|
+
],
|
305
|
+
payable: false,
|
306
|
+
stateMutability: "view",
|
307
|
+
type: "function",
|
308
|
+
},
|
309
|
+
{
|
310
|
+
constant: false,
|
311
|
+
inputs: [
|
312
|
+
{
|
313
|
+
name: "newOwner",
|
314
|
+
type: "address",
|
315
|
+
},
|
316
|
+
],
|
317
|
+
name: "transferOwnership",
|
318
|
+
outputs: [],
|
319
|
+
payable: false,
|
320
|
+
stateMutability: "nonpayable",
|
321
|
+
type: "function",
|
322
|
+
},
|
323
|
+
{
|
324
|
+
anonymous: false,
|
325
|
+
inputs: [
|
326
|
+
{
|
327
|
+
indexed: true,
|
328
|
+
name: "owner",
|
329
|
+
type: "address",
|
330
|
+
},
|
331
|
+
{
|
332
|
+
indexed: true,
|
333
|
+
name: "spender",
|
334
|
+
type: "address",
|
335
|
+
},
|
336
|
+
{
|
337
|
+
indexed: false,
|
338
|
+
name: "value",
|
339
|
+
type: "uint256",
|
340
|
+
},
|
341
|
+
],
|
342
|
+
name: "Approval",
|
343
|
+
type: "event",
|
344
|
+
},
|
345
|
+
{
|
346
|
+
anonymous: false,
|
347
|
+
inputs: [
|
348
|
+
{
|
349
|
+
indexed: true,
|
350
|
+
name: "from",
|
351
|
+
type: "address",
|
352
|
+
},
|
353
|
+
{
|
354
|
+
indexed: true,
|
355
|
+
name: "to",
|
356
|
+
type: "address",
|
357
|
+
},
|
358
|
+
{
|
359
|
+
indexed: false,
|
360
|
+
name: "value",
|
361
|
+
type: "uint256",
|
362
|
+
},
|
363
|
+
],
|
364
|
+
name: "Transfer",
|
365
|
+
type: "event",
|
366
|
+
},
|
367
|
+
];
|
368
|
+
|
369
|
+
export class UpgradedStandardToken__factory {
|
370
|
+
static readonly abi = _abi;
|
371
|
+
static createInterface(): UpgradedStandardTokenInterface {
|
372
|
+
return new utils.Interface(_abi) as UpgradedStandardTokenInterface;
|
373
|
+
}
|
374
|
+
static connect(
|
375
|
+
address: string,
|
376
|
+
signerOrProvider: Signer | Provider
|
377
|
+
): UpgradedStandardToken {
|
378
|
+
return new Contract(
|
379
|
+
address,
|
380
|
+
_abi,
|
381
|
+
signerOrProvider
|
382
|
+
) as UpgradedStandardToken;
|
383
|
+
}
|
384
|
+
}
|