@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,102 @@
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 { IPyth, IPythInterface } from "../IPyth";
8
+
9
+ const _abi = [
10
+ {
11
+ inputs: [
12
+ {
13
+ internalType: "bytes32",
14
+ name: "id",
15
+ type: "bytes32",
16
+ },
17
+ ],
18
+ name: "getPrice",
19
+ outputs: [
20
+ {
21
+ components: [
22
+ {
23
+ internalType: "int64",
24
+ name: "price",
25
+ type: "int64",
26
+ },
27
+ {
28
+ internalType: "uint64",
29
+ name: "conf",
30
+ type: "uint64",
31
+ },
32
+ {
33
+ internalType: "int32",
34
+ name: "expo",
35
+ type: "int32",
36
+ },
37
+ {
38
+ internalType: "uint256",
39
+ name: "publishTime",
40
+ type: "uint256",
41
+ },
42
+ ],
43
+ internalType: "struct IPyth.Price",
44
+ name: "",
45
+ type: "tuple",
46
+ },
47
+ ],
48
+ stateMutability: "view",
49
+ type: "function",
50
+ },
51
+ {
52
+ inputs: [
53
+ {
54
+ internalType: "bytes32",
55
+ name: "id",
56
+ type: "bytes32",
57
+ },
58
+ ],
59
+ name: "getPriceUnsafe",
60
+ outputs: [
61
+ {
62
+ components: [
63
+ {
64
+ internalType: "int64",
65
+ name: "price",
66
+ type: "int64",
67
+ },
68
+ {
69
+ internalType: "uint64",
70
+ name: "conf",
71
+ type: "uint64",
72
+ },
73
+ {
74
+ internalType: "int32",
75
+ name: "expo",
76
+ type: "int32",
77
+ },
78
+ {
79
+ internalType: "uint256",
80
+ name: "publishTime",
81
+ type: "uint256",
82
+ },
83
+ ],
84
+ internalType: "struct IPyth.Price",
85
+ name: "price",
86
+ type: "tuple",
87
+ },
88
+ ],
89
+ stateMutability: "view",
90
+ type: "function",
91
+ },
92
+ ];
93
+
94
+ export class IPyth__factory {
95
+ static readonly abi = _abi;
96
+ static createInterface(): IPythInterface {
97
+ return new utils.Interface(_abi) as IPythInterface;
98
+ }
99
+ static connect(address: string, signerOrProvider: Signer | Provider): IPyth {
100
+ return new Contract(address, _abi, signerOrProvider) as IPyth;
101
+ }
102
+ }
@@ -0,0 +1,147 @@
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.IQuoter__factory = void 0;
7
+ var ethers_1 = require("ethers");
8
+ var _abi = [
9
+ {
10
+ inputs: [
11
+ {
12
+ internalType: "bytes",
13
+ name: "path",
14
+ type: "bytes",
15
+ },
16
+ {
17
+ internalType: "uint256",
18
+ name: "amountIn",
19
+ type: "uint256",
20
+ },
21
+ ],
22
+ name: "quoteExactInput",
23
+ outputs: [
24
+ {
25
+ internalType: "uint256",
26
+ name: "amountOut",
27
+ type: "uint256",
28
+ },
29
+ ],
30
+ stateMutability: "nonpayable",
31
+ type: "function",
32
+ },
33
+ {
34
+ inputs: [
35
+ {
36
+ internalType: "address",
37
+ name: "tokenIn",
38
+ type: "address",
39
+ },
40
+ {
41
+ internalType: "address",
42
+ name: "tokenOut",
43
+ type: "address",
44
+ },
45
+ {
46
+ internalType: "uint24",
47
+ name: "fee",
48
+ type: "uint24",
49
+ },
50
+ {
51
+ internalType: "uint256",
52
+ name: "amountIn",
53
+ type: "uint256",
54
+ },
55
+ {
56
+ internalType: "uint160",
57
+ name: "sqrtPriceLimitX96",
58
+ type: "uint160",
59
+ },
60
+ ],
61
+ name: "quoteExactInputSingle",
62
+ outputs: [
63
+ {
64
+ internalType: "uint256",
65
+ name: "amountOut",
66
+ type: "uint256",
67
+ },
68
+ ],
69
+ stateMutability: "nonpayable",
70
+ type: "function",
71
+ },
72
+ {
73
+ inputs: [
74
+ {
75
+ internalType: "bytes",
76
+ name: "path",
77
+ type: "bytes",
78
+ },
79
+ {
80
+ internalType: "uint256",
81
+ name: "amountOut",
82
+ type: "uint256",
83
+ },
84
+ ],
85
+ name: "quoteExactOutput",
86
+ outputs: [
87
+ {
88
+ internalType: "uint256",
89
+ name: "amountIn",
90
+ type: "uint256",
91
+ },
92
+ ],
93
+ stateMutability: "nonpayable",
94
+ type: "function",
95
+ },
96
+ {
97
+ inputs: [
98
+ {
99
+ internalType: "address",
100
+ name: "tokenIn",
101
+ type: "address",
102
+ },
103
+ {
104
+ internalType: "address",
105
+ name: "tokenOut",
106
+ type: "address",
107
+ },
108
+ {
109
+ internalType: "uint24",
110
+ name: "fee",
111
+ type: "uint24",
112
+ },
113
+ {
114
+ internalType: "uint256",
115
+ name: "amountOut",
116
+ type: "uint256",
117
+ },
118
+ {
119
+ internalType: "uint160",
120
+ name: "sqrtPriceLimitX96",
121
+ type: "uint160",
122
+ },
123
+ ],
124
+ name: "quoteExactOutputSingle",
125
+ outputs: [
126
+ {
127
+ internalType: "uint256",
128
+ name: "amountIn",
129
+ type: "uint256",
130
+ },
131
+ ],
132
+ stateMutability: "nonpayable",
133
+ type: "function",
134
+ },
135
+ ];
136
+ var IQuoter__factory = exports.IQuoter__factory = /** @class */ (function () {
137
+ function IQuoter__factory() {
138
+ }
139
+ IQuoter__factory.createInterface = function () {
140
+ return new ethers_1.utils.Interface(_abi);
141
+ };
142
+ IQuoter__factory.connect = function (address, signerOrProvider) {
143
+ return new ethers_1.Contract(address, _abi, signerOrProvider);
144
+ };
145
+ IQuoter__factory.abi = _abi;
146
+ return IQuoter__factory;
147
+ }());
@@ -0,0 +1,149 @@
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 { IQuoter, IQuoterInterface } from "../IQuoter";
8
+
9
+ const _abi = [
10
+ {
11
+ inputs: [
12
+ {
13
+ internalType: "bytes",
14
+ name: "path",
15
+ type: "bytes",
16
+ },
17
+ {
18
+ internalType: "uint256",
19
+ name: "amountIn",
20
+ type: "uint256",
21
+ },
22
+ ],
23
+ name: "quoteExactInput",
24
+ outputs: [
25
+ {
26
+ internalType: "uint256",
27
+ name: "amountOut",
28
+ type: "uint256",
29
+ },
30
+ ],
31
+ stateMutability: "nonpayable",
32
+ type: "function",
33
+ },
34
+ {
35
+ inputs: [
36
+ {
37
+ internalType: "address",
38
+ name: "tokenIn",
39
+ type: "address",
40
+ },
41
+ {
42
+ internalType: "address",
43
+ name: "tokenOut",
44
+ type: "address",
45
+ },
46
+ {
47
+ internalType: "uint24",
48
+ name: "fee",
49
+ type: "uint24",
50
+ },
51
+ {
52
+ internalType: "uint256",
53
+ name: "amountIn",
54
+ type: "uint256",
55
+ },
56
+ {
57
+ internalType: "uint160",
58
+ name: "sqrtPriceLimitX96",
59
+ type: "uint160",
60
+ },
61
+ ],
62
+ name: "quoteExactInputSingle",
63
+ outputs: [
64
+ {
65
+ internalType: "uint256",
66
+ name: "amountOut",
67
+ type: "uint256",
68
+ },
69
+ ],
70
+ stateMutability: "nonpayable",
71
+ type: "function",
72
+ },
73
+ {
74
+ inputs: [
75
+ {
76
+ internalType: "bytes",
77
+ name: "path",
78
+ type: "bytes",
79
+ },
80
+ {
81
+ internalType: "uint256",
82
+ name: "amountOut",
83
+ type: "uint256",
84
+ },
85
+ ],
86
+ name: "quoteExactOutput",
87
+ outputs: [
88
+ {
89
+ internalType: "uint256",
90
+ name: "amountIn",
91
+ type: "uint256",
92
+ },
93
+ ],
94
+ stateMutability: "nonpayable",
95
+ type: "function",
96
+ },
97
+ {
98
+ inputs: [
99
+ {
100
+ internalType: "address",
101
+ name: "tokenIn",
102
+ type: "address",
103
+ },
104
+ {
105
+ internalType: "address",
106
+ name: "tokenOut",
107
+ type: "address",
108
+ },
109
+ {
110
+ internalType: "uint24",
111
+ name: "fee",
112
+ type: "uint24",
113
+ },
114
+ {
115
+ internalType: "uint256",
116
+ name: "amountOut",
117
+ type: "uint256",
118
+ },
119
+ {
120
+ internalType: "uint160",
121
+ name: "sqrtPriceLimitX96",
122
+ type: "uint160",
123
+ },
124
+ ],
125
+ name: "quoteExactOutputSingle",
126
+ outputs: [
127
+ {
128
+ internalType: "uint256",
129
+ name: "amountIn",
130
+ type: "uint256",
131
+ },
132
+ ],
133
+ stateMutability: "nonpayable",
134
+ type: "function",
135
+ },
136
+ ];
137
+
138
+ export class IQuoter__factory {
139
+ static readonly abi = _abi;
140
+ static createInterface(): IQuoterInterface {
141
+ return new utils.Interface(_abi) as IQuoterInterface;
142
+ }
143
+ static connect(
144
+ address: string,
145
+ signerOrProvider: Signer | Provider
146
+ ): IQuoter {
147
+ return new Contract(address, _abi, signerOrProvider) as IQuoter;
148
+ }
149
+ }
@@ -0,0 +1,136 @@
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.ITransparentUpgradeableProxy__factory = void 0;
7
+ var ethers_1 = require("ethers");
8
+ var _abi = [
9
+ {
10
+ anonymous: false,
11
+ inputs: [
12
+ {
13
+ indexed: false,
14
+ internalType: "address",
15
+ name: "previousAdmin",
16
+ type: "address",
17
+ },
18
+ {
19
+ indexed: false,
20
+ internalType: "address",
21
+ name: "newAdmin",
22
+ type: "address",
23
+ },
24
+ ],
25
+ name: "AdminChanged",
26
+ type: "event",
27
+ },
28
+ {
29
+ anonymous: false,
30
+ inputs: [
31
+ {
32
+ indexed: true,
33
+ internalType: "address",
34
+ name: "beacon",
35
+ type: "address",
36
+ },
37
+ ],
38
+ name: "BeaconUpgraded",
39
+ type: "event",
40
+ },
41
+ {
42
+ anonymous: false,
43
+ inputs: [
44
+ {
45
+ indexed: true,
46
+ internalType: "address",
47
+ name: "implementation",
48
+ type: "address",
49
+ },
50
+ ],
51
+ name: "Upgraded",
52
+ type: "event",
53
+ },
54
+ {
55
+ inputs: [],
56
+ name: "admin",
57
+ outputs: [
58
+ {
59
+ internalType: "address",
60
+ name: "",
61
+ type: "address",
62
+ },
63
+ ],
64
+ stateMutability: "view",
65
+ type: "function",
66
+ },
67
+ {
68
+ inputs: [
69
+ {
70
+ internalType: "address",
71
+ name: "",
72
+ type: "address",
73
+ },
74
+ ],
75
+ name: "changeAdmin",
76
+ outputs: [],
77
+ stateMutability: "nonpayable",
78
+ type: "function",
79
+ },
80
+ {
81
+ inputs: [],
82
+ name: "implementation",
83
+ outputs: [
84
+ {
85
+ internalType: "address",
86
+ name: "",
87
+ type: "address",
88
+ },
89
+ ],
90
+ stateMutability: "view",
91
+ type: "function",
92
+ },
93
+ {
94
+ inputs: [
95
+ {
96
+ internalType: "address",
97
+ name: "",
98
+ type: "address",
99
+ },
100
+ ],
101
+ name: "upgradeTo",
102
+ outputs: [],
103
+ stateMutability: "nonpayable",
104
+ type: "function",
105
+ },
106
+ {
107
+ inputs: [
108
+ {
109
+ internalType: "address",
110
+ name: "",
111
+ type: "address",
112
+ },
113
+ {
114
+ internalType: "bytes",
115
+ name: "",
116
+ type: "bytes",
117
+ },
118
+ ],
119
+ name: "upgradeToAndCall",
120
+ outputs: [],
121
+ stateMutability: "payable",
122
+ type: "function",
123
+ },
124
+ ];
125
+ var ITransparentUpgradeableProxy__factory = exports.ITransparentUpgradeableProxy__factory = /** @class */ (function () {
126
+ function ITransparentUpgradeableProxy__factory() {
127
+ }
128
+ ITransparentUpgradeableProxy__factory.createInterface = function () {
129
+ return new ethers_1.utils.Interface(_abi);
130
+ };
131
+ ITransparentUpgradeableProxy__factory.connect = function (address, signerOrProvider) {
132
+ return new ethers_1.Contract(address, _abi, signerOrProvider);
133
+ };
134
+ ITransparentUpgradeableProxy__factory.abi = _abi;
135
+ return ITransparentUpgradeableProxy__factory;
136
+ }());
@@ -0,0 +1,145 @@
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
+ ITransparentUpgradeableProxy,
9
+ ITransparentUpgradeableProxyInterface,
10
+ } from "../ITransparentUpgradeableProxy";
11
+
12
+ const _abi = [
13
+ {
14
+ anonymous: false,
15
+ inputs: [
16
+ {
17
+ indexed: false,
18
+ internalType: "address",
19
+ name: "previousAdmin",
20
+ type: "address",
21
+ },
22
+ {
23
+ indexed: false,
24
+ internalType: "address",
25
+ name: "newAdmin",
26
+ type: "address",
27
+ },
28
+ ],
29
+ name: "AdminChanged",
30
+ type: "event",
31
+ },
32
+ {
33
+ anonymous: false,
34
+ inputs: [
35
+ {
36
+ indexed: true,
37
+ internalType: "address",
38
+ name: "beacon",
39
+ type: "address",
40
+ },
41
+ ],
42
+ name: "BeaconUpgraded",
43
+ type: "event",
44
+ },
45
+ {
46
+ anonymous: false,
47
+ inputs: [
48
+ {
49
+ indexed: true,
50
+ internalType: "address",
51
+ name: "implementation",
52
+ type: "address",
53
+ },
54
+ ],
55
+ name: "Upgraded",
56
+ type: "event",
57
+ },
58
+ {
59
+ inputs: [],
60
+ name: "admin",
61
+ outputs: [
62
+ {
63
+ internalType: "address",
64
+ name: "",
65
+ type: "address",
66
+ },
67
+ ],
68
+ stateMutability: "view",
69
+ type: "function",
70
+ },
71
+ {
72
+ inputs: [
73
+ {
74
+ internalType: "address",
75
+ name: "",
76
+ type: "address",
77
+ },
78
+ ],
79
+ name: "changeAdmin",
80
+ outputs: [],
81
+ stateMutability: "nonpayable",
82
+ type: "function",
83
+ },
84
+ {
85
+ inputs: [],
86
+ name: "implementation",
87
+ outputs: [
88
+ {
89
+ internalType: "address",
90
+ name: "",
91
+ type: "address",
92
+ },
93
+ ],
94
+ stateMutability: "view",
95
+ type: "function",
96
+ },
97
+ {
98
+ inputs: [
99
+ {
100
+ internalType: "address",
101
+ name: "",
102
+ type: "address",
103
+ },
104
+ ],
105
+ name: "upgradeTo",
106
+ outputs: [],
107
+ stateMutability: "nonpayable",
108
+ type: "function",
109
+ },
110
+ {
111
+ inputs: [
112
+ {
113
+ internalType: "address",
114
+ name: "",
115
+ type: "address",
116
+ },
117
+ {
118
+ internalType: "bytes",
119
+ name: "",
120
+ type: "bytes",
121
+ },
122
+ ],
123
+ name: "upgradeToAndCall",
124
+ outputs: [],
125
+ stateMutability: "payable",
126
+ type: "function",
127
+ },
128
+ ];
129
+
130
+ export class ITransparentUpgradeableProxy__factory {
131
+ static readonly abi = _abi;
132
+ static createInterface(): ITransparentUpgradeableProxyInterface {
133
+ return new utils.Interface(_abi) as ITransparentUpgradeableProxyInterface;
134
+ }
135
+ static connect(
136
+ address: string,
137
+ signerOrProvider: Signer | Provider
138
+ ): ITransparentUpgradeableProxy {
139
+ return new Contract(
140
+ address,
141
+ _abi,
142
+ signerOrProvider
143
+ ) as ITransparentUpgradeableProxy;
144
+ }
145
+ }