@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,2301 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import { Contract, Signer, utils } from "ethers";
6
+ import type { Provider } from "@ethersproject/providers";
7
+ import type {
8
+ ISuperGoodDollar,
9
+ ISuperGoodDollarInterface,
10
+ } from "../../../../../../../@gooddollar/goodprotocol/contracts/token/superfluid/ISuperGoodDollar.sol/ISuperGoodDollar";
11
+
12
+ const _abi = [
13
+ {
14
+ inputs: [],
15
+ name: "SF_TOKEN_AGREEMENT_ALREADY_EXISTS",
16
+ type: "error",
17
+ },
18
+ {
19
+ inputs: [],
20
+ name: "SF_TOKEN_AGREEMENT_DOES_NOT_EXIST",
21
+ type: "error",
22
+ },
23
+ {
24
+ inputs: [],
25
+ name: "SF_TOKEN_BURN_INSUFFICIENT_BALANCE",
26
+ type: "error",
27
+ },
28
+ {
29
+ inputs: [],
30
+ name: "SF_TOKEN_MOVE_INSUFFICIENT_BALANCE",
31
+ type: "error",
32
+ },
33
+ {
34
+ inputs: [],
35
+ name: "SF_TOKEN_ONLY_HOST",
36
+ type: "error",
37
+ },
38
+ {
39
+ inputs: [],
40
+ name: "SF_TOKEN_ONLY_LISTED_AGREEMENT",
41
+ type: "error",
42
+ },
43
+ {
44
+ inputs: [],
45
+ name: "SUPER_TOKEN_APPROVE_FROM_ZERO_ADDRESS",
46
+ type: "error",
47
+ },
48
+ {
49
+ inputs: [],
50
+ name: "SUPER_TOKEN_APPROVE_TO_ZERO_ADDRESS",
51
+ type: "error",
52
+ },
53
+ {
54
+ inputs: [],
55
+ name: "SUPER_TOKEN_BURN_FROM_ZERO_ADDRESS",
56
+ type: "error",
57
+ },
58
+ {
59
+ inputs: [],
60
+ name: "SUPER_TOKEN_CALLER_IS_NOT_OPERATOR_FOR_HOLDER",
61
+ type: "error",
62
+ },
63
+ {
64
+ inputs: [],
65
+ name: "SUPER_TOKEN_INFLATIONARY_DEFLATIONARY_NOT_SUPPORTED",
66
+ type: "error",
67
+ },
68
+ {
69
+ inputs: [],
70
+ name: "SUPER_TOKEN_MINT_TO_ZERO_ADDRESS",
71
+ type: "error",
72
+ },
73
+ {
74
+ inputs: [],
75
+ name: "SUPER_TOKEN_NFT_PROXY_ADDRESS_CHANGED",
76
+ type: "error",
77
+ },
78
+ {
79
+ inputs: [],
80
+ name: "SUPER_TOKEN_NOT_ERC777_TOKENS_RECIPIENT",
81
+ type: "error",
82
+ },
83
+ {
84
+ inputs: [],
85
+ name: "SUPER_TOKEN_NO_UNDERLYING_TOKEN",
86
+ type: "error",
87
+ },
88
+ {
89
+ inputs: [],
90
+ name: "SUPER_TOKEN_ONLY_GOV_OWNER",
91
+ type: "error",
92
+ },
93
+ {
94
+ inputs: [],
95
+ name: "SUPER_TOKEN_ONLY_HOST",
96
+ type: "error",
97
+ },
98
+ {
99
+ inputs: [],
100
+ name: "SUPER_TOKEN_ONLY_SELF",
101
+ type: "error",
102
+ },
103
+ {
104
+ inputs: [],
105
+ name: "SUPER_TOKEN_TRANSFER_FROM_ZERO_ADDRESS",
106
+ type: "error",
107
+ },
108
+ {
109
+ inputs: [],
110
+ name: "SUPER_TOKEN_TRANSFER_TO_ZERO_ADDRESS",
111
+ type: "error",
112
+ },
113
+ {
114
+ anonymous: false,
115
+ inputs: [
116
+ {
117
+ indexed: true,
118
+ internalType: "address",
119
+ name: "agreementClass",
120
+ type: "address",
121
+ },
122
+ {
123
+ indexed: false,
124
+ internalType: "bytes32",
125
+ name: "id",
126
+ type: "bytes32",
127
+ },
128
+ {
129
+ indexed: false,
130
+ internalType: "bytes32[]",
131
+ name: "data",
132
+ type: "bytes32[]",
133
+ },
134
+ ],
135
+ name: "AgreementCreated",
136
+ type: "event",
137
+ },
138
+ {
139
+ anonymous: false,
140
+ inputs: [
141
+ {
142
+ indexed: true,
143
+ internalType: "address",
144
+ name: "agreementClass",
145
+ type: "address",
146
+ },
147
+ {
148
+ indexed: false,
149
+ internalType: "bytes32",
150
+ name: "id",
151
+ type: "bytes32",
152
+ },
153
+ {
154
+ indexed: true,
155
+ internalType: "address",
156
+ name: "penaltyAccount",
157
+ type: "address",
158
+ },
159
+ {
160
+ indexed: true,
161
+ internalType: "address",
162
+ name: "rewardAccount",
163
+ type: "address",
164
+ },
165
+ {
166
+ indexed: false,
167
+ internalType: "uint256",
168
+ name: "rewardAmount",
169
+ type: "uint256",
170
+ },
171
+ ],
172
+ name: "AgreementLiquidated",
173
+ type: "event",
174
+ },
175
+ {
176
+ anonymous: false,
177
+ inputs: [
178
+ {
179
+ indexed: false,
180
+ internalType: "address",
181
+ name: "liquidatorAccount",
182
+ type: "address",
183
+ },
184
+ {
185
+ indexed: true,
186
+ internalType: "address",
187
+ name: "agreementClass",
188
+ type: "address",
189
+ },
190
+ {
191
+ indexed: false,
192
+ internalType: "bytes32",
193
+ name: "id",
194
+ type: "bytes32",
195
+ },
196
+ {
197
+ indexed: true,
198
+ internalType: "address",
199
+ name: "penaltyAccount",
200
+ type: "address",
201
+ },
202
+ {
203
+ indexed: true,
204
+ internalType: "address",
205
+ name: "bondAccount",
206
+ type: "address",
207
+ },
208
+ {
209
+ indexed: false,
210
+ internalType: "uint256",
211
+ name: "rewardAmount",
212
+ type: "uint256",
213
+ },
214
+ {
215
+ indexed: false,
216
+ internalType: "uint256",
217
+ name: "bailoutAmount",
218
+ type: "uint256",
219
+ },
220
+ ],
221
+ name: "AgreementLiquidatedBy",
222
+ type: "event",
223
+ },
224
+ {
225
+ anonymous: false,
226
+ inputs: [
227
+ {
228
+ indexed: true,
229
+ internalType: "address",
230
+ name: "agreementClass",
231
+ type: "address",
232
+ },
233
+ {
234
+ indexed: false,
235
+ internalType: "bytes32",
236
+ name: "id",
237
+ type: "bytes32",
238
+ },
239
+ {
240
+ indexed: true,
241
+ internalType: "address",
242
+ name: "liquidatorAccount",
243
+ type: "address",
244
+ },
245
+ {
246
+ indexed: true,
247
+ internalType: "address",
248
+ name: "targetAccount",
249
+ type: "address",
250
+ },
251
+ {
252
+ indexed: false,
253
+ internalType: "address",
254
+ name: "rewardAmountReceiver",
255
+ type: "address",
256
+ },
257
+ {
258
+ indexed: false,
259
+ internalType: "uint256",
260
+ name: "rewardAmount",
261
+ type: "uint256",
262
+ },
263
+ {
264
+ indexed: false,
265
+ internalType: "int256",
266
+ name: "targetAccountBalanceDelta",
267
+ type: "int256",
268
+ },
269
+ {
270
+ indexed: false,
271
+ internalType: "bytes",
272
+ name: "liquidationTypeData",
273
+ type: "bytes",
274
+ },
275
+ ],
276
+ name: "AgreementLiquidatedV2",
277
+ type: "event",
278
+ },
279
+ {
280
+ anonymous: false,
281
+ inputs: [
282
+ {
283
+ indexed: true,
284
+ internalType: "address",
285
+ name: "agreementClass",
286
+ type: "address",
287
+ },
288
+ {
289
+ indexed: true,
290
+ internalType: "address",
291
+ name: "account",
292
+ type: "address",
293
+ },
294
+ {
295
+ indexed: false,
296
+ internalType: "uint256",
297
+ name: "slotId",
298
+ type: "uint256",
299
+ },
300
+ ],
301
+ name: "AgreementStateUpdated",
302
+ type: "event",
303
+ },
304
+ {
305
+ anonymous: false,
306
+ inputs: [
307
+ {
308
+ indexed: true,
309
+ internalType: "address",
310
+ name: "agreementClass",
311
+ type: "address",
312
+ },
313
+ {
314
+ indexed: false,
315
+ internalType: "bytes32",
316
+ name: "id",
317
+ type: "bytes32",
318
+ },
319
+ ],
320
+ name: "AgreementTerminated",
321
+ type: "event",
322
+ },
323
+ {
324
+ anonymous: false,
325
+ inputs: [
326
+ {
327
+ indexed: true,
328
+ internalType: "address",
329
+ name: "agreementClass",
330
+ type: "address",
331
+ },
332
+ {
333
+ indexed: false,
334
+ internalType: "bytes32",
335
+ name: "id",
336
+ type: "bytes32",
337
+ },
338
+ {
339
+ indexed: false,
340
+ internalType: "bytes32[]",
341
+ name: "data",
342
+ type: "bytes32[]",
343
+ },
344
+ ],
345
+ name: "AgreementUpdated",
346
+ type: "event",
347
+ },
348
+ {
349
+ anonymous: false,
350
+ inputs: [
351
+ {
352
+ indexed: true,
353
+ internalType: "address",
354
+ name: "owner",
355
+ type: "address",
356
+ },
357
+ {
358
+ indexed: true,
359
+ internalType: "address",
360
+ name: "spender",
361
+ type: "address",
362
+ },
363
+ {
364
+ indexed: false,
365
+ internalType: "uint256",
366
+ name: "value",
367
+ type: "uint256",
368
+ },
369
+ ],
370
+ name: "Approval",
371
+ type: "event",
372
+ },
373
+ {
374
+ anonymous: false,
375
+ inputs: [
376
+ {
377
+ indexed: true,
378
+ internalType: "address",
379
+ name: "operator",
380
+ type: "address",
381
+ },
382
+ {
383
+ indexed: true,
384
+ internalType: "address",
385
+ name: "tokenHolder",
386
+ type: "address",
387
+ },
388
+ ],
389
+ name: "AuthorizedOperator",
390
+ type: "event",
391
+ },
392
+ {
393
+ anonymous: false,
394
+ inputs: [
395
+ {
396
+ indexed: true,
397
+ internalType: "address",
398
+ name: "bailoutAccount",
399
+ type: "address",
400
+ },
401
+ {
402
+ indexed: false,
403
+ internalType: "uint256",
404
+ name: "bailoutAmount",
405
+ type: "uint256",
406
+ },
407
+ ],
408
+ name: "Bailout",
409
+ type: "event",
410
+ },
411
+ {
412
+ anonymous: false,
413
+ inputs: [
414
+ {
415
+ indexed: true,
416
+ internalType: "address",
417
+ name: "operator",
418
+ type: "address",
419
+ },
420
+ {
421
+ indexed: true,
422
+ internalType: "address",
423
+ name: "from",
424
+ type: "address",
425
+ },
426
+ {
427
+ indexed: false,
428
+ internalType: "uint256",
429
+ name: "amount",
430
+ type: "uint256",
431
+ },
432
+ {
433
+ indexed: false,
434
+ internalType: "bytes",
435
+ name: "data",
436
+ type: "bytes",
437
+ },
438
+ {
439
+ indexed: false,
440
+ internalType: "bytes",
441
+ name: "operatorData",
442
+ type: "bytes",
443
+ },
444
+ ],
445
+ name: "Burned",
446
+ type: "event",
447
+ },
448
+ {
449
+ anonymous: false,
450
+ inputs: [
451
+ {
452
+ indexed: true,
453
+ internalType: "contract IConstantInflowNFT",
454
+ name: "constantInflowNFT",
455
+ type: "address",
456
+ },
457
+ ],
458
+ name: "ConstantInflowNFTCreated",
459
+ type: "event",
460
+ },
461
+ {
462
+ anonymous: false,
463
+ inputs: [
464
+ {
465
+ indexed: true,
466
+ internalType: "contract IConstantOutflowNFT",
467
+ name: "constantOutflowNFT",
468
+ type: "address",
469
+ },
470
+ ],
471
+ name: "ConstantOutflowNFTCreated",
472
+ type: "event",
473
+ },
474
+ {
475
+ anonymous: false,
476
+ inputs: [
477
+ {
478
+ indexed: true,
479
+ internalType: "address",
480
+ name: "operator",
481
+ type: "address",
482
+ },
483
+ {
484
+ indexed: true,
485
+ internalType: "address",
486
+ name: "to",
487
+ type: "address",
488
+ },
489
+ {
490
+ indexed: false,
491
+ internalType: "uint256",
492
+ name: "amount",
493
+ type: "uint256",
494
+ },
495
+ {
496
+ indexed: false,
497
+ internalType: "bytes",
498
+ name: "data",
499
+ type: "bytes",
500
+ },
501
+ {
502
+ indexed: false,
503
+ internalType: "bytes",
504
+ name: "operatorData",
505
+ type: "bytes",
506
+ },
507
+ ],
508
+ name: "Minted",
509
+ type: "event",
510
+ },
511
+ {
512
+ anonymous: false,
513
+ inputs: [
514
+ {
515
+ indexed: true,
516
+ internalType: "address",
517
+ name: "operator",
518
+ type: "address",
519
+ },
520
+ {
521
+ indexed: true,
522
+ internalType: "address",
523
+ name: "tokenHolder",
524
+ type: "address",
525
+ },
526
+ ],
527
+ name: "RevokedOperator",
528
+ type: "event",
529
+ },
530
+ {
531
+ anonymous: false,
532
+ inputs: [
533
+ {
534
+ indexed: true,
535
+ internalType: "address",
536
+ name: "operator",
537
+ type: "address",
538
+ },
539
+ {
540
+ indexed: true,
541
+ internalType: "address",
542
+ name: "from",
543
+ type: "address",
544
+ },
545
+ {
546
+ indexed: true,
547
+ internalType: "address",
548
+ name: "to",
549
+ type: "address",
550
+ },
551
+ {
552
+ indexed: false,
553
+ internalType: "uint256",
554
+ name: "amount",
555
+ type: "uint256",
556
+ },
557
+ {
558
+ indexed: false,
559
+ internalType: "bytes",
560
+ name: "data",
561
+ type: "bytes",
562
+ },
563
+ {
564
+ indexed: false,
565
+ internalType: "bytes",
566
+ name: "operatorData",
567
+ type: "bytes",
568
+ },
569
+ ],
570
+ name: "Sent",
571
+ type: "event",
572
+ },
573
+ {
574
+ anonymous: false,
575
+ inputs: [
576
+ {
577
+ indexed: true,
578
+ internalType: "address",
579
+ name: "account",
580
+ type: "address",
581
+ },
582
+ {
583
+ indexed: false,
584
+ internalType: "uint256",
585
+ name: "amount",
586
+ type: "uint256",
587
+ },
588
+ ],
589
+ name: "TokenDowngraded",
590
+ type: "event",
591
+ },
592
+ {
593
+ anonymous: false,
594
+ inputs: [
595
+ {
596
+ indexed: true,
597
+ internalType: "address",
598
+ name: "account",
599
+ type: "address",
600
+ },
601
+ {
602
+ indexed: false,
603
+ internalType: "uint256",
604
+ name: "amount",
605
+ type: "uint256",
606
+ },
607
+ ],
608
+ name: "TokenUpgraded",
609
+ type: "event",
610
+ },
611
+ {
612
+ anonymous: false,
613
+ inputs: [
614
+ {
615
+ indexed: true,
616
+ internalType: "address",
617
+ name: "from",
618
+ type: "address",
619
+ },
620
+ {
621
+ indexed: true,
622
+ internalType: "address",
623
+ name: "to",
624
+ type: "address",
625
+ },
626
+ {
627
+ indexed: false,
628
+ internalType: "uint256",
629
+ name: "value",
630
+ type: "uint256",
631
+ },
632
+ ],
633
+ name: "Transfer",
634
+ type: "event",
635
+ },
636
+ {
637
+ inputs: [],
638
+ name: "CONSTANT_INFLOW_NFT",
639
+ outputs: [
640
+ {
641
+ internalType: "contract IConstantInflowNFT",
642
+ name: "",
643
+ type: "address",
644
+ },
645
+ ],
646
+ stateMutability: "view",
647
+ type: "function",
648
+ },
649
+ {
650
+ inputs: [],
651
+ name: "CONSTANT_OUTFLOW_NFT",
652
+ outputs: [
653
+ {
654
+ internalType: "contract IConstantOutflowNFT",
655
+ name: "",
656
+ type: "address",
657
+ },
658
+ ],
659
+ stateMutability: "view",
660
+ type: "function",
661
+ },
662
+ {
663
+ inputs: [],
664
+ name: "DOMAIN_SEPARATOR",
665
+ outputs: [
666
+ {
667
+ internalType: "bytes32",
668
+ name: "",
669
+ type: "bytes32",
670
+ },
671
+ ],
672
+ stateMutability: "view",
673
+ type: "function",
674
+ },
675
+ {
676
+ inputs: [
677
+ {
678
+ internalType: "address",
679
+ name: "_minter",
680
+ type: "address",
681
+ },
682
+ ],
683
+ name: "addMinter",
684
+ outputs: [],
685
+ stateMutability: "nonpayable",
686
+ type: "function",
687
+ },
688
+ {
689
+ inputs: [
690
+ {
691
+ internalType: "address",
692
+ name: "_pauser",
693
+ type: "address",
694
+ },
695
+ ],
696
+ name: "addPauser",
697
+ outputs: [],
698
+ stateMutability: "nonpayable",
699
+ type: "function",
700
+ },
701
+ {
702
+ inputs: [
703
+ {
704
+ internalType: "address",
705
+ name: "owner",
706
+ type: "address",
707
+ },
708
+ {
709
+ internalType: "address",
710
+ name: "spender",
711
+ type: "address",
712
+ },
713
+ ],
714
+ name: "allowance",
715
+ outputs: [
716
+ {
717
+ internalType: "uint256",
718
+ name: "",
719
+ type: "uint256",
720
+ },
721
+ ],
722
+ stateMutability: "view",
723
+ type: "function",
724
+ },
725
+ {
726
+ inputs: [
727
+ {
728
+ internalType: "address",
729
+ name: "spender",
730
+ type: "address",
731
+ },
732
+ {
733
+ internalType: "uint256",
734
+ name: "amount",
735
+ type: "uint256",
736
+ },
737
+ ],
738
+ name: "approve",
739
+ outputs: [
740
+ {
741
+ internalType: "bool",
742
+ name: "",
743
+ type: "bool",
744
+ },
745
+ ],
746
+ stateMutability: "nonpayable",
747
+ type: "function",
748
+ },
749
+ {
750
+ inputs: [
751
+ {
752
+ internalType: "address",
753
+ name: "operator",
754
+ type: "address",
755
+ },
756
+ ],
757
+ name: "authorizeOperator",
758
+ outputs: [],
759
+ stateMutability: "nonpayable",
760
+ type: "function",
761
+ },
762
+ {
763
+ inputs: [
764
+ {
765
+ internalType: "address",
766
+ name: "account",
767
+ type: "address",
768
+ },
769
+ ],
770
+ name: "balanceOf",
771
+ outputs: [
772
+ {
773
+ internalType: "uint256",
774
+ name: "balance",
775
+ type: "uint256",
776
+ },
777
+ ],
778
+ stateMutability: "view",
779
+ type: "function",
780
+ },
781
+ {
782
+ inputs: [
783
+ {
784
+ internalType: "uint256",
785
+ name: "amount",
786
+ type: "uint256",
787
+ },
788
+ ],
789
+ name: "burn",
790
+ outputs: [],
791
+ stateMutability: "nonpayable",
792
+ type: "function",
793
+ },
794
+ {
795
+ inputs: [
796
+ {
797
+ internalType: "uint256",
798
+ name: "amount",
799
+ type: "uint256",
800
+ },
801
+ {
802
+ internalType: "bytes",
803
+ name: "data",
804
+ type: "bytes",
805
+ },
806
+ ],
807
+ name: "burn",
808
+ outputs: [],
809
+ stateMutability: "nonpayable",
810
+ type: "function",
811
+ },
812
+ {
813
+ inputs: [
814
+ {
815
+ internalType: "address",
816
+ name: "account",
817
+ type: "address",
818
+ },
819
+ {
820
+ internalType: "uint256",
821
+ name: "amount",
822
+ type: "uint256",
823
+ },
824
+ ],
825
+ name: "burnFrom",
826
+ outputs: [],
827
+ stateMutability: "nonpayable",
828
+ type: "function",
829
+ },
830
+ {
831
+ inputs: [],
832
+ name: "cap",
833
+ outputs: [
834
+ {
835
+ internalType: "uint256",
836
+ name: "",
837
+ type: "uint256",
838
+ },
839
+ ],
840
+ stateMutability: "view",
841
+ type: "function",
842
+ },
843
+ {
844
+ inputs: [
845
+ {
846
+ internalType: "bytes32",
847
+ name: "id",
848
+ type: "bytes32",
849
+ },
850
+ {
851
+ internalType: "bytes32[]",
852
+ name: "data",
853
+ type: "bytes32[]",
854
+ },
855
+ ],
856
+ name: "createAgreement",
857
+ outputs: [],
858
+ stateMutability: "nonpayable",
859
+ type: "function",
860
+ },
861
+ {
862
+ inputs: [],
863
+ name: "decimals",
864
+ outputs: [
865
+ {
866
+ internalType: "uint8",
867
+ name: "",
868
+ type: "uint8",
869
+ },
870
+ ],
871
+ stateMutability: "view",
872
+ type: "function",
873
+ },
874
+ {
875
+ inputs: [
876
+ {
877
+ internalType: "address",
878
+ name: "spender",
879
+ type: "address",
880
+ },
881
+ {
882
+ internalType: "uint256",
883
+ name: "subtractedValue",
884
+ type: "uint256",
885
+ },
886
+ ],
887
+ name: "decreaseAllowance",
888
+ outputs: [
889
+ {
890
+ internalType: "bool",
891
+ name: "",
892
+ type: "bool",
893
+ },
894
+ ],
895
+ stateMutability: "nonpayable",
896
+ type: "function",
897
+ },
898
+ {
899
+ inputs: [],
900
+ name: "defaultOperators",
901
+ outputs: [
902
+ {
903
+ internalType: "address[]",
904
+ name: "",
905
+ type: "address[]",
906
+ },
907
+ ],
908
+ stateMutability: "view",
909
+ type: "function",
910
+ },
911
+ {
912
+ inputs: [
913
+ {
914
+ internalType: "uint256",
915
+ name: "amount",
916
+ type: "uint256",
917
+ },
918
+ ],
919
+ name: "downgrade",
920
+ outputs: [],
921
+ stateMutability: "nonpayable",
922
+ type: "function",
923
+ },
924
+ {
925
+ inputs: [
926
+ {
927
+ internalType: "address",
928
+ name: "to",
929
+ type: "address",
930
+ },
931
+ {
932
+ internalType: "uint256",
933
+ name: "amount",
934
+ type: "uint256",
935
+ },
936
+ ],
937
+ name: "downgradeTo",
938
+ outputs: [],
939
+ stateMutability: "nonpayable",
940
+ type: "function",
941
+ },
942
+ {
943
+ inputs: [],
944
+ name: "feeRecipient",
945
+ outputs: [
946
+ {
947
+ internalType: "address",
948
+ name: "",
949
+ type: "address",
950
+ },
951
+ ],
952
+ stateMutability: "view",
953
+ type: "function",
954
+ },
955
+ {
956
+ inputs: [],
957
+ name: "formula",
958
+ outputs: [
959
+ {
960
+ internalType: "contract IFeesFormula",
961
+ name: "",
962
+ type: "address",
963
+ },
964
+ ],
965
+ stateMutability: "view",
966
+ type: "function",
967
+ },
968
+ {
969
+ inputs: [
970
+ {
971
+ internalType: "address",
972
+ name: "account",
973
+ type: "address",
974
+ },
975
+ ],
976
+ name: "getAccountActiveAgreements",
977
+ outputs: [
978
+ {
979
+ internalType: "contract ISuperAgreement[]",
980
+ name: "activeAgreements",
981
+ type: "address[]",
982
+ },
983
+ ],
984
+ stateMutability: "view",
985
+ type: "function",
986
+ },
987
+ {
988
+ inputs: [
989
+ {
990
+ internalType: "address",
991
+ name: "agreementClass",
992
+ type: "address",
993
+ },
994
+ {
995
+ internalType: "bytes32",
996
+ name: "id",
997
+ type: "bytes32",
998
+ },
999
+ {
1000
+ internalType: "uint256",
1001
+ name: "dataLength",
1002
+ type: "uint256",
1003
+ },
1004
+ ],
1005
+ name: "getAgreementData",
1006
+ outputs: [
1007
+ {
1008
+ internalType: "bytes32[]",
1009
+ name: "data",
1010
+ type: "bytes32[]",
1011
+ },
1012
+ ],
1013
+ stateMutability: "view",
1014
+ type: "function",
1015
+ },
1016
+ {
1017
+ inputs: [
1018
+ {
1019
+ internalType: "address",
1020
+ name: "agreementClass",
1021
+ type: "address",
1022
+ },
1023
+ {
1024
+ internalType: "address",
1025
+ name: "account",
1026
+ type: "address",
1027
+ },
1028
+ {
1029
+ internalType: "uint256",
1030
+ name: "slotId",
1031
+ type: "uint256",
1032
+ },
1033
+ {
1034
+ internalType: "uint256",
1035
+ name: "dataLength",
1036
+ type: "uint256",
1037
+ },
1038
+ ],
1039
+ name: "getAgreementStateSlot",
1040
+ outputs: [
1041
+ {
1042
+ internalType: "bytes32[]",
1043
+ name: "slotData",
1044
+ type: "bytes32[]",
1045
+ },
1046
+ ],
1047
+ stateMutability: "view",
1048
+ type: "function",
1049
+ },
1050
+ {
1051
+ inputs: [
1052
+ {
1053
+ internalType: "uint256",
1054
+ name: "value",
1055
+ type: "uint256",
1056
+ },
1057
+ {
1058
+ internalType: "address",
1059
+ name: "sender",
1060
+ type: "address",
1061
+ },
1062
+ {
1063
+ internalType: "address",
1064
+ name: "recipient",
1065
+ type: "address",
1066
+ },
1067
+ ],
1068
+ name: "getFees",
1069
+ outputs: [
1070
+ {
1071
+ internalType: "uint256",
1072
+ name: "fee",
1073
+ type: "uint256",
1074
+ },
1075
+ {
1076
+ internalType: "bool",
1077
+ name: "senderPays",
1078
+ type: "bool",
1079
+ },
1080
+ ],
1081
+ stateMutability: "view",
1082
+ type: "function",
1083
+ },
1084
+ {
1085
+ inputs: [
1086
+ {
1087
+ internalType: "uint256",
1088
+ name: "value",
1089
+ type: "uint256",
1090
+ },
1091
+ ],
1092
+ name: "getFees",
1093
+ outputs: [
1094
+ {
1095
+ internalType: "uint256",
1096
+ name: "fee",
1097
+ type: "uint256",
1098
+ },
1099
+ {
1100
+ internalType: "bool",
1101
+ name: "senderPays",
1102
+ type: "bool",
1103
+ },
1104
+ ],
1105
+ stateMutability: "view",
1106
+ type: "function",
1107
+ },
1108
+ {
1109
+ inputs: [],
1110
+ name: "getHost",
1111
+ outputs: [
1112
+ {
1113
+ internalType: "address",
1114
+ name: "host",
1115
+ type: "address",
1116
+ },
1117
+ ],
1118
+ stateMutability: "view",
1119
+ type: "function",
1120
+ },
1121
+ {
1122
+ inputs: [],
1123
+ name: "getUnderlyingToken",
1124
+ outputs: [
1125
+ {
1126
+ internalType: "address",
1127
+ name: "tokenAddr",
1128
+ type: "address",
1129
+ },
1130
+ ],
1131
+ stateMutability: "view",
1132
+ type: "function",
1133
+ },
1134
+ {
1135
+ inputs: [],
1136
+ name: "granularity",
1137
+ outputs: [
1138
+ {
1139
+ internalType: "uint256",
1140
+ name: "",
1141
+ type: "uint256",
1142
+ },
1143
+ ],
1144
+ stateMutability: "view",
1145
+ type: "function",
1146
+ },
1147
+ {
1148
+ inputs: [],
1149
+ name: "identity",
1150
+ outputs: [
1151
+ {
1152
+ internalType: "contract IIdentity",
1153
+ name: "",
1154
+ type: "address",
1155
+ },
1156
+ ],
1157
+ stateMutability: "view",
1158
+ type: "function",
1159
+ },
1160
+ {
1161
+ inputs: [
1162
+ {
1163
+ internalType: "address",
1164
+ name: "spender",
1165
+ type: "address",
1166
+ },
1167
+ {
1168
+ internalType: "uint256",
1169
+ name: "addedValue",
1170
+ type: "uint256",
1171
+ },
1172
+ ],
1173
+ name: "increaseAllowance",
1174
+ outputs: [
1175
+ {
1176
+ internalType: "bool",
1177
+ name: "",
1178
+ type: "bool",
1179
+ },
1180
+ ],
1181
+ stateMutability: "nonpayable",
1182
+ type: "function",
1183
+ },
1184
+ {
1185
+ inputs: [
1186
+ {
1187
+ internalType: "contract IERC20",
1188
+ name: "underlyingToken",
1189
+ type: "address",
1190
+ },
1191
+ {
1192
+ internalType: "uint8",
1193
+ name: "underlyingDecimals",
1194
+ type: "uint8",
1195
+ },
1196
+ {
1197
+ internalType: "string",
1198
+ name: "n",
1199
+ type: "string",
1200
+ },
1201
+ {
1202
+ internalType: "string",
1203
+ name: "s",
1204
+ type: "string",
1205
+ },
1206
+ ],
1207
+ name: "initialize",
1208
+ outputs: [],
1209
+ stateMutability: "nonpayable",
1210
+ type: "function",
1211
+ },
1212
+ {
1213
+ inputs: [
1214
+ {
1215
+ internalType: "string",
1216
+ name: "name",
1217
+ type: "string",
1218
+ },
1219
+ {
1220
+ internalType: "string",
1221
+ name: "symbol",
1222
+ type: "string",
1223
+ },
1224
+ {
1225
+ internalType: "uint256",
1226
+ name: "_cap",
1227
+ type: "uint256",
1228
+ },
1229
+ {
1230
+ internalType: "contract IFeesFormula",
1231
+ name: "_formula",
1232
+ type: "address",
1233
+ },
1234
+ {
1235
+ internalType: "contract IIdentity",
1236
+ name: "_identity",
1237
+ type: "address",
1238
+ },
1239
+ {
1240
+ internalType: "address",
1241
+ name: "_feeRecipient",
1242
+ type: "address",
1243
+ },
1244
+ {
1245
+ internalType: "address",
1246
+ name: "_owner",
1247
+ type: "address",
1248
+ },
1249
+ ],
1250
+ name: "initialize",
1251
+ outputs: [],
1252
+ stateMutability: "nonpayable",
1253
+ type: "function",
1254
+ },
1255
+ {
1256
+ inputs: [
1257
+ {
1258
+ internalType: "address",
1259
+ name: "account",
1260
+ type: "address",
1261
+ },
1262
+ {
1263
+ internalType: "uint256",
1264
+ name: "timestamp",
1265
+ type: "uint256",
1266
+ },
1267
+ ],
1268
+ name: "isAccountCritical",
1269
+ outputs: [
1270
+ {
1271
+ internalType: "bool",
1272
+ name: "isCritical",
1273
+ type: "bool",
1274
+ },
1275
+ ],
1276
+ stateMutability: "view",
1277
+ type: "function",
1278
+ },
1279
+ {
1280
+ inputs: [
1281
+ {
1282
+ internalType: "address",
1283
+ name: "account",
1284
+ type: "address",
1285
+ },
1286
+ ],
1287
+ name: "isAccountCriticalNow",
1288
+ outputs: [
1289
+ {
1290
+ internalType: "bool",
1291
+ name: "isCritical",
1292
+ type: "bool",
1293
+ },
1294
+ ],
1295
+ stateMutability: "view",
1296
+ type: "function",
1297
+ },
1298
+ {
1299
+ inputs: [
1300
+ {
1301
+ internalType: "address",
1302
+ name: "account",
1303
+ type: "address",
1304
+ },
1305
+ {
1306
+ internalType: "uint256",
1307
+ name: "timestamp",
1308
+ type: "uint256",
1309
+ },
1310
+ ],
1311
+ name: "isAccountSolvent",
1312
+ outputs: [
1313
+ {
1314
+ internalType: "bool",
1315
+ name: "isSolvent",
1316
+ type: "bool",
1317
+ },
1318
+ ],
1319
+ stateMutability: "view",
1320
+ type: "function",
1321
+ },
1322
+ {
1323
+ inputs: [
1324
+ {
1325
+ internalType: "address",
1326
+ name: "account",
1327
+ type: "address",
1328
+ },
1329
+ ],
1330
+ name: "isAccountSolventNow",
1331
+ outputs: [
1332
+ {
1333
+ internalType: "bool",
1334
+ name: "isSolvent",
1335
+ type: "bool",
1336
+ },
1337
+ ],
1338
+ stateMutability: "view",
1339
+ type: "function",
1340
+ },
1341
+ {
1342
+ inputs: [
1343
+ {
1344
+ internalType: "address",
1345
+ name: "_minter",
1346
+ type: "address",
1347
+ },
1348
+ ],
1349
+ name: "isMinter",
1350
+ outputs: [
1351
+ {
1352
+ internalType: "bool",
1353
+ name: "",
1354
+ type: "bool",
1355
+ },
1356
+ ],
1357
+ stateMutability: "view",
1358
+ type: "function",
1359
+ },
1360
+ {
1361
+ inputs: [
1362
+ {
1363
+ internalType: "address",
1364
+ name: "operator",
1365
+ type: "address",
1366
+ },
1367
+ {
1368
+ internalType: "address",
1369
+ name: "tokenHolder",
1370
+ type: "address",
1371
+ },
1372
+ ],
1373
+ name: "isOperatorFor",
1374
+ outputs: [
1375
+ {
1376
+ internalType: "bool",
1377
+ name: "",
1378
+ type: "bool",
1379
+ },
1380
+ ],
1381
+ stateMutability: "view",
1382
+ type: "function",
1383
+ },
1384
+ {
1385
+ inputs: [
1386
+ {
1387
+ internalType: "address",
1388
+ name: "_pauser",
1389
+ type: "address",
1390
+ },
1391
+ ],
1392
+ name: "isPauser",
1393
+ outputs: [
1394
+ {
1395
+ internalType: "bool",
1396
+ name: "",
1397
+ type: "bool",
1398
+ },
1399
+ ],
1400
+ stateMutability: "view",
1401
+ type: "function",
1402
+ },
1403
+ {
1404
+ inputs: [
1405
+ {
1406
+ internalType: "bytes32",
1407
+ name: "id",
1408
+ type: "bytes32",
1409
+ },
1410
+ {
1411
+ internalType: "bytes",
1412
+ name: "liquidationTypeData",
1413
+ type: "bytes",
1414
+ },
1415
+ {
1416
+ internalType: "address",
1417
+ name: "liquidatorAccount",
1418
+ type: "address",
1419
+ },
1420
+ {
1421
+ internalType: "bool",
1422
+ name: "useDefaultRewardAccount",
1423
+ type: "bool",
1424
+ },
1425
+ {
1426
+ internalType: "address",
1427
+ name: "targetAccount",
1428
+ type: "address",
1429
+ },
1430
+ {
1431
+ internalType: "uint256",
1432
+ name: "rewardAmount",
1433
+ type: "uint256",
1434
+ },
1435
+ {
1436
+ internalType: "int256",
1437
+ name: "targetAccountBalanceDelta",
1438
+ type: "int256",
1439
+ },
1440
+ ],
1441
+ name: "makeLiquidationPayoutsV2",
1442
+ outputs: [],
1443
+ stateMutability: "nonpayable",
1444
+ type: "function",
1445
+ },
1446
+ {
1447
+ inputs: [
1448
+ {
1449
+ internalType: "address",
1450
+ name: "to",
1451
+ type: "address",
1452
+ },
1453
+ {
1454
+ internalType: "uint256",
1455
+ name: "amount",
1456
+ type: "uint256",
1457
+ },
1458
+ ],
1459
+ name: "mint",
1460
+ outputs: [
1461
+ {
1462
+ internalType: "bool",
1463
+ name: "",
1464
+ type: "bool",
1465
+ },
1466
+ ],
1467
+ stateMutability: "nonpayable",
1468
+ type: "function",
1469
+ },
1470
+ {
1471
+ inputs: [],
1472
+ name: "name",
1473
+ outputs: [
1474
+ {
1475
+ internalType: "string",
1476
+ name: "",
1477
+ type: "string",
1478
+ },
1479
+ ],
1480
+ stateMutability: "view",
1481
+ type: "function",
1482
+ },
1483
+ {
1484
+ inputs: [
1485
+ {
1486
+ internalType: "address",
1487
+ name: "owner",
1488
+ type: "address",
1489
+ },
1490
+ ],
1491
+ name: "nonces",
1492
+ outputs: [
1493
+ {
1494
+ internalType: "uint256",
1495
+ name: "",
1496
+ type: "uint256",
1497
+ },
1498
+ ],
1499
+ stateMutability: "view",
1500
+ type: "function",
1501
+ },
1502
+ {
1503
+ inputs: [
1504
+ {
1505
+ internalType: "address",
1506
+ name: "account",
1507
+ type: "address",
1508
+ },
1509
+ {
1510
+ internalType: "address",
1511
+ name: "spender",
1512
+ type: "address",
1513
+ },
1514
+ {
1515
+ internalType: "uint256",
1516
+ name: "amount",
1517
+ type: "uint256",
1518
+ },
1519
+ ],
1520
+ name: "operationApprove",
1521
+ outputs: [],
1522
+ stateMutability: "nonpayable",
1523
+ type: "function",
1524
+ },
1525
+ {
1526
+ inputs: [
1527
+ {
1528
+ internalType: "address",
1529
+ name: "account",
1530
+ type: "address",
1531
+ },
1532
+ {
1533
+ internalType: "address",
1534
+ name: "spender",
1535
+ type: "address",
1536
+ },
1537
+ {
1538
+ internalType: "uint256",
1539
+ name: "subtractedValue",
1540
+ type: "uint256",
1541
+ },
1542
+ ],
1543
+ name: "operationDecreaseAllowance",
1544
+ outputs: [],
1545
+ stateMutability: "nonpayable",
1546
+ type: "function",
1547
+ },
1548
+ {
1549
+ inputs: [
1550
+ {
1551
+ internalType: "address",
1552
+ name: "account",
1553
+ type: "address",
1554
+ },
1555
+ {
1556
+ internalType: "uint256",
1557
+ name: "amount",
1558
+ type: "uint256",
1559
+ },
1560
+ ],
1561
+ name: "operationDowngrade",
1562
+ outputs: [],
1563
+ stateMutability: "nonpayable",
1564
+ type: "function",
1565
+ },
1566
+ {
1567
+ inputs: [
1568
+ {
1569
+ internalType: "address",
1570
+ name: "account",
1571
+ type: "address",
1572
+ },
1573
+ {
1574
+ internalType: "address",
1575
+ name: "spender",
1576
+ type: "address",
1577
+ },
1578
+ {
1579
+ internalType: "uint256",
1580
+ name: "addedValue",
1581
+ type: "uint256",
1582
+ },
1583
+ ],
1584
+ name: "operationIncreaseAllowance",
1585
+ outputs: [],
1586
+ stateMutability: "nonpayable",
1587
+ type: "function",
1588
+ },
1589
+ {
1590
+ inputs: [
1591
+ {
1592
+ internalType: "address",
1593
+ name: "spender",
1594
+ type: "address",
1595
+ },
1596
+ {
1597
+ internalType: "address",
1598
+ name: "recipient",
1599
+ type: "address",
1600
+ },
1601
+ {
1602
+ internalType: "uint256",
1603
+ name: "amount",
1604
+ type: "uint256",
1605
+ },
1606
+ {
1607
+ internalType: "bytes",
1608
+ name: "data",
1609
+ type: "bytes",
1610
+ },
1611
+ ],
1612
+ name: "operationSend",
1613
+ outputs: [],
1614
+ stateMutability: "nonpayable",
1615
+ type: "function",
1616
+ },
1617
+ {
1618
+ inputs: [
1619
+ {
1620
+ internalType: "address",
1621
+ name: "account",
1622
+ type: "address",
1623
+ },
1624
+ {
1625
+ internalType: "address",
1626
+ name: "spender",
1627
+ type: "address",
1628
+ },
1629
+ {
1630
+ internalType: "address",
1631
+ name: "recipient",
1632
+ type: "address",
1633
+ },
1634
+ {
1635
+ internalType: "uint256",
1636
+ name: "amount",
1637
+ type: "uint256",
1638
+ },
1639
+ ],
1640
+ name: "operationTransferFrom",
1641
+ outputs: [],
1642
+ stateMutability: "nonpayable",
1643
+ type: "function",
1644
+ },
1645
+ {
1646
+ inputs: [
1647
+ {
1648
+ internalType: "address",
1649
+ name: "account",
1650
+ type: "address",
1651
+ },
1652
+ {
1653
+ internalType: "uint256",
1654
+ name: "amount",
1655
+ type: "uint256",
1656
+ },
1657
+ ],
1658
+ name: "operationUpgrade",
1659
+ outputs: [],
1660
+ stateMutability: "nonpayable",
1661
+ type: "function",
1662
+ },
1663
+ {
1664
+ inputs: [
1665
+ {
1666
+ internalType: "address",
1667
+ name: "account",
1668
+ type: "address",
1669
+ },
1670
+ {
1671
+ internalType: "uint256",
1672
+ name: "amount",
1673
+ type: "uint256",
1674
+ },
1675
+ {
1676
+ internalType: "bytes",
1677
+ name: "data",
1678
+ type: "bytes",
1679
+ },
1680
+ {
1681
+ internalType: "bytes",
1682
+ name: "operatorData",
1683
+ type: "bytes",
1684
+ },
1685
+ ],
1686
+ name: "operatorBurn",
1687
+ outputs: [],
1688
+ stateMutability: "nonpayable",
1689
+ type: "function",
1690
+ },
1691
+ {
1692
+ inputs: [
1693
+ {
1694
+ internalType: "address",
1695
+ name: "sender",
1696
+ type: "address",
1697
+ },
1698
+ {
1699
+ internalType: "address",
1700
+ name: "recipient",
1701
+ type: "address",
1702
+ },
1703
+ {
1704
+ internalType: "uint256",
1705
+ name: "amount",
1706
+ type: "uint256",
1707
+ },
1708
+ {
1709
+ internalType: "bytes",
1710
+ name: "data",
1711
+ type: "bytes",
1712
+ },
1713
+ {
1714
+ internalType: "bytes",
1715
+ name: "operatorData",
1716
+ type: "bytes",
1717
+ },
1718
+ ],
1719
+ name: "operatorSend",
1720
+ outputs: [],
1721
+ stateMutability: "nonpayable",
1722
+ type: "function",
1723
+ },
1724
+ {
1725
+ inputs: [],
1726
+ name: "owner",
1727
+ outputs: [
1728
+ {
1729
+ internalType: "address",
1730
+ name: "",
1731
+ type: "address",
1732
+ },
1733
+ ],
1734
+ stateMutability: "view",
1735
+ type: "function",
1736
+ },
1737
+ {
1738
+ inputs: [],
1739
+ name: "pause",
1740
+ outputs: [],
1741
+ stateMutability: "nonpayable",
1742
+ type: "function",
1743
+ },
1744
+ {
1745
+ inputs: [
1746
+ {
1747
+ internalType: "address",
1748
+ name: "owner",
1749
+ type: "address",
1750
+ },
1751
+ {
1752
+ internalType: "address",
1753
+ name: "spender",
1754
+ type: "address",
1755
+ },
1756
+ {
1757
+ internalType: "uint256",
1758
+ name: "value",
1759
+ type: "uint256",
1760
+ },
1761
+ {
1762
+ internalType: "uint256",
1763
+ name: "deadline",
1764
+ type: "uint256",
1765
+ },
1766
+ {
1767
+ internalType: "uint8",
1768
+ name: "v",
1769
+ type: "uint8",
1770
+ },
1771
+ {
1772
+ internalType: "bytes32",
1773
+ name: "r",
1774
+ type: "bytes32",
1775
+ },
1776
+ {
1777
+ internalType: "bytes32",
1778
+ name: "s",
1779
+ type: "bytes32",
1780
+ },
1781
+ ],
1782
+ name: "permit",
1783
+ outputs: [],
1784
+ stateMutability: "nonpayable",
1785
+ type: "function",
1786
+ },
1787
+ {
1788
+ inputs: [
1789
+ {
1790
+ internalType: "address",
1791
+ name: "account",
1792
+ type: "address",
1793
+ },
1794
+ {
1795
+ internalType: "uint256",
1796
+ name: "timestamp",
1797
+ type: "uint256",
1798
+ },
1799
+ ],
1800
+ name: "realtimeBalanceOf",
1801
+ outputs: [
1802
+ {
1803
+ internalType: "int256",
1804
+ name: "availableBalance",
1805
+ type: "int256",
1806
+ },
1807
+ {
1808
+ internalType: "uint256",
1809
+ name: "deposit",
1810
+ type: "uint256",
1811
+ },
1812
+ {
1813
+ internalType: "uint256",
1814
+ name: "owedDeposit",
1815
+ type: "uint256",
1816
+ },
1817
+ ],
1818
+ stateMutability: "view",
1819
+ type: "function",
1820
+ },
1821
+ {
1822
+ inputs: [
1823
+ {
1824
+ internalType: "address",
1825
+ name: "account",
1826
+ type: "address",
1827
+ },
1828
+ ],
1829
+ name: "realtimeBalanceOfNow",
1830
+ outputs: [
1831
+ {
1832
+ internalType: "int256",
1833
+ name: "availableBalance",
1834
+ type: "int256",
1835
+ },
1836
+ {
1837
+ internalType: "uint256",
1838
+ name: "deposit",
1839
+ type: "uint256",
1840
+ },
1841
+ {
1842
+ internalType: "uint256",
1843
+ name: "owedDeposit",
1844
+ type: "uint256",
1845
+ },
1846
+ {
1847
+ internalType: "uint256",
1848
+ name: "timestamp",
1849
+ type: "uint256",
1850
+ },
1851
+ ],
1852
+ stateMutability: "view",
1853
+ type: "function",
1854
+ },
1855
+ {
1856
+ inputs: [],
1857
+ name: "renounceMinter",
1858
+ outputs: [],
1859
+ stateMutability: "nonpayable",
1860
+ type: "function",
1861
+ },
1862
+ {
1863
+ inputs: [
1864
+ {
1865
+ internalType: "address",
1866
+ name: "operator",
1867
+ type: "address",
1868
+ },
1869
+ ],
1870
+ name: "revokeOperator",
1871
+ outputs: [],
1872
+ stateMutability: "nonpayable",
1873
+ type: "function",
1874
+ },
1875
+ {
1876
+ inputs: [
1877
+ {
1878
+ internalType: "address",
1879
+ name: "account",
1880
+ type: "address",
1881
+ },
1882
+ {
1883
+ internalType: "address",
1884
+ name: "spender",
1885
+ type: "address",
1886
+ },
1887
+ {
1888
+ internalType: "uint256",
1889
+ name: "amount",
1890
+ type: "uint256",
1891
+ },
1892
+ ],
1893
+ name: "selfApproveFor",
1894
+ outputs: [],
1895
+ stateMutability: "nonpayable",
1896
+ type: "function",
1897
+ },
1898
+ {
1899
+ inputs: [
1900
+ {
1901
+ internalType: "address",
1902
+ name: "account",
1903
+ type: "address",
1904
+ },
1905
+ {
1906
+ internalType: "uint256",
1907
+ name: "amount",
1908
+ type: "uint256",
1909
+ },
1910
+ {
1911
+ internalType: "bytes",
1912
+ name: "userData",
1913
+ type: "bytes",
1914
+ },
1915
+ ],
1916
+ name: "selfBurn",
1917
+ outputs: [],
1918
+ stateMutability: "nonpayable",
1919
+ type: "function",
1920
+ },
1921
+ {
1922
+ inputs: [
1923
+ {
1924
+ internalType: "address",
1925
+ name: "account",
1926
+ type: "address",
1927
+ },
1928
+ {
1929
+ internalType: "uint256",
1930
+ name: "amount",
1931
+ type: "uint256",
1932
+ },
1933
+ {
1934
+ internalType: "bytes",
1935
+ name: "userData",
1936
+ type: "bytes",
1937
+ },
1938
+ ],
1939
+ name: "selfMint",
1940
+ outputs: [],
1941
+ stateMutability: "nonpayable",
1942
+ type: "function",
1943
+ },
1944
+ {
1945
+ inputs: [
1946
+ {
1947
+ internalType: "address",
1948
+ name: "sender",
1949
+ type: "address",
1950
+ },
1951
+ {
1952
+ internalType: "address",
1953
+ name: "spender",
1954
+ type: "address",
1955
+ },
1956
+ {
1957
+ internalType: "address",
1958
+ name: "recipient",
1959
+ type: "address",
1960
+ },
1961
+ {
1962
+ internalType: "uint256",
1963
+ name: "amount",
1964
+ type: "uint256",
1965
+ },
1966
+ ],
1967
+ name: "selfTransferFrom",
1968
+ outputs: [],
1969
+ stateMutability: "nonpayable",
1970
+ type: "function",
1971
+ },
1972
+ {
1973
+ inputs: [
1974
+ {
1975
+ internalType: "address",
1976
+ name: "recipient",
1977
+ type: "address",
1978
+ },
1979
+ {
1980
+ internalType: "uint256",
1981
+ name: "amount",
1982
+ type: "uint256",
1983
+ },
1984
+ {
1985
+ internalType: "bytes",
1986
+ name: "data",
1987
+ type: "bytes",
1988
+ },
1989
+ ],
1990
+ name: "send",
1991
+ outputs: [],
1992
+ stateMutability: "nonpayable",
1993
+ type: "function",
1994
+ },
1995
+ {
1996
+ inputs: [
1997
+ {
1998
+ internalType: "address",
1999
+ name: "_feeRecipient",
2000
+ type: "address",
2001
+ },
2002
+ ],
2003
+ name: "setFeeRecipient",
2004
+ outputs: [],
2005
+ stateMutability: "nonpayable",
2006
+ type: "function",
2007
+ },
2008
+ {
2009
+ inputs: [
2010
+ {
2011
+ internalType: "contract IFeesFormula",
2012
+ name: "_formula",
2013
+ type: "address",
2014
+ },
2015
+ ],
2016
+ name: "setFormula",
2017
+ outputs: [],
2018
+ stateMutability: "nonpayable",
2019
+ type: "function",
2020
+ },
2021
+ {
2022
+ inputs: [
2023
+ {
2024
+ internalType: "contract IIdentityV2",
2025
+ name: "_identity",
2026
+ type: "address",
2027
+ },
2028
+ ],
2029
+ name: "setIdentity",
2030
+ outputs: [],
2031
+ stateMutability: "nonpayable",
2032
+ type: "function",
2033
+ },
2034
+ {
2035
+ inputs: [
2036
+ {
2037
+ internalType: "address",
2038
+ name: "account",
2039
+ type: "address",
2040
+ },
2041
+ {
2042
+ internalType: "int256",
2043
+ name: "delta",
2044
+ type: "int256",
2045
+ },
2046
+ ],
2047
+ name: "settleBalance",
2048
+ outputs: [],
2049
+ stateMutability: "nonpayable",
2050
+ type: "function",
2051
+ },
2052
+ {
2053
+ inputs: [],
2054
+ name: "symbol",
2055
+ outputs: [
2056
+ {
2057
+ internalType: "string",
2058
+ name: "",
2059
+ type: "string",
2060
+ },
2061
+ ],
2062
+ stateMutability: "view",
2063
+ type: "function",
2064
+ },
2065
+ {
2066
+ inputs: [
2067
+ {
2068
+ internalType: "bytes32",
2069
+ name: "id",
2070
+ type: "bytes32",
2071
+ },
2072
+ {
2073
+ internalType: "uint256",
2074
+ name: "dataLength",
2075
+ type: "uint256",
2076
+ },
2077
+ ],
2078
+ name: "terminateAgreement",
2079
+ outputs: [],
2080
+ stateMutability: "nonpayable",
2081
+ type: "function",
2082
+ },
2083
+ {
2084
+ inputs: [],
2085
+ name: "totalSupply",
2086
+ outputs: [
2087
+ {
2088
+ internalType: "uint256",
2089
+ name: "",
2090
+ type: "uint256",
2091
+ },
2092
+ ],
2093
+ stateMutability: "view",
2094
+ type: "function",
2095
+ },
2096
+ {
2097
+ inputs: [
2098
+ {
2099
+ internalType: "address",
2100
+ name: "recipient",
2101
+ type: "address",
2102
+ },
2103
+ {
2104
+ internalType: "uint256",
2105
+ name: "amount",
2106
+ type: "uint256",
2107
+ },
2108
+ ],
2109
+ name: "transfer",
2110
+ outputs: [
2111
+ {
2112
+ internalType: "bool",
2113
+ name: "",
2114
+ type: "bool",
2115
+ },
2116
+ ],
2117
+ stateMutability: "nonpayable",
2118
+ type: "function",
2119
+ },
2120
+ {
2121
+ inputs: [
2122
+ {
2123
+ internalType: "address",
2124
+ name: "recipient",
2125
+ type: "address",
2126
+ },
2127
+ ],
2128
+ name: "transferAll",
2129
+ outputs: [],
2130
+ stateMutability: "nonpayable",
2131
+ type: "function",
2132
+ },
2133
+ {
2134
+ inputs: [
2135
+ {
2136
+ internalType: "address",
2137
+ name: "to",
2138
+ type: "address",
2139
+ },
2140
+ {
2141
+ internalType: "uint256",
2142
+ name: "value",
2143
+ type: "uint256",
2144
+ },
2145
+ {
2146
+ internalType: "bytes",
2147
+ name: "data",
2148
+ type: "bytes",
2149
+ },
2150
+ ],
2151
+ name: "transferAndCall",
2152
+ outputs: [
2153
+ {
2154
+ internalType: "bool",
2155
+ name: "",
2156
+ type: "bool",
2157
+ },
2158
+ ],
2159
+ stateMutability: "nonpayable",
2160
+ type: "function",
2161
+ },
2162
+ {
2163
+ inputs: [
2164
+ {
2165
+ internalType: "address",
2166
+ name: "sender",
2167
+ type: "address",
2168
+ },
2169
+ {
2170
+ internalType: "address",
2171
+ name: "recipient",
2172
+ type: "address",
2173
+ },
2174
+ {
2175
+ internalType: "uint256",
2176
+ name: "amount",
2177
+ type: "uint256",
2178
+ },
2179
+ ],
2180
+ name: "transferFrom",
2181
+ outputs: [
2182
+ {
2183
+ internalType: "bool",
2184
+ name: "",
2185
+ type: "bool",
2186
+ },
2187
+ ],
2188
+ stateMutability: "nonpayable",
2189
+ type: "function",
2190
+ },
2191
+ {
2192
+ inputs: [
2193
+ {
2194
+ internalType: "address",
2195
+ name: "_owner",
2196
+ type: "address",
2197
+ },
2198
+ ],
2199
+ name: "transferOwnership",
2200
+ outputs: [],
2201
+ stateMutability: "nonpayable",
2202
+ type: "function",
2203
+ },
2204
+ {
2205
+ inputs: [],
2206
+ name: "unpause",
2207
+ outputs: [],
2208
+ stateMutability: "nonpayable",
2209
+ type: "function",
2210
+ },
2211
+ {
2212
+ inputs: [
2213
+ {
2214
+ internalType: "bytes32",
2215
+ name: "id",
2216
+ type: "bytes32",
2217
+ },
2218
+ {
2219
+ internalType: "bytes32[]",
2220
+ name: "data",
2221
+ type: "bytes32[]",
2222
+ },
2223
+ ],
2224
+ name: "updateAgreementData",
2225
+ outputs: [],
2226
+ stateMutability: "nonpayable",
2227
+ type: "function",
2228
+ },
2229
+ {
2230
+ inputs: [
2231
+ {
2232
+ internalType: "address",
2233
+ name: "account",
2234
+ type: "address",
2235
+ },
2236
+ {
2237
+ internalType: "uint256",
2238
+ name: "slotId",
2239
+ type: "uint256",
2240
+ },
2241
+ {
2242
+ internalType: "bytes32[]",
2243
+ name: "slotData",
2244
+ type: "bytes32[]",
2245
+ },
2246
+ ],
2247
+ name: "updateAgreementStateSlot",
2248
+ outputs: [],
2249
+ stateMutability: "nonpayable",
2250
+ type: "function",
2251
+ },
2252
+ {
2253
+ inputs: [
2254
+ {
2255
+ internalType: "uint256",
2256
+ name: "amount",
2257
+ type: "uint256",
2258
+ },
2259
+ ],
2260
+ name: "upgrade",
2261
+ outputs: [],
2262
+ stateMutability: "nonpayable",
2263
+ type: "function",
2264
+ },
2265
+ {
2266
+ inputs: [
2267
+ {
2268
+ internalType: "address",
2269
+ name: "to",
2270
+ type: "address",
2271
+ },
2272
+ {
2273
+ internalType: "uint256",
2274
+ name: "amount",
2275
+ type: "uint256",
2276
+ },
2277
+ {
2278
+ internalType: "bytes",
2279
+ name: "data",
2280
+ type: "bytes",
2281
+ },
2282
+ ],
2283
+ name: "upgradeTo",
2284
+ outputs: [],
2285
+ stateMutability: "nonpayable",
2286
+ type: "function",
2287
+ },
2288
+ ] as const;
2289
+
2290
+ export class ISuperGoodDollar__factory {
2291
+ static readonly abi = _abi;
2292
+ static createInterface(): ISuperGoodDollarInterface {
2293
+ return new utils.Interface(_abi) as ISuperGoodDollarInterface;
2294
+ }
2295
+ static connect(
2296
+ address: string,
2297
+ signerOrProvider: Signer | Provider
2298
+ ): ISuperGoodDollar {
2299
+ return new Contract(address, _abi, signerOrProvider) as ISuperGoodDollar;
2300
+ }
2301
+ }