@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,135 @@
1
+ "use strict";
2
+ /* Autogenerated file. Do not edit manually. */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ var __extends = (this && this.__extends) || (function () {
6
+ var extendStatics = function (d, b) {
7
+ extendStatics = Object.setPrototypeOf ||
8
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
9
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
10
+ return extendStatics(d, b);
11
+ };
12
+ return function (d, b) {
13
+ if (typeof b !== "function" && b !== null)
14
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
15
+ extendStatics(d, b);
16
+ function __() { this.constructor = d; }
17
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
18
+ };
19
+ })();
20
+ Object.defineProperty(exports, "__esModule", { value: true });
21
+ exports.Pausable__factory = void 0;
22
+ var ethers_1 = require("ethers");
23
+ var _abi = [
24
+ {
25
+ constant: false,
26
+ inputs: [],
27
+ name: "unpause",
28
+ outputs: [],
29
+ payable: false,
30
+ stateMutability: "nonpayable",
31
+ type: "function",
32
+ },
33
+ {
34
+ constant: true,
35
+ inputs: [],
36
+ name: "paused",
37
+ outputs: [
38
+ {
39
+ name: "",
40
+ type: "bool",
41
+ },
42
+ ],
43
+ payable: false,
44
+ stateMutability: "view",
45
+ type: "function",
46
+ },
47
+ {
48
+ constant: false,
49
+ inputs: [],
50
+ name: "pause",
51
+ outputs: [],
52
+ payable: false,
53
+ stateMutability: "nonpayable",
54
+ type: "function",
55
+ },
56
+ {
57
+ constant: true,
58
+ inputs: [],
59
+ name: "owner",
60
+ outputs: [
61
+ {
62
+ name: "",
63
+ type: "address",
64
+ },
65
+ ],
66
+ payable: false,
67
+ stateMutability: "view",
68
+ type: "function",
69
+ },
70
+ {
71
+ constant: false,
72
+ inputs: [
73
+ {
74
+ name: "newOwner",
75
+ type: "address",
76
+ },
77
+ ],
78
+ name: "transferOwnership",
79
+ outputs: [],
80
+ payable: false,
81
+ stateMutability: "nonpayable",
82
+ type: "function",
83
+ },
84
+ {
85
+ anonymous: false,
86
+ inputs: [],
87
+ name: "Pause",
88
+ type: "event",
89
+ },
90
+ {
91
+ anonymous: false,
92
+ inputs: [],
93
+ name: "Unpause",
94
+ type: "event",
95
+ },
96
+ ];
97
+ var _bytecode = "0x608060405260008054600160a060020a033316600160a860020a03199091161790556102f6806100306000396000f30060806040526004361061006c5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416633f4ba83a81146100715780635c975abb146100885780638456cb59146100b15780638da5cb5b146100c6578063f2fde38b146100f7575b600080fd5b34801561007d57600080fd5b50610086610118565b005b34801561009457600080fd5b5061009d6101a3565b604080519115158252519081900360200190f35b3480156100bd57600080fd5b506100866101c4565b3480156100d257600080fd5b506100db610265565b60408051600160a060020a039092168252519081900360200190f35b34801561010357600080fd5b50610086600160a060020a0360043516610274565b60005433600160a060020a0390811691161461013357600080fd5b60005474010000000000000000000000000000000000000000900460ff16151561015c57600080fd5b6000805474ff0000000000000000000000000000000000000000191681556040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b339190a1565b60005474010000000000000000000000000000000000000000900460ff1681565b60005433600160a060020a039081169116146101df57600080fd5b60005474010000000000000000000000000000000000000000900460ff161561020757600080fd5b6000805474ff00000000000000000000000000000000000000001916740100000000000000000000000000000000000000001781556040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff6259190a1565b600054600160a060020a031681565b60005433600160a060020a0390811691161461028f57600080fd5b600160a060020a038116156102c7576000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b505600a165627a7a72305820bac4eaa006b8a7a9093c7a2947af6f9afc148a3adabba44a4a411cc4f0c419680029";
98
+ var Pausable__factory = exports.Pausable__factory = /** @class */ (function (_super) {
99
+ __extends(Pausable__factory, _super);
100
+ function Pausable__factory() {
101
+ var args = [];
102
+ for (var _i = 0; _i < arguments.length; _i++) {
103
+ args[_i] = arguments[_i];
104
+ }
105
+ var _this = this;
106
+ if (args.length === 1) {
107
+ _this = _super.call(this, _abi, _bytecode, args[0]) || this;
108
+ }
109
+ else {
110
+ _this = _super.apply(this, args) || this;
111
+ }
112
+ return _this;
113
+ }
114
+ Pausable__factory.prototype.deploy = function (overrides) {
115
+ return _super.prototype.deploy.call(this, overrides || {});
116
+ };
117
+ Pausable__factory.prototype.getDeployTransaction = function (overrides) {
118
+ return _super.prototype.getDeployTransaction.call(this, overrides || {});
119
+ };
120
+ Pausable__factory.prototype.attach = function (address) {
121
+ return _super.prototype.attach.call(this, address);
122
+ };
123
+ Pausable__factory.prototype.connect = function (signer) {
124
+ return _super.prototype.connect.call(this, signer);
125
+ };
126
+ Pausable__factory.createInterface = function () {
127
+ return new ethers_1.utils.Interface(_abi);
128
+ };
129
+ Pausable__factory.connect = function (address, signerOrProvider) {
130
+ return new ethers_1.Contract(address, _abi, signerOrProvider);
131
+ };
132
+ Pausable__factory.bytecode = _bytecode;
133
+ Pausable__factory.abi = _abi;
134
+ return Pausable__factory;
135
+ }(ethers_1.ContractFactory));
@@ -0,0 +1,125 @@
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 { Pausable, PausableInterface } from "../Pausable";
8
+
9
+ const _abi = [
10
+ {
11
+ constant: false,
12
+ inputs: [],
13
+ name: "unpause",
14
+ outputs: [],
15
+ payable: false,
16
+ stateMutability: "nonpayable",
17
+ type: "function",
18
+ },
19
+ {
20
+ constant: true,
21
+ inputs: [],
22
+ name: "paused",
23
+ outputs: [
24
+ {
25
+ name: "",
26
+ type: "bool",
27
+ },
28
+ ],
29
+ payable: false,
30
+ stateMutability: "view",
31
+ type: "function",
32
+ },
33
+ {
34
+ constant: false,
35
+ inputs: [],
36
+ name: "pause",
37
+ outputs: [],
38
+ payable: false,
39
+ stateMutability: "nonpayable",
40
+ type: "function",
41
+ },
42
+ {
43
+ constant: true,
44
+ inputs: [],
45
+ name: "owner",
46
+ outputs: [
47
+ {
48
+ name: "",
49
+ type: "address",
50
+ },
51
+ ],
52
+ payable: false,
53
+ stateMutability: "view",
54
+ type: "function",
55
+ },
56
+ {
57
+ constant: false,
58
+ inputs: [
59
+ {
60
+ name: "newOwner",
61
+ type: "address",
62
+ },
63
+ ],
64
+ name: "transferOwnership",
65
+ outputs: [],
66
+ payable: false,
67
+ stateMutability: "nonpayable",
68
+ type: "function",
69
+ },
70
+ {
71
+ anonymous: false,
72
+ inputs: [],
73
+ name: "Pause",
74
+ type: "event",
75
+ },
76
+ {
77
+ anonymous: false,
78
+ inputs: [],
79
+ name: "Unpause",
80
+ type: "event",
81
+ },
82
+ ];
83
+
84
+ const _bytecode =
85
+ "0x608060405260008054600160a060020a033316600160a860020a03199091161790556102f6806100306000396000f30060806040526004361061006c5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416633f4ba83a81146100715780635c975abb146100885780638456cb59146100b15780638da5cb5b146100c6578063f2fde38b146100f7575b600080fd5b34801561007d57600080fd5b50610086610118565b005b34801561009457600080fd5b5061009d6101a3565b604080519115158252519081900360200190f35b3480156100bd57600080fd5b506100866101c4565b3480156100d257600080fd5b506100db610265565b60408051600160a060020a039092168252519081900360200190f35b34801561010357600080fd5b50610086600160a060020a0360043516610274565b60005433600160a060020a0390811691161461013357600080fd5b60005474010000000000000000000000000000000000000000900460ff16151561015c57600080fd5b6000805474ff0000000000000000000000000000000000000000191681556040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b339190a1565b60005474010000000000000000000000000000000000000000900460ff1681565b60005433600160a060020a039081169116146101df57600080fd5b60005474010000000000000000000000000000000000000000900460ff161561020757600080fd5b6000805474ff00000000000000000000000000000000000000001916740100000000000000000000000000000000000000001781556040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff6259190a1565b600054600160a060020a031681565b60005433600160a060020a0390811691161461028f57600080fd5b600160a060020a038116156102c7576000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b505600a165627a7a72305820bac4eaa006b8a7a9093c7a2947af6f9afc148a3adabba44a4a411cc4f0c419680029";
86
+
87
+ export class Pausable__factory extends ContractFactory {
88
+ constructor(
89
+ ...args: [signer: Signer] | ConstructorParameters<typeof ContractFactory>
90
+ ) {
91
+ if (args.length === 1) {
92
+ super(_abi, _bytecode, args[0]);
93
+ } else {
94
+ super(...args);
95
+ }
96
+ }
97
+
98
+ deploy(
99
+ overrides?: Overrides & { from?: string | Promise<string> }
100
+ ): Promise<Pausable> {
101
+ return super.deploy(overrides || {}) as Promise<Pausable>;
102
+ }
103
+ getDeployTransaction(
104
+ overrides?: Overrides & { from?: string | Promise<string> }
105
+ ): TransactionRequest {
106
+ return super.getDeployTransaction(overrides || {});
107
+ }
108
+ attach(address: string): Pausable {
109
+ return super.attach(address) as Pausable;
110
+ }
111
+ connect(signer: Signer): Pausable__factory {
112
+ return super.connect(signer) as Pausable__factory;
113
+ }
114
+ static readonly bytecode = _bytecode;
115
+ static readonly abi = _abi;
116
+ static createInterface(): PausableInterface {
117
+ return new utils.Interface(_abi) as PausableInterface;
118
+ }
119
+ static connect(
120
+ address: string,
121
+ signerOrProvider: Signer | Provider
122
+ ): Pausable {
123
+ return new Contract(address, _abi, signerOrProvider) as Pausable;
124
+ }
125
+ }
@@ -0,0 +1,212 @@
1
+ "use strict";
2
+ /* Autogenerated file. Do not edit manually. */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ var __extends = (this && this.__extends) || (function () {
6
+ var extendStatics = function (d, b) {
7
+ extendStatics = Object.setPrototypeOf ||
8
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
9
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
10
+ return extendStatics(d, b);
11
+ };
12
+ return function (d, b) {
13
+ if (typeof b !== "function" && b !== null)
14
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
15
+ extendStatics(d, b);
16
+ function __() { this.constructor = d; }
17
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
18
+ };
19
+ })();
20
+ Object.defineProperty(exports, "__esModule", { value: true });
21
+ exports.ProxyAdmin__factory = void 0;
22
+ var ethers_1 = require("ethers");
23
+ var _abi = [
24
+ {
25
+ anonymous: false,
26
+ inputs: [
27
+ {
28
+ indexed: true,
29
+ internalType: "address",
30
+ name: "previousOwner",
31
+ type: "address",
32
+ },
33
+ {
34
+ indexed: true,
35
+ internalType: "address",
36
+ name: "newOwner",
37
+ type: "address",
38
+ },
39
+ ],
40
+ name: "OwnershipTransferred",
41
+ type: "event",
42
+ },
43
+ {
44
+ inputs: [
45
+ {
46
+ internalType: "contract ITransparentUpgradeableProxy",
47
+ name: "proxy",
48
+ type: "address",
49
+ },
50
+ {
51
+ internalType: "address",
52
+ name: "newAdmin",
53
+ type: "address",
54
+ },
55
+ ],
56
+ name: "changeProxyAdmin",
57
+ outputs: [],
58
+ stateMutability: "nonpayable",
59
+ type: "function",
60
+ },
61
+ {
62
+ inputs: [
63
+ {
64
+ internalType: "contract ITransparentUpgradeableProxy",
65
+ name: "proxy",
66
+ type: "address",
67
+ },
68
+ ],
69
+ name: "getProxyAdmin",
70
+ outputs: [
71
+ {
72
+ internalType: "address",
73
+ name: "",
74
+ type: "address",
75
+ },
76
+ ],
77
+ stateMutability: "view",
78
+ type: "function",
79
+ },
80
+ {
81
+ inputs: [
82
+ {
83
+ internalType: "contract ITransparentUpgradeableProxy",
84
+ name: "proxy",
85
+ type: "address",
86
+ },
87
+ ],
88
+ name: "getProxyImplementation",
89
+ outputs: [
90
+ {
91
+ internalType: "address",
92
+ name: "",
93
+ type: "address",
94
+ },
95
+ ],
96
+ stateMutability: "view",
97
+ type: "function",
98
+ },
99
+ {
100
+ inputs: [],
101
+ name: "owner",
102
+ outputs: [
103
+ {
104
+ internalType: "address",
105
+ name: "",
106
+ type: "address",
107
+ },
108
+ ],
109
+ stateMutability: "view",
110
+ type: "function",
111
+ },
112
+ {
113
+ inputs: [],
114
+ name: "renounceOwnership",
115
+ outputs: [],
116
+ stateMutability: "nonpayable",
117
+ type: "function",
118
+ },
119
+ {
120
+ inputs: [
121
+ {
122
+ internalType: "address",
123
+ name: "newOwner",
124
+ type: "address",
125
+ },
126
+ ],
127
+ name: "transferOwnership",
128
+ outputs: [],
129
+ stateMutability: "nonpayable",
130
+ type: "function",
131
+ },
132
+ {
133
+ inputs: [
134
+ {
135
+ internalType: "contract ITransparentUpgradeableProxy",
136
+ name: "proxy",
137
+ type: "address",
138
+ },
139
+ {
140
+ internalType: "address",
141
+ name: "implementation",
142
+ type: "address",
143
+ },
144
+ ],
145
+ name: "upgrade",
146
+ outputs: [],
147
+ stateMutability: "nonpayable",
148
+ type: "function",
149
+ },
150
+ {
151
+ inputs: [
152
+ {
153
+ internalType: "contract ITransparentUpgradeableProxy",
154
+ name: "proxy",
155
+ type: "address",
156
+ },
157
+ {
158
+ internalType: "address",
159
+ name: "implementation",
160
+ type: "address",
161
+ },
162
+ {
163
+ internalType: "bytes",
164
+ name: "data",
165
+ type: "bytes",
166
+ },
167
+ ],
168
+ name: "upgradeAndCall",
169
+ outputs: [],
170
+ stateMutability: "payable",
171
+ type: "function",
172
+ },
173
+ ];
174
+ var _bytecode = "0x608060405234801561001057600080fd5b5061001a3361001f565b61006f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6107e78061007e6000396000f3fe60806040526004361061007b5760003560e01c80639623609d1161004e5780639623609d1461010b57806399a88ec41461011e578063f2fde38b1461013e578063f3b7dead1461015e57600080fd5b8063204e1c7a14610080578063715018a6146100b65780637eff275e146100cd5780638da5cb5b146100ed575b600080fd5b34801561008c57600080fd5b506100a061009b36600461043a565b61017e565b6040516100ad919061046a565b60405180910390f35b3480156100c257600080fd5b506100cb610204565b005b3480156100d957600080fd5b506100cb6100e836600461048c565b610218565b3480156100f957600080fd5b506000546001600160a01b03166100a0565b6100cb6101193660046105c4565b610282565b34801561012a57600080fd5b506100cb61013936600461048c565b6102f1565b34801561014a57600080fd5b506100cb61015936600461062f565b610325565b34801561016a57600080fd5b506100a061017936600461043a565b610368565b6000806000836001600160a01b031660405161019990610664565b600060405180830381855afa9150503d80600081146101d4576040519150601f19603f3d011682016040523d82523d6000602084013e6101d9565b606091505b5091509150816101e857600080fd5b808060200190518101906101fc919061067a565b949350505050565b61020c610383565b61021660006103ad565b565b610220610383565b6040516308f2839760e41b81526001600160a01b03831690638f2839709061024c90849060040161046a565b600060405180830381600087803b15801561026657600080fd5b505af115801561027a573d6000803e3d6000fd5b505050505050565b61028a610383565b60405163278f794360e11b81526001600160a01b03841690634f1ef2869034906102ba90869086906004016106f1565b6000604051808303818588803b1580156102d357600080fd5b505af11580156102e7573d6000803e3d6000fd5b5050505050505050565b6102f9610383565b604051631b2ce7f360e11b81526001600160a01b03831690633659cfe69061024c90849060040161046a565b61032d610383565b6001600160a01b03811661035c5760405162461bcd60e51b815260040161035390610711565b60405180910390fd5b610365816103ad565b50565b6000806000836001600160a01b03166040516101999061076c565b6000546001600160a01b031633146102165760405162461bcd60e51b815260040161035390610777565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006001600160a01b0382165b92915050565b600061040a826103fd565b61042481610410565b811461036557600080fd5b803561040a8161041b565b60006020828403121561044f5761044f600080fd5b60006101fc848461042f565b610464816103fd565b82525050565b6020810161040a828461045b565b610424816103fd565b803561040a81610478565b600080604083850312156104a2576104a2600080fd5b60006104ae858561042f565b92505060206104bf85828601610481565b9150509250929050565b634e487b7160e01b600052604160045260246000fd5b601f19601f830116810181811067ffffffffffffffff82111715610505576105056104c9565b6040525050565b600061051760405190565b905061052382826104df565b919050565b600067ffffffffffffffff821115610542576105426104c9565b601f19601f83011660200192915050565b82818337506000910152565b600061057261056d84610528565b61050c565b90508281526020810184848401111561058d5761058d600080fd5b610598848285610553565b509392505050565b600082601f8301126105b4576105b4600080fd5b81356101fc84826020860161055f565b6000806000606084860312156105dc576105dc600080fd5b60006105e8868661042f565b93505060206105f986828701610481565b925050604084013567ffffffffffffffff81111561061957610619600080fd5b610625868287016105a0565b9150509250925092565b60006020828403121561064457610644600080fd5b60006101fc8484610481565b635c60da1b60e01b815260005b5060040190565b600061040a82610650565b805161040a81610478565b60006020828403121561068f5761068f600080fd5b60006101fc848461066f565b60005b838110156106b657818101518382015260200161069e565b50506000910152565b60006106c9825190565b8084526020840193506106e081856020860161069b565b601f01601f19169290920192915050565b604081016106ff828561045b565b81810360208301526101fc81846106bf565b6020808252810161040a81602681527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160208201526564647265737360d01b604082015260600190565b6303e1469160e61b8152600061065d565b600061040a8261075b565b60208082528181019081527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260408301526060820161040a56fea2646970667358221220dd0cc9ddd3c551f39aeca5e474671caf026fc416f178016fd495ae7a293c118b64736f6c63430008130033";
175
+ var ProxyAdmin__factory = exports.ProxyAdmin__factory = /** @class */ (function (_super) {
176
+ __extends(ProxyAdmin__factory, _super);
177
+ function ProxyAdmin__factory() {
178
+ var args = [];
179
+ for (var _i = 0; _i < arguments.length; _i++) {
180
+ args[_i] = arguments[_i];
181
+ }
182
+ var _this = this;
183
+ if (args.length === 1) {
184
+ _this = _super.call(this, _abi, _bytecode, args[0]) || this;
185
+ }
186
+ else {
187
+ _this = _super.apply(this, args) || this;
188
+ }
189
+ return _this;
190
+ }
191
+ ProxyAdmin__factory.prototype.deploy = function (overrides) {
192
+ return _super.prototype.deploy.call(this, overrides || {});
193
+ };
194
+ ProxyAdmin__factory.prototype.getDeployTransaction = function (overrides) {
195
+ return _super.prototype.getDeployTransaction.call(this, overrides || {});
196
+ };
197
+ ProxyAdmin__factory.prototype.attach = function (address) {
198
+ return _super.prototype.attach.call(this, address);
199
+ };
200
+ ProxyAdmin__factory.prototype.connect = function (signer) {
201
+ return _super.prototype.connect.call(this, signer);
202
+ };
203
+ ProxyAdmin__factory.createInterface = function () {
204
+ return new ethers_1.utils.Interface(_abi);
205
+ };
206
+ ProxyAdmin__factory.connect = function (address, signerOrProvider) {
207
+ return new ethers_1.Contract(address, _abi, signerOrProvider);
208
+ };
209
+ ProxyAdmin__factory.bytecode = _bytecode;
210
+ ProxyAdmin__factory.abi = _abi;
211
+ return ProxyAdmin__factory;
212
+ }(ethers_1.ContractFactory));
@@ -0,0 +1,202 @@
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 { ProxyAdmin, ProxyAdminInterface } from "../ProxyAdmin";
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
+ {
32
+ internalType: "contract ITransparentUpgradeableProxy",
33
+ name: "proxy",
34
+ type: "address",
35
+ },
36
+ {
37
+ internalType: "address",
38
+ name: "newAdmin",
39
+ type: "address",
40
+ },
41
+ ],
42
+ name: "changeProxyAdmin",
43
+ outputs: [],
44
+ stateMutability: "nonpayable",
45
+ type: "function",
46
+ },
47
+ {
48
+ inputs: [
49
+ {
50
+ internalType: "contract ITransparentUpgradeableProxy",
51
+ name: "proxy",
52
+ type: "address",
53
+ },
54
+ ],
55
+ name: "getProxyAdmin",
56
+ outputs: [
57
+ {
58
+ internalType: "address",
59
+ name: "",
60
+ type: "address",
61
+ },
62
+ ],
63
+ stateMutability: "view",
64
+ type: "function",
65
+ },
66
+ {
67
+ inputs: [
68
+ {
69
+ internalType: "contract ITransparentUpgradeableProxy",
70
+ name: "proxy",
71
+ type: "address",
72
+ },
73
+ ],
74
+ name: "getProxyImplementation",
75
+ outputs: [
76
+ {
77
+ internalType: "address",
78
+ name: "",
79
+ type: "address",
80
+ },
81
+ ],
82
+ stateMutability: "view",
83
+ type: "function",
84
+ },
85
+ {
86
+ inputs: [],
87
+ name: "owner",
88
+ outputs: [
89
+ {
90
+ internalType: "address",
91
+ name: "",
92
+ type: "address",
93
+ },
94
+ ],
95
+ stateMutability: "view",
96
+ type: "function",
97
+ },
98
+ {
99
+ inputs: [],
100
+ name: "renounceOwnership",
101
+ outputs: [],
102
+ stateMutability: "nonpayable",
103
+ type: "function",
104
+ },
105
+ {
106
+ inputs: [
107
+ {
108
+ internalType: "address",
109
+ name: "newOwner",
110
+ type: "address",
111
+ },
112
+ ],
113
+ name: "transferOwnership",
114
+ outputs: [],
115
+ stateMutability: "nonpayable",
116
+ type: "function",
117
+ },
118
+ {
119
+ inputs: [
120
+ {
121
+ internalType: "contract ITransparentUpgradeableProxy",
122
+ name: "proxy",
123
+ type: "address",
124
+ },
125
+ {
126
+ internalType: "address",
127
+ name: "implementation",
128
+ type: "address",
129
+ },
130
+ ],
131
+ name: "upgrade",
132
+ outputs: [],
133
+ stateMutability: "nonpayable",
134
+ type: "function",
135
+ },
136
+ {
137
+ inputs: [
138
+ {
139
+ internalType: "contract ITransparentUpgradeableProxy",
140
+ name: "proxy",
141
+ type: "address",
142
+ },
143
+ {
144
+ internalType: "address",
145
+ name: "implementation",
146
+ type: "address",
147
+ },
148
+ {
149
+ internalType: "bytes",
150
+ name: "data",
151
+ type: "bytes",
152
+ },
153
+ ],
154
+ name: "upgradeAndCall",
155
+ outputs: [],
156
+ stateMutability: "payable",
157
+ type: "function",
158
+ },
159
+ ];
160
+
161
+ const _bytecode =
162
+ "0x608060405234801561001057600080fd5b5061001a3361001f565b61006f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6107e78061007e6000396000f3fe60806040526004361061007b5760003560e01c80639623609d1161004e5780639623609d1461010b57806399a88ec41461011e578063f2fde38b1461013e578063f3b7dead1461015e57600080fd5b8063204e1c7a14610080578063715018a6146100b65780637eff275e146100cd5780638da5cb5b146100ed575b600080fd5b34801561008c57600080fd5b506100a061009b36600461043a565b61017e565b6040516100ad919061046a565b60405180910390f35b3480156100c257600080fd5b506100cb610204565b005b3480156100d957600080fd5b506100cb6100e836600461048c565b610218565b3480156100f957600080fd5b506000546001600160a01b03166100a0565b6100cb6101193660046105c4565b610282565b34801561012a57600080fd5b506100cb61013936600461048c565b6102f1565b34801561014a57600080fd5b506100cb61015936600461062f565b610325565b34801561016a57600080fd5b506100a061017936600461043a565b610368565b6000806000836001600160a01b031660405161019990610664565b600060405180830381855afa9150503d80600081146101d4576040519150601f19603f3d011682016040523d82523d6000602084013e6101d9565b606091505b5091509150816101e857600080fd5b808060200190518101906101fc919061067a565b949350505050565b61020c610383565b61021660006103ad565b565b610220610383565b6040516308f2839760e41b81526001600160a01b03831690638f2839709061024c90849060040161046a565b600060405180830381600087803b15801561026657600080fd5b505af115801561027a573d6000803e3d6000fd5b505050505050565b61028a610383565b60405163278f794360e11b81526001600160a01b03841690634f1ef2869034906102ba90869086906004016106f1565b6000604051808303818588803b1580156102d357600080fd5b505af11580156102e7573d6000803e3d6000fd5b5050505050505050565b6102f9610383565b604051631b2ce7f360e11b81526001600160a01b03831690633659cfe69061024c90849060040161046a565b61032d610383565b6001600160a01b03811661035c5760405162461bcd60e51b815260040161035390610711565b60405180910390fd5b610365816103ad565b50565b6000806000836001600160a01b03166040516101999061076c565b6000546001600160a01b031633146102165760405162461bcd60e51b815260040161035390610777565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006001600160a01b0382165b92915050565b600061040a826103fd565b61042481610410565b811461036557600080fd5b803561040a8161041b565b60006020828403121561044f5761044f600080fd5b60006101fc848461042f565b610464816103fd565b82525050565b6020810161040a828461045b565b610424816103fd565b803561040a81610478565b600080604083850312156104a2576104a2600080fd5b60006104ae858561042f565b92505060206104bf85828601610481565b9150509250929050565b634e487b7160e01b600052604160045260246000fd5b601f19601f830116810181811067ffffffffffffffff82111715610505576105056104c9565b6040525050565b600061051760405190565b905061052382826104df565b919050565b600067ffffffffffffffff821115610542576105426104c9565b601f19601f83011660200192915050565b82818337506000910152565b600061057261056d84610528565b61050c565b90508281526020810184848401111561058d5761058d600080fd5b610598848285610553565b509392505050565b600082601f8301126105b4576105b4600080fd5b81356101fc84826020860161055f565b6000806000606084860312156105dc576105dc600080fd5b60006105e8868661042f565b93505060206105f986828701610481565b925050604084013567ffffffffffffffff81111561061957610619600080fd5b610625868287016105a0565b9150509250925092565b60006020828403121561064457610644600080fd5b60006101fc8484610481565b635c60da1b60e01b815260005b5060040190565b600061040a82610650565b805161040a81610478565b60006020828403121561068f5761068f600080fd5b60006101fc848461066f565b60005b838110156106b657818101518382015260200161069e565b50506000910152565b60006106c9825190565b8084526020840193506106e081856020860161069b565b601f01601f19169290920192915050565b604081016106ff828561045b565b81810360208301526101fc81846106bf565b6020808252810161040a81602681527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160208201526564647265737360d01b604082015260600190565b6303e1469160e61b8152600061065d565b600061040a8261075b565b60208082528181019081527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260408301526060820161040a56fea2646970667358221220dd0cc9ddd3c551f39aeca5e474671caf026fc416f178016fd495ae7a293c118b64736f6c63430008130033";
163
+
164
+ export class ProxyAdmin__factory extends ContractFactory {
165
+ constructor(
166
+ ...args: [signer: Signer] | ConstructorParameters<typeof ContractFactory>
167
+ ) {
168
+ if (args.length === 1) {
169
+ super(_abi, _bytecode, args[0]);
170
+ } else {
171
+ super(...args);
172
+ }
173
+ }
174
+
175
+ deploy(
176
+ overrides?: Overrides & { from?: string | Promise<string> }
177
+ ): Promise<ProxyAdmin> {
178
+ return super.deploy(overrides || {}) as Promise<ProxyAdmin>;
179
+ }
180
+ getDeployTransaction(
181
+ overrides?: Overrides & { from?: string | Promise<string> }
182
+ ): TransactionRequest {
183
+ return super.getDeployTransaction(overrides || {});
184
+ }
185
+ attach(address: string): ProxyAdmin {
186
+ return super.attach(address) as ProxyAdmin;
187
+ }
188
+ connect(signer: Signer): ProxyAdmin__factory {
189
+ return super.connect(signer) as ProxyAdmin__factory;
190
+ }
191
+ static readonly bytecode = _bytecode;
192
+ static readonly abi = _abi;
193
+ static createInterface(): ProxyAdminInterface {
194
+ return new utils.Interface(_abi) as ProxyAdminInterface;
195
+ }
196
+ static connect(
197
+ address: string,
198
+ signerOrProvider: Signer | Provider
199
+ ): ProxyAdmin {
200
+ return new Contract(address, _abi, signerOrProvider) as ProxyAdmin;
201
+ }
202
+ }