@gooddollar/goodcollective-contracts 1.0.0 → 1.0.2

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 (180) hide show
  1. package/contracts/DirectPayments/DirectPaymentsPool.sol +12 -2
  2. package/contracts/GoodCollective/GoodCollectiveSuperApp.sol +264 -0
  3. package/contracts/GoodCollective/SuperAppBaseFlow.sol +204 -0
  4. package/contracts/utils/SwapRouterMock.sol +32 -0
  5. package/package.json +7 -2
  6. package/releases/deployment.json +7984 -2746
  7. package/typechain-types/@gooddollar/goodprotocol/contracts/Interfaces.sol/AggregatorV3Interface.ts +199 -0
  8. package/typechain-types/@gooddollar/goodprotocol/contracts/Interfaces.sol/CERC20.ts +630 -0
  9. package/typechain-types/@gooddollar/goodprotocol/contracts/Interfaces.sol/ERC20.ts +450 -0
  10. package/typechain-types/@gooddollar/goodprotocol/contracts/Interfaces.sol/IAaveIncentivesController.ts +161 -0
  11. package/typechain-types/@gooddollar/goodprotocol/contracts/Interfaces.sol/IAdminWallet.ts +189 -0
  12. package/typechain-types/@gooddollar/goodprotocol/contracts/Interfaces.sol/IDonationStaking.ts +98 -0
  13. package/typechain-types/@gooddollar/goodprotocol/contracts/Interfaces.sol/IERC2917.ts +750 -0
  14. package/typechain-types/@gooddollar/goodprotocol/contracts/Interfaces.sol/IFirstClaimPool.ts +144 -0
  15. package/typechain-types/@gooddollar/goodprotocol/contracts/Interfaces.sol/IGoodDollar.ts +1033 -0
  16. package/typechain-types/@gooddollar/goodprotocol/contracts/Interfaces.sol/IGoodStaking.ts +281 -0
  17. package/typechain-types/@gooddollar/goodprotocol/contracts/Interfaces.sol/IHasRouter.ts +81 -0
  18. package/typechain-types/@gooddollar/goodprotocol/contracts/Interfaces.sol/IIdentity.ts +598 -0
  19. package/typechain-types/@gooddollar/goodprotocol/contracts/Interfaces.sol/IIdentityV2.ts +689 -0
  20. package/typechain-types/@gooddollar/goodprotocol/contracts/Interfaces.sol/ILendingPool.ts +257 -0
  21. package/typechain-types/@gooddollar/goodprotocol/contracts/Interfaces.sol/IMultichainRouter.ts +179 -0
  22. package/typechain-types/@gooddollar/goodprotocol/contracts/Interfaces.sol/INameService.ts +100 -0
  23. package/typechain-types/@gooddollar/goodprotocol/contracts/Interfaces.sol/IUBIScheme.ts +137 -0
  24. package/typechain-types/@gooddollar/goodprotocol/contracts/Interfaces.sol/ProxyAdmin.ts +278 -0
  25. package/typechain-types/@gooddollar/goodprotocol/contracts/Interfaces.sol/Reserve.ts +117 -0
  26. package/typechain-types/@gooddollar/goodprotocol/contracts/Interfaces.sol/Staking.ts +175 -0
  27. package/typechain-types/@gooddollar/goodprotocol/contracts/Interfaces.sol/Uniswap.ts +464 -0
  28. package/typechain-types/@gooddollar/goodprotocol/contracts/Interfaces.sol/UniswapFactory.ts +105 -0
  29. package/typechain-types/@gooddollar/goodprotocol/contracts/Interfaces.sol/UniswapPair.ts +209 -0
  30. package/typechain-types/@gooddollar/goodprotocol/contracts/Interfaces.sol/index.ts +26 -0
  31. package/typechain-types/@gooddollar/goodprotocol/contracts/index.ts +7 -0
  32. package/typechain-types/@gooddollar/goodprotocol/contracts/token/FeesFormula.sol/IFeesFormula.ts +115 -0
  33. package/typechain-types/@gooddollar/goodprotocol/contracts/token/FeesFormula.sol/index.ts +4 -0
  34. package/typechain-types/@gooddollar/goodprotocol/contracts/token/index.ts +7 -0
  35. package/typechain-types/@gooddollar/goodprotocol/contracts/token/superfluid/ISuperGoodDollar.sol/IGoodDollarCustom.ts +726 -0
  36. package/typechain-types/@gooddollar/goodprotocol/contracts/token/superfluid/ISuperGoodDollar.sol/ISuperGoodDollar.ts +3662 -0
  37. package/typechain-types/@gooddollar/goodprotocol/contracts/token/superfluid/ISuperGoodDollar.sol/index.ts +5 -0
  38. package/typechain-types/@gooddollar/goodprotocol/contracts/token/superfluid/index.ts +5 -0
  39. package/typechain-types/@gooddollar/goodprotocol/index.ts +5 -0
  40. package/typechain-types/@gooddollar/index.ts +5 -0
  41. package/typechain-types/@openzeppelin/contracts/index.ts +4 -0
  42. package/typechain-types/@openzeppelin/contracts/token/ERC20/IERC20.ts +342 -0
  43. package/typechain-types/@openzeppelin/contracts/token/ERC20/index.ts +4 -0
  44. package/typechain-types/@openzeppelin/contracts/token/ERC721/IERC721.ts +559 -0
  45. package/typechain-types/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.ts +619 -0
  46. package/typechain-types/@openzeppelin/contracts/token/ERC721/extensions/index.ts +4 -0
  47. package/typechain-types/@openzeppelin/contracts/token/ERC721/index.ts +6 -0
  48. package/typechain-types/@openzeppelin/contracts/token/ERC777/IERC777.ts +650 -0
  49. package/typechain-types/@openzeppelin/contracts/token/ERC777/index.ts +4 -0
  50. package/typechain-types/@openzeppelin/contracts/token/index.ts +9 -0
  51. package/typechain-types/@openzeppelin/contracts/utils/index.ts +5 -0
  52. package/typechain-types/@openzeppelin/contracts/utils/introspection/IERC165.ts +103 -0
  53. package/typechain-types/@openzeppelin/contracts/utils/introspection/index.ts +4 -0
  54. package/typechain-types/@superfluid-finance/ethereum-contracts/contracts/index.ts +5 -0
  55. package/typechain-types/@superfluid-finance/ethereum-contracts/contracts/interfaces/agreements/IConstantFlowAgreementV1.ts +1390 -0
  56. package/typechain-types/@superfluid-finance/ethereum-contracts/contracts/interfaces/agreements/IInstantDistributionAgreementV1.ts +1280 -0
  57. package/typechain-types/@superfluid-finance/ethereum-contracts/contracts/interfaces/agreements/index.ts +5 -0
  58. package/typechain-types/@superfluid-finance/ethereum-contracts/contracts/interfaces/index.ts +9 -0
  59. package/typechain-types/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/IConstantInflowNFT.ts +876 -0
  60. package/typechain-types/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/IConstantOutflowNFT.ts +945 -0
  61. package/typechain-types/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/IFlowNFTBase.ts +807 -0
  62. package/typechain-types/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/ISuperAgreement.ts +157 -0
  63. package/typechain-types/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/ISuperApp.ts +457 -0
  64. package/typechain-types/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/ISuperToken.ts +2806 -0
  65. package/typechain-types/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/ISuperTokenFactory.ts +465 -0
  66. package/typechain-types/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/ISuperfluid.ts +1727 -0
  67. package/typechain-types/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/ISuperfluidGovernance.ts +506 -0
  68. package/typechain-types/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/ISuperfluidToken.ts +1010 -0
  69. package/typechain-types/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/index.ts +13 -0
  70. package/typechain-types/@superfluid-finance/ethereum-contracts/contracts/interfaces/tokens/ERC20WithTokenInfo.ts +384 -0
  71. package/typechain-types/@superfluid-finance/ethereum-contracts/contracts/interfaces/tokens/TokenInfo.ts +109 -0
  72. package/typechain-types/@superfluid-finance/ethereum-contracts/contracts/interfaces/tokens/index.ts +5 -0
  73. package/typechain-types/@superfluid-finance/ethereum-contracts/index.ts +5 -0
  74. package/typechain-types/@superfluid-finance/index.ts +5 -0
  75. package/typechain-types/@uniswap/index.ts +7 -0
  76. package/typechain-types/@uniswap/v3-core/contracts/index.ts +5 -0
  77. package/typechain-types/@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.ts +122 -0
  78. package/typechain-types/@uniswap/v3-core/contracts/interfaces/callback/index.ts +4 -0
  79. package/typechain-types/@uniswap/v3-core/contracts/interfaces/index.ts +5 -0
  80. package/typechain-types/@uniswap/v3-core/index.ts +5 -0
  81. package/typechain-types/@uniswap/v3-periphery/contracts/index.ts +5 -0
  82. package/typechain-types/@uniswap/v3-periphery/contracts/interfaces/ISwapRouter.ts +369 -0
  83. package/typechain-types/@uniswap/v3-periphery/contracts/interfaces/index.ts +4 -0
  84. package/typechain-types/@uniswap/v3-periphery/index.ts +5 -0
  85. package/typechain-types/contracts/DirectPayments/DirectPaymentsPool.sol/DirectPaymentsPool.ts +763 -0
  86. package/typechain-types/contracts/GoodCollective/GoodCollectiveSuperApp.ts +843 -0
  87. package/typechain-types/contracts/GoodCollective/SuperAppBaseFlow.ts +523 -0
  88. package/typechain-types/contracts/GoodCollective/index.ts +5 -0
  89. package/typechain-types/contracts/index.ts +4 -1
  90. package/typechain-types/contracts/utils/SwapRouterMock.ts +194 -0
  91. package/typechain-types/contracts/utils/index.ts +4 -0
  92. package/typechain-types/factories/@gooddollar/goodprotocol/contracts/Interfaces.sol/AggregatorV3Interface__factory.ts +121 -0
  93. package/typechain-types/factories/@gooddollar/goodprotocol/contracts/Interfaces.sol/CERC20__factory.ts +384 -0
  94. package/typechain-types/factories/@gooddollar/goodprotocol/contracts/Interfaces.sol/ERC20__factory.ts +288 -0
  95. package/typechain-types/factories/@gooddollar/goodprotocol/contracts/Interfaces.sol/IAaveIncentivesController__factory.ts +83 -0
  96. package/typechain-types/factories/@gooddollar/goodprotocol/contracts/Interfaces.sol/IAdminWallet__factory.ts +78 -0
  97. package/typechain-types/factories/@gooddollar/goodprotocol/contracts/Interfaces.sol/IDonationStaking__factory.ts +33 -0
  98. package/typechain-types/factories/@gooddollar/goodprotocol/contracts/Interfaces.sol/IERC2917__factory.ts +496 -0
  99. package/typechain-types/factories/@gooddollar/goodprotocol/contracts/Interfaces.sol/IFirstClaimPool__factory.ts +65 -0
  100. package/typechain-types/factories/@gooddollar/goodprotocol/contracts/Interfaces.sol/IGoodDollar__factory.ts +598 -0
  101. package/typechain-types/factories/@gooddollar/goodprotocol/contracts/Interfaces.sol/IGoodStaking__factory.ts +178 -0
  102. package/typechain-types/factories/@gooddollar/goodprotocol/contracts/Interfaces.sol/IHasRouter__factory.ts +39 -0
  103. package/typechain-types/factories/@gooddollar/goodprotocol/contracts/Interfaces.sol/IIdentityV2__factory.ts +334 -0
  104. package/typechain-types/factories/@gooddollar/goodprotocol/contracts/Interfaces.sol/IIdentity__factory.ts +287 -0
  105. package/typechain-types/factories/@gooddollar/goodprotocol/contracts/Interfaces.sol/ILendingPool__factory.ts +171 -0
  106. package/typechain-types/factories/@gooddollar/goodprotocol/contracts/Interfaces.sol/IMultichainRouter__factory.ts +82 -0
  107. package/typechain-types/factories/@gooddollar/goodprotocol/contracts/Interfaces.sol/INameService__factory.ts +45 -0
  108. package/typechain-types/factories/@gooddollar/goodprotocol/contracts/Interfaces.sol/IUBIScheme__factory.ts +71 -0
  109. package/typechain-types/factories/@gooddollar/goodprotocol/contracts/Interfaces.sol/ProxyAdmin__factory.ts +131 -0
  110. package/typechain-types/factories/@gooddollar/goodprotocol/contracts/Interfaces.sol/Reserve__factory.ts +55 -0
  111. package/typechain-types/factories/@gooddollar/goodprotocol/contracts/Interfaces.sol/Staking__factory.ts +77 -0
  112. package/typechain-types/factories/@gooddollar/goodprotocol/contracts/Interfaces.sol/UniswapFactory__factory.ts +50 -0
  113. package/typechain-types/factories/@gooddollar/goodprotocol/contracts/Interfaces.sol/UniswapPair__factory.ts +120 -0
  114. package/typechain-types/factories/@gooddollar/goodprotocol/contracts/Interfaces.sol/Uniswap__factory.ts +275 -0
  115. package/typechain-types/factories/@gooddollar/goodprotocol/contracts/Interfaces.sol/index.ts +26 -0
  116. package/typechain-types/factories/@gooddollar/goodprotocol/contracts/index.ts +5 -0
  117. package/typechain-types/factories/@gooddollar/goodprotocol/contracts/token/FeesFormula.sol/IFeesFormula__factory.ts +60 -0
  118. package/typechain-types/factories/@gooddollar/goodprotocol/contracts/token/FeesFormula.sol/index.ts +4 -0
  119. package/typechain-types/factories/@gooddollar/goodprotocol/contracts/token/index.ts +5 -0
  120. package/typechain-types/factories/@gooddollar/goodprotocol/contracts/token/superfluid/ISuperGoodDollar.sol/IGoodDollarCustom__factory.ts +370 -0
  121. package/typechain-types/factories/@gooddollar/goodprotocol/contracts/token/superfluid/ISuperGoodDollar.sol/ISuperGoodDollar__factory.ts +2301 -0
  122. package/typechain-types/factories/@gooddollar/goodprotocol/contracts/token/superfluid/ISuperGoodDollar.sol/index.ts +5 -0
  123. package/typechain-types/factories/@gooddollar/goodprotocol/contracts/token/superfluid/index.ts +4 -0
  124. package/typechain-types/factories/@gooddollar/goodprotocol/index.ts +4 -0
  125. package/typechain-types/factories/@gooddollar/index.ts +4 -0
  126. package/typechain-types/factories/@openzeppelin/contracts/index.ts +2 -0
  127. package/typechain-types/factories/@openzeppelin/contracts/token/ERC20/IERC20__factory.ts +206 -0
  128. package/typechain-types/factories/@openzeppelin/contracts/token/ERC20/index.ts +4 -0
  129. package/typechain-types/factories/@openzeppelin/contracts/token/ERC721/IERC721__factory.ts +311 -0
  130. package/typechain-types/factories/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata__factory.ts +356 -0
  131. package/typechain-types/factories/@openzeppelin/contracts/token/ERC721/extensions/index.ts +4 -0
  132. package/typechain-types/factories/@openzeppelin/contracts/token/ERC721/index.ts +5 -0
  133. package/typechain-types/factories/@openzeppelin/contracts/token/ERC777/IERC777__factory.ts +417 -0
  134. package/typechain-types/factories/@openzeppelin/contracts/token/ERC777/index.ts +4 -0
  135. package/typechain-types/factories/@openzeppelin/contracts/token/index.ts +6 -0
  136. package/typechain-types/factories/@openzeppelin/contracts/utils/index.ts +4 -0
  137. package/typechain-types/factories/@openzeppelin/contracts/utils/introspection/IERC165__factory.ts +45 -0
  138. package/typechain-types/factories/@openzeppelin/contracts/utils/introspection/index.ts +4 -0
  139. package/typechain-types/factories/@superfluid-finance/ethereum-contracts/contracts/index.ts +4 -0
  140. package/typechain-types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/agreements/IConstantFlowAgreementV1__factory.ts +986 -0
  141. package/typechain-types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/agreements/IInstantDistributionAgreementV1__factory.ts +1015 -0
  142. package/typechain-types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/agreements/index.ts +5 -0
  143. package/typechain-types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/index.ts +6 -0
  144. package/typechain-types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/IConstantInflowNFT__factory.ts +551 -0
  145. package/typechain-types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/IConstantOutflowNFT__factory.ts +614 -0
  146. package/typechain-types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/IFlowNFTBase__factory.ts +515 -0
  147. package/typechain-types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/ISuperAgreement__factory.ts +78 -0
  148. package/typechain-types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/ISuperApp__factory.ts +275 -0
  149. package/typechain-types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/ISuperTokenFactory__factory.ts +276 -0
  150. package/typechain-types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/ISuperToken__factory.ts +1839 -0
  151. package/typechain-types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/ISuperfluidGovernance__factory.ts +264 -0
  152. package/typechain-types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/ISuperfluidToken__factory.ts +697 -0
  153. package/typechain-types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/ISuperfluid__factory.ts +1151 -0
  154. package/typechain-types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/index.ts +13 -0
  155. package/typechain-types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/tokens/ERC20WithTokenInfo__factory.ts +248 -0
  156. package/typechain-types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/tokens/TokenInfo__factory.ts +65 -0
  157. package/typechain-types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/tokens/index.ts +5 -0
  158. package/typechain-types/factories/@superfluid-finance/ethereum-contracts/index.ts +4 -0
  159. package/typechain-types/factories/@superfluid-finance/index.ts +4 -0
  160. package/typechain-types/factories/@uniswap/index.ts +5 -0
  161. package/typechain-types/factories/@uniswap/v3-core/contracts/index.ts +4 -0
  162. package/typechain-types/factories/@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback__factory.ts +53 -0
  163. package/typechain-types/factories/@uniswap/v3-core/contracts/interfaces/callback/index.ts +4 -0
  164. package/typechain-types/factories/@uniswap/v3-core/contracts/interfaces/index.ts +4 -0
  165. package/typechain-types/factories/@uniswap/v3-core/index.ts +4 -0
  166. package/typechain-types/factories/@uniswap/v3-periphery/contracts/index.ts +4 -0
  167. package/typechain-types/factories/@uniswap/v3-periphery/contracts/interfaces/ISwapRouter__factory.ts +263 -0
  168. package/typechain-types/factories/@uniswap/v3-periphery/contracts/interfaces/index.ts +4 -0
  169. package/typechain-types/factories/@uniswap/v3-periphery/index.ts +4 -0
  170. package/typechain-types/factories/contracts/DirectPayments/DirectPaymentsFactory__factory.ts +1 -1
  171. package/typechain-types/factories/contracts/DirectPayments/DirectPaymentsPool.sol/DirectPaymentsPool__factory.ts +581 -3
  172. package/typechain-types/factories/contracts/GoodCollective/GoodCollectiveSuperApp__factory.ts +584 -0
  173. package/typechain-types/factories/contracts/GoodCollective/SuperAppBaseFlow__factory.ts +335 -0
  174. package/typechain-types/factories/contracts/GoodCollective/index.ts +5 -0
  175. package/typechain-types/factories/contracts/index.ts +2 -1
  176. package/typechain-types/factories/contracts/utils/SwapRouterMock__factory.ts +183 -0
  177. package/typechain-types/factories/contracts/utils/index.ts +4 -0
  178. package/typechain-types/factories/index.ts +3 -0
  179. package/typechain-types/hardhat.d.ts +445 -4
  180. package/typechain-types/index.ts +106 -4
@@ -0,0 +1,209 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import type {
5
+ BaseContract,
6
+ BigNumber,
7
+ BytesLike,
8
+ CallOverrides,
9
+ PopulatedTransaction,
10
+ Signer,
11
+ utils,
12
+ } from "ethers";
13
+ import type { FunctionFragment, Result } from "@ethersproject/abi";
14
+ import type { Listener, Provider } from "@ethersproject/providers";
15
+ import type {
16
+ TypedEventFilter,
17
+ TypedEvent,
18
+ TypedListener,
19
+ OnEvent,
20
+ PromiseOrValue,
21
+ } from "../../../../common";
22
+
23
+ export interface UniswapPairInterface extends utils.Interface {
24
+ functions: {
25
+ "balanceOf(address)": FunctionFragment;
26
+ "getReserves()": FunctionFragment;
27
+ "kLast()": FunctionFragment;
28
+ "token0()": FunctionFragment;
29
+ "token1()": FunctionFragment;
30
+ "totalSupply()": FunctionFragment;
31
+ };
32
+
33
+ getFunction(
34
+ nameOrSignatureOrTopic:
35
+ | "balanceOf"
36
+ | "getReserves"
37
+ | "kLast"
38
+ | "token0"
39
+ | "token1"
40
+ | "totalSupply"
41
+ ): FunctionFragment;
42
+
43
+ encodeFunctionData(
44
+ functionFragment: "balanceOf",
45
+ values: [PromiseOrValue<string>]
46
+ ): string;
47
+ encodeFunctionData(
48
+ functionFragment: "getReserves",
49
+ values?: undefined
50
+ ): string;
51
+ encodeFunctionData(functionFragment: "kLast", values?: undefined): string;
52
+ encodeFunctionData(functionFragment: "token0", values?: undefined): string;
53
+ encodeFunctionData(functionFragment: "token1", values?: undefined): string;
54
+ encodeFunctionData(
55
+ functionFragment: "totalSupply",
56
+ values?: undefined
57
+ ): string;
58
+
59
+ decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
60
+ decodeFunctionResult(
61
+ functionFragment: "getReserves",
62
+ data: BytesLike
63
+ ): Result;
64
+ decodeFunctionResult(functionFragment: "kLast", data: BytesLike): Result;
65
+ decodeFunctionResult(functionFragment: "token0", data: BytesLike): Result;
66
+ decodeFunctionResult(functionFragment: "token1", data: BytesLike): Result;
67
+ decodeFunctionResult(
68
+ functionFragment: "totalSupply",
69
+ data: BytesLike
70
+ ): Result;
71
+
72
+ events: {};
73
+ }
74
+
75
+ export interface UniswapPair extends BaseContract {
76
+ connect(signerOrProvider: Signer | Provider | string): this;
77
+ attach(addressOrName: string): this;
78
+ deployed(): Promise<this>;
79
+
80
+ interface: UniswapPairInterface;
81
+
82
+ queryFilter<TEvent extends TypedEvent>(
83
+ event: TypedEventFilter<TEvent>,
84
+ fromBlockOrBlockhash?: string | number | undefined,
85
+ toBlock?: string | number | undefined
86
+ ): Promise<Array<TEvent>>;
87
+
88
+ listeners<TEvent extends TypedEvent>(
89
+ eventFilter?: TypedEventFilter<TEvent>
90
+ ): Array<TypedListener<TEvent>>;
91
+ listeners(eventName?: string): Array<Listener>;
92
+ removeAllListeners<TEvent extends TypedEvent>(
93
+ eventFilter: TypedEventFilter<TEvent>
94
+ ): this;
95
+ removeAllListeners(eventName?: string): this;
96
+ off: OnEvent<this>;
97
+ on: OnEvent<this>;
98
+ once: OnEvent<this>;
99
+ removeListener: OnEvent<this>;
100
+
101
+ functions: {
102
+ balanceOf(
103
+ owner: PromiseOrValue<string>,
104
+ overrides?: CallOverrides
105
+ ): Promise<[BigNumber]>;
106
+
107
+ getReserves(
108
+ overrides?: CallOverrides
109
+ ): Promise<
110
+ [BigNumber, BigNumber, number] & {
111
+ reserve0: BigNumber;
112
+ reserve1: BigNumber;
113
+ blockTimestampLast: number;
114
+ }
115
+ >;
116
+
117
+ kLast(overrides?: CallOverrides): Promise<[BigNumber]>;
118
+
119
+ token0(overrides?: CallOverrides): Promise<[string]>;
120
+
121
+ token1(overrides?: CallOverrides): Promise<[string]>;
122
+
123
+ totalSupply(overrides?: CallOverrides): Promise<[BigNumber]>;
124
+ };
125
+
126
+ balanceOf(
127
+ owner: PromiseOrValue<string>,
128
+ overrides?: CallOverrides
129
+ ): Promise<BigNumber>;
130
+
131
+ getReserves(
132
+ overrides?: CallOverrides
133
+ ): Promise<
134
+ [BigNumber, BigNumber, number] & {
135
+ reserve0: BigNumber;
136
+ reserve1: BigNumber;
137
+ blockTimestampLast: number;
138
+ }
139
+ >;
140
+
141
+ kLast(overrides?: CallOverrides): Promise<BigNumber>;
142
+
143
+ token0(overrides?: CallOverrides): Promise<string>;
144
+
145
+ token1(overrides?: CallOverrides): Promise<string>;
146
+
147
+ totalSupply(overrides?: CallOverrides): Promise<BigNumber>;
148
+
149
+ callStatic: {
150
+ balanceOf(
151
+ owner: PromiseOrValue<string>,
152
+ overrides?: CallOverrides
153
+ ): Promise<BigNumber>;
154
+
155
+ getReserves(
156
+ overrides?: CallOverrides
157
+ ): Promise<
158
+ [BigNumber, BigNumber, number] & {
159
+ reserve0: BigNumber;
160
+ reserve1: BigNumber;
161
+ blockTimestampLast: number;
162
+ }
163
+ >;
164
+
165
+ kLast(overrides?: CallOverrides): Promise<BigNumber>;
166
+
167
+ token0(overrides?: CallOverrides): Promise<string>;
168
+
169
+ token1(overrides?: CallOverrides): Promise<string>;
170
+
171
+ totalSupply(overrides?: CallOverrides): Promise<BigNumber>;
172
+ };
173
+
174
+ filters: {};
175
+
176
+ estimateGas: {
177
+ balanceOf(
178
+ owner: PromiseOrValue<string>,
179
+ overrides?: CallOverrides
180
+ ): Promise<BigNumber>;
181
+
182
+ getReserves(overrides?: CallOverrides): Promise<BigNumber>;
183
+
184
+ kLast(overrides?: CallOverrides): Promise<BigNumber>;
185
+
186
+ token0(overrides?: CallOverrides): Promise<BigNumber>;
187
+
188
+ token1(overrides?: CallOverrides): Promise<BigNumber>;
189
+
190
+ totalSupply(overrides?: CallOverrides): Promise<BigNumber>;
191
+ };
192
+
193
+ populateTransaction: {
194
+ balanceOf(
195
+ owner: PromiseOrValue<string>,
196
+ overrides?: CallOverrides
197
+ ): Promise<PopulatedTransaction>;
198
+
199
+ getReserves(overrides?: CallOverrides): Promise<PopulatedTransaction>;
200
+
201
+ kLast(overrides?: CallOverrides): Promise<PopulatedTransaction>;
202
+
203
+ token0(overrides?: CallOverrides): Promise<PopulatedTransaction>;
204
+
205
+ token1(overrides?: CallOverrides): Promise<PopulatedTransaction>;
206
+
207
+ totalSupply(overrides?: CallOverrides): Promise<PopulatedTransaction>;
208
+ };
209
+ }
@@ -0,0 +1,26 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ export type { AggregatorV3Interface } from "./AggregatorV3Interface";
5
+ export type { ERC20 } from "./ERC20";
6
+ export type { IAaveIncentivesController } from "./IAaveIncentivesController";
7
+ export type { IAdminWallet } from "./IAdminWallet";
8
+ export type { IDonationStaking } from "./IDonationStaking";
9
+ export type { IERC2917 } from "./IERC2917";
10
+ export type { IFirstClaimPool } from "./IFirstClaimPool";
11
+ export type { IGoodDollar } from "./IGoodDollar";
12
+ export type { IGoodStaking } from "./IGoodStaking";
13
+ export type { IHasRouter } from "./IHasRouter";
14
+ export type { IIdentity } from "./IIdentity";
15
+ export type { IIdentityV2 } from "./IIdentityV2";
16
+ export type { ILendingPool } from "./ILendingPool";
17
+ export type { IMultichainRouter } from "./IMultichainRouter";
18
+ export type { INameService } from "./INameService";
19
+ export type { IUBIScheme } from "./IUBIScheme";
20
+ export type { ProxyAdmin } from "./ProxyAdmin";
21
+ export type { Reserve } from "./Reserve";
22
+ export type { Staking } from "./Staking";
23
+ export type { Uniswap } from "./Uniswap";
24
+ export type { UniswapFactory } from "./UniswapFactory";
25
+ export type { UniswapPair } from "./UniswapPair";
26
+ export type { CERC20 } from "./CERC20";
@@ -0,0 +1,7 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import type * as interfacesSol from "./Interfaces.sol";
5
+ export type { interfacesSol };
6
+ import type * as token from "./token";
7
+ export type { token };
@@ -0,0 +1,115 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import type {
5
+ BaseContract,
6
+ BigNumber,
7
+ BigNumberish,
8
+ BytesLike,
9
+ CallOverrides,
10
+ PopulatedTransaction,
11
+ Signer,
12
+ utils,
13
+ } from "ethers";
14
+ import type { FunctionFragment, Result } from "@ethersproject/abi";
15
+ import type { Listener, Provider } from "@ethersproject/providers";
16
+ import type {
17
+ TypedEventFilter,
18
+ TypedEvent,
19
+ TypedListener,
20
+ OnEvent,
21
+ PromiseOrValue,
22
+ } from "../../../../../common";
23
+
24
+ export interface IFeesFormulaInterface extends utils.Interface {
25
+ functions: {
26
+ "getTxFees(uint256,address,address)": FunctionFragment;
27
+ };
28
+
29
+ getFunction(nameOrSignatureOrTopic: "getTxFees"): FunctionFragment;
30
+
31
+ encodeFunctionData(
32
+ functionFragment: "getTxFees",
33
+ values: [
34
+ PromiseOrValue<BigNumberish>,
35
+ PromiseOrValue<string>,
36
+ PromiseOrValue<string>
37
+ ]
38
+ ): string;
39
+
40
+ decodeFunctionResult(functionFragment: "getTxFees", data: BytesLike): Result;
41
+
42
+ events: {};
43
+ }
44
+
45
+ export interface IFeesFormula extends BaseContract {
46
+ connect(signerOrProvider: Signer | Provider | string): this;
47
+ attach(addressOrName: string): this;
48
+ deployed(): Promise<this>;
49
+
50
+ interface: IFeesFormulaInterface;
51
+
52
+ queryFilter<TEvent extends TypedEvent>(
53
+ event: TypedEventFilter<TEvent>,
54
+ fromBlockOrBlockhash?: string | number | undefined,
55
+ toBlock?: string | number | undefined
56
+ ): Promise<Array<TEvent>>;
57
+
58
+ listeners<TEvent extends TypedEvent>(
59
+ eventFilter?: TypedEventFilter<TEvent>
60
+ ): Array<TypedListener<TEvent>>;
61
+ listeners(eventName?: string): Array<Listener>;
62
+ removeAllListeners<TEvent extends TypedEvent>(
63
+ eventFilter: TypedEventFilter<TEvent>
64
+ ): this;
65
+ removeAllListeners(eventName?: string): this;
66
+ off: OnEvent<this>;
67
+ on: OnEvent<this>;
68
+ once: OnEvent<this>;
69
+ removeListener: OnEvent<this>;
70
+
71
+ functions: {
72
+ getTxFees(
73
+ value: PromiseOrValue<BigNumberish>,
74
+ sender: PromiseOrValue<string>,
75
+ recipient: PromiseOrValue<string>,
76
+ overrides?: CallOverrides
77
+ ): Promise<[BigNumber, boolean] & { fee: BigNumber; senderPays: boolean }>;
78
+ };
79
+
80
+ getTxFees(
81
+ value: PromiseOrValue<BigNumberish>,
82
+ sender: PromiseOrValue<string>,
83
+ recipient: PromiseOrValue<string>,
84
+ overrides?: CallOverrides
85
+ ): Promise<[BigNumber, boolean] & { fee: BigNumber; senderPays: boolean }>;
86
+
87
+ callStatic: {
88
+ getTxFees(
89
+ value: PromiseOrValue<BigNumberish>,
90
+ sender: PromiseOrValue<string>,
91
+ recipient: PromiseOrValue<string>,
92
+ overrides?: CallOverrides
93
+ ): Promise<[BigNumber, boolean] & { fee: BigNumber; senderPays: boolean }>;
94
+ };
95
+
96
+ filters: {};
97
+
98
+ estimateGas: {
99
+ getTxFees(
100
+ value: PromiseOrValue<BigNumberish>,
101
+ sender: PromiseOrValue<string>,
102
+ recipient: PromiseOrValue<string>,
103
+ overrides?: CallOverrides
104
+ ): Promise<BigNumber>;
105
+ };
106
+
107
+ populateTransaction: {
108
+ getTxFees(
109
+ value: PromiseOrValue<BigNumberish>,
110
+ sender: PromiseOrValue<string>,
111
+ recipient: PromiseOrValue<string>,
112
+ overrides?: CallOverrides
113
+ ): Promise<PopulatedTransaction>;
114
+ };
115
+ }
@@ -0,0 +1,4 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ export type { IFeesFormula } from "./IFeesFormula";
@@ -0,0 +1,7 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import type * as feesFormulaSol from "./FeesFormula.sol";
5
+ export type { feesFormulaSol };
6
+ import type * as superfluid from "./superfluid";
7
+ export type { superfluid };