@gooddollar/goodprotocol 1.0.19 → 1.0.20

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 (236) hide show
  1. package/package.json +3 -2
  2. package/types/AaveMock.ts +1022 -0
  3. package/types/AaveStakingFactory.ts +290 -0
  4. package/types/AaveUSDMockOracle.ts +89 -0
  5. package/types/AccessControlEnumerableUpgradeable.ts +435 -0
  6. package/types/AccessControlUpgradeable.ts +362 -0
  7. package/types/AggregatorV3Interface.ts +192 -0
  8. package/types/Avatar.ts +121 -0
  9. package/types/BancorFormula.ts +974 -0
  10. package/types/BaseShareField.ts +442 -0
  11. package/types/BaseShareFieldV2.ts +361 -0
  12. package/types/BatUSDMockOracle.ts +89 -0
  13. package/types/BulkProof.ts +111 -0
  14. package/types/CBATMock.ts +1194 -0
  15. package/types/CDAILowWorthMock.ts +1160 -0
  16. package/types/CDAIMock.ts +1210 -0
  17. package/types/CDAINonMintableMock.ts +1160 -0
  18. package/types/CDecimalsMock.ts +1194 -0
  19. package/types/CERC20.ts +527 -0
  20. package/types/CSDTMock.ts +1194 -0
  21. package/types/CUSDCMock.ts +1194 -0
  22. package/types/ClaimersDistribution.ts +606 -0
  23. package/types/CompUSDMockOracle.ts +89 -0
  24. package/types/CompoundStakingFactory.ts +261 -0
  25. package/types/CompoundVotingMachine.ts +1690 -0
  26. package/types/ContributionCalc.ts +164 -0
  27. package/types/Controller.ts +547 -0
  28. package/types/DAIMock.ts +1083 -0
  29. package/types/DAOContract.ts +162 -0
  30. package/types/DAOUpgradeableContract.ts +271 -0
  31. package/types/DaiEthPriceMockOracle.ts +89 -0
  32. package/types/DecimalsMock.ts +1022 -0
  33. package/types/DonationsStaking.ts +777 -0
  34. package/types/ERC165Upgradeable.ts +104 -0
  35. package/types/ERC1967Proxy.ts +147 -0
  36. package/types/ERC1967Upgrade.ts +106 -0
  37. package/types/ERC1967UpgradeUpgradeable.ts +107 -0
  38. package/types/ERC20.ts +365 -0
  39. package/types/ERC20BurnableUpgradeable.ts +479 -0
  40. package/types/ERC20PausableUpgradeable.ts +449 -0
  41. package/types/ERC20PresetMinterPauserUpgradeable.ts +1023 -0
  42. package/types/ERC20Upgradeable.ts +417 -0
  43. package/types/EthUSDMockOracle.ts +138 -0
  44. package/types/ExchangeHelper.ts +522 -0
  45. package/types/GReputation.ts +2020 -0
  46. package/types/GasPriceMockOracle.ts +89 -0
  47. package/types/GlobalConstraintInterface.ts +134 -0
  48. package/types/GoodAaveStaking.ts +1752 -0
  49. package/types/GoodAaveStakingV2.ts +1722 -0
  50. package/types/GoodCompoundStaking.ts +1838 -0
  51. package/types/GoodCompoundStakingTest.ts +1948 -0
  52. package/types/GoodCompoundStakingV2.ts +1636 -0
  53. package/types/GoodFundManager.ts +1098 -0
  54. package/types/GoodFundManagerTest.ts +1137 -0
  55. package/types/GoodMarketMaker.ts +974 -0
  56. package/types/GoodReserveCDai.ts +1938 -0
  57. package/types/GovernanceStaking.ts +1267 -0
  58. package/types/IAaveIncentivesController.ts +155 -0
  59. package/types/IAccessControlEnumerableUpgradeable.ts +380 -0
  60. package/types/IAccessControlUpgradeable.ts +307 -0
  61. package/types/IAdminWallet.ts +171 -0
  62. package/types/IBeacon.ts +89 -0
  63. package/types/IBeaconUpgradeable.ts +89 -0
  64. package/types/IDonationStaking.ts +98 -0
  65. package/types/IERC165Upgradeable.ts +104 -0
  66. package/types/IERC1822Proxiable.ts +89 -0
  67. package/types/IERC20MetadataUpgradeable.ts +340 -0
  68. package/types/IERC20Upgradeable.ts +300 -0
  69. package/types/IERC2917.ts +636 -0
  70. package/types/IFirstClaimPool.ts +115 -0
  71. package/types/IGoodDollar.ts +579 -0
  72. package/types/IGoodStaking.ts +264 -0
  73. package/types/IHasRouter.ts +83 -0
  74. package/types/IIdentity.ts +281 -0
  75. package/types/ILendingPool.ts +241 -0
  76. package/types/INameService.ts +86 -0
  77. package/types/IUBIScheme.ts +121 -0
  78. package/types/IncentiveControllerMock.ts +207 -0
  79. package/types/IntVoteInterface.ts +468 -0
  80. package/types/LendingPoolMock.ts +1250 -0
  81. package/types/MultiBaseGovernanceShareField.ts +411 -0
  82. package/types/Multicall.ts +298 -0
  83. package/types/NameService.ts +358 -0
  84. package/types/OldMarketMaker.ts +113 -0
  85. package/types/OverMintTester.ts +176 -0
  86. package/types/OverMintTesterRegularStake.ts +177 -0
  87. package/types/PausableUpgradeable.ts +103 -0
  88. package/types/ProtocolUpgrade.ts +272 -0
  89. package/types/ProtocolUpgradeFuse.ts +166 -0
  90. package/types/ProtocolUpgradeFuseRecover.ts +167 -0
  91. package/types/ProtocolUpgradeRecover.ts +264 -0
  92. package/types/Proxy.ts +66 -0
  93. package/types/ProxyAdmin.ts +210 -0
  94. package/types/ProxyFactory1967.ts +284 -0
  95. package/types/Reputation.ts +936 -0
  96. package/types/ReputationInterface.ts +261 -0
  97. package/types/ReputationTestHelper.ts +175 -0
  98. package/types/Reserve.ts +112 -0
  99. package/types/SchemeRegistrar.ts +164 -0
  100. package/types/SimpleStaking.ts +1514 -0
  101. package/types/SimpleStakingV2.ts +1418 -0
  102. package/types/SixteenDecimalsTokenMock.ts +1023 -0
  103. package/types/StakersDistribution.ts +921 -0
  104. package/types/Staking.ts +158 -0
  105. package/types/SwapHelperTest.ts +120 -0
  106. package/types/TwentyDecimalsTokenMock.ts +1023 -0
  107. package/types/UBIScheme.ts +1361 -0
  108. package/types/USDCMock.ts +1022 -0
  109. package/types/UUPSUpgradeable.ts +179 -0
  110. package/types/Uniswap.ts +423 -0
  111. package/types/UniswapFactory.ts +106 -0
  112. package/types/UniswapPair.ts +187 -0
  113. package/types/UniswapV2SwapHelper.ts +124 -0
  114. package/types/UpgradableMock.ts +321 -0
  115. package/types/UpgradableMock2.ts +283 -0
  116. package/types/UpgradableMock3.ts +308 -0
  117. package/types/UpgradableMock4.ts +308 -0
  118. package/types/common.ts +44 -0
  119. package/types/factories/AaveMock__factory.ts +727 -0
  120. package/types/factories/AaveStakingFactory__factory.ts +262 -0
  121. package/types/factories/AaveUSDMockOracle__factory.ts +75 -0
  122. package/types/factories/AccessControlEnumerableUpgradeable__factory.ts +279 -0
  123. package/types/factories/AccessControlUpgradeable__factory.ts +234 -0
  124. package/types/factories/AggregatorV3Interface__factory.ts +121 -0
  125. package/types/factories/Avatar__factory.ts +59 -0
  126. package/types/factories/BancorFormula__factory.ts +674 -0
  127. package/types/factories/BaseShareFieldV2__factory.ts +251 -0
  128. package/types/factories/BaseShareField__factory.ts +307 -0
  129. package/types/factories/BatUSDMockOracle__factory.ts +75 -0
  130. package/types/factories/BulkProof__factory.ts +89 -0
  131. package/types/factories/CBATMock__factory.ts +831 -0
  132. package/types/factories/CDAILowWorthMock__factory.ts +821 -0
  133. package/types/factories/CDAIMock__factory.ts +844 -0
  134. package/types/factories/CDAINonMintableMock__factory.ts +821 -0
  135. package/types/factories/CDecimalsMock__factory.ts +831 -0
  136. package/types/factories/CERC20__factory.ts +368 -0
  137. package/types/factories/CSDTMock__factory.ts +831 -0
  138. package/types/factories/CUSDCMock__factory.ts +831 -0
  139. package/types/factories/ClaimersDistribution__factory.ts +404 -0
  140. package/types/factories/CompUSDMockOracle__factory.ts +75 -0
  141. package/types/factories/CompoundStakingFactory__factory.ts +249 -0
  142. package/types/factories/CompoundVotingMachine__factory.ts +1182 -0
  143. package/types/factories/ContributionCalc__factory.ts +83 -0
  144. package/types/factories/Controller__factory.ts +359 -0
  145. package/types/factories/DAIMock__factory.ts +770 -0
  146. package/types/factories/DAOContract__factory.ts +118 -0
  147. package/types/factories/DAOUpgradeableContract__factory.ts +201 -0
  148. package/types/factories/DaiEthPriceMockOracle__factory.ts +79 -0
  149. package/types/factories/DecimalsMock__factory.ts +742 -0
  150. package/types/factories/DonationsStaking__factory.ts +554 -0
  151. package/types/factories/ERC165Upgradeable__factory.ts +45 -0
  152. package/types/factories/ERC1967Proxy__factory.ts +130 -0
  153. package/types/factories/ERC1967UpgradeUpgradeable__factory.ts +75 -0
  154. package/types/factories/ERC1967Upgrade__factory.ts +71 -0
  155. package/types/factories/ERC20BurnableUpgradeable__factory.ts +331 -0
  156. package/types/factories/ERC20PausableUpgradeable__factory.ts +339 -0
  157. package/types/factories/ERC20PresetMinterPauserUpgradeable__factory.ts +733 -0
  158. package/types/factories/ERC20Upgradeable__factory.ts +332 -0
  159. package/types/factories/ERC20__factory.ts +272 -0
  160. package/types/factories/EthUSDMockOracle__factory.ts +108 -0
  161. package/types/factories/ExchangeHelper__factory.ts +401 -0
  162. package/types/factories/GReputation__factory.ts +1415 -0
  163. package/types/factories/GasPriceMockOracle__factory.ts +75 -0
  164. package/types/factories/GlobalConstraintInterface__factory.ts +72 -0
  165. package/types/factories/GoodAaveStakingV2__factory.ts +1227 -0
  166. package/types/factories/GoodAaveStaking__factory.ts +1263 -0
  167. package/types/factories/GoodCompoundStakingTest__factory.ts +1457 -0
  168. package/types/factories/GoodCompoundStakingV2__factory.ts +1169 -0
  169. package/types/factories/GoodCompoundStaking__factory.ts +1303 -0
  170. package/types/factories/GoodFundManagerTest__factory.ts +775 -0
  171. package/types/factories/GoodFundManager__factory.ts +733 -0
  172. package/types/factories/GoodMarketMaker__factory.ts +661 -0
  173. package/types/factories/GoodReserveCDai__factory.ts +1391 -0
  174. package/types/factories/GovernanceStaking__factory.ts +922 -0
  175. package/types/factories/IAaveIncentivesController__factory.ts +83 -0
  176. package/types/factories/IAccessControlEnumerableUpgradeable__factory.ts +247 -0
  177. package/types/factories/IAccessControlUpgradeable__factory.ts +202 -0
  178. package/types/factories/IAdminWallet__factory.ts +75 -0
  179. package/types/factories/IBeaconUpgradeable__factory.ts +39 -0
  180. package/types/factories/IBeacon__factory.ts +36 -0
  181. package/types/factories/IDonationStaking__factory.ts +33 -0
  182. package/types/factories/IERC165Upgradeable__factory.ts +45 -0
  183. package/types/factories/IERC1822Proxiable__factory.ts +39 -0
  184. package/types/factories/IERC20MetadataUpgradeable__factory.ts +252 -0
  185. package/types/factories/IERC20Upgradeable__factory.ts +209 -0
  186. package/types/factories/IERC2917__factory.ts +480 -0
  187. package/types/factories/IFirstClaimPool__factory.ts +58 -0
  188. package/types/factories/IGoodDollar__factory.ts +411 -0
  189. package/types/factories/IGoodStaking__factory.ts +175 -0
  190. package/types/factories/IHasRouter__factory.ts +36 -0
  191. package/types/factories/IIdentity__factory.ts +150 -0
  192. package/types/factories/ILendingPool__factory.ts +168 -0
  193. package/types/factories/INameService__factory.ts +42 -0
  194. package/types/factories/IUBIScheme__factory.ts +68 -0
  195. package/types/factories/IncentiveControllerMock__factory.ts +166 -0
  196. package/types/factories/IntVoteInterface__factory.ts +349 -0
  197. package/types/factories/LendingPoolMock__factory.ts +914 -0
  198. package/types/factories/MultiBaseGovernanceShareField__factory.ts +240 -0
  199. package/types/factories/Multicall__factory.ts +215 -0
  200. package/types/factories/NameService__factory.ts +264 -0
  201. package/types/factories/OldMarketMaker__factory.ts +62 -0
  202. package/types/factories/OverMintTesterRegularStake__factory.ts +156 -0
  203. package/types/factories/OverMintTester__factory.ts +152 -0
  204. package/types/factories/PausableUpgradeable__factory.ts +65 -0
  205. package/types/factories/ProtocolUpgradeFuseRecover__factory.ts +146 -0
  206. package/types/factories/ProtocolUpgradeFuse__factory.ts +142 -0
  207. package/types/factories/ProtocolUpgradeRecover__factory.ts +184 -0
  208. package/types/factories/ProtocolUpgrade__factory.ts +207 -0
  209. package/types/factories/ProxyAdmin__factory.ts +105 -0
  210. package/types/factories/ProxyFactory1967__factory.ts +223 -0
  211. package/types/factories/Proxy__factory.ts +28 -0
  212. package/types/factories/ReputationInterface__factory.ts +168 -0
  213. package/types/factories/ReputationTestHelper__factory.ts +141 -0
  214. package/types/factories/Reputation__factory.ts +667 -0
  215. package/types/factories/Reserve__factory.ts +52 -0
  216. package/types/factories/SchemeRegistrar__factory.ts +114 -0
  217. package/types/factories/SimpleStakingV2__factory.ts +986 -0
  218. package/types/factories/SimpleStaking__factory.ts +1045 -0
  219. package/types/factories/SixteenDecimalsTokenMock__factory.ts +734 -0
  220. package/types/factories/StakersDistribution__factory.ts +591 -0
  221. package/types/factories/Staking__factory.ts +74 -0
  222. package/types/factories/SwapHelperTest__factory.ts +96 -0
  223. package/types/factories/TwentyDecimalsTokenMock__factory.ts +734 -0
  224. package/types/factories/UBIScheme__factory.ts +969 -0
  225. package/types/factories/USDCMock__factory.ts +727 -0
  226. package/types/factories/UUPSUpgradeable__factory.ts +102 -0
  227. package/types/factories/UniswapFactory__factory.ts +50 -0
  228. package/types/factories/UniswapPair__factory.ts +117 -0
  229. package/types/factories/UniswapV2SwapHelper__factory.ts +101 -0
  230. package/types/factories/Uniswap__factory.ts +272 -0
  231. package/types/factories/UpgradableMock2__factory.ts +210 -0
  232. package/types/factories/UpgradableMock3__factory.ts +223 -0
  233. package/types/factories/UpgradableMock4__factory.ts +223 -0
  234. package/types/factories/UpgradableMock__factory.ts +236 -0
  235. package/types/hardhat.d.ts +1077 -0
  236. package/types/index.ts +236 -0
@@ -0,0 +1,130 @@
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 { ERC1967Proxy, ERC1967ProxyInterface } from "../ERC1967Proxy";
8
+
9
+ const _abi = [
10
+ {
11
+ anonymous: false,
12
+ inputs: [
13
+ {
14
+ indexed: false,
15
+ internalType: "address",
16
+ name: "previousAdmin",
17
+ type: "address",
18
+ },
19
+ {
20
+ indexed: false,
21
+ internalType: "address",
22
+ name: "newAdmin",
23
+ type: "address",
24
+ },
25
+ ],
26
+ name: "AdminChanged",
27
+ type: "event",
28
+ },
29
+ {
30
+ anonymous: false,
31
+ inputs: [
32
+ {
33
+ indexed: true,
34
+ internalType: "address",
35
+ name: "beacon",
36
+ type: "address",
37
+ },
38
+ ],
39
+ name: "BeaconUpgraded",
40
+ type: "event",
41
+ },
42
+ {
43
+ anonymous: false,
44
+ inputs: [
45
+ {
46
+ indexed: true,
47
+ internalType: "address",
48
+ name: "implementation",
49
+ type: "address",
50
+ },
51
+ ],
52
+ name: "Upgraded",
53
+ type: "event",
54
+ },
55
+ {
56
+ stateMutability: "payable",
57
+ type: "fallback",
58
+ },
59
+ {
60
+ inputs: [
61
+ {
62
+ internalType: "address",
63
+ name: "_logic",
64
+ type: "address",
65
+ },
66
+ {
67
+ internalType: "bytes",
68
+ name: "_data",
69
+ type: "bytes",
70
+ },
71
+ ],
72
+ name: "initialize",
73
+ outputs: [],
74
+ stateMutability: "payable",
75
+ type: "function",
76
+ },
77
+ {
78
+ stateMutability: "payable",
79
+ type: "receive",
80
+ },
81
+ ];
82
+
83
+ const _bytecode =
84
+ "0x608060405234801561001057600080fd5b506105a3806100206000396000f3fe6080604052600436106100225760003560e01c8063d1f578941461003957610031565b366100315761002f61004c565b005b61002f61004c565b61002f6100473660046103e0565b61005e565b61005c61005761013d565b61014c565b565b6000610068610170565b6001600160a01b0316146100b15760405162461bcd60e51b815260206004820152600b60248201526a1a5b9a5d1a585b1a5e995960aa1b60448201526064015b60405180910390fd5b6100dc60017f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbd610470565b600080516020610527833981519152146100f8576100f8610495565b6101388383838080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250925061018c915050565b505050565b6000610147610170565b905090565b3660008037600080366000845af43d6000803e80801561016b573d6000f35b3d6000fd5b600080516020610527833981519152546001600160a01b031690565b610195836101b7565b6000825111806101a25750805b15610138576101b183836101f7565b50505050565b6101c081610223565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b606061021c8383604051806060016040528060278152602001610547602791396102bd565b9392505050565b61022c81610398565b61028e5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084016100a8565b60008051602061052783398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b60606102c884610398565b6103235760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084016100a8565b600080856001600160a01b03168560405161033e91906104d7565b600060405180830381855af49150503d8060008114610379576040519150601f19603f3d011682016040523d82523d6000602084013e61037e565b606091505b509150915061038e8282866103a7565b9695505050505050565b6001600160a01b03163b151590565b606083156103b657508161021c565b8251156103c65782518084602001fd5b8160405162461bcd60e51b81526004016100a891906104f3565b6000806000604084860312156103f557600080fd5b83356001600160a01b038116811461040c57600080fd5b925060208401356001600160401b038082111561042857600080fd5b818601915086601f83011261043c57600080fd5b81358181111561044b57600080fd5b87602082850101111561045d57600080fd5b6020830194508093505050509250925092565b60008282101561049057634e487b7160e01b600052601160045260246000fd5b500390565b634e487b7160e01b600052600160045260246000fd5b60005b838110156104c65781810151838201526020016104ae565b838111156101b15750506000910152565b600082516104e98184602087016104ab565b9190910192915050565b60208152600082518060208401526105128160408501602087016104ab565b601f01601f1916919091016040019291505056fe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220859dac0560f70effb099541786da94ecb702f189a8b02ff16bfd17936e03c51a64736f6c63430008080033";
85
+
86
+ type ERC1967ProxyConstructorParams =
87
+ | [signer?: Signer]
88
+ | ConstructorParameters<typeof ContractFactory>;
89
+
90
+ const isSuperArgs = (
91
+ xs: ERC1967ProxyConstructorParams
92
+ ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
93
+
94
+ export class ERC1967Proxy__factory extends ContractFactory {
95
+ constructor(...args: ERC1967ProxyConstructorParams) {
96
+ if (isSuperArgs(args)) {
97
+ super(...args);
98
+ } else {
99
+ super(_abi, _bytecode, args[0]);
100
+ }
101
+ }
102
+
103
+ deploy(
104
+ overrides?: Overrides & { from?: string | Promise<string> }
105
+ ): Promise<ERC1967Proxy> {
106
+ return super.deploy(overrides || {}) as Promise<ERC1967Proxy>;
107
+ }
108
+ getDeployTransaction(
109
+ overrides?: Overrides & { from?: string | Promise<string> }
110
+ ): TransactionRequest {
111
+ return super.getDeployTransaction(overrides || {});
112
+ }
113
+ attach(address: string): ERC1967Proxy {
114
+ return super.attach(address) as ERC1967Proxy;
115
+ }
116
+ connect(signer: Signer): ERC1967Proxy__factory {
117
+ return super.connect(signer) as ERC1967Proxy__factory;
118
+ }
119
+ static readonly bytecode = _bytecode;
120
+ static readonly abi = _abi;
121
+ static createInterface(): ERC1967ProxyInterface {
122
+ return new utils.Interface(_abi) as ERC1967ProxyInterface;
123
+ }
124
+ static connect(
125
+ address: string,
126
+ signerOrProvider: Signer | Provider
127
+ ): ERC1967Proxy {
128
+ return new Contract(address, _abi, signerOrProvider) as ERC1967Proxy;
129
+ }
130
+ }
@@ -0,0 +1,75 @@
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
+ ERC1967UpgradeUpgradeable,
9
+ ERC1967UpgradeUpgradeableInterface,
10
+ } from "../ERC1967UpgradeUpgradeable";
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
+
60
+ export class ERC1967UpgradeUpgradeable__factory {
61
+ static readonly abi = _abi;
62
+ static createInterface(): ERC1967UpgradeUpgradeableInterface {
63
+ return new utils.Interface(_abi) as ERC1967UpgradeUpgradeableInterface;
64
+ }
65
+ static connect(
66
+ address: string,
67
+ signerOrProvider: Signer | Provider
68
+ ): ERC1967UpgradeUpgradeable {
69
+ return new Contract(
70
+ address,
71
+ _abi,
72
+ signerOrProvider
73
+ ) as ERC1967UpgradeUpgradeable;
74
+ }
75
+ }
@@ -0,0 +1,71 @@
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
+ ERC1967Upgrade,
9
+ ERC1967UpgradeInterface,
10
+ } from "../ERC1967Upgrade";
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
+
60
+ export class ERC1967Upgrade__factory {
61
+ static readonly abi = _abi;
62
+ static createInterface(): ERC1967UpgradeInterface {
63
+ return new utils.Interface(_abi) as ERC1967UpgradeInterface;
64
+ }
65
+ static connect(
66
+ address: string,
67
+ signerOrProvider: Signer | Provider
68
+ ): ERC1967Upgrade {
69
+ return new Contract(address, _abi, signerOrProvider) as ERC1967Upgrade;
70
+ }
71
+ }
@@ -0,0 +1,331 @@
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
+ ERC20BurnableUpgradeable,
9
+ ERC20BurnableUpgradeableInterface,
10
+ } from "../ERC20BurnableUpgradeable";
11
+
12
+ const _abi = [
13
+ {
14
+ anonymous: false,
15
+ inputs: [
16
+ {
17
+ indexed: true,
18
+ internalType: "address",
19
+ name: "owner",
20
+ type: "address",
21
+ },
22
+ {
23
+ indexed: true,
24
+ internalType: "address",
25
+ name: "spender",
26
+ type: "address",
27
+ },
28
+ {
29
+ indexed: false,
30
+ internalType: "uint256",
31
+ name: "value",
32
+ type: "uint256",
33
+ },
34
+ ],
35
+ name: "Approval",
36
+ type: "event",
37
+ },
38
+ {
39
+ anonymous: false,
40
+ inputs: [
41
+ {
42
+ indexed: true,
43
+ internalType: "address",
44
+ name: "from",
45
+ type: "address",
46
+ },
47
+ {
48
+ indexed: true,
49
+ internalType: "address",
50
+ name: "to",
51
+ type: "address",
52
+ },
53
+ {
54
+ indexed: false,
55
+ internalType: "uint256",
56
+ name: "value",
57
+ type: "uint256",
58
+ },
59
+ ],
60
+ name: "Transfer",
61
+ type: "event",
62
+ },
63
+ {
64
+ inputs: [
65
+ {
66
+ internalType: "address",
67
+ name: "owner",
68
+ type: "address",
69
+ },
70
+ {
71
+ internalType: "address",
72
+ name: "spender",
73
+ type: "address",
74
+ },
75
+ ],
76
+ name: "allowance",
77
+ outputs: [
78
+ {
79
+ internalType: "uint256",
80
+ name: "",
81
+ type: "uint256",
82
+ },
83
+ ],
84
+ stateMutability: "view",
85
+ type: "function",
86
+ },
87
+ {
88
+ inputs: [
89
+ {
90
+ internalType: "address",
91
+ name: "spender",
92
+ type: "address",
93
+ },
94
+ {
95
+ internalType: "uint256",
96
+ name: "amount",
97
+ type: "uint256",
98
+ },
99
+ ],
100
+ name: "approve",
101
+ outputs: [
102
+ {
103
+ internalType: "bool",
104
+ name: "",
105
+ type: "bool",
106
+ },
107
+ ],
108
+ stateMutability: "nonpayable",
109
+ type: "function",
110
+ },
111
+ {
112
+ inputs: [
113
+ {
114
+ internalType: "address",
115
+ name: "account",
116
+ type: "address",
117
+ },
118
+ ],
119
+ name: "balanceOf",
120
+ outputs: [
121
+ {
122
+ internalType: "uint256",
123
+ name: "",
124
+ type: "uint256",
125
+ },
126
+ ],
127
+ stateMutability: "view",
128
+ type: "function",
129
+ },
130
+ {
131
+ inputs: [
132
+ {
133
+ internalType: "uint256",
134
+ name: "amount",
135
+ type: "uint256",
136
+ },
137
+ ],
138
+ name: "burn",
139
+ outputs: [],
140
+ stateMutability: "nonpayable",
141
+ type: "function",
142
+ },
143
+ {
144
+ inputs: [
145
+ {
146
+ internalType: "address",
147
+ name: "account",
148
+ type: "address",
149
+ },
150
+ {
151
+ internalType: "uint256",
152
+ name: "amount",
153
+ type: "uint256",
154
+ },
155
+ ],
156
+ name: "burnFrom",
157
+ outputs: [],
158
+ stateMutability: "nonpayable",
159
+ type: "function",
160
+ },
161
+ {
162
+ inputs: [],
163
+ name: "decimals",
164
+ outputs: [
165
+ {
166
+ internalType: "uint8",
167
+ name: "",
168
+ type: "uint8",
169
+ },
170
+ ],
171
+ stateMutability: "view",
172
+ type: "function",
173
+ },
174
+ {
175
+ inputs: [
176
+ {
177
+ internalType: "address",
178
+ name: "spender",
179
+ type: "address",
180
+ },
181
+ {
182
+ internalType: "uint256",
183
+ name: "subtractedValue",
184
+ type: "uint256",
185
+ },
186
+ ],
187
+ name: "decreaseAllowance",
188
+ outputs: [
189
+ {
190
+ internalType: "bool",
191
+ name: "",
192
+ type: "bool",
193
+ },
194
+ ],
195
+ stateMutability: "nonpayable",
196
+ type: "function",
197
+ },
198
+ {
199
+ inputs: [
200
+ {
201
+ internalType: "address",
202
+ name: "spender",
203
+ type: "address",
204
+ },
205
+ {
206
+ internalType: "uint256",
207
+ name: "addedValue",
208
+ type: "uint256",
209
+ },
210
+ ],
211
+ name: "increaseAllowance",
212
+ outputs: [
213
+ {
214
+ internalType: "bool",
215
+ name: "",
216
+ type: "bool",
217
+ },
218
+ ],
219
+ stateMutability: "nonpayable",
220
+ type: "function",
221
+ },
222
+ {
223
+ inputs: [],
224
+ name: "name",
225
+ outputs: [
226
+ {
227
+ internalType: "string",
228
+ name: "",
229
+ type: "string",
230
+ },
231
+ ],
232
+ stateMutability: "view",
233
+ type: "function",
234
+ },
235
+ {
236
+ inputs: [],
237
+ name: "symbol",
238
+ outputs: [
239
+ {
240
+ internalType: "string",
241
+ name: "",
242
+ type: "string",
243
+ },
244
+ ],
245
+ stateMutability: "view",
246
+ type: "function",
247
+ },
248
+ {
249
+ inputs: [],
250
+ name: "totalSupply",
251
+ outputs: [
252
+ {
253
+ internalType: "uint256",
254
+ name: "",
255
+ type: "uint256",
256
+ },
257
+ ],
258
+ stateMutability: "view",
259
+ type: "function",
260
+ },
261
+ {
262
+ inputs: [
263
+ {
264
+ internalType: "address",
265
+ name: "recipient",
266
+ type: "address",
267
+ },
268
+ {
269
+ internalType: "uint256",
270
+ name: "amount",
271
+ type: "uint256",
272
+ },
273
+ ],
274
+ name: "transfer",
275
+ outputs: [
276
+ {
277
+ internalType: "bool",
278
+ name: "",
279
+ type: "bool",
280
+ },
281
+ ],
282
+ stateMutability: "nonpayable",
283
+ type: "function",
284
+ },
285
+ {
286
+ inputs: [
287
+ {
288
+ internalType: "address",
289
+ name: "sender",
290
+ type: "address",
291
+ },
292
+ {
293
+ internalType: "address",
294
+ name: "recipient",
295
+ type: "address",
296
+ },
297
+ {
298
+ internalType: "uint256",
299
+ name: "amount",
300
+ type: "uint256",
301
+ },
302
+ ],
303
+ name: "transferFrom",
304
+ outputs: [
305
+ {
306
+ internalType: "bool",
307
+ name: "",
308
+ type: "bool",
309
+ },
310
+ ],
311
+ stateMutability: "nonpayable",
312
+ type: "function",
313
+ },
314
+ ];
315
+
316
+ export class ERC20BurnableUpgradeable__factory {
317
+ static readonly abi = _abi;
318
+ static createInterface(): ERC20BurnableUpgradeableInterface {
319
+ return new utils.Interface(_abi) as ERC20BurnableUpgradeableInterface;
320
+ }
321
+ static connect(
322
+ address: string,
323
+ signerOrProvider: Signer | Provider
324
+ ): ERC20BurnableUpgradeable {
325
+ return new Contract(
326
+ address,
327
+ _abi,
328
+ signerOrProvider
329
+ ) as ERC20BurnableUpgradeable;
330
+ }
331
+ }