@gooddollar/goodcollective-contracts 1.0.1 → 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 +4 -1
  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,650 @@
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
+ ContractTransaction,
11
+ Overrides,
12
+ PopulatedTransaction,
13
+ Signer,
14
+ utils,
15
+ } from "ethers";
16
+ import type {
17
+ FunctionFragment,
18
+ Result,
19
+ EventFragment,
20
+ } from "@ethersproject/abi";
21
+ import type { Listener, Provider } from "@ethersproject/providers";
22
+ import type {
23
+ TypedEventFilter,
24
+ TypedEvent,
25
+ TypedListener,
26
+ OnEvent,
27
+ PromiseOrValue,
28
+ } from "../../../../common";
29
+
30
+ export interface IERC777Interface extends utils.Interface {
31
+ functions: {
32
+ "authorizeOperator(address)": FunctionFragment;
33
+ "balanceOf(address)": FunctionFragment;
34
+ "burn(uint256,bytes)": FunctionFragment;
35
+ "defaultOperators()": FunctionFragment;
36
+ "granularity()": FunctionFragment;
37
+ "isOperatorFor(address,address)": FunctionFragment;
38
+ "name()": FunctionFragment;
39
+ "operatorBurn(address,uint256,bytes,bytes)": FunctionFragment;
40
+ "operatorSend(address,address,uint256,bytes,bytes)": FunctionFragment;
41
+ "revokeOperator(address)": FunctionFragment;
42
+ "send(address,uint256,bytes)": FunctionFragment;
43
+ "symbol()": FunctionFragment;
44
+ "totalSupply()": FunctionFragment;
45
+ };
46
+
47
+ getFunction(
48
+ nameOrSignatureOrTopic:
49
+ | "authorizeOperator"
50
+ | "balanceOf"
51
+ | "burn"
52
+ | "defaultOperators"
53
+ | "granularity"
54
+ | "isOperatorFor"
55
+ | "name"
56
+ | "operatorBurn"
57
+ | "operatorSend"
58
+ | "revokeOperator"
59
+ | "send"
60
+ | "symbol"
61
+ | "totalSupply"
62
+ ): FunctionFragment;
63
+
64
+ encodeFunctionData(
65
+ functionFragment: "authorizeOperator",
66
+ values: [PromiseOrValue<string>]
67
+ ): string;
68
+ encodeFunctionData(
69
+ functionFragment: "balanceOf",
70
+ values: [PromiseOrValue<string>]
71
+ ): string;
72
+ encodeFunctionData(
73
+ functionFragment: "burn",
74
+ values: [PromiseOrValue<BigNumberish>, PromiseOrValue<BytesLike>]
75
+ ): string;
76
+ encodeFunctionData(
77
+ functionFragment: "defaultOperators",
78
+ values?: undefined
79
+ ): string;
80
+ encodeFunctionData(
81
+ functionFragment: "granularity",
82
+ values?: undefined
83
+ ): string;
84
+ encodeFunctionData(
85
+ functionFragment: "isOperatorFor",
86
+ values: [PromiseOrValue<string>, PromiseOrValue<string>]
87
+ ): string;
88
+ encodeFunctionData(functionFragment: "name", values?: undefined): string;
89
+ encodeFunctionData(
90
+ functionFragment: "operatorBurn",
91
+ values: [
92
+ PromiseOrValue<string>,
93
+ PromiseOrValue<BigNumberish>,
94
+ PromiseOrValue<BytesLike>,
95
+ PromiseOrValue<BytesLike>
96
+ ]
97
+ ): string;
98
+ encodeFunctionData(
99
+ functionFragment: "operatorSend",
100
+ values: [
101
+ PromiseOrValue<string>,
102
+ PromiseOrValue<string>,
103
+ PromiseOrValue<BigNumberish>,
104
+ PromiseOrValue<BytesLike>,
105
+ PromiseOrValue<BytesLike>
106
+ ]
107
+ ): string;
108
+ encodeFunctionData(
109
+ functionFragment: "revokeOperator",
110
+ values: [PromiseOrValue<string>]
111
+ ): string;
112
+ encodeFunctionData(
113
+ functionFragment: "send",
114
+ values: [
115
+ PromiseOrValue<string>,
116
+ PromiseOrValue<BigNumberish>,
117
+ PromiseOrValue<BytesLike>
118
+ ]
119
+ ): string;
120
+ encodeFunctionData(functionFragment: "symbol", values?: undefined): string;
121
+ encodeFunctionData(
122
+ functionFragment: "totalSupply",
123
+ values?: undefined
124
+ ): string;
125
+
126
+ decodeFunctionResult(
127
+ functionFragment: "authorizeOperator",
128
+ data: BytesLike
129
+ ): Result;
130
+ decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
131
+ decodeFunctionResult(functionFragment: "burn", data: BytesLike): Result;
132
+ decodeFunctionResult(
133
+ functionFragment: "defaultOperators",
134
+ data: BytesLike
135
+ ): Result;
136
+ decodeFunctionResult(
137
+ functionFragment: "granularity",
138
+ data: BytesLike
139
+ ): Result;
140
+ decodeFunctionResult(
141
+ functionFragment: "isOperatorFor",
142
+ data: BytesLike
143
+ ): Result;
144
+ decodeFunctionResult(functionFragment: "name", data: BytesLike): Result;
145
+ decodeFunctionResult(
146
+ functionFragment: "operatorBurn",
147
+ data: BytesLike
148
+ ): Result;
149
+ decodeFunctionResult(
150
+ functionFragment: "operatorSend",
151
+ data: BytesLike
152
+ ): Result;
153
+ decodeFunctionResult(
154
+ functionFragment: "revokeOperator",
155
+ data: BytesLike
156
+ ): Result;
157
+ decodeFunctionResult(functionFragment: "send", data: BytesLike): Result;
158
+ decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result;
159
+ decodeFunctionResult(
160
+ functionFragment: "totalSupply",
161
+ data: BytesLike
162
+ ): Result;
163
+
164
+ events: {
165
+ "AuthorizedOperator(address,address)": EventFragment;
166
+ "Burned(address,address,uint256,bytes,bytes)": EventFragment;
167
+ "Minted(address,address,uint256,bytes,bytes)": EventFragment;
168
+ "RevokedOperator(address,address)": EventFragment;
169
+ "Sent(address,address,address,uint256,bytes,bytes)": EventFragment;
170
+ };
171
+
172
+ getEvent(nameOrSignatureOrTopic: "AuthorizedOperator"): EventFragment;
173
+ getEvent(nameOrSignatureOrTopic: "Burned"): EventFragment;
174
+ getEvent(nameOrSignatureOrTopic: "Minted"): EventFragment;
175
+ getEvent(nameOrSignatureOrTopic: "RevokedOperator"): EventFragment;
176
+ getEvent(nameOrSignatureOrTopic: "Sent"): EventFragment;
177
+ }
178
+
179
+ export interface AuthorizedOperatorEventObject {
180
+ operator: string;
181
+ tokenHolder: string;
182
+ }
183
+ export type AuthorizedOperatorEvent = TypedEvent<
184
+ [string, string],
185
+ AuthorizedOperatorEventObject
186
+ >;
187
+
188
+ export type AuthorizedOperatorEventFilter =
189
+ TypedEventFilter<AuthorizedOperatorEvent>;
190
+
191
+ export interface BurnedEventObject {
192
+ operator: string;
193
+ from: string;
194
+ amount: BigNumber;
195
+ data: string;
196
+ operatorData: string;
197
+ }
198
+ export type BurnedEvent = TypedEvent<
199
+ [string, string, BigNumber, string, string],
200
+ BurnedEventObject
201
+ >;
202
+
203
+ export type BurnedEventFilter = TypedEventFilter<BurnedEvent>;
204
+
205
+ export interface MintedEventObject {
206
+ operator: string;
207
+ to: string;
208
+ amount: BigNumber;
209
+ data: string;
210
+ operatorData: string;
211
+ }
212
+ export type MintedEvent = TypedEvent<
213
+ [string, string, BigNumber, string, string],
214
+ MintedEventObject
215
+ >;
216
+
217
+ export type MintedEventFilter = TypedEventFilter<MintedEvent>;
218
+
219
+ export interface RevokedOperatorEventObject {
220
+ operator: string;
221
+ tokenHolder: string;
222
+ }
223
+ export type RevokedOperatorEvent = TypedEvent<
224
+ [string, string],
225
+ RevokedOperatorEventObject
226
+ >;
227
+
228
+ export type RevokedOperatorEventFilter = TypedEventFilter<RevokedOperatorEvent>;
229
+
230
+ export interface SentEventObject {
231
+ operator: string;
232
+ from: string;
233
+ to: string;
234
+ amount: BigNumber;
235
+ data: string;
236
+ operatorData: string;
237
+ }
238
+ export type SentEvent = TypedEvent<
239
+ [string, string, string, BigNumber, string, string],
240
+ SentEventObject
241
+ >;
242
+
243
+ export type SentEventFilter = TypedEventFilter<SentEvent>;
244
+
245
+ export interface IERC777 extends BaseContract {
246
+ connect(signerOrProvider: Signer | Provider | string): this;
247
+ attach(addressOrName: string): this;
248
+ deployed(): Promise<this>;
249
+
250
+ interface: IERC777Interface;
251
+
252
+ queryFilter<TEvent extends TypedEvent>(
253
+ event: TypedEventFilter<TEvent>,
254
+ fromBlockOrBlockhash?: string | number | undefined,
255
+ toBlock?: string | number | undefined
256
+ ): Promise<Array<TEvent>>;
257
+
258
+ listeners<TEvent extends TypedEvent>(
259
+ eventFilter?: TypedEventFilter<TEvent>
260
+ ): Array<TypedListener<TEvent>>;
261
+ listeners(eventName?: string): Array<Listener>;
262
+ removeAllListeners<TEvent extends TypedEvent>(
263
+ eventFilter: TypedEventFilter<TEvent>
264
+ ): this;
265
+ removeAllListeners(eventName?: string): this;
266
+ off: OnEvent<this>;
267
+ on: OnEvent<this>;
268
+ once: OnEvent<this>;
269
+ removeListener: OnEvent<this>;
270
+
271
+ functions: {
272
+ authorizeOperator(
273
+ operator: PromiseOrValue<string>,
274
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
275
+ ): Promise<ContractTransaction>;
276
+
277
+ balanceOf(
278
+ owner: PromiseOrValue<string>,
279
+ overrides?: CallOverrides
280
+ ): Promise<[BigNumber]>;
281
+
282
+ burn(
283
+ amount: PromiseOrValue<BigNumberish>,
284
+ data: PromiseOrValue<BytesLike>,
285
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
286
+ ): Promise<ContractTransaction>;
287
+
288
+ defaultOperators(overrides?: CallOverrides): Promise<[string[]]>;
289
+
290
+ granularity(overrides?: CallOverrides): Promise<[BigNumber]>;
291
+
292
+ isOperatorFor(
293
+ operator: PromiseOrValue<string>,
294
+ tokenHolder: PromiseOrValue<string>,
295
+ overrides?: CallOverrides
296
+ ): Promise<[boolean]>;
297
+
298
+ name(overrides?: CallOverrides): Promise<[string]>;
299
+
300
+ operatorBurn(
301
+ account: PromiseOrValue<string>,
302
+ amount: PromiseOrValue<BigNumberish>,
303
+ data: PromiseOrValue<BytesLike>,
304
+ operatorData: PromiseOrValue<BytesLike>,
305
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
306
+ ): Promise<ContractTransaction>;
307
+
308
+ operatorSend(
309
+ sender: PromiseOrValue<string>,
310
+ recipient: PromiseOrValue<string>,
311
+ amount: PromiseOrValue<BigNumberish>,
312
+ data: PromiseOrValue<BytesLike>,
313
+ operatorData: PromiseOrValue<BytesLike>,
314
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
315
+ ): Promise<ContractTransaction>;
316
+
317
+ revokeOperator(
318
+ operator: PromiseOrValue<string>,
319
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
320
+ ): Promise<ContractTransaction>;
321
+
322
+ send(
323
+ recipient: PromiseOrValue<string>,
324
+ amount: PromiseOrValue<BigNumberish>,
325
+ data: PromiseOrValue<BytesLike>,
326
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
327
+ ): Promise<ContractTransaction>;
328
+
329
+ symbol(overrides?: CallOverrides): Promise<[string]>;
330
+
331
+ totalSupply(overrides?: CallOverrides): Promise<[BigNumber]>;
332
+ };
333
+
334
+ authorizeOperator(
335
+ operator: PromiseOrValue<string>,
336
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
337
+ ): Promise<ContractTransaction>;
338
+
339
+ balanceOf(
340
+ owner: PromiseOrValue<string>,
341
+ overrides?: CallOverrides
342
+ ): Promise<BigNumber>;
343
+
344
+ burn(
345
+ amount: PromiseOrValue<BigNumberish>,
346
+ data: PromiseOrValue<BytesLike>,
347
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
348
+ ): Promise<ContractTransaction>;
349
+
350
+ defaultOperators(overrides?: CallOverrides): Promise<string[]>;
351
+
352
+ granularity(overrides?: CallOverrides): Promise<BigNumber>;
353
+
354
+ isOperatorFor(
355
+ operator: PromiseOrValue<string>,
356
+ tokenHolder: PromiseOrValue<string>,
357
+ overrides?: CallOverrides
358
+ ): Promise<boolean>;
359
+
360
+ name(overrides?: CallOverrides): Promise<string>;
361
+
362
+ operatorBurn(
363
+ account: PromiseOrValue<string>,
364
+ amount: PromiseOrValue<BigNumberish>,
365
+ data: PromiseOrValue<BytesLike>,
366
+ operatorData: PromiseOrValue<BytesLike>,
367
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
368
+ ): Promise<ContractTransaction>;
369
+
370
+ operatorSend(
371
+ sender: PromiseOrValue<string>,
372
+ recipient: PromiseOrValue<string>,
373
+ amount: PromiseOrValue<BigNumberish>,
374
+ data: PromiseOrValue<BytesLike>,
375
+ operatorData: PromiseOrValue<BytesLike>,
376
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
377
+ ): Promise<ContractTransaction>;
378
+
379
+ revokeOperator(
380
+ operator: PromiseOrValue<string>,
381
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
382
+ ): Promise<ContractTransaction>;
383
+
384
+ send(
385
+ recipient: PromiseOrValue<string>,
386
+ amount: PromiseOrValue<BigNumberish>,
387
+ data: PromiseOrValue<BytesLike>,
388
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
389
+ ): Promise<ContractTransaction>;
390
+
391
+ symbol(overrides?: CallOverrides): Promise<string>;
392
+
393
+ totalSupply(overrides?: CallOverrides): Promise<BigNumber>;
394
+
395
+ callStatic: {
396
+ authorizeOperator(
397
+ operator: PromiseOrValue<string>,
398
+ overrides?: CallOverrides
399
+ ): Promise<void>;
400
+
401
+ balanceOf(
402
+ owner: PromiseOrValue<string>,
403
+ overrides?: CallOverrides
404
+ ): Promise<BigNumber>;
405
+
406
+ burn(
407
+ amount: PromiseOrValue<BigNumberish>,
408
+ data: PromiseOrValue<BytesLike>,
409
+ overrides?: CallOverrides
410
+ ): Promise<void>;
411
+
412
+ defaultOperators(overrides?: CallOverrides): Promise<string[]>;
413
+
414
+ granularity(overrides?: CallOverrides): Promise<BigNumber>;
415
+
416
+ isOperatorFor(
417
+ operator: PromiseOrValue<string>,
418
+ tokenHolder: PromiseOrValue<string>,
419
+ overrides?: CallOverrides
420
+ ): Promise<boolean>;
421
+
422
+ name(overrides?: CallOverrides): Promise<string>;
423
+
424
+ operatorBurn(
425
+ account: PromiseOrValue<string>,
426
+ amount: PromiseOrValue<BigNumberish>,
427
+ data: PromiseOrValue<BytesLike>,
428
+ operatorData: PromiseOrValue<BytesLike>,
429
+ overrides?: CallOverrides
430
+ ): Promise<void>;
431
+
432
+ operatorSend(
433
+ sender: PromiseOrValue<string>,
434
+ recipient: PromiseOrValue<string>,
435
+ amount: PromiseOrValue<BigNumberish>,
436
+ data: PromiseOrValue<BytesLike>,
437
+ operatorData: PromiseOrValue<BytesLike>,
438
+ overrides?: CallOverrides
439
+ ): Promise<void>;
440
+
441
+ revokeOperator(
442
+ operator: PromiseOrValue<string>,
443
+ overrides?: CallOverrides
444
+ ): Promise<void>;
445
+
446
+ send(
447
+ recipient: PromiseOrValue<string>,
448
+ amount: PromiseOrValue<BigNumberish>,
449
+ data: PromiseOrValue<BytesLike>,
450
+ overrides?: CallOverrides
451
+ ): Promise<void>;
452
+
453
+ symbol(overrides?: CallOverrides): Promise<string>;
454
+
455
+ totalSupply(overrides?: CallOverrides): Promise<BigNumber>;
456
+ };
457
+
458
+ filters: {
459
+ "AuthorizedOperator(address,address)"(
460
+ operator?: PromiseOrValue<string> | null,
461
+ tokenHolder?: PromiseOrValue<string> | null
462
+ ): AuthorizedOperatorEventFilter;
463
+ AuthorizedOperator(
464
+ operator?: PromiseOrValue<string> | null,
465
+ tokenHolder?: PromiseOrValue<string> | null
466
+ ): AuthorizedOperatorEventFilter;
467
+
468
+ "Burned(address,address,uint256,bytes,bytes)"(
469
+ operator?: PromiseOrValue<string> | null,
470
+ from?: PromiseOrValue<string> | null,
471
+ amount?: null,
472
+ data?: null,
473
+ operatorData?: null
474
+ ): BurnedEventFilter;
475
+ Burned(
476
+ operator?: PromiseOrValue<string> | null,
477
+ from?: PromiseOrValue<string> | null,
478
+ amount?: null,
479
+ data?: null,
480
+ operatorData?: null
481
+ ): BurnedEventFilter;
482
+
483
+ "Minted(address,address,uint256,bytes,bytes)"(
484
+ operator?: PromiseOrValue<string> | null,
485
+ to?: PromiseOrValue<string> | null,
486
+ amount?: null,
487
+ data?: null,
488
+ operatorData?: null
489
+ ): MintedEventFilter;
490
+ Minted(
491
+ operator?: PromiseOrValue<string> | null,
492
+ to?: PromiseOrValue<string> | null,
493
+ amount?: null,
494
+ data?: null,
495
+ operatorData?: null
496
+ ): MintedEventFilter;
497
+
498
+ "RevokedOperator(address,address)"(
499
+ operator?: PromiseOrValue<string> | null,
500
+ tokenHolder?: PromiseOrValue<string> | null
501
+ ): RevokedOperatorEventFilter;
502
+ RevokedOperator(
503
+ operator?: PromiseOrValue<string> | null,
504
+ tokenHolder?: PromiseOrValue<string> | null
505
+ ): RevokedOperatorEventFilter;
506
+
507
+ "Sent(address,address,address,uint256,bytes,bytes)"(
508
+ operator?: PromiseOrValue<string> | null,
509
+ from?: PromiseOrValue<string> | null,
510
+ to?: PromiseOrValue<string> | null,
511
+ amount?: null,
512
+ data?: null,
513
+ operatorData?: null
514
+ ): SentEventFilter;
515
+ Sent(
516
+ operator?: PromiseOrValue<string> | null,
517
+ from?: PromiseOrValue<string> | null,
518
+ to?: PromiseOrValue<string> | null,
519
+ amount?: null,
520
+ data?: null,
521
+ operatorData?: null
522
+ ): SentEventFilter;
523
+ };
524
+
525
+ estimateGas: {
526
+ authorizeOperator(
527
+ operator: PromiseOrValue<string>,
528
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
529
+ ): Promise<BigNumber>;
530
+
531
+ balanceOf(
532
+ owner: PromiseOrValue<string>,
533
+ overrides?: CallOverrides
534
+ ): Promise<BigNumber>;
535
+
536
+ burn(
537
+ amount: PromiseOrValue<BigNumberish>,
538
+ data: PromiseOrValue<BytesLike>,
539
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
540
+ ): Promise<BigNumber>;
541
+
542
+ defaultOperators(overrides?: CallOverrides): Promise<BigNumber>;
543
+
544
+ granularity(overrides?: CallOverrides): Promise<BigNumber>;
545
+
546
+ isOperatorFor(
547
+ operator: PromiseOrValue<string>,
548
+ tokenHolder: PromiseOrValue<string>,
549
+ overrides?: CallOverrides
550
+ ): Promise<BigNumber>;
551
+
552
+ name(overrides?: CallOverrides): Promise<BigNumber>;
553
+
554
+ operatorBurn(
555
+ account: PromiseOrValue<string>,
556
+ amount: PromiseOrValue<BigNumberish>,
557
+ data: PromiseOrValue<BytesLike>,
558
+ operatorData: PromiseOrValue<BytesLike>,
559
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
560
+ ): Promise<BigNumber>;
561
+
562
+ operatorSend(
563
+ sender: PromiseOrValue<string>,
564
+ recipient: PromiseOrValue<string>,
565
+ amount: PromiseOrValue<BigNumberish>,
566
+ data: PromiseOrValue<BytesLike>,
567
+ operatorData: PromiseOrValue<BytesLike>,
568
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
569
+ ): Promise<BigNumber>;
570
+
571
+ revokeOperator(
572
+ operator: PromiseOrValue<string>,
573
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
574
+ ): Promise<BigNumber>;
575
+
576
+ send(
577
+ recipient: PromiseOrValue<string>,
578
+ amount: PromiseOrValue<BigNumberish>,
579
+ data: PromiseOrValue<BytesLike>,
580
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
581
+ ): Promise<BigNumber>;
582
+
583
+ symbol(overrides?: CallOverrides): Promise<BigNumber>;
584
+
585
+ totalSupply(overrides?: CallOverrides): Promise<BigNumber>;
586
+ };
587
+
588
+ populateTransaction: {
589
+ authorizeOperator(
590
+ operator: PromiseOrValue<string>,
591
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
592
+ ): Promise<PopulatedTransaction>;
593
+
594
+ balanceOf(
595
+ owner: PromiseOrValue<string>,
596
+ overrides?: CallOverrides
597
+ ): Promise<PopulatedTransaction>;
598
+
599
+ burn(
600
+ amount: PromiseOrValue<BigNumberish>,
601
+ data: PromiseOrValue<BytesLike>,
602
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
603
+ ): Promise<PopulatedTransaction>;
604
+
605
+ defaultOperators(overrides?: CallOverrides): Promise<PopulatedTransaction>;
606
+
607
+ granularity(overrides?: CallOverrides): Promise<PopulatedTransaction>;
608
+
609
+ isOperatorFor(
610
+ operator: PromiseOrValue<string>,
611
+ tokenHolder: PromiseOrValue<string>,
612
+ overrides?: CallOverrides
613
+ ): Promise<PopulatedTransaction>;
614
+
615
+ name(overrides?: CallOverrides): Promise<PopulatedTransaction>;
616
+
617
+ operatorBurn(
618
+ account: PromiseOrValue<string>,
619
+ amount: PromiseOrValue<BigNumberish>,
620
+ data: PromiseOrValue<BytesLike>,
621
+ operatorData: PromiseOrValue<BytesLike>,
622
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
623
+ ): Promise<PopulatedTransaction>;
624
+
625
+ operatorSend(
626
+ sender: PromiseOrValue<string>,
627
+ recipient: PromiseOrValue<string>,
628
+ amount: PromiseOrValue<BigNumberish>,
629
+ data: PromiseOrValue<BytesLike>,
630
+ operatorData: PromiseOrValue<BytesLike>,
631
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
632
+ ): Promise<PopulatedTransaction>;
633
+
634
+ revokeOperator(
635
+ operator: PromiseOrValue<string>,
636
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
637
+ ): Promise<PopulatedTransaction>;
638
+
639
+ send(
640
+ recipient: PromiseOrValue<string>,
641
+ amount: PromiseOrValue<BigNumberish>,
642
+ data: PromiseOrValue<BytesLike>,
643
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
644
+ ): Promise<PopulatedTransaction>;
645
+
646
+ symbol(overrides?: CallOverrides): Promise<PopulatedTransaction>;
647
+
648
+ totalSupply(overrides?: CallOverrides): Promise<PopulatedTransaction>;
649
+ };
650
+ }
@@ -0,0 +1,4 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ export type { IERC777 } from "./IERC777";
@@ -0,0 +1,9 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import type * as erc20 from "./ERC20";
5
+ export type { erc20 };
6
+ import type * as erc721 from "./ERC721";
7
+ export type { erc721 };
8
+ import type * as erc777 from "./ERC777";
9
+ export type { erc777 };
@@ -0,0 +1,5 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import type * as introspection from "./introspection";
5
+ export type { introspection };