@venusprotocol/protocol-reserve 1.5.0 → 1.6.0-dev.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 (224) hide show
  1. package/artifacts/@openzeppelin/contracts/access/AccessControl.sol/AccessControl.dbg.json +1 -1
  2. package/artifacts/@openzeppelin/contracts/access/IAccessControl.sol/IAccessControl.dbg.json +1 -1
  3. package/artifacts/@openzeppelin/contracts/access/Ownable.sol/Ownable.dbg.json +1 -1
  4. package/artifacts/@openzeppelin/contracts/interfaces/IERC1967.sol/IERC1967.dbg.json +1 -1
  5. package/artifacts/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable.dbg.json +1 -1
  6. package/artifacts/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol/ERC1967Proxy.dbg.json +1 -1
  7. package/artifacts/@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.sol/ERC1967Upgrade.dbg.json +1 -1
  8. package/artifacts/@openzeppelin/contracts/proxy/Proxy.sol/Proxy.dbg.json +1 -1
  9. package/artifacts/@openzeppelin/contracts/proxy/beacon/BeaconProxy.sol/BeaconProxy.dbg.json +1 -1
  10. package/artifacts/@openzeppelin/contracts/proxy/beacon/IBeacon.sol/IBeacon.dbg.json +1 -1
  11. package/artifacts/@openzeppelin/contracts/proxy/beacon/UpgradeableBeacon.sol/UpgradeableBeacon.dbg.json +1 -1
  12. package/artifacts/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol/ProxyAdmin.dbg.json +1 -1
  13. package/artifacts/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/ITransparentUpgradeableProxy.dbg.json +1 -1
  14. package/artifacts/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.dbg.json +1 -1
  15. package/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.dbg.json +1 -1
  16. package/artifacts/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.dbg.json +1 -1
  17. package/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol/IERC20Metadata.dbg.json +1 -1
  18. package/artifacts/@openzeppelin/contracts/utils/Address.sol/Address.dbg.json +1 -1
  19. package/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.dbg.json +1 -1
  20. package/artifacts/@openzeppelin/contracts/utils/StorageSlot.sol/StorageSlot.dbg.json +1 -1
  21. package/artifacts/@openzeppelin/contracts/utils/Strings.sol/Strings.dbg.json +1 -1
  22. package/artifacts/@openzeppelin/contracts/utils/introspection/ERC165.sol/ERC165.dbg.json +1 -1
  23. package/artifacts/@openzeppelin/contracts/utils/introspection/IERC165.sol/IERC165.dbg.json +1 -1
  24. package/artifacts/@openzeppelin/contracts/utils/math/Math.sol/Math.dbg.json +1 -1
  25. package/artifacts/@openzeppelin/contracts/utils/math/SignedMath.sol/SignedMath.dbg.json +1 -1
  26. package/artifacts/@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol/Ownable2StepUpgradeable.dbg.json +1 -1
  27. package/artifacts/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol/OwnableUpgradeable.dbg.json +1 -1
  28. package/artifacts/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol/Initializable.dbg.json +1 -1
  29. package/artifacts/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol/PausableUpgradeable.dbg.json +1 -1
  30. package/artifacts/@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol/ReentrancyGuardUpgradeable.dbg.json +1 -1
  31. package/artifacts/@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol/IERC20Upgradeable.dbg.json +1 -1
  32. package/artifacts/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/IERC20PermitUpgradeable.sol/IERC20PermitUpgradeable.dbg.json +1 -1
  33. package/artifacts/@openzeppelin/contracts-upgradeable/token/ERC20/utils/SafeERC20Upgradeable.sol/SafeERC20Upgradeable.dbg.json +1 -1
  34. package/artifacts/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol/AddressUpgradeable.dbg.json +1 -1
  35. package/artifacts/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol/ContextUpgradeable.dbg.json +1 -1
  36. package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/AccessControlledV8.sol/AccessControlledV8.dbg.json +1 -1
  37. package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/IAccessControlManagerV8.sol/IAccessControlManagerV8.dbg.json +1 -1
  38. package/artifacts/@venusprotocol/oracle/contracts/ResilientOracle.sol/ResilientOracle.dbg.json +1 -1
  39. package/artifacts/@venusprotocol/oracle/contracts/interfaces/OracleInterface.sol/BoundValidatorInterface.dbg.json +1 -1
  40. package/artifacts/@venusprotocol/oracle/contracts/interfaces/OracleInterface.sol/OracleInterface.dbg.json +1 -1
  41. package/artifacts/@venusprotocol/oracle/contracts/interfaces/OracleInterface.sol/ResilientOracleInterface.dbg.json +1 -1
  42. package/artifacts/@venusprotocol/oracle/contracts/interfaces/OracleInterface.sol/TwapInterface.dbg.json +1 -1
  43. package/artifacts/@venusprotocol/oracle/contracts/interfaces/VBep20Interface.sol/VBep20Interface.dbg.json +1 -1
  44. package/artifacts/@venusprotocol/solidity-utilities/contracts/MaxLoopsLimitHelper.sol/MaxLoopsLimitHelper.dbg.json +1 -1
  45. package/artifacts/build-info/{edc419076b46914ce81b28cdf6fbe9e4.json → d1fcd0a2f344488c087ed41d687ed735.json} +1 -1
  46. package/artifacts/contracts/Interfaces/IComptroller.sol/IComptroller.dbg.json +1 -1
  47. package/artifacts/contracts/Interfaces/IConverterNetwork.sol/IConverterNetwork.dbg.json +1 -1
  48. package/artifacts/contracts/Interfaces/IIncomeDestination.sol/IIncomeDestination.dbg.json +1 -1
  49. package/artifacts/contracts/Interfaces/IPoolRegistry.sol/IPoolRegistry.dbg.json +1 -1
  50. package/artifacts/contracts/Interfaces/IProtocolShareReserve.sol/IProtocolShareReserve.dbg.json +1 -1
  51. package/artifacts/contracts/Interfaces/IRiskFund.sol/IRiskFund.dbg.json +1 -1
  52. package/artifacts/contracts/Interfaces/IRiskFund.sol/IRiskFundGetters.dbg.json +1 -1
  53. package/artifacts/contracts/Interfaces/IRiskFundConverter.sol/IRiskFundConverter.dbg.json +1 -1
  54. package/artifacts/contracts/Interfaces/IShortfall.sol/IShortfall.dbg.json +1 -1
  55. package/artifacts/contracts/Interfaces/IVToken.sol/IVToken.dbg.json +1 -1
  56. package/artifacts/contracts/Interfaces/IXVSVault.sol/IXVSVault.dbg.json +1 -1
  57. package/artifacts/contracts/ProtocolReserve/ProtocolShareReserve.sol/ProtocolShareReserve.dbg.json +1 -1
  58. package/artifacts/contracts/ProtocolReserve/RiskFundStorage.sol/MaxLoopsLimitHelpersStorage.dbg.json +1 -1
  59. package/artifacts/contracts/ProtocolReserve/RiskFundStorage.sol/ReserveHelpersStorage.dbg.json +1 -1
  60. package/artifacts/contracts/ProtocolReserve/RiskFundStorage.sol/RiskFundV1Storage.dbg.json +1 -1
  61. package/artifacts/contracts/ProtocolReserve/RiskFundStorage.sol/RiskFundV2Storage.dbg.json +1 -1
  62. package/artifacts/contracts/ProtocolReserve/RiskFundV2.sol/RiskFundV2.dbg.json +1 -1
  63. package/artifacts/contracts/ProtocolReserve/XVSVaultTreasury.sol/XVSVaultTreasury.dbg.json +1 -1
  64. package/artifacts/contracts/ProtocolReserve/XVSVaultTreasury.sol/XVSVaultTreasury.json +50 -2
  65. package/artifacts/contracts/Test/Mocks/MockACM.sol/MockACM.dbg.json +1 -1
  66. package/artifacts/contracts/Test/Mocks/MockArraySorter.sol/MockArraySorter.dbg.json +1 -1
  67. package/artifacts/contracts/Test/Mocks/MockConverter.sol/MockConverter.dbg.json +1 -1
  68. package/artifacts/contracts/Test/Mocks/MockDeflationaryToken.sol/MockDeflatingToken.dbg.json +1 -1
  69. package/artifacts/contracts/Test/Mocks/MockRiskFundConverter.sol/MockRiskFundConverter.dbg.json +1 -1
  70. package/artifacts/contracts/Test/Mocks/MockToken.sol/MockToken.dbg.json +1 -1
  71. package/artifacts/contracts/TokenConverter/AbstractTokenConverter.sol/AbstractTokenConverter.dbg.json +1 -1
  72. package/artifacts/contracts/TokenConverter/ConverterNetwork.sol/ConverterNetwork.dbg.json +1 -1
  73. package/artifacts/contracts/TokenConverter/IAbstractTokenConverter.sol/IAbstractTokenConverter.dbg.json +1 -1
  74. package/artifacts/contracts/TokenConverter/RiskFundConverter.sol/RiskFundConverter.dbg.json +1 -1
  75. package/artifacts/contracts/TokenConverter/SingleTokenConverter.sol/SingleTokenConverter.dbg.json +1 -1
  76. package/contracts/ProtocolReserve/XVSVaultTreasury.sol +26 -0
  77. package/deployments/bscmainnet/XVSVaultTreasury_Implementation.json +91 -27
  78. package/deployments/bscmainnet/solcInputs/f56c48e0e517617d548c496f99aa8709.json +237 -0
  79. package/deployments/bscmainnet.json +49 -1
  80. package/deployments/bscmainnet_addresses.json +1 -1
  81. package/deployments/bsctestnet/XVSVaultTreasury_Implementation.json +91 -27
  82. package/deployments/bsctestnet/solcInputs/f56c48e0e517617d548c496f99aa8709.json +237 -0
  83. package/deployments/bsctestnet.json +49 -1
  84. package/deployments/bsctestnet_addresses.json +1 -1
  85. package/dist/hardhat.config.d.ts.map +1 -1
  86. package/dist/hardhat.config.js +1 -0
  87. package/dist/hardhat.config.js.map +1 -1
  88. package/dist/typechain/factories/XVSVaultTreasury__factory.d.ts +1 -1
  89. package/dist/typechain/factories/XVSVaultTreasury__factory.d.ts.map +1 -1
  90. package/dist/typechain/factories/XVSVaultTreasury__factory.js +49 -1
  91. package/dist/typechain/factories/XVSVaultTreasury__factory.js.map +1 -1
  92. package/package.json +4 -2
  93. package/typechain/AbstractTokenConverter.d.ts +1775 -0
  94. package/typechain/AccessControl.d.ts +388 -0
  95. package/typechain/AccessControlledV8.d.ts +341 -0
  96. package/typechain/BeaconProxy.d.ts +126 -0
  97. package/typechain/BoundValidatorInterface.d.ts +126 -0
  98. package/typechain/ContextUpgradeable.d.ts +92 -0
  99. package/typechain/ConverterNetwork.d.ts +723 -0
  100. package/typechain/ERC165.d.ts +116 -0
  101. package/typechain/ERC1967Proxy.d.ts +126 -0
  102. package/typechain/ERC1967Upgrade.d.ts +126 -0
  103. package/typechain/ERC20.d.ts +441 -0
  104. package/typechain/IAbstractTokenConverter.d.ts +773 -0
  105. package/typechain/IAccessControl.d.ts +333 -0
  106. package/typechain/IAccessControlManagerV8.d.ts +504 -0
  107. package/typechain/IBeacon.d.ts +101 -0
  108. package/typechain/IComptroller.d.ts +136 -0
  109. package/typechain/IConverterNetwork.d.ts +292 -0
  110. package/typechain/IERC165.d.ts +116 -0
  111. package/typechain/IERC1822Proxiable.d.ts +101 -0
  112. package/typechain/IERC1967.d.ts +126 -0
  113. package/typechain/IERC20.d.ts +324 -0
  114. package/typechain/IERC20Metadata.d.ts +363 -0
  115. package/typechain/IERC20PermitUpgradeable.d.ts +187 -0
  116. package/typechain/IERC20Upgradeable.d.ts +324 -0
  117. package/typechain/IIncomeDestination.d.ts +122 -0
  118. package/typechain/IPoolRegistry.d.ts +155 -0
  119. package/typechain/IProtocolShareReserve.d.ts +127 -0
  120. package/typechain/IRiskFund.d.ts +200 -0
  121. package/typechain/IRiskFundConverter.d.ts +138 -0
  122. package/typechain/IRiskFundGetters.d.ts +103 -0
  123. package/typechain/IShortfall.d.ts +110 -0
  124. package/typechain/ITransparentUpgradeableProxy.d.ts +256 -0
  125. package/typechain/IVToken.d.ts +98 -0
  126. package/typechain/IXVSVault.d.ts +95 -0
  127. package/typechain/Initializable.d.ts +92 -0
  128. package/typechain/MaxLoopsLimitHelper.d.ts +128 -0
  129. package/typechain/MaxLoopsLimitHelpersStorage.d.ts +101 -0
  130. package/typechain/MockACM.d.ts +615 -0
  131. package/typechain/MockArraySorter.d.ts +118 -0
  132. package/typechain/MockConverter.d.ts +1969 -0
  133. package/typechain/MockDeflatingToken.d.ts +486 -0
  134. package/typechain/MockRiskFundConverter.d.ts +2479 -0
  135. package/typechain/MockToken.d.ts +505 -0
  136. package/typechain/OracleInterface.d.ts +98 -0
  137. package/typechain/Ownable.d.ts +181 -0
  138. package/typechain/Ownable2StepUpgradeable.d.ts +261 -0
  139. package/typechain/OwnableUpgradeable.d.ts +193 -0
  140. package/typechain/PausableUpgradeable.d.ts +129 -0
  141. package/typechain/ProtocolShareReserve.d.ts +1214 -0
  142. package/typechain/Proxy.d.ts +78 -0
  143. package/typechain/ProxyAdmin.d.ts +357 -0
  144. package/typechain/ReentrancyGuardUpgradeable.d.ts +92 -0
  145. package/typechain/ReserveHelpersStorage.d.ts +300 -0
  146. package/typechain/ResilientOracle.d.ts +1034 -0
  147. package/typechain/ResilientOracleInterface.d.ts +192 -0
  148. package/typechain/RiskFundConverter.d.ts +2235 -0
  149. package/typechain/RiskFundV1Storage.d.ts +353 -0
  150. package/typechain/RiskFundV2.d.ts +965 -0
  151. package/typechain/RiskFundV2Storage.d.ts +372 -0
  152. package/typechain/SingleTokenConverter.d.ts +1944 -0
  153. package/typechain/TransparentUpgradeableProxy.d.ts +126 -0
  154. package/typechain/TwapInterface.d.ts +124 -0
  155. package/typechain/UpgradeableBeacon.d.ts +240 -0
  156. package/typechain/VBep20Interface.d.ts +379 -0
  157. package/typechain/XVSVaultTreasury.d.ts +580 -0
  158. package/typechain/common.d.ts +35 -0
  159. package/typechain/factories/AbstractTokenConverter__factory.ts +1297 -0
  160. package/typechain/factories/AccessControl__factory.ts +227 -0
  161. package/typechain/factories/AccessControlledV8__factory.ts +196 -0
  162. package/typechain/factories/BeaconProxy__factory.ts +133 -0
  163. package/typechain/factories/BoundValidatorInterface__factory.ts +59 -0
  164. package/typechain/factories/ContextUpgradeable__factory.ts +39 -0
  165. package/typechain/factories/ConverterNetwork__factory.ts +502 -0
  166. package/typechain/factories/ERC165__factory.ts +39 -0
  167. package/typechain/factories/ERC1967Proxy__factory.ts +137 -0
  168. package/typechain/factories/ERC1967Upgrade__factory.ts +71 -0
  169. package/typechain/factories/ERC20__factory.ts +340 -0
  170. package/typechain/factories/IAbstractTokenConverter__factory.ts +466 -0
  171. package/typechain/factories/IAccessControlManagerV8__factory.ts +301 -0
  172. package/typechain/factories/IAccessControl__factory.ts +198 -0
  173. package/typechain/factories/IBeacon__factory.ts +36 -0
  174. package/typechain/factories/IComptroller__factory.ts +68 -0
  175. package/typechain/factories/IConverterNetwork__factory.ts +142 -0
  176. package/typechain/factories/IERC165__factory.ts +42 -0
  177. package/typechain/factories/IERC1822Proxiable__factory.ts +39 -0
  178. package/typechain/factories/IERC1967__factory.ts +68 -0
  179. package/typechain/factories/IERC20Metadata__factory.ts +248 -0
  180. package/typechain/factories/IERC20PermitUpgradeable__factory.ts +105 -0
  181. package/typechain/factories/IERC20Upgradeable__factory.ts +209 -0
  182. package/typechain/factories/IERC20__factory.ts +203 -0
  183. package/typechain/factories/IIncomeDestination__factory.ts +44 -0
  184. package/typechain/factories/IPoolRegistry__factory.ts +66 -0
  185. package/typechain/factories/IProtocolShareReserve__factory.ts +53 -0
  186. package/typechain/factories/IRiskFundConverter__factory.ts +63 -0
  187. package/typechain/factories/IRiskFundGetters__factory.ts +39 -0
  188. package/typechain/factories/IRiskFund__factory.ts +89 -0
  189. package/typechain/factories/IShortfall__factory.ts +36 -0
  190. package/typechain/factories/ITransparentUpgradeableProxy__factory.ts +145 -0
  191. package/typechain/factories/IVToken__factory.ts +36 -0
  192. package/typechain/factories/IXVSVault__factory.ts +36 -0
  193. package/typechain/factories/Initializable__factory.ts +36 -0
  194. package/typechain/factories/MaxLoopsLimitHelper__factory.ts +74 -0
  195. package/typechain/factories/MaxLoopsLimitHelpersStorage__factory.ts +75 -0
  196. package/typechain/factories/MockACM__factory.ts +411 -0
  197. package/typechain/factories/MockArraySorter__factory.ts +85 -0
  198. package/typechain/factories/MockConverter__factory.ts +1439 -0
  199. package/typechain/factories/MockDeflatingToken__factory.ts +389 -0
  200. package/typechain/factories/MockRiskFundConverter__factory.ts +1828 -0
  201. package/typechain/factories/MockToken__factory.ts +398 -0
  202. package/typechain/factories/OracleInterface__factory.ts +45 -0
  203. package/typechain/factories/Ownable2StepUpgradeable__factory.ts +134 -0
  204. package/typechain/factories/OwnableUpgradeable__factory.ts +91 -0
  205. package/typechain/factories/Ownable__factory.ts +75 -0
  206. package/typechain/factories/PausableUpgradeable__factory.ts +78 -0
  207. package/typechain/factories/ProtocolShareReserve__factory.ts +874 -0
  208. package/typechain/factories/ProxyAdmin__factory.ts +202 -0
  209. package/typechain/factories/Proxy__factory.ts +28 -0
  210. package/typechain/factories/ReentrancyGuardUpgradeable__factory.ts +43 -0
  211. package/typechain/factories/ReserveHelpersStorage__factory.ts +188 -0
  212. package/typechain/factories/ResilientOracleInterface__factory.ts +94 -0
  213. package/typechain/factories/ResilientOracle__factory.ts +710 -0
  214. package/typechain/factories/RiskFundConverter__factory.ts +1694 -0
  215. package/typechain/factories/RiskFundV1Storage__factory.ts +223 -0
  216. package/typechain/factories/RiskFundV2Storage__factory.ts +236 -0
  217. package/typechain/factories/RiskFundV2__factory.ts +672 -0
  218. package/typechain/factories/SingleTokenConverter__factory.ts +1441 -0
  219. package/typechain/factories/TransparentUpgradeableProxy__factory.ts +152 -0
  220. package/typechain/factories/TwapInterface__factory.ts +61 -0
  221. package/typechain/factories/UpgradeableBeacon__factory.ts +163 -0
  222. package/typechain/factories/VBep20Interface__factory.ts +261 -0
  223. package/typechain/factories/XVSVaultTreasury__factory.ts +413 -0
  224. package/typechain/index.ts +134 -0
@@ -0,0 +1,1694 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
6
+ import { Provider, TransactionRequest } from "@ethersproject/providers";
7
+ import type {
8
+ RiskFundConverter,
9
+ RiskFundConverterInterface,
10
+ } from "../RiskFundConverter";
11
+
12
+ const _abi = [
13
+ {
14
+ inputs: [
15
+ {
16
+ internalType: "address",
17
+ name: "corePoolComptroller_",
18
+ type: "address",
19
+ },
20
+ {
21
+ internalType: "address",
22
+ name: "vBNB_",
23
+ type: "address",
24
+ },
25
+ {
26
+ internalType: "address",
27
+ name: "nativeWrapped_",
28
+ type: "address",
29
+ },
30
+ ],
31
+ stateMutability: "nonpayable",
32
+ type: "constructor",
33
+ },
34
+ {
35
+ inputs: [
36
+ {
37
+ internalType: "uint256",
38
+ name: "amountInMantissa",
39
+ type: "uint256",
40
+ },
41
+ {
42
+ internalType: "uint256",
43
+ name: "amountInMaxMantissa",
44
+ type: "uint256",
45
+ },
46
+ ],
47
+ name: "AmountInHigherThanMax",
48
+ type: "error",
49
+ },
50
+ {
51
+ inputs: [],
52
+ name: "AmountInMismatched",
53
+ type: "error",
54
+ },
55
+ {
56
+ inputs: [
57
+ {
58
+ internalType: "uint256",
59
+ name: "amountOutMantissa",
60
+ type: "uint256",
61
+ },
62
+ {
63
+ internalType: "uint256",
64
+ name: "amountOutMinMantissa",
65
+ type: "uint256",
66
+ },
67
+ ],
68
+ name: "AmountOutLowerThanMinRequired",
69
+ type: "error",
70
+ },
71
+ {
72
+ inputs: [],
73
+ name: "AmountOutMismatched",
74
+ type: "error",
75
+ },
76
+ {
77
+ inputs: [],
78
+ name: "ConversionConfigNotEnabled",
79
+ type: "error",
80
+ },
81
+ {
82
+ inputs: [],
83
+ name: "ConversionEnabledOnlyForPrivateConversions",
84
+ type: "error",
85
+ },
86
+ {
87
+ inputs: [],
88
+ name: "ConversionTokensActive",
89
+ type: "error",
90
+ },
91
+ {
92
+ inputs: [],
93
+ name: "ConversionTokensPaused",
94
+ type: "error",
95
+ },
96
+ {
97
+ inputs: [],
98
+ name: "DeflationaryTokenNotSupported",
99
+ type: "error",
100
+ },
101
+ {
102
+ inputs: [
103
+ {
104
+ internalType: "uint256",
105
+ name: "incentive",
106
+ type: "uint256",
107
+ },
108
+ {
109
+ internalType: "uint256",
110
+ name: "maxIncentive",
111
+ type: "uint256",
112
+ },
113
+ ],
114
+ name: "IncentiveTooHigh",
115
+ type: "error",
116
+ },
117
+ {
118
+ inputs: [],
119
+ name: "InputLengthMisMatch",
120
+ type: "error",
121
+ },
122
+ {
123
+ inputs: [],
124
+ name: "InsufficientBalance",
125
+ type: "error",
126
+ },
127
+ {
128
+ inputs: [],
129
+ name: "InsufficientInputAmount",
130
+ type: "error",
131
+ },
132
+ {
133
+ inputs: [],
134
+ name: "InsufficientOutputAmount",
135
+ type: "error",
136
+ },
137
+ {
138
+ inputs: [],
139
+ name: "InsufficientPoolLiquidity",
140
+ type: "error",
141
+ },
142
+ {
143
+ inputs: [],
144
+ name: "InvalidArguments",
145
+ type: "error",
146
+ },
147
+ {
148
+ inputs: [],
149
+ name: "InvalidConverterNetwork",
150
+ type: "error",
151
+ },
152
+ {
153
+ inputs: [],
154
+ name: "InvalidMinimumAmountToConvert",
155
+ type: "error",
156
+ },
157
+ {
158
+ inputs: [],
159
+ name: "InvalidToAddress",
160
+ type: "error",
161
+ },
162
+ {
163
+ inputs: [],
164
+ name: "InvalidTokenConfigAddresses",
165
+ type: "error",
166
+ },
167
+ {
168
+ inputs: [
169
+ {
170
+ internalType: "address",
171
+ name: "comptroller",
172
+ type: "address",
173
+ },
174
+ {
175
+ internalType: "address",
176
+ name: "asset",
177
+ type: "address",
178
+ },
179
+ ],
180
+ name: "MarketNotExistInPool",
181
+ type: "error",
182
+ },
183
+ {
184
+ inputs: [],
185
+ name: "NonZeroIncentiveForPrivateConversion",
186
+ type: "error",
187
+ },
188
+ {
189
+ inputs: [],
190
+ name: "ReentrancyGuardError",
191
+ type: "error",
192
+ },
193
+ {
194
+ inputs: [
195
+ {
196
+ internalType: "address",
197
+ name: "sender",
198
+ type: "address",
199
+ },
200
+ {
201
+ internalType: "address",
202
+ name: "calledContract",
203
+ type: "address",
204
+ },
205
+ {
206
+ internalType: "string",
207
+ name: "methodSignature",
208
+ type: "string",
209
+ },
210
+ ],
211
+ name: "Unauthorized",
212
+ type: "error",
213
+ },
214
+ {
215
+ inputs: [],
216
+ name: "ZeroAddressNotAllowed",
217
+ type: "error",
218
+ },
219
+ {
220
+ inputs: [],
221
+ name: "ZeroValueNotAllowed",
222
+ type: "error",
223
+ },
224
+ {
225
+ anonymous: false,
226
+ inputs: [
227
+ {
228
+ indexed: true,
229
+ internalType: "address",
230
+ name: "receiver",
231
+ type: "address",
232
+ },
233
+ {
234
+ indexed: true,
235
+ internalType: "address",
236
+ name: "comptroller",
237
+ type: "address",
238
+ },
239
+ {
240
+ indexed: true,
241
+ internalType: "address",
242
+ name: "asset",
243
+ type: "address",
244
+ },
245
+ {
246
+ indexed: false,
247
+ internalType: "uint256",
248
+ name: "amount",
249
+ type: "uint256",
250
+ },
251
+ ],
252
+ name: "AssetTransferredToDestination",
253
+ type: "event",
254
+ },
255
+ {
256
+ anonymous: false,
257
+ inputs: [
258
+ {
259
+ indexed: true,
260
+ internalType: "address",
261
+ name: "comptroller",
262
+ type: "address",
263
+ },
264
+ {
265
+ indexed: true,
266
+ internalType: "address",
267
+ name: "asset",
268
+ type: "address",
269
+ },
270
+ {
271
+ indexed: false,
272
+ internalType: "uint256",
273
+ name: "amount",
274
+ type: "uint256",
275
+ },
276
+ ],
277
+ name: "AssetsReservesUpdated",
278
+ type: "event",
279
+ },
280
+ {
281
+ anonymous: false,
282
+ inputs: [
283
+ {
284
+ indexed: true,
285
+ internalType: "address",
286
+ name: "tokenAddressIn",
287
+ type: "address",
288
+ },
289
+ {
290
+ indexed: true,
291
+ internalType: "address",
292
+ name: "tokenAddressOut",
293
+ type: "address",
294
+ },
295
+ {
296
+ indexed: false,
297
+ internalType: "uint256",
298
+ name: "oldIncentive",
299
+ type: "uint256",
300
+ },
301
+ {
302
+ indexed: false,
303
+ internalType: "uint256",
304
+ name: "newIncentive",
305
+ type: "uint256",
306
+ },
307
+ {
308
+ indexed: false,
309
+ internalType: "enum IAbstractTokenConverter.ConversionAccessibility",
310
+ name: "oldAccess",
311
+ type: "uint8",
312
+ },
313
+ {
314
+ indexed: false,
315
+ internalType: "enum IAbstractTokenConverter.ConversionAccessibility",
316
+ name: "newAccess",
317
+ type: "uint8",
318
+ },
319
+ ],
320
+ name: "ConversionConfigUpdated",
321
+ type: "event",
322
+ },
323
+ {
324
+ anonymous: false,
325
+ inputs: [
326
+ {
327
+ indexed: true,
328
+ internalType: "address",
329
+ name: "sender",
330
+ type: "address",
331
+ },
332
+ ],
333
+ name: "ConversionPaused",
334
+ type: "event",
335
+ },
336
+ {
337
+ anonymous: false,
338
+ inputs: [
339
+ {
340
+ indexed: true,
341
+ internalType: "address",
342
+ name: "sender",
343
+ type: "address",
344
+ },
345
+ ],
346
+ name: "ConversionResumed",
347
+ type: "event",
348
+ },
349
+ {
350
+ anonymous: false,
351
+ inputs: [
352
+ {
353
+ indexed: true,
354
+ internalType: "address",
355
+ name: "sender",
356
+ type: "address",
357
+ },
358
+ {
359
+ indexed: true,
360
+ internalType: "address",
361
+ name: "receiver",
362
+ type: "address",
363
+ },
364
+ {
365
+ indexed: false,
366
+ internalType: "address",
367
+ name: "tokenAddressIn",
368
+ type: "address",
369
+ },
370
+ {
371
+ indexed: true,
372
+ internalType: "address",
373
+ name: "tokenAddressOut",
374
+ type: "address",
375
+ },
376
+ {
377
+ indexed: false,
378
+ internalType: "uint256",
379
+ name: "amountIn",
380
+ type: "uint256",
381
+ },
382
+ {
383
+ indexed: false,
384
+ internalType: "uint256",
385
+ name: "amountOut",
386
+ type: "uint256",
387
+ },
388
+ ],
389
+ name: "ConvertedExactTokens",
390
+ type: "event",
391
+ },
392
+ {
393
+ anonymous: false,
394
+ inputs: [
395
+ {
396
+ indexed: true,
397
+ internalType: "address",
398
+ name: "sender",
399
+ type: "address",
400
+ },
401
+ {
402
+ indexed: true,
403
+ internalType: "address",
404
+ name: "receiver",
405
+ type: "address",
406
+ },
407
+ {
408
+ indexed: false,
409
+ internalType: "address",
410
+ name: "tokenAddressIn",
411
+ type: "address",
412
+ },
413
+ {
414
+ indexed: true,
415
+ internalType: "address",
416
+ name: "tokenAddressOut",
417
+ type: "address",
418
+ },
419
+ {
420
+ indexed: false,
421
+ internalType: "uint256",
422
+ name: "amountIn",
423
+ type: "uint256",
424
+ },
425
+ {
426
+ indexed: false,
427
+ internalType: "uint256",
428
+ name: "amountOut",
429
+ type: "uint256",
430
+ },
431
+ ],
432
+ name: "ConvertedExactTokensSupportingFeeOnTransferTokens",
433
+ type: "event",
434
+ },
435
+ {
436
+ anonymous: false,
437
+ inputs: [
438
+ {
439
+ indexed: true,
440
+ internalType: "address",
441
+ name: "sender",
442
+ type: "address",
443
+ },
444
+ {
445
+ indexed: true,
446
+ internalType: "address",
447
+ name: "receiver",
448
+ type: "address",
449
+ },
450
+ {
451
+ indexed: false,
452
+ internalType: "address",
453
+ name: "tokenAddressIn",
454
+ type: "address",
455
+ },
456
+ {
457
+ indexed: true,
458
+ internalType: "address",
459
+ name: "tokenAddressOut",
460
+ type: "address",
461
+ },
462
+ {
463
+ indexed: false,
464
+ internalType: "uint256",
465
+ name: "amountIn",
466
+ type: "uint256",
467
+ },
468
+ {
469
+ indexed: false,
470
+ internalType: "uint256",
471
+ name: "amountOut",
472
+ type: "uint256",
473
+ },
474
+ ],
475
+ name: "ConvertedForExactTokens",
476
+ type: "event",
477
+ },
478
+ {
479
+ anonymous: false,
480
+ inputs: [
481
+ {
482
+ indexed: true,
483
+ internalType: "address",
484
+ name: "sender",
485
+ type: "address",
486
+ },
487
+ {
488
+ indexed: true,
489
+ internalType: "address",
490
+ name: "receiver",
491
+ type: "address",
492
+ },
493
+ {
494
+ indexed: false,
495
+ internalType: "address",
496
+ name: "tokenAddressIn",
497
+ type: "address",
498
+ },
499
+ {
500
+ indexed: true,
501
+ internalType: "address",
502
+ name: "tokenAddressOut",
503
+ type: "address",
504
+ },
505
+ {
506
+ indexed: false,
507
+ internalType: "uint256",
508
+ name: "amountIn",
509
+ type: "uint256",
510
+ },
511
+ {
512
+ indexed: false,
513
+ internalType: "uint256",
514
+ name: "amountOut",
515
+ type: "uint256",
516
+ },
517
+ ],
518
+ name: "ConvertedForExactTokensSupportingFeeOnTransferTokens",
519
+ type: "event",
520
+ },
521
+ {
522
+ anonymous: false,
523
+ inputs: [
524
+ {
525
+ indexed: true,
526
+ internalType: "address",
527
+ name: "oldConverterNetwork",
528
+ type: "address",
529
+ },
530
+ {
531
+ indexed: true,
532
+ internalType: "address",
533
+ name: "converterNetwork",
534
+ type: "address",
535
+ },
536
+ ],
537
+ name: "ConverterNetworkAddressUpdated",
538
+ type: "event",
539
+ },
540
+ {
541
+ anonymous: false,
542
+ inputs: [
543
+ {
544
+ indexed: true,
545
+ internalType: "address",
546
+ name: "oldDestinationAddress",
547
+ type: "address",
548
+ },
549
+ {
550
+ indexed: true,
551
+ internalType: "address",
552
+ name: "destinationAddress",
553
+ type: "address",
554
+ },
555
+ ],
556
+ name: "DestinationAddressUpdated",
557
+ type: "event",
558
+ },
559
+ {
560
+ anonymous: false,
561
+ inputs: [
562
+ {
563
+ indexed: false,
564
+ internalType: "uint8",
565
+ name: "version",
566
+ type: "uint8",
567
+ },
568
+ ],
569
+ name: "Initialized",
570
+ type: "event",
571
+ },
572
+ {
573
+ anonymous: false,
574
+ inputs: [
575
+ {
576
+ indexed: false,
577
+ internalType: "uint256",
578
+ name: "oldMinAmountToConvert",
579
+ type: "uint256",
580
+ },
581
+ {
582
+ indexed: false,
583
+ internalType: "uint256",
584
+ name: "newMinAmountToConvert",
585
+ type: "uint256",
586
+ },
587
+ ],
588
+ name: "MinAmountToConvertUpdated",
589
+ type: "event",
590
+ },
591
+ {
592
+ anonymous: false,
593
+ inputs: [
594
+ {
595
+ indexed: false,
596
+ internalType: "address",
597
+ name: "oldAccessControlManager",
598
+ type: "address",
599
+ },
600
+ {
601
+ indexed: false,
602
+ internalType: "address",
603
+ name: "newAccessControlManager",
604
+ type: "address",
605
+ },
606
+ ],
607
+ name: "NewAccessControlManager",
608
+ type: "event",
609
+ },
610
+ {
611
+ anonymous: false,
612
+ inputs: [
613
+ {
614
+ indexed: true,
615
+ internalType: "address",
616
+ name: "previousOwner",
617
+ type: "address",
618
+ },
619
+ {
620
+ indexed: true,
621
+ internalType: "address",
622
+ name: "newOwner",
623
+ type: "address",
624
+ },
625
+ ],
626
+ name: "OwnershipTransferStarted",
627
+ type: "event",
628
+ },
629
+ {
630
+ anonymous: false,
631
+ inputs: [
632
+ {
633
+ indexed: true,
634
+ internalType: "address",
635
+ name: "previousOwner",
636
+ type: "address",
637
+ },
638
+ {
639
+ indexed: true,
640
+ internalType: "address",
641
+ name: "newOwner",
642
+ type: "address",
643
+ },
644
+ ],
645
+ name: "OwnershipTransferred",
646
+ type: "event",
647
+ },
648
+ {
649
+ anonymous: false,
650
+ inputs: [
651
+ {
652
+ indexed: true,
653
+ internalType: "address",
654
+ name: "comptroller",
655
+ type: "address",
656
+ },
657
+ {
658
+ indexed: true,
659
+ internalType: "address",
660
+ name: "asset",
661
+ type: "address",
662
+ },
663
+ {
664
+ indexed: false,
665
+ internalType: "bool",
666
+ name: "value",
667
+ type: "bool",
668
+ },
669
+ ],
670
+ name: "PoolAssetsDirectTransferUpdated",
671
+ type: "event",
672
+ },
673
+ {
674
+ anonymous: false,
675
+ inputs: [
676
+ {
677
+ indexed: true,
678
+ internalType: "address",
679
+ name: "oldPoolRegistry",
680
+ type: "address",
681
+ },
682
+ {
683
+ indexed: true,
684
+ internalType: "address",
685
+ name: "newPoolRegistry",
686
+ type: "address",
687
+ },
688
+ ],
689
+ name: "PoolRegistryUpdated",
690
+ type: "event",
691
+ },
692
+ {
693
+ anonymous: false,
694
+ inputs: [
695
+ {
696
+ indexed: true,
697
+ internalType: "contract ResilientOracle",
698
+ name: "oldPriceOracle",
699
+ type: "address",
700
+ },
701
+ {
702
+ indexed: true,
703
+ internalType: "contract ResilientOracle",
704
+ name: "priceOracle",
705
+ type: "address",
706
+ },
707
+ ],
708
+ name: "PriceOracleUpdated",
709
+ type: "event",
710
+ },
711
+ {
712
+ anonymous: false,
713
+ inputs: [
714
+ {
715
+ indexed: true,
716
+ internalType: "address",
717
+ name: "token",
718
+ type: "address",
719
+ },
720
+ {
721
+ indexed: true,
722
+ internalType: "address",
723
+ name: "to",
724
+ type: "address",
725
+ },
726
+ {
727
+ indexed: false,
728
+ internalType: "uint256",
729
+ name: "amount",
730
+ type: "uint256",
731
+ },
732
+ ],
733
+ name: "SweepToken",
734
+ type: "event",
735
+ },
736
+ {
737
+ inputs: [],
738
+ name: "CORE_POOL_COMPTROLLER",
739
+ outputs: [
740
+ {
741
+ internalType: "address",
742
+ name: "",
743
+ type: "address",
744
+ },
745
+ ],
746
+ stateMutability: "view",
747
+ type: "function",
748
+ },
749
+ {
750
+ inputs: [],
751
+ name: "MAX_INCENTIVE",
752
+ outputs: [
753
+ {
754
+ internalType: "uint256",
755
+ name: "",
756
+ type: "uint256",
757
+ },
758
+ ],
759
+ stateMutability: "view",
760
+ type: "function",
761
+ },
762
+ {
763
+ inputs: [],
764
+ name: "NATIVE_WRAPPED",
765
+ outputs: [
766
+ {
767
+ internalType: "address",
768
+ name: "",
769
+ type: "address",
770
+ },
771
+ ],
772
+ stateMutability: "view",
773
+ type: "function",
774
+ },
775
+ {
776
+ inputs: [],
777
+ name: "VBNB",
778
+ outputs: [
779
+ {
780
+ internalType: "address",
781
+ name: "",
782
+ type: "address",
783
+ },
784
+ ],
785
+ stateMutability: "view",
786
+ type: "function",
787
+ },
788
+ {
789
+ inputs: [],
790
+ name: "acceptOwnership",
791
+ outputs: [],
792
+ stateMutability: "nonpayable",
793
+ type: "function",
794
+ },
795
+ {
796
+ inputs: [],
797
+ name: "accessControlManager",
798
+ outputs: [
799
+ {
800
+ internalType: "contract IAccessControlManagerV8",
801
+ name: "",
802
+ type: "address",
803
+ },
804
+ ],
805
+ stateMutability: "view",
806
+ type: "function",
807
+ },
808
+ {
809
+ inputs: [
810
+ {
811
+ internalType: "address",
812
+ name: "tokenAddress",
813
+ type: "address",
814
+ },
815
+ ],
816
+ name: "balanceOf",
817
+ outputs: [
818
+ {
819
+ internalType: "uint256",
820
+ name: "tokenBalance",
821
+ type: "uint256",
822
+ },
823
+ ],
824
+ stateMutability: "view",
825
+ type: "function",
826
+ },
827
+ {
828
+ inputs: [
829
+ {
830
+ internalType: "address",
831
+ name: "",
832
+ type: "address",
833
+ },
834
+ {
835
+ internalType: "address",
836
+ name: "",
837
+ type: "address",
838
+ },
839
+ ],
840
+ name: "conversionConfigurations",
841
+ outputs: [
842
+ {
843
+ internalType: "uint256",
844
+ name: "incentive",
845
+ type: "uint256",
846
+ },
847
+ {
848
+ internalType: "enum IAbstractTokenConverter.ConversionAccessibility",
849
+ name: "conversionAccess",
850
+ type: "uint8",
851
+ },
852
+ ],
853
+ stateMutability: "view",
854
+ type: "function",
855
+ },
856
+ {
857
+ inputs: [],
858
+ name: "conversionPaused",
859
+ outputs: [
860
+ {
861
+ internalType: "bool",
862
+ name: "",
863
+ type: "bool",
864
+ },
865
+ ],
866
+ stateMutability: "view",
867
+ type: "function",
868
+ },
869
+ {
870
+ inputs: [
871
+ {
872
+ internalType: "uint256",
873
+ name: "amountInMantissa",
874
+ type: "uint256",
875
+ },
876
+ {
877
+ internalType: "uint256",
878
+ name: "amountOutMinMantissa",
879
+ type: "uint256",
880
+ },
881
+ {
882
+ internalType: "address",
883
+ name: "tokenAddressIn",
884
+ type: "address",
885
+ },
886
+ {
887
+ internalType: "address",
888
+ name: "tokenAddressOut",
889
+ type: "address",
890
+ },
891
+ {
892
+ internalType: "address",
893
+ name: "to",
894
+ type: "address",
895
+ },
896
+ ],
897
+ name: "convertExactTokens",
898
+ outputs: [
899
+ {
900
+ internalType: "uint256",
901
+ name: "actualAmountIn",
902
+ type: "uint256",
903
+ },
904
+ {
905
+ internalType: "uint256",
906
+ name: "actualAmountOut",
907
+ type: "uint256",
908
+ },
909
+ ],
910
+ stateMutability: "nonpayable",
911
+ type: "function",
912
+ },
913
+ {
914
+ inputs: [
915
+ {
916
+ internalType: "uint256",
917
+ name: "amountInMantissa",
918
+ type: "uint256",
919
+ },
920
+ {
921
+ internalType: "uint256",
922
+ name: "amountOutMinMantissa",
923
+ type: "uint256",
924
+ },
925
+ {
926
+ internalType: "address",
927
+ name: "tokenAddressIn",
928
+ type: "address",
929
+ },
930
+ {
931
+ internalType: "address",
932
+ name: "tokenAddressOut",
933
+ type: "address",
934
+ },
935
+ {
936
+ internalType: "address",
937
+ name: "to",
938
+ type: "address",
939
+ },
940
+ ],
941
+ name: "convertExactTokensSupportingFeeOnTransferTokens",
942
+ outputs: [
943
+ {
944
+ internalType: "uint256",
945
+ name: "actualAmountIn",
946
+ type: "uint256",
947
+ },
948
+ {
949
+ internalType: "uint256",
950
+ name: "actualAmountOut",
951
+ type: "uint256",
952
+ },
953
+ ],
954
+ stateMutability: "nonpayable",
955
+ type: "function",
956
+ },
957
+ {
958
+ inputs: [
959
+ {
960
+ internalType: "uint256",
961
+ name: "amountInMaxMantissa",
962
+ type: "uint256",
963
+ },
964
+ {
965
+ internalType: "uint256",
966
+ name: "amountOutMantissa",
967
+ type: "uint256",
968
+ },
969
+ {
970
+ internalType: "address",
971
+ name: "tokenAddressIn",
972
+ type: "address",
973
+ },
974
+ {
975
+ internalType: "address",
976
+ name: "tokenAddressOut",
977
+ type: "address",
978
+ },
979
+ {
980
+ internalType: "address",
981
+ name: "to",
982
+ type: "address",
983
+ },
984
+ ],
985
+ name: "convertForExactTokens",
986
+ outputs: [
987
+ {
988
+ internalType: "uint256",
989
+ name: "actualAmountIn",
990
+ type: "uint256",
991
+ },
992
+ {
993
+ internalType: "uint256",
994
+ name: "actualAmountOut",
995
+ type: "uint256",
996
+ },
997
+ ],
998
+ stateMutability: "nonpayable",
999
+ type: "function",
1000
+ },
1001
+ {
1002
+ inputs: [
1003
+ {
1004
+ internalType: "uint256",
1005
+ name: "amountInMaxMantissa",
1006
+ type: "uint256",
1007
+ },
1008
+ {
1009
+ internalType: "uint256",
1010
+ name: "amountOutMantissa",
1011
+ type: "uint256",
1012
+ },
1013
+ {
1014
+ internalType: "address",
1015
+ name: "tokenAddressIn",
1016
+ type: "address",
1017
+ },
1018
+ {
1019
+ internalType: "address",
1020
+ name: "tokenAddressOut",
1021
+ type: "address",
1022
+ },
1023
+ {
1024
+ internalType: "address",
1025
+ name: "to",
1026
+ type: "address",
1027
+ },
1028
+ ],
1029
+ name: "convertForExactTokensSupportingFeeOnTransferTokens",
1030
+ outputs: [
1031
+ {
1032
+ internalType: "uint256",
1033
+ name: "actualAmountIn",
1034
+ type: "uint256",
1035
+ },
1036
+ {
1037
+ internalType: "uint256",
1038
+ name: "actualAmountOut",
1039
+ type: "uint256",
1040
+ },
1041
+ ],
1042
+ stateMutability: "nonpayable",
1043
+ type: "function",
1044
+ },
1045
+ {
1046
+ inputs: [],
1047
+ name: "converterNetwork",
1048
+ outputs: [
1049
+ {
1050
+ internalType: "contract IConverterNetwork",
1051
+ name: "",
1052
+ type: "address",
1053
+ },
1054
+ ],
1055
+ stateMutability: "view",
1056
+ type: "function",
1057
+ },
1058
+ {
1059
+ inputs: [],
1060
+ name: "destinationAddress",
1061
+ outputs: [
1062
+ {
1063
+ internalType: "address",
1064
+ name: "",
1065
+ type: "address",
1066
+ },
1067
+ ],
1068
+ stateMutability: "view",
1069
+ type: "function",
1070
+ },
1071
+ {
1072
+ inputs: [
1073
+ {
1074
+ internalType: "uint256",
1075
+ name: "amountOutMantissa",
1076
+ type: "uint256",
1077
+ },
1078
+ {
1079
+ internalType: "address",
1080
+ name: "tokenAddressIn",
1081
+ type: "address",
1082
+ },
1083
+ {
1084
+ internalType: "address",
1085
+ name: "tokenAddressOut",
1086
+ type: "address",
1087
+ },
1088
+ ],
1089
+ name: "getAmountIn",
1090
+ outputs: [
1091
+ {
1092
+ internalType: "uint256",
1093
+ name: "amountConvertedMantissa",
1094
+ type: "uint256",
1095
+ },
1096
+ {
1097
+ internalType: "uint256",
1098
+ name: "amountInMantissa",
1099
+ type: "uint256",
1100
+ },
1101
+ ],
1102
+ stateMutability: "view",
1103
+ type: "function",
1104
+ },
1105
+ {
1106
+ inputs: [
1107
+ {
1108
+ internalType: "uint256",
1109
+ name: "amountInMantissa",
1110
+ type: "uint256",
1111
+ },
1112
+ {
1113
+ internalType: "address",
1114
+ name: "tokenAddressIn",
1115
+ type: "address",
1116
+ },
1117
+ {
1118
+ internalType: "address",
1119
+ name: "tokenAddressOut",
1120
+ type: "address",
1121
+ },
1122
+ ],
1123
+ name: "getAmountOut",
1124
+ outputs: [
1125
+ {
1126
+ internalType: "uint256",
1127
+ name: "amountConvertedMantissa",
1128
+ type: "uint256",
1129
+ },
1130
+ {
1131
+ internalType: "uint256",
1132
+ name: "amountOutMantissa",
1133
+ type: "uint256",
1134
+ },
1135
+ ],
1136
+ stateMutability: "view",
1137
+ type: "function",
1138
+ },
1139
+ {
1140
+ inputs: [
1141
+ {
1142
+ internalType: "address",
1143
+ name: "comptroller",
1144
+ type: "address",
1145
+ },
1146
+ {
1147
+ internalType: "address",
1148
+ name: "asset",
1149
+ type: "address",
1150
+ },
1151
+ ],
1152
+ name: "getPoolAssetReserve",
1153
+ outputs: [
1154
+ {
1155
+ internalType: "uint256",
1156
+ name: "reserves",
1157
+ type: "uint256",
1158
+ },
1159
+ ],
1160
+ stateMutability: "view",
1161
+ type: "function",
1162
+ },
1163
+ {
1164
+ inputs: [
1165
+ {
1166
+ internalType: "address",
1167
+ name: "tokenAddress",
1168
+ type: "address",
1169
+ },
1170
+ ],
1171
+ name: "getPools",
1172
+ outputs: [
1173
+ {
1174
+ internalType: "address[]",
1175
+ name: "poolsWithCore",
1176
+ type: "address[]",
1177
+ },
1178
+ ],
1179
+ stateMutability: "view",
1180
+ type: "function",
1181
+ },
1182
+ {
1183
+ inputs: [
1184
+ {
1185
+ internalType: "uint256",
1186
+ name: "amountOutMantissa",
1187
+ type: "uint256",
1188
+ },
1189
+ {
1190
+ internalType: "address",
1191
+ name: "tokenAddressIn",
1192
+ type: "address",
1193
+ },
1194
+ {
1195
+ internalType: "address",
1196
+ name: "tokenAddressOut",
1197
+ type: "address",
1198
+ },
1199
+ ],
1200
+ name: "getUpdatedAmountIn",
1201
+ outputs: [
1202
+ {
1203
+ internalType: "uint256",
1204
+ name: "amountConvertedMantissa",
1205
+ type: "uint256",
1206
+ },
1207
+ {
1208
+ internalType: "uint256",
1209
+ name: "amountInMantissa",
1210
+ type: "uint256",
1211
+ },
1212
+ ],
1213
+ stateMutability: "nonpayable",
1214
+ type: "function",
1215
+ },
1216
+ {
1217
+ inputs: [
1218
+ {
1219
+ internalType: "uint256",
1220
+ name: "amountInMantissa",
1221
+ type: "uint256",
1222
+ },
1223
+ {
1224
+ internalType: "address",
1225
+ name: "tokenAddressIn",
1226
+ type: "address",
1227
+ },
1228
+ {
1229
+ internalType: "address",
1230
+ name: "tokenAddressOut",
1231
+ type: "address",
1232
+ },
1233
+ ],
1234
+ name: "getUpdatedAmountOut",
1235
+ outputs: [
1236
+ {
1237
+ internalType: "uint256",
1238
+ name: "amountConvertedMantissa",
1239
+ type: "uint256",
1240
+ },
1241
+ {
1242
+ internalType: "uint256",
1243
+ name: "amountOutMantissa",
1244
+ type: "uint256",
1245
+ },
1246
+ ],
1247
+ stateMutability: "nonpayable",
1248
+ type: "function",
1249
+ },
1250
+ {
1251
+ inputs: [
1252
+ {
1253
+ internalType: "address",
1254
+ name: "accessControlManager_",
1255
+ type: "address",
1256
+ },
1257
+ {
1258
+ internalType: "contract ResilientOracle",
1259
+ name: "priceOracle_",
1260
+ type: "address",
1261
+ },
1262
+ {
1263
+ internalType: "address",
1264
+ name: "destinationAddress_",
1265
+ type: "address",
1266
+ },
1267
+ {
1268
+ internalType: "address",
1269
+ name: "poolRegistry_",
1270
+ type: "address",
1271
+ },
1272
+ {
1273
+ internalType: "uint256",
1274
+ name: "minAmountToConvert_",
1275
+ type: "uint256",
1276
+ },
1277
+ {
1278
+ internalType: "address[]",
1279
+ name: "comptrollers",
1280
+ type: "address[]",
1281
+ },
1282
+ {
1283
+ internalType: "address[][]",
1284
+ name: "assets",
1285
+ type: "address[][]",
1286
+ },
1287
+ {
1288
+ internalType: "bool[][]",
1289
+ name: "values",
1290
+ type: "bool[][]",
1291
+ },
1292
+ ],
1293
+ name: "initialize",
1294
+ outputs: [],
1295
+ stateMutability: "nonpayable",
1296
+ type: "function",
1297
+ },
1298
+ {
1299
+ inputs: [],
1300
+ name: "minAmountToConvert",
1301
+ outputs: [
1302
+ {
1303
+ internalType: "uint256",
1304
+ name: "",
1305
+ type: "uint256",
1306
+ },
1307
+ ],
1308
+ stateMutability: "view",
1309
+ type: "function",
1310
+ },
1311
+ {
1312
+ inputs: [],
1313
+ name: "owner",
1314
+ outputs: [
1315
+ {
1316
+ internalType: "address",
1317
+ name: "",
1318
+ type: "address",
1319
+ },
1320
+ ],
1321
+ stateMutability: "view",
1322
+ type: "function",
1323
+ },
1324
+ {
1325
+ inputs: [],
1326
+ name: "pauseConversion",
1327
+ outputs: [],
1328
+ stateMutability: "nonpayable",
1329
+ type: "function",
1330
+ },
1331
+ {
1332
+ inputs: [],
1333
+ name: "pendingOwner",
1334
+ outputs: [
1335
+ {
1336
+ internalType: "address",
1337
+ name: "",
1338
+ type: "address",
1339
+ },
1340
+ ],
1341
+ stateMutability: "view",
1342
+ type: "function",
1343
+ },
1344
+ {
1345
+ inputs: [],
1346
+ name: "poolRegistry",
1347
+ outputs: [
1348
+ {
1349
+ internalType: "address",
1350
+ name: "",
1351
+ type: "address",
1352
+ },
1353
+ ],
1354
+ stateMutability: "view",
1355
+ type: "function",
1356
+ },
1357
+ {
1358
+ inputs: [
1359
+ {
1360
+ internalType: "address",
1361
+ name: "",
1362
+ type: "address",
1363
+ },
1364
+ {
1365
+ internalType: "address",
1366
+ name: "",
1367
+ type: "address",
1368
+ },
1369
+ ],
1370
+ name: "poolsAssetsDirectTransfer",
1371
+ outputs: [
1372
+ {
1373
+ internalType: "bool",
1374
+ name: "",
1375
+ type: "bool",
1376
+ },
1377
+ ],
1378
+ stateMutability: "view",
1379
+ type: "function",
1380
+ },
1381
+ {
1382
+ inputs: [],
1383
+ name: "priceOracle",
1384
+ outputs: [
1385
+ {
1386
+ internalType: "contract ResilientOracle",
1387
+ name: "",
1388
+ type: "address",
1389
+ },
1390
+ ],
1391
+ stateMutability: "view",
1392
+ type: "function",
1393
+ },
1394
+ {
1395
+ inputs: [],
1396
+ name: "renounceOwnership",
1397
+ outputs: [],
1398
+ stateMutability: "nonpayable",
1399
+ type: "function",
1400
+ },
1401
+ {
1402
+ inputs: [],
1403
+ name: "resumeConversion",
1404
+ outputs: [],
1405
+ stateMutability: "nonpayable",
1406
+ type: "function",
1407
+ },
1408
+ {
1409
+ inputs: [
1410
+ {
1411
+ internalType: "address",
1412
+ name: "accessControlManager_",
1413
+ type: "address",
1414
+ },
1415
+ ],
1416
+ name: "setAccessControlManager",
1417
+ outputs: [],
1418
+ stateMutability: "nonpayable",
1419
+ type: "function",
1420
+ },
1421
+ {
1422
+ inputs: [
1423
+ {
1424
+ internalType: "address",
1425
+ name: "tokenAddressIn",
1426
+ type: "address",
1427
+ },
1428
+ {
1429
+ internalType: "address",
1430
+ name: "tokenAddressOut",
1431
+ type: "address",
1432
+ },
1433
+ {
1434
+ components: [
1435
+ {
1436
+ internalType: "uint256",
1437
+ name: "incentive",
1438
+ type: "uint256",
1439
+ },
1440
+ {
1441
+ internalType:
1442
+ "enum IAbstractTokenConverter.ConversionAccessibility",
1443
+ name: "conversionAccess",
1444
+ type: "uint8",
1445
+ },
1446
+ ],
1447
+ internalType: "struct IAbstractTokenConverter.ConversionConfig",
1448
+ name: "conversionConfig",
1449
+ type: "tuple",
1450
+ },
1451
+ ],
1452
+ name: "setConversionConfig",
1453
+ outputs: [],
1454
+ stateMutability: "nonpayable",
1455
+ type: "function",
1456
+ },
1457
+ {
1458
+ inputs: [
1459
+ {
1460
+ internalType: "address",
1461
+ name: "tokenAddressIn",
1462
+ type: "address",
1463
+ },
1464
+ {
1465
+ internalType: "address[]",
1466
+ name: "tokenAddressesOut",
1467
+ type: "address[]",
1468
+ },
1469
+ {
1470
+ components: [
1471
+ {
1472
+ internalType: "uint256",
1473
+ name: "incentive",
1474
+ type: "uint256",
1475
+ },
1476
+ {
1477
+ internalType:
1478
+ "enum IAbstractTokenConverter.ConversionAccessibility",
1479
+ name: "conversionAccess",
1480
+ type: "uint8",
1481
+ },
1482
+ ],
1483
+ internalType: "struct IAbstractTokenConverter.ConversionConfig[]",
1484
+ name: "conversionConfigs",
1485
+ type: "tuple[]",
1486
+ },
1487
+ ],
1488
+ name: "setConversionConfigs",
1489
+ outputs: [],
1490
+ stateMutability: "nonpayable",
1491
+ type: "function",
1492
+ },
1493
+ {
1494
+ inputs: [
1495
+ {
1496
+ internalType: "contract IConverterNetwork",
1497
+ name: "converterNetwork_",
1498
+ type: "address",
1499
+ },
1500
+ ],
1501
+ name: "setConverterNetwork",
1502
+ outputs: [],
1503
+ stateMutability: "nonpayable",
1504
+ type: "function",
1505
+ },
1506
+ {
1507
+ inputs: [
1508
+ {
1509
+ internalType: "address",
1510
+ name: "destinationAddress_",
1511
+ type: "address",
1512
+ },
1513
+ ],
1514
+ name: "setDestination",
1515
+ outputs: [],
1516
+ stateMutability: "nonpayable",
1517
+ type: "function",
1518
+ },
1519
+ {
1520
+ inputs: [
1521
+ {
1522
+ internalType: "uint256",
1523
+ name: "minAmountToConvert_",
1524
+ type: "uint256",
1525
+ },
1526
+ ],
1527
+ name: "setMinAmountToConvert",
1528
+ outputs: [],
1529
+ stateMutability: "nonpayable",
1530
+ type: "function",
1531
+ },
1532
+ {
1533
+ inputs: [
1534
+ {
1535
+ internalType: "address",
1536
+ name: "poolRegistry_",
1537
+ type: "address",
1538
+ },
1539
+ ],
1540
+ name: "setPoolRegistry",
1541
+ outputs: [],
1542
+ stateMutability: "nonpayable",
1543
+ type: "function",
1544
+ },
1545
+ {
1546
+ inputs: [
1547
+ {
1548
+ internalType: "address[]",
1549
+ name: "comptrollers",
1550
+ type: "address[]",
1551
+ },
1552
+ {
1553
+ internalType: "address[][]",
1554
+ name: "assets",
1555
+ type: "address[][]",
1556
+ },
1557
+ {
1558
+ internalType: "bool[][]",
1559
+ name: "values",
1560
+ type: "bool[][]",
1561
+ },
1562
+ ],
1563
+ name: "setPoolsAssetsDirectTransfer",
1564
+ outputs: [],
1565
+ stateMutability: "nonpayable",
1566
+ type: "function",
1567
+ },
1568
+ {
1569
+ inputs: [
1570
+ {
1571
+ internalType: "contract ResilientOracle",
1572
+ name: "priceOracle_",
1573
+ type: "address",
1574
+ },
1575
+ ],
1576
+ name: "setPriceOracle",
1577
+ outputs: [],
1578
+ stateMutability: "nonpayable",
1579
+ type: "function",
1580
+ },
1581
+ {
1582
+ inputs: [
1583
+ {
1584
+ internalType: "address",
1585
+ name: "tokenAddress",
1586
+ type: "address",
1587
+ },
1588
+ {
1589
+ internalType: "address",
1590
+ name: "to",
1591
+ type: "address",
1592
+ },
1593
+ {
1594
+ internalType: "uint256",
1595
+ name: "amount",
1596
+ type: "uint256",
1597
+ },
1598
+ ],
1599
+ name: "sweepToken",
1600
+ outputs: [],
1601
+ stateMutability: "nonpayable",
1602
+ type: "function",
1603
+ },
1604
+ {
1605
+ inputs: [
1606
+ {
1607
+ internalType: "address",
1608
+ name: "newOwner",
1609
+ type: "address",
1610
+ },
1611
+ ],
1612
+ name: "transferOwnership",
1613
+ outputs: [],
1614
+ stateMutability: "nonpayable",
1615
+ type: "function",
1616
+ },
1617
+ {
1618
+ inputs: [
1619
+ {
1620
+ internalType: "address",
1621
+ name: "comptroller",
1622
+ type: "address",
1623
+ },
1624
+ {
1625
+ internalType: "address",
1626
+ name: "asset",
1627
+ type: "address",
1628
+ },
1629
+ ],
1630
+ name: "updateAssetsState",
1631
+ outputs: [],
1632
+ stateMutability: "nonpayable",
1633
+ type: "function",
1634
+ },
1635
+ ];
1636
+
1637
+ const _bytecode =
1638
+ "0x60e06040523480156200001157600080fd5b5060405162005ac638038062005ac683398101604081905262000034916200018a565b6200003f8362000081565b6200004a8262000081565b620000558162000081565b6001600160a01b0380841660805282811660a052811660c05262000078620000ac565b505050620001d4565b6001600160a01b038116620000a9576040516342bcdf7f60e11b815260040160405180910390fd5b50565b600054610100900460ff1615620001195760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60005460ff908116146200016b576000805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b80516001600160a01b03811681146200018557600080fd5b919050565b600080600060608486031215620001a057600080fd5b620001ab846200016d565b9250620001bb602085016200016d565b9150620001cb604085016200016d565b90509250925092565b60805160a05160c05161589f62000227600039600081816103e20152612d310152600081816103bb0152612c6e0152600081816106c501528181610d7a01528181612bb501526134a6015261589f6000f3fe608060405234801561001057600080fd5b50600436106102e95760003560e01c806370a0823111610191578063b6828c57116100e3578063e30c397811610097578063f2fde38b11610071578063f2fde38b146106ad578063fa7b81a0146106c0578063fe3da984146106e757600080fd5b8063e30c397814610676578063f04c318714610687578063f0dc7e9d1461069a57600080fd5b8063c0654646116100c8578063c065464614610641578063ca32546914610654578063e2ff7ea21461066757600080fd5b8063b6828c5714610626578063bc368b041461063957600080fd5b80638da5cb5b11610145578063afcff50f1161011f578063afcff50f146105be578063b491ddf7146105d2578063b4a0bdf31461061557600080fd5b80638da5cb5b1461058757806390fa7b5414610598578063aac59a75146105ab57600080fd5b8063746460a911610176578063746460a91461055957806379ba50971461056c5780637b77cd6a1461057457600080fd5b806370a0823114610527578063715018a61461055157600080fd5b806352e21a181161024a5780635c39f467116101fe5780636daa463b116101d85780636daa463b146104e05780636f1a30a8146104f35780636fb052751461050657600080fd5b80635c39f4671461049a5780635e1e6325146104ba57806364aff9ec146104cd57600080fd5b8063553745221161022f578063553745221461046c578063556bbd8a1461047f57806358b904df1461049257600080fd5b806352e21a1814610446578063530e784f1461045957600080fd5b80632630c12f116102a1578063362b679511610286578063362b6795146103dd578063439727a514610404578063454900fe1461041757600080fd5b80632630c12f146103a35780633421fc52146103b657600080fd5b80630a0a05e6116102d25780630a0a05e6146103535780630a9a2b72146103685780630e32cb861461039057600080fd5b806301e20178146102ee57806307aa239e1461031e575b600080fd5b60ff54610301906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b60fe546103439074010000000000000000000000000000000000000000900460ff1681565b6040519015158152602001610315565b610366610361366004614df0565b6106f0565b005b61037b610376366004614e0d565b610704565b60408051928352602083019190915201610315565b61036661039e366004614df0565b6107bf565b60fc54610301906001600160a01b031681565b6103017f000000000000000000000000000000000000000000000000000000000000000081565b6103017f000000000000000000000000000000000000000000000000000000000000000081565b61037b610412366004614e4f565b6107d0565b610343610425366004614eae565b61013060209081526000928352604080842090915290825290205460ff1681565b610366610454366004614df0565b61091a565b610366610467366004614df0565b61092b565b61036661047a366004614f33565b61093c565b61036661048d366004614fcd565b610973565b610366610b4a565b6104ad6104a8366004614df0565b610c30565b60405161031591906150ba565b61037b6104c8366004614e0d565b610dcc565b6103666104db366004615107565b610eb1565b61037b6104ee366004614e0d565b610f58565b61037b610501366004614e0d565b611061565b610519610514366004614eae565b611160565b604051908152602001610315565b610519610535366004614df0565b6001600160a01b0316600090815261012d602052604090205490565b610366611225565b610366610567366004615148565b611239565b610366611280565b610366610582366004614df0565b61130b565b6033546001600160a01b0316610301565b61037b6105a6366004614e4f565b611392565b6103666105b9366004614eae565b611488565b61012f54610301906001600160a01b031681565b6106076105e0366004614eae565b60fd6020908152600092835260408084209091529082529020805460019091015460ff1682565b6040516103159291906151cb565b6097546001600160a01b0316610301565b61037b610634366004614e4f565b6114be565b6103666115b4565b61036661064f3660046151df565b611666565b60fe54610301906001600160a01b031681565b6105196706f05b59d3b2000081565b6065546001600160a01b0316610301565b61037b610695366004614e4f565b611704565b6103666106a836600461528f565b611833565b6103666106bb366004614df0565b611bdc565b6103017f000000000000000000000000000000000000000000000000000000000000000081565b61051960fb5481565b6106f8611c65565b61070181611cbf565b50565b60008060026001600160a01b03808616600090815260fd602090815260408083209388168352929052206001015460ff16600381111561074657610746615161565b0361077d576040517f03410cd100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038316600090815261012d6020526040902054858110156107a3578095505b8592506107b1868686611d3c565b508092505050935093915050565b6107c7611c65565b610701816120a2565b6000808285856107de612197565b6107e7836121ec565b816001600160a01b0316836001600160a01b031614806108185750806001600160a01b0316836001600160a01b0316145b1561084f576040517f8aa3a72f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61085761222c565b6108648a8a8a8a8a612285565b90955093508985146108a2576040517fc214279600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6108ae88888787612305565b604080516001600160a01b038a81168252602082018890529181018690528189169188169033907f795a235be939acb902ac69562805f86e1341a9b019c351b996e2aa2dfc34c67c906060015b60405180910390a461090d600160c955565b5050509550959350505050565b610922611c65565b61070181612680565b610933611c65565b610701816126fd565b61095d6040518060600160405280603c815260200161582e603c913961277a565b61096b868686868686612846565b505050505050565b600054610100900460ff16158080156109935750600054600160ff909116105b806109ad5750303b1580156109ad575060005460ff166001145b610a245760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084015b60405180910390fd5b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790558015610a8257600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b610a8e8c8c8c8b612b17565b610a97896121ec565b61012f80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b038b16179055610ad9878787878787612846565b8015610b3c57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050505050505050505050565b610b886040518060400160405280601281526020017f726573756d65436f6e76657273696f6e2829000000000000000000000000000081525061277a565b60fe5474010000000000000000000000000000000000000000900460ff16610bdb576040517e6d8dbb00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60fe80547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16905560405133907f89b79206f08dadd78502cff5075d2b094fa0abea0b063cfafe4475e2a380c51f90600090a2565b61012f546040517ff36dba380000000000000000000000000000000000000000000000000000000081526001600160a01b038381166004830152606092169063f36dba3890602401600060405180830381865afa158015610c95573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610cbd91908101906153f8565b9050610cc882612bb0565b15610dc75780516000610cdc82600161545c565b67ffffffffffffffff811115610cf457610cf4615300565b604051908082528060200260200182016040528015610d1d578160200160208202803683370190505b50905060005b82811015610d7757838181518110610d3d57610d3d615474565b6020026020010151828281518110610d5757610d57615474565b6001600160a01b0390921660209283029190910190910152600101610d23565b507f0000000000000000000000000000000000000000000000000000000000000000818381518110610dab57610dab615474565b6001600160a01b03909216602092830291909101909101529150505b919050565b60008060026001600160a01b03808616600090815260fd602090815260408083209388168352929052206001015460ff166003811115610e0e57610e0e615161565b03610e45576040517f03410cd100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8491506000610e55868686612d7c565b90925090506000610e7c856001600160a01b0316600090815261012d602052604090205490565b905082811015610ea757610ea1610e9b670de0b6b3a7640000836154a3565b83613089565b93508092505b5050935093915050565b610eb9611c65565b610ec161222c565b610eca836121ec565b610ed3826121ec565b610edc816130b5565b82610ee781836130ef565b610efb6001600160a01b03821684846133f9565b826001600160a01b0316846001600160a01b03167f6d25be279134f4ecaa4770aff0c3d916d9e7c5ef37b65ed95dbdba411f5d54d584604051610f4091815260200190565b60405180910390a350610f53600160c955565b505050565b60fc546040517fb62cad690000000000000000000000000000000000000000000000000000000081526001600160a01b038481166004830152600092839291169063b62cad6990602401600060405180830381600087803b158015610fbc57600080fd5b505af1158015610fd0573d6000803e3d6000fd5b505060fc546040517fb62cad690000000000000000000000000000000000000000000000000000000081526001600160a01b038781166004830152909116925063b62cad699150602401600060405180830381600087803b15801561103457600080fd5b505af1158015611048573d6000803e3d6000fd5b50505050611057858585612d7c565b5094959350505050565b60fc546040517fb62cad690000000000000000000000000000000000000000000000000000000081526001600160a01b038481166004830152600092839291169063b62cad6990602401600060405180830381600087803b1580156110c557600080fd5b505af11580156110d9573d6000803e3d6000fd5b505060fc546040517fb62cad690000000000000000000000000000000000000000000000000000000081526001600160a01b038781166004830152909116925063b62cad699150602401600060405180830381600087803b15801561113d57600080fd5b505af1158015611151573d6000803e3d6000fd5b50505050611057858585611d3c565b600061116e60c95460021490565b156111a5576040517f9a050fe700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6111af83836134a2565b6111f8576040517f983f1fb50000000000000000000000000000000000000000000000000000000081526001600160a01b03808516600483015283166024820152604401610a1b565b506001600160a01b03918216600090815261012e6020908152604080832093909416825291909152205490565b61122d611c65565b6112376000613590565b565b6112776040518060400160405280601e81526020017f7365744d696e416d6f756e74546f436f6e766572742875696e7432353629000081525061277a565b610701816135c1565b60655433906001600160a01b031681146113025760405162461bcd60e51b815260206004820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f74207468652060448201527f6e6577206f776e657200000000000000000000000000000000000000000000006064820152608401610a1b565b61070181613590565b611313611c65565b61131c816121ec565b61012f546040516001600160a01b038084169216907fa87b964d321035d2165e484ff4b722dd6eae30606c0b98887d2ed1a34e594bfe90600090a361012f80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6000808285856113a0612197565b6113a9836121ec565b816001600160a01b0316836001600160a01b031614806113da5750806001600160a01b0316836001600160a01b0316145b15611411576040517f8aa3a72f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61141961222c565b6114268a8a8a8a8a612285565b909550935061143788888787612305565b604080516001600160a01b038a81168252602082018890529181018690528189169188169033907f93b7ba2a2b0e36320375853d7466af5685c07567804b871b4fdfd31e3bb77154906060016108fb565b61149061222c565b600061149c838361360b565b905080156114af576114af838383613968565b506114ba600160c955565b5050565b6000808285856114cc612197565b6114d5836121ec565b816001600160a01b0316836001600160a01b031614806115065750806001600160a01b0316836001600160a01b0316145b1561153d576040517f8aa3a72f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61154561222c565b6115528a8a8a8a8a613e04565b909550935061156388888787612305565b604080516001600160a01b038a81168252602082018890529181018690528189169188169033907f9b7dc1d7d2974d015b4fc39889a09f3a3923add808f5863158f3162d997d4e82906060016108fb565b6115f26040518060400160405280601181526020017f7061757365436f6e76657273696f6e282900000000000000000000000000000081525061277a565b6115fa612197565b60fe80547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff167401000000000000000000000000000000000000000017905560405133907f490bc639fd0d96f19c8adf77bc98d17fbefdee2e1e1864d21f041360d0ee065a90600090a2565b828181146116a0576040517f4d5590f300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b818110156116fb576116f3878787848181106116c1576116c1615474565b90506020020160208101906116d69190614df0565b8686858181106116e8576116e8615474565b905060400201611833565b6001016116a3565b50505050505050565b600080828585611712612197565b61171b836121ec565b816001600160a01b0316836001600160a01b0316148061174c5750806001600160a01b0316836001600160a01b0316145b15611783576040517f8aa3a72f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61178b61222c565b6117988a8a8a8a8a613e96565b90955093508884146117d6576040517fa8dc653c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6117e288888787612305565b604080516001600160a01b038a81168252602082018890529181018690528189169188169033907fcb4ea7de8d069b0f443b792cba6c6df5096508951bbc75c04ac42c9251efe076906060016108fb565b6118546040518060600160405280603581526020016157f96035913961277a565b61185d836121ec565b611866826121ec565b6706f05b59d3b20000813511156118ba576040517f9770caee000000000000000000000000000000000000000000000000000000008152813560048201526706f05b59d3b200006024820152604401610a1b565b816001600160a01b0316836001600160a01b031614806118f357506118dd613f53565b6001600160a01b0316836001600160a01b031614155b8061193b575060006001600160a01b03808416600090815260fd602090815260408083209388168352929052206001015460ff16600381111561193857611938615161565b14155b15611972576040517feebb5ac600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600261198460408301602084016154e0565b600381111561199557611995615161565b1480156119a25750803515155b156119d9576040517fd0d4aabe00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60026119eb60408301602084016154e0565b60038111156119fc576119fc615161565b1480611a2857506001611a1560408301602084016154e0565b6003811115611a2657611a26615161565b145b8015611a3d575060ff546001600160a01b0316155b15611a74576040517fe7c2c99400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03808416600081815260fd602090815260408083209487168084529482529182902080546001820154919594937f39fbfdd5da133303ed31b1b65e30a0ddf7a9236573368c66c859dceccc1dd12a93919288359260ff90911691611ae491908a01908a016154e0565b604051611af49493929190615501565b60405180910390a36000611b0e60408401602085016154e0565b6003811115611b1f57611b1f615161565b03611b7c576001600160a01b03808516600090815260fd60209081526040808320938716835292905290812090815560010180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055611bd6565b81358155611b9060408301602084016154e0565b6001808301805490917fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0090911690836003811115611bd057611bd0615161565b02179055505b50505050565b611be4611c65565b606580546001600160a01b0383167fffffffffffffffffffffffff00000000000000000000000000000000000000009091168117909155611c2d6033546001600160a01b031690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b6033546001600160a01b031633146112375760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a1b565b611cc8816121ec565b60fe546040516001600160a01b038084169216907f9be3097b5c8b276786be52a244ee90d66efd34805d9eb16f168fb2b4aaae9a2b90600090a360fe80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b60008084600003611d79576040517f42301c2300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03808516600090815260fd6020908152604080832093871683529281528282208351808501909452805484526001810154929392909183019060ff166003811115611dcd57611dcd615161565b6003811115611dde57611dde615161565b9052509050600081602001516003811115611dfb57611dfb615161565b03611e32576040517f618ce59700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60fc546040517f41976e090000000000000000000000000000000000000000000000000000000081526001600160a01b03878116600483015260009216906341976e0990602401602060405180830381865afa158015611e96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611eba9190615532565b60fc546040517f41976e090000000000000000000000000000000000000000000000000000000081526001600160a01b038881166004830152929350600092909116906341976e0990602401602060405180830381865afa158015611f23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f479190615532565b835160ff54919250906000906001600160a01b031615801590611fea575060ff546040517f6c059fb10000000000000000000000000000000000000000000000000000000081523360048201526001600160a01b0390911690636c059fb190602401602060405180830381865afa158015611fc6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fea919061554b565b90508015611ff757600091505b600061200b83670de0b6b3a764000061545c565b9050811561204b5761201d81866154a3565b670de0b6b3a7640000612030868e6154a3565b61203a91906154a3565b612044919061556d565b975061207d565b61207a670de0b6b3a7640000612061868e6154a3565b61206b91906154a3565b61207583886154a3565b613089565b97505b8361208882876154a3565b612092919061556d565b9650505050505050935093915050565b6001600160a01b03811661211e5760405162461bcd60e51b815260206004820152602560248201527f696e76616c696420616365737320636f6e74726f6c206d616e6167657220616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610a1b565b609780546001600160a01b038381167fffffffffffffffffffffffff000000000000000000000000000000000000000083168117909355604080519190921680825260208201939093527f66fd58e82f7b31a2a5c30e0888f3093efe4e111b00cd2b0c31fe014601293aa0910160405180910390a15050565b60fe5474010000000000000000000000000000000000000000900460ff1615611237576040517f952bcf7f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038116610701576040517f8579befe00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600260c9540361227e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a1b565b600260c955565b6000806122928585613fdf565b61229c85886140ff565b91506122a9828686610f58565b915050858110156122f0576040517f228f8c110000000000000000000000000000000000000000000000000000000081526004810182905260248101879052604401610a1b565b6122fb84848361424a565b9550959350505050565b600061231084610c30565b6001600160a01b038516600090815261012d60205260408120549192509061233990849061545c565b9050612344816130b5565b815160008080805b8481101561266c57600061012e600089848151811061236d5761236d615474565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060008c6001600160a01b03166001600160a01b0316815260200190815260200160002054905080600014612663576123ce6001876155a8565b82101561242e576123fa8883815181106123ea576123ea615474565b60200260200101518c8b8a6142c4565b612404908661545c565b945086612411828c6154a3565b61241b919061556d565b9350612427848461545c565b9250612529565b600061243a868b6155a8565b90508061012e60008b868151811061245457612454615474565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060008e6001600160a01b03166001600160a01b0316815260200190815260200160002060008282546124ae91906155a8565b925050819055508b6001600160a01b03168984815181106124d1576124d1615474565b60200260200101516001600160a01b03167fc39e3e80c0219fde334a8cb5d8468b628482e23388b6e809c90cb00c63c8ce388360405161251391815260200190565b60405180910390a3612525848c6155a8565b9450505b8b6001600160a01b031688838151811061254557612545615474565b60200260200101516001600160a01b031660fe60009054906101000a90046001600160a01b03166001600160a01b03167fadc20ad416881f76b4304665c35f5be8592297bcdfe4f0bb087b9d254222af55876040516125a691815260200190565b60405180910390a460fe5488516001600160a01b03909116906353ac3537908a90859081106125d7576125d7615474565b60209081029190910101516040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b1681526001600160a01b039182166004820152908f16602482015260448101879052606401600060405180830381600087803b15801561264a57600080fd5b505af115801561265e573d6000803e3d6000fd5b505050505b5060010161234c565b5050505050505050505050565b600160c955565b612689816121ec565b60ff546040516001600160a01b038084169216907f50f1a16bf24734355b14ff800d132cc0a934808b8621d5623b41bc67f204881790600090a360ff80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b612706816121ec565b60fc546040516001600160a01b038084169216907f56b5f80d8cac1479698aa7d01605fd6111e90b15fc4d2b377417f46034876cbd90600090a360fc80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6097546040517f18c5e8ab0000000000000000000000000000000000000000000000000000000081526000916001600160a01b0316906318c5e8ab906127c69033908690600401615617565b602060405180830381865afa1580156127e3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612807919061554b565b9050806114ba573330836040517f4a3fa293000000000000000000000000000000000000000000000000000000008152600401610a1b93929190615639565b8483811415806128565750808214155b1561288d576040517f5f6f132c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b81811015612b0d5760008686838181106128ac576128ac615474565b90506020028101906128be9190615665565b80806020026020016040519081016040528093929190818152602001838360200280828437600092018290525093945088925087915085905081811061290657612906615474565b90506020028101906129189190615665565b808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152505084518351939450928314915061298b9050576040517f5f6f132c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b81811015612afe578281815181106129a8576129a8615474565b602002602001015161013060008e8e898181106129c7576129c7615474565b90506020020160208101906129dc9190614df0565b6001600160a01b03166001600160a01b031681526020019081526020016000206000868481518110612a1057612a10615474565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff021916908315150217905550838181518110612a6157612a61615474565b60200260200101516001600160a01b03168c8c87818110612a8457612a84615474565b9050602002016020810190612a999190614df0565b6001600160a01b03167f6333c55c3657aafc9b39e2586076d198ed0250804559126489c852f28d51280c858481518110612ad557612ad5615474565b6020026020010151604051612aee911515815260200190565b60405180910390a360010161298e565b50836001019350505050612890565b5050505050505050565b600054610100900460ff16612b945760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610a1b565b612b9d8461439d565b612ba561442b565b611bd68383836144b0565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663b0772d0b6040518163ffffffff1660e01b8152600401600060405180830381865afa158015612c11573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612c3991908101906153f8565b805190915060005b81811015612d7457828181518110612c5b57612c5b615474565b60200260200101516001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031614612d2f57846001600160a01b0316838281518110612cb757612cb7615474565b60200260200101516001600160a01b0316636f307dc36040518163ffffffff1660e01b8152600401602060405180830381865afa158015612cfc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d2091906156cd565b6001600160a01b031614612d65565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b0316145b935083612d7457600101612c41565b505050919050565b60008084600003612db9576040517f098fb56100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03808516600090815260fd6020908152604080832093871683529281528282208351808501909452805484526001810154929392909183019060ff166003811115612e0d57612e0d615161565b6003811115612e1e57612e1e615161565b9052509050600081602001516003811115612e3b57612e3b615161565b03612e72576040517f618ce59700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60fc546040517f41976e090000000000000000000000000000000000000000000000000000000081526001600160a01b03878116600483015260009216906341976e0990602401602060405180830381865afa158015612ed6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612efa9190615532565b60fc546040517f41976e090000000000000000000000000000000000000000000000000000000081526001600160a01b038881166004830152929350600092909116906341976e0990602401602060405180830381865afa158015612f63573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f879190615532565b835160ff54919250906001600160a01b031615801590613027575060ff546040517f6c059fb10000000000000000000000000000000000000000000000000000000081523360048201526001600160a01b0390911690636c059fb190602401602060405180830381865afa158015613003573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613027919061554b565b15613030575060005b600061304482670de0b6b3a764000061545c565b90508261305182866154a3565b61305b919061556d565b9550670de0b6b3a7640000613070878c6154a3565b61307a919061556d565b96505050505050935093915050565b6000816001613098828661545c565b6130a291906155a8565b6130ac919061556d565b90505b92915050565b80600003610701576040517f9cf8540c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa15801561314f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131739190615532565b9050808211156131af576040517ff4d678b800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038316600090815261012d60205260408120546131d390836155a8565b905082811015611bd65780830360006131eb86610c30565b6001600160a01b038716600090815261012d602052604081205482519293509190805b828110156133bf5761012e600086838151811061322d5761322d615474565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060008b6001600160a01b03166001600160a01b03168152602001908152602001600020546000146133b75761328b6001846155a8565b8110156132c8576132b78582815181106132a7576132a7615474565b60200260200101518b88876142c4565b6132c1908361545c565b91506133b7565b60006132d483886155a8565b90508061012e60008885815181106132ee576132ee615474565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060008d6001600160a01b03166001600160a01b03168152602001908152602001600020600082825461334891906155a8565b925050819055508a6001600160a01b031686838151811061336b5761336b615474565b60200260200101516001600160a01b03167fc39e3e80c0219fde334a8cb5d8468b628482e23388b6e809c90cb00c63c8ce38836040516133ad91815260200190565b60405180910390a3505b60010161320e565b506001600160a01b038916600090815261012d6020526040812080548792906133e99084906155a8565b9091555050505050505050505050565b6040516001600160a01b038316602482015260448101829052610f539084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152614575565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b0316036134ed576134e682612bb0565b90506130af565b61012f546040517f266e0a7f0000000000000000000000000000000000000000000000000000000081526001600160a01b0385811660048301528481166024830152600092169063266e0a7f90604401602060405180830381865afa15801561355a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061357e91906156cd565b6001600160a01b031614159392505050565b606580547fffffffffffffffffffffffff00000000000000000000000000000000000000001690556107018161465d565b6135ca816130b5565b60fb5460408051918252602082018390527fada67d0d38fa20c8ae6a5c17cb9d60b0fe7f2d4e4f27ac9ee55e54ac88de9d8d910160405180910390a160fb55565b600061361783836134a2565b613660576040517f983f1fb50000000000000000000000000000000000000000000000000000000081526001600160a01b03808516600483015283166024820152604401610a1b565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015282906000906001600160a01b038316906370a0823190602401602060405180830381865afa1580156136c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136e69190615532565b6001600160a01b038516600090815261012d60205260409020549091508082111561395f576001600160a01b0380871660009081526101306020908152604080832093891683529290522054818303945060ff161561395f5760fe546040517f70a082310000000000000000000000000000000000000000000000000000000081526001600160a01b0391821660048201526000918516906370a0823190602401602060405180830381865afa1580156137a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137c89190615532565b60fe549091506137e5906001600160a01b038681169116876133f9565b60fe546040517f70a082310000000000000000000000000000000000000000000000000000000081526001600160a01b0391821660048201526000918616906370a0823190602401602060405180830381865afa15801561384a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061386e9190615532565b60fe546040518881529192506001600160a01b03898116928b82169291909116907fadc20ad416881f76b4304665c35f5be8592297bcdfe4f0bb087b9d254222af559060200160405180910390a460fe546001600160a01b03166353ac353789896138d986866155a8565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e086901b1681526001600160a01b0393841660048201529290911660248301526044820152606401600060405180830381600087803b15801561394057600080fd5b505af1158015613954573d6000803e3d6000fd5b505050506000955050505b50505092915050565b6000613972613f53565b60fe5460ff549192506001600160a01b03908116916000911615613df75760ff546040517f4e9f8f390000000000000000000000000000000000000000000000000000000081526001600160a01b03878116600483015285811660248301526000928392911690634e9f8f39906044016000604051808303816000875af1158015613a01573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613a2991908101906156ea565b8151919350915060005b81811015613df257828181518110613a4d57613a4d615474565b602002602001015160000315613df2576000848281518110613a7157613a71615474565b60200260200101516001600160a01b0316636f1a30a8858481518110613a9957613a99615474565b60200260200101518c8b6040518463ffffffff1660e01b8152600401613adb939291909283526001600160a01b03918216602084015216604082015260600190565b60408051808303816000875af1158015613af9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b1d91906157a5565b91505088811115613b2b5750875b613b35818b6146c7565b613b3f5750613df2565b6040517f70a082310000000000000000000000000000000000000000000000000000000081526001600160a01b038881166004830152600091908a16906370a0823190602401602060405180830381865afa158015613ba2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613bc69190615532565b90508a6001600160a01b031663095ea7b3878581518110613be957613be9615474565b6020026020010151846040518363ffffffff1660e01b8152600401613c239291906001600160a01b03929092168252602082015260400190565b6020604051808303816000875af1158015613c42573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613c66919061554b565b50858381518110613c7957613c79615474565b60209081029190910101516040517f439727a500000000000000000000000000000000000000000000000000000000815260048101849052600060248201526001600160a01b038d811660448301528b811660648301528a811660848301529091169063439727a59060a40160408051808303816000875af1158015613d03573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613d2791906157a5565b50506040517f70a082310000000000000000000000000000000000000000000000000000000081526001600160a01b038981166004830152600091908b16906370a0823190602401602060405180830381865afa158015613d8c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613db09190615532565b9050613dbc838c6155a8565b9a50613dc882826155a8565b613dd2908961545c565b97508a600003613de457505050613df2565b836001019350505050613a33565b505050505b61096b86848388886147ff565b600080613e118585613fdf565b6000613e1e878787611061565b91505087811115613e65576040517f71b5f0c10000000000000000000000000000000000000000000000000000000081526004810182905260248101899052604401610a1b565b613e6f86826140ff565b9250613e7c838787610f58565b9250613e8b905085858461424a565b509550959350505050565b600080613ea38585613fdf565b6000613eb0878787611061565b915050613ebd86826140ff565b9250808314613ef8576040517f0c5c1c2000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b87831115613f3c576040517f71b5f0c10000000000000000000000000000000000000000000000000000000081526004810182905260248101899052604401610a1b565b613f4785858961424a565b50909694955050505050565b60fe54604080517fc8ecc0d300000000000000000000000000000000000000000000000000000000815290516000926001600160a01b03169163c8ecc0d39160048083019260209291908290030181865afa158015613fb6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613fda91906156cd565b905090565b60ff546000906001600160a01b03161580159061407c575060ff546040517f6c059fb10000000000000000000000000000000000000000000000000000000081523360048201526001600160a01b0390911690636c059fb190602401602060405180830381865afa158015614058573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061407c919061554b565b9050801580156140c8575060026001600160a01b03808516600090815260fd602090815260408083209387168352929052206001015460ff1660038111156140c6576140c6615161565b145b15610f53576040517f03410cd100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60fe546040517f70a082310000000000000000000000000000000000000000000000000000000081526001600160a01b039182166004820152600091849183918316906370a0823190602401602060405180830381865afa158015614168573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061418c9190615532565b60fe549091506141ab906001600160a01b03848116913391168761499d565b60fe546040517f70a082310000000000000000000000000000000000000000000000000000000081526001600160a01b0391821660048201526000918416906370a0823190602401602060405180830381865afa158015614210573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906142349190615532565b905061424082826155a8565b9695505050505050565b6001600160a01b038316600090815261012d60205260409020548181101561429e576040517f6bb2792900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6142a884836149ee565b836142bd6001600160a01b03821685856133f9565b5050505050565b6001600160a01b03808516600090815261012e6020908152604080832093871683529290529081205482906142fa9085906154a3565b614304919061556d565b6001600160a01b03808716600090815261012e602090815260408083209389168352929052908120805492935083929091906143419084906155a8565b92505081905550836001600160a01b0316856001600160a01b03167fc39e3e80c0219fde334a8cb5d8468b628482e23388b6e809c90cb00c63c8ce388360405161438d91815260200190565b60405180910390a3949350505050565b600054610100900460ff1661441a5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610a1b565b614422614a20565b61070181614aa5565b600054610100900460ff166144a85760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610a1b565b611237614b22565b600054610100900460ff1661452d5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610a1b565b614536836126fd565b61453f82611cbf565b614548816135c1565b505060fe80547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16905550565b60006145ca826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316614b9f9092919063ffffffff16565b90508051600014806145eb5750808060200190518101906145eb919061554b565b610f535760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610a1b565b603380546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60fc546040517fb62cad690000000000000000000000000000000000000000000000000000000081526001600160a01b038381166004830152600092169063b62cad6990602401600060405180830381600087803b15801561472857600080fd5b505af115801561473c573d6000803e3d6000fd5b505060fc546040517f41976e090000000000000000000000000000000000000000000000000000000081526001600160a01b03868116600483015260009450670de0b6b3a76400009350879216906341976e0990602401602060405180830381865afa1580156147b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906147d49190615532565b6147de91906154a3565b6147e8919061556d565b905060fb5481106147f857600191505b5092915050565b82156148d65760fe546040518481526001600160a01b0386811692888216929116907fadc20ad416881f76b4304665c35f5be8592297bcdfe4f0bb087b9d254222af559060200160405180910390a460fe546040517f53ac35370000000000000000000000000000000000000000000000000000000081526001600160a01b038781166004830152868116602483015260448201869052909116906353ac353790606401600060405180830381600087803b1580156148bd57600080fd5b505af11580156148d1573d6000803e3d6000fd5b505050505b80156142bd576001600160a01b038216600090815261012d60205260408120805483929061490590849061545c565b90915550506001600160a01b03808616600090815261012e602090815260408083209386168352929052908120805483929061494290849061545c565b92505081905550816001600160a01b0316856001600160a01b03167fc39e3e80c0219fde334a8cb5d8468b628482e23388b6e809c90cb00c63c8ce388360405161498e91815260200190565b60405180910390a35050505050565b6040516001600160a01b0380851660248301528316604482015260648101829052611bd69085907f23b872dd000000000000000000000000000000000000000000000000000000009060840161343e565b6001600160a01b038216600090815261012d602052604081208054839290614a179084906155a8565b90915550505050565b600054610100900460ff16614a9d5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610a1b565b611237614bb8565b600054610100900460ff166107c75760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610a1b565b600054610100900460ff166126795760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610a1b565b6060614bae8484600085614c3e565b90505b9392505050565b600054610100900460ff16614c355760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610a1b565b61123733613590565b606082471015614cb65760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610a1b565b600080866001600160a01b03168587604051614cd291906157c9565b60006040518083038185875af1925050503d8060008114614d0f576040519150601f19603f3d011682016040523d82523d6000602084013e614d14565b606091505b5091509150614d2587838387614d32565b925050505b949350505050565b60608315614da1578251600003614d9a576001600160a01b0385163b614d9a5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610a1b565b5081614d2a565b614d2a8383815115614db65781518083602001fd5b8060405162461bcd60e51b8152600401610a1b91906157e5565b6001600160a01b038116811461070157600080fd5b8035610dc781614dd0565b600060208284031215614e0257600080fd5b8135614bb181614dd0565b600080600060608486031215614e2257600080fd5b833592506020840135614e3481614dd0565b91506040840135614e4481614dd0565b809150509250925092565b600080600080600060a08688031215614e6757600080fd5b85359450602086013593506040860135614e8081614dd0565b92506060860135614e9081614dd0565b91506080860135614ea081614dd0565b809150509295509295909350565b60008060408385031215614ec157600080fd5b8235614ecc81614dd0565b91506020830135614edc81614dd0565b809150509250929050565b60008083601f840112614ef957600080fd5b50813567ffffffffffffffff811115614f1157600080fd5b6020830191508360208260051b8501011115614f2c57600080fd5b9250929050565b60008060008060008060608789031215614f4c57600080fd5b863567ffffffffffffffff80821115614f6457600080fd5b614f708a838b01614ee7565b90985096506020890135915080821115614f8957600080fd5b614f958a838b01614ee7565b90965094506040890135915080821115614fae57600080fd5b50614fbb89828a01614ee7565b979a9699509497509295939492505050565b60008060008060008060008060008060006101008c8e031215614fef57600080fd5b614ff88c614de5565b9a5061500660208d01614de5565b995061501460408d01614de5565b985061502260608d01614de5565b975060808c0135965067ffffffffffffffff8060a08e0135111561504557600080fd5b6150558e60a08f01358f01614ee7565b909750955060c08d013581101561506b57600080fd5b61507b8e60c08f01358f01614ee7565b909550935060e08d013581101561509157600080fd5b506150a28d60e08e01358e01614ee7565b81935080925050509295989b509295989b9093969950565b6020808252825182820181905260009190848201906040850190845b818110156150fb5783516001600160a01b0316835292840192918401916001016150d6565b50909695505050505050565b60008060006060848603121561511c57600080fd5b833561512781614dd0565b9250602084013561513781614dd0565b929592945050506040919091013590565b60006020828403121561515a57600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600481106151c7577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b9052565b82815260408101614bb16020830184615190565b6000806000806000606086880312156151f757600080fd5b853561520281614dd0565b9450602086013567ffffffffffffffff8082111561521f57600080fd5b61522b89838a01614ee7565b9096509450604088013591508082111561524457600080fd5b818801915088601f83011261525857600080fd5b81358181111561526757600080fd5b8960208260061b850101111561527c57600080fd5b9699959850939650602001949392505050565b600080600083850360808112156152a557600080fd5b84356152b081614dd0565b935060208501356152c081614dd0565b925060407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc0820112156152f257600080fd5b506040840190509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561535857615358615300565b604052919050565b600067ffffffffffffffff82111561537a5761537a615300565b5060051b60200190565b600082601f83011261539557600080fd5b815160206153aa6153a583615360565b61532f565b82815260059290921b840181019181810190868411156153c957600080fd5b8286015b848110156153ed5780516153e081614dd0565b83529183019183016153cd565b509695505050505050565b60006020828403121561540a57600080fd5b815167ffffffffffffffff81111561542157600080fd5b614d2a84828501615384565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000821982111561546f5761546f61542d565b500190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156154db576154db61542d565b500290565b6000602082840312156154f257600080fd5b813560048110614bb157600080fd5b848152602081018490526080810161551c6040830185615190565b6155296060830184615190565b95945050505050565b60006020828403121561554457600080fd5b5051919050565b60006020828403121561555d57600080fd5b81518015158114614bb157600080fd5b6000826155a3577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b6000828210156155ba576155ba61542d565b500390565b60005b838110156155da5781810151838201526020016155c2565b83811115611bd65750506000910152565b600081518084526156038160208601602086016155bf565b601f01601f19169290920160200192915050565b6001600160a01b0383168152604060208201526000614bae60408301846155eb565b60006001600160a01b0380861683528085166020840152506060604083015261552960608301846155eb565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe184360301811261569a57600080fd5b83018035915067ffffffffffffffff8211156156b557600080fd5b6020019150600581901b3603821315614f2c57600080fd5b6000602082840312156156df57600080fd5b8151614bb181614dd0565b600080604083850312156156fd57600080fd5b825167ffffffffffffffff8082111561571557600080fd5b61572186838701615384565b935060209150818501518181111561573857600080fd5b85019050601f8101861361574b57600080fd5b80516157596153a582615360565b81815260059190911b8201830190838101908883111561577857600080fd5b928401925b828410156157965783518252928401929084019061577d565b80955050505050509250929050565b600080604083850312156157b857600080fd5b505080516020909101519092909150565b600082516157db8184602087016155bf565b9190910192915050565b6020815260006130ac60208301846155eb56fe736574436f6e76657273696f6e436f6e66696728616464726573732c616464726573732c436f6e76657273696f6e436f6e66696729736574506f6f6c734173736574734469726563745472616e7366657228616464726573735b5d2c616464726573735b5d5b5d2c626f6f6c5b5d5b5d29a26469706673582212205f6f2758e0a194168e1ee21858c7de5575e3041602ba60b90cda24613fdac4b864736f6c634300080d0033";
1639
+
1640
+ export class RiskFundConverter__factory extends ContractFactory {
1641
+ constructor(
1642
+ ...args: [signer: Signer] | ConstructorParameters<typeof ContractFactory>
1643
+ ) {
1644
+ if (args.length === 1) {
1645
+ super(_abi, _bytecode, args[0]);
1646
+ } else {
1647
+ super(...args);
1648
+ }
1649
+ }
1650
+
1651
+ deploy(
1652
+ corePoolComptroller_: string,
1653
+ vBNB_: string,
1654
+ nativeWrapped_: string,
1655
+ overrides?: Overrides & { from?: string | Promise<string> }
1656
+ ): Promise<RiskFundConverter> {
1657
+ return super.deploy(
1658
+ corePoolComptroller_,
1659
+ vBNB_,
1660
+ nativeWrapped_,
1661
+ overrides || {}
1662
+ ) as Promise<RiskFundConverter>;
1663
+ }
1664
+ getDeployTransaction(
1665
+ corePoolComptroller_: string,
1666
+ vBNB_: string,
1667
+ nativeWrapped_: string,
1668
+ overrides?: Overrides & { from?: string | Promise<string> }
1669
+ ): TransactionRequest {
1670
+ return super.getDeployTransaction(
1671
+ corePoolComptroller_,
1672
+ vBNB_,
1673
+ nativeWrapped_,
1674
+ overrides || {}
1675
+ );
1676
+ }
1677
+ attach(address: string): RiskFundConverter {
1678
+ return super.attach(address) as RiskFundConverter;
1679
+ }
1680
+ connect(signer: Signer): RiskFundConverter__factory {
1681
+ return super.connect(signer) as RiskFundConverter__factory;
1682
+ }
1683
+ static readonly bytecode = _bytecode;
1684
+ static readonly abi = _abi;
1685
+ static createInterface(): RiskFundConverterInterface {
1686
+ return new utils.Interface(_abi) as RiskFundConverterInterface;
1687
+ }
1688
+ static connect(
1689
+ address: string,
1690
+ signerOrProvider: Signer | Provider
1691
+ ): RiskFundConverter {
1692
+ return new Contract(address, _abi, signerOrProvider) as RiskFundConverter;
1693
+ }
1694
+ }