@venusprotocol/protocol-reserve 1.5.0 → 1.6.0-dev.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 (133) hide show
  1. package/package.json +3 -2
  2. package/typechain/AbstractTokenConverter.d.ts +1775 -0
  3. package/typechain/AccessControl.d.ts +388 -0
  4. package/typechain/AccessControlledV8.d.ts +341 -0
  5. package/typechain/BeaconProxy.d.ts +126 -0
  6. package/typechain/BoundValidatorInterface.d.ts +126 -0
  7. package/typechain/ContextUpgradeable.d.ts +92 -0
  8. package/typechain/ConverterNetwork.d.ts +723 -0
  9. package/typechain/ERC165.d.ts +116 -0
  10. package/typechain/ERC1967Proxy.d.ts +126 -0
  11. package/typechain/ERC1967Upgrade.d.ts +126 -0
  12. package/typechain/ERC20.d.ts +441 -0
  13. package/typechain/IAbstractTokenConverter.d.ts +773 -0
  14. package/typechain/IAccessControl.d.ts +333 -0
  15. package/typechain/IAccessControlManagerV8.d.ts +504 -0
  16. package/typechain/IBeacon.d.ts +101 -0
  17. package/typechain/IComptroller.d.ts +136 -0
  18. package/typechain/IConverterNetwork.d.ts +292 -0
  19. package/typechain/IERC165.d.ts +116 -0
  20. package/typechain/IERC1822Proxiable.d.ts +101 -0
  21. package/typechain/IERC1967.d.ts +126 -0
  22. package/typechain/IERC20.d.ts +324 -0
  23. package/typechain/IERC20Metadata.d.ts +363 -0
  24. package/typechain/IERC20PermitUpgradeable.d.ts +187 -0
  25. package/typechain/IERC20Upgradeable.d.ts +324 -0
  26. package/typechain/IIncomeDestination.d.ts +122 -0
  27. package/typechain/IPoolRegistry.d.ts +155 -0
  28. package/typechain/IProtocolShareReserve.d.ts +127 -0
  29. package/typechain/IRiskFund.d.ts +200 -0
  30. package/typechain/IRiskFundConverter.d.ts +138 -0
  31. package/typechain/IRiskFundGetters.d.ts +103 -0
  32. package/typechain/IShortfall.d.ts +110 -0
  33. package/typechain/ITransparentUpgradeableProxy.d.ts +256 -0
  34. package/typechain/IVToken.d.ts +98 -0
  35. package/typechain/IXVSVault.d.ts +95 -0
  36. package/typechain/Initializable.d.ts +92 -0
  37. package/typechain/MaxLoopsLimitHelper.d.ts +128 -0
  38. package/typechain/MaxLoopsLimitHelpersStorage.d.ts +101 -0
  39. package/typechain/MockACM.d.ts +615 -0
  40. package/typechain/MockArraySorter.d.ts +118 -0
  41. package/typechain/MockConverter.d.ts +1969 -0
  42. package/typechain/MockDeflatingToken.d.ts +486 -0
  43. package/typechain/MockRiskFundConverter.d.ts +2479 -0
  44. package/typechain/MockToken.d.ts +505 -0
  45. package/typechain/OracleInterface.d.ts +98 -0
  46. package/typechain/Ownable.d.ts +181 -0
  47. package/typechain/Ownable2StepUpgradeable.d.ts +261 -0
  48. package/typechain/OwnableUpgradeable.d.ts +193 -0
  49. package/typechain/PausableUpgradeable.d.ts +129 -0
  50. package/typechain/ProtocolShareReserve.d.ts +1214 -0
  51. package/typechain/Proxy.d.ts +78 -0
  52. package/typechain/ProxyAdmin.d.ts +357 -0
  53. package/typechain/ReentrancyGuardUpgradeable.d.ts +92 -0
  54. package/typechain/ReserveHelpersStorage.d.ts +300 -0
  55. package/typechain/ResilientOracle.d.ts +1034 -0
  56. package/typechain/ResilientOracleInterface.d.ts +192 -0
  57. package/typechain/RiskFundConverter.d.ts +2235 -0
  58. package/typechain/RiskFundV1Storage.d.ts +353 -0
  59. package/typechain/RiskFundV2.d.ts +965 -0
  60. package/typechain/RiskFundV2Storage.d.ts +372 -0
  61. package/typechain/SingleTokenConverter.d.ts +1944 -0
  62. package/typechain/TransparentUpgradeableProxy.d.ts +126 -0
  63. package/typechain/TwapInterface.d.ts +124 -0
  64. package/typechain/UpgradeableBeacon.d.ts +240 -0
  65. package/typechain/VBep20Interface.d.ts +379 -0
  66. package/typechain/XVSVaultTreasury.d.ts +515 -0
  67. package/typechain/common.d.ts +35 -0
  68. package/typechain/factories/AbstractTokenConverter__factory.ts +1297 -0
  69. package/typechain/factories/AccessControl__factory.ts +227 -0
  70. package/typechain/factories/AccessControlledV8__factory.ts +196 -0
  71. package/typechain/factories/BeaconProxy__factory.ts +133 -0
  72. package/typechain/factories/BoundValidatorInterface__factory.ts +59 -0
  73. package/typechain/factories/ContextUpgradeable__factory.ts +39 -0
  74. package/typechain/factories/ConverterNetwork__factory.ts +502 -0
  75. package/typechain/factories/ERC165__factory.ts +39 -0
  76. package/typechain/factories/ERC1967Proxy__factory.ts +137 -0
  77. package/typechain/factories/ERC1967Upgrade__factory.ts +71 -0
  78. package/typechain/factories/ERC20__factory.ts +340 -0
  79. package/typechain/factories/IAbstractTokenConverter__factory.ts +466 -0
  80. package/typechain/factories/IAccessControlManagerV8__factory.ts +301 -0
  81. package/typechain/factories/IAccessControl__factory.ts +198 -0
  82. package/typechain/factories/IBeacon__factory.ts +36 -0
  83. package/typechain/factories/IComptroller__factory.ts +68 -0
  84. package/typechain/factories/IConverterNetwork__factory.ts +142 -0
  85. package/typechain/factories/IERC165__factory.ts +42 -0
  86. package/typechain/factories/IERC1822Proxiable__factory.ts +39 -0
  87. package/typechain/factories/IERC1967__factory.ts +68 -0
  88. package/typechain/factories/IERC20Metadata__factory.ts +248 -0
  89. package/typechain/factories/IERC20PermitUpgradeable__factory.ts +105 -0
  90. package/typechain/factories/IERC20Upgradeable__factory.ts +209 -0
  91. package/typechain/factories/IERC20__factory.ts +203 -0
  92. package/typechain/factories/IIncomeDestination__factory.ts +44 -0
  93. package/typechain/factories/IPoolRegistry__factory.ts +66 -0
  94. package/typechain/factories/IProtocolShareReserve__factory.ts +53 -0
  95. package/typechain/factories/IRiskFundConverter__factory.ts +63 -0
  96. package/typechain/factories/IRiskFundGetters__factory.ts +39 -0
  97. package/typechain/factories/IRiskFund__factory.ts +89 -0
  98. package/typechain/factories/IShortfall__factory.ts +36 -0
  99. package/typechain/factories/ITransparentUpgradeableProxy__factory.ts +145 -0
  100. package/typechain/factories/IVToken__factory.ts +36 -0
  101. package/typechain/factories/IXVSVault__factory.ts +36 -0
  102. package/typechain/factories/Initializable__factory.ts +36 -0
  103. package/typechain/factories/MaxLoopsLimitHelper__factory.ts +74 -0
  104. package/typechain/factories/MaxLoopsLimitHelpersStorage__factory.ts +75 -0
  105. package/typechain/factories/MockACM__factory.ts +411 -0
  106. package/typechain/factories/MockArraySorter__factory.ts +85 -0
  107. package/typechain/factories/MockConverter__factory.ts +1439 -0
  108. package/typechain/factories/MockDeflatingToken__factory.ts +389 -0
  109. package/typechain/factories/MockRiskFundConverter__factory.ts +1828 -0
  110. package/typechain/factories/MockToken__factory.ts +398 -0
  111. package/typechain/factories/OracleInterface__factory.ts +45 -0
  112. package/typechain/factories/Ownable2StepUpgradeable__factory.ts +134 -0
  113. package/typechain/factories/OwnableUpgradeable__factory.ts +91 -0
  114. package/typechain/factories/Ownable__factory.ts +75 -0
  115. package/typechain/factories/PausableUpgradeable__factory.ts +78 -0
  116. package/typechain/factories/ProtocolShareReserve__factory.ts +874 -0
  117. package/typechain/factories/ProxyAdmin__factory.ts +202 -0
  118. package/typechain/factories/Proxy__factory.ts +28 -0
  119. package/typechain/factories/ReentrancyGuardUpgradeable__factory.ts +43 -0
  120. package/typechain/factories/ReserveHelpersStorage__factory.ts +188 -0
  121. package/typechain/factories/ResilientOracleInterface__factory.ts +94 -0
  122. package/typechain/factories/ResilientOracle__factory.ts +710 -0
  123. package/typechain/factories/RiskFundConverter__factory.ts +1694 -0
  124. package/typechain/factories/RiskFundV1Storage__factory.ts +223 -0
  125. package/typechain/factories/RiskFundV2Storage__factory.ts +236 -0
  126. package/typechain/factories/RiskFundV2__factory.ts +672 -0
  127. package/typechain/factories/SingleTokenConverter__factory.ts +1441 -0
  128. package/typechain/factories/TransparentUpgradeableProxy__factory.ts +152 -0
  129. package/typechain/factories/TwapInterface__factory.ts +61 -0
  130. package/typechain/factories/UpgradeableBeacon__factory.ts +163 -0
  131. package/typechain/factories/VBep20Interface__factory.ts +261 -0
  132. package/typechain/factories/XVSVaultTreasury__factory.ts +365 -0
  133. package/typechain/index.ts +134 -0
@@ -0,0 +1,89 @@
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 { IRiskFund, IRiskFundInterface } from "../IRiskFund";
8
+
9
+ const _abi = [
10
+ {
11
+ inputs: [
12
+ {
13
+ internalType: "address",
14
+ name: "comptroller",
15
+ type: "address",
16
+ },
17
+ ],
18
+ name: "getPoolsBaseAssetReserves",
19
+ outputs: [
20
+ {
21
+ internalType: "uint256",
22
+ name: "",
23
+ type: "uint256",
24
+ },
25
+ ],
26
+ stateMutability: "view",
27
+ type: "function",
28
+ },
29
+ {
30
+ inputs: [
31
+ {
32
+ internalType: "address",
33
+ name: "comptroller",
34
+ type: "address",
35
+ },
36
+ {
37
+ internalType: "uint256",
38
+ name: "amount",
39
+ type: "uint256",
40
+ },
41
+ ],
42
+ name: "transferReserveForAuction",
43
+ outputs: [
44
+ {
45
+ internalType: "uint256",
46
+ name: "",
47
+ type: "uint256",
48
+ },
49
+ ],
50
+ stateMutability: "nonpayable",
51
+ type: "function",
52
+ },
53
+ {
54
+ inputs: [
55
+ {
56
+ internalType: "address",
57
+ name: "comptroller",
58
+ type: "address",
59
+ },
60
+ {
61
+ internalType: "address",
62
+ name: "asset",
63
+ type: "address",
64
+ },
65
+ {
66
+ internalType: "uint256",
67
+ name: "amount",
68
+ type: "uint256",
69
+ },
70
+ ],
71
+ name: "updatePoolState",
72
+ outputs: [],
73
+ stateMutability: "nonpayable",
74
+ type: "function",
75
+ },
76
+ ];
77
+
78
+ export class IRiskFund__factory {
79
+ static readonly abi = _abi;
80
+ static createInterface(): IRiskFundInterface {
81
+ return new utils.Interface(_abi) as IRiskFundInterface;
82
+ }
83
+ static connect(
84
+ address: string,
85
+ signerOrProvider: Signer | Provider
86
+ ): IRiskFund {
87
+ return new Contract(address, _abi, signerOrProvider) as IRiskFund;
88
+ }
89
+ }
@@ -0,0 +1,36 @@
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 { IShortfall, IShortfallInterface } from "../IShortfall";
8
+
9
+ const _abi = [
10
+ {
11
+ inputs: [],
12
+ name: "convertibleBaseAsset",
13
+ outputs: [
14
+ {
15
+ internalType: "address",
16
+ name: "",
17
+ type: "address",
18
+ },
19
+ ],
20
+ stateMutability: "nonpayable",
21
+ type: "function",
22
+ },
23
+ ];
24
+
25
+ export class IShortfall__factory {
26
+ static readonly abi = _abi;
27
+ static createInterface(): IShortfallInterface {
28
+ return new utils.Interface(_abi) as IShortfallInterface;
29
+ }
30
+ static connect(
31
+ address: string,
32
+ signerOrProvider: Signer | Provider
33
+ ): IShortfall {
34
+ return new Contract(address, _abi, signerOrProvider) as IShortfall;
35
+ }
36
+ }
@@ -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
+ }
@@ -0,0 +1,36 @@
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 { IVToken, IVTokenInterface } from "../IVToken";
8
+
9
+ const _abi = [
10
+ {
11
+ inputs: [],
12
+ name: "underlying",
13
+ outputs: [
14
+ {
15
+ internalType: "address",
16
+ name: "",
17
+ type: "address",
18
+ },
19
+ ],
20
+ stateMutability: "view",
21
+ type: "function",
22
+ },
23
+ ];
24
+
25
+ export class IVToken__factory {
26
+ static readonly abi = _abi;
27
+ static createInterface(): IVTokenInterface {
28
+ return new utils.Interface(_abi) as IVTokenInterface;
29
+ }
30
+ static connect(
31
+ address: string,
32
+ signerOrProvider: Signer | Provider
33
+ ): IVToken {
34
+ return new Contract(address, _abi, signerOrProvider) as IVToken;
35
+ }
36
+ }
@@ -0,0 +1,36 @@
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 { IXVSVault, IXVSVaultInterface } from "../IXVSVault";
8
+
9
+ const _abi = [
10
+ {
11
+ inputs: [],
12
+ name: "xvsStore",
13
+ outputs: [
14
+ {
15
+ internalType: "address",
16
+ name: "",
17
+ type: "address",
18
+ },
19
+ ],
20
+ stateMutability: "view",
21
+ type: "function",
22
+ },
23
+ ];
24
+
25
+ export class IXVSVault__factory {
26
+ static readonly abi = _abi;
27
+ static createInterface(): IXVSVaultInterface {
28
+ return new utils.Interface(_abi) as IXVSVaultInterface;
29
+ }
30
+ static connect(
31
+ address: string,
32
+ signerOrProvider: Signer | Provider
33
+ ): IXVSVault {
34
+ return new Contract(address, _abi, signerOrProvider) as IXVSVault;
35
+ }
36
+ }
@@ -0,0 +1,36 @@
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 { Initializable, InitializableInterface } from "../Initializable";
8
+
9
+ const _abi = [
10
+ {
11
+ anonymous: false,
12
+ inputs: [
13
+ {
14
+ indexed: false,
15
+ internalType: "uint8",
16
+ name: "version",
17
+ type: "uint8",
18
+ },
19
+ ],
20
+ name: "Initialized",
21
+ type: "event",
22
+ },
23
+ ];
24
+
25
+ export class Initializable__factory {
26
+ static readonly abi = _abi;
27
+ static createInterface(): InitializableInterface {
28
+ return new utils.Interface(_abi) as InitializableInterface;
29
+ }
30
+ static connect(
31
+ address: string,
32
+ signerOrProvider: Signer | Provider
33
+ ): Initializable {
34
+ return new Contract(address, _abi, signerOrProvider) as Initializable;
35
+ }
36
+ }
@@ -0,0 +1,74 @@
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
+ MaxLoopsLimitHelper,
9
+ MaxLoopsLimitHelperInterface,
10
+ } from "../MaxLoopsLimitHelper";
11
+
12
+ const _abi = [
13
+ {
14
+ inputs: [
15
+ {
16
+ internalType: "uint256",
17
+ name: "loopsLimit",
18
+ type: "uint256",
19
+ },
20
+ {
21
+ internalType: "uint256",
22
+ name: "requiredLoops",
23
+ type: "uint256",
24
+ },
25
+ ],
26
+ name: "MaxLoopsLimitExceeded",
27
+ type: "error",
28
+ },
29
+ {
30
+ anonymous: false,
31
+ inputs: [
32
+ {
33
+ indexed: false,
34
+ internalType: "uint256",
35
+ name: "oldMaxLoopsLimit",
36
+ type: "uint256",
37
+ },
38
+ {
39
+ indexed: false,
40
+ internalType: "uint256",
41
+ name: "newmaxLoopsLimit",
42
+ type: "uint256",
43
+ },
44
+ ],
45
+ name: "MaxLoopsLimitUpdated",
46
+ type: "event",
47
+ },
48
+ {
49
+ inputs: [],
50
+ name: "maxLoopsLimit",
51
+ outputs: [
52
+ {
53
+ internalType: "uint256",
54
+ name: "",
55
+ type: "uint256",
56
+ },
57
+ ],
58
+ stateMutability: "view",
59
+ type: "function",
60
+ },
61
+ ];
62
+
63
+ export class MaxLoopsLimitHelper__factory {
64
+ static readonly abi = _abi;
65
+ static createInterface(): MaxLoopsLimitHelperInterface {
66
+ return new utils.Interface(_abi) as MaxLoopsLimitHelperInterface;
67
+ }
68
+ static connect(
69
+ address: string,
70
+ signerOrProvider: Signer | Provider
71
+ ): MaxLoopsLimitHelper {
72
+ return new Contract(address, _abi, signerOrProvider) as MaxLoopsLimitHelper;
73
+ }
74
+ }
@@ -0,0 +1,75 @@
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 {
8
+ MaxLoopsLimitHelpersStorage,
9
+ MaxLoopsLimitHelpersStorageInterface,
10
+ } from "../MaxLoopsLimitHelpersStorage";
11
+
12
+ const _abi = [
13
+ {
14
+ inputs: [],
15
+ name: "maxLoopsLimit",
16
+ outputs: [
17
+ {
18
+ internalType: "uint256",
19
+ name: "",
20
+ type: "uint256",
21
+ },
22
+ ],
23
+ stateMutability: "view",
24
+ type: "function",
25
+ },
26
+ ];
27
+
28
+ const _bytecode =
29
+ "0x6080604052348015600f57600080fd5b50607d8061001e6000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c8063be26317e14602d575b600080fd5b603560005481565b60405190815260200160405180910390f3fea2646970667358221220f6cb64798d1285ee920d7883a6afe9b34e00bea30196a34c1addb5c8707598d464736f6c634300080d0033";
30
+
31
+ export class MaxLoopsLimitHelpersStorage__factory extends ContractFactory {
32
+ constructor(
33
+ ...args: [signer: Signer] | ConstructorParameters<typeof ContractFactory>
34
+ ) {
35
+ if (args.length === 1) {
36
+ super(_abi, _bytecode, args[0]);
37
+ } else {
38
+ super(...args);
39
+ }
40
+ }
41
+
42
+ deploy(
43
+ overrides?: Overrides & { from?: string | Promise<string> }
44
+ ): Promise<MaxLoopsLimitHelpersStorage> {
45
+ return super.deploy(
46
+ overrides || {}
47
+ ) as Promise<MaxLoopsLimitHelpersStorage>;
48
+ }
49
+ getDeployTransaction(
50
+ overrides?: Overrides & { from?: string | Promise<string> }
51
+ ): TransactionRequest {
52
+ return super.getDeployTransaction(overrides || {});
53
+ }
54
+ attach(address: string): MaxLoopsLimitHelpersStorage {
55
+ return super.attach(address) as MaxLoopsLimitHelpersStorage;
56
+ }
57
+ connect(signer: Signer): MaxLoopsLimitHelpersStorage__factory {
58
+ return super.connect(signer) as MaxLoopsLimitHelpersStorage__factory;
59
+ }
60
+ static readonly bytecode = _bytecode;
61
+ static readonly abi = _abi;
62
+ static createInterface(): MaxLoopsLimitHelpersStorageInterface {
63
+ return new utils.Interface(_abi) as MaxLoopsLimitHelpersStorageInterface;
64
+ }
65
+ static connect(
66
+ address: string,
67
+ signerOrProvider: Signer | Provider
68
+ ): MaxLoopsLimitHelpersStorage {
69
+ return new Contract(
70
+ address,
71
+ _abi,
72
+ signerOrProvider
73
+ ) as MaxLoopsLimitHelpersStorage;
74
+ }
75
+ }