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