@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,241 @@
|
|
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.IUniswapV3PoolActions__factory = void 0;
|
7
|
+
var ethers_1 = require("ethers");
|
8
|
+
var _abi = [
|
9
|
+
{
|
10
|
+
inputs: [
|
11
|
+
{
|
12
|
+
internalType: "int24",
|
13
|
+
name: "tickLower",
|
14
|
+
type: "int24",
|
15
|
+
},
|
16
|
+
{
|
17
|
+
internalType: "int24",
|
18
|
+
name: "tickUpper",
|
19
|
+
type: "int24",
|
20
|
+
},
|
21
|
+
{
|
22
|
+
internalType: "uint128",
|
23
|
+
name: "amount",
|
24
|
+
type: "uint128",
|
25
|
+
},
|
26
|
+
],
|
27
|
+
name: "burn",
|
28
|
+
outputs: [
|
29
|
+
{
|
30
|
+
internalType: "uint256",
|
31
|
+
name: "amount0",
|
32
|
+
type: "uint256",
|
33
|
+
},
|
34
|
+
{
|
35
|
+
internalType: "uint256",
|
36
|
+
name: "amount1",
|
37
|
+
type: "uint256",
|
38
|
+
},
|
39
|
+
],
|
40
|
+
stateMutability: "nonpayable",
|
41
|
+
type: "function",
|
42
|
+
},
|
43
|
+
{
|
44
|
+
inputs: [
|
45
|
+
{
|
46
|
+
internalType: "address",
|
47
|
+
name: "recipient",
|
48
|
+
type: "address",
|
49
|
+
},
|
50
|
+
{
|
51
|
+
internalType: "int24",
|
52
|
+
name: "tickLower",
|
53
|
+
type: "int24",
|
54
|
+
},
|
55
|
+
{
|
56
|
+
internalType: "int24",
|
57
|
+
name: "tickUpper",
|
58
|
+
type: "int24",
|
59
|
+
},
|
60
|
+
{
|
61
|
+
internalType: "uint128",
|
62
|
+
name: "amount0Requested",
|
63
|
+
type: "uint128",
|
64
|
+
},
|
65
|
+
{
|
66
|
+
internalType: "uint128",
|
67
|
+
name: "amount1Requested",
|
68
|
+
type: "uint128",
|
69
|
+
},
|
70
|
+
],
|
71
|
+
name: "collect",
|
72
|
+
outputs: [
|
73
|
+
{
|
74
|
+
internalType: "uint128",
|
75
|
+
name: "amount0",
|
76
|
+
type: "uint128",
|
77
|
+
},
|
78
|
+
{
|
79
|
+
internalType: "uint128",
|
80
|
+
name: "amount1",
|
81
|
+
type: "uint128",
|
82
|
+
},
|
83
|
+
],
|
84
|
+
stateMutability: "nonpayable",
|
85
|
+
type: "function",
|
86
|
+
},
|
87
|
+
{
|
88
|
+
inputs: [
|
89
|
+
{
|
90
|
+
internalType: "address",
|
91
|
+
name: "recipient",
|
92
|
+
type: "address",
|
93
|
+
},
|
94
|
+
{
|
95
|
+
internalType: "uint256",
|
96
|
+
name: "amount0",
|
97
|
+
type: "uint256",
|
98
|
+
},
|
99
|
+
{
|
100
|
+
internalType: "uint256",
|
101
|
+
name: "amount1",
|
102
|
+
type: "uint256",
|
103
|
+
},
|
104
|
+
{
|
105
|
+
internalType: "bytes",
|
106
|
+
name: "data",
|
107
|
+
type: "bytes",
|
108
|
+
},
|
109
|
+
],
|
110
|
+
name: "flash",
|
111
|
+
outputs: [],
|
112
|
+
stateMutability: "nonpayable",
|
113
|
+
type: "function",
|
114
|
+
},
|
115
|
+
{
|
116
|
+
inputs: [
|
117
|
+
{
|
118
|
+
internalType: "uint16",
|
119
|
+
name: "observationCardinalityNext",
|
120
|
+
type: "uint16",
|
121
|
+
},
|
122
|
+
],
|
123
|
+
name: "increaseObservationCardinalityNext",
|
124
|
+
outputs: [],
|
125
|
+
stateMutability: "nonpayable",
|
126
|
+
type: "function",
|
127
|
+
},
|
128
|
+
{
|
129
|
+
inputs: [
|
130
|
+
{
|
131
|
+
internalType: "uint160",
|
132
|
+
name: "sqrtPriceX96",
|
133
|
+
type: "uint160",
|
134
|
+
},
|
135
|
+
],
|
136
|
+
name: "initialize",
|
137
|
+
outputs: [],
|
138
|
+
stateMutability: "nonpayable",
|
139
|
+
type: "function",
|
140
|
+
},
|
141
|
+
{
|
142
|
+
inputs: [
|
143
|
+
{
|
144
|
+
internalType: "address",
|
145
|
+
name: "recipient",
|
146
|
+
type: "address",
|
147
|
+
},
|
148
|
+
{
|
149
|
+
internalType: "int24",
|
150
|
+
name: "tickLower",
|
151
|
+
type: "int24",
|
152
|
+
},
|
153
|
+
{
|
154
|
+
internalType: "int24",
|
155
|
+
name: "tickUpper",
|
156
|
+
type: "int24",
|
157
|
+
},
|
158
|
+
{
|
159
|
+
internalType: "uint128",
|
160
|
+
name: "amount",
|
161
|
+
type: "uint128",
|
162
|
+
},
|
163
|
+
{
|
164
|
+
internalType: "bytes",
|
165
|
+
name: "data",
|
166
|
+
type: "bytes",
|
167
|
+
},
|
168
|
+
],
|
169
|
+
name: "mint",
|
170
|
+
outputs: [
|
171
|
+
{
|
172
|
+
internalType: "uint256",
|
173
|
+
name: "amount0",
|
174
|
+
type: "uint256",
|
175
|
+
},
|
176
|
+
{
|
177
|
+
internalType: "uint256",
|
178
|
+
name: "amount1",
|
179
|
+
type: "uint256",
|
180
|
+
},
|
181
|
+
],
|
182
|
+
stateMutability: "nonpayable",
|
183
|
+
type: "function",
|
184
|
+
},
|
185
|
+
{
|
186
|
+
inputs: [
|
187
|
+
{
|
188
|
+
internalType: "address",
|
189
|
+
name: "recipient",
|
190
|
+
type: "address",
|
191
|
+
},
|
192
|
+
{
|
193
|
+
internalType: "bool",
|
194
|
+
name: "zeroForOne",
|
195
|
+
type: "bool",
|
196
|
+
},
|
197
|
+
{
|
198
|
+
internalType: "int256",
|
199
|
+
name: "amountSpecified",
|
200
|
+
type: "int256",
|
201
|
+
},
|
202
|
+
{
|
203
|
+
internalType: "uint160",
|
204
|
+
name: "sqrtPriceLimitX96",
|
205
|
+
type: "uint160",
|
206
|
+
},
|
207
|
+
{
|
208
|
+
internalType: "bytes",
|
209
|
+
name: "data",
|
210
|
+
type: "bytes",
|
211
|
+
},
|
212
|
+
],
|
213
|
+
name: "swap",
|
214
|
+
outputs: [
|
215
|
+
{
|
216
|
+
internalType: "int256",
|
217
|
+
name: "amount0",
|
218
|
+
type: "int256",
|
219
|
+
},
|
220
|
+
{
|
221
|
+
internalType: "int256",
|
222
|
+
name: "amount1",
|
223
|
+
type: "int256",
|
224
|
+
},
|
225
|
+
],
|
226
|
+
stateMutability: "nonpayable",
|
227
|
+
type: "function",
|
228
|
+
},
|
229
|
+
];
|
230
|
+
var IUniswapV3PoolActions__factory = exports.IUniswapV3PoolActions__factory = /** @class */ (function () {
|
231
|
+
function IUniswapV3PoolActions__factory() {
|
232
|
+
}
|
233
|
+
IUniswapV3PoolActions__factory.createInterface = function () {
|
234
|
+
return new ethers_1.utils.Interface(_abi);
|
235
|
+
};
|
236
|
+
IUniswapV3PoolActions__factory.connect = function (address, signerOrProvider) {
|
237
|
+
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
238
|
+
};
|
239
|
+
IUniswapV3PoolActions__factory.abi = _abi;
|
240
|
+
return IUniswapV3PoolActions__factory;
|
241
|
+
}());
|
@@ -0,0 +1,250 @@
|
|
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
|
+
IUniswapV3PoolActions,
|
9
|
+
IUniswapV3PoolActionsInterface,
|
10
|
+
} from "../IUniswapV3PoolActions";
|
11
|
+
|
12
|
+
const _abi = [
|
13
|
+
{
|
14
|
+
inputs: [
|
15
|
+
{
|
16
|
+
internalType: "int24",
|
17
|
+
name: "tickLower",
|
18
|
+
type: "int24",
|
19
|
+
},
|
20
|
+
{
|
21
|
+
internalType: "int24",
|
22
|
+
name: "tickUpper",
|
23
|
+
type: "int24",
|
24
|
+
},
|
25
|
+
{
|
26
|
+
internalType: "uint128",
|
27
|
+
name: "amount",
|
28
|
+
type: "uint128",
|
29
|
+
},
|
30
|
+
],
|
31
|
+
name: "burn",
|
32
|
+
outputs: [
|
33
|
+
{
|
34
|
+
internalType: "uint256",
|
35
|
+
name: "amount0",
|
36
|
+
type: "uint256",
|
37
|
+
},
|
38
|
+
{
|
39
|
+
internalType: "uint256",
|
40
|
+
name: "amount1",
|
41
|
+
type: "uint256",
|
42
|
+
},
|
43
|
+
],
|
44
|
+
stateMutability: "nonpayable",
|
45
|
+
type: "function",
|
46
|
+
},
|
47
|
+
{
|
48
|
+
inputs: [
|
49
|
+
{
|
50
|
+
internalType: "address",
|
51
|
+
name: "recipient",
|
52
|
+
type: "address",
|
53
|
+
},
|
54
|
+
{
|
55
|
+
internalType: "int24",
|
56
|
+
name: "tickLower",
|
57
|
+
type: "int24",
|
58
|
+
},
|
59
|
+
{
|
60
|
+
internalType: "int24",
|
61
|
+
name: "tickUpper",
|
62
|
+
type: "int24",
|
63
|
+
},
|
64
|
+
{
|
65
|
+
internalType: "uint128",
|
66
|
+
name: "amount0Requested",
|
67
|
+
type: "uint128",
|
68
|
+
},
|
69
|
+
{
|
70
|
+
internalType: "uint128",
|
71
|
+
name: "amount1Requested",
|
72
|
+
type: "uint128",
|
73
|
+
},
|
74
|
+
],
|
75
|
+
name: "collect",
|
76
|
+
outputs: [
|
77
|
+
{
|
78
|
+
internalType: "uint128",
|
79
|
+
name: "amount0",
|
80
|
+
type: "uint128",
|
81
|
+
},
|
82
|
+
{
|
83
|
+
internalType: "uint128",
|
84
|
+
name: "amount1",
|
85
|
+
type: "uint128",
|
86
|
+
},
|
87
|
+
],
|
88
|
+
stateMutability: "nonpayable",
|
89
|
+
type: "function",
|
90
|
+
},
|
91
|
+
{
|
92
|
+
inputs: [
|
93
|
+
{
|
94
|
+
internalType: "address",
|
95
|
+
name: "recipient",
|
96
|
+
type: "address",
|
97
|
+
},
|
98
|
+
{
|
99
|
+
internalType: "uint256",
|
100
|
+
name: "amount0",
|
101
|
+
type: "uint256",
|
102
|
+
},
|
103
|
+
{
|
104
|
+
internalType: "uint256",
|
105
|
+
name: "amount1",
|
106
|
+
type: "uint256",
|
107
|
+
},
|
108
|
+
{
|
109
|
+
internalType: "bytes",
|
110
|
+
name: "data",
|
111
|
+
type: "bytes",
|
112
|
+
},
|
113
|
+
],
|
114
|
+
name: "flash",
|
115
|
+
outputs: [],
|
116
|
+
stateMutability: "nonpayable",
|
117
|
+
type: "function",
|
118
|
+
},
|
119
|
+
{
|
120
|
+
inputs: [
|
121
|
+
{
|
122
|
+
internalType: "uint16",
|
123
|
+
name: "observationCardinalityNext",
|
124
|
+
type: "uint16",
|
125
|
+
},
|
126
|
+
],
|
127
|
+
name: "increaseObservationCardinalityNext",
|
128
|
+
outputs: [],
|
129
|
+
stateMutability: "nonpayable",
|
130
|
+
type: "function",
|
131
|
+
},
|
132
|
+
{
|
133
|
+
inputs: [
|
134
|
+
{
|
135
|
+
internalType: "uint160",
|
136
|
+
name: "sqrtPriceX96",
|
137
|
+
type: "uint160",
|
138
|
+
},
|
139
|
+
],
|
140
|
+
name: "initialize",
|
141
|
+
outputs: [],
|
142
|
+
stateMutability: "nonpayable",
|
143
|
+
type: "function",
|
144
|
+
},
|
145
|
+
{
|
146
|
+
inputs: [
|
147
|
+
{
|
148
|
+
internalType: "address",
|
149
|
+
name: "recipient",
|
150
|
+
type: "address",
|
151
|
+
},
|
152
|
+
{
|
153
|
+
internalType: "int24",
|
154
|
+
name: "tickLower",
|
155
|
+
type: "int24",
|
156
|
+
},
|
157
|
+
{
|
158
|
+
internalType: "int24",
|
159
|
+
name: "tickUpper",
|
160
|
+
type: "int24",
|
161
|
+
},
|
162
|
+
{
|
163
|
+
internalType: "uint128",
|
164
|
+
name: "amount",
|
165
|
+
type: "uint128",
|
166
|
+
},
|
167
|
+
{
|
168
|
+
internalType: "bytes",
|
169
|
+
name: "data",
|
170
|
+
type: "bytes",
|
171
|
+
},
|
172
|
+
],
|
173
|
+
name: "mint",
|
174
|
+
outputs: [
|
175
|
+
{
|
176
|
+
internalType: "uint256",
|
177
|
+
name: "amount0",
|
178
|
+
type: "uint256",
|
179
|
+
},
|
180
|
+
{
|
181
|
+
internalType: "uint256",
|
182
|
+
name: "amount1",
|
183
|
+
type: "uint256",
|
184
|
+
},
|
185
|
+
],
|
186
|
+
stateMutability: "nonpayable",
|
187
|
+
type: "function",
|
188
|
+
},
|
189
|
+
{
|
190
|
+
inputs: [
|
191
|
+
{
|
192
|
+
internalType: "address",
|
193
|
+
name: "recipient",
|
194
|
+
type: "address",
|
195
|
+
},
|
196
|
+
{
|
197
|
+
internalType: "bool",
|
198
|
+
name: "zeroForOne",
|
199
|
+
type: "bool",
|
200
|
+
},
|
201
|
+
{
|
202
|
+
internalType: "int256",
|
203
|
+
name: "amountSpecified",
|
204
|
+
type: "int256",
|
205
|
+
},
|
206
|
+
{
|
207
|
+
internalType: "uint160",
|
208
|
+
name: "sqrtPriceLimitX96",
|
209
|
+
type: "uint160",
|
210
|
+
},
|
211
|
+
{
|
212
|
+
internalType: "bytes",
|
213
|
+
name: "data",
|
214
|
+
type: "bytes",
|
215
|
+
},
|
216
|
+
],
|
217
|
+
name: "swap",
|
218
|
+
outputs: [
|
219
|
+
{
|
220
|
+
internalType: "int256",
|
221
|
+
name: "amount0",
|
222
|
+
type: "int256",
|
223
|
+
},
|
224
|
+
{
|
225
|
+
internalType: "int256",
|
226
|
+
name: "amount1",
|
227
|
+
type: "int256",
|
228
|
+
},
|
229
|
+
],
|
230
|
+
stateMutability: "nonpayable",
|
231
|
+
type: "function",
|
232
|
+
},
|
233
|
+
];
|
234
|
+
|
235
|
+
export class IUniswapV3PoolActions__factory {
|
236
|
+
static readonly abi = _abi;
|
237
|
+
static createInterface(): IUniswapV3PoolActionsInterface {
|
238
|
+
return new utils.Interface(_abi) as IUniswapV3PoolActionsInterface;
|
239
|
+
}
|
240
|
+
static connect(
|
241
|
+
address: string,
|
242
|
+
signerOrProvider: Signer | Provider
|
243
|
+
): IUniswapV3PoolActions {
|
244
|
+
return new Contract(
|
245
|
+
address,
|
246
|
+
_abi,
|
247
|
+
signerOrProvider
|
248
|
+
) as IUniswapV3PoolActions;
|
249
|
+
}
|
250
|
+
}
|
@@ -0,0 +1,79 @@
|
|
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.IUniswapV3PoolDerivedState__factory = void 0;
|
7
|
+
var ethers_1 = require("ethers");
|
8
|
+
var _abi = [
|
9
|
+
{
|
10
|
+
inputs: [
|
11
|
+
{
|
12
|
+
internalType: "uint32[]",
|
13
|
+
name: "secondsAgos",
|
14
|
+
type: "uint32[]",
|
15
|
+
},
|
16
|
+
],
|
17
|
+
name: "observe",
|
18
|
+
outputs: [
|
19
|
+
{
|
20
|
+
internalType: "int56[]",
|
21
|
+
name: "tickCumulatives",
|
22
|
+
type: "int56[]",
|
23
|
+
},
|
24
|
+
{
|
25
|
+
internalType: "uint160[]",
|
26
|
+
name: "secondsPerLiquidityCumulativeX128s",
|
27
|
+
type: "uint160[]",
|
28
|
+
},
|
29
|
+
],
|
30
|
+
stateMutability: "view",
|
31
|
+
type: "function",
|
32
|
+
},
|
33
|
+
{
|
34
|
+
inputs: [
|
35
|
+
{
|
36
|
+
internalType: "int24",
|
37
|
+
name: "tickLower",
|
38
|
+
type: "int24",
|
39
|
+
},
|
40
|
+
{
|
41
|
+
internalType: "int24",
|
42
|
+
name: "tickUpper",
|
43
|
+
type: "int24",
|
44
|
+
},
|
45
|
+
],
|
46
|
+
name: "snapshotCumulativesInside",
|
47
|
+
outputs: [
|
48
|
+
{
|
49
|
+
internalType: "int56",
|
50
|
+
name: "tickCumulativeInside",
|
51
|
+
type: "int56",
|
52
|
+
},
|
53
|
+
{
|
54
|
+
internalType: "uint160",
|
55
|
+
name: "secondsPerLiquidityInsideX128",
|
56
|
+
type: "uint160",
|
57
|
+
},
|
58
|
+
{
|
59
|
+
internalType: "uint32",
|
60
|
+
name: "secondsInside",
|
61
|
+
type: "uint32",
|
62
|
+
},
|
63
|
+
],
|
64
|
+
stateMutability: "view",
|
65
|
+
type: "function",
|
66
|
+
},
|
67
|
+
];
|
68
|
+
var IUniswapV3PoolDerivedState__factory = exports.IUniswapV3PoolDerivedState__factory = /** @class */ (function () {
|
69
|
+
function IUniswapV3PoolDerivedState__factory() {
|
70
|
+
}
|
71
|
+
IUniswapV3PoolDerivedState__factory.createInterface = function () {
|
72
|
+
return new ethers_1.utils.Interface(_abi);
|
73
|
+
};
|
74
|
+
IUniswapV3PoolDerivedState__factory.connect = function (address, signerOrProvider) {
|
75
|
+
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
76
|
+
};
|
77
|
+
IUniswapV3PoolDerivedState__factory.abi = _abi;
|
78
|
+
return IUniswapV3PoolDerivedState__factory;
|
79
|
+
}());
|
@@ -0,0 +1,88 @@
|
|
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
|
+
IUniswapV3PoolDerivedState,
|
9
|
+
IUniswapV3PoolDerivedStateInterface,
|
10
|
+
} from "../IUniswapV3PoolDerivedState";
|
11
|
+
|
12
|
+
const _abi = [
|
13
|
+
{
|
14
|
+
inputs: [
|
15
|
+
{
|
16
|
+
internalType: "uint32[]",
|
17
|
+
name: "secondsAgos",
|
18
|
+
type: "uint32[]",
|
19
|
+
},
|
20
|
+
],
|
21
|
+
name: "observe",
|
22
|
+
outputs: [
|
23
|
+
{
|
24
|
+
internalType: "int56[]",
|
25
|
+
name: "tickCumulatives",
|
26
|
+
type: "int56[]",
|
27
|
+
},
|
28
|
+
{
|
29
|
+
internalType: "uint160[]",
|
30
|
+
name: "secondsPerLiquidityCumulativeX128s",
|
31
|
+
type: "uint160[]",
|
32
|
+
},
|
33
|
+
],
|
34
|
+
stateMutability: "view",
|
35
|
+
type: "function",
|
36
|
+
},
|
37
|
+
{
|
38
|
+
inputs: [
|
39
|
+
{
|
40
|
+
internalType: "int24",
|
41
|
+
name: "tickLower",
|
42
|
+
type: "int24",
|
43
|
+
},
|
44
|
+
{
|
45
|
+
internalType: "int24",
|
46
|
+
name: "tickUpper",
|
47
|
+
type: "int24",
|
48
|
+
},
|
49
|
+
],
|
50
|
+
name: "snapshotCumulativesInside",
|
51
|
+
outputs: [
|
52
|
+
{
|
53
|
+
internalType: "int56",
|
54
|
+
name: "tickCumulativeInside",
|
55
|
+
type: "int56",
|
56
|
+
},
|
57
|
+
{
|
58
|
+
internalType: "uint160",
|
59
|
+
name: "secondsPerLiquidityInsideX128",
|
60
|
+
type: "uint160",
|
61
|
+
},
|
62
|
+
{
|
63
|
+
internalType: "uint32",
|
64
|
+
name: "secondsInside",
|
65
|
+
type: "uint32",
|
66
|
+
},
|
67
|
+
],
|
68
|
+
stateMutability: "view",
|
69
|
+
type: "function",
|
70
|
+
},
|
71
|
+
];
|
72
|
+
|
73
|
+
export class IUniswapV3PoolDerivedState__factory {
|
74
|
+
static readonly abi = _abi;
|
75
|
+
static createInterface(): IUniswapV3PoolDerivedStateInterface {
|
76
|
+
return new utils.Interface(_abi) as IUniswapV3PoolDerivedStateInterface;
|
77
|
+
}
|
78
|
+
static connect(
|
79
|
+
address: string,
|
80
|
+
signerOrProvider: Signer | Provider
|
81
|
+
): IUniswapV3PoolDerivedState {
|
82
|
+
return new Contract(
|
83
|
+
address,
|
84
|
+
_abi,
|
85
|
+
signerOrProvider
|
86
|
+
) as IUniswapV3PoolDerivedState;
|
87
|
+
}
|
88
|
+
}
|