@etherisc/gif-next 0.0.2-d16f92c-416 → 0.0.2-d18e1c5-511

Sign up to get free protection for your applications and to get access to all the features.
Files changed (642) hide show
  1. package/README.md +130 -8
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1075 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +790 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +843 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1664 -0
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1289 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1403 -0
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +790 -0
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  17. package/artifacts/contracts/authorization/IAccess.sol/IAccess.json +10 -0
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  19. package/artifacts/contracts/{shared → authorization}/IAccessAdmin.sol/IAccessAdmin.json +525 -342
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +455 -0
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +397 -0
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +646 -0
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1234 -0
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +805 -0
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  31. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +139 -616
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +754 -323
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +228 -124
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  37. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +145 -282
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  39. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +535 -78
  40. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1474 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +805 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2043 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +805 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  51. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  52. package/artifacts/contracts/examples/flight/FlightLib.sol/FlightLib.dbg.json +4 -0
  53. package/artifacts/contracts/examples/flight/FlightLib.sol/FlightLib.json +408 -0
  54. package/artifacts/contracts/examples/flight/FlightOracle.sol/FlightOracle.dbg.json +4 -0
  55. package/artifacts/contracts/examples/flight/FlightOracle.sol/FlightOracle.json +1198 -0
  56. package/artifacts/contracts/examples/flight/FlightOracleAuthorization.sol/FlightOracleAuthorization.dbg.json +4 -0
  57. package/artifacts/contracts/examples/flight/FlightOracleAuthorization.sol/FlightOracleAuthorization.json +805 -0
  58. package/artifacts/contracts/examples/flight/FlightPool.sol/FlightPool.dbg.json +4 -0
  59. package/artifacts/contracts/examples/flight/FlightPool.sol/FlightPool.json +1466 -0
  60. package/artifacts/contracts/examples/flight/FlightPoolAuthorization.sol/FlightPoolAuthorization.dbg.json +4 -0
  61. package/artifacts/contracts/examples/flight/FlightPoolAuthorization.sol/FlightPoolAuthorization.json +805 -0
  62. package/artifacts/contracts/examples/flight/FlightProduct.sol/FlightProduct.dbg.json +4 -0
  63. package/artifacts/contracts/examples/flight/FlightProduct.sol/FlightProduct.json +2185 -0
  64. package/artifacts/contracts/examples/flight/FlightProductAuthorization.sol/FlightProductAuthorization.dbg.json +4 -0
  65. package/artifacts/contracts/examples/flight/FlightProductAuthorization.sol/FlightProductAuthorization.json +805 -0
  66. package/artifacts/contracts/examples/flight/FlightUSD.sol/FlightUSD.dbg.json +4 -0
  67. package/artifacts/contracts/examples/flight/FlightUSD.sol/FlightUSD.json +376 -0
  68. package/artifacts/contracts/examples/flight/originalV1.sol/FlightDelayChainlink.dbg.json +4 -0
  69. package/artifacts/contracts/examples/flight/originalV1.sol/FlightDelayChainlink.json +901 -0
  70. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  71. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1429 -0
  72. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  73. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +805 -0
  74. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  75. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1161 -0
  76. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  77. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1637 -0
  78. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  79. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +805 -0
  80. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  81. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2575 -0
  82. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  83. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +805 -0
  84. package/artifacts/contracts/instance/BaseStore.sol/BaseStore.dbg.json +4 -0
  85. package/artifacts/contracts/{shared/IKeyValueStore.sol/IKeyValueStore.json → instance/BaseStore.sol/BaseStore.json} +59 -195
  86. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  87. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  88. package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.dbg.json +4 -0
  89. package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.json +304 -0
  90. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  91. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +580 -80
  92. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  93. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +398 -75
  94. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  95. package/artifacts/contracts/instance/Instance.sol/Instance.json +590 -218
  96. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  97. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1889 -313
  98. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  99. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +837 -0
  100. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  101. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1760 -840
  102. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  103. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +392 -274
  104. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  105. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +141 -127
  106. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  107. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1298 -1857
  108. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.dbg.json +4 -0
  109. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.json +3427 -0
  110. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  111. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +866 -0
  112. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  113. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +8 -8
  114. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  115. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  116. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  117. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  118. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  119. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  120. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  121. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  122. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  123. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  124. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  125. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  126. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  127. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  128. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  129. package/artifacts/contracts/mock/Dip.sol/Dip.json +2 -2
  130. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  131. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +947 -0
  132. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  133. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +805 -0
  134. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  135. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +43 -1
  136. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  137. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +142 -139
  138. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  139. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +98 -11
  140. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  141. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +140 -423
  142. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  143. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +198 -190
  144. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  145. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +177 -97
  146. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  147. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1232 -0
  148. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  149. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +805 -0
  150. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  151. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +569 -265
  152. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  153. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +216 -104
  154. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  155. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +383 -53
  156. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  157. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +147 -406
  158. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  159. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +711 -340
  160. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  161. package/artifacts/contracts/pool/Pool.sol/Pool.json +144 -694
  162. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  163. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  164. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  165. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +925 -545
  166. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  167. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +230 -106
  168. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  169. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +353 -180
  170. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  171. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +159 -99
  172. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  173. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1149 -0
  174. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  175. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +805 -0
  176. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  177. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +466 -245
  178. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  179. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +187 -123
  180. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  181. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +301 -9
  182. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  183. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +350 -18
  184. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  185. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +417 -101
  186. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  187. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +183 -80
  188. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  189. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +282 -271
  190. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  191. package/artifacts/contracts/{shared/ComponentVerifyingService.sol/ComponentVerifyingService.json → product/IRiskService.sol/IRiskService.json} +283 -157
  192. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  193. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +532 -311
  194. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  195. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  196. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  197. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +196 -108
  198. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  199. package/artifacts/contracts/product/PricingService.sol/PricingService.json +249 -329
  200. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  201. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +165 -137
  202. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  203. package/artifacts/contracts/product/Product.sol/Product.json +316 -606
  204. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  205. package/artifacts/contracts/product/RiskService.sol/RiskService.json +873 -0
  206. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  207. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +774 -0
  208. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  209. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  210. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  211. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +384 -69
  212. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  213. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +97 -148
  214. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  215. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  216. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  217. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  218. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  219. package/artifacts/contracts/registry/Registry.sol/Registry.json +617 -133
  220. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  221. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +796 -537
  222. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  223. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1074 -0
  224. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  225. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +136 -290
  226. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  227. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +141 -89
  228. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  229. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
  230. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  231. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  232. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  233. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1389 -0
  234. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  235. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +523 -27
  236. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  237. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +120 -60
  238. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  239. package/artifacts/contracts/shared/Component.sol/Component.json +86 -287
  240. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  241. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +609 -569
  242. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  243. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +197 -131
  244. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  245. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
  246. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  247. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  248. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  249. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  250. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  251. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  252. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  253. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +92 -103
  254. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  255. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +535 -240
  256. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  257. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +131 -139
  258. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  259. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +34 -3
  260. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  261. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +35 -0
  262. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  263. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +15 -47
  264. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  265. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +167 -0
  266. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  267. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  268. package/artifacts/contracts/shared/IService.sol/IService.json +84 -2
  269. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  270. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  271. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  272. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +125 -376
  273. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  274. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -62
  275. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  276. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  277. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  278. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +41 -57
  279. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  280. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +19 -141
  281. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  282. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +141 -97
  283. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  284. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  285. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  286. package/artifacts/contracts/shared/Service.sol/Service.json +86 -111
  287. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  288. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +585 -12
  289. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  290. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  291. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  292. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  293. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  294. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1513 -204
  295. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  296. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +235 -123
  297. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +4 -0
  298. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.json +50 -0
  299. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  300. package/artifacts/contracts/staking/Staking.sol/Staking.json +1635 -465
  301. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  302. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
  303. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  304. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +191 -105
  305. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  306. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +295 -183
  307. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  308. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +282 -281
  309. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  310. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +144 -96
  311. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  312. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +1637 -801
  313. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +4 -0
  314. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +309 -0
  315. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  316. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +184 -76
  317. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  318. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +2 -2
  319. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  320. package/artifacts/contracts/type/Amount.sol/AmountLib.json +63 -10
  321. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  322. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +45 -19
  323. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
  324. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
  325. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  326. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  327. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  328. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +4 -4
  329. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  330. package/artifacts/contracts/type/Fee.sol/FeeLib.json +98 -37
  331. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  332. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  333. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  334. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  335. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  336. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +23 -4
  337. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  338. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  339. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  340. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +61 -9
  341. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  342. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  343. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  344. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +23 -4
  345. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  346. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +4 -4
  347. package/artifacts/contracts/type/RequestIdSet.sol/RequestIdSet.dbg.json +4 -0
  348. package/artifacts/contracts/type/RequestIdSet.sol/RequestIdSet.json +33 -0
  349. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  350. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +125 -7
  351. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  352. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +79 -91
  353. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  354. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +112 -2
  355. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  356. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +21 -2
  357. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  358. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +2 -2
  359. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  360. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  361. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  362. package/artifacts/contracts/type/String.sol/StrLib.json +69 -2
  363. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  364. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +56 -5
  365. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  366. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +126 -33
  367. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  368. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
  369. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  370. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +120 -2
  371. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  372. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +11 -1
  373. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  374. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +656 -0
  375. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  376. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +142 -0
  377. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  378. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +11 -1
  379. package/contracts/accounting/AccountingService.sol +274 -0
  380. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  381. package/contracts/accounting/IAccountingService.sol +47 -0
  382. package/contracts/authorization/AccessAdmin.sol +780 -0
  383. package/contracts/authorization/AccessAdminLib.sol +396 -0
  384. package/contracts/authorization/AccessManagerCloneable.sol +158 -0
  385. package/contracts/authorization/Authorization.sol +169 -0
  386. package/contracts/authorization/IAccess.sol +67 -0
  387. package/contracts/authorization/IAccessAdmin.sol +144 -0
  388. package/contracts/authorization/IAuthorization.sol +26 -0
  389. package/contracts/authorization/IServiceAuthorization.sol +78 -0
  390. package/contracts/authorization/ServiceAuthorization.sol +320 -0
  391. package/contracts/distribution/BasicDistribution.sol +140 -0
  392. package/contracts/distribution/BasicDistributionAuthorization.sol +67 -0
  393. package/contracts/distribution/Distribution.sol +125 -141
  394. package/contracts/distribution/DistributionService.sol +284 -133
  395. package/contracts/distribution/DistributionServiceManager.sol +8 -11
  396. package/contracts/distribution/IDistributionComponent.sol +21 -42
  397. package/contracts/distribution/IDistributionService.sol +60 -26
  398. package/contracts/examples/fire/DamageLevel.sol +59 -0
  399. package/contracts/examples/fire/FirePool.sol +86 -0
  400. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  401. package/contracts/examples/fire/FireProduct.sol +433 -0
  402. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  403. package/contracts/examples/fire/FireUSD.sol +26 -0
  404. package/contracts/examples/flight/FlightLib.sol +279 -0
  405. package/contracts/examples/flight/FlightOracle.sol +167 -0
  406. package/contracts/examples/flight/FlightOracleAuthorization.sol +34 -0
  407. package/contracts/examples/flight/FlightPool.sol +89 -0
  408. package/contracts/examples/flight/FlightPoolAuthorization.sol +37 -0
  409. package/contracts/examples/flight/FlightProduct.sol +470 -0
  410. package/contracts/examples/flight/FlightProductAuthorization.sol +44 -0
  411. package/contracts/examples/flight/FlightUSD.sol +26 -0
  412. package/contracts/examples/flight/originalV1.sol +396 -0
  413. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  414. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  415. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  416. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  417. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  418. package/contracts/examples/unpermissioned/SimpleProduct.sol +437 -0
  419. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  420. package/contracts/instance/BaseStore.sol +93 -0
  421. package/contracts/instance/BundleSet.sol +130 -0
  422. package/contracts/instance/IBaseStore.sol +37 -0
  423. package/contracts/instance/IInstance.sol +118 -49
  424. package/contracts/instance/IInstanceService.sol +68 -46
  425. package/contracts/instance/Instance.sol +221 -133
  426. package/contracts/instance/InstanceAdmin.sol +297 -249
  427. package/contracts/instance/InstanceAuthorizationV3.sol +275 -0
  428. package/contracts/instance/InstanceReader.sol +498 -256
  429. package/contracts/instance/InstanceService.sol +340 -265
  430. package/contracts/instance/InstanceServiceManager.sol +8 -13
  431. package/contracts/instance/InstanceStore.sol +163 -109
  432. package/contracts/instance/ProductStore.sol +290 -0
  433. package/contracts/instance/RiskSet.sol +126 -0
  434. package/contracts/instance/TargetNames.sol +10 -0
  435. package/contracts/instance/base/BalanceStore.sol +4 -6
  436. package/contracts/instance/base/ObjectCounter.sol +1 -2
  437. package/contracts/instance/base/ObjectLifecycle.sol +109 -0
  438. package/contracts/instance/base/ObjectSet.sol +77 -0
  439. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  440. package/contracts/instance/module/IBundle.sol +6 -5
  441. package/contracts/instance/module/IComponents.sol +29 -21
  442. package/contracts/instance/module/IDistribution.sol +21 -9
  443. package/contracts/instance/module/IPolicy.sol +50 -29
  444. package/contracts/instance/module/IRisk.sol +5 -0
  445. package/contracts/mock/Dip.sol +1 -1
  446. package/contracts/oracle/BasicOracle.sol +44 -0
  447. package/contracts/oracle/BasicOracleAuthorization.sol +52 -0
  448. package/contracts/oracle/IOracle.sol +25 -4
  449. package/contracts/oracle/IOracleComponent.sol +2 -1
  450. package/contracts/oracle/IOracleService.sol +14 -13
  451. package/contracts/oracle/Oracle.sol +60 -53
  452. package/contracts/oracle/OracleService.sol +119 -87
  453. package/contracts/oracle/OracleServiceManager.sol +8 -11
  454. package/contracts/pool/BasicPool.sol +161 -0
  455. package/contracts/pool/BasicPoolAuthorization.sol +81 -0
  456. package/contracts/pool/BundleService.sol +222 -132
  457. package/contracts/pool/BundleServiceManager.sol +8 -11
  458. package/contracts/pool/IBundleService.sol +43 -33
  459. package/contracts/pool/IPoolComponent.sol +20 -70
  460. package/contracts/pool/IPoolService.sol +97 -77
  461. package/contracts/pool/Pool.sol +196 -164
  462. package/contracts/pool/PoolLib.sol +341 -0
  463. package/contracts/pool/PoolService.sol +419 -257
  464. package/contracts/pool/PoolServiceManager.sol +6 -9
  465. package/contracts/product/ApplicationService.sol +154 -81
  466. package/contracts/product/ApplicationServiceManager.sol +6 -6
  467. package/contracts/product/BasicProduct.sol +48 -0
  468. package/contracts/product/BasicProductAuthorization.sol +64 -0
  469. package/contracts/product/ClaimService.sol +391 -207
  470. package/contracts/product/ClaimServiceManager.sol +6 -6
  471. package/contracts/product/IApplicationService.sol +29 -3
  472. package/contracts/product/IClaimService.sol +48 -11
  473. package/contracts/product/IPolicyService.sol +61 -37
  474. package/contracts/product/IPricingService.sol +11 -10
  475. package/contracts/product/IProductComponent.sol +29 -9
  476. package/contracts/product/IRiskService.sol +48 -0
  477. package/contracts/product/PolicyService.sol +445 -275
  478. package/contracts/product/PolicyServiceLib.sol +139 -0
  479. package/contracts/product/PolicyServiceManager.sol +6 -9
  480. package/contracts/product/PricingService.sol +90 -84
  481. package/contracts/product/PricingServiceManager.sol +6 -9
  482. package/contracts/product/Product.sol +261 -147
  483. package/contracts/product/RiskService.sol +189 -0
  484. package/contracts/product/RiskServiceManager.sol +39 -0
  485. package/contracts/registry/ChainNft.sol +72 -40
  486. package/contracts/registry/IRegistry.sol +84 -36
  487. package/contracts/registry/IRegistryService.sol +3 -10
  488. package/contracts/registry/IRelease.sol +29 -0
  489. package/contracts/registry/ITransferInterceptor.sol +1 -2
  490. package/contracts/registry/Registry.sol +378 -224
  491. package/contracts/registry/RegistryAdmin.sol +119 -261
  492. package/contracts/registry/RegistryAuthorization.sol +336 -0
  493. package/contracts/registry/RegistryService.sol +42 -67
  494. package/contracts/registry/RegistryServiceManager.sol +5 -5
  495. package/contracts/registry/ReleaseAdmin.sol +195 -0
  496. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  497. package/contracts/registry/ReleaseRegistry.sol +525 -0
  498. package/contracts/registry/ServiceAuthorizationV3.sol +213 -71
  499. package/contracts/registry/TokenRegistry.sol +61 -59
  500. package/contracts/shared/Component.sol +71 -142
  501. package/contracts/shared/ComponentService.sol +459 -385
  502. package/contracts/shared/ComponentServiceManager.sol +10 -7
  503. package/contracts/shared/ContractLib.sol +312 -0
  504. package/contracts/shared/IComponent.sol +6 -18
  505. package/contracts/shared/IComponentService.sol +50 -41
  506. package/contracts/shared/IInstanceLinkedComponent.sol +10 -26
  507. package/contracts/shared/ILifecycle.sol +3 -2
  508. package/contracts/shared/INftOwnable.sol +4 -0
  509. package/contracts/shared/IPolicyHolder.sol +12 -22
  510. package/contracts/shared/IRegisterable.sol +22 -1
  511. package/contracts/shared/IService.sol +4 -6
  512. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +11 -3
  513. package/contracts/shared/InstanceLinkedComponent.sol +145 -57
  514. package/contracts/shared/Lifecycle.sol +30 -72
  515. package/contracts/shared/{NftIdSetManager.sol → NftIdSet.sol} +1 -1
  516. package/contracts/shared/NftOwnable.sol +33 -11
  517. package/contracts/shared/PolicyHolder.sol +20 -59
  518. package/contracts/shared/Registerable.sol +52 -21
  519. package/contracts/shared/RegistryLinked.sol +9 -14
  520. package/contracts/shared/Service.sol +22 -38
  521. package/contracts/shared/TokenHandler.sol +310 -26
  522. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  523. package/contracts/staking/IStaking.sol +272 -73
  524. package/contracts/staking/IStakingService.sol +48 -74
  525. package/contracts/staking/ITargetLimitHandler.sol +17 -0
  526. package/contracts/staking/Staking.sol +534 -250
  527. package/contracts/staking/StakingLib.sol +195 -0
  528. package/contracts/staking/StakingManager.sol +14 -15
  529. package/contracts/staking/StakingReader.sol +72 -88
  530. package/contracts/staking/StakingService.sol +62 -152
  531. package/contracts/staking/StakingServiceManager.sol +9 -7
  532. package/contracts/staking/StakingStore.sol +1096 -341
  533. package/contracts/staking/TargetHandler.sol +132 -0
  534. package/contracts/staking/TargetManagerLib.sol +73 -46
  535. package/contracts/type/Amount.sol +31 -5
  536. package/contracts/type/Blocknumber.sol +22 -16
  537. package/contracts/type/ChainId.sol +101 -0
  538. package/contracts/type/ClaimId.sol +6 -1
  539. package/contracts/type/Fee.sol +8 -8
  540. package/contracts/type/Key32.sol +2 -2
  541. package/contracts/type/Key32Set.sol +62 -0
  542. package/contracts/type/NftId.sol +7 -0
  543. package/contracts/type/ObjectType.sol +91 -54
  544. package/contracts/type/PayoutId.sol +10 -10
  545. package/contracts/type/Referral.sol +7 -0
  546. package/contracts/type/RequestIdSet.sol +62 -0
  547. package/contracts/type/RiskId.sol +38 -6
  548. package/contracts/type/RoleId.sol +93 -114
  549. package/contracts/type/Seconds.sol +44 -1
  550. package/contracts/type/Selector.sol +5 -0
  551. package/contracts/type/StateId.sol +15 -1
  552. package/contracts/type/String.sol +42 -0
  553. package/contracts/type/Timestamp.sol +24 -8
  554. package/contracts/type/UFixed.sol +62 -125
  555. package/contracts/type/Version.sol +57 -6
  556. package/contracts/{shared → upgradeability}/IVersionable.sol +3 -0
  557. package/contracts/{shared → upgradeability}/ProxyManager.sol +96 -49
  558. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +24 -0
  559. package/contracts/{shared → upgradeability}/Versionable.sol +8 -5
  560. package/package.json +9 -6
  561. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  562. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -709
  563. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +0 -4
  564. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +0 -228
  565. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  566. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +0 -187
  567. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  568. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -129
  569. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  570. package/artifacts/contracts/product/IProductService.sol/IProductService.json +0 -400
  571. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  572. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -708
  573. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  574. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -702
  575. package/artifacts/contracts/registry/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +0 -4
  576. package/artifacts/contracts/registry/IServiceAuthorization.sol/IServiceAuthorization.json +0 -129
  577. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  578. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -1218
  579. package/artifacts/contracts/registry/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +0 -4
  580. package/artifacts/contracts/registry/ServiceAuthorization.sol/ServiceAuthorization.json +0 -171
  581. package/artifacts/contracts/shared/AccessAdmin.sol/AccessAdmin.dbg.json +0 -4
  582. package/artifacts/contracts/shared/AccessAdmin.sol/AccessAdmin.json +0 -1559
  583. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.dbg.json +0 -4
  584. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.json +0 -1193
  585. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.dbg.json +0 -4
  586. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.json +0 -1747
  587. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.dbg.json +0 -4
  588. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.json +0 -1760
  589. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.dbg.json +0 -4
  590. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.json +0 -1838
  591. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.dbg.json +0 -4
  592. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.json +0 -1856
  593. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +0 -4
  594. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  595. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  596. package/artifacts/contracts/shared/IAccessAdmin.sol/IAccessAdmin.dbg.json +0 -4
  597. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.dbg.json +0 -4
  598. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.json +0 -1562
  599. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.dbg.json +0 -4
  600. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.json +0 -1600
  601. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  602. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  603. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
  604. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
  605. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  606. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +0 -571
  607. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +0 -4
  608. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.json +0 -306
  609. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  610. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -617
  611. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  612. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  613. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  614. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +0 -4
  615. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +0 -460
  616. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  617. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -10
  618. package/contracts/instance/BundleManager.sol +0 -126
  619. package/contracts/instance/InstanceAuthorizationsLib.sol +0 -377
  620. package/contracts/instance/base/ObjectManager.sol +0 -80
  621. package/contracts/instance/module/IAccess.sol +0 -46
  622. package/contracts/product/IProductService.sol +0 -33
  623. package/contracts/product/ProductService.sol +0 -124
  624. package/contracts/product/ProductServiceManager.sol +0 -42
  625. package/contracts/registry/IServiceAuthorization.sol +0 -35
  626. package/contracts/registry/ReleaseManager.sol +0 -527
  627. package/contracts/registry/ServiceAuthorization.sol +0 -86
  628. package/contracts/shared/AccessAdmin.sol +0 -759
  629. package/contracts/shared/AccessManagerCustom.sol +0 -741
  630. package/contracts/shared/AccessManagerExtended.sol +0 -481
  631. package/contracts/shared/AccessManagerExtendedInitializeable.sol +0 -13
  632. package/contracts/shared/AccessManagerExtendedWithDisable.sol +0 -137
  633. package/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol +0 -14
  634. package/contracts/shared/ComponentVerifyingService.sol +0 -117
  635. package/contracts/shared/IAccessAdmin.sol +0 -168
  636. package/contracts/shared/IAccessManagerExtended.sol +0 -74
  637. package/contracts/shared/IAccessManagerExtendedWithDisable.sol +0 -18
  638. package/contracts/shared/IKeyValueStore.sol +0 -53
  639. package/contracts/shared/InitializableCustom.sol +0 -177
  640. package/contracts/shared/KeyValueStore.sol +0 -127
  641. package/contracts/shared/UpgradableProxyWithAdmin.sol +0 -16
  642. package/contracts/staking/StakeManagerLib.sol +0 -231
@@ -66,38 +66,28 @@
66
66
  {
67
67
  "inputs": [
68
68
  {
69
- "internalType": "ObjectType",
70
- "name": "objectType",
71
- "type": "uint8"
72
- },
73
- {
74
- "internalType": "StateId",
75
- "name": "fromStateId",
76
- "type": "uint8"
69
+ "internalType": "Key32",
70
+ "name": "key",
71
+ "type": "bytes32"
77
72
  },
78
73
  {
79
- "internalType": "StateId",
80
- "name": "toStateId",
74
+ "internalType": "ObjectType",
75
+ "name": "objectType",
81
76
  "type": "uint8"
82
77
  }
83
78
  ],
84
- "name": "ErrorInvalidStateTransition",
79
+ "name": "ErrorBaseStoreAlreadyCreated",
85
80
  "type": "error"
86
81
  },
87
82
  {
88
83
  "inputs": [
89
- {
90
- "internalType": "Key32",
91
- "name": "key",
92
- "type": "bytes32"
93
- },
94
84
  {
95
85
  "internalType": "ObjectType",
96
86
  "name": "objectType",
97
87
  "type": "uint8"
98
88
  }
99
89
  ],
100
- "name": "ErrorKeyValueStoreAlreadyCreated",
90
+ "name": "ErrorBaseStoreNoLifecycle",
101
91
  "type": "error"
102
92
  },
103
93
  {
@@ -108,7 +98,7 @@
108
98
  "type": "bytes32"
109
99
  }
110
100
  ],
111
- "name": "ErrorKeyValueStoreNotExisting",
101
+ "name": "ErrorBaseStoreNotExisting",
112
102
  "type": "error"
113
103
  },
114
104
  {
@@ -119,7 +109,7 @@
119
109
  "type": "bytes32"
120
110
  }
121
111
  ],
122
- "name": "ErrorKeyValueStoreStateZero",
112
+ "name": "ErrorBaseStoreStateZero",
123
113
  "type": "error"
124
114
  },
125
115
  {
@@ -130,15 +120,67 @@
130
120
  "type": "uint8"
131
121
  }
132
122
  ],
133
- "name": "ErrorKeyValueStoreTypeUndefined",
123
+ "name": "ErrorBaseStoreTypeUndefined",
134
124
  "type": "error"
135
125
  },
136
126
  {
137
127
  "inputs": [
138
128
  {
139
- "internalType": "NftId",
140
- "name": "nftId",
141
- "type": "uint96"
129
+ "internalType": "address",
130
+ "name": "contractAddress",
131
+ "type": "address"
132
+ },
133
+ {
134
+ "internalType": "ObjectType",
135
+ "name": "objectType",
136
+ "type": "uint8"
137
+ },
138
+ {
139
+ "internalType": "StateId",
140
+ "name": "actual",
141
+ "type": "uint8"
142
+ },
143
+ {
144
+ "internalType": "StateId",
145
+ "name": "required",
146
+ "type": "uint8"
147
+ }
148
+ ],
149
+ "name": "ErrorFromStateMissmatch",
150
+ "type": "error"
151
+ },
152
+ {
153
+ "inputs": [
154
+ {
155
+ "internalType": "address",
156
+ "name": "contractAddress",
157
+ "type": "address"
158
+ },
159
+ {
160
+ "internalType": "ObjectType",
161
+ "name": "objectType",
162
+ "type": "uint8"
163
+ },
164
+ {
165
+ "internalType": "StateId",
166
+ "name": "fromStateId",
167
+ "type": "uint8"
168
+ },
169
+ {
170
+ "internalType": "StateId",
171
+ "name": "toStateId",
172
+ "type": "uint8"
173
+ }
174
+ ],
175
+ "name": "ErrorInvalidStateTransition",
176
+ "type": "error"
177
+ },
178
+ {
179
+ "inputs": [
180
+ {
181
+ "internalType": "address",
182
+ "name": "contractAddress",
183
+ "type": "address"
142
184
  },
143
185
  {
144
186
  "internalType": "ObjectType",
@@ -210,7 +252,7 @@
210
252
  "indexed": false,
211
253
  "internalType": "Blocknumber",
212
254
  "name": "lastUpdatedIn",
213
- "type": "uint32"
255
+ "type": "uint40"
214
256
  }
215
257
  ],
216
258
  "name": "LogBalanceStoreBalanceDecreased",
@@ -241,7 +283,7 @@
241
283
  "indexed": false,
242
284
  "internalType": "Blocknumber",
243
285
  "name": "lastUpdatedIn",
244
- "type": "uint32"
286
+ "type": "uint40"
245
287
  }
246
288
  ],
247
289
  "name": "LogBalanceStoreBalanceIncreased",
@@ -272,7 +314,7 @@
272
314
  "indexed": false,
273
315
  "internalType": "Blocknumber",
274
316
  "name": "lastUpdatedIn",
275
- "type": "uint32"
317
+ "type": "uint40"
276
318
  }
277
319
  ],
278
320
  "name": "LogBalanceStoreFeesDecreased",
@@ -303,7 +345,7 @@
303
345
  "indexed": false,
304
346
  "internalType": "Blocknumber",
305
347
  "name": "lastUpdatedIn",
306
- "type": "uint32"
348
+ "type": "uint40"
307
349
  }
308
350
  ],
309
351
  "name": "LogBalanceStoreFeesIncreased",
@@ -334,7 +376,7 @@
334
376
  "indexed": false,
335
377
  "internalType": "Blocknumber",
336
378
  "name": "lastUpdatedIn",
337
- "type": "uint32"
379
+ "type": "uint40"
338
380
  }
339
381
  ],
340
382
  "name": "LogBalanceStoreLockedDecreased",
@@ -365,7 +407,7 @@
365
407
  "indexed": false,
366
408
  "internalType": "Blocknumber",
367
409
  "name": "lastUpdatedIn",
368
- "type": "uint32"
410
+ "type": "uint40"
369
411
  }
370
412
  ],
371
413
  "name": "LogBalanceStoreLockedIncreased",
@@ -389,15 +431,9 @@
389
431
  "inputs": [
390
432
  {
391
433
  "indexed": false,
392
- "internalType": "ObjectType",
393
- "name": "objectType",
394
- "type": "uint8"
395
- },
396
- {
397
- "indexed": false,
398
- "internalType": "KeyId",
399
- "name": "keyId",
400
- "type": "bytes31"
434
+ "internalType": "NftId",
435
+ "name": "bundleNftId",
436
+ "type": "uint96"
401
437
  },
402
438
  {
403
439
  "indexed": false,
@@ -418,7 +454,7 @@
418
454
  "type": "address"
419
455
  }
420
456
  ],
421
- "name": "LogInfoCreated",
457
+ "name": "LogProductStoreBundleInfoCreated",
422
458
  "type": "event"
423
459
  },
424
460
  {
@@ -426,20 +462,20 @@
426
462
  "inputs": [
427
463
  {
428
464
  "indexed": false,
429
- "internalType": "ObjectType",
430
- "name": "objectType",
431
- "type": "uint8"
465
+ "internalType": "NftId",
466
+ "name": "bundleNftId",
467
+ "type": "uint96"
432
468
  },
433
469
  {
434
470
  "indexed": false,
435
- "internalType": "KeyId",
436
- "name": "keyId",
437
- "type": "bytes31"
471
+ "internalType": "StateId",
472
+ "name": "oldState",
473
+ "type": "uint8"
438
474
  },
439
475
  {
440
476
  "indexed": false,
441
477
  "internalType": "StateId",
442
- "name": "state",
478
+ "name": "newState",
443
479
  "type": "uint8"
444
480
  },
445
481
  {
@@ -458,10 +494,10 @@
458
494
  "indexed": false,
459
495
  "internalType": "Blocknumber",
460
496
  "name": "lastUpdatedIn",
461
- "type": "uint32"
497
+ "type": "uint40"
462
498
  }
463
499
  ],
464
- "name": "LogInfoUpdated",
500
+ "name": "LogProductStoreBundleInfoUpdated",
465
501
  "type": "event"
466
502
  },
467
503
  {
@@ -469,26 +505,51 @@
469
505
  "inputs": [
470
506
  {
471
507
  "indexed": false,
472
- "internalType": "ObjectType",
473
- "name": "objectType",
508
+ "internalType": "NftId",
509
+ "name": "componentNftId",
510
+ "type": "uint96"
511
+ },
512
+ {
513
+ "indexed": false,
514
+ "internalType": "StateId",
515
+ "name": "state",
474
516
  "type": "uint8"
475
517
  },
476
518
  {
477
519
  "indexed": false,
478
- "internalType": "KeyId",
479
- "name": "keyId",
480
- "type": "bytes31"
520
+ "internalType": "address",
521
+ "name": "createdby",
522
+ "type": "address"
523
+ },
524
+ {
525
+ "indexed": false,
526
+ "internalType": "address",
527
+ "name": "txOrigin",
528
+ "type": "address"
529
+ }
530
+ ],
531
+ "name": "LogProductStoreComponentInfoCreated",
532
+ "type": "event"
533
+ },
534
+ {
535
+ "anonymous": false,
536
+ "inputs": [
537
+ {
538
+ "indexed": false,
539
+ "internalType": "NftId",
540
+ "name": "componentNftId",
541
+ "type": "uint96"
481
542
  },
482
543
  {
483
544
  "indexed": false,
484
545
  "internalType": "StateId",
485
- "name": "stateOld",
546
+ "name": "oldState",
486
547
  "type": "uint8"
487
548
  },
488
549
  {
489
550
  "indexed": false,
490
551
  "internalType": "StateId",
491
- "name": "stateNew",
552
+ "name": "newState",
492
553
  "type": "uint8"
493
554
  },
494
555
  {
@@ -507,151 +568,421 @@
507
568
  "indexed": false,
508
569
  "internalType": "Blocknumber",
509
570
  "name": "lastUpdatedIn",
510
- "type": "uint32"
571
+ "type": "uint40"
511
572
  }
512
573
  ],
513
- "name": "LogStateUpdated",
574
+ "name": "LogProductStoreComponentInfoUpdated",
514
575
  "type": "event"
515
576
  },
516
577
  {
517
- "inputs": [],
518
- "name": "authority",
519
- "outputs": [
578
+ "anonymous": false,
579
+ "inputs": [
580
+ {
581
+ "indexed": false,
582
+ "internalType": "NftId",
583
+ "name": "distributorNftId",
584
+ "type": "uint96"
585
+ },
586
+ {
587
+ "indexed": false,
588
+ "internalType": "StateId",
589
+ "name": "state",
590
+ "type": "uint8"
591
+ },
520
592
  {
593
+ "indexed": false,
521
594
  "internalType": "address",
522
- "name": "",
595
+ "name": "createdBy",
596
+ "type": "address"
597
+ },
598
+ {
599
+ "indexed": false,
600
+ "internalType": "address",
601
+ "name": "txOrigin",
523
602
  "type": "address"
524
603
  }
525
604
  ],
526
- "stateMutability": "view",
527
- "type": "function"
605
+ "name": "LogProductStoreDistributorInfoCreated",
606
+ "type": "event"
528
607
  },
529
608
  {
609
+ "anonymous": false,
530
610
  "inputs": [
531
611
  {
532
- "internalType": "ObjectType",
533
- "name": "objectType",
612
+ "indexed": false,
613
+ "internalType": "NftId",
614
+ "name": "distributorNftId",
615
+ "type": "uint96"
616
+ },
617
+ {
618
+ "indexed": false,
619
+ "internalType": "StateId",
620
+ "name": "oldState",
534
621
  "type": "uint8"
535
622
  },
536
623
  {
624
+ "indexed": false,
537
625
  "internalType": "StateId",
538
- "name": "fromId",
626
+ "name": "newState",
539
627
  "type": "uint8"
540
628
  },
541
629
  {
630
+ "indexed": false,
631
+ "internalType": "address",
632
+ "name": "updatedBy",
633
+ "type": "address"
634
+ },
635
+ {
636
+ "indexed": false,
637
+ "internalType": "address",
638
+ "name": "txOrigin",
639
+ "type": "address"
640
+ },
641
+ {
642
+ "indexed": false,
643
+ "internalType": "Blocknumber",
644
+ "name": "lastUpdatedIn",
645
+ "type": "uint40"
646
+ }
647
+ ],
648
+ "name": "LogProductStoreDistributorInfoUpdated",
649
+ "type": "event"
650
+ },
651
+ {
652
+ "anonymous": false,
653
+ "inputs": [
654
+ {
655
+ "indexed": false,
656
+ "internalType": "DistributorType",
657
+ "name": "distributorType",
658
+ "type": "bytes8"
659
+ },
660
+ {
661
+ "indexed": false,
542
662
  "internalType": "StateId",
543
- "name": "toId",
663
+ "name": "state",
544
664
  "type": "uint8"
665
+ },
666
+ {
667
+ "indexed": false,
668
+ "internalType": "address",
669
+ "name": "createdBy",
670
+ "type": "address"
671
+ },
672
+ {
673
+ "indexed": false,
674
+ "internalType": "address",
675
+ "name": "txOrigin",
676
+ "type": "address"
545
677
  }
546
678
  ],
547
- "name": "checkTransition",
548
- "outputs": [],
549
- "stateMutability": "view",
550
- "type": "function"
679
+ "name": "LogProductStoreDistributorTypeInfoCreated",
680
+ "type": "event"
551
681
  },
552
682
  {
683
+ "anonymous": false,
553
684
  "inputs": [
554
685
  {
555
- "internalType": "NftId",
556
- "name": "applicationNftId",
557
- "type": "uint96"
686
+ "indexed": false,
687
+ "internalType": "DistributorType",
688
+ "name": "distributorType",
689
+ "type": "bytes8"
558
690
  },
559
691
  {
560
- "components": [
561
- {
562
- "internalType": "NftId",
563
- "name": "productNftId",
564
- "type": "uint96"
565
- },
566
- {
567
- "internalType": "NftId",
568
- "name": "bundleNftId",
569
- "type": "uint96"
570
- },
571
- {
572
- "internalType": "ReferralId",
573
- "name": "referralId",
574
- "type": "bytes8"
575
- },
576
- {
577
- "internalType": "RiskId",
578
- "name": "riskId",
579
- "type": "bytes8"
580
- },
581
- {
582
- "internalType": "Amount",
583
- "name": "sumInsuredAmount",
584
- "type": "uint96"
585
- },
586
- {
587
- "internalType": "Amount",
588
- "name": "premiumAmount",
589
- "type": "uint96"
590
- },
591
- {
592
- "internalType": "Amount",
593
- "name": "premiumPaidAmount",
594
- "type": "uint96"
595
- },
596
- {
597
- "internalType": "Seconds",
598
- "name": "lifetime",
599
- "type": "uint40"
600
- },
601
- {
602
- "internalType": "bytes",
603
- "name": "applicationData",
604
- "type": "bytes"
605
- },
606
- {
607
- "internalType": "bytes",
608
- "name": "processData",
609
- "type": "bytes"
610
- },
611
- {
612
- "internalType": "uint16",
613
- "name": "claimsCount",
614
- "type": "uint16"
615
- },
616
- {
617
- "internalType": "uint16",
618
- "name": "openClaimsCount",
619
- "type": "uint16"
620
- },
621
- {
622
- "internalType": "Amount",
623
- "name": "claimAmount",
624
- "type": "uint96"
625
- },
626
- {
627
- "internalType": "Amount",
628
- "name": "payoutAmount",
629
- "type": "uint96"
630
- },
631
- {
632
- "internalType": "Timestamp",
633
- "name": "activatedAt",
634
- "type": "uint40"
635
- },
636
- {
637
- "internalType": "Timestamp",
638
- "name": "expiredAt",
639
- "type": "uint40"
640
- },
641
- {
642
- "internalType": "Timestamp",
643
- "name": "closedAt",
644
- "type": "uint40"
645
- }
646
- ],
647
- "internalType": "struct IPolicy.PolicyInfo",
648
- "name": "policy",
649
- "type": "tuple"
692
+ "indexed": false,
693
+ "internalType": "StateId",
694
+ "name": "oldState",
695
+ "type": "uint8"
696
+ },
697
+ {
698
+ "indexed": false,
699
+ "internalType": "StateId",
700
+ "name": "newState",
701
+ "type": "uint8"
702
+ },
703
+ {
704
+ "indexed": false,
705
+ "internalType": "address",
706
+ "name": "updatedBy",
707
+ "type": "address"
708
+ },
709
+ {
710
+ "indexed": false,
711
+ "internalType": "address",
712
+ "name": "txOrigin",
713
+ "type": "address"
714
+ },
715
+ {
716
+ "indexed": false,
717
+ "internalType": "Blocknumber",
718
+ "name": "lastUpdatedIn",
719
+ "type": "uint40"
720
+ }
721
+ ],
722
+ "name": "LogProductStoreDistributorTypeInfoUpdated",
723
+ "type": "event"
724
+ },
725
+ {
726
+ "anonymous": false,
727
+ "inputs": [
728
+ {
729
+ "indexed": false,
730
+ "internalType": "NftId",
731
+ "name": "poolNftId",
732
+ "type": "uint96"
733
+ },
734
+ {
735
+ "indexed": false,
736
+ "internalType": "StateId",
737
+ "name": "state",
738
+ "type": "uint8"
739
+ },
740
+ {
741
+ "indexed": false,
742
+ "internalType": "address",
743
+ "name": "createdBy",
744
+ "type": "address"
745
+ },
746
+ {
747
+ "indexed": false,
748
+ "internalType": "address",
749
+ "name": "txOrigin",
750
+ "type": "address"
751
+ }
752
+ ],
753
+ "name": "LogProductStorePoolInfoCreated",
754
+ "type": "event"
755
+ },
756
+ {
757
+ "anonymous": false,
758
+ "inputs": [
759
+ {
760
+ "indexed": false,
761
+ "internalType": "NftId",
762
+ "name": "poolNftId",
763
+ "type": "uint96"
764
+ },
765
+ {
766
+ "indexed": false,
767
+ "internalType": "StateId",
768
+ "name": "oldState",
769
+ "type": "uint8"
770
+ },
771
+ {
772
+ "indexed": false,
773
+ "internalType": "StateId",
774
+ "name": "newState",
775
+ "type": "uint8"
776
+ },
777
+ {
778
+ "indexed": false,
779
+ "internalType": "address",
780
+ "name": "updatedBy",
781
+ "type": "address"
782
+ },
783
+ {
784
+ "indexed": false,
785
+ "internalType": "address",
786
+ "name": "txOrigin",
787
+ "type": "address"
788
+ },
789
+ {
790
+ "indexed": false,
791
+ "internalType": "Blocknumber",
792
+ "name": "lastUpdatedIn",
793
+ "type": "uint40"
794
+ }
795
+ ],
796
+ "name": "LogProductStorePoolInfoUpdated",
797
+ "type": "event"
798
+ },
799
+ {
800
+ "anonymous": false,
801
+ "inputs": [
802
+ {
803
+ "indexed": false,
804
+ "internalType": "ReferralId",
805
+ "name": "referralId",
806
+ "type": "bytes8"
807
+ },
808
+ {
809
+ "indexed": false,
810
+ "internalType": "StateId",
811
+ "name": "state",
812
+ "type": "uint8"
813
+ },
814
+ {
815
+ "indexed": false,
816
+ "internalType": "address",
817
+ "name": "createdBy",
818
+ "type": "address"
819
+ },
820
+ {
821
+ "indexed": false,
822
+ "internalType": "address",
823
+ "name": "txOrigin",
824
+ "type": "address"
825
+ }
826
+ ],
827
+ "name": "LogProductStoreReferralInfoCreated",
828
+ "type": "event"
829
+ },
830
+ {
831
+ "anonymous": false,
832
+ "inputs": [
833
+ {
834
+ "indexed": false,
835
+ "internalType": "ReferralId",
836
+ "name": "referralId",
837
+ "type": "bytes8"
838
+ },
839
+ {
840
+ "indexed": false,
841
+ "internalType": "StateId",
842
+ "name": "oldState",
843
+ "type": "uint8"
844
+ },
845
+ {
846
+ "indexed": false,
847
+ "internalType": "StateId",
848
+ "name": "newState",
849
+ "type": "uint8"
850
+ },
851
+ {
852
+ "indexed": false,
853
+ "internalType": "address",
854
+ "name": "updatedBy",
855
+ "type": "address"
856
+ },
857
+ {
858
+ "indexed": false,
859
+ "internalType": "address",
860
+ "name": "txOrigin",
861
+ "type": "address"
862
+ },
863
+ {
864
+ "indexed": false,
865
+ "internalType": "Blocknumber",
866
+ "name": "lastUpdatedIn",
867
+ "type": "uint40"
868
+ }
869
+ ],
870
+ "name": "LogProductStoreReferralInfoUpdated",
871
+ "type": "event"
872
+ },
873
+ {
874
+ "anonymous": false,
875
+ "inputs": [
876
+ {
877
+ "indexed": false,
878
+ "internalType": "RequestId",
879
+ "name": "requestId",
880
+ "type": "uint64"
881
+ },
882
+ {
883
+ "indexed": false,
884
+ "internalType": "StateId",
885
+ "name": "state",
886
+ "type": "uint8"
887
+ },
888
+ {
889
+ "indexed": false,
890
+ "internalType": "address",
891
+ "name": "createdBy",
892
+ "type": "address"
893
+ },
894
+ {
895
+ "indexed": false,
896
+ "internalType": "address",
897
+ "name": "txOrigin",
898
+ "type": "address"
899
+ }
900
+ ],
901
+ "name": "LogProductStoreRequestInfoCreated",
902
+ "type": "event"
903
+ },
904
+ {
905
+ "anonymous": false,
906
+ "inputs": [
907
+ {
908
+ "indexed": false,
909
+ "internalType": "RequestId",
910
+ "name": "requestId",
911
+ "type": "uint64"
912
+ },
913
+ {
914
+ "indexed": false,
915
+ "internalType": "StateId",
916
+ "name": "oldState",
917
+ "type": "uint8"
918
+ },
919
+ {
920
+ "indexed": false,
921
+ "internalType": "StateId",
922
+ "name": "newState",
923
+ "type": "uint8"
924
+ },
925
+ {
926
+ "indexed": false,
927
+ "internalType": "address",
928
+ "name": "updatedBy",
929
+ "type": "address"
930
+ },
931
+ {
932
+ "indexed": false,
933
+ "internalType": "address",
934
+ "name": "txOrigin",
935
+ "type": "address"
936
+ },
937
+ {
938
+ "indexed": false,
939
+ "internalType": "Blocknumber",
940
+ "name": "lastUpdatedIn",
941
+ "type": "uint40"
942
+ }
943
+ ],
944
+ "name": "LogProductStoreRequestInfoUpdated",
945
+ "type": "event"
946
+ },
947
+ {
948
+ "inputs": [],
949
+ "name": "authority",
950
+ "outputs": [
951
+ {
952
+ "internalType": "address",
953
+ "name": "",
954
+ "type": "address"
955
+ }
956
+ ],
957
+ "stateMutability": "view",
958
+ "type": "function"
959
+ },
960
+ {
961
+ "inputs": [
962
+ {
963
+ "internalType": "StateId",
964
+ "name": "stateId",
965
+ "type": "uint8"
966
+ },
967
+ {
968
+ "internalType": "ObjectType",
969
+ "name": "objectType",
970
+ "type": "uint8"
971
+ },
972
+ {
973
+ "internalType": "StateId",
974
+ "name": "expectedFromId",
975
+ "type": "uint8"
976
+ },
977
+ {
978
+ "internalType": "StateId",
979
+ "name": "toId",
980
+ "type": "uint8"
650
981
  }
651
982
  ],
652
- "name": "createApplication",
983
+ "name": "checkTransition",
653
984
  "outputs": [],
654
- "stateMutability": "nonpayable",
985
+ "stateMutability": "view",
655
986
  "type": "function"
656
987
  },
657
988
  {
@@ -663,6 +994,21 @@
663
994
  },
664
995
  {
665
996
  "components": [
997
+ {
998
+ "internalType": "Timestamp",
999
+ "name": "activatedAt",
1000
+ "type": "uint40"
1001
+ },
1002
+ {
1003
+ "internalType": "Timestamp",
1004
+ "name": "expiredAt",
1005
+ "type": "uint40"
1006
+ },
1007
+ {
1008
+ "internalType": "Timestamp",
1009
+ "name": "closedAt",
1010
+ "type": "uint40"
1011
+ },
666
1012
  {
667
1013
  "internalType": "NftId",
668
1014
  "name": "poolNftId",
@@ -673,12 +1019,12 @@
673
1019
  {
674
1020
  "internalType": "UFixed",
675
1021
  "name": "fractionalFee",
676
- "type": "uint256"
1022
+ "type": "uint160"
677
1023
  },
678
1024
  {
679
- "internalType": "uint256",
1025
+ "internalType": "Amount",
680
1026
  "name": "fixedFee",
681
- "type": "uint256"
1027
+ "type": "uint96"
682
1028
  }
683
1029
  ],
684
1030
  "internalType": "struct Fee",
@@ -689,21 +1035,6 @@
689
1035
  "internalType": "bytes",
690
1036
  "name": "filter",
691
1037
  "type": "bytes"
692
- },
693
- {
694
- "internalType": "Seconds",
695
- "name": "lifetime",
696
- "type": "uint40"
697
- },
698
- {
699
- "internalType": "Timestamp",
700
- "name": "expiredAt",
701
- "type": "uint40"
702
- },
703
- {
704
- "internalType": "Timestamp",
705
- "name": "closedAt",
706
- "type": "uint40"
707
1038
  }
708
1039
  ],
709
1040
  "internalType": "struct IBundle.BundleInfo",
@@ -716,66 +1047,6 @@
716
1047
  "stateMutability": "nonpayable",
717
1048
  "type": "function"
718
1049
  },
719
- {
720
- "inputs": [
721
- {
722
- "internalType": "NftId",
723
- "name": "policyNftId",
724
- "type": "uint96"
725
- },
726
- {
727
- "internalType": "ClaimId",
728
- "name": "claimId",
729
- "type": "uint16"
730
- },
731
- {
732
- "components": [
733
- {
734
- "internalType": "Amount",
735
- "name": "claimAmount",
736
- "type": "uint96"
737
- },
738
- {
739
- "internalType": "Amount",
740
- "name": "paidAmount",
741
- "type": "uint96"
742
- },
743
- {
744
- "internalType": "uint8",
745
- "name": "payoutsCount",
746
- "type": "uint8"
747
- },
748
- {
749
- "internalType": "uint8",
750
- "name": "openPayoutsCount",
751
- "type": "uint8"
752
- },
753
- {
754
- "internalType": "bytes",
755
- "name": "submissionData",
756
- "type": "bytes"
757
- },
758
- {
759
- "internalType": "bytes",
760
- "name": "processData",
761
- "type": "bytes"
762
- },
763
- {
764
- "internalType": "Timestamp",
765
- "name": "closedAt",
766
- "type": "uint40"
767
- }
768
- ],
769
- "internalType": "struct IPolicy.ClaimInfo",
770
- "name": "claim",
771
- "type": "tuple"
772
- }
773
- ],
774
- "name": "createClaim",
775
- "outputs": [],
776
- "stateMutability": "nonpayable",
777
- "type": "function"
778
- },
779
1050
  {
780
1051
  "inputs": [
781
1052
  {
@@ -790,30 +1061,10 @@
790
1061
  "name": "name",
791
1062
  "type": "string"
792
1063
  },
793
- {
794
- "internalType": "NftId",
795
- "name": "productNftId",
796
- "type": "uint96"
797
- },
798
- {
799
- "internalType": "contract IERC20Metadata",
800
- "name": "token",
801
- "type": "address"
802
- },
803
1064
  {
804
1065
  "internalType": "contract TokenHandler",
805
1066
  "name": "tokenHandler",
806
1067
  "type": "address"
807
- },
808
- {
809
- "internalType": "address",
810
- "name": "wallet",
811
- "type": "address"
812
- },
813
- {
814
- "internalType": "bytes",
815
- "name": "data",
816
- "type": "bytes"
817
1068
  }
818
1069
  ],
819
1070
  "internalType": "struct IComponents.ComponentInfo",
@@ -845,80 +1096,10 @@
845
1096
  "name": "active",
846
1097
  "type": "bool"
847
1098
  },
848
- {
849
- "internalType": "bytes",
850
- "name": "data",
851
- "type": "bytes"
852
- },
853
- {
854
- "internalType": "Amount",
855
- "name": "commissionAmount",
856
- "type": "uint96"
857
- },
858
1099
  {
859
1100
  "internalType": "uint32",
860
1101
  "name": "numPoliciesSold",
861
1102
  "type": "uint32"
862
- }
863
- ],
864
- "internalType": "struct IDistribution.DistributorInfo",
865
- "name": "info",
866
- "type": "tuple"
867
- }
868
- ],
869
- "name": "createDistributor",
870
- "outputs": [],
871
- "stateMutability": "nonpayable",
872
- "type": "function"
873
- },
874
- {
875
- "inputs": [
876
- {
877
- "internalType": "DistributorType",
878
- "name": "distributorType",
879
- "type": "bytes8"
880
- },
881
- {
882
- "components": [
883
- {
884
- "internalType": "string",
885
- "name": "name",
886
- "type": "string"
887
- },
888
- {
889
- "internalType": "UFixed",
890
- "name": "minDiscountPercentage",
891
- "type": "uint256"
892
- },
893
- {
894
- "internalType": "UFixed",
895
- "name": "maxDiscountPercentage",
896
- "type": "uint256"
897
- },
898
- {
899
- "internalType": "UFixed",
900
- "name": "commissionPercentage",
901
- "type": "uint256"
902
- },
903
- {
904
- "internalType": "uint32",
905
- "name": "maxReferralCount",
906
- "type": "uint32"
907
- },
908
- {
909
- "internalType": "uint32",
910
- "name": "maxReferralLifetime",
911
- "type": "uint32"
912
- },
913
- {
914
- "internalType": "bool",
915
- "name": "allowSelfReferrals",
916
- "type": "bool"
917
- },
918
- {
919
- "internalType": "bool",
920
- "name": "allowRenewals",
921
- "type": "bool"
922
1103
  },
923
1104
  {
924
1105
  "internalType": "bytes",
@@ -926,57 +1107,12 @@
926
1107
  "type": "bytes"
927
1108
  }
928
1109
  ],
929
- "internalType": "struct IDistribution.DistributorTypeInfo",
1110
+ "internalType": "struct IDistribution.DistributorInfo",
930
1111
  "name": "info",
931
1112
  "type": "tuple"
932
1113
  }
933
1114
  ],
934
- "name": "createDistributorType",
935
- "outputs": [],
936
- "stateMutability": "nonpayable",
937
- "type": "function"
938
- },
939
- {
940
- "inputs": [
941
- {
942
- "internalType": "NftId",
943
- "name": "policyNftId",
944
- "type": "uint96"
945
- },
946
- {
947
- "internalType": "PayoutId",
948
- "name": "payoutId",
949
- "type": "uint24"
950
- },
951
- {
952
- "components": [
953
- {
954
- "internalType": "ClaimId",
955
- "name": "claimId",
956
- "type": "uint16"
957
- },
958
- {
959
- "internalType": "Amount",
960
- "name": "amount",
961
- "type": "uint96"
962
- },
963
- {
964
- "internalType": "bytes",
965
- "name": "data",
966
- "type": "bytes"
967
- },
968
- {
969
- "internalType": "Timestamp",
970
- "name": "paidAt",
971
- "type": "uint40"
972
- }
973
- ],
974
- "internalType": "struct IPolicy.PayoutInfo",
975
- "name": "payout",
976
- "type": "tuple"
977
- }
978
- ],
979
- "name": "createPayout",
1115
+ "name": "createDistributor",
980
1116
  "outputs": [],
981
1117
  "stateMutability": "nonpayable",
982
1118
  "type": "function"
@@ -984,110 +1120,69 @@
984
1120
  {
985
1121
  "inputs": [
986
1122
  {
987
- "internalType": "NftId",
988
- "name": "poolNftId",
989
- "type": "uint96"
1123
+ "internalType": "DistributorType",
1124
+ "name": "distributorType",
1125
+ "type": "bytes8"
990
1126
  },
991
1127
  {
992
1128
  "components": [
1129
+ {
1130
+ "internalType": "UFixed",
1131
+ "name": "minDiscountPercentage",
1132
+ "type": "uint160"
1133
+ },
993
1134
  {
994
1135
  "internalType": "NftId",
995
- "name": "productNftId",
1136
+ "name": "distributionNftId",
996
1137
  "type": "uint96"
997
1138
  },
998
1139
  {
999
- "internalType": "RoleId",
1000
- "name": "bundleOwnerRole",
1001
- "type": "uint64"
1140
+ "internalType": "UFixed",
1141
+ "name": "maxDiscountPercentage",
1142
+ "type": "uint160"
1002
1143
  },
1003
1144
  {
1004
- "internalType": "Amount",
1005
- "name": "maxCapitalAmount",
1006
- "type": "uint96"
1145
+ "internalType": "uint32",
1146
+ "name": "maxReferralCount",
1147
+ "type": "uint32"
1007
1148
  },
1008
1149
  {
1009
- "internalType": "bool",
1010
- "name": "isInterceptingBundleTransfers",
1011
- "type": "bool"
1150
+ "internalType": "Seconds",
1151
+ "name": "maxReferralLifetime",
1152
+ "type": "uint40"
1012
1153
  },
1013
1154
  {
1014
1155
  "internalType": "bool",
1015
- "name": "isExternallyManaged",
1156
+ "name": "allowSelfReferrals",
1016
1157
  "type": "bool"
1017
1158
  },
1018
1159
  {
1019
1160
  "internalType": "bool",
1020
- "name": "isVerifyingApplications",
1161
+ "name": "allowRenewals",
1021
1162
  "type": "bool"
1022
1163
  },
1023
1164
  {
1024
1165
  "internalType": "UFixed",
1025
- "name": "collateralizationLevel",
1026
- "type": "uint256"
1027
- },
1028
- {
1029
- "internalType": "UFixed",
1030
- "name": "retentionLevel",
1031
- "type": "uint256"
1032
- },
1033
- {
1034
- "components": [
1035
- {
1036
- "internalType": "UFixed",
1037
- "name": "fractionalFee",
1038
- "type": "uint256"
1039
- },
1040
- {
1041
- "internalType": "uint256",
1042
- "name": "fixedFee",
1043
- "type": "uint256"
1044
- }
1045
- ],
1046
- "internalType": "struct Fee",
1047
- "name": "poolFee",
1048
- "type": "tuple"
1166
+ "name": "commissionPercentage",
1167
+ "type": "uint160"
1049
1168
  },
1050
1169
  {
1051
- "components": [
1052
- {
1053
- "internalType": "UFixed",
1054
- "name": "fractionalFee",
1055
- "type": "uint256"
1056
- },
1057
- {
1058
- "internalType": "uint256",
1059
- "name": "fixedFee",
1060
- "type": "uint256"
1061
- }
1062
- ],
1063
- "internalType": "struct Fee",
1064
- "name": "stakingFee",
1065
- "type": "tuple"
1170
+ "internalType": "string",
1171
+ "name": "name",
1172
+ "type": "string"
1066
1173
  },
1067
1174
  {
1068
- "components": [
1069
- {
1070
- "internalType": "UFixed",
1071
- "name": "fractionalFee",
1072
- "type": "uint256"
1073
- },
1074
- {
1075
- "internalType": "uint256",
1076
- "name": "fixedFee",
1077
- "type": "uint256"
1078
- }
1079
- ],
1080
- "internalType": "struct Fee",
1081
- "name": "performanceFee",
1082
- "type": "tuple"
1175
+ "internalType": "bytes",
1176
+ "name": "data",
1177
+ "type": "bytes"
1083
1178
  }
1084
1179
  ],
1085
- "internalType": "struct IComponents.PoolInfo",
1180
+ "internalType": "struct IDistribution.DistributorTypeInfo",
1086
1181
  "name": "info",
1087
1182
  "type": "tuple"
1088
1183
  }
1089
1184
  ],
1090
- "name": "createPool",
1185
+ "name": "createDistributorType",
1091
1186
  "outputs": [],
1092
1187
  "stateMutability": "nonpayable",
1093
1188
  "type": "function"
@@ -1096,147 +1191,53 @@
1096
1191
  "inputs": [
1097
1192
  {
1098
1193
  "internalType": "NftId",
1099
- "name": "productNftId",
1194
+ "name": "poolNftId",
1100
1195
  "type": "uint96"
1101
1196
  },
1102
1197
  {
1103
1198
  "components": [
1104
1199
  {
1105
- "internalType": "NftId",
1106
- "name": "distributionNftId",
1107
- "type": "uint96"
1108
- },
1109
- {
1110
- "internalType": "NftId",
1111
- "name": "poolNftId",
1200
+ "internalType": "Amount",
1201
+ "name": "maxBalanceAmount",
1112
1202
  "type": "uint96"
1113
1203
  },
1114
1204
  {
1115
- "components": [
1116
- {
1117
- "internalType": "UFixed",
1118
- "name": "fractionalFee",
1119
- "type": "uint256"
1120
- },
1121
- {
1122
- "internalType": "uint256",
1123
- "name": "fixedFee",
1124
- "type": "uint256"
1125
- }
1126
- ],
1127
- "internalType": "struct Fee",
1128
- "name": "productFee",
1129
- "type": "tuple"
1130
- },
1131
- {
1132
- "components": [
1133
- {
1134
- "internalType": "UFixed",
1135
- "name": "fractionalFee",
1136
- "type": "uint256"
1137
- },
1138
- {
1139
- "internalType": "uint256",
1140
- "name": "fixedFee",
1141
- "type": "uint256"
1142
- }
1143
- ],
1144
- "internalType": "struct Fee",
1145
- "name": "processingFee",
1146
- "type": "tuple"
1205
+ "internalType": "UFixed",
1206
+ "name": "collateralizationLevel",
1207
+ "type": "uint160"
1147
1208
  },
1148
1209
  {
1149
- "components": [
1150
- {
1151
- "internalType": "UFixed",
1152
- "name": "fractionalFee",
1153
- "type": "uint256"
1154
- },
1155
- {
1156
- "internalType": "uint256",
1157
- "name": "fixedFee",
1158
- "type": "uint256"
1159
- }
1160
- ],
1161
- "internalType": "struct Fee",
1162
- "name": "distributionFee",
1163
- "type": "tuple"
1210
+ "internalType": "UFixed",
1211
+ "name": "retentionLevel",
1212
+ "type": "uint160"
1164
1213
  },
1165
1214
  {
1166
- "components": [
1167
- {
1168
- "internalType": "UFixed",
1169
- "name": "fractionalFee",
1170
- "type": "uint256"
1171
- },
1172
- {
1173
- "internalType": "uint256",
1174
- "name": "fixedFee",
1175
- "type": "uint256"
1176
- }
1177
- ],
1178
- "internalType": "struct Fee",
1179
- "name": "minDistributionOwnerFee",
1180
- "type": "tuple"
1215
+ "internalType": "bool",
1216
+ "name": "isInterceptingBundleTransfers",
1217
+ "type": "bool"
1181
1218
  },
1182
1219
  {
1183
- "components": [
1184
- {
1185
- "internalType": "UFixed",
1186
- "name": "fractionalFee",
1187
- "type": "uint256"
1188
- },
1189
- {
1190
- "internalType": "uint256",
1191
- "name": "fixedFee",
1192
- "type": "uint256"
1193
- }
1194
- ],
1195
- "internalType": "struct Fee",
1196
- "name": "poolFee",
1197
- "type": "tuple"
1220
+ "internalType": "bool",
1221
+ "name": "isProcessingConfirmedClaims",
1222
+ "type": "bool"
1198
1223
  },
1199
1224
  {
1200
- "components": [
1201
- {
1202
- "internalType": "UFixed",
1203
- "name": "fractionalFee",
1204
- "type": "uint256"
1205
- },
1206
- {
1207
- "internalType": "uint256",
1208
- "name": "fixedFee",
1209
- "type": "uint256"
1210
- }
1211
- ],
1212
- "internalType": "struct Fee",
1213
- "name": "stakingFee",
1214
- "type": "tuple"
1225
+ "internalType": "bool",
1226
+ "name": "isExternallyManaged",
1227
+ "type": "bool"
1215
1228
  },
1216
1229
  {
1217
- "components": [
1218
- {
1219
- "internalType": "UFixed",
1220
- "name": "fractionalFee",
1221
- "type": "uint256"
1222
- },
1223
- {
1224
- "internalType": "uint256",
1225
- "name": "fixedFee",
1226
- "type": "uint256"
1227
- }
1228
- ],
1229
- "internalType": "struct Fee",
1230
- "name": "performanceFee",
1231
- "type": "tuple"
1230
+ "internalType": "bool",
1231
+ "name": "isVerifyingApplications",
1232
+ "type": "bool"
1232
1233
  }
1233
1234
  ],
1234
- "internalType": "struct IComponents.ProductInfo",
1235
+ "internalType": "struct IComponents.PoolInfo",
1235
1236
  "name": "info",
1236
1237
  "type": "tuple"
1237
1238
  }
1238
1239
  ],
1239
- "name": "createProduct",
1240
+ "name": "createPool",
1240
1241
  "outputs": [],
1241
1242
  "stateMutability": "nonpayable",
1242
1243
  "type": "function"
@@ -1252,18 +1253,13 @@
1252
1253
  "components": [
1253
1254
  {
1254
1255
  "internalType": "NftId",
1255
- "name": "distributorNftId",
1256
+ "name": "distributionNftId",
1256
1257
  "type": "uint96"
1257
1258
  },
1258
1259
  {
1259
- "internalType": "string",
1260
- "name": "referralCode",
1261
- "type": "string"
1262
- },
1263
- {
1264
- "internalType": "UFixed",
1265
- "name": "discountPercentage",
1266
- "type": "uint256"
1260
+ "internalType": "NftId",
1261
+ "name": "distributorNftId",
1262
+ "type": "uint96"
1267
1263
  },
1268
1264
  {
1269
1265
  "internalType": "uint32",
@@ -1275,11 +1271,21 @@
1275
1271
  "name": "usedReferrals",
1276
1272
  "type": "uint32"
1277
1273
  },
1274
+ {
1275
+ "internalType": "UFixed",
1276
+ "name": "discountPercentage",
1277
+ "type": "uint160"
1278
+ },
1278
1279
  {
1279
1280
  "internalType": "Timestamp",
1280
1281
  "name": "expiryAt",
1281
1282
  "type": "uint40"
1282
1283
  },
1284
+ {
1285
+ "internalType": "string",
1286
+ "name": "referralCode",
1287
+ "type": "string"
1288
+ },
1283
1289
  {
1284
1290
  "internalType": "bytes",
1285
1291
  "name": "data",
@@ -1305,25 +1311,15 @@
1305
1311
  "name": "requesterNftId",
1306
1312
  "type": "uint96"
1307
1313
  },
1308
- {
1309
- "internalType": "string",
1310
- "name": "callbackMethodName",
1311
- "type": "string"
1312
- },
1313
1314
  {
1314
1315
  "internalType": "NftId",
1315
1316
  "name": "oracleNftId",
1316
1317
  "type": "uint96"
1317
1318
  },
1318
1319
  {
1319
- "internalType": "bytes",
1320
- "name": "requestData",
1321
- "type": "bytes"
1322
- },
1323
- {
1324
- "internalType": "bytes",
1325
- "name": "responseData",
1326
- "type": "bytes"
1320
+ "internalType": "bool",
1321
+ "name": "isCancelled",
1322
+ "type": "bool"
1327
1323
  },
1328
1324
  {
1329
1325
  "internalType": "Timestamp",
@@ -1336,54 +1332,34 @@
1336
1332
  "type": "uint40"
1337
1333
  },
1338
1334
  {
1339
- "internalType": "bool",
1340
- "name": "isCancelled",
1341
- "type": "bool"
1342
- }
1343
- ],
1344
- "internalType": "struct IOracle.RequestInfo",
1345
- "name": "request",
1346
- "type": "tuple"
1347
- }
1348
- ],
1349
- "name": "createRequest",
1350
- "outputs": [
1351
- {
1352
- "internalType": "RequestId",
1353
- "name": "requestId",
1354
- "type": "uint64"
1355
- }
1356
- ],
1357
- "stateMutability": "nonpayable",
1358
- "type": "function"
1359
- },
1360
- {
1361
- "inputs": [
1362
- {
1363
- "internalType": "RiskId",
1364
- "name": "riskId",
1365
- "type": "bytes8"
1366
- },
1367
- {
1368
- "components": [
1335
+ "internalType": "string",
1336
+ "name": "callbackMethodName",
1337
+ "type": "string"
1338
+ },
1369
1339
  {
1370
- "internalType": "NftId",
1371
- "name": "productNftId",
1372
- "type": "uint96"
1340
+ "internalType": "bytes",
1341
+ "name": "requestData",
1342
+ "type": "bytes"
1373
1343
  },
1374
1344
  {
1375
1345
  "internalType": "bytes",
1376
- "name": "data",
1346
+ "name": "responseData",
1377
1347
  "type": "bytes"
1378
1348
  }
1379
1349
  ],
1380
- "internalType": "struct IRisk.RiskInfo",
1381
- "name": "risk",
1350
+ "internalType": "struct IOracle.RequestInfo",
1351
+ "name": "request",
1382
1352
  "type": "tuple"
1383
1353
  }
1384
1354
  ],
1385
- "name": "createRisk",
1386
- "outputs": [],
1355
+ "name": "createRequest",
1356
+ "outputs": [
1357
+ {
1358
+ "internalType": "RequestId",
1359
+ "name": "requestId",
1360
+ "type": "uint64"
1361
+ }
1362
+ ],
1387
1363
  "stateMutability": "nonpayable",
1388
1364
  "type": "function"
1389
1365
  },
@@ -1478,59 +1454,6 @@
1478
1454
  "stateMutability": "view",
1479
1455
  "type": "function"
1480
1456
  },
1481
- {
1482
- "inputs": [
1483
- {
1484
- "internalType": "Key32",
1485
- "name": "key32",
1486
- "type": "bytes32"
1487
- }
1488
- ],
1489
- "name": "get",
1490
- "outputs": [
1491
- {
1492
- "components": [
1493
- {
1494
- "components": [
1495
- {
1496
- "internalType": "ObjectType",
1497
- "name": "objectType",
1498
- "type": "uint8"
1499
- },
1500
- {
1501
- "internalType": "StateId",
1502
- "name": "state",
1503
- "type": "uint8"
1504
- },
1505
- {
1506
- "internalType": "Blocknumber",
1507
- "name": "updatedIn",
1508
- "type": "uint32"
1509
- },
1510
- {
1511
- "internalType": "Blocknumber",
1512
- "name": "createdIn",
1513
- "type": "uint32"
1514
- }
1515
- ],
1516
- "internalType": "struct IKeyValueStore.Metadata",
1517
- "name": "metadata",
1518
- "type": "tuple"
1519
- },
1520
- {
1521
- "internalType": "bytes",
1522
- "name": "data",
1523
- "type": "bytes"
1524
- }
1525
- ],
1526
- "internalType": "struct IKeyValueStore.Value",
1527
- "name": "value",
1528
- "type": "tuple"
1529
- }
1530
- ],
1531
- "stateMutability": "view",
1532
- "type": "function"
1533
- },
1534
1457
  {
1535
1458
  "inputs": [
1536
1459
  {
@@ -1579,58 +1502,64 @@
1579
1502
  "stateMutability": "view",
1580
1503
  "type": "function"
1581
1504
  },
1582
- {
1583
- "inputs": [
1584
- {
1585
- "internalType": "Key32",
1586
- "name": "key32",
1587
- "type": "bytes32"
1588
- }
1589
- ],
1590
- "name": "getData",
1591
- "outputs": [
1592
- {
1593
- "internalType": "bytes",
1594
- "name": "data",
1595
- "type": "bytes"
1596
- }
1597
- ],
1598
- "stateMutability": "view",
1599
- "type": "function"
1600
- },
1601
1505
  {
1602
1506
  "inputs": [
1603
1507
  {
1604
1508
  "internalType": "NftId",
1605
- "name": "targetNftId",
1606
- "type": "uint96"
1607
- }
1608
- ],
1609
- "name": "getFeeAmount",
1610
- "outputs": [
1611
- {
1612
- "internalType": "Amount",
1613
- "name": "feeAmount",
1509
+ "name": "bundleNftId",
1614
1510
  "type": "uint96"
1615
1511
  }
1616
1512
  ],
1617
- "stateMutability": "view",
1618
- "type": "function"
1619
- },
1620
- {
1621
- "inputs": [
1622
- {
1623
- "internalType": "ObjectType",
1624
- "name": "objectType",
1625
- "type": "uint8"
1626
- }
1627
- ],
1628
- "name": "getInitialState",
1513
+ "name": "getBundleInfo",
1629
1514
  "outputs": [
1630
1515
  {
1631
- "internalType": "StateId",
1632
- "name": "",
1633
- "type": "uint8"
1516
+ "components": [
1517
+ {
1518
+ "internalType": "Timestamp",
1519
+ "name": "activatedAt",
1520
+ "type": "uint40"
1521
+ },
1522
+ {
1523
+ "internalType": "Timestamp",
1524
+ "name": "expiredAt",
1525
+ "type": "uint40"
1526
+ },
1527
+ {
1528
+ "internalType": "Timestamp",
1529
+ "name": "closedAt",
1530
+ "type": "uint40"
1531
+ },
1532
+ {
1533
+ "internalType": "NftId",
1534
+ "name": "poolNftId",
1535
+ "type": "uint96"
1536
+ },
1537
+ {
1538
+ "components": [
1539
+ {
1540
+ "internalType": "UFixed",
1541
+ "name": "fractionalFee",
1542
+ "type": "uint160"
1543
+ },
1544
+ {
1545
+ "internalType": "Amount",
1546
+ "name": "fixedFee",
1547
+ "type": "uint96"
1548
+ }
1549
+ ],
1550
+ "internalType": "struct Fee",
1551
+ "name": "fee",
1552
+ "type": "tuple"
1553
+ },
1554
+ {
1555
+ "internalType": "bytes",
1556
+ "name": "filter",
1557
+ "type": "bytes"
1558
+ }
1559
+ ],
1560
+ "internalType": "struct IBundle.BundleInfo",
1561
+ "name": "bundle",
1562
+ "type": "tuple"
1634
1563
  }
1635
1564
  ],
1636
1565
  "stateMutability": "view",
@@ -1640,16 +1569,28 @@
1640
1569
  "inputs": [
1641
1570
  {
1642
1571
  "internalType": "NftId",
1643
- "name": "targetNftId",
1572
+ "name": "componentNftId",
1644
1573
  "type": "uint96"
1645
1574
  }
1646
1575
  ],
1647
- "name": "getLockedAmount",
1576
+ "name": "getComponentInfo",
1648
1577
  "outputs": [
1649
1578
  {
1650
- "internalType": "Amount",
1651
- "name": "lockedAmount",
1652
- "type": "uint96"
1579
+ "components": [
1580
+ {
1581
+ "internalType": "string",
1582
+ "name": "name",
1583
+ "type": "string"
1584
+ },
1585
+ {
1586
+ "internalType": "contract TokenHandler",
1587
+ "name": "tokenHandler",
1588
+ "type": "address"
1589
+ }
1590
+ ],
1591
+ "internalType": "struct IComponents.ComponentInfo",
1592
+ "name": "componentInfo",
1593
+ "type": "tuple"
1653
1594
  }
1654
1595
  ],
1655
1596
  "stateMutability": "view",
@@ -1658,38 +1599,38 @@
1658
1599
  {
1659
1600
  "inputs": [
1660
1601
  {
1661
- "internalType": "Key32",
1662
- "name": "key32",
1663
- "type": "bytes32"
1602
+ "internalType": "NftId",
1603
+ "name": "distributorNftId",
1604
+ "type": "uint96"
1664
1605
  }
1665
1606
  ],
1666
- "name": "getMetadata",
1607
+ "name": "getDistributorInfo",
1667
1608
  "outputs": [
1668
1609
  {
1669
1610
  "components": [
1670
1611
  {
1671
- "internalType": "ObjectType",
1672
- "name": "objectType",
1673
- "type": "uint8"
1612
+ "internalType": "DistributorType",
1613
+ "name": "distributorType",
1614
+ "type": "bytes8"
1674
1615
  },
1675
1616
  {
1676
- "internalType": "StateId",
1677
- "name": "state",
1678
- "type": "uint8"
1617
+ "internalType": "bool",
1618
+ "name": "active",
1619
+ "type": "bool"
1679
1620
  },
1680
1621
  {
1681
- "internalType": "Blocknumber",
1682
- "name": "updatedIn",
1622
+ "internalType": "uint32",
1623
+ "name": "numPoliciesSold",
1683
1624
  "type": "uint32"
1684
1625
  },
1685
1626
  {
1686
- "internalType": "Blocknumber",
1687
- "name": "createdIn",
1688
- "type": "uint32"
1627
+ "internalType": "bytes",
1628
+ "name": "data",
1629
+ "type": "bytes"
1689
1630
  }
1690
1631
  ],
1691
- "internalType": "struct IKeyValueStore.Metadata",
1692
- "name": "metadata",
1632
+ "internalType": "struct IDistribution.DistributorInfo",
1633
+ "name": "info",
1693
1634
  "type": "tuple"
1694
1635
  }
1695
1636
  ],
@@ -1699,36 +1640,69 @@
1699
1640
  {
1700
1641
  "inputs": [
1701
1642
  {
1702
- "internalType": "Key32",
1703
- "name": "key32",
1704
- "type": "bytes32"
1705
- }
1706
- ],
1707
- "name": "getState",
1708
- "outputs": [
1709
- {
1710
- "internalType": "StateId",
1711
- "name": "state",
1712
- "type": "uint8"
1713
- }
1714
- ],
1715
- "stateMutability": "view",
1716
- "type": "function"
1717
- },
1718
- {
1719
- "inputs": [
1720
- {
1721
- "internalType": "ObjectType",
1722
- "name": "objectType",
1723
- "type": "uint8"
1643
+ "internalType": "DistributorType",
1644
+ "name": "distributorType",
1645
+ "type": "bytes8"
1724
1646
  }
1725
1647
  ],
1726
- "name": "hasLifecycle",
1648
+ "name": "getDistributorTypeInfo",
1727
1649
  "outputs": [
1728
1650
  {
1729
- "internalType": "bool",
1730
- "name": "",
1731
- "type": "bool"
1651
+ "components": [
1652
+ {
1653
+ "internalType": "UFixed",
1654
+ "name": "minDiscountPercentage",
1655
+ "type": "uint160"
1656
+ },
1657
+ {
1658
+ "internalType": "NftId",
1659
+ "name": "distributionNftId",
1660
+ "type": "uint96"
1661
+ },
1662
+ {
1663
+ "internalType": "UFixed",
1664
+ "name": "maxDiscountPercentage",
1665
+ "type": "uint160"
1666
+ },
1667
+ {
1668
+ "internalType": "uint32",
1669
+ "name": "maxReferralCount",
1670
+ "type": "uint32"
1671
+ },
1672
+ {
1673
+ "internalType": "Seconds",
1674
+ "name": "maxReferralLifetime",
1675
+ "type": "uint40"
1676
+ },
1677
+ {
1678
+ "internalType": "bool",
1679
+ "name": "allowSelfReferrals",
1680
+ "type": "bool"
1681
+ },
1682
+ {
1683
+ "internalType": "bool",
1684
+ "name": "allowRenewals",
1685
+ "type": "bool"
1686
+ },
1687
+ {
1688
+ "internalType": "UFixed",
1689
+ "name": "commissionPercentage",
1690
+ "type": "uint160"
1691
+ },
1692
+ {
1693
+ "internalType": "string",
1694
+ "name": "name",
1695
+ "type": "string"
1696
+ },
1697
+ {
1698
+ "internalType": "bytes",
1699
+ "name": "data",
1700
+ "type": "bytes"
1701
+ }
1702
+ ],
1703
+ "internalType": "struct IDistribution.DistributorTypeInfo",
1704
+ "name": "info",
1705
+ "type": "tuple"
1732
1706
  }
1733
1707
  ],
1734
1708
  "stateMutability": "view",
@@ -1740,46 +1714,36 @@
1740
1714
  "internalType": "NftId",
1741
1715
  "name": "targetNftId",
1742
1716
  "type": "uint96"
1743
- },
1744
- {
1745
- "internalType": "Amount",
1746
- "name": "amount",
1747
- "type": "uint96"
1748
1717
  }
1749
1718
  ],
1750
- "name": "increaseBalance",
1719
+ "name": "getFeeAmount",
1751
1720
  "outputs": [
1752
1721
  {
1753
1722
  "internalType": "Amount",
1754
- "name": "newBalance",
1723
+ "name": "feeAmount",
1755
1724
  "type": "uint96"
1756
1725
  }
1757
1726
  ],
1758
- "stateMutability": "nonpayable",
1727
+ "stateMutability": "view",
1759
1728
  "type": "function"
1760
1729
  },
1761
1730
  {
1762
1731
  "inputs": [
1763
1732
  {
1764
- "internalType": "NftId",
1765
- "name": "targetNftId",
1766
- "type": "uint96"
1767
- },
1768
- {
1769
- "internalType": "Amount",
1770
- "name": "amount",
1771
- "type": "uint96"
1733
+ "internalType": "ObjectType",
1734
+ "name": "objectType",
1735
+ "type": "uint8"
1772
1736
  }
1773
1737
  ],
1774
- "name": "increaseFees",
1738
+ "name": "getInitialState",
1775
1739
  "outputs": [
1776
1740
  {
1777
- "internalType": "Amount",
1778
- "name": "newFeeBalance",
1779
- "type": "uint96"
1741
+ "internalType": "StateId",
1742
+ "name": "",
1743
+ "type": "uint8"
1780
1744
  }
1781
1745
  ],
1782
- "stateMutability": "nonpayable",
1746
+ "stateMutability": "view",
1783
1747
  "type": "function"
1784
1748
  },
1785
1749
  {
@@ -1788,81 +1752,50 @@
1788
1752
  "internalType": "NftId",
1789
1753
  "name": "targetNftId",
1790
1754
  "type": "uint96"
1791
- },
1792
- {
1793
- "internalType": "Amount",
1794
- "name": "amount",
1795
- "type": "uint96"
1796
1755
  }
1797
1756
  ],
1798
- "name": "increaseLocked",
1757
+ "name": "getLockedAmount",
1799
1758
  "outputs": [
1800
1759
  {
1801
1760
  "internalType": "Amount",
1802
- "name": "newBalance",
1761
+ "name": "lockedAmount",
1803
1762
  "type": "uint96"
1804
1763
  }
1805
1764
  ],
1806
- "stateMutability": "nonpayable",
1807
- "type": "function"
1808
- },
1809
- {
1810
- "inputs": [
1811
- {
1812
- "internalType": "address",
1813
- "name": "instance",
1814
- "type": "address"
1815
- }
1816
- ],
1817
- "name": "initialize",
1818
- "outputs": [],
1819
- "stateMutability": "nonpayable",
1820
- "type": "function"
1821
- },
1822
- {
1823
- "inputs": [],
1824
- "name": "initializeLifecycle",
1825
- "outputs": [],
1826
- "stateMutability": "nonpayable",
1827
- "type": "function"
1828
- },
1829
- {
1830
- "inputs": [],
1831
- "name": "isConsumingScheduledOp",
1832
- "outputs": [
1833
- {
1834
- "internalType": "bytes4",
1835
- "name": "",
1836
- "type": "bytes4"
1837
- }
1838
- ],
1839
1765
  "stateMutability": "view",
1840
1766
  "type": "function"
1841
1767
  },
1842
1768
  {
1843
1769
  "inputs": [
1844
1770
  {
1845
- "internalType": "ObjectType",
1846
- "name": "objectType",
1847
- "type": "uint8"
1848
- },
1849
- {
1850
- "internalType": "StateId",
1851
- "name": "fromId",
1852
- "type": "uint8"
1853
- },
1854
- {
1855
- "internalType": "StateId",
1856
- "name": "toId",
1857
- "type": "uint8"
1771
+ "internalType": "Key32",
1772
+ "name": "key32",
1773
+ "type": "bytes32"
1858
1774
  }
1859
1775
  ],
1860
- "name": "isValidTransition",
1776
+ "name": "getMetadata",
1861
1777
  "outputs": [
1862
1778
  {
1863
- "internalType": "bool",
1864
- "name": "",
1865
- "type": "bool"
1779
+ "components": [
1780
+ {
1781
+ "internalType": "ObjectType",
1782
+ "name": "objectType",
1783
+ "type": "uint8"
1784
+ },
1785
+ {
1786
+ "internalType": "StateId",
1787
+ "name": "state",
1788
+ "type": "uint8"
1789
+ },
1790
+ {
1791
+ "internalType": "Blocknumber",
1792
+ "name": "updatedIn",
1793
+ "type": "uint40"
1794
+ }
1795
+ ],
1796
+ "internalType": "struct IBaseStore.Metadata",
1797
+ "name": "metadata",
1798
+ "type": "tuple"
1866
1799
  }
1867
1800
  ],
1868
1801
  "stateMutability": "view",
@@ -1871,393 +1804,240 @@
1871
1804
  {
1872
1805
  "inputs": [
1873
1806
  {
1874
- "internalType": "address",
1875
- "name": "newAuthority",
1876
- "type": "address"
1877
- }
1878
- ],
1879
- "name": "setAuthority",
1880
- "outputs": [],
1881
- "stateMutability": "nonpayable",
1882
- "type": "function"
1883
- },
1884
- {
1885
- "inputs": [
1886
- {
1887
- "internalType": "ObjectType",
1888
- "name": "objectType",
1889
- "type": "uint8"
1890
- },
1891
- {
1892
- "internalType": "KeyId",
1893
- "name": "id",
1894
- "type": "bytes31"
1807
+ "internalType": "NftId",
1808
+ "name": "poolNftId",
1809
+ "type": "uint96"
1895
1810
  }
1896
1811
  ],
1897
- "name": "toKey32",
1812
+ "name": "getPoolInfo",
1898
1813
  "outputs": [
1899
- {
1900
- "internalType": "Key32",
1901
- "name": "",
1902
- "type": "bytes32"
1903
- }
1904
- ],
1905
- "stateMutability": "pure",
1906
- "type": "function"
1907
- },
1908
- {
1909
- "inputs": [
1910
- {
1911
- "internalType": "NftId",
1912
- "name": "applicationNftId",
1913
- "type": "uint96"
1914
- },
1915
1814
  {
1916
1815
  "components": [
1917
- {
1918
- "internalType": "NftId",
1919
- "name": "productNftId",
1920
- "type": "uint96"
1921
- },
1922
- {
1923
- "internalType": "NftId",
1924
- "name": "bundleNftId",
1925
- "type": "uint96"
1926
- },
1927
- {
1928
- "internalType": "ReferralId",
1929
- "name": "referralId",
1930
- "type": "bytes8"
1931
- },
1932
- {
1933
- "internalType": "RiskId",
1934
- "name": "riskId",
1935
- "type": "bytes8"
1936
- },
1937
- {
1938
- "internalType": "Amount",
1939
- "name": "sumInsuredAmount",
1940
- "type": "uint96"
1941
- },
1942
- {
1943
- "internalType": "Amount",
1944
- "name": "premiumAmount",
1945
- "type": "uint96"
1946
- },
1947
1816
  {
1948
1817
  "internalType": "Amount",
1949
- "name": "premiumPaidAmount",
1818
+ "name": "maxBalanceAmount",
1950
1819
  "type": "uint96"
1951
1820
  },
1952
1821
  {
1953
- "internalType": "Seconds",
1954
- "name": "lifetime",
1955
- "type": "uint40"
1956
- },
1957
- {
1958
- "internalType": "bytes",
1959
- "name": "applicationData",
1960
- "type": "bytes"
1961
- },
1962
- {
1963
- "internalType": "bytes",
1964
- "name": "processData",
1965
- "type": "bytes"
1966
- },
1967
- {
1968
- "internalType": "uint16",
1969
- "name": "claimsCount",
1970
- "type": "uint16"
1971
- },
1972
- {
1973
- "internalType": "uint16",
1974
- "name": "openClaimsCount",
1975
- "type": "uint16"
1822
+ "internalType": "UFixed",
1823
+ "name": "collateralizationLevel",
1824
+ "type": "uint160"
1976
1825
  },
1977
1826
  {
1978
- "internalType": "Amount",
1979
- "name": "claimAmount",
1980
- "type": "uint96"
1827
+ "internalType": "UFixed",
1828
+ "name": "retentionLevel",
1829
+ "type": "uint160"
1981
1830
  },
1982
1831
  {
1983
- "internalType": "Amount",
1984
- "name": "payoutAmount",
1985
- "type": "uint96"
1832
+ "internalType": "bool",
1833
+ "name": "isInterceptingBundleTransfers",
1834
+ "type": "bool"
1986
1835
  },
1987
1836
  {
1988
- "internalType": "Timestamp",
1989
- "name": "activatedAt",
1990
- "type": "uint40"
1837
+ "internalType": "bool",
1838
+ "name": "isProcessingConfirmedClaims",
1839
+ "type": "bool"
1991
1840
  },
1992
1841
  {
1993
- "internalType": "Timestamp",
1994
- "name": "expiredAt",
1995
- "type": "uint40"
1842
+ "internalType": "bool",
1843
+ "name": "isExternallyManaged",
1844
+ "type": "bool"
1996
1845
  },
1997
1846
  {
1998
- "internalType": "Timestamp",
1999
- "name": "closedAt",
2000
- "type": "uint40"
1847
+ "internalType": "bool",
1848
+ "name": "isVerifyingApplications",
1849
+ "type": "bool"
2001
1850
  }
2002
1851
  ],
2003
- "internalType": "struct IPolicy.PolicyInfo",
2004
- "name": "policy",
1852
+ "internalType": "struct IComponents.PoolInfo",
1853
+ "name": "info",
2005
1854
  "type": "tuple"
2006
- },
2007
- {
2008
- "internalType": "StateId",
2009
- "name": "newState",
2010
- "type": "uint8"
2011
- }
2012
- ],
2013
- "name": "updateApplication",
2014
- "outputs": [],
2015
- "stateMutability": "nonpayable",
2016
- "type": "function"
2017
- },
2018
- {
2019
- "inputs": [
2020
- {
2021
- "internalType": "NftId",
2022
- "name": "applicationNftId",
2023
- "type": "uint96"
2024
- },
2025
- {
2026
- "internalType": "StateId",
2027
- "name": "newState",
2028
- "type": "uint8"
2029
1855
  }
2030
1856
  ],
2031
- "name": "updateApplicationState",
2032
- "outputs": [],
2033
- "stateMutability": "nonpayable",
1857
+ "stateMutability": "view",
2034
1858
  "type": "function"
2035
1859
  },
2036
1860
  {
2037
1861
  "inputs": [
2038
1862
  {
2039
- "internalType": "NftId",
2040
- "name": "bundleNftId",
2041
- "type": "uint96"
2042
- },
2043
- {
1863
+ "internalType": "ReferralId",
1864
+ "name": "referralId",
1865
+ "type": "bytes8"
1866
+ }
1867
+ ],
1868
+ "name": "getReferralInfo",
1869
+ "outputs": [
1870
+ {
2044
1871
  "components": [
2045
1872
  {
2046
1873
  "internalType": "NftId",
2047
- "name": "poolNftId",
1874
+ "name": "distributionNftId",
2048
1875
  "type": "uint96"
2049
1876
  },
2050
1877
  {
2051
- "components": [
2052
- {
2053
- "internalType": "UFixed",
2054
- "name": "fractionalFee",
2055
- "type": "uint256"
2056
- },
2057
- {
2058
- "internalType": "uint256",
2059
- "name": "fixedFee",
2060
- "type": "uint256"
2061
- }
2062
- ],
2063
- "internalType": "struct Fee",
2064
- "name": "fee",
2065
- "type": "tuple"
1878
+ "internalType": "NftId",
1879
+ "name": "distributorNftId",
1880
+ "type": "uint96"
2066
1881
  },
2067
1882
  {
2068
- "internalType": "bytes",
2069
- "name": "filter",
2070
- "type": "bytes"
1883
+ "internalType": "uint32",
1884
+ "name": "maxReferrals",
1885
+ "type": "uint32"
2071
1886
  },
2072
1887
  {
2073
- "internalType": "Seconds",
2074
- "name": "lifetime",
2075
- "type": "uint40"
1888
+ "internalType": "uint32",
1889
+ "name": "usedReferrals",
1890
+ "type": "uint32"
2076
1891
  },
2077
1892
  {
2078
- "internalType": "Timestamp",
2079
- "name": "expiredAt",
2080
- "type": "uint40"
1893
+ "internalType": "UFixed",
1894
+ "name": "discountPercentage",
1895
+ "type": "uint160"
2081
1896
  },
2082
1897
  {
2083
1898
  "internalType": "Timestamp",
2084
- "name": "closedAt",
1899
+ "name": "expiryAt",
2085
1900
  "type": "uint40"
1901
+ },
1902
+ {
1903
+ "internalType": "string",
1904
+ "name": "referralCode",
1905
+ "type": "string"
1906
+ },
1907
+ {
1908
+ "internalType": "bytes",
1909
+ "name": "data",
1910
+ "type": "bytes"
2086
1911
  }
2087
1912
  ],
2088
- "internalType": "struct IBundle.BundleInfo",
2089
- "name": "bundle",
1913
+ "internalType": "struct IDistribution.ReferralInfo",
1914
+ "name": "referralInfo",
2090
1915
  "type": "tuple"
2091
- },
2092
- {
2093
- "internalType": "StateId",
2094
- "name": "newState",
2095
- "type": "uint8"
2096
1916
  }
2097
1917
  ],
2098
- "name": "updateBundle",
2099
- "outputs": [],
2100
- "stateMutability": "nonpayable",
1918
+ "stateMutability": "view",
2101
1919
  "type": "function"
2102
1920
  },
2103
1921
  {
2104
1922
  "inputs": [
2105
1923
  {
2106
- "internalType": "NftId",
2107
- "name": "bundleNftId",
2108
- "type": "uint96"
2109
- },
2110
- {
2111
- "internalType": "StateId",
2112
- "name": "newState",
2113
- "type": "uint8"
1924
+ "internalType": "RequestId",
1925
+ "name": "requestId",
1926
+ "type": "uint64"
2114
1927
  }
2115
1928
  ],
2116
- "name": "updateBundleState",
2117
- "outputs": [],
2118
- "stateMutability": "nonpayable",
2119
- "type": "function"
2120
- },
2121
- {
2122
- "inputs": [
2123
- {
2124
- "internalType": "NftId",
2125
- "name": "policyNftId",
2126
- "type": "uint96"
2127
- },
2128
- {
2129
- "internalType": "ClaimId",
2130
- "name": "claimId",
2131
- "type": "uint16"
2132
- },
1929
+ "name": "getRequestInfo",
1930
+ "outputs": [
2133
1931
  {
2134
1932
  "components": [
2135
1933
  {
2136
- "internalType": "Amount",
2137
- "name": "claimAmount",
1934
+ "internalType": "NftId",
1935
+ "name": "requesterNftId",
2138
1936
  "type": "uint96"
2139
1937
  },
2140
1938
  {
2141
- "internalType": "Amount",
2142
- "name": "paidAmount",
1939
+ "internalType": "NftId",
1940
+ "name": "oracleNftId",
2143
1941
  "type": "uint96"
2144
1942
  },
2145
1943
  {
2146
- "internalType": "uint8",
2147
- "name": "payoutsCount",
2148
- "type": "uint8"
1944
+ "internalType": "bool",
1945
+ "name": "isCancelled",
1946
+ "type": "bool"
2149
1947
  },
2150
1948
  {
2151
- "internalType": "uint8",
2152
- "name": "openPayoutsCount",
2153
- "type": "uint8"
1949
+ "internalType": "Timestamp",
1950
+ "name": "respondedAt",
1951
+ "type": "uint40"
2154
1952
  },
2155
1953
  {
2156
- "internalType": "bytes",
2157
- "name": "submissionData",
2158
- "type": "bytes"
1954
+ "internalType": "Timestamp",
1955
+ "name": "expiredAt",
1956
+ "type": "uint40"
1957
+ },
1958
+ {
1959
+ "internalType": "string",
1960
+ "name": "callbackMethodName",
1961
+ "type": "string"
2159
1962
  },
2160
1963
  {
2161
1964
  "internalType": "bytes",
2162
- "name": "processData",
1965
+ "name": "requestData",
2163
1966
  "type": "bytes"
2164
1967
  },
2165
1968
  {
2166
- "internalType": "Timestamp",
2167
- "name": "closedAt",
2168
- "type": "uint40"
1969
+ "internalType": "bytes",
1970
+ "name": "responseData",
1971
+ "type": "bytes"
2169
1972
  }
2170
1973
  ],
2171
- "internalType": "struct IPolicy.ClaimInfo",
2172
- "name": "claim",
1974
+ "internalType": "struct IOracle.RequestInfo",
1975
+ "name": "request",
2173
1976
  "type": "tuple"
2174
- },
1977
+ }
1978
+ ],
1979
+ "stateMutability": "view",
1980
+ "type": "function"
1981
+ },
1982
+ {
1983
+ "inputs": [
1984
+ {
1985
+ "internalType": "Key32",
1986
+ "name": "key32",
1987
+ "type": "bytes32"
1988
+ }
1989
+ ],
1990
+ "name": "getState",
1991
+ "outputs": [
2175
1992
  {
2176
1993
  "internalType": "StateId",
2177
- "name": "newState",
1994
+ "name": "state",
2178
1995
  "type": "uint8"
2179
1996
  }
2180
1997
  ],
2181
- "name": "updateClaim",
2182
- "outputs": [],
2183
- "stateMutability": "nonpayable",
1998
+ "stateMutability": "view",
2184
1999
  "type": "function"
2185
2000
  },
2186
2001
  {
2187
2002
  "inputs": [
2188
2003
  {
2189
- "internalType": "NftId",
2190
- "name": "policyNftId",
2191
- "type": "uint96"
2192
- },
2193
- {
2194
- "internalType": "ClaimId",
2195
- "name": "claimId",
2196
- "type": "uint16"
2197
- },
2198
- {
2199
- "internalType": "StateId",
2200
- "name": "newState",
2004
+ "internalType": "ObjectType",
2005
+ "name": "objectType",
2201
2006
  "type": "uint8"
2202
2007
  }
2203
2008
  ],
2204
- "name": "updateClaimState",
2205
- "outputs": [],
2206
- "stateMutability": "nonpayable",
2009
+ "name": "hasLifecycle",
2010
+ "outputs": [
2011
+ {
2012
+ "internalType": "bool",
2013
+ "name": "",
2014
+ "type": "bool"
2015
+ }
2016
+ ],
2017
+ "stateMutability": "view",
2207
2018
  "type": "function"
2208
2019
  },
2209
2020
  {
2210
2021
  "inputs": [
2211
2022
  {
2212
2023
  "internalType": "NftId",
2213
- "name": "componentNftId",
2024
+ "name": "targetNftId",
2214
2025
  "type": "uint96"
2215
2026
  },
2216
2027
  {
2217
- "components": [
2218
- {
2219
- "internalType": "string",
2220
- "name": "name",
2221
- "type": "string"
2222
- },
2223
- {
2224
- "internalType": "NftId",
2225
- "name": "productNftId",
2226
- "type": "uint96"
2227
- },
2228
- {
2229
- "internalType": "contract IERC20Metadata",
2230
- "name": "token",
2231
- "type": "address"
2232
- },
2233
- {
2234
- "internalType": "contract TokenHandler",
2235
- "name": "tokenHandler",
2236
- "type": "address"
2237
- },
2238
- {
2239
- "internalType": "address",
2240
- "name": "wallet",
2241
- "type": "address"
2242
- },
2243
- {
2244
- "internalType": "bytes",
2245
- "name": "data",
2246
- "type": "bytes"
2247
- }
2248
- ],
2249
- "internalType": "struct IComponents.ComponentInfo",
2250
- "name": "componentInfo",
2251
- "type": "tuple"
2252
- },
2028
+ "internalType": "Amount",
2029
+ "name": "amount",
2030
+ "type": "uint96"
2031
+ }
2032
+ ],
2033
+ "name": "increaseBalance",
2034
+ "outputs": [
2253
2035
  {
2254
- "internalType": "StateId",
2255
- "name": "newState",
2256
- "type": "uint8"
2036
+ "internalType": "Amount",
2037
+ "name": "newBalance",
2038
+ "type": "uint96"
2257
2039
  }
2258
2040
  ],
2259
- "name": "updateComponent",
2260
- "outputs": [],
2261
2041
  "stateMutability": "nonpayable",
2262
2042
  "type": "function"
2263
2043
  },
@@ -2265,49 +2045,23 @@
2265
2045
  "inputs": [
2266
2046
  {
2267
2047
  "internalType": "NftId",
2268
- "name": "distributorNftId",
2048
+ "name": "targetNftId",
2269
2049
  "type": "uint96"
2270
2050
  },
2271
2051
  {
2272
- "components": [
2273
- {
2274
- "internalType": "DistributorType",
2275
- "name": "distributorType",
2276
- "type": "bytes8"
2277
- },
2278
- {
2279
- "internalType": "bool",
2280
- "name": "active",
2281
- "type": "bool"
2282
- },
2283
- {
2284
- "internalType": "bytes",
2285
- "name": "data",
2286
- "type": "bytes"
2287
- },
2288
- {
2289
- "internalType": "Amount",
2290
- "name": "commissionAmount",
2291
- "type": "uint96"
2292
- },
2293
- {
2294
- "internalType": "uint32",
2295
- "name": "numPoliciesSold",
2296
- "type": "uint32"
2297
- }
2298
- ],
2299
- "internalType": "struct IDistribution.DistributorInfo",
2300
- "name": "info",
2301
- "type": "tuple"
2302
- },
2052
+ "internalType": "Amount",
2053
+ "name": "amount",
2054
+ "type": "uint96"
2055
+ }
2056
+ ],
2057
+ "name": "increaseFees",
2058
+ "outputs": [
2303
2059
  {
2304
- "internalType": "StateId",
2305
- "name": "newState",
2306
- "type": "uint8"
2060
+ "internalType": "Amount",
2061
+ "name": "newFeeBalance",
2062
+ "type": "uint96"
2307
2063
  }
2308
2064
  ],
2309
- "name": "updateDistributor",
2310
- "outputs": [],
2311
2065
  "stateMutability": "nonpayable",
2312
2066
  "type": "function"
2313
2067
  },
@@ -2315,154 +2069,84 @@
2315
2069
  "inputs": [
2316
2070
  {
2317
2071
  "internalType": "NftId",
2318
- "name": "distributorNftId",
2072
+ "name": "targetNftId",
2319
2073
  "type": "uint96"
2320
2074
  },
2321
2075
  {
2322
- "internalType": "StateId",
2323
- "name": "newState",
2324
- "type": "uint8"
2076
+ "internalType": "Amount",
2077
+ "name": "amount",
2078
+ "type": "uint96"
2325
2079
  }
2326
2080
  ],
2327
- "name": "updateDistributorState",
2081
+ "name": "increaseLocked",
2082
+ "outputs": [
2083
+ {
2084
+ "internalType": "Amount",
2085
+ "name": "newBalance",
2086
+ "type": "uint96"
2087
+ }
2088
+ ],
2089
+ "stateMutability": "nonpayable",
2090
+ "type": "function"
2091
+ },
2092
+ {
2093
+ "inputs": [],
2094
+ "name": "initialize",
2328
2095
  "outputs": [],
2329
2096
  "stateMutability": "nonpayable",
2330
2097
  "type": "function"
2331
2098
  },
2332
2099
  {
2333
- "inputs": [
2334
- {
2335
- "internalType": "DistributorType",
2336
- "name": "distributorType",
2337
- "type": "bytes8"
2338
- },
2339
- {
2340
- "components": [
2341
- {
2342
- "internalType": "string",
2343
- "name": "name",
2344
- "type": "string"
2345
- },
2346
- {
2347
- "internalType": "UFixed",
2348
- "name": "minDiscountPercentage",
2349
- "type": "uint256"
2350
- },
2351
- {
2352
- "internalType": "UFixed",
2353
- "name": "maxDiscountPercentage",
2354
- "type": "uint256"
2355
- },
2356
- {
2357
- "internalType": "UFixed",
2358
- "name": "commissionPercentage",
2359
- "type": "uint256"
2360
- },
2361
- {
2362
- "internalType": "uint32",
2363
- "name": "maxReferralCount",
2364
- "type": "uint32"
2365
- },
2366
- {
2367
- "internalType": "uint32",
2368
- "name": "maxReferralLifetime",
2369
- "type": "uint32"
2370
- },
2371
- {
2372
- "internalType": "bool",
2373
- "name": "allowSelfReferrals",
2374
- "type": "bool"
2375
- },
2376
- {
2377
- "internalType": "bool",
2378
- "name": "allowRenewals",
2379
- "type": "bool"
2380
- },
2381
- {
2382
- "internalType": "bytes",
2383
- "name": "data",
2384
- "type": "bytes"
2385
- }
2386
- ],
2387
- "internalType": "struct IDistribution.DistributorTypeInfo",
2388
- "name": "info",
2389
- "type": "tuple"
2390
- },
2100
+ "inputs": [],
2101
+ "name": "isConsumingScheduledOp",
2102
+ "outputs": [
2391
2103
  {
2392
- "internalType": "StateId",
2393
- "name": "newState",
2394
- "type": "uint8"
2104
+ "internalType": "bytes4",
2105
+ "name": "",
2106
+ "type": "bytes4"
2395
2107
  }
2396
2108
  ],
2397
- "name": "updateDistributorType",
2398
- "outputs": [],
2399
- "stateMutability": "nonpayable",
2109
+ "stateMutability": "view",
2400
2110
  "type": "function"
2401
2111
  },
2402
2112
  {
2403
2113
  "inputs": [
2404
2114
  {
2405
- "internalType": "DistributorType",
2406
- "name": "distributorType",
2407
- "type": "bytes8"
2115
+ "internalType": "ObjectType",
2116
+ "name": "objectType",
2117
+ "type": "uint8"
2408
2118
  },
2409
2119
  {
2410
2120
  "internalType": "StateId",
2411
- "name": "newState",
2121
+ "name": "fromId",
2122
+ "type": "uint8"
2123
+ },
2124
+ {
2125
+ "internalType": "StateId",
2126
+ "name": "toId",
2412
2127
  "type": "uint8"
2413
2128
  }
2414
2129
  ],
2415
- "name": "updateDistributorTypeState",
2416
- "outputs": [],
2417
- "stateMutability": "nonpayable",
2130
+ "name": "isValidTransition",
2131
+ "outputs": [
2132
+ {
2133
+ "internalType": "bool",
2134
+ "name": "",
2135
+ "type": "bool"
2136
+ }
2137
+ ],
2138
+ "stateMutability": "view",
2418
2139
  "type": "function"
2419
2140
  },
2420
2141
  {
2421
2142
  "inputs": [
2422
2143
  {
2423
- "internalType": "NftId",
2424
- "name": "policyNftId",
2425
- "type": "uint96"
2426
- },
2427
- {
2428
- "internalType": "PayoutId",
2429
- "name": "payoutId",
2430
- "type": "uint24"
2431
- },
2432
- {
2433
- "components": [
2434
- {
2435
- "internalType": "ClaimId",
2436
- "name": "claimId",
2437
- "type": "uint16"
2438
- },
2439
- {
2440
- "internalType": "Amount",
2441
- "name": "amount",
2442
- "type": "uint96"
2443
- },
2444
- {
2445
- "internalType": "bytes",
2446
- "name": "data",
2447
- "type": "bytes"
2448
- },
2449
- {
2450
- "internalType": "Timestamp",
2451
- "name": "paidAt",
2452
- "type": "uint40"
2453
- }
2454
- ],
2455
- "internalType": "struct IPolicy.PayoutInfo",
2456
- "name": "payout",
2457
- "type": "tuple"
2458
- },
2459
- {
2460
- "internalType": "StateId",
2461
- "name": "newState",
2462
- "type": "uint8"
2144
+ "internalType": "address",
2145
+ "name": "newAuthority",
2146
+ "type": "address"
2463
2147
  }
2464
2148
  ],
2465
- "name": "updatePayout",
2149
+ "name": "setAuthority",
2466
2150
  "outputs": [],
2467
2151
  "stateMutability": "nonpayable",
2468
2152
  "type": "function"
@@ -2470,123 +2154,134 @@
2470
2154
  {
2471
2155
  "inputs": [
2472
2156
  {
2473
- "internalType": "NftId",
2474
- "name": "policyNftId",
2475
- "type": "uint96"
2157
+ "internalType": "ObjectType",
2158
+ "name": "objectType",
2159
+ "type": "uint8"
2476
2160
  },
2477
2161
  {
2478
- "internalType": "PayoutId",
2479
- "name": "payoutId",
2480
- "type": "uint24"
2481
- },
2162
+ "internalType": "KeyId",
2163
+ "name": "id",
2164
+ "type": "bytes31"
2165
+ }
2166
+ ],
2167
+ "name": "toKey32",
2168
+ "outputs": [
2482
2169
  {
2483
- "internalType": "StateId",
2484
- "name": "newState",
2485
- "type": "uint8"
2170
+ "internalType": "Key32",
2171
+ "name": "",
2172
+ "type": "bytes32"
2486
2173
  }
2487
2174
  ],
2488
- "name": "updatePayoutState",
2489
- "outputs": [],
2490
- "stateMutability": "nonpayable",
2175
+ "stateMutability": "pure",
2491
2176
  "type": "function"
2492
2177
  },
2493
2178
  {
2494
2179
  "inputs": [
2495
2180
  {
2496
2181
  "internalType": "NftId",
2497
- "name": "policyNftId",
2182
+ "name": "bundleNftId",
2498
2183
  "type": "uint96"
2499
2184
  },
2500
2185
  {
2501
2186
  "components": [
2502
2187
  {
2503
- "internalType": "NftId",
2504
- "name": "productNftId",
2505
- "type": "uint96"
2506
- },
2507
- {
2508
- "internalType": "NftId",
2509
- "name": "bundleNftId",
2510
- "type": "uint96"
2511
- },
2512
- {
2513
- "internalType": "ReferralId",
2514
- "name": "referralId",
2515
- "type": "bytes8"
2516
- },
2517
- {
2518
- "internalType": "RiskId",
2519
- "name": "riskId",
2520
- "type": "bytes8"
2188
+ "internalType": "Timestamp",
2189
+ "name": "activatedAt",
2190
+ "type": "uint40"
2521
2191
  },
2522
2192
  {
2523
- "internalType": "Amount",
2524
- "name": "sumInsuredAmount",
2525
- "type": "uint96"
2193
+ "internalType": "Timestamp",
2194
+ "name": "expiredAt",
2195
+ "type": "uint40"
2526
2196
  },
2527
2197
  {
2528
- "internalType": "Amount",
2529
- "name": "premiumAmount",
2530
- "type": "uint96"
2198
+ "internalType": "Timestamp",
2199
+ "name": "closedAt",
2200
+ "type": "uint40"
2531
2201
  },
2532
2202
  {
2533
- "internalType": "Amount",
2534
- "name": "premiumPaidAmount",
2203
+ "internalType": "NftId",
2204
+ "name": "poolNftId",
2535
2205
  "type": "uint96"
2536
2206
  },
2537
2207
  {
2538
- "internalType": "Seconds",
2539
- "name": "lifetime",
2540
- "type": "uint40"
2541
- },
2542
- {
2543
- "internalType": "bytes",
2544
- "name": "applicationData",
2545
- "type": "bytes"
2208
+ "components": [
2209
+ {
2210
+ "internalType": "UFixed",
2211
+ "name": "fractionalFee",
2212
+ "type": "uint160"
2213
+ },
2214
+ {
2215
+ "internalType": "Amount",
2216
+ "name": "fixedFee",
2217
+ "type": "uint96"
2218
+ }
2219
+ ],
2220
+ "internalType": "struct Fee",
2221
+ "name": "fee",
2222
+ "type": "tuple"
2546
2223
  },
2547
2224
  {
2548
2225
  "internalType": "bytes",
2549
- "name": "processData",
2226
+ "name": "filter",
2550
2227
  "type": "bytes"
2551
- },
2552
- {
2553
- "internalType": "uint16",
2554
- "name": "claimsCount",
2555
- "type": "uint16"
2556
- },
2557
- {
2558
- "internalType": "uint16",
2559
- "name": "openClaimsCount",
2560
- "type": "uint16"
2561
- },
2562
- {
2563
- "internalType": "Amount",
2564
- "name": "claimAmount",
2565
- "type": "uint96"
2566
- },
2567
- {
2568
- "internalType": "Amount",
2569
- "name": "payoutAmount",
2570
- "type": "uint96"
2571
- },
2572
- {
2573
- "internalType": "Timestamp",
2574
- "name": "activatedAt",
2575
- "type": "uint40"
2576
- },
2228
+ }
2229
+ ],
2230
+ "internalType": "struct IBundle.BundleInfo",
2231
+ "name": "bundle",
2232
+ "type": "tuple"
2233
+ },
2234
+ {
2235
+ "internalType": "StateId",
2236
+ "name": "newState",
2237
+ "type": "uint8"
2238
+ }
2239
+ ],
2240
+ "name": "updateBundle",
2241
+ "outputs": [],
2242
+ "stateMutability": "nonpayable",
2243
+ "type": "function"
2244
+ },
2245
+ {
2246
+ "inputs": [
2247
+ {
2248
+ "internalType": "NftId",
2249
+ "name": "bundleNftId",
2250
+ "type": "uint96"
2251
+ },
2252
+ {
2253
+ "internalType": "StateId",
2254
+ "name": "newState",
2255
+ "type": "uint8"
2256
+ }
2257
+ ],
2258
+ "name": "updateBundleState",
2259
+ "outputs": [],
2260
+ "stateMutability": "nonpayable",
2261
+ "type": "function"
2262
+ },
2263
+ {
2264
+ "inputs": [
2265
+ {
2266
+ "internalType": "NftId",
2267
+ "name": "componentNftId",
2268
+ "type": "uint96"
2269
+ },
2270
+ {
2271
+ "components": [
2577
2272
  {
2578
- "internalType": "Timestamp",
2579
- "name": "expiredAt",
2580
- "type": "uint40"
2273
+ "internalType": "string",
2274
+ "name": "name",
2275
+ "type": "string"
2581
2276
  },
2582
2277
  {
2583
- "internalType": "Timestamp",
2584
- "name": "closedAt",
2585
- "type": "uint40"
2278
+ "internalType": "contract TokenHandler",
2279
+ "name": "tokenHandler",
2280
+ "type": "address"
2586
2281
  }
2587
2282
  ],
2588
- "internalType": "struct IPolicy.PolicyInfo",
2589
- "name": "policy",
2283
+ "internalType": "struct IComponents.ComponentInfo",
2284
+ "name": "componentInfo",
2590
2285
  "type": "tuple"
2591
2286
  },
2592
2287
  {
@@ -2595,7 +2290,7 @@
2595
2290
  "type": "uint8"
2596
2291
  }
2597
2292
  ],
2598
- "name": "updatePolicy",
2293
+ "name": "updateComponent",
2599
2294
  "outputs": [],
2600
2295
  "stateMutability": "nonpayable",
2601
2296
  "type": "function"
@@ -2604,99 +2299,34 @@
2604
2299
  "inputs": [
2605
2300
  {
2606
2301
  "internalType": "NftId",
2607
- "name": "policyNftId",
2302
+ "name": "distributorNftId",
2608
2303
  "type": "uint96"
2609
2304
  },
2610
2305
  {
2611
2306
  "components": [
2612
2307
  {
2613
- "internalType": "NftId",
2614
- "name": "productNftId",
2615
- "type": "uint96"
2616
- },
2617
- {
2618
- "internalType": "NftId",
2619
- "name": "bundleNftId",
2620
- "type": "uint96"
2621
- },
2622
- {
2623
- "internalType": "ReferralId",
2624
- "name": "referralId",
2625
- "type": "bytes8"
2626
- },
2627
- {
2628
- "internalType": "RiskId",
2629
- "name": "riskId",
2308
+ "internalType": "DistributorType",
2309
+ "name": "distributorType",
2630
2310
  "type": "bytes8"
2631
2311
  },
2632
2312
  {
2633
- "internalType": "Amount",
2634
- "name": "sumInsuredAmount",
2635
- "type": "uint96"
2636
- },
2637
- {
2638
- "internalType": "Amount",
2639
- "name": "premiumAmount",
2640
- "type": "uint96"
2641
- },
2642
- {
2643
- "internalType": "Amount",
2644
- "name": "premiumPaidAmount",
2645
- "type": "uint96"
2646
- },
2647
- {
2648
- "internalType": "Seconds",
2649
- "name": "lifetime",
2650
- "type": "uint40"
2313
+ "internalType": "bool",
2314
+ "name": "active",
2315
+ "type": "bool"
2651
2316
  },
2652
2317
  {
2653
- "internalType": "bytes",
2654
- "name": "applicationData",
2655
- "type": "bytes"
2318
+ "internalType": "uint32",
2319
+ "name": "numPoliciesSold",
2320
+ "type": "uint32"
2656
2321
  },
2657
2322
  {
2658
2323
  "internalType": "bytes",
2659
- "name": "processData",
2324
+ "name": "data",
2660
2325
  "type": "bytes"
2661
- },
2662
- {
2663
- "internalType": "uint16",
2664
- "name": "claimsCount",
2665
- "type": "uint16"
2666
- },
2667
- {
2668
- "internalType": "uint16",
2669
- "name": "openClaimsCount",
2670
- "type": "uint16"
2671
- },
2672
- {
2673
- "internalType": "Amount",
2674
- "name": "claimAmount",
2675
- "type": "uint96"
2676
- },
2677
- {
2678
- "internalType": "Amount",
2679
- "name": "payoutAmount",
2680
- "type": "uint96"
2681
- },
2682
- {
2683
- "internalType": "Timestamp",
2684
- "name": "activatedAt",
2685
- "type": "uint40"
2686
- },
2687
- {
2688
- "internalType": "Timestamp",
2689
- "name": "expiredAt",
2690
- "type": "uint40"
2691
- },
2692
- {
2693
- "internalType": "Timestamp",
2694
- "name": "closedAt",
2695
- "type": "uint40"
2696
2326
  }
2697
2327
  ],
2698
- "internalType": "struct IPolicy.PolicyInfo",
2699
- "name": "policy",
2328
+ "internalType": "struct IDistribution.DistributorInfo",
2329
+ "name": "info",
2700
2330
  "type": "tuple"
2701
2331
  },
2702
2332
  {
@@ -2705,7 +2335,7 @@
2705
2335
  "type": "uint8"
2706
2336
  }
2707
2337
  ],
2708
- "name": "updatePolicyClaims",
2338
+ "name": "updateDistributor",
2709
2339
  "outputs": [],
2710
2340
  "stateMutability": "nonpayable",
2711
2341
  "type": "function"
@@ -2714,7 +2344,7 @@
2714
2344
  "inputs": [
2715
2345
  {
2716
2346
  "internalType": "NftId",
2717
- "name": "policyNftId",
2347
+ "name": "distributorNftId",
2718
2348
  "type": "uint96"
2719
2349
  },
2720
2350
  {
@@ -2723,7 +2353,7 @@
2723
2353
  "type": "uint8"
2724
2354
  }
2725
2355
  ],
2726
- "name": "updatePolicyState",
2356
+ "name": "updateDistributorState",
2727
2357
  "outputs": [],
2728
2358
  "stateMutability": "nonpayable",
2729
2359
  "type": "function"
@@ -2731,105 +2361,64 @@
2731
2361
  {
2732
2362
  "inputs": [
2733
2363
  {
2734
- "internalType": "NftId",
2735
- "name": "poolNftId",
2736
- "type": "uint96"
2364
+ "internalType": "DistributorType",
2365
+ "name": "distributorType",
2366
+ "type": "bytes8"
2737
2367
  },
2738
2368
  {
2739
2369
  "components": [
2370
+ {
2371
+ "internalType": "UFixed",
2372
+ "name": "minDiscountPercentage",
2373
+ "type": "uint160"
2374
+ },
2740
2375
  {
2741
2376
  "internalType": "NftId",
2742
- "name": "productNftId",
2377
+ "name": "distributionNftId",
2743
2378
  "type": "uint96"
2744
2379
  },
2745
2380
  {
2746
- "internalType": "RoleId",
2747
- "name": "bundleOwnerRole",
2748
- "type": "uint64"
2381
+ "internalType": "UFixed",
2382
+ "name": "maxDiscountPercentage",
2383
+ "type": "uint160"
2749
2384
  },
2750
2385
  {
2751
- "internalType": "Amount",
2752
- "name": "maxCapitalAmount",
2753
- "type": "uint96"
2386
+ "internalType": "uint32",
2387
+ "name": "maxReferralCount",
2388
+ "type": "uint32"
2754
2389
  },
2755
2390
  {
2756
- "internalType": "bool",
2757
- "name": "isInterceptingBundleTransfers",
2758
- "type": "bool"
2391
+ "internalType": "Seconds",
2392
+ "name": "maxReferralLifetime",
2393
+ "type": "uint40"
2759
2394
  },
2760
2395
  {
2761
2396
  "internalType": "bool",
2762
- "name": "isExternallyManaged",
2397
+ "name": "allowSelfReferrals",
2763
2398
  "type": "bool"
2764
2399
  },
2765
2400
  {
2766
2401
  "internalType": "bool",
2767
- "name": "isVerifyingApplications",
2402
+ "name": "allowRenewals",
2768
2403
  "type": "bool"
2769
2404
  },
2770
2405
  {
2771
2406
  "internalType": "UFixed",
2772
- "name": "collateralizationLevel",
2773
- "type": "uint256"
2774
- },
2775
- {
2776
- "internalType": "UFixed",
2777
- "name": "retentionLevel",
2778
- "type": "uint256"
2779
- },
2780
- {
2781
- "components": [
2782
- {
2783
- "internalType": "UFixed",
2784
- "name": "fractionalFee",
2785
- "type": "uint256"
2786
- },
2787
- {
2788
- "internalType": "uint256",
2789
- "name": "fixedFee",
2790
- "type": "uint256"
2791
- }
2792
- ],
2793
- "internalType": "struct Fee",
2794
- "name": "poolFee",
2795
- "type": "tuple"
2407
+ "name": "commissionPercentage",
2408
+ "type": "uint160"
2796
2409
  },
2797
2410
  {
2798
- "components": [
2799
- {
2800
- "internalType": "UFixed",
2801
- "name": "fractionalFee",
2802
- "type": "uint256"
2803
- },
2804
- {
2805
- "internalType": "uint256",
2806
- "name": "fixedFee",
2807
- "type": "uint256"
2808
- }
2809
- ],
2810
- "internalType": "struct Fee",
2811
- "name": "stakingFee",
2812
- "type": "tuple"
2411
+ "internalType": "string",
2412
+ "name": "name",
2413
+ "type": "string"
2813
2414
  },
2814
2415
  {
2815
- "components": [
2816
- {
2817
- "internalType": "UFixed",
2818
- "name": "fractionalFee",
2819
- "type": "uint256"
2820
- },
2821
- {
2822
- "internalType": "uint256",
2823
- "name": "fixedFee",
2824
- "type": "uint256"
2825
- }
2826
- ],
2827
- "internalType": "struct Fee",
2828
- "name": "performanceFee",
2829
- "type": "tuple"
2416
+ "internalType": "bytes",
2417
+ "name": "data",
2418
+ "type": "bytes"
2830
2419
  }
2831
2420
  ],
2832
- "internalType": "struct IComponents.PoolInfo",
2421
+ "internalType": "struct IDistribution.DistributorTypeInfo",
2833
2422
  "name": "info",
2834
2423
  "type": "tuple"
2835
2424
  },
@@ -2839,7 +2428,25 @@
2839
2428
  "type": "uint8"
2840
2429
  }
2841
2430
  ],
2842
- "name": "updatePool",
2431
+ "name": "updateDistributorType",
2432
+ "outputs": [],
2433
+ "stateMutability": "nonpayable",
2434
+ "type": "function"
2435
+ },
2436
+ {
2437
+ "inputs": [
2438
+ {
2439
+ "internalType": "DistributorType",
2440
+ "name": "distributorType",
2441
+ "type": "bytes8"
2442
+ },
2443
+ {
2444
+ "internalType": "StateId",
2445
+ "name": "newState",
2446
+ "type": "uint8"
2447
+ }
2448
+ ],
2449
+ "name": "updateDistributorTypeState",
2843
2450
  "outputs": [],
2844
2451
  "stateMutability": "nonpayable",
2845
2452
  "type": "function"
@@ -2848,142 +2455,48 @@
2848
2455
  "inputs": [
2849
2456
  {
2850
2457
  "internalType": "NftId",
2851
- "name": "productNftId",
2458
+ "name": "poolNftId",
2852
2459
  "type": "uint96"
2853
2460
  },
2854
2461
  {
2855
2462
  "components": [
2856
2463
  {
2857
- "internalType": "NftId",
2858
- "name": "distributionNftId",
2859
- "type": "uint96"
2860
- },
2861
- {
2862
- "internalType": "NftId",
2863
- "name": "poolNftId",
2464
+ "internalType": "Amount",
2465
+ "name": "maxBalanceAmount",
2864
2466
  "type": "uint96"
2865
2467
  },
2866
2468
  {
2867
- "components": [
2868
- {
2869
- "internalType": "UFixed",
2870
- "name": "fractionalFee",
2871
- "type": "uint256"
2872
- },
2873
- {
2874
- "internalType": "uint256",
2875
- "name": "fixedFee",
2876
- "type": "uint256"
2877
- }
2878
- ],
2879
- "internalType": "struct Fee",
2880
- "name": "productFee",
2881
- "type": "tuple"
2882
- },
2883
- {
2884
- "components": [
2885
- {
2886
- "internalType": "UFixed",
2887
- "name": "fractionalFee",
2888
- "type": "uint256"
2889
- },
2890
- {
2891
- "internalType": "uint256",
2892
- "name": "fixedFee",
2893
- "type": "uint256"
2894
- }
2895
- ],
2896
- "internalType": "struct Fee",
2897
- "name": "processingFee",
2898
- "type": "tuple"
2469
+ "internalType": "UFixed",
2470
+ "name": "collateralizationLevel",
2471
+ "type": "uint160"
2899
2472
  },
2900
2473
  {
2901
- "components": [
2902
- {
2903
- "internalType": "UFixed",
2904
- "name": "fractionalFee",
2905
- "type": "uint256"
2906
- },
2907
- {
2908
- "internalType": "uint256",
2909
- "name": "fixedFee",
2910
- "type": "uint256"
2911
- }
2912
- ],
2913
- "internalType": "struct Fee",
2914
- "name": "distributionFee",
2915
- "type": "tuple"
2474
+ "internalType": "UFixed",
2475
+ "name": "retentionLevel",
2476
+ "type": "uint160"
2916
2477
  },
2917
2478
  {
2918
- "components": [
2919
- {
2920
- "internalType": "UFixed",
2921
- "name": "fractionalFee",
2922
- "type": "uint256"
2923
- },
2924
- {
2925
- "internalType": "uint256",
2926
- "name": "fixedFee",
2927
- "type": "uint256"
2928
- }
2929
- ],
2930
- "internalType": "struct Fee",
2931
- "name": "minDistributionOwnerFee",
2932
- "type": "tuple"
2479
+ "internalType": "bool",
2480
+ "name": "isInterceptingBundleTransfers",
2481
+ "type": "bool"
2933
2482
  },
2934
2483
  {
2935
- "components": [
2936
- {
2937
- "internalType": "UFixed",
2938
- "name": "fractionalFee",
2939
- "type": "uint256"
2940
- },
2941
- {
2942
- "internalType": "uint256",
2943
- "name": "fixedFee",
2944
- "type": "uint256"
2945
- }
2946
- ],
2947
- "internalType": "struct Fee",
2948
- "name": "poolFee",
2949
- "type": "tuple"
2484
+ "internalType": "bool",
2485
+ "name": "isProcessingConfirmedClaims",
2486
+ "type": "bool"
2950
2487
  },
2951
2488
  {
2952
- "components": [
2953
- {
2954
- "internalType": "UFixed",
2955
- "name": "fractionalFee",
2956
- "type": "uint256"
2957
- },
2958
- {
2959
- "internalType": "uint256",
2960
- "name": "fixedFee",
2961
- "type": "uint256"
2962
- }
2963
- ],
2964
- "internalType": "struct Fee",
2965
- "name": "stakingFee",
2966
- "type": "tuple"
2489
+ "internalType": "bool",
2490
+ "name": "isExternallyManaged",
2491
+ "type": "bool"
2967
2492
  },
2968
2493
  {
2969
- "components": [
2970
- {
2971
- "internalType": "UFixed",
2972
- "name": "fractionalFee",
2973
- "type": "uint256"
2974
- },
2975
- {
2976
- "internalType": "uint256",
2977
- "name": "fixedFee",
2978
- "type": "uint256"
2979
- }
2980
- ],
2981
- "internalType": "struct Fee",
2982
- "name": "performanceFee",
2983
- "type": "tuple"
2494
+ "internalType": "bool",
2495
+ "name": "isVerifyingApplications",
2496
+ "type": "bool"
2984
2497
  }
2985
2498
  ],
2986
- "internalType": "struct IComponents.ProductInfo",
2499
+ "internalType": "struct IComponents.PoolInfo",
2987
2500
  "name": "info",
2988
2501
  "type": "tuple"
2989
2502
  },
@@ -2993,7 +2506,7 @@
2993
2506
  "type": "uint8"
2994
2507
  }
2995
2508
  ],
2996
- "name": "updateProduct",
2509
+ "name": "updatePool",
2997
2510
  "outputs": [],
2998
2511
  "stateMutability": "nonpayable",
2999
2512
  "type": "function"
@@ -3009,18 +2522,13 @@
3009
2522
  "components": [
3010
2523
  {
3011
2524
  "internalType": "NftId",
3012
- "name": "distributorNftId",
2525
+ "name": "distributionNftId",
3013
2526
  "type": "uint96"
3014
2527
  },
3015
2528
  {
3016
- "internalType": "string",
3017
- "name": "referralCode",
3018
- "type": "string"
3019
- },
3020
- {
3021
- "internalType": "UFixed",
3022
- "name": "discountPercentage",
3023
- "type": "uint256"
2529
+ "internalType": "NftId",
2530
+ "name": "distributorNftId",
2531
+ "type": "uint96"
3024
2532
  },
3025
2533
  {
3026
2534
  "internalType": "uint32",
@@ -3032,11 +2540,21 @@
3032
2540
  "name": "usedReferrals",
3033
2541
  "type": "uint32"
3034
2542
  },
2543
+ {
2544
+ "internalType": "UFixed",
2545
+ "name": "discountPercentage",
2546
+ "type": "uint160"
2547
+ },
3035
2548
  {
3036
2549
  "internalType": "Timestamp",
3037
2550
  "name": "expiryAt",
3038
2551
  "type": "uint40"
3039
2552
  },
2553
+ {
2554
+ "internalType": "string",
2555
+ "name": "referralCode",
2556
+ "type": "string"
2557
+ },
3040
2558
  {
3041
2559
  "internalType": "bytes",
3042
2560
  "name": "data",
@@ -3090,25 +2608,15 @@
3090
2608
  "name": "requesterNftId",
3091
2609
  "type": "uint96"
3092
2610
  },
3093
- {
3094
- "internalType": "string",
3095
- "name": "callbackMethodName",
3096
- "type": "string"
3097
- },
3098
2611
  {
3099
2612
  "internalType": "NftId",
3100
2613
  "name": "oracleNftId",
3101
2614
  "type": "uint96"
3102
2615
  },
3103
2616
  {
3104
- "internalType": "bytes",
3105
- "name": "requestData",
3106
- "type": "bytes"
3107
- },
3108
- {
3109
- "internalType": "bytes",
3110
- "name": "responseData",
3111
- "type": "bytes"
2617
+ "internalType": "bool",
2618
+ "name": "isCancelled",
2619
+ "type": "bool"
3112
2620
  },
3113
2621
  {
3114
2622
  "internalType": "Timestamp",
@@ -3121,9 +2629,19 @@
3121
2629
  "type": "uint40"
3122
2630
  },
3123
2631
  {
3124
- "internalType": "bool",
3125
- "name": "isCancelled",
3126
- "type": "bool"
2632
+ "internalType": "string",
2633
+ "name": "callbackMethodName",
2634
+ "type": "string"
2635
+ },
2636
+ {
2637
+ "internalType": "bytes",
2638
+ "name": "requestData",
2639
+ "type": "bytes"
2640
+ },
2641
+ {
2642
+ "internalType": "bytes",
2643
+ "name": "responseData",
2644
+ "type": "bytes"
3127
2645
  }
3128
2646
  ],
3129
2647
  "internalType": "struct IOracle.RequestInfo",
@@ -3158,73 +2676,20 @@
3158
2676
  "outputs": [],
3159
2677
  "stateMutability": "nonpayable",
3160
2678
  "type": "function"
3161
- },
3162
- {
3163
- "inputs": [
3164
- {
3165
- "internalType": "RiskId",
3166
- "name": "riskId",
3167
- "type": "bytes8"
3168
- },
3169
- {
3170
- "components": [
3171
- {
3172
- "internalType": "NftId",
3173
- "name": "productNftId",
3174
- "type": "uint96"
3175
- },
3176
- {
3177
- "internalType": "bytes",
3178
- "name": "data",
3179
- "type": "bytes"
3180
- }
3181
- ],
3182
- "internalType": "struct IRisk.RiskInfo",
3183
- "name": "risk",
3184
- "type": "tuple"
3185
- },
3186
- {
3187
- "internalType": "StateId",
3188
- "name": "newState",
3189
- "type": "uint8"
3190
- }
3191
- ],
3192
- "name": "updateRisk",
3193
- "outputs": [],
3194
- "stateMutability": "nonpayable",
3195
- "type": "function"
3196
- },
3197
- {
3198
- "inputs": [
3199
- {
3200
- "internalType": "RiskId",
3201
- "name": "riskId",
3202
- "type": "bytes8"
3203
- },
3204
- {
3205
- "internalType": "StateId",
3206
- "name": "newState",
3207
- "type": "uint8"
3208
- }
3209
- ],
3210
- "name": "updateRiskState",
3211
- "outputs": [],
3212
- "stateMutability": "nonpayable",
3213
- "type": "function"
3214
2679
  }
3215
2680
  ],
3216
- "bytecode": "0x608060405234801561001057600080fd5b506157ca80620000216000396000f3fe608060405234801561001057600080fd5b50600436106103af5760003560e01c80637a9e5e4b116101f4578063a89896751161011a578063c4d66de8116100ad578063f48016ce1161007c578063f48016ce146109c3578063f5884fc5146107a8578063fae5df9b146109e4578063fe1f18d6146109f757600080fd5b8063c4d66de81461094c578063ca0e7f081461095f578063e80c61ed14610972578063e9e96c701461098557600080fd5b8063b5b3d9f9116100e9578063b5b3d9f9146108f3578063b6d7cd6214610906578063bf1db3f914610919578063bf7e214f1461092c57600080fd5b8063a8989675146108a7578063af902500146108ba578063b0628dc3146108cd578063b4d7efe2146108e057600080fd5b8063985aeba711610192578063a46eb8dc11610161578063a46eb8dc146107e1578063a5961b4c146107f4578063a6a67b1f14610881578063a76ee0181461089457600080fd5b8063985aeba7146107a85780639f8151e5146107bb578063a1fc1004146107a8578063a2842229146107ce57600080fd5b806381c2b282116101ce57806381c2b282146107285780638eaa6ac01461073b5780638eb9000d1461075b5780638fb360371461078757600080fd5b80637a9e5e4b146106ef5780637cca1124146107025780637cef48421461071557600080fd5b80633870a770116102d957806353ebe129116102775780635eede174116102465780635eede1741461064457806361105e0e146106b6578063763bb754146106c957806378929823146106dc57600080fd5b806353ebe129146105fe57806354f6127f146106115780635a8416b0146106315780635d4345cc146104c357600080fd5b8063468bce06116102b3578063468bce06146105bd5780634846003a146105c557806351dd844b146105d8578063533086d4146105eb57600080fd5b80633870a7701461057457806338a699a41461058757806340529b0f146105aa57600080fd5b80630fad0eb111610351578063275c059511610320578063275c0595146105285780632a8ea7ac1461053b5780632f61088a1461054e57806330a130ba1461056157600080fd5b80630fad0eb1146104c35780631e40b363146104d6578063228e42ec146104e9578063248a77dd1461051557600080fd5b806309648a9d1161038d57806309648a9d1461043d5780630cfc3ba3146104775780630d3581811461048a5780630f6c29ef146104b057600080fd5b80630232ca49146103b457806303c099ac146103fd5780630632b17d14610412575b600080fd5b6103e06103c23660046135e5565b6001600160601b039081166000908152600260205260409020541690565b6040516001600160601b0390911681526020015b60405180910390f35b61041061040b36600461388f565b610a0a565b005b610425610420366004613a12565b610a50565b6040516001600160401b0390911681526020016103f4565b61046561044b366004613a4e565b600090815260076020526040902054610100900460ff1690565b60405160ff90911681526020016103f4565b610410610485366004613b45565b610b10565b610465610498366004613ba6565b60ff9081166000908152600560205260409020541690565b6104106104be366004613c79565b610b37565b6104106104d1366004613ceb565b610b64565b6104106104e4366004613e18565b610b81565b6103e06104f73660046135e5565b6001600160601b039081166000908152602081905260409020541690565b6103e0610523366004613e5f565b610ba9565b610410610536366004613ead565b610bc7565b61041061054936600461406e565b610c61565b61041061055c366004614117565b610c96565b61041061056f36600461422f565b610d36565b610410610582366004614274565b610dd6565b61059a610595366004613a4e565b610dec565b60405190151581526020016103f4565b6104106105b8366004613ceb565b610e77565b610410610e8e565b6104106105d33660046142b2565b610ec8565b6104106105e63660046143cc565b610ef9565b6103e06105f9366004613e5f565b610f21565b6103e061060c366004613e5f565b610f36565b61062461061f366004613a4e565b610f4b565b6040516103f49190614463565b61041061063f366004614476565b610ff0565b61068c6106523660046135e5565b6001600160601b03908116600090815260208181526040808320546001835281842054600290935292205491831693908316929190911690565b604080516001600160601b03948516815292841660208401529216918101919091526060016103f4565b6104106106c4366004614579565b611090565b6104106106d7366004614687565b611130565b6104106106ea3660046146c8565b611158565b6104106106fd3660046146ff565b611180565b61041061071036600461471c565b611208565b610410610723366004614761565b611230565b61041061073636600461477f565b6112bf565b61074e610749366004613a4e565b6112e6565b6040516103f491906147d4565b6103e06107693660046135e5565b6001600160601b039081166000908152600160205260409020541690565b61078f61140b565b6040516001600160e01b031990911681526020016103f4565b6104106107b6366004614833565b611444565b6103e06107c9366004613e5f565b61146c565b6104106107dc366004614761565b611481565b6104106107ef36600461487a565b6114cf565b610874610802366004613a4e565b604080516080808201835260008083526020808401829052838501829052606093840182905294815260078552839020835191820184525460ff80821683526101008204169482019490945263ffffffff620100008504811693820193909352600160301b9093049091169082015290565b6040516103f491906148bf565b61041061088f3660046149b7565b611500565b6104106108a23660046149e5565b611528565b6104106108b5366004614a2c565b6115c8565b6104106108c8366004614761565b6116b9565b6103e06108db366004613e5f565b611707565b6104106108ee366004614a5c565b61171c565b610410610901366004614a7a565b611769565b610410610914366004614abb565b611791565b61059a610927366004613ba6565b6117a7565b6109346117f4565b6040516001600160a01b0390911681526020016103f4565b61041061095a3660046146ff565b611810565b61041061096d366004614aeb565b61198e565b6103e0610980366004613e5f565b611a2e565b61059a610993366004614a2c565b60ff9283166000908152600660209081526040808320948616835293815283822092851682529190915220541690565b6109d66109d1366004614b40565b611a43565b6040519081526020016103f4565b6104106109f2366004614b6e565b611ac7565b610410610a05366004613ceb565b611aee565b610a17335b600036611b05565b610a4b610a2584600b611c03565b83604051602001610a369190614bc6565b60405160208183030381529060405283611c4f565b505050565b6000610a5b33610a0f565b610a63611dcb565b604051630f37f38f60e41b81526001600160401b0382166004820152909150610b0b9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015610ac2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae69190614c49565b83604051602001610af79190614c62565b604051602081830303815290604052611e5e565b919050565b610b1933610a0f565b610a4b610b268484612212565b82604051602001610af79190614d37565b610b4033610a0f565b610b5e610b4d858561225f565b83604051602001610a369190614dd7565b50505050565b610b6d33610a0f565b610a4b610b7b836015611c03565b826122ad565b610b8a33610a0f565b610a4b610b9884601c611c03565b83604051602001610a369190614e31565b6000610bb433610a0f565b610bbe83836125b2565b90505b92915050565b610bd033610a0f565b604051630f37f38f60e41b81526001600160401b0384166004820152610a4b9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015610c2c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c509190614c49565b83604051602001610a369190614c62565b610c6a33610a0f565b610c73826126ae565b610c92610c81836015611c03565b82604051602001610af79190614e9e565b5050565b610c9f33610a0f565b6040516355ee627560e01b8152610c929073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590610ce4906001600160c01b031987169060040161504e565b602060405180830381865af4158015610d01573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d259190614c49565b82604051602001610af79190615063565b610d3f33610a0f565b6040516355ee627560e01b8152610c929073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590610d84906001600160c01b031987169060040161504e565b602060405180830381865af4158015610da1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc59190614c49565b82604051602001610af79190615091565b610ddf33610a0f565b610b5e610b7b848461225f565b60008181526007602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf906024015b602060405180830381865af4158015610e53573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc19190615141565b610e8033610a0f565b610a4b610b7b83601c611c03565b610e9661275e565b610e9e6127a7565b610ea66128ca565b610eae6129be565b610eb6612af5565b610ebe612c21565b610ec6612cdd565b565b610ed133610a0f565b610eda826126ae565b610c92610ee883600b611c03565b82604051602001610af79190614bc6565b610f0233610a0f565b610a4b610f1084601e611c03565b83604051602001610a36919061515e565b6000610f2c33610a0f565b610bbe8383612de1565b6000610f4133610a0f565b610bbe8383612ec5565b6000818152600760205260409020600101805460609190610f6b906151e4565b80601f0160208091040260200160405190810160405280929190818152602001828054610f97906151e4565b8015610fe45780601f10610fb957610100808354040283529160200191610fe4565b820191906000526020600020905b815481529060010190602001808311610fc757829003601f168201915b50505050509050919050565b610ff933610a0f565b6040516355ee627560e01b8152610a4b9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee62759061103e906001600160c01b031988169060040161504e565b602060405180830381865af415801561105b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061107f9190614c49565b83604051602001610a369190615091565b61109933610a0f565b6040516355ee627560e01b8152610a4b9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee6275906110de906001600160c01b031988169060040161504e565b602060405180830381865af41580156110fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061111f9190614c49565b83604051602001610a36919061521e565b61113933610a0f565b610a4b61114784600f611c03565b83604051602001610a3691906152b0565b61116133610a0f565b610c9261116f83600f611c03565b82604051602001610af791906152b0565b336111896117f4565b6001600160a01b0316816001600160a01b0316146111c95760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b6000036111ff576040516361798f2f60e11b81526001600160a01b03831660048201526024016111c0565b610c9282612fa9565b61121133610a0f565b610c9261121f83601c611c03565b82604051602001610af79190614e31565b61123933610a0f565b6040516355ee627560e01b8152610a4b9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee62759061127e906001600160c01b031987169060040161504e565b602060405180830381865af415801561129b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b7b9190614c49565b6112c833610a0f565b610a4b6112d5848461225f565b82604051602001610af79190614dd7565b6040805160c081018252600091810182815260608083018490526080830184905260a083019390935281526020810191909152600082815260076020908152604091829020825160c081018452815460ff808216958301958652610100820416606083015263ffffffff62010000820481166080840152600160301b9091041660a08201529283526001810180549192840191611382906151e4565b80601f01602080910402602001604051908101604052809291908181526020018280546113ae906151e4565b80156113fb5780601f106113d0576101008083540402835291602001916113fb565b820191906000526020600020905b8154815290600101906020018083116113de57829003601f168201915b5050505050815250509050919050565b600080516020615775833981519152805460009190600160a01b900460ff1661143557600061143e565b638fb3603760e01b5b91505090565b61144d33610a0f565b610a4b61145b846015611c03565b83604051602001610a369190614e9e565b600061147733610a0f565b610bbe838361300a565b61148a33610a0f565b6040516355ee627560e01b8152610a4b9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee62759061127e906001600160c01b031987169060040161504e565b6114d833610a0f565b6114e1826126ae565b610c926114ef83601e611c03565b82604051602001610af7919061515e565b61150933610a0f565b610c9261151783600c611c03565b82604051602001610af791906153a3565b61153133610a0f565b6040516355ee627560e01b8152610a4b9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611576906001600160c01b031988169060040161504e565b602060405180830381865af4158015611593573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115b79190614c49565b83604051602001610a369190615063565b60ff8381166000908152600560205260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af415801561162d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116519190615141565b1561165b57505050565b60ff808416600090815260066020908152604080832086851684528252808320858516845290915290205416610a4b57604051636bb20ea760e01b815260ff80851660048301528084166024830152821660448201526064016111c0565b6116c233610a0f565b6040516355ee627560e01b8152610a4b9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee62759061127e906001600160c01b031987169060040161504e565b600061171233610a0f565b610bbe83836130ec565b61172533610a0f565b604051630f37f38f60e41b81526001600160401b0383166004820152610a4b9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f09060240161127e565b61177233610a0f565b610a4b61178084600c611c03565b83604051602001610a3691906153a3565b61179a33610a0f565b610b5e610b7b8484612212565b60ff81811660009081526005602052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401610e36565b600080516020615775833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156118555750825b90506000826001600160401b031660011480156118715750303b155b90508115801561187f575080155b1561189d5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156118c757845460ff60401b1916600160401b1785555b6000866001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611907573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061192b9190615486565b9050611936816131ce565b61193e610e8e565b50831561198657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b505050505050565b61199733610a0f565b6040516355ee627560e01b8152610c929073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee6275906119dc906001600160c01b031987169060040161504e565b602060405180830381865af41580156119f9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a1d9190614c49565b82604051602001610af7919061521e565b6000611a3933610a0f565b610bbe83836131e2565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$4b9aaffa8d044614668dad578b824b8eee$__9063f48016ce906044015b602060405180830381865af4158015611aa3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bbe9190614c49565b611ad033610a0f565b610b5e611add8585612212565b83604051602001610a369190614d37565b611af733610a0f565b610a4b610b7b83601e611c03565b600080516020615775833981519152600080611b40611b226117f4565b8730611b32600460008a8c6154a3565b611b3b916154cd565b6132c6565b91509150816119865763ffffffff811615611be057825460ff60a01b1916600160a01b178355611b6e6117f4565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611b9d939291906154fd565b600060405180830381600087803b158015611bb757600080fd5b505af1158015611bcb573d6000803e3d6000fd5b5050845460ff60a01b19168555506119869050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016111c0565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$94a2c899be079b00d952d0d84fffaa5c34$__90633889a4c890604401611a86565b6000611c5b84836122ad565b6000858152600760205260409020909150600101611c798482615583565b50604051634b00e98f60e11b8152600481018590527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611cec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d109190615642565b604051630713cfad60e31b81526004810187905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015611d60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d84919061565f565b6040805160ff938416815260ff199290921660208301529185168183015233606082015232608082015263ffffffff841660a082015290519081900360c00190a150505050565b6008805460009182611ddc8361567c565b9091555050600854604051633aac82ef60e11b8152600481019190915273__$b4c16f233b92c2c4124fb22a521f86c95b$__9063755905de90602401602060405180830381865af4158015611e35573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e5991906156a3565b905090565b604051634b00e98f60e11b81526004810183905260009073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611eb1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ed59190615642565b60405163037c8cb160e51b815260ff8216600482015290915073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015611f2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f4e9190615141565b15611f71576040516307014a8d60e51b815260ff821660048201526024016111c0565b600083815260076020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401602060405180830381865af4158015611fda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ffe9190615141565b1561202857604051633f92eac960e21b81526004810185905260ff831660248201526044016111c0565b60006120326133d2565b9050600061203f846117a7565b61204a576004612060565b60ff808516600090815260056020526040902054165b835460ff86811661ffff1990921691909117610100918316919091021769ffffffffffffffff000019166201000063ffffffff851690810269ffffffff000000000000191691909117600160301b9190910217845560008781526007602052604090209091506001016120d38682615583565b50604051634b00e98f60e11b8152600481018790527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015612146573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061216a9190615642565b604051630713cfad60e31b81526004810189905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af41580156121ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121de919061565f565b6040805160ff938416815260ff1990921660208301529184169181019190915233606082015232608082015260a00161197d565b604051637d56159160e11b815261ffff821660048201526001600160601b038316602482015260009073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401611a86565b604051635927341160e01b815262ffffff821660048201526001600160601b038316602482015260009073__$0f9396e6447a4be57af83e53f51d234633$__90635927341190604401611a86565b60405163037c8cb160e51b815260ff8216600482015260009073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015612302573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123269190615141565b156123475760405163093b89e160e11b8152600481018490526024016111c0565b50600082815260076020526040908190208054915163037c8cb160e51b8152610100830460ff16600482018190526201000090930463ffffffff16929073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af41580156123c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123e49190615141565b156124055760405163566ebf7960e01b8152600481018690526024016111c0565b60ff8085161461258457815461241f9060ff1682866115c8565b815461ff00191661010060ff861602178255604051634b00e98f60e11b8152600481018690527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af41580156124a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124c79190615642565b604051630713cfad60e31b81526004810188905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015612517573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061253b919061565f565b6040805160ff938416815260ff1990921660208301528285169082015290861660608201523360808201523260a082015263ffffffff851660c082015260e00160405180910390a15b61258c6133d2565b825463ffffffff91909116620100000265ffffffff000019909116179091555092915050565b6001600160601b038216600090815260036020526040812054839060ff166125f857604051631e94ffd760e11b81526001600160601b03821660048201526024016111c0565b6001600160601b0380851660009081526001602052604090205461261d911684613441565b6001600160601b03858116600090815260016020908152604080832080546001600160601b03191694861694909417909355600490528190205490519193507fb08c267f0a5e1593171021f433a0805c3818d5b57ea45f0609ddb7163dc228a7916126969187918791879163ffffffff909116906156c0565b60405180910390a16126a7846134c9565b5092915050565b6001600160601b03811660009081526003602052604090205460ff16156126f3576040516314d5804160e01b81526001600160601b03821660048201526024016111c0565b6001600160601b0381166000908152600360205260409020805460ff1916600117905561271f816134c9565b6040516001600160601b03821681527f1c26f28e2d8f145150c4243339c6b20813ea2bbc4e6f19ea2c9905060c0411a99060200160405180910390a150565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16610ec657604051631afcd79f60e31b815260040160405180910390fd5b7f3fb1f8b5b572f385df2ff517fa4200d6781fd017f742a2f073e874e0dca7758b8054600460ff19918216179091557fa38294a430c9d56119aa0494393af7baee29b36db8610955904203b2dc0d4b0e8054821660019081179091557faabd79db0796e2d89bfe8696a82fbf6d2311a758e061bcc90c8bf3de6ba08b4e80548316821790557f1c034d70532bb968580b3cead82cdee06245a7d4ea4fc0a0598c9d941549db3e80549092168117909155601e600090815260066020527fb6ba906ff52451a7a924e2eaeb8aea3ebee7350a8703e5e417edb25358c7dcc190606e5b60ff1660ff16815260200190815260200160002060006128a660c890565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f40f28f99a40bc9f6beea1013afdbc3cdcc689eb76b82c4de06c0acf1e1932ed58054600460ff1991821681179092557fd0d45eb00d049ccc46c339c71e63d90eea012e3db7256c4ce5a37e3ef4bde5ea80548216600190811790915560009283527f6f1fcfd2b22fe622991f7a4235fe1cefd5d6165948a5d5e8668ebd75e7881f246020527fe5510651289c67d4e8f0e7519899867b473e44abf356dbdbad5a29ca137bfc528054909216811790915590600690600b5b60ff1660ff16815260200190815260200160002060006129a0606e90565b60ff1660ff16815260200190815260200160002060006128a660d290565b7fdcae836ed36bf3d20474cfcca00229d5b3b00239a2a956d8ca4bf29e25a7143c8054600a60ff19918216179091557f2904e68c7a2b9b93d33af7507f4a643c6b0086d6fe2b31ff5a5fbc03699e4b8b8054821660019081179091557fbe12cc7efb7411c44beea05fe4d45203c4db5cef133202c25bd3ce7a44514dce80548316821790557f4f55fb356af25cbc2dd445c53c373fb68509850aba36a91b82fdeaae21b0fb4880548316821790557f8fc126f8eb253a1b51796c6e2b7888b31d478c4b83044f9573d937595c30830080548316821790557fb7d86cc33cf49cee7ee3c69728b50600d31f279520c03623c582359cac1cf203805490921681179091556015600090815260066020527feda6feebfb4ffb7de2d0dc45a13b92dc953c2ed6ee96fa7fe8179e7c4266747f906004612888565b7fb8657d180a4d2444fb942e94a4266075e5a1b59d96d88e88cf308d6927f00ff2805460ff199081166032179091557fb8d4b36fa3f605ad94cd0cac80f13c92af675fa832d6df8dc3ba620fe2bae5aa8054821660019081179091557f9f5a5f335709add57c36a55369203f75fab90769f90dc5c1d6b4f51e64f7931e80548316821790557fac51428db552575d93acd1b0206748187cdf03c3d4880b224b6b843f82e3ad6d80548316821790557f1759eeb783be12e6871ee15567296c25cea65699ad38e9965540ba6254a9037f8054603c93168317905560009182527f84f72166cd6dc886f96a4867c4575af2a636c629c04227c9418bfffa7a09a9ed602052907fd29801b20059b93ddfd5c6b35ed7b939364988e76b05e24456e4e78c8a3e96449060dc6128a6565b7f5cc25df4297f13907c2e8c8bb7612ac7d899f1e24c7e8664c22a89192ac286a78054600460ff1991821681179092557f210997b37b2d43faf47705b743346fb1b15ea96e448556607a491761f91e01d780548216600190811790915560009283527f62b939e4fd6f81e35ee2bfd6159b5f0fdc60eba32ce925e23fbacd5164be4c476020527f994510576db8bc5180614979b295aff86a861cb3965845612b5e9a9ef49f653e80549092168117909155906006906018612982565b7fce1f324a8a5d5daa4a6b2281780ab321637fd4089413dd89c573bbf705027cb98054600460ff1991821681179092557f17765961060f66318b8d1c9d16f37975e1f7d99f2e57f6ba8e618a045d1691568054821660019081179091557f7b2fffb8b571683ba7f6b314c4f61b812b39faac6c91c75f6cef800f300291fc80548316821790557ff2ece9920c5eb8e61fb6da50740b25ea927174d5d412d76ec051f6da7c89ae4c8054909216811790915560009182527f2d88733daa8d83575c1c435b1a4140007e667f8dfbe2e5678ffec947a513e5cd602052907fbeddbe65619271258b6647d557767a93c417716f295dde3ab0ac84ff252b32949060486128a6565b6001600160601b038216600090815260036020526040812054839060ff16612e2757604051631e94ffd760e11b81526001600160601b03821660048201526024016111c0565b6001600160601b03808516600090815260026020526040902054612e4c911684613569565b6001600160601b03858116600090815260026020908152604080832080546001600160601b03191694861694909417909355600490528190205490519193507f72d83b31d9d848984842915e1bf55e0b10f5c5c208ea2e893df958de0472fc62916126969187918791879163ffffffff909116906156c0565b6001600160601b038216600090815260036020526040812054839060ff16612f0b57604051631e94ffd760e11b81526001600160601b03821660048201526024016111c0565b6001600160601b03808516600090815260016020526040902054612f30911684613569565b6001600160601b03858116600090815260016020908152604080832080546001600160601b03191694861694909417909355600490528190205490519193507fb254741d2e56b5fc092dabf9d2224554522d8bc0c08a1ffdce59fe0acae2bfc9916126969187918791879163ffffffff909116906156c0565b60008051602061577583398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6001600160601b038216600090815260036020526040812054839060ff1661305057604051631e94ffd760e11b81526001600160601b03821660048201526024016111c0565b6001600160601b03808516600090815260208190526040902054613075911684613441565b6001600160601b0385811660009081526020818152604080832080546001600160601b03191694861694909417909355600490528190205490519193507f5b04742c456b2820460f06a699b464350ad00ad419b30c9bb74699e0d1e64b66916126969187918791879163ffffffff909116906156c0565b6001600160601b038216600090815260036020526040812054839060ff1661313257604051631e94ffd760e11b81526001600160601b03821660048201526024016111c0565b6001600160601b03808516600090815260208190526040902054613157911684613569565b6001600160601b0385811660009081526020818152604080832080546001600160601b03191694861694909417909355600490528190205490519193507f4068631e6ddfc25f1831c04cd7b41e313620779732e776b6e8e62273fccd6e6d916126969187918791879163ffffffff909116906156c0565b6131d661275e565b6131df816135b4565b50565b6001600160601b038216600090815260036020526040812054839060ff1661322857604051631e94ffd760e11b81526001600160601b03821660048201526024016111c0565b6001600160601b0380851660009081526002602052604090205461324d911684613441565b6001600160601b03858116600090815260026020908152604080832080546001600160601b03191694861694909417909355600490528190205490519193507fee2ce932811dedb09eb973e9da29180e86fe3bab034360124e0fd962f795daad916126969187918791879163ffffffff909116906156c0565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161333591906156ef565b600060405180830381855afa9150503d8060008114613370576040519150601f19603f3d011682016040523d82523d6000602084013e613375565b606091505b509150915081156133c75760408151106133a7578080602001905181019061339d919061570b565b90945092506133c7565b60208151106133c757808060200190518101906133c49190615141565b93505b505094509492505050565b600073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__63e8b7afe36040518163ffffffff1660e01b8152600401602060405180830381865af415801561341d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e59919061573a565b60405163274acb3560e01b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb35906044015b602060405180830381865af41580156134a5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bbe9190615757565b73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__63e8b7afe36040518163ffffffff1660e01b8152600401602060405180830381865af4158015613512573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613536919061573a565b6001600160601b03919091166000908152600460205260409020805463ffffffff191663ffffffff909216919091179055565b6040516363cf551160e11b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401613488565b6135bc61275e565b6131df81612fa9565b6001600160601b03811681146131df57600080fd5b8035610b0b816135c5565b6000602082840312156135f757600080fd5b8135613602816135c5565b9392505050565b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b038111828210171561364157613641613609565b60405290565b60405161010081016001600160401b038111828210171561364157613641613609565b60405160e081016001600160401b038111828210171561364157613641613609565b60405161022081016001600160401b038111828210171561364157613641613609565b604080519081016001600160401b038111828210171561364157613641613609565b60405161012081016001600160401b038111828210171561364157613641613609565b60405161016081016001600160401b038111828210171561364157613641613609565b600082601f83011261372857600080fd5b81356001600160401b038082111561374257613742613609565b604051601f8301601f19908116603f0116810190828211818310171561376a5761376a613609565b8160405283815286602085880101111561378357600080fd5b836020870160208301376000602085830101528094505050505092915050565b6001600160a01b03811681146131df57600080fd5b8035610b0b816137a3565b600060c082840312156137d557600080fd5b6137dd61361f565b905081356001600160401b03808211156137f657600080fd5b61380285838601613717565b8352613810602085016135da565b6020840152613821604085016137b8565b6040840152613832606085016137b8565b6060840152613843608085016137b8565b608084015260a084013591508082111561385c57600080fd5b5061386984828501613717565b60a08301525092915050565b60ff811681146131df57600080fd5b8035610b0b81613875565b6000806000606084860312156138a457600080fd5b83356138af816135c5565b925060208401356001600160401b038111156138ca57600080fd5b6138d6868287016137c3565b92505060408401356138e781613875565b809150509250925092565b64ffffffffff811681146131df57600080fd5b8035610b0b816138f2565b80151581146131df57600080fd5b8035610b0b81613910565b6000610100828403121561393c57600080fd5b613944613647565b905061394f826135da565b815260208201356001600160401b038082111561396b57600080fd5b61397785838601613717565b6020840152613988604085016135da565b604084015260608401359150808211156139a157600080fd5b6139ad85838601613717565b606084015260808401359150808211156139c657600080fd5b506139d384828501613717565b6080830152506139e560a08301613905565b60a08201526139f660c08301613905565b60c0820152613a0760e0830161391e565b60e082015292915050565b600060208284031215613a2457600080fd5b81356001600160401b03811115613a3a57600080fd5b613a4684828501613929565b949350505050565b600060208284031215613a6057600080fd5b5035919050565b61ffff811681146131df57600080fd5b8035610b0b81613a67565b600060e08284031215613a9457600080fd5b613a9c61366a565b9050613aa7826135da565b8152613ab5602083016135da565b6020820152613ac660408301613884565b6040820152613ad760608301613884565b606082015260808201356001600160401b0380821115613af657600080fd5b613b0285838601613717565b608084015260a0840135915080821115613b1b57600080fd5b50613b2884828501613717565b60a083015250613b3a60c08301613905565b60c082015292915050565b600080600060608486031215613b5a57600080fd5b8335613b65816135c5565b92506020840135613b7581613a67565b915060408401356001600160401b03811115613b9057600080fd5b613b9c86828701613a82565b9150509250925092565b600060208284031215613bb857600080fd5b813561360281613875565b803562ffffff81168114610b0b57600080fd5b600060808284031215613be857600080fd5b604051608081016001600160401b038282108183111715613c0b57613c0b613609565b8160405282935084359150613c1f82613a67565b908252602084013590613c31826135c5565b8160208401526040850135915080821115613c4b57600080fd5b50613c5885828601613717565b6040830152506060830135613c6c816138f2565b6060919091015292915050565b60008060008060808587031215613c8f57600080fd5b8435613c9a816135c5565b9350613ca860208601613bc3565b925060408501356001600160401b03811115613cc357600080fd5b613ccf87828801613bd6565b9250506060850135613ce081613875565b939692955090935050565b60008060408385031215613cfe57600080fd5b8235613d09816135c5565b91506020830135613d1981613875565b809150509250929050565b6001600160c01b0319811681146131df57600080fd5b8035610b0b81613d24565b63ffffffff811681146131df57600080fd5b8035610b0b81613d45565b600060a08284031215613d7457600080fd5b60405160a081016001600160401b038282108183111715613d9757613d97613609565b8160405282935084359150613dab82613d24565b908252602084013590613dbd82613910565b8160208401526040850135915080821115613dd757600080fd5b50613de485828601613717565b6040830152506060830135613df8816135c5565b60608201526080830135613e0b81613d45565b6080919091015292915050565b600080600060608486031215613e2d57600080fd5b8335613e38816135c5565b925060208401356001600160401b03811115613e5357600080fd5b6138d686828701613d62565b60008060408385031215613e7257600080fd5b8235613e7d816135c5565b91506020830135613d19816135c5565b6001600160401b03811681146131df57600080fd5b8035610b0b81613e8d565b600080600060608486031215613ec257600080fd5b8335613ecd81613e8d565b925060208401356001600160401b03811115613ee857600080fd5b6138d686828701613929565b60006102208284031215613f0757600080fd5b613f0f61368c565b9050613f1a826135da565b8152613f28602083016135da565b6020820152613f3960408301613d3a565b6040820152613f4a60608301613d3a565b6060820152613f5b608083016135da565b6080820152613f6c60a083016135da565b60a0820152613f7d60c083016135da565b60c0820152613f8e60e08301613905565b60e0820152610100808301356001600160401b0380821115613faf57600080fd5b613fbb86838701613717565b83850152610120925082850135915080821115613fd757600080fd5b50613fe485828601613717565b828401525050610140613ff8818401613a77565b9082015261016061400a838201613a77565b9082015261018061401c8382016135da565b908201526101a061402e8382016135da565b908201526101c0614040838201613905565b908201526101e0614052838201613905565b90820152610200614064838201613905565b9082015292915050565b6000806040838503121561408157600080fd5b823561408c816135c5565b915060208301356001600160401b038111156140a757600080fd5b6140b385828601613ef4565b9150509250929050565b6000604082840312156140cf57600080fd5b6140d76136af565b905081356140e4816135c5565b815260208201356001600160401b038111156140ff57600080fd5b61410b84828501613717565b60208301525092915050565b6000806040838503121561412a57600080fd5b823561413581613d24565b915060208301356001600160401b0381111561415057600080fd5b6140b3858286016140bd565b6000610120828403121561416f57600080fd5b6141776136d1565b905081356001600160401b038082111561419057600080fd5b61419c85838601613717565b83526020840135602084015260408401356040840152606084013560608401526141c860808501613d57565b60808401526141d960a08501613d57565b60a08401526141ea60c0850161391e565b60c08401526141fb60e0850161391e565b60e08401526101009150818401358181111561421657600080fd5b61422286828701613717565b8385015250505092915050565b6000806040838503121561424257600080fd5b823561424d81613d24565b915060208301356001600160401b0381111561426857600080fd5b6140b38582860161415c565b60008060006060848603121561428957600080fd5b8335614294816135c5565b92506142a260208501613bc3565b915060408401356138e781613875565b600080604083850312156142c557600080fd5b82356142d0816135c5565b915060208301356001600160401b038111156142eb57600080fd5b6140b3858286016137c3565b60006040828403121561430957600080fd5b6143116136af565b9050813581526020820135602082015292915050565b600060e0828403121561433957600080fd5b61434161361f565b9050813561434e816135c5565b815261435d83602084016142f7565b602082015260608201356001600160401b0381111561437b57600080fd5b61438784828501613717565b604083015250608082013561439b816138f2565b606082015260a08201356143ae816138f2565b608082015260c08201356143c1816138f2565b60a082015292915050565b6000806000606084860312156143e157600080fd5b83356143ec816135c5565b925060208401356001600160401b0381111561440757600080fd5b6138d686828701614327565b60005b8381101561442e578181015183820152602001614416565b50506000910152565b6000815180845261444f816020860160208601614413565b601f01601f19169290920160200192915050565b602081526000610bbe6020830184614437565b60008060006060848603121561448b57600080fd5b833561449681613d24565b925060208401356001600160401b038111156144b157600080fd5b6138d68682870161415c565b600060e082840312156144cf57600080fd5b6144d761366a565b90506144e2826135da565b815260208201356001600160401b03808211156144fe57600080fd5b61450a85838601613717565b60208401526040840135604084015261452560608501613d57565b606084015261453660808501613d57565b608084015261454760a08501613905565b60a084015260c084013591508082111561456057600080fd5b5061456d84828501613717565b60c08301525092915050565b60008060006060848603121561458e57600080fd5b833561459981613d24565b925060208401356001600160401b038111156145b457600080fd5b6138d6868287016144bd565b60006101c082840312156145d357600080fd5b6145db6136f4565b90506145e6826135da565b81526145f460208301613ea2565b6020820152614605604083016135da565b60408201526146166060830161391e565b60608201526146276080830161391e565b608082015261463860a0830161391e565b60a082015260c082013560c082015260e082013560e0820152610100614660848285016142f7565b90820152610140614673848483016142f7565b6101208301526140648461018085016142f7565b6000806000610200848603121561469d57600080fd5b83356146a8816135c5565b92506146b785602086016145c0565b91506101e08401356138e781613875565b6000806101e083850312156146dc57600080fd5b82356146e7816135c5565b91506146f684602085016145c0565b90509250929050565b60006020828403121561471157600080fd5b8135613602816137a3565b6000806040838503121561472f57600080fd5b823561473a816135c5565b915060208301356001600160401b0381111561475557600080fd5b6140b385828601613d62565b6000806040838503121561477457600080fd5b8235613d0981613d24565b60008060006060848603121561479457600080fd5b833561479f816135c5565b92506147ad60208501613bc3565b915060408401356001600160401b038111156147c857600080fd5b613b9c86828701613bd6565b6020815261481960208201835160ff815116825260ff6020820151166020830152604081015163ffffffff808216604085015280606084015116606085015250505050565b6000602083015160a080840152613a4660c0840182614437565b60008060006060848603121561484857600080fd5b8335614853816135c5565b925060208401356001600160401b0381111561486e57600080fd5b6138d686828701613ef4565b6000806040838503121561488d57600080fd5b8235614898816135c5565b915060208301356001600160401b038111156148b357600080fd5b6140b385828601614327565b60808101610bc1828460ff815116825260ff6020820151166020830152604081015163ffffffff808216604085015280606084015116606085015250505050565b6000610200828403121561491357600080fd5b61491b6136d1565b9050614926826135da565b8152614934602083016135da565b602082015261494683604084016142f7565b604082015261495883608084016142f7565b606082015261496a8360c084016142f7565b608082015261010061497e848285016142f7565b60a08301526149918461014085016142f7565b60c08301526149a48461018085016142f7565b60e0830152614064846101c085016142f7565b60008061022083850312156149cb57600080fd5b82356149d6816135c5565b91506146f68460208501614900565b6000806000606084860312156149fa57600080fd5b8335614a0581613d24565b925060208401356001600160401b03811115614a2057600080fd5b6138d6868287016140bd565b600080600060608486031215614a4157600080fd5b8335614a4c81613875565b925060208401356142a281613875565b60008060408385031215614a6f57600080fd5b8235613d0981613e8d565b60008060006102408486031215614a9057600080fd5b8335614a9b816135c5565b9250614aaa8560208601614900565b91506102208401356138e781613875565b600080600060608486031215614ad057600080fd5b8335614adb816135c5565b925060208401356142a281613a67565b60008060408385031215614afe57600080fd5b8235614b0981613d24565b915060208301356001600160401b03811115614b2457600080fd5b6140b3858286016144bd565b60ff19811681146131df57600080fd5b60008060408385031215614b5357600080fd5b8235614b5e81613875565b91506020830135613d1981614b30565b60008060008060808587031215614b8457600080fd5b8435614b8f816135c5565b93506020850135614b9f81613a67565b925060408501356001600160401b03811115614bba57600080fd5b613ccf87828801613a82565b602081526000825160c06020840152614be260e0840182614437565b90506001600160601b036020850151166040840152604084015160018060a01b0380821660608601528060608701511660808601528060808701511660a0860152505060a0840151601f198483030160c0850152614c408282614437565b95945050505050565b600060208284031215614c5b57600080fd5b5051919050565b60208152614c7c6020820183516001600160601b03169052565b60006020830151610100806040850152614c9a610120850183614437565b91506040850151614cb660608601826001600160601b03169052565b506060850151601f1980868503016080870152614cd38483614437565b935060808701519150808685030160a087015250614cf18382614437565b92505060a0850151614d0c60c086018264ffffffffff169052565b5060c085015164ffffffffff811660e08601525060e0850151801515858301525b5090949350505050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff60408401511660608301526060830151614d7c608084018260ff169052565b50608083015160e060a0840152614d97610100840182614437565b905060a0840151601f198483030160c0850152614db48282614437565b91505060c0840151614dcf60e085018264ffffffffff169052565b509392505050565b6020815261ffff82511660208201526001600160601b0360208301511660408201526000604083015160806060840152614e1460a0840182614437565b905064ffffffffff60608501511660808401528091505092915050565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a06060840152614e6f60c0840182614437565b90506001600160601b03606085015116608084015263ffffffff60808501511660a08401528091505092915050565b60208152614eb86020820183516001600160601b03169052565b60006020830151614ed460408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e0830151610100614f5a8185018364ffffffffff169052565b808501519150506102206101208181860152614f7a610240860184614437565b9250808601519050610140601f198685030181870152614f9a8483614437565b935080870151915050610160614fb58187018361ffff169052565b8601519050610180614fcc8682018361ffff169052565b86015190506101a0614fe8868201836001600160601b03169052565b86015190506101c0615004868201836001600160601b03169052565b86015190506101e061501e8682018364ffffffffff169052565b86015190506102006150388682018364ffffffffff169052565b86015164ffffffffff8116838701529050614d2d565b6001600160c01b031991909116815260200190565b602081526001600160601b03825116602082015260006020830151604080840152613a466060840182614437565b60208152600082516101208060208501526150b0610140850183614437565b915060208501516040850152604085015160608501526060850151608085015260808501516150e760a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e085015161010061511d8187018315159052565b860151858403601f19018387015290506151378382614437565b9695505050505050565b60006020828403121561515357600080fd5b815161360281613910565b602081526001600160601b03825116602082015260006020830151615190604084018280518252602090810151910152565b50604083015160e060808401526151ab610100840182614437565b9050606084015164ffffffffff80821660a08601528060808701511660c08601528060a08701511660e086015250508091505092915050565b600181811c908216806151f857607f821691505b60208210810361521857634e487b7160e01b600052602260045260246000fd5b50919050565b602081526001600160601b0382511660208201526000602083015160e0604084015261524e610100840182614437565b90506040840151606084015263ffffffff6060850151166080840152608084015161528160a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152614c408282614437565b81516001600160601b031681526101c0810160208301516152dc60208401826001600160401b03169052565b5060408301516152f760408401826001600160601b03169052565b50606083015161530b606084018215159052565b50608083015161531f608084018215159052565b5060a083015161533360a084018215159052565b5060c083015160c083015260e083015160e0830152610100808401516153658285018280518252602090810151910152565b50506101208301516101406153868185018380518252602090810151910152565b840151805161018085015260208101516101a085015290506126a7565b81516001600160601b031681526020808301516102008301916153d0908401826001600160601b03169052565b5060408301516153ed604084018280518252602090810151910152565b50606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a083015161010061543a8185018380518252602090810151910152565b60c0850151805161014086015260209081015161016086015260e086015180516101808701528101516101a08601529085015180516101c0860152908101516101e085015290506126a7565b60006020828403121561549857600080fd5b8151613602816137a3565b600080858511156154b357600080fd5b838611156154c057600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156154f55780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b601f821115610a4b57600081815260208120601f850160051c810160208610156155645750805b601f850160051c820191505b8181101561198657828155600101615570565b81516001600160401b0381111561559c5761559c613609565b6155b0816155aa84546151e4565b8461553d565b602080601f8311600181146155e557600084156155cd5750858301515b600019600386901b1c1916600185901b178555611986565b600085815260208120601f198616915b82811015615614578886015182559484019460019091019084016155f5565b50858210156156325787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561565457600080fd5b815161360281613875565b60006020828403121561567157600080fd5b815161360281614b30565b60006001820161569c57634e487b7160e01b600052601160045260246000fd5b5060010190565b6000602082840312156156b557600080fd5b815161360281613e8d565b6001600160601b03948516815292841660208401529216604082015263ffffffff909116606082015260800190565b60008251615701818460208701614413565b9190910192915050565b6000806040838503121561571e57600080fd5b825161572981613910565b6020840151909250613d1981613d45565b60006020828403121561574c57600080fd5b815161360281613d45565b60006020828403121561576957600080fd5b8151613602816135c556fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a264697066735822122077c8887f22b5a2627f80a44bc33d7de004d7f2d6dd2fdeb6785d1b029a20d27564736f6c63430008140033",
3217
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106103af5760003560e01c80637a9e5e4b116101f4578063a89896751161011a578063c4d66de8116100ad578063f48016ce1161007c578063f48016ce146109c3578063f5884fc5146107a8578063fae5df9b146109e4578063fe1f18d6146109f757600080fd5b8063c4d66de81461094c578063ca0e7f081461095f578063e80c61ed14610972578063e9e96c701461098557600080fd5b8063b5b3d9f9116100e9578063b5b3d9f9146108f3578063b6d7cd6214610906578063bf1db3f914610919578063bf7e214f1461092c57600080fd5b8063a8989675146108a7578063af902500146108ba578063b0628dc3146108cd578063b4d7efe2146108e057600080fd5b8063985aeba711610192578063a46eb8dc11610161578063a46eb8dc146107e1578063a5961b4c146107f4578063a6a67b1f14610881578063a76ee0181461089457600080fd5b8063985aeba7146107a85780639f8151e5146107bb578063a1fc1004146107a8578063a2842229146107ce57600080fd5b806381c2b282116101ce57806381c2b282146107285780638eaa6ac01461073b5780638eb9000d1461075b5780638fb360371461078757600080fd5b80637a9e5e4b146106ef5780637cca1124146107025780637cef48421461071557600080fd5b80633870a770116102d957806353ebe129116102775780635eede174116102465780635eede1741461064457806361105e0e146106b6578063763bb754146106c957806378929823146106dc57600080fd5b806353ebe129146105fe57806354f6127f146106115780635a8416b0146106315780635d4345cc146104c357600080fd5b8063468bce06116102b3578063468bce06146105bd5780634846003a146105c557806351dd844b146105d8578063533086d4146105eb57600080fd5b80633870a7701461057457806338a699a41461058757806340529b0f146105aa57600080fd5b80630fad0eb111610351578063275c059511610320578063275c0595146105285780632a8ea7ac1461053b5780632f61088a1461054e57806330a130ba1461056157600080fd5b80630fad0eb1146104c35780631e40b363146104d6578063228e42ec146104e9578063248a77dd1461051557600080fd5b806309648a9d1161038d57806309648a9d1461043d5780630cfc3ba3146104775780630d3581811461048a5780630f6c29ef146104b057600080fd5b80630232ca49146103b457806303c099ac146103fd5780630632b17d14610412575b600080fd5b6103e06103c23660046135e5565b6001600160601b039081166000908152600260205260409020541690565b6040516001600160601b0390911681526020015b60405180910390f35b61041061040b36600461388f565b610a0a565b005b610425610420366004613a12565b610a50565b6040516001600160401b0390911681526020016103f4565b61046561044b366004613a4e565b600090815260076020526040902054610100900460ff1690565b60405160ff90911681526020016103f4565b610410610485366004613b45565b610b10565b610465610498366004613ba6565b60ff9081166000908152600560205260409020541690565b6104106104be366004613c79565b610b37565b6104106104d1366004613ceb565b610b64565b6104106104e4366004613e18565b610b81565b6103e06104f73660046135e5565b6001600160601b039081166000908152602081905260409020541690565b6103e0610523366004613e5f565b610ba9565b610410610536366004613ead565b610bc7565b61041061054936600461406e565b610c61565b61041061055c366004614117565b610c96565b61041061056f36600461422f565b610d36565b610410610582366004614274565b610dd6565b61059a610595366004613a4e565b610dec565b60405190151581526020016103f4565b6104106105b8366004613ceb565b610e77565b610410610e8e565b6104106105d33660046142b2565b610ec8565b6104106105e63660046143cc565b610ef9565b6103e06105f9366004613e5f565b610f21565b6103e061060c366004613e5f565b610f36565b61062461061f366004613a4e565b610f4b565b6040516103f49190614463565b61041061063f366004614476565b610ff0565b61068c6106523660046135e5565b6001600160601b03908116600090815260208181526040808320546001835281842054600290935292205491831693908316929190911690565b604080516001600160601b03948516815292841660208401529216918101919091526060016103f4565b6104106106c4366004614579565b611090565b6104106106d7366004614687565b611130565b6104106106ea3660046146c8565b611158565b6104106106fd3660046146ff565b611180565b61041061071036600461471c565b611208565b610410610723366004614761565b611230565b61041061073636600461477f565b6112bf565b61074e610749366004613a4e565b6112e6565b6040516103f491906147d4565b6103e06107693660046135e5565b6001600160601b039081166000908152600160205260409020541690565b61078f61140b565b6040516001600160e01b031990911681526020016103f4565b6104106107b6366004614833565b611444565b6103e06107c9366004613e5f565b61146c565b6104106107dc366004614761565b611481565b6104106107ef36600461487a565b6114cf565b610874610802366004613a4e565b604080516080808201835260008083526020808401829052838501829052606093840182905294815260078552839020835191820184525460ff80821683526101008204169482019490945263ffffffff620100008504811693820193909352600160301b9093049091169082015290565b6040516103f491906148bf565b61041061088f3660046149b7565b611500565b6104106108a23660046149e5565b611528565b6104106108b5366004614a2c565b6115c8565b6104106108c8366004614761565b6116b9565b6103e06108db366004613e5f565b611707565b6104106108ee366004614a5c565b61171c565b610410610901366004614a7a565b611769565b610410610914366004614abb565b611791565b61059a610927366004613ba6565b6117a7565b6109346117f4565b6040516001600160a01b0390911681526020016103f4565b61041061095a3660046146ff565b611810565b61041061096d366004614aeb565b61198e565b6103e0610980366004613e5f565b611a2e565b61059a610993366004614a2c565b60ff9283166000908152600660209081526040808320948616835293815283822092851682529190915220541690565b6109d66109d1366004614b40565b611a43565b6040519081526020016103f4565b6104106109f2366004614b6e565b611ac7565b610410610a05366004613ceb565b611aee565b610a17335b600036611b05565b610a4b610a2584600b611c03565b83604051602001610a369190614bc6565b60405160208183030381529060405283611c4f565b505050565b6000610a5b33610a0f565b610a63611dcb565b604051630f37f38f60e41b81526001600160401b0382166004820152909150610b0b9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015610ac2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae69190614c49565b83604051602001610af79190614c62565b604051602081830303815290604052611e5e565b919050565b610b1933610a0f565b610a4b610b268484612212565b82604051602001610af79190614d37565b610b4033610a0f565b610b5e610b4d858561225f565b83604051602001610a369190614dd7565b50505050565b610b6d33610a0f565b610a4b610b7b836015611c03565b826122ad565b610b8a33610a0f565b610a4b610b9884601c611c03565b83604051602001610a369190614e31565b6000610bb433610a0f565b610bbe83836125b2565b90505b92915050565b610bd033610a0f565b604051630f37f38f60e41b81526001600160401b0384166004820152610a4b9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015610c2c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c509190614c49565b83604051602001610a369190614c62565b610c6a33610a0f565b610c73826126ae565b610c92610c81836015611c03565b82604051602001610af79190614e9e565b5050565b610c9f33610a0f565b6040516355ee627560e01b8152610c929073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590610ce4906001600160c01b031987169060040161504e565b602060405180830381865af4158015610d01573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d259190614c49565b82604051602001610af79190615063565b610d3f33610a0f565b6040516355ee627560e01b8152610c929073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590610d84906001600160c01b031987169060040161504e565b602060405180830381865af4158015610da1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc59190614c49565b82604051602001610af79190615091565b610ddf33610a0f565b610b5e610b7b848461225f565b60008181526007602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf906024015b602060405180830381865af4158015610e53573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc19190615141565b610e8033610a0f565b610a4b610b7b83601c611c03565b610e9661275e565b610e9e6127a7565b610ea66128ca565b610eae6129be565b610eb6612af5565b610ebe612c21565b610ec6612cdd565b565b610ed133610a0f565b610eda826126ae565b610c92610ee883600b611c03565b82604051602001610af79190614bc6565b610f0233610a0f565b610a4b610f1084601e611c03565b83604051602001610a36919061515e565b6000610f2c33610a0f565b610bbe8383612de1565b6000610f4133610a0f565b610bbe8383612ec5565b6000818152600760205260409020600101805460609190610f6b906151e4565b80601f0160208091040260200160405190810160405280929190818152602001828054610f97906151e4565b8015610fe45780601f10610fb957610100808354040283529160200191610fe4565b820191906000526020600020905b815481529060010190602001808311610fc757829003601f168201915b50505050509050919050565b610ff933610a0f565b6040516355ee627560e01b8152610a4b9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee62759061103e906001600160c01b031988169060040161504e565b602060405180830381865af415801561105b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061107f9190614c49565b83604051602001610a369190615091565b61109933610a0f565b6040516355ee627560e01b8152610a4b9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee6275906110de906001600160c01b031988169060040161504e565b602060405180830381865af41580156110fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061111f9190614c49565b83604051602001610a36919061521e565b61113933610a0f565b610a4b61114784600f611c03565b83604051602001610a3691906152b0565b61116133610a0f565b610c9261116f83600f611c03565b82604051602001610af791906152b0565b336111896117f4565b6001600160a01b0316816001600160a01b0316146111c95760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b6000036111ff576040516361798f2f60e11b81526001600160a01b03831660048201526024016111c0565b610c9282612fa9565b61121133610a0f565b610c9261121f83601c611c03565b82604051602001610af79190614e31565b61123933610a0f565b6040516355ee627560e01b8152610a4b9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee62759061127e906001600160c01b031987169060040161504e565b602060405180830381865af415801561129b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b7b9190614c49565b6112c833610a0f565b610a4b6112d5848461225f565b82604051602001610af79190614dd7565b6040805160c081018252600091810182815260608083018490526080830184905260a083019390935281526020810191909152600082815260076020908152604091829020825160c081018452815460ff808216958301958652610100820416606083015263ffffffff62010000820481166080840152600160301b9091041660a08201529283526001810180549192840191611382906151e4565b80601f01602080910402602001604051908101604052809291908181526020018280546113ae906151e4565b80156113fb5780601f106113d0576101008083540402835291602001916113fb565b820191906000526020600020905b8154815290600101906020018083116113de57829003601f168201915b5050505050815250509050919050565b600080516020615775833981519152805460009190600160a01b900460ff1661143557600061143e565b638fb3603760e01b5b91505090565b61144d33610a0f565b610a4b61145b846015611c03565b83604051602001610a369190614e9e565b600061147733610a0f565b610bbe838361300a565b61148a33610a0f565b6040516355ee627560e01b8152610a4b9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee62759061127e906001600160c01b031987169060040161504e565b6114d833610a0f565b6114e1826126ae565b610c926114ef83601e611c03565b82604051602001610af7919061515e565b61150933610a0f565b610c9261151783600c611c03565b82604051602001610af791906153a3565b61153133610a0f565b6040516355ee627560e01b8152610a4b9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611576906001600160c01b031988169060040161504e565b602060405180830381865af4158015611593573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115b79190614c49565b83604051602001610a369190615063565b60ff8381166000908152600560205260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af415801561162d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116519190615141565b1561165b57505050565b60ff808416600090815260066020908152604080832086851684528252808320858516845290915290205416610a4b57604051636bb20ea760e01b815260ff80851660048301528084166024830152821660448201526064016111c0565b6116c233610a0f565b6040516355ee627560e01b8152610a4b9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee62759061127e906001600160c01b031987169060040161504e565b600061171233610a0f565b610bbe83836130ec565b61172533610a0f565b604051630f37f38f60e41b81526001600160401b0383166004820152610a4b9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f09060240161127e565b61177233610a0f565b610a4b61178084600c611c03565b83604051602001610a3691906153a3565b61179a33610a0f565b610b5e610b7b8484612212565b60ff81811660009081526005602052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401610e36565b600080516020615775833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156118555750825b90506000826001600160401b031660011480156118715750303b155b90508115801561187f575080155b1561189d5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156118c757845460ff60401b1916600160401b1785555b6000866001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611907573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061192b9190615486565b9050611936816131ce565b61193e610e8e565b50831561198657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b505050505050565b61199733610a0f565b6040516355ee627560e01b8152610c929073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee6275906119dc906001600160c01b031987169060040161504e565b602060405180830381865af41580156119f9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a1d9190614c49565b82604051602001610af7919061521e565b6000611a3933610a0f565b610bbe83836131e2565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$4b9aaffa8d044614668dad578b824b8eee$__9063f48016ce906044015b602060405180830381865af4158015611aa3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bbe9190614c49565b611ad033610a0f565b610b5e611add8585612212565b83604051602001610a369190614d37565b611af733610a0f565b610a4b610b7b83601e611c03565b600080516020615775833981519152600080611b40611b226117f4565b8730611b32600460008a8c6154a3565b611b3b916154cd565b6132c6565b91509150816119865763ffffffff811615611be057825460ff60a01b1916600160a01b178355611b6e6117f4565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611b9d939291906154fd565b600060405180830381600087803b158015611bb757600080fd5b505af1158015611bcb573d6000803e3d6000fd5b5050845460ff60a01b19168555506119869050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016111c0565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$94a2c899be079b00d952d0d84fffaa5c34$__90633889a4c890604401611a86565b6000611c5b84836122ad565b6000858152600760205260409020909150600101611c798482615583565b50604051634b00e98f60e11b8152600481018590527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611cec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d109190615642565b604051630713cfad60e31b81526004810187905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015611d60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d84919061565f565b6040805160ff938416815260ff199290921660208301529185168183015233606082015232608082015263ffffffff841660a082015290519081900360c00190a150505050565b6008805460009182611ddc8361567c565b9091555050600854604051633aac82ef60e11b8152600481019190915273__$b4c16f233b92c2c4124fb22a521f86c95b$__9063755905de90602401602060405180830381865af4158015611e35573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e5991906156a3565b905090565b604051634b00e98f60e11b81526004810183905260009073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611eb1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ed59190615642565b60405163037c8cb160e51b815260ff8216600482015290915073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015611f2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f4e9190615141565b15611f71576040516307014a8d60e51b815260ff821660048201526024016111c0565b600083815260076020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401602060405180830381865af4158015611fda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ffe9190615141565b1561202857604051633f92eac960e21b81526004810185905260ff831660248201526044016111c0565b60006120326133d2565b9050600061203f846117a7565b61204a576004612060565b60ff808516600090815260056020526040902054165b835460ff86811661ffff1990921691909117610100918316919091021769ffffffffffffffff000019166201000063ffffffff851690810269ffffffff000000000000191691909117600160301b9190910217845560008781526007602052604090209091506001016120d38682615583565b50604051634b00e98f60e11b8152600481018790527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015612146573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061216a9190615642565b604051630713cfad60e31b81526004810189905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af41580156121ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121de919061565f565b6040805160ff938416815260ff1990921660208301529184169181019190915233606082015232608082015260a00161197d565b604051637d56159160e11b815261ffff821660048201526001600160601b038316602482015260009073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401611a86565b604051635927341160e01b815262ffffff821660048201526001600160601b038316602482015260009073__$0f9396e6447a4be57af83e53f51d234633$__90635927341190604401611a86565b60405163037c8cb160e51b815260ff8216600482015260009073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015612302573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123269190615141565b156123475760405163093b89e160e11b8152600481018490526024016111c0565b50600082815260076020526040908190208054915163037c8cb160e51b8152610100830460ff16600482018190526201000090930463ffffffff16929073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af41580156123c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123e49190615141565b156124055760405163566ebf7960e01b8152600481018690526024016111c0565b60ff8085161461258457815461241f9060ff1682866115c8565b815461ff00191661010060ff861602178255604051634b00e98f60e11b8152600481018690527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af41580156124a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124c79190615642565b604051630713cfad60e31b81526004810188905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015612517573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061253b919061565f565b6040805160ff938416815260ff1990921660208301528285169082015290861660608201523360808201523260a082015263ffffffff851660c082015260e00160405180910390a15b61258c6133d2565b825463ffffffff91909116620100000265ffffffff000019909116179091555092915050565b6001600160601b038216600090815260036020526040812054839060ff166125f857604051631e94ffd760e11b81526001600160601b03821660048201526024016111c0565b6001600160601b0380851660009081526001602052604090205461261d911684613441565b6001600160601b03858116600090815260016020908152604080832080546001600160601b03191694861694909417909355600490528190205490519193507fb08c267f0a5e1593171021f433a0805c3818d5b57ea45f0609ddb7163dc228a7916126969187918791879163ffffffff909116906156c0565b60405180910390a16126a7846134c9565b5092915050565b6001600160601b03811660009081526003602052604090205460ff16156126f3576040516314d5804160e01b81526001600160601b03821660048201526024016111c0565b6001600160601b0381166000908152600360205260409020805460ff1916600117905561271f816134c9565b6040516001600160601b03821681527f1c26f28e2d8f145150c4243339c6b20813ea2bbc4e6f19ea2c9905060c0411a99060200160405180910390a150565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16610ec657604051631afcd79f60e31b815260040160405180910390fd5b7f3fb1f8b5b572f385df2ff517fa4200d6781fd017f742a2f073e874e0dca7758b8054600460ff19918216179091557fa38294a430c9d56119aa0494393af7baee29b36db8610955904203b2dc0d4b0e8054821660019081179091557faabd79db0796e2d89bfe8696a82fbf6d2311a758e061bcc90c8bf3de6ba08b4e80548316821790557f1c034d70532bb968580b3cead82cdee06245a7d4ea4fc0a0598c9d941549db3e80549092168117909155601e600090815260066020527fb6ba906ff52451a7a924e2eaeb8aea3ebee7350a8703e5e417edb25358c7dcc190606e5b60ff1660ff16815260200190815260200160002060006128a660c890565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f40f28f99a40bc9f6beea1013afdbc3cdcc689eb76b82c4de06c0acf1e1932ed58054600460ff1991821681179092557fd0d45eb00d049ccc46c339c71e63d90eea012e3db7256c4ce5a37e3ef4bde5ea80548216600190811790915560009283527f6f1fcfd2b22fe622991f7a4235fe1cefd5d6165948a5d5e8668ebd75e7881f246020527fe5510651289c67d4e8f0e7519899867b473e44abf356dbdbad5a29ca137bfc528054909216811790915590600690600b5b60ff1660ff16815260200190815260200160002060006129a0606e90565b60ff1660ff16815260200190815260200160002060006128a660d290565b7fdcae836ed36bf3d20474cfcca00229d5b3b00239a2a956d8ca4bf29e25a7143c8054600a60ff19918216179091557f2904e68c7a2b9b93d33af7507f4a643c6b0086d6fe2b31ff5a5fbc03699e4b8b8054821660019081179091557fbe12cc7efb7411c44beea05fe4d45203c4db5cef133202c25bd3ce7a44514dce80548316821790557f4f55fb356af25cbc2dd445c53c373fb68509850aba36a91b82fdeaae21b0fb4880548316821790557f8fc126f8eb253a1b51796c6e2b7888b31d478c4b83044f9573d937595c30830080548316821790557fb7d86cc33cf49cee7ee3c69728b50600d31f279520c03623c582359cac1cf203805490921681179091556015600090815260066020527feda6feebfb4ffb7de2d0dc45a13b92dc953c2ed6ee96fa7fe8179e7c4266747f906004612888565b7fb8657d180a4d2444fb942e94a4266075e5a1b59d96d88e88cf308d6927f00ff2805460ff199081166032179091557fb8d4b36fa3f605ad94cd0cac80f13c92af675fa832d6df8dc3ba620fe2bae5aa8054821660019081179091557f9f5a5f335709add57c36a55369203f75fab90769f90dc5c1d6b4f51e64f7931e80548316821790557fac51428db552575d93acd1b0206748187cdf03c3d4880b224b6b843f82e3ad6d80548316821790557f1759eeb783be12e6871ee15567296c25cea65699ad38e9965540ba6254a9037f8054603c93168317905560009182527f84f72166cd6dc886f96a4867c4575af2a636c629c04227c9418bfffa7a09a9ed602052907fd29801b20059b93ddfd5c6b35ed7b939364988e76b05e24456e4e78c8a3e96449060dc6128a6565b7f5cc25df4297f13907c2e8c8bb7612ac7d899f1e24c7e8664c22a89192ac286a78054600460ff1991821681179092557f210997b37b2d43faf47705b743346fb1b15ea96e448556607a491761f91e01d780548216600190811790915560009283527f62b939e4fd6f81e35ee2bfd6159b5f0fdc60eba32ce925e23fbacd5164be4c476020527f994510576db8bc5180614979b295aff86a861cb3965845612b5e9a9ef49f653e80549092168117909155906006906018612982565b7fce1f324a8a5d5daa4a6b2281780ab321637fd4089413dd89c573bbf705027cb98054600460ff1991821681179092557f17765961060f66318b8d1c9d16f37975e1f7d99f2e57f6ba8e618a045d1691568054821660019081179091557f7b2fffb8b571683ba7f6b314c4f61b812b39faac6c91c75f6cef800f300291fc80548316821790557ff2ece9920c5eb8e61fb6da50740b25ea927174d5d412d76ec051f6da7c89ae4c8054909216811790915560009182527f2d88733daa8d83575c1c435b1a4140007e667f8dfbe2e5678ffec947a513e5cd602052907fbeddbe65619271258b6647d557767a93c417716f295dde3ab0ac84ff252b32949060486128a6565b6001600160601b038216600090815260036020526040812054839060ff16612e2757604051631e94ffd760e11b81526001600160601b03821660048201526024016111c0565b6001600160601b03808516600090815260026020526040902054612e4c911684613569565b6001600160601b03858116600090815260026020908152604080832080546001600160601b03191694861694909417909355600490528190205490519193507f72d83b31d9d848984842915e1bf55e0b10f5c5c208ea2e893df958de0472fc62916126969187918791879163ffffffff909116906156c0565b6001600160601b038216600090815260036020526040812054839060ff16612f0b57604051631e94ffd760e11b81526001600160601b03821660048201526024016111c0565b6001600160601b03808516600090815260016020526040902054612f30911684613569565b6001600160601b03858116600090815260016020908152604080832080546001600160601b03191694861694909417909355600490528190205490519193507fb254741d2e56b5fc092dabf9d2224554522d8bc0c08a1ffdce59fe0acae2bfc9916126969187918791879163ffffffff909116906156c0565b60008051602061577583398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6001600160601b038216600090815260036020526040812054839060ff1661305057604051631e94ffd760e11b81526001600160601b03821660048201526024016111c0565b6001600160601b03808516600090815260208190526040902054613075911684613441565b6001600160601b0385811660009081526020818152604080832080546001600160601b03191694861694909417909355600490528190205490519193507f5b04742c456b2820460f06a699b464350ad00ad419b30c9bb74699e0d1e64b66916126969187918791879163ffffffff909116906156c0565b6001600160601b038216600090815260036020526040812054839060ff1661313257604051631e94ffd760e11b81526001600160601b03821660048201526024016111c0565b6001600160601b03808516600090815260208190526040902054613157911684613569565b6001600160601b0385811660009081526020818152604080832080546001600160601b03191694861694909417909355600490528190205490519193507f4068631e6ddfc25f1831c04cd7b41e313620779732e776b6e8e62273fccd6e6d916126969187918791879163ffffffff909116906156c0565b6131d661275e565b6131df816135b4565b50565b6001600160601b038216600090815260036020526040812054839060ff1661322857604051631e94ffd760e11b81526001600160601b03821660048201526024016111c0565b6001600160601b0380851660009081526002602052604090205461324d911684613441565b6001600160601b03858116600090815260026020908152604080832080546001600160601b03191694861694909417909355600490528190205490519193507fee2ce932811dedb09eb973e9da29180e86fe3bab034360124e0fd962f795daad916126969187918791879163ffffffff909116906156c0565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161333591906156ef565b600060405180830381855afa9150503d8060008114613370576040519150601f19603f3d011682016040523d82523d6000602084013e613375565b606091505b509150915081156133c75760408151106133a7578080602001905181019061339d919061570b565b90945092506133c7565b60208151106133c757808060200190518101906133c49190615141565b93505b505094509492505050565b600073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__63e8b7afe36040518163ffffffff1660e01b8152600401602060405180830381865af415801561341d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e59919061573a565b60405163274acb3560e01b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb35906044015b602060405180830381865af41580156134a5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bbe9190615757565b73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__63e8b7afe36040518163ffffffff1660e01b8152600401602060405180830381865af4158015613512573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613536919061573a565b6001600160601b03919091166000908152600460205260409020805463ffffffff191663ffffffff909216919091179055565b6040516363cf551160e11b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401613488565b6135bc61275e565b6131df81612fa9565b6001600160601b03811681146131df57600080fd5b8035610b0b816135c5565b6000602082840312156135f757600080fd5b8135613602816135c5565b9392505050565b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b038111828210171561364157613641613609565b60405290565b60405161010081016001600160401b038111828210171561364157613641613609565b60405160e081016001600160401b038111828210171561364157613641613609565b60405161022081016001600160401b038111828210171561364157613641613609565b604080519081016001600160401b038111828210171561364157613641613609565b60405161012081016001600160401b038111828210171561364157613641613609565b60405161016081016001600160401b038111828210171561364157613641613609565b600082601f83011261372857600080fd5b81356001600160401b038082111561374257613742613609565b604051601f8301601f19908116603f0116810190828211818310171561376a5761376a613609565b8160405283815286602085880101111561378357600080fd5b836020870160208301376000602085830101528094505050505092915050565b6001600160a01b03811681146131df57600080fd5b8035610b0b816137a3565b600060c082840312156137d557600080fd5b6137dd61361f565b905081356001600160401b03808211156137f657600080fd5b61380285838601613717565b8352613810602085016135da565b6020840152613821604085016137b8565b6040840152613832606085016137b8565b6060840152613843608085016137b8565b608084015260a084013591508082111561385c57600080fd5b5061386984828501613717565b60a08301525092915050565b60ff811681146131df57600080fd5b8035610b0b81613875565b6000806000606084860312156138a457600080fd5b83356138af816135c5565b925060208401356001600160401b038111156138ca57600080fd5b6138d6868287016137c3565b92505060408401356138e781613875565b809150509250925092565b64ffffffffff811681146131df57600080fd5b8035610b0b816138f2565b80151581146131df57600080fd5b8035610b0b81613910565b6000610100828403121561393c57600080fd5b613944613647565b905061394f826135da565b815260208201356001600160401b038082111561396b57600080fd5b61397785838601613717565b6020840152613988604085016135da565b604084015260608401359150808211156139a157600080fd5b6139ad85838601613717565b606084015260808401359150808211156139c657600080fd5b506139d384828501613717565b6080830152506139e560a08301613905565b60a08201526139f660c08301613905565b60c0820152613a0760e0830161391e565b60e082015292915050565b600060208284031215613a2457600080fd5b81356001600160401b03811115613a3a57600080fd5b613a4684828501613929565b949350505050565b600060208284031215613a6057600080fd5b5035919050565b61ffff811681146131df57600080fd5b8035610b0b81613a67565b600060e08284031215613a9457600080fd5b613a9c61366a565b9050613aa7826135da565b8152613ab5602083016135da565b6020820152613ac660408301613884565b6040820152613ad760608301613884565b606082015260808201356001600160401b0380821115613af657600080fd5b613b0285838601613717565b608084015260a0840135915080821115613b1b57600080fd5b50613b2884828501613717565b60a083015250613b3a60c08301613905565b60c082015292915050565b600080600060608486031215613b5a57600080fd5b8335613b65816135c5565b92506020840135613b7581613a67565b915060408401356001600160401b03811115613b9057600080fd5b613b9c86828701613a82565b9150509250925092565b600060208284031215613bb857600080fd5b813561360281613875565b803562ffffff81168114610b0b57600080fd5b600060808284031215613be857600080fd5b604051608081016001600160401b038282108183111715613c0b57613c0b613609565b8160405282935084359150613c1f82613a67565b908252602084013590613c31826135c5565b8160208401526040850135915080821115613c4b57600080fd5b50613c5885828601613717565b6040830152506060830135613c6c816138f2565b6060919091015292915050565b60008060008060808587031215613c8f57600080fd5b8435613c9a816135c5565b9350613ca860208601613bc3565b925060408501356001600160401b03811115613cc357600080fd5b613ccf87828801613bd6565b9250506060850135613ce081613875565b939692955090935050565b60008060408385031215613cfe57600080fd5b8235613d09816135c5565b91506020830135613d1981613875565b809150509250929050565b6001600160c01b0319811681146131df57600080fd5b8035610b0b81613d24565b63ffffffff811681146131df57600080fd5b8035610b0b81613d45565b600060a08284031215613d7457600080fd5b60405160a081016001600160401b038282108183111715613d9757613d97613609565b8160405282935084359150613dab82613d24565b908252602084013590613dbd82613910565b8160208401526040850135915080821115613dd757600080fd5b50613de485828601613717565b6040830152506060830135613df8816135c5565b60608201526080830135613e0b81613d45565b6080919091015292915050565b600080600060608486031215613e2d57600080fd5b8335613e38816135c5565b925060208401356001600160401b03811115613e5357600080fd5b6138d686828701613d62565b60008060408385031215613e7257600080fd5b8235613e7d816135c5565b91506020830135613d19816135c5565b6001600160401b03811681146131df57600080fd5b8035610b0b81613e8d565b600080600060608486031215613ec257600080fd5b8335613ecd81613e8d565b925060208401356001600160401b03811115613ee857600080fd5b6138d686828701613929565b60006102208284031215613f0757600080fd5b613f0f61368c565b9050613f1a826135da565b8152613f28602083016135da565b6020820152613f3960408301613d3a565b6040820152613f4a60608301613d3a565b6060820152613f5b608083016135da565b6080820152613f6c60a083016135da565b60a0820152613f7d60c083016135da565b60c0820152613f8e60e08301613905565b60e0820152610100808301356001600160401b0380821115613faf57600080fd5b613fbb86838701613717565b83850152610120925082850135915080821115613fd757600080fd5b50613fe485828601613717565b828401525050610140613ff8818401613a77565b9082015261016061400a838201613a77565b9082015261018061401c8382016135da565b908201526101a061402e8382016135da565b908201526101c0614040838201613905565b908201526101e0614052838201613905565b90820152610200614064838201613905565b9082015292915050565b6000806040838503121561408157600080fd5b823561408c816135c5565b915060208301356001600160401b038111156140a757600080fd5b6140b385828601613ef4565b9150509250929050565b6000604082840312156140cf57600080fd5b6140d76136af565b905081356140e4816135c5565b815260208201356001600160401b038111156140ff57600080fd5b61410b84828501613717565b60208301525092915050565b6000806040838503121561412a57600080fd5b823561413581613d24565b915060208301356001600160401b0381111561415057600080fd5b6140b3858286016140bd565b6000610120828403121561416f57600080fd5b6141776136d1565b905081356001600160401b038082111561419057600080fd5b61419c85838601613717565b83526020840135602084015260408401356040840152606084013560608401526141c860808501613d57565b60808401526141d960a08501613d57565b60a08401526141ea60c0850161391e565b60c08401526141fb60e0850161391e565b60e08401526101009150818401358181111561421657600080fd5b61422286828701613717565b8385015250505092915050565b6000806040838503121561424257600080fd5b823561424d81613d24565b915060208301356001600160401b0381111561426857600080fd5b6140b38582860161415c565b60008060006060848603121561428957600080fd5b8335614294816135c5565b92506142a260208501613bc3565b915060408401356138e781613875565b600080604083850312156142c557600080fd5b82356142d0816135c5565b915060208301356001600160401b038111156142eb57600080fd5b6140b3858286016137c3565b60006040828403121561430957600080fd5b6143116136af565b9050813581526020820135602082015292915050565b600060e0828403121561433957600080fd5b61434161361f565b9050813561434e816135c5565b815261435d83602084016142f7565b602082015260608201356001600160401b0381111561437b57600080fd5b61438784828501613717565b604083015250608082013561439b816138f2565b606082015260a08201356143ae816138f2565b608082015260c08201356143c1816138f2565b60a082015292915050565b6000806000606084860312156143e157600080fd5b83356143ec816135c5565b925060208401356001600160401b0381111561440757600080fd5b6138d686828701614327565b60005b8381101561442e578181015183820152602001614416565b50506000910152565b6000815180845261444f816020860160208601614413565b601f01601f19169290920160200192915050565b602081526000610bbe6020830184614437565b60008060006060848603121561448b57600080fd5b833561449681613d24565b925060208401356001600160401b038111156144b157600080fd5b6138d68682870161415c565b600060e082840312156144cf57600080fd5b6144d761366a565b90506144e2826135da565b815260208201356001600160401b03808211156144fe57600080fd5b61450a85838601613717565b60208401526040840135604084015261452560608501613d57565b606084015261453660808501613d57565b608084015261454760a08501613905565b60a084015260c084013591508082111561456057600080fd5b5061456d84828501613717565b60c08301525092915050565b60008060006060848603121561458e57600080fd5b833561459981613d24565b925060208401356001600160401b038111156145b457600080fd5b6138d6868287016144bd565b60006101c082840312156145d357600080fd5b6145db6136f4565b90506145e6826135da565b81526145f460208301613ea2565b6020820152614605604083016135da565b60408201526146166060830161391e565b60608201526146276080830161391e565b608082015261463860a0830161391e565b60a082015260c082013560c082015260e082013560e0820152610100614660848285016142f7565b90820152610140614673848483016142f7565b6101208301526140648461018085016142f7565b6000806000610200848603121561469d57600080fd5b83356146a8816135c5565b92506146b785602086016145c0565b91506101e08401356138e781613875565b6000806101e083850312156146dc57600080fd5b82356146e7816135c5565b91506146f684602085016145c0565b90509250929050565b60006020828403121561471157600080fd5b8135613602816137a3565b6000806040838503121561472f57600080fd5b823561473a816135c5565b915060208301356001600160401b0381111561475557600080fd5b6140b385828601613d62565b6000806040838503121561477457600080fd5b8235613d0981613d24565b60008060006060848603121561479457600080fd5b833561479f816135c5565b92506147ad60208501613bc3565b915060408401356001600160401b038111156147c857600080fd5b613b9c86828701613bd6565b6020815261481960208201835160ff815116825260ff6020820151166020830152604081015163ffffffff808216604085015280606084015116606085015250505050565b6000602083015160a080840152613a4660c0840182614437565b60008060006060848603121561484857600080fd5b8335614853816135c5565b925060208401356001600160401b0381111561486e57600080fd5b6138d686828701613ef4565b6000806040838503121561488d57600080fd5b8235614898816135c5565b915060208301356001600160401b038111156148b357600080fd5b6140b385828601614327565b60808101610bc1828460ff815116825260ff6020820151166020830152604081015163ffffffff808216604085015280606084015116606085015250505050565b6000610200828403121561491357600080fd5b61491b6136d1565b9050614926826135da565b8152614934602083016135da565b602082015261494683604084016142f7565b604082015261495883608084016142f7565b606082015261496a8360c084016142f7565b608082015261010061497e848285016142f7565b60a08301526149918461014085016142f7565b60c08301526149a48461018085016142f7565b60e0830152614064846101c085016142f7565b60008061022083850312156149cb57600080fd5b82356149d6816135c5565b91506146f68460208501614900565b6000806000606084860312156149fa57600080fd5b8335614a0581613d24565b925060208401356001600160401b03811115614a2057600080fd5b6138d6868287016140bd565b600080600060608486031215614a4157600080fd5b8335614a4c81613875565b925060208401356142a281613875565b60008060408385031215614a6f57600080fd5b8235613d0981613e8d565b60008060006102408486031215614a9057600080fd5b8335614a9b816135c5565b9250614aaa8560208601614900565b91506102208401356138e781613875565b600080600060608486031215614ad057600080fd5b8335614adb816135c5565b925060208401356142a281613a67565b60008060408385031215614afe57600080fd5b8235614b0981613d24565b915060208301356001600160401b03811115614b2457600080fd5b6140b3858286016144bd565b60ff19811681146131df57600080fd5b60008060408385031215614b5357600080fd5b8235614b5e81613875565b91506020830135613d1981614b30565b60008060008060808587031215614b8457600080fd5b8435614b8f816135c5565b93506020850135614b9f81613a67565b925060408501356001600160401b03811115614bba57600080fd5b613ccf87828801613a82565b602081526000825160c06020840152614be260e0840182614437565b90506001600160601b036020850151166040840152604084015160018060a01b0380821660608601528060608701511660808601528060808701511660a0860152505060a0840151601f198483030160c0850152614c408282614437565b95945050505050565b600060208284031215614c5b57600080fd5b5051919050565b60208152614c7c6020820183516001600160601b03169052565b60006020830151610100806040850152614c9a610120850183614437565b91506040850151614cb660608601826001600160601b03169052565b506060850151601f1980868503016080870152614cd38483614437565b935060808701519150808685030160a087015250614cf18382614437565b92505060a0850151614d0c60c086018264ffffffffff169052565b5060c085015164ffffffffff811660e08601525060e0850151801515858301525b5090949350505050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff60408401511660608301526060830151614d7c608084018260ff169052565b50608083015160e060a0840152614d97610100840182614437565b905060a0840151601f198483030160c0850152614db48282614437565b91505060c0840151614dcf60e085018264ffffffffff169052565b509392505050565b6020815261ffff82511660208201526001600160601b0360208301511660408201526000604083015160806060840152614e1460a0840182614437565b905064ffffffffff60608501511660808401528091505092915050565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a06060840152614e6f60c0840182614437565b90506001600160601b03606085015116608084015263ffffffff60808501511660a08401528091505092915050565b60208152614eb86020820183516001600160601b03169052565b60006020830151614ed460408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e0830151610100614f5a8185018364ffffffffff169052565b808501519150506102206101208181860152614f7a610240860184614437565b9250808601519050610140601f198685030181870152614f9a8483614437565b935080870151915050610160614fb58187018361ffff169052565b8601519050610180614fcc8682018361ffff169052565b86015190506101a0614fe8868201836001600160601b03169052565b86015190506101c0615004868201836001600160601b03169052565b86015190506101e061501e8682018364ffffffffff169052565b86015190506102006150388682018364ffffffffff169052565b86015164ffffffffff8116838701529050614d2d565b6001600160c01b031991909116815260200190565b602081526001600160601b03825116602082015260006020830151604080840152613a466060840182614437565b60208152600082516101208060208501526150b0610140850183614437565b915060208501516040850152604085015160608501526060850151608085015260808501516150e760a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e085015161010061511d8187018315159052565b860151858403601f19018387015290506151378382614437565b9695505050505050565b60006020828403121561515357600080fd5b815161360281613910565b602081526001600160601b03825116602082015260006020830151615190604084018280518252602090810151910152565b50604083015160e060808401526151ab610100840182614437565b9050606084015164ffffffffff80821660a08601528060808701511660c08601528060a08701511660e086015250508091505092915050565b600181811c908216806151f857607f821691505b60208210810361521857634e487b7160e01b600052602260045260246000fd5b50919050565b602081526001600160601b0382511660208201526000602083015160e0604084015261524e610100840182614437565b90506040840151606084015263ffffffff6060850151166080840152608084015161528160a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152614c408282614437565b81516001600160601b031681526101c0810160208301516152dc60208401826001600160401b03169052565b5060408301516152f760408401826001600160601b03169052565b50606083015161530b606084018215159052565b50608083015161531f608084018215159052565b5060a083015161533360a084018215159052565b5060c083015160c083015260e083015160e0830152610100808401516153658285018280518252602090810151910152565b50506101208301516101406153868185018380518252602090810151910152565b840151805161018085015260208101516101a085015290506126a7565b81516001600160601b031681526020808301516102008301916153d0908401826001600160601b03169052565b5060408301516153ed604084018280518252602090810151910152565b50606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a083015161010061543a8185018380518252602090810151910152565b60c0850151805161014086015260209081015161016086015260e086015180516101808701528101516101a08601529085015180516101c0860152908101516101e085015290506126a7565b60006020828403121561549857600080fd5b8151613602816137a3565b600080858511156154b357600080fd5b838611156154c057600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156154f55780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b601f821115610a4b57600081815260208120601f850160051c810160208610156155645750805b601f850160051c820191505b8181101561198657828155600101615570565b81516001600160401b0381111561559c5761559c613609565b6155b0816155aa84546151e4565b8461553d565b602080601f8311600181146155e557600084156155cd5750858301515b600019600386901b1c1916600185901b178555611986565b600085815260208120601f198616915b82811015615614578886015182559484019460019091019084016155f5565b50858210156156325787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561565457600080fd5b815161360281613875565b60006020828403121561567157600080fd5b815161360281614b30565b60006001820161569c57634e487b7160e01b600052601160045260246000fd5b5060010190565b6000602082840312156156b557600080fd5b815161360281613e8d565b6001600160601b03948516815292841660208401529216604082015263ffffffff909116606082015260800190565b60008251615701818460208701614413565b9190910192915050565b6000806040838503121561571e57600080fd5b825161572981613910565b6020840151909250613d1981613d45565b60006020828403121561574c57600080fd5b815161360281613d45565b60006020828403121561576957600080fd5b8151613602816135c556fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a264697066735822122077c8887f22b5a2627f80a44bc33d7de004d7f2d6dd2fdeb6785d1b029a20d27564736f6c63430008140033",
2681
+ "bytecode": "0x60806040525f6006553480156012575f80fd5b506159b7806100205f395ff3fe608060405234801561000f575f80fd5b5060043610610297575f3560e01c80637d417f0d11610161578063b4d7efe2116100ca578063e9e96c7011610084578063e9e96c70146107b5578063f0ea17c3146107f2578063f48016ce14610812578063f9b3fe3c14610833578063fe1f18d614610846578063febe92af14610859575f80fd5b8063b4d7efe214610729578063bf1db3f91461073c578063bf7e214f1461074f578063d06458c61461076f578063d7719f461461078f578063e80c61ed146107a2575f80fd5b80639f8151e51161011b5780639f8151e514610633578063a284222914610646578063a5961b4c14610659578063af902500146106f0578063b0628dc314610703578063b1d7d56814610716575f80fd5b80637d417f0d146105a65780638129fc1c146105b95780638eb9000d146105c15780638fb36037146105ec578063962605591461060d57806396f4df2f14610620575f80fd5b806340529b0f1161020357806353ebe129116101bd57806353ebe129146104c757806354f1fa81146104da57806357f80bbf146104ed5780635eede1741461050d578063733044ca146105805780637a9e5e4b14610593575f80fd5b806340529b0f146104485780634793b4ab1461045b578063490840b41461047b5780634a8243921461048e5780634bb2d197146104a1578063533086d4146104b4575f80fd5b8063248a77dd11610254578063248a77dd146103a157806327b1d792146103b45780632bce2d7c146103d45780633048cb3c146103e757806334777712146103fa57806338a699a414610425575f80fd5b80630232ca491461029b57806308077cd9146102e357806309648a9d146102f85780630d358181146103315780631d3be47714610356578063228e42ec14610376575b5f80fd5b6102c66102a9366004614487565b6001600160601b039081165f908152600460205260409020541690565b6040516001600160601b0390911681526020015b60405180910390f35b6102f66102f136600461471f565b610879565b005b61031f61030636600461477e565b5f90815260076020526040902054610100900460ff1690565b60405160ff90911681526020016102da565b61031f61033f366004614795565b60ff9081165f908152602081905260409020541690565b6103696103643660046147c5565b6109c0565b6040516102da919061480e565b6102c6610384366004614487565b6001600160601b039081165f908152600260205260409020541690565b6102c66103af3660046148cc565b610c34565b6103c76103c2366004614487565b610c4f565b6040516102da9190614903565b6102f66103e2366004614a27565b610ce9565b6102f66103f5366004614ab6565b610dc3565b61040d610408366004614be7565b610e6d565b6040516001600160401b0390911681526020016102da565b61043861043336600461477e565b61105f565b60405190151581526020016102da565b6102f6610456366004614c18565b6110ed565b61046e610469366004614487565b61115c565b6040516102da9190614c44565b6102f6610489366004614d6d565b61124f565b6102f661049c366004614e35565b611395565b6102f66104af366004614f7c565b61157e565b6102c66104c23660046148cc565b611764565b6102c66104d53660046148cc565b611778565b6102f66104e8366004614fbe565b61178c565b6105006104fb366004614487565b6118ea565b6040516102da9190615017565b61055661051b366004614487565b6001600160601b039081165f908152600260209081526040808320546003835281842054600490935292205491831693908316929190911690565b604080516001600160601b03948516815292841660208401529216918101919091526060016102da565b6102f661058e3660046150aa565b6119cb565b6102f66105a13660046150ed565b611b82565b6102f66105b4366004615108565b611c08565b6102f6611e5e565b6102c66105cf366004614487565b6001600160601b039081165f908152600360205260409020541690565b6105f4611fd6565b6040516001600160e01b031990911681526020016102da565b6102f661061b36600461514b565b61200c565b6102f661062e36600461518e565b6121cd565b6102c66106413660046148cc565b6122e5565b6102f66106543660046151cc565b6122f9565b6106bf61066736600461477e565b60408051606080820183525f80835260208084018290529284018190529384526007825292829020825193840183525460ff80821685526101008204169184019190915262010000900464ffffffffff169082015290565b60408051825160ff9081168252602080850151909116908201529181015164ffffffffff16908201526060016102da565b6102f66106fe3660046151cc565b6123cf565b6102c66107113660046148cc565b6124a5565b6102f66107243660046151e8565b6124b9565b6102f661073736600461522a565b612568565b61043861074a366004614795565b612638565b610757612684565b6040516001600160a01b0390911681526020016102da565b61078261077d3660046147c5565b61269f565b6040516102da9190615246565b6102f661079d366004615324565b6128be565b6102c66107b03660046148cc565b6129f8565b6104386107c3366004615366565b60ff9283165f908152600160209081526040808320948616835293815283822092851682529190915220541690565b610805610800366004614487565b612a0c565b6040516102da91906153a3565b6108256108203660046153df565b612af0565b6040519081526020016102da565b6102f6610841366004615411565b612b71565b6102f6610854366004614c18565b612c51565b61086c610867366004615453565b612cb1565b6040516102da919061546e565b610885335b5f36612e82565b5f610891846016612f80565b90505f8061089f8385612fcb565b5f858152600d602090815260409182902089518154838c0151948c015160608d01516001600160601b03908116600160781b026bffffffffffffffffffffffff60781b1964ffffffffff938416600160501b0216600160501b600160d81b0319988416650100000000000269ffffffffffffffffffff19909516939095169290921792909217959095169190911793909317815560808a01518051920151909216600160a01b026001600160a01b0390911617600182015560a08801519294509092508691600282019061097390826155b0565b509050507f2f017e855ca4666f28134f4e57d6c215643dd22172128f0455f479cd7c57f2e88682863332876040516109b09695949392919061566a565b60405180910390a1505050505050565b60408051610100810182525f8082526020820181905281830181905260608083018290526080830182905260a0830182905260c0830181905260e083015291516355ee627560e01b81529091600c9173__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590610a43906001600160c01b03198816906004016156b5565b602060405180830381865af4158015610a5e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a8291906156ca565b815260208082019290925260409081015f2081516101008101835281546001600160601b038082168352600160601b8204169482019490945263ffffffff600160c01b8504811693820193909352600160e01b909304909116606083015260018101546001600160a01b038116608084015264ffffffffff600160a01b9091041660a083015260028101805460c084019190610b1d9061552f565b80601f0160208091040260200160405190810160405280929190818152602001828054610b499061552f565b8015610b945780601f10610b6b57610100808354040283529160200191610b94565b820191905f5260205f20905b815481529060010190602001808311610b7757829003601f168201915b50505050508152602001600382018054610bad9061552f565b80601f0160208091040260200160405190810160405280929190818152602001828054610bd99061552f565b8015610c245780601f10610bfb57610100808354040283529160200191610c24565b820191905f5260205f20905b815481529060010190602001808311610c0757829003601f168201915b5050505050815250509050919050565b5f610c3e3361087e565b610c4883836131e5565b9392505050565b604080516080810182525f8082526020820181905291810191909152606080820152600b5f610c7f846017612f80565b815260208082019290925260409081015f208151608081018352815460c081901b6001600160c01b0319168252600160401b810460ff16151594820194909452600160481b90930463ffffffff1691830191909152600181018054606084019190610bad9061552f565b610cf23361087e565b5f610cfe846017612f80565b90505f80610d0c8385612fcb565b5f858152600b602090815260409182902089518154928b0151938b015163ffffffff16600160481b0263ffffffff60481b19941515600160401b0268ffffffffffffffffff1990941660c09290921c919091179290921792909216178155606088015192945090925086916001820190610d8690826155b0565b509050507fe960847e97f8a43de8e7a7a6152c864a89cb6b55e8b46681b41d4c614fbee9778682863332876040516109b09695949392919061566a565b610dcc3361087e565b5f610dd884600b612f80565b90505f80610de68385612fcb565b5f858152600860205260409020875192945090925086918190610e0990826155b0565b5060209190910151600190910180546001600160a01b0319166001600160a01b039092169190911790556040517ffb6ab1b17bdd1e79b770513680d33dd87b6b352476f3d4f9fc2418ad57ab9905906109b09088908490889033903290899061566a565b5f610e773361087e565b610e7f613355565b604051630f37f38f60e41b81526001600160401b03821660048201529091505f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015610eda573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610efe91906156ca565b9050610f09816133e5565b5f818152600e602090815260409182902085518154928701519387015160608801516001600160601b039283166001600160c01b031990951694909417600160601b92909516919091029390931765ffffffffffff60c01b1916600160c01b9315159390930264ffffffffff60c81b191692909217600160c81b64ffffffffff92831602178255608085015160018301805464ffffffffff19169190921617905560a08401518491906002820190610fc190826155b0565b5060c08201516003820190610fd690826155b0565b5060e08201516004820190610feb90826155b0565b5050505f818152600760205260409020547fe296db687d9aabcda96659491302a529c398d8dcf066ecab41adebed06a71d55908390610100900460ff16604080516001600160401b03909316835260ff9091166020830152339082015232606082015260800160405180910390a150919050565b5f8181526007602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf906024015b602060405180830381865af41580156110c3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110e791906156e1565b92915050565b6110f63361087e565b5f611102836017612f80565b90505f806111108385612fcb565b915091507fe960847e97f8a43de8e7a7a6152c864a89cb6b55e8b46681b41d4c614fbee97785828633328760405161114d9695949392919061566a565b60405180910390a15050505050565b6111a36040805160c0810182525f80825260208083018290528284018290526060830182905283518085019094528184528301529060808201908152602001606081525090565b600d5f6111b1846016612f80565b815260208082019290925260409081015f20815160c081018352815464ffffffffff8082168352650100000000008204811683870152600160501b820416828501526001600160601b03600160781b90910481166060830152835180850190945260018301546001600160a01b0381168552600160a01b90041693830193909352608083019190915260028101805460a084019190610bad9061552f565b6112583361087e565b5f61126483600f612f80565b905061126f816133e5565b5f8181526009602090815260408083208551868401516001600160601b03909116600160601b6001600160a01b03928316021782558683015160019092018054606089015160808a015160a08b015160c08c0151969095166001600160a81b031990931692909217600160a01b911515919091021761ffff60a81b1916600160a81b9115159190910260ff60b01b191617600160b01b921515929092029190911760ff60b81b1916600160b81b9215159290920291909117905560079091529020547f55c89d942c4cdaf50df15dfa812580b4246be40868dd2e7b4f002ec972657d6b908490610100900460ff165b604080516001600160601b03909316835260ff909116602083015233908201523260608201526080015b60405180910390a1505050565b61139e3361087e565b6040516355ee627560e01b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee6275906113e1906001600160c01b03198716906004016156b5565b602060405180830381865af41580156113fc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061142091906156ca565b905061142b816133e5565b5f818152600c6020908152604091829020845181549286015193860151606087015163ffffffff908116600160e01b026001600160e01b0391909216600160c01b02166001600160c01b036001600160601b03968716600160601b026001600160c01b03199096169690931695909517939093171692909217178155608083015160018201805460a086015164ffffffffff16600160a01b026001600160c81b03199091166001600160a01b039093169290921791909117905560c083015183919060028201906114fc90826155b0565b5060e0820151600382019061151190826155b0565b5050505f818152600760205260409020547f91da34dfa31974c4906c0658e7beb45ba0721f93a70e50942e77932cce7d8b0d908490610100900460ff165b604080516001600160c01b0319909316835260ff90911660208301523390820152326060820152608001611388565b6115873361087e565b6040516355ee627560e01b81525f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee6275906115ca906001600160c01b03198716906004016156b5565b602060405180830381865af41580156115e5573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061160991906156ca565b9050611614816133e5565b5f818152600a60209081526040918290208451918501516001600160a01b03928316600160a01b6001600160601b039092168202178255928501516001820180546060880151608089015160a08a015160c08b01519588166001600160c01b03199094169390931763ffffffff9092169097021765ffffffffffff60c01b1916600160c01b64ffffffffff9097169690960260ff60e81b191695909517600160e81b951515959095029490941760ff60f01b1916600160f01b911515919091021790925560e08401516002830180546001600160a01b03191691909216179055610100830151839190600382019061170c90826155b0565b50610120820151600482019061172290826155b0565b5050505f818152600760205260409020547f05bfde9bf10cfb02076d77cd133bc8b091c41ef515166c17b2361a684fc6b924908490610100900460ff1661154f565b5f61176e3361087e565b610c488383613690565b5f6117823361087e565b610c4883836137e8565b60ff8381165f908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af41580156117ee573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061181291906156e1565b156118405760405163ea01ac1f60e01b815230600482015260ff841660248201526044015b60405180910390fd5b60ff808516908316146118815760405163bae587e160e01b815230600482015260ff8085166024830152808616604483015283166064820152608401611837565b60ff8084165f908152600160209081526040808320888516845282528083208585168452909152902054166118e45760405163f33b49a360e01b815230600482015260ff8085166024830152808616604483015282166064820152608401611837565b50505050565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c081019190915260095f61193084600f612f80565b815260208082019290925260409081015f20815160e08101835281546001600160601b03811682526001600160a01b03600160601b9091048116948201949094526001909101549283169181019190915260ff600160a01b8304811615156060830152600160a81b8304811615156080830152600160b01b83048116151560a0830152600160b81b909204909116151560c082015292915050565b6119d43361087e565b604051630f37f38f60e41b81526001600160401b03841660048201525f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015611a2c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a5091906156ca565b90505f80611a5e8385612fcb565b5f858152600e602090815260409182902089518154928b0151938b015160608c01516001600160601b039283166001600160c01b031990951694909417600160601b92909516919091029390931765ffffffffffff60c01b1916600160c01b9315159390930264ffffffffff60c81b191692909217600160c81b64ffffffffff92831602178255608089015160018301805464ffffffffff19169190921617905560a088015192945090925086916002820190611b1b90826155b0565b5060c08201516003820190611b3090826155b0565b5060e08201516004820190611b4590826155b0565b509050507fcd6efe20de8bda1c84f56479214f5c845ed9932acb46890901bb98bef682554d8682863332876040516109b0969594939291906156fc565b33611b8b612684565b6001600160a01b0316816001600160a01b031614611bc65760405162d1953b60e31b81526001600160a01b0382166004820152602401611837565b816001600160a01b03163b5f03611bfb576040516361798f2f60e11b81526001600160a01b0383166004820152602401611837565b611c0482613940565b5050565b611c113361087e565b6040516355ee627560e01b81525f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590611c54906001600160c01b03198816906004016156b5565b602060405180830381865af4158015611c6f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c9391906156ca565b90505f80611ca18385612fcb565b9150915084600a5f8581526020019081526020015f205f820151815f015f6101000a8154816001600160a01b0302191690836001600160a01b031602179055506020820151815f0160146101000a8154816001600160601b0302191690836001600160601b031602179055506040820151816001015f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060608201518160010160146101000a81548163ffffffff021916908363ffffffff16021790555060808201518160010160186101000a81548164ffffffffff021916908364ffffffffff16021790555060a082015181600101601d6101000a81548160ff02191690831515021790555060c082015181600101601e6101000a81548160ff02191690831515021790555060e0820151816002015f6101000a8154816001600160a01b0302191690836001600160a01b03160217905550610100820151816003019081611e0b91906155b0565b506101208201516004820190611e2190826155b0565b509050507fa8e6a06b96b5dad840c21bc79949e878d0f743ad0a1ba821d6d0870fcec079bb8682863332876040516109b096959493929190615747565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f81158015611ea25750825b90505f826001600160401b03166001148015611ebd5750303b155b905081158015611ecb575080155b15611ee95760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611f1357845460ff60401b1916600160401b1785555b5f3390505f816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f54573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f789190615793565b9050611f83816139a0565b611f8b6139b4565b50508315611fcf57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200161114d565b5050505050565b5f8051602061596283398151915280545f9190600160a01b900460ff16611ffd575f612006565b638fb3603760e01b5b91505090565b6120153361087e565b6040516355ee627560e01b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590612058906001600160c01b03198816906004016156b5565b602060405180830381865af4158015612073573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061209791906156ca565b90505f806120a58385612fcb565b5f858152600c602090815260409182902089518154928b0151938b015160608c015163ffffffff908116600160e01b026001600160e01b0391909216600160c01b02166001600160c01b036001600160601b03968716600160601b026001600160c01b03199096169690931695909517939093171692909217178155608088015160018201805460a08b015164ffffffffff16600160a01b026001600160c81b03199091166001600160a01b039093169290921791909117905560c08801519294509092508691600282019061217b90826155b0565b5060e0820151600382019061219090826155b0565b509050507fc4ad93e06e3375a8710bb9cd30ed30b0a69d9aab524480a05f51568c66b8e3c98682863332876040516109b096959493929190615747565b6121d63361087e565b5f6121e284600f612f80565b90505f806121f08385612fcb565b5f858152600960209081526040918290208951918a01516001600160601b03909216600160601b6001600160a01b0393841602178155898301516001909101805460608c015160808d015160a08e015160c08f0151959096166001600160a81b031990931692909217600160a01b911515919091021761ffff60a81b1916600160a81b9115159190910260ff60b01b191617600160b01b931515939093029290921760ff60b81b1916600160b81b911515919091021790555191935091507fab6330e3b0f09e536bb75b9c192c588e6833a785d9097c0483661778fc3b5ca1906109b09088908490889033903290899061566a565b5f6122ef3361087e565b610c4883836139c6565b6123023361087e565b6040516355ee627560e01b81525f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590612345906001600160c01b03198716906004016156b5565b602060405180830381865af4158015612360573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061238491906156ca565b90505f806123928385612fcb565b915091507fa8e6a06b96b5dad840c21bc79949e878d0f743ad0a1ba821d6d0870fcec079bb85828633328760405161114d96959493929190615747565b6123d83361087e565b6040516355ee627560e01b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee62759061241b906001600160c01b03198716906004016156b5565b602060405180830381865af4158015612436573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061245a91906156ca565b90505f806124688385612fcb565b915091507fc4ad93e06e3375a8710bb9cd30ed30b0a69d9aab524480a05f51568c66b8e3c985828633328760405161114d96959493929190615747565b5f6124af3361087e565b610c488383613b1e565b6124c23361087e565b6124cb82613c76565b5f6124d783600b612f80565b90506124e2816133e5565b5f8181526008602052604090208251839190819061250090826155b0565b50602091820151600190910180546001600160a01b0319166001600160a01b039092169190911790555f828152600790915260409020547f99debd4964e0a4ae18ad50bcea2c6cc21c02c47c6526460f830cda565bb35ffd908490610100900460ff1661135e565b6125713361087e565b604051630f37f38f60e41b81526001600160401b03831660048201525f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af41580156125c9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125ed91906156ca565b90505f806125fb8385612fcb565b915091507fcd6efe20de8bda1c84f56479214f5c845ed9932acb46890901bb98bef682554d85828633328760405161114d969594939291906156fc565b60ff8181165f9081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf906024016110a8565b5f80516020615962833981519152546001600160a01b031690565b60408051610140810182525f8082526020820181905281830181905260608083018290526080830182905260a0830182905260c0830182905260e08301829052610100830181905261012083015291516355ee627560e01b81529091600a9173__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590612732906001600160c01b03198816906004016156b5565b602060405180830381865af415801561274d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061277191906156ca565b815260208082019290925260409081015f2081516101408101835281546001600160a01b0380821683526001600160601b03600160a01b92839004169583019590955260018301548086169483019490945263ffffffff90840416606082015264ffffffffff600160c01b840416608082015260ff600160e81b84048116151560a0830152600160f01b909304909216151560c0830152600281015490921660e08201526003820180549192916101008401919061282e9061552f565b80601f016020809104026020016040519081016040528092919081815260200182805461285a9061552f565b80156128a55780601f1061287c576101008083540402835291602001916128a5565b820191905f5260205f20905b81548152906001019060200180831161288857829003601f168201915b50505050508152602001600482018054610bad9061552f565b6128c73361087e565b6128d082613c76565b5f6128dc836016612f80565b90506128e7816133e5565b5f818152600d602090815260409182902084518154838701519487015160608801516001600160601b03908116600160781b026bffffffffffffffffffffffff60781b1964ffffffffff938416600160501b0216600160501b600160d81b0319988416650100000000000269ffffffffffffffffffff19909516939095169290921792909217959095169190911793909317815560808501518051920151909216600160a01b026001600160a01b0390911617600182015560a083015183919060028201906129b690826155b0565b5050505f818152600760205260409020547fe4ae723f12a479272b917f87ec8cec8e499456fd990a74003daf0b80d0b32ed3908490610100900460ff1661135e565b5f612a023361087e565b610c488383613d79565b60408051808201909152606081525f602082015260085f612a2e84600b612f80565b81526020019081526020015f206040518060400160405290815f82018054612a559061552f565b80601f0160208091040260200160405190810160405280929190818152602001828054612a819061552f565b8015612acc5780601f10612aa357610100808354040283529160200191612acc565b820191905f5260205f20905b815481529060010190602001808311612aaf57829003601f168201915b5050509183525050600191909101546001600160a01b031660209091015292915050565b604051637a400b6760e11b815260ff8316600482015260ff19821660248201525f9073__$4b9aaffa8d044614668dad578b824b8eee$__9063f48016ce906044015b602060405180830381865af4158015612b4d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c4891906156ca565b612b7a3361087e565b612b8382613c76565b5f612b8f836017612f80565b9050612b9a816133e5565b5f818152600b602090815260409182902084518154928601519386015163ffffffff16600160481b0263ffffffff60481b19941515600160401b0268ffffffffffffffffff1990941660c09290921c91909117929092179290921617815560608301518391906001820190612c0f90826155b0565b5050505f818152600760205260409020547f74d7be5c20e6cf628ccae9cc370ffd1d2a95a8164eb772c89be0ed1242752d0e908490610100900460ff1661135e565b612c5a3361087e565b5f612c66836016612f80565b90505f80612c748385612fcb565b915091507f2f017e855ca4666f28134f4e57d6c215643dd22172128f0455f479cd7c57f2e885828633328760405161114d9695949392919061566a565b60408051610100810182525f8082526020820181905281830181905260608083018290526080830182905260a0830181905260c0830181905260e08301529151630f37f38f60e41b81526001600160401b03841660048201529091600e9173__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015612d49573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d6d91906156ca565b815260208082019290925260409081015f2081516101008101835281546001600160601b038082168352600160601b82041694820194909452600160c01b840460ff16151592810192909252600160c81b90920464ffffffffff9081166060830152600183015416608082015260028201805491929160a084019190612df29061552f565b80601f0160208091040260200160405190810160405280929190818152602001828054612e1e9061552f565b8015612e695780601f10612e4057610100808354040283529160200191612e69565b820191905f5260205f20905b815481529060010190602001808311612e4c57829003601f168201915b5050505050815260200160038201805461282e9061552f565b5f805160206159628339815191525f80612eba612e9d612684565b8730612eac60045f8a8c6157ae565b612eb5916157d5565b613ed1565b9150915081612f785763ffffffff811615612f5557825460ff60a01b1916600160a01b178355612ee8612684565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612f179392919061580b565b5f604051808303815f87803b158015612f2e575f80fd5b505af1158015612f40573d5f803e3d5ffd5b5050845460ff60a01b1916855550612f789050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401611837565b505050505050565b604051630711349960e31b81526001600160601b038316600482015260ff821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__90633889a4c890604401612b32565b60405163037c8cb160e51b815260ff821660048201525f90819073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af415801561301f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061304391906156e1565b1561306457604051631260077f60e21b815260048101859052602401611837565b50505f82815260076020526040908190208054915163037c8cb160e51b8152610100830460ff16600482018190526201000090930464ffffffffff1692919073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af41580156130dd573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061310191906156e1565b15613122576040516310b1404560e21b815260048101869052602401611837565b60ff8085161461315157805461313e90839060ff16818761178c565b805461ff00191661010060ff8616021781555b73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af4158015613198573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906131bc919061584a565b815464ffffffffff91909116620100000266ffffffffff00001990911617905590939092509050565b6001600160601b0382165f90815260056020526040808220549051638d38cd4b60e01b815264ffffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015613254573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061327891906156e1565b6132a057604051631e94ffd760e11b81526001600160601b0382166004820152602401611837565b6001600160601b038085165f908152600360205260409020546132c4911684613fd9565b6001600160601b038581165f90815260036020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507fc813323abc29b7cc59ddd274e5941cad2a987aa85c181fbde230bfb449b000969161333d9187918791879164ffffffffff90911690615865565b60405180910390a161334e8461405e565b5092915050565b600680545f918261336583615895565b9091555050600654604051633aac82ef60e11b8152600481019190915273__$b4c16f233b92c2c4124fb22a521f86c95b$__9063755905de90602401602060405180830381865af41580156133bc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906133e091906158b9565b905090565b604051634b00e98f60e11b8152600481018290525f9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015613435573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061345991906158d4565b60405163037c8cb160e51b815260ff8216600482015290915073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af41580156134ac573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906134d091906156e1565b156134f357604051633d61be7d60e11b815260ff82166004820152602401611837565b5f828152600760205260409081902080549151638d38cd4b60e01b81526201000090920464ffffffffff1660048301529073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af415801561355e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061358291906156e1565b156135ac57604051637791d47d60e01b81526004810184905260ff83166024820152604401611837565b6135b582612638565b6135d7576040516391eb5e8760e01b815260ff83166004820152602401611837565b5f73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af415801561361f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613643919061584a565b60ff9384165f81815260208190526040902054845461ffff19169091179416610100029390931766ffffffffff000019166201000064ffffffffff94909416939093029290921790555050565b6001600160601b0382165f90815260056020526040808220549051638d38cd4b60e01b815264ffffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af41580156136ff573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061372391906156e1565b61374b57604051631e94ffd760e11b81526001600160601b0382166004820152602401611837565b6001600160601b038085165f9081526004602052604090205461376f9116846140fd565b6001600160601b038581165f90815260046020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507f5d0252a8f87c13449ff1a0e89d6a9d8dff6a3860c4cbbae6bd98d16f0924115b9161333d9187918791879164ffffffffff90911690615865565b6001600160601b0382165f90815260056020526040808220549051638d38cd4b60e01b815264ffffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015613857573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061387b91906156e1565b6138a357604051631e94ffd760e11b81526001600160601b0382166004820152602401611837565b6001600160601b038085165f908152600360205260409020546138c79116846140fd565b6001600160601b038581165f90815260036020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507fcc72dbc9604f941e2273f4dfa0b71700384aa0f5da7c3fef80ecb075ac0010f89161333d9187918791879164ffffffffff90911690615865565b5f8051602061596283398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6139a8614147565b6139b181614190565b50565b6139bc614147565b6139c46141a1565b565b6001600160601b0382165f90815260056020526040808220549051638d38cd4b60e01b815264ffffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015613a35573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613a5991906156e1565b613a8157604051631e94ffd760e11b81526001600160601b0382166004820152602401611837565b6001600160601b038085165f90815260026020526040902054613aa5911684613fd9565b6001600160601b038581165f90815260026020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507fa9c12735dda7f4e5a00ab4e6a4cfdc194c4f03f3885a5f18abfa66b77b8cdae39161333d9187918791879164ffffffffff90911690615865565b6001600160601b0382165f90815260056020526040808220549051638d38cd4b60e01b815264ffffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015613b8d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613bb191906156e1565b613bd957604051631e94ffd760e11b81526001600160601b0382166004820152602401611837565b6001600160601b038085165f90815260026020526040902054613bfd9116846140fd565b6001600160601b038581165f90815260026020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507f561cfda68ea43752c3141f3761d148409c741e20d766a95c64721f2c6ace5ba29161333d9187918791879164ffffffffff90911690615865565b6001600160601b0381165f9081526005602052604090819020549051638d38cd4b60e01b815264ffffffffff909116600482015273__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015613ce4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613d0891906156e1565b15613d31576040516314d5804160e01b81526001600160601b0382166004820152602401611837565b613d3a8161405e565b6040516001600160601b03821681527f1c26f28e2d8f145150c4243339c6b20813ea2bbc4e6f19ea2c9905060c0411a99060200160405180910390a150565b6001600160601b0382165f90815260056020526040808220549051638d38cd4b60e01b815264ffffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015613de8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613e0c91906156e1565b613e3457604051631e94ffd760e11b81526001600160601b0382166004820152602401611837565b6001600160601b038085165f90815260046020526040902054613e58911684613fd9565b6001600160601b038581165f90815260046020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507f52a6c3cc342afb5a41442a5b4757dbdd11e508f0f75a902a75a29d0409905a999161333d9187918791879164ffffffffff90911690615865565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251613f3f91906158ef565b5f60405180830381855afa9150503d805f8114613f77576040519150601f19603f3d011682016040523d82523d5f602084013e613f7c565b606091505b50915091508115613fce576040815110613fae5780806020019051810190613fa49190615905565b9094509250613fce565b6020815110613fce5780806020019051810190613fcb91906156e1565b93505b505094509492505050565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb35906044015b602060405180830381865af415801561403a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c489190615932565b73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af41580156140a5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906140c9919061584a565b6001600160601b03919091165f908152600560205260409020805464ffffffffff191664ffffffffff909216919091179055565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa229060440161401f565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166139c457604051631afcd79f60e31b815260040160405180910390fd5b614198614147565b6139b181613940565b6141a96141f9565b6141b1614216565b6141b961424a565b6141c161428e565b6141c96142aa565b6141d16142f7565b6141d9614317565b6141e161432b565b6141e961436a565b6141f1614374565b6139c4614388565b61420660165b60056143b0565b6139c460165b60055b60c86143f2565b614220600b6141ff565b61422e600b6005606e6143f2565b61423c600b606e60056143f2565b6139c4600b606e60d26143f2565b6142566015600a6143b0565b6142656015600a5b60146143f2565b6142746015600a5b601e6143f2565b6142826015600a60286143f2565b6139c46015602861420f565b61429b602b5b603c6143b0565b6139c4602b5b603c60dc6143f2565b6142b6602d60326143b0565b6142c2602d603261425e565b6142d0602d603260336143f2565b6142dc602d603261426d565b6142e8602d603361420f565b6139c4602d60335b60486143f2565b614301602e614294565b61430b602e6142a1565b6139c4602e603c6142f0565b614321602c6141ff565b6139c4602c61420c565b614335602f6141ff565b614344602f60055b60466143f2565b614352602f600560076143f2565b61435e602f600761433d565b6139c4602f60056142f0565b6139c4600f6141ff565b61437e600c6141ff565b6139c460296141ff565b614392600e6141ff565b61439c60176141ff565b6143a660306141ff565b6139c460316141ff565b60ff8281165f9081526020819052604090205416156143d1576143d161594d565b60ff9182165f908152602081905260409020805460ff191691909216179055565b60ff8084165f908152600160209081526040808320868516845282528083208585168452909152902054161561442a5761442a61594d565b60ff9283165f9081526001602081815260408084209587168452948152848320939095168252919093529120805460ff19169091179055565b6001600160601b03811681146139b1575f80fd5b803561448281614463565b919050565b5f60208284031215614497575f80fd5b8135610c4881614463565b634e487b7160e01b5f52604160045260245ffd5b604080519081016001600160401b03811182821017156144d8576144d86144a2565b60405290565b60405160c081016001600160401b03811182821017156144d8576144d86144a2565b60405161010081016001600160401b03811182821017156144d8576144d86144a2565b60405160e081016001600160401b03811182821017156144d8576144d86144a2565b60405161014081016001600160401b03811182821017156144d8576144d86144a2565b64ffffffffff811681146139b1575f80fd5b803561448281614568565b6001600160a01b03811681146139b1575f80fd5b803561448281614585565b5f604082840312156145b4575f80fd5b6145bc6144b6565b905081356145c981614585565b815260208201356145d981614463565b602082015292915050565b5f82601f8301126145f3575f80fd5b8135602083015f806001600160401b03841115614612576146126144a2565b50604051601f19601f85018116603f011681018181106001600160401b0382111715614640576146406144a2565b604052838152905080828401871015614657575f80fd5b838360208301375f602085830101528094505050505092915050565b5f60e08284031215614683575f80fd5b61468b6144de565b9050813561469881614568565b815260208201356146a881614568565b60208201526146b96040830161457a565b60408201526146ca60608301614477565b60608201526146dc83608084016145a4565b608082015260c08201356001600160401b038111156146f9575f80fd5b614705848285016145e4565b60a08301525092915050565b60ff811681146139b1575f80fd5b5f805f60608486031215614731575f80fd5b833561473c81614463565b925060208401356001600160401b03811115614756575f80fd5b61476286828701614673565b925050604084013561477381614711565b809150509250925092565b5f6020828403121561478e575f80fd5b5035919050565b5f602082840312156147a5575f80fd5b8135610c4881614711565b6001600160c01b0319811681146139b1575f80fd5b5f602082840312156147d5575f80fd5b8135610c48816147b0565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f602083015161483d60408401826001600160601b03169052565b50604083015163ffffffff8116606084015250606083015163ffffffff811660808401525060808301516001600160a01b03811660a08401525060a083015164ffffffffff811660c08401525060c083015161010060e08401526148a56101208401826147e0565b905060e0840151601f19848303016101008501526148c382826147e0565b95945050505050565b5f80604083850312156148dd575f80fd5b82356148e881614463565b915060208301356148f881614463565b809150509250929050565b602081526001600160401b0360c01b825116602082015260208201511515604082015263ffffffff60408301511660608201525f606083015160808084015261494f60a08401826147e0565b949350505050565b80151581146139b1575f80fd5b803561448281614957565b63ffffffff811681146139b1575f80fd5b80356144828161496f565b5f6080828403121561499b575f80fd5b604051608081016001600160401b03811182821017156149bd576149bd6144a2565b60405290508082356149ce816147b0565b815260208301356149de81614957565b602082015260408301356149f18161496f565b604082015260608301356001600160401b03811115614a0e575f80fd5b614a1a858286016145e4565b6060830152505092915050565b5f805f60608486031215614a39575f80fd5b8335614a4481614463565b925060208401356001600160401b03811115614a5e575f80fd5b6147628682870161498b565b5f60408284031215614a7a575f80fd5b614a826144b6565b905081356001600160401b03811115614a99575f80fd5b614aa5848285016145e4565b82525060208201356145d981614585565b5f805f60608486031215614ac8575f80fd5b8335614ad381614463565b925060208401356001600160401b03811115614aed575f80fd5b61476286828701614a6a565b5f6101008284031215614b0a575f80fd5b614b12614500565b9050614b1d82614477565b8152614b2b60208301614477565b6020820152614b3c60408301614964565b6040820152614b4d6060830161457a565b6060820152614b5e6080830161457a565b608082015260a08201356001600160401b03811115614b7b575f80fd5b614b87848285016145e4565b60a08301525060c08201356001600160401b03811115614ba5575f80fd5b614bb1848285016145e4565b60c08301525060e08201356001600160401b03811115614bcf575f80fd5b614bdb848285016145e4565b60e08301525092915050565b5f60208284031215614bf7575f80fd5b81356001600160401b03811115614c0c575f80fd5b61494f84828501614af9565b5f8060408385031215614c29575f80fd5b8235614c3481614463565b915060208301356148f881614711565b6020815264ffffffffff825116602082015264ffffffffff602083015116604082015264ffffffffff60408301511660608201526001600160601b0360608301511660808201525f6080830151614cba60a084018280516001600160a01b031682526020908101516001600160601b0316910152565b5060a083015160e08084015261494f6101008401826147e0565b5f60e08284031215614ce4575f80fd5b614cec614523565b90508135614cf981614463565b81526020820135614d0981614585565b60208201526040820135614d1c81614585565b60408201526060820135614d2f81614957565b6060820152614d4060808301614964565b6080820152614d5160a08301614964565b60a0820152614d6260c08301614964565b60c082015292915050565b5f806101008385031215614d7f575f80fd5b8235614d8a81614463565b9150614d998460208501614cd4565b90509250929050565b5f6101008284031215614db3575f80fd5b614dbb614500565b9050614dc682614477565b8152614dd460208301614477565b6020820152614de560408301614980565b6040820152614df660608301614980565b6060820152614e0760808301614599565b6080820152614e1860a0830161457a565b60a082015260c08201356001600160401b03811115614ba5575f80fd5b5f8060408385031215614e46575f80fd5b8235614e51816147b0565b915060208301356001600160401b03811115614e6b575f80fd5b614e7785828601614da2565b9150509250929050565b5f6101408284031215614e92575f80fd5b614e9a614545565b9050614ea582614599565b8152614eb360208301614477565b6020820152614ec460408301614599565b6040820152614ed560608301614980565b6060820152614ee66080830161457a565b6080820152614ef760a08301614964565b60a0820152614f0860c08301614964565b60c0820152614f1960e08301614599565b60e08201526101008201356001600160401b03811115614f37575f80fd5b614f43848285016145e4565b610100830152506101208201356001600160401b03811115614f63575f80fd5b614f6f848285016145e4565b6101208301525092915050565b5f8060408385031215614f8d575f80fd5b8235614f98816147b0565b915060208301356001600160401b03811115614fb2575f80fd5b614e7785828601614e81565b5f805f8060808587031215614fd1575f80fd5b8435614fdc81614711565b93506020850135614fec81614711565b92506040850135614ffc81614711565b9150606085013561500c81614711565b939692955090935050565b5f60e0820190506001600160601b03835116825260018060a01b03602084015116602083015260018060a01b036040840151166040830152606083015115156060830152608083015161506e608084018215159052565b5060a083015161508260a084018215159052565b5060c083015161334e60c084018215159052565b6001600160401b03811681146139b1575f80fd5b5f805f606084860312156150bc575f80fd5b83356150c781615096565b925060208401356001600160401b038111156150e1575f80fd5b61476286828701614af9565b5f602082840312156150fd575f80fd5b8135610c4881614585565b5f805f6060848603121561511a575f80fd5b8335615125816147b0565b925060208401356001600160401b0381111561513f575f80fd5b61476286828701614e81565b5f805f6060848603121561515d575f80fd5b8335615168816147b0565b925060208401356001600160401b03811115615182575f80fd5b61476286828701614da2565b5f805f61012084860312156151a1575f80fd5b83356151ac81614463565b92506151bb8560208601614cd4565b915061010084013561477381614711565b5f80604083850312156151dd575f80fd5b8235614c34816147b0565b5f80604083850312156151f9575f80fd5b823561520481614463565b915060208301356001600160401b0381111561521e575f80fd5b614e7785828601614a6a565b5f806040838503121561523b575f80fd5b8235614c3481615096565b602081526152606020820183516001600160a01b03169052565b5f602083015161527b60408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015163ffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015180151560c08401525060c083015180151560e08401525060e08301516001600160a01b038116610100840152506101008301516101406101208401526153056101608401826147e0565b9050610120840151601f19848303016101408501526148c382826147e0565b5f8060408385031215615335575f80fd5b823561534081614463565b915060208301356001600160401b0381111561535a575f80fd5b614e7785828601614673565b5f805f60608486031215615378575f80fd5b833561538381614711565b9250602084013561539381614711565b9150604084013561477381614711565b602081525f8251604060208401526153be60608401826147e0565b602094909401516001600160a01b0316604093909301929092525090919050565b5f80604083850312156153f0575f80fd5b82356153fb81614711565b9150602083013560ff19811681146148f8575f80fd5b5f8060408385031215615422575f80fd5b823561542d81614463565b915060208301356001600160401b03811115615447575f80fd5b614e778582860161498b565b5f60208284031215615463575f80fd5b8135610c4881615096565b602081526154886020820183516001600160601b03169052565b5f60208301516154a360408401826001600160601b03169052565b506040830151801515606084015250606083015164ffffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015161010060c08401526154f36101208401826147e0565b905060c0840151601f198483030160e085015261551082826147e0565b91505060e0840151601f19848303016101008501526148c382826147e0565b600181811c9082168061554357607f821691505b60208210810361556157634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156155ab57805f5260205f20601f840160051c8101602085101561558c5750805b601f840160051c820191505b81811015611fcf575f8155600101615598565b505050565b81516001600160401b038111156155c9576155c96144a2565b6155dd816155d7845461552f565b84615567565b6020601f82116001811461560f575f83156155f85750848201515b5f19600385901b1c1916600184901b178455611fcf565b5f84815260208120601f198516915b8281101561563e578785015182556020948501946001909201910161561e565b508482101561565b57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b6001600160601b0396909616865260ff94851660208701529290931660408501526001600160a01b039081166060850152909116608083015264ffffffffff1660a082015260c00190565b6001600160c01b031991909116815260200190565b5f602082840312156156da575f80fd5b5051919050565b5f602082840312156156f1575f80fd5b8151610c4881614957565b6001600160401b0396909616865260ff94851660208701529290931660408501526001600160a01b039081166060850152909116608083015264ffffffffff1660a082015260c00190565b6001600160c01b031996909616865260ff94851660208701529290931660408501526001600160a01b039081166060850152909116608083015264ffffffffff1660a082015260c00190565b5f602082840312156157a3575f80fd5b8151610c4881614585565b5f80858511156157bc575f80fd5b838611156157c8575f80fd5b5050820193919092039150565b80356001600160e01b0319811690600484101561334e576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f6020828403121561585a575f80fd5b8151610c4881614568565b6001600160601b03948516815292841660208401529216604082015264ffffffffff909116606082015260800190565b5f600182016158b257634e487b7160e01b5f52601160045260245ffd5b5060010190565b5f602082840312156158c9575f80fd5b8151610c4881615096565b5f602082840312156158e4575f80fd5b8151610c4881614711565b5f82518060208501845e5f920191825250919050565b5f8060408385031215615916575f80fd5b825161592181614957565b60208401519092506148f88161496f565b5f60208284031215615942575f80fd5b8151610c4881614463565b634e487b7160e01b5f52600160045260245ffdfef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220f98746ee7e4d9d8c6a19c04f02e9ccd792e2c7d2da42a8e50f44e54843bf7d3964736f6c634300081a0033",
2682
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610297575f3560e01c80637d417f0d11610161578063b4d7efe2116100ca578063e9e96c7011610084578063e9e96c70146107b5578063f0ea17c3146107f2578063f48016ce14610812578063f9b3fe3c14610833578063fe1f18d614610846578063febe92af14610859575f80fd5b8063b4d7efe214610729578063bf1db3f91461073c578063bf7e214f1461074f578063d06458c61461076f578063d7719f461461078f578063e80c61ed146107a2575f80fd5b80639f8151e51161011b5780639f8151e514610633578063a284222914610646578063a5961b4c14610659578063af902500146106f0578063b0628dc314610703578063b1d7d56814610716575f80fd5b80637d417f0d146105a65780638129fc1c146105b95780638eb9000d146105c15780638fb36037146105ec578063962605591461060d57806396f4df2f14610620575f80fd5b806340529b0f1161020357806353ebe129116101bd57806353ebe129146104c757806354f1fa81146104da57806357f80bbf146104ed5780635eede1741461050d578063733044ca146105805780637a9e5e4b14610593575f80fd5b806340529b0f146104485780634793b4ab1461045b578063490840b41461047b5780634a8243921461048e5780634bb2d197146104a1578063533086d4146104b4575f80fd5b8063248a77dd11610254578063248a77dd146103a157806327b1d792146103b45780632bce2d7c146103d45780633048cb3c146103e757806334777712146103fa57806338a699a414610425575f80fd5b80630232ca491461029b57806308077cd9146102e357806309648a9d146102f85780630d358181146103315780631d3be47714610356578063228e42ec14610376575b5f80fd5b6102c66102a9366004614487565b6001600160601b039081165f908152600460205260409020541690565b6040516001600160601b0390911681526020015b60405180910390f35b6102f66102f136600461471f565b610879565b005b61031f61030636600461477e565b5f90815260076020526040902054610100900460ff1690565b60405160ff90911681526020016102da565b61031f61033f366004614795565b60ff9081165f908152602081905260409020541690565b6103696103643660046147c5565b6109c0565b6040516102da919061480e565b6102c6610384366004614487565b6001600160601b039081165f908152600260205260409020541690565b6102c66103af3660046148cc565b610c34565b6103c76103c2366004614487565b610c4f565b6040516102da9190614903565b6102f66103e2366004614a27565b610ce9565b6102f66103f5366004614ab6565b610dc3565b61040d610408366004614be7565b610e6d565b6040516001600160401b0390911681526020016102da565b61043861043336600461477e565b61105f565b60405190151581526020016102da565b6102f6610456366004614c18565b6110ed565b61046e610469366004614487565b61115c565b6040516102da9190614c44565b6102f6610489366004614d6d565b61124f565b6102f661049c366004614e35565b611395565b6102f66104af366004614f7c565b61157e565b6102c66104c23660046148cc565b611764565b6102c66104d53660046148cc565b611778565b6102f66104e8366004614fbe565b61178c565b6105006104fb366004614487565b6118ea565b6040516102da9190615017565b61055661051b366004614487565b6001600160601b039081165f908152600260209081526040808320546003835281842054600490935292205491831693908316929190911690565b604080516001600160601b03948516815292841660208401529216918101919091526060016102da565b6102f661058e3660046150aa565b6119cb565b6102f66105a13660046150ed565b611b82565b6102f66105b4366004615108565b611c08565b6102f6611e5e565b6102c66105cf366004614487565b6001600160601b039081165f908152600360205260409020541690565b6105f4611fd6565b6040516001600160e01b031990911681526020016102da565b6102f661061b36600461514b565b61200c565b6102f661062e36600461518e565b6121cd565b6102c66106413660046148cc565b6122e5565b6102f66106543660046151cc565b6122f9565b6106bf61066736600461477e565b60408051606080820183525f80835260208084018290529284018190529384526007825292829020825193840183525460ff80821685526101008204169184019190915262010000900464ffffffffff169082015290565b60408051825160ff9081168252602080850151909116908201529181015164ffffffffff16908201526060016102da565b6102f66106fe3660046151cc565b6123cf565b6102c66107113660046148cc565b6124a5565b6102f66107243660046151e8565b6124b9565b6102f661073736600461522a565b612568565b61043861074a366004614795565b612638565b610757612684565b6040516001600160a01b0390911681526020016102da565b61078261077d3660046147c5565b61269f565b6040516102da9190615246565b6102f661079d366004615324565b6128be565b6102c66107b03660046148cc565b6129f8565b6104386107c3366004615366565b60ff9283165f908152600160209081526040808320948616835293815283822092851682529190915220541690565b610805610800366004614487565b612a0c565b6040516102da91906153a3565b6108256108203660046153df565b612af0565b6040519081526020016102da565b6102f6610841366004615411565b612b71565b6102f6610854366004614c18565b612c51565b61086c610867366004615453565b612cb1565b6040516102da919061546e565b610885335b5f36612e82565b5f610891846016612f80565b90505f8061089f8385612fcb565b5f858152600d602090815260409182902089518154838c0151948c015160608d01516001600160601b03908116600160781b026bffffffffffffffffffffffff60781b1964ffffffffff938416600160501b0216600160501b600160d81b0319988416650100000000000269ffffffffffffffffffff19909516939095169290921792909217959095169190911793909317815560808a01518051920151909216600160a01b026001600160a01b0390911617600182015560a08801519294509092508691600282019061097390826155b0565b509050507f2f017e855ca4666f28134f4e57d6c215643dd22172128f0455f479cd7c57f2e88682863332876040516109b09695949392919061566a565b60405180910390a1505050505050565b60408051610100810182525f8082526020820181905281830181905260608083018290526080830182905260a0830182905260c0830181905260e083015291516355ee627560e01b81529091600c9173__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590610a43906001600160c01b03198816906004016156b5565b602060405180830381865af4158015610a5e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a8291906156ca565b815260208082019290925260409081015f2081516101008101835281546001600160601b038082168352600160601b8204169482019490945263ffffffff600160c01b8504811693820193909352600160e01b909304909116606083015260018101546001600160a01b038116608084015264ffffffffff600160a01b9091041660a083015260028101805460c084019190610b1d9061552f565b80601f0160208091040260200160405190810160405280929190818152602001828054610b499061552f565b8015610b945780601f10610b6b57610100808354040283529160200191610b94565b820191905f5260205f20905b815481529060010190602001808311610b7757829003601f168201915b50505050508152602001600382018054610bad9061552f565b80601f0160208091040260200160405190810160405280929190818152602001828054610bd99061552f565b8015610c245780601f10610bfb57610100808354040283529160200191610c24565b820191905f5260205f20905b815481529060010190602001808311610c0757829003601f168201915b5050505050815250509050919050565b5f610c3e3361087e565b610c4883836131e5565b9392505050565b604080516080810182525f8082526020820181905291810191909152606080820152600b5f610c7f846017612f80565b815260208082019290925260409081015f208151608081018352815460c081901b6001600160c01b0319168252600160401b810460ff16151594820194909452600160481b90930463ffffffff1691830191909152600181018054606084019190610bad9061552f565b610cf23361087e565b5f610cfe846017612f80565b90505f80610d0c8385612fcb565b5f858152600b602090815260409182902089518154928b0151938b015163ffffffff16600160481b0263ffffffff60481b19941515600160401b0268ffffffffffffffffff1990941660c09290921c919091179290921792909216178155606088015192945090925086916001820190610d8690826155b0565b509050507fe960847e97f8a43de8e7a7a6152c864a89cb6b55e8b46681b41d4c614fbee9778682863332876040516109b09695949392919061566a565b610dcc3361087e565b5f610dd884600b612f80565b90505f80610de68385612fcb565b5f858152600860205260409020875192945090925086918190610e0990826155b0565b5060209190910151600190910180546001600160a01b0319166001600160a01b039092169190911790556040517ffb6ab1b17bdd1e79b770513680d33dd87b6b352476f3d4f9fc2418ad57ab9905906109b09088908490889033903290899061566a565b5f610e773361087e565b610e7f613355565b604051630f37f38f60e41b81526001600160401b03821660048201529091505f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015610eda573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610efe91906156ca565b9050610f09816133e5565b5f818152600e602090815260409182902085518154928701519387015160608801516001600160601b039283166001600160c01b031990951694909417600160601b92909516919091029390931765ffffffffffff60c01b1916600160c01b9315159390930264ffffffffff60c81b191692909217600160c81b64ffffffffff92831602178255608085015160018301805464ffffffffff19169190921617905560a08401518491906002820190610fc190826155b0565b5060c08201516003820190610fd690826155b0565b5060e08201516004820190610feb90826155b0565b5050505f818152600760205260409020547fe296db687d9aabcda96659491302a529c398d8dcf066ecab41adebed06a71d55908390610100900460ff16604080516001600160401b03909316835260ff9091166020830152339082015232606082015260800160405180910390a150919050565b5f8181526007602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf906024015b602060405180830381865af41580156110c3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110e791906156e1565b92915050565b6110f63361087e565b5f611102836017612f80565b90505f806111108385612fcb565b915091507fe960847e97f8a43de8e7a7a6152c864a89cb6b55e8b46681b41d4c614fbee97785828633328760405161114d9695949392919061566a565b60405180910390a15050505050565b6111a36040805160c0810182525f80825260208083018290528284018290526060830182905283518085019094528184528301529060808201908152602001606081525090565b600d5f6111b1846016612f80565b815260208082019290925260409081015f20815160c081018352815464ffffffffff8082168352650100000000008204811683870152600160501b820416828501526001600160601b03600160781b90910481166060830152835180850190945260018301546001600160a01b0381168552600160a01b90041693830193909352608083019190915260028101805460a084019190610bad9061552f565b6112583361087e565b5f61126483600f612f80565b905061126f816133e5565b5f8181526009602090815260408083208551868401516001600160601b03909116600160601b6001600160a01b03928316021782558683015160019092018054606089015160808a015160a08b015160c08c0151969095166001600160a81b031990931692909217600160a01b911515919091021761ffff60a81b1916600160a81b9115159190910260ff60b01b191617600160b01b921515929092029190911760ff60b81b1916600160b81b9215159290920291909117905560079091529020547f55c89d942c4cdaf50df15dfa812580b4246be40868dd2e7b4f002ec972657d6b908490610100900460ff165b604080516001600160601b03909316835260ff909116602083015233908201523260608201526080015b60405180910390a1505050565b61139e3361087e565b6040516355ee627560e01b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee6275906113e1906001600160c01b03198716906004016156b5565b602060405180830381865af41580156113fc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061142091906156ca565b905061142b816133e5565b5f818152600c6020908152604091829020845181549286015193860151606087015163ffffffff908116600160e01b026001600160e01b0391909216600160c01b02166001600160c01b036001600160601b03968716600160601b026001600160c01b03199096169690931695909517939093171692909217178155608083015160018201805460a086015164ffffffffff16600160a01b026001600160c81b03199091166001600160a01b039093169290921791909117905560c083015183919060028201906114fc90826155b0565b5060e0820151600382019061151190826155b0565b5050505f818152600760205260409020547f91da34dfa31974c4906c0658e7beb45ba0721f93a70e50942e77932cce7d8b0d908490610100900460ff165b604080516001600160c01b0319909316835260ff90911660208301523390820152326060820152608001611388565b6115873361087e565b6040516355ee627560e01b81525f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee6275906115ca906001600160c01b03198716906004016156b5565b602060405180830381865af41580156115e5573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061160991906156ca565b9050611614816133e5565b5f818152600a60209081526040918290208451918501516001600160a01b03928316600160a01b6001600160601b039092168202178255928501516001820180546060880151608089015160a08a015160c08b01519588166001600160c01b03199094169390931763ffffffff9092169097021765ffffffffffff60c01b1916600160c01b64ffffffffff9097169690960260ff60e81b191695909517600160e81b951515959095029490941760ff60f01b1916600160f01b911515919091021790925560e08401516002830180546001600160a01b03191691909216179055610100830151839190600382019061170c90826155b0565b50610120820151600482019061172290826155b0565b5050505f818152600760205260409020547f05bfde9bf10cfb02076d77cd133bc8b091c41ef515166c17b2361a684fc6b924908490610100900460ff1661154f565b5f61176e3361087e565b610c488383613690565b5f6117823361087e565b610c4883836137e8565b60ff8381165f908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af41580156117ee573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061181291906156e1565b156118405760405163ea01ac1f60e01b815230600482015260ff841660248201526044015b60405180910390fd5b60ff808516908316146118815760405163bae587e160e01b815230600482015260ff8085166024830152808616604483015283166064820152608401611837565b60ff8084165f908152600160209081526040808320888516845282528083208585168452909152902054166118e45760405163f33b49a360e01b815230600482015260ff8085166024830152808616604483015282166064820152608401611837565b50505050565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c081019190915260095f61193084600f612f80565b815260208082019290925260409081015f20815160e08101835281546001600160601b03811682526001600160a01b03600160601b9091048116948201949094526001909101549283169181019190915260ff600160a01b8304811615156060830152600160a81b8304811615156080830152600160b01b83048116151560a0830152600160b81b909204909116151560c082015292915050565b6119d43361087e565b604051630f37f38f60e41b81526001600160401b03841660048201525f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015611a2c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a5091906156ca565b90505f80611a5e8385612fcb565b5f858152600e602090815260409182902089518154928b0151938b015160608c01516001600160601b039283166001600160c01b031990951694909417600160601b92909516919091029390931765ffffffffffff60c01b1916600160c01b9315159390930264ffffffffff60c81b191692909217600160c81b64ffffffffff92831602178255608089015160018301805464ffffffffff19169190921617905560a088015192945090925086916002820190611b1b90826155b0565b5060c08201516003820190611b3090826155b0565b5060e08201516004820190611b4590826155b0565b509050507fcd6efe20de8bda1c84f56479214f5c845ed9932acb46890901bb98bef682554d8682863332876040516109b0969594939291906156fc565b33611b8b612684565b6001600160a01b0316816001600160a01b031614611bc65760405162d1953b60e31b81526001600160a01b0382166004820152602401611837565b816001600160a01b03163b5f03611bfb576040516361798f2f60e11b81526001600160a01b0383166004820152602401611837565b611c0482613940565b5050565b611c113361087e565b6040516355ee627560e01b81525f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590611c54906001600160c01b03198816906004016156b5565b602060405180830381865af4158015611c6f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c9391906156ca565b90505f80611ca18385612fcb565b9150915084600a5f8581526020019081526020015f205f820151815f015f6101000a8154816001600160a01b0302191690836001600160a01b031602179055506020820151815f0160146101000a8154816001600160601b0302191690836001600160601b031602179055506040820151816001015f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060608201518160010160146101000a81548163ffffffff021916908363ffffffff16021790555060808201518160010160186101000a81548164ffffffffff021916908364ffffffffff16021790555060a082015181600101601d6101000a81548160ff02191690831515021790555060c082015181600101601e6101000a81548160ff02191690831515021790555060e0820151816002015f6101000a8154816001600160a01b0302191690836001600160a01b03160217905550610100820151816003019081611e0b91906155b0565b506101208201516004820190611e2190826155b0565b509050507fa8e6a06b96b5dad840c21bc79949e878d0f743ad0a1ba821d6d0870fcec079bb8682863332876040516109b096959493929190615747565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f81158015611ea25750825b90505f826001600160401b03166001148015611ebd5750303b155b905081158015611ecb575080155b15611ee95760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611f1357845460ff60401b1916600160401b1785555b5f3390505f816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f54573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f789190615793565b9050611f83816139a0565b611f8b6139b4565b50508315611fcf57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200161114d565b5050505050565b5f8051602061596283398151915280545f9190600160a01b900460ff16611ffd575f612006565b638fb3603760e01b5b91505090565b6120153361087e565b6040516355ee627560e01b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590612058906001600160c01b03198816906004016156b5565b602060405180830381865af4158015612073573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061209791906156ca565b90505f806120a58385612fcb565b5f858152600c602090815260409182902089518154928b0151938b015160608c015163ffffffff908116600160e01b026001600160e01b0391909216600160c01b02166001600160c01b036001600160601b03968716600160601b026001600160c01b03199096169690931695909517939093171692909217178155608088015160018201805460a08b015164ffffffffff16600160a01b026001600160c81b03199091166001600160a01b039093169290921791909117905560c08801519294509092508691600282019061217b90826155b0565b5060e0820151600382019061219090826155b0565b509050507fc4ad93e06e3375a8710bb9cd30ed30b0a69d9aab524480a05f51568c66b8e3c98682863332876040516109b096959493929190615747565b6121d63361087e565b5f6121e284600f612f80565b90505f806121f08385612fcb565b5f858152600960209081526040918290208951918a01516001600160601b03909216600160601b6001600160a01b0393841602178155898301516001909101805460608c015160808d015160a08e015160c08f0151959096166001600160a81b031990931692909217600160a01b911515919091021761ffff60a81b1916600160a81b9115159190910260ff60b01b191617600160b01b931515939093029290921760ff60b81b1916600160b81b911515919091021790555191935091507fab6330e3b0f09e536bb75b9c192c588e6833a785d9097c0483661778fc3b5ca1906109b09088908490889033903290899061566a565b5f6122ef3361087e565b610c4883836139c6565b6123023361087e565b6040516355ee627560e01b81525f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590612345906001600160c01b03198716906004016156b5565b602060405180830381865af4158015612360573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061238491906156ca565b90505f806123928385612fcb565b915091507fa8e6a06b96b5dad840c21bc79949e878d0f743ad0a1ba821d6d0870fcec079bb85828633328760405161114d96959493929190615747565b6123d83361087e565b6040516355ee627560e01b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee62759061241b906001600160c01b03198716906004016156b5565b602060405180830381865af4158015612436573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061245a91906156ca565b90505f806124688385612fcb565b915091507fc4ad93e06e3375a8710bb9cd30ed30b0a69d9aab524480a05f51568c66b8e3c985828633328760405161114d96959493929190615747565b5f6124af3361087e565b610c488383613b1e565b6124c23361087e565b6124cb82613c76565b5f6124d783600b612f80565b90506124e2816133e5565b5f8181526008602052604090208251839190819061250090826155b0565b50602091820151600190910180546001600160a01b0319166001600160a01b039092169190911790555f828152600790915260409020547f99debd4964e0a4ae18ad50bcea2c6cc21c02c47c6526460f830cda565bb35ffd908490610100900460ff1661135e565b6125713361087e565b604051630f37f38f60e41b81526001600160401b03831660048201525f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af41580156125c9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125ed91906156ca565b90505f806125fb8385612fcb565b915091507fcd6efe20de8bda1c84f56479214f5c845ed9932acb46890901bb98bef682554d85828633328760405161114d969594939291906156fc565b60ff8181165f9081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf906024016110a8565b5f80516020615962833981519152546001600160a01b031690565b60408051610140810182525f8082526020820181905281830181905260608083018290526080830182905260a0830182905260c0830182905260e08301829052610100830181905261012083015291516355ee627560e01b81529091600a9173__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590612732906001600160c01b03198816906004016156b5565b602060405180830381865af415801561274d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061277191906156ca565b815260208082019290925260409081015f2081516101408101835281546001600160a01b0380821683526001600160601b03600160a01b92839004169583019590955260018301548086169483019490945263ffffffff90840416606082015264ffffffffff600160c01b840416608082015260ff600160e81b84048116151560a0830152600160f01b909304909216151560c0830152600281015490921660e08201526003820180549192916101008401919061282e9061552f565b80601f016020809104026020016040519081016040528092919081815260200182805461285a9061552f565b80156128a55780601f1061287c576101008083540402835291602001916128a5565b820191905f5260205f20905b81548152906001019060200180831161288857829003601f168201915b50505050508152602001600482018054610bad9061552f565b6128c73361087e565b6128d082613c76565b5f6128dc836016612f80565b90506128e7816133e5565b5f818152600d602090815260409182902084518154838701519487015160608801516001600160601b03908116600160781b026bffffffffffffffffffffffff60781b1964ffffffffff938416600160501b0216600160501b600160d81b0319988416650100000000000269ffffffffffffffffffff19909516939095169290921792909217959095169190911793909317815560808501518051920151909216600160a01b026001600160a01b0390911617600182015560a083015183919060028201906129b690826155b0565b5050505f818152600760205260409020547fe4ae723f12a479272b917f87ec8cec8e499456fd990a74003daf0b80d0b32ed3908490610100900460ff1661135e565b5f612a023361087e565b610c488383613d79565b60408051808201909152606081525f602082015260085f612a2e84600b612f80565b81526020019081526020015f206040518060400160405290815f82018054612a559061552f565b80601f0160208091040260200160405190810160405280929190818152602001828054612a819061552f565b8015612acc5780601f10612aa357610100808354040283529160200191612acc565b820191905f5260205f20905b815481529060010190602001808311612aaf57829003601f168201915b5050509183525050600191909101546001600160a01b031660209091015292915050565b604051637a400b6760e11b815260ff8316600482015260ff19821660248201525f9073__$4b9aaffa8d044614668dad578b824b8eee$__9063f48016ce906044015b602060405180830381865af4158015612b4d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c4891906156ca565b612b7a3361087e565b612b8382613c76565b5f612b8f836017612f80565b9050612b9a816133e5565b5f818152600b602090815260409182902084518154928601519386015163ffffffff16600160481b0263ffffffff60481b19941515600160401b0268ffffffffffffffffff1990941660c09290921c91909117929092179290921617815560608301518391906001820190612c0f90826155b0565b5050505f818152600760205260409020547f74d7be5c20e6cf628ccae9cc370ffd1d2a95a8164eb772c89be0ed1242752d0e908490610100900460ff1661135e565b612c5a3361087e565b5f612c66836016612f80565b90505f80612c748385612fcb565b915091507f2f017e855ca4666f28134f4e57d6c215643dd22172128f0455f479cd7c57f2e885828633328760405161114d9695949392919061566a565b60408051610100810182525f8082526020820181905281830181905260608083018290526080830182905260a0830181905260c0830181905260e08301529151630f37f38f60e41b81526001600160401b03841660048201529091600e9173__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015612d49573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d6d91906156ca565b815260208082019290925260409081015f2081516101008101835281546001600160601b038082168352600160601b82041694820194909452600160c01b840460ff16151592810192909252600160c81b90920464ffffffffff9081166060830152600183015416608082015260028201805491929160a084019190612df29061552f565b80601f0160208091040260200160405190810160405280929190818152602001828054612e1e9061552f565b8015612e695780601f10612e4057610100808354040283529160200191612e69565b820191905f5260205f20905b815481529060010190602001808311612e4c57829003601f168201915b5050505050815260200160038201805461282e9061552f565b5f805160206159628339815191525f80612eba612e9d612684565b8730612eac60045f8a8c6157ae565b612eb5916157d5565b613ed1565b9150915081612f785763ffffffff811615612f5557825460ff60a01b1916600160a01b178355612ee8612684565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612f179392919061580b565b5f604051808303815f87803b158015612f2e575f80fd5b505af1158015612f40573d5f803e3d5ffd5b5050845460ff60a01b1916855550612f789050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401611837565b505050505050565b604051630711349960e31b81526001600160601b038316600482015260ff821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__90633889a4c890604401612b32565b60405163037c8cb160e51b815260ff821660048201525f90819073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af415801561301f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061304391906156e1565b1561306457604051631260077f60e21b815260048101859052602401611837565b50505f82815260076020526040908190208054915163037c8cb160e51b8152610100830460ff16600482018190526201000090930464ffffffffff1692919073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af41580156130dd573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061310191906156e1565b15613122576040516310b1404560e21b815260048101869052602401611837565b60ff8085161461315157805461313e90839060ff16818761178c565b805461ff00191661010060ff8616021781555b73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af4158015613198573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906131bc919061584a565b815464ffffffffff91909116620100000266ffffffffff00001990911617905590939092509050565b6001600160601b0382165f90815260056020526040808220549051638d38cd4b60e01b815264ffffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015613254573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061327891906156e1565b6132a057604051631e94ffd760e11b81526001600160601b0382166004820152602401611837565b6001600160601b038085165f908152600360205260409020546132c4911684613fd9565b6001600160601b038581165f90815260036020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507fc813323abc29b7cc59ddd274e5941cad2a987aa85c181fbde230bfb449b000969161333d9187918791879164ffffffffff90911690615865565b60405180910390a161334e8461405e565b5092915050565b600680545f918261336583615895565b9091555050600654604051633aac82ef60e11b8152600481019190915273__$b4c16f233b92c2c4124fb22a521f86c95b$__9063755905de90602401602060405180830381865af41580156133bc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906133e091906158b9565b905090565b604051634b00e98f60e11b8152600481018290525f9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015613435573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061345991906158d4565b60405163037c8cb160e51b815260ff8216600482015290915073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af41580156134ac573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906134d091906156e1565b156134f357604051633d61be7d60e11b815260ff82166004820152602401611837565b5f828152600760205260409081902080549151638d38cd4b60e01b81526201000090920464ffffffffff1660048301529073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af415801561355e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061358291906156e1565b156135ac57604051637791d47d60e01b81526004810184905260ff83166024820152604401611837565b6135b582612638565b6135d7576040516391eb5e8760e01b815260ff83166004820152602401611837565b5f73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af415801561361f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613643919061584a565b60ff9384165f81815260208190526040902054845461ffff19169091179416610100029390931766ffffffffff000019166201000064ffffffffff94909416939093029290921790555050565b6001600160601b0382165f90815260056020526040808220549051638d38cd4b60e01b815264ffffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af41580156136ff573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061372391906156e1565b61374b57604051631e94ffd760e11b81526001600160601b0382166004820152602401611837565b6001600160601b038085165f9081526004602052604090205461376f9116846140fd565b6001600160601b038581165f90815260046020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507f5d0252a8f87c13449ff1a0e89d6a9d8dff6a3860c4cbbae6bd98d16f0924115b9161333d9187918791879164ffffffffff90911690615865565b6001600160601b0382165f90815260056020526040808220549051638d38cd4b60e01b815264ffffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015613857573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061387b91906156e1565b6138a357604051631e94ffd760e11b81526001600160601b0382166004820152602401611837565b6001600160601b038085165f908152600360205260409020546138c79116846140fd565b6001600160601b038581165f90815260036020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507fcc72dbc9604f941e2273f4dfa0b71700384aa0f5da7c3fef80ecb075ac0010f89161333d9187918791879164ffffffffff90911690615865565b5f8051602061596283398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6139a8614147565b6139b181614190565b50565b6139bc614147565b6139c46141a1565b565b6001600160601b0382165f90815260056020526040808220549051638d38cd4b60e01b815264ffffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015613a35573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613a5991906156e1565b613a8157604051631e94ffd760e11b81526001600160601b0382166004820152602401611837565b6001600160601b038085165f90815260026020526040902054613aa5911684613fd9565b6001600160601b038581165f90815260026020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507fa9c12735dda7f4e5a00ab4e6a4cfdc194c4f03f3885a5f18abfa66b77b8cdae39161333d9187918791879164ffffffffff90911690615865565b6001600160601b0382165f90815260056020526040808220549051638d38cd4b60e01b815264ffffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015613b8d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613bb191906156e1565b613bd957604051631e94ffd760e11b81526001600160601b0382166004820152602401611837565b6001600160601b038085165f90815260026020526040902054613bfd9116846140fd565b6001600160601b038581165f90815260026020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507f561cfda68ea43752c3141f3761d148409c741e20d766a95c64721f2c6ace5ba29161333d9187918791879164ffffffffff90911690615865565b6001600160601b0381165f9081526005602052604090819020549051638d38cd4b60e01b815264ffffffffff909116600482015273__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015613ce4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613d0891906156e1565b15613d31576040516314d5804160e01b81526001600160601b0382166004820152602401611837565b613d3a8161405e565b6040516001600160601b03821681527f1c26f28e2d8f145150c4243339c6b20813ea2bbc4e6f19ea2c9905060c0411a99060200160405180910390a150565b6001600160601b0382165f90815260056020526040808220549051638d38cd4b60e01b815264ffffffffff9091166004820152839073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__90638d38cd4b90602401602060405180830381865af4158015613de8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613e0c91906156e1565b613e3457604051631e94ffd760e11b81526001600160601b0382166004820152602401611837565b6001600160601b038085165f90815260046020526040902054613e58911684613fd9565b6001600160601b038581165f90815260046020908152604080832080546001600160601b03191694861694909417909355600590528190205490519193507f52a6c3cc342afb5a41442a5b4757dbdd11e508f0f75a902a75a29d0409905a999161333d9187918791879164ffffffffff90911690615865565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251613f3f91906158ef565b5f60405180830381855afa9150503d805f8114613f77576040519150601f19603f3d011682016040523d82523d5f602084013e613f7c565b606091505b50915091508115613fce576040815110613fae5780806020019051810190613fa49190615905565b9094509250613fce565b6020815110613fce5780806020019051810190613fcb91906156e1565b93505b505094509492505050565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb35906044015b602060405180830381865af415801561403a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c489190615932565b73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af41580156140a5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906140c9919061584a565b6001600160601b03919091165f908152600560205260409020805464ffffffffff191664ffffffffff909216919091179055565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa229060440161401f565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166139c457604051631afcd79f60e31b815260040160405180910390fd5b614198614147565b6139b181613940565b6141a96141f9565b6141b1614216565b6141b961424a565b6141c161428e565b6141c96142aa565b6141d16142f7565b6141d9614317565b6141e161432b565b6141e961436a565b6141f1614374565b6139c4614388565b61420660165b60056143b0565b6139c460165b60055b60c86143f2565b614220600b6141ff565b61422e600b6005606e6143f2565b61423c600b606e60056143f2565b6139c4600b606e60d26143f2565b6142566015600a6143b0565b6142656015600a5b60146143f2565b6142746015600a5b601e6143f2565b6142826015600a60286143f2565b6139c46015602861420f565b61429b602b5b603c6143b0565b6139c4602b5b603c60dc6143f2565b6142b6602d60326143b0565b6142c2602d603261425e565b6142d0602d603260336143f2565b6142dc602d603261426d565b6142e8602d603361420f565b6139c4602d60335b60486143f2565b614301602e614294565b61430b602e6142a1565b6139c4602e603c6142f0565b614321602c6141ff565b6139c4602c61420c565b614335602f6141ff565b614344602f60055b60466143f2565b614352602f600560076143f2565b61435e602f600761433d565b6139c4602f60056142f0565b6139c4600f6141ff565b61437e600c6141ff565b6139c460296141ff565b614392600e6141ff565b61439c60176141ff565b6143a660306141ff565b6139c460316141ff565b60ff8281165f9081526020819052604090205416156143d1576143d161594d565b60ff9182165f908152602081905260409020805460ff191691909216179055565b60ff8084165f908152600160209081526040808320868516845282528083208585168452909152902054161561442a5761442a61594d565b60ff9283165f9081526001602081815260408084209587168452948152848320939095168252919093529120805460ff19169091179055565b6001600160601b03811681146139b1575f80fd5b803561448281614463565b919050565b5f60208284031215614497575f80fd5b8135610c4881614463565b634e487b7160e01b5f52604160045260245ffd5b604080519081016001600160401b03811182821017156144d8576144d86144a2565b60405290565b60405160c081016001600160401b03811182821017156144d8576144d86144a2565b60405161010081016001600160401b03811182821017156144d8576144d86144a2565b60405160e081016001600160401b03811182821017156144d8576144d86144a2565b60405161014081016001600160401b03811182821017156144d8576144d86144a2565b64ffffffffff811681146139b1575f80fd5b803561448281614568565b6001600160a01b03811681146139b1575f80fd5b803561448281614585565b5f604082840312156145b4575f80fd5b6145bc6144b6565b905081356145c981614585565b815260208201356145d981614463565b602082015292915050565b5f82601f8301126145f3575f80fd5b8135602083015f806001600160401b03841115614612576146126144a2565b50604051601f19601f85018116603f011681018181106001600160401b0382111715614640576146406144a2565b604052838152905080828401871015614657575f80fd5b838360208301375f602085830101528094505050505092915050565b5f60e08284031215614683575f80fd5b61468b6144de565b9050813561469881614568565b815260208201356146a881614568565b60208201526146b96040830161457a565b60408201526146ca60608301614477565b60608201526146dc83608084016145a4565b608082015260c08201356001600160401b038111156146f9575f80fd5b614705848285016145e4565b60a08301525092915050565b60ff811681146139b1575f80fd5b5f805f60608486031215614731575f80fd5b833561473c81614463565b925060208401356001600160401b03811115614756575f80fd5b61476286828701614673565b925050604084013561477381614711565b809150509250925092565b5f6020828403121561478e575f80fd5b5035919050565b5f602082840312156147a5575f80fd5b8135610c4881614711565b6001600160c01b0319811681146139b1575f80fd5b5f602082840312156147d5575f80fd5b8135610c48816147b0565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f602083015161483d60408401826001600160601b03169052565b50604083015163ffffffff8116606084015250606083015163ffffffff811660808401525060808301516001600160a01b03811660a08401525060a083015164ffffffffff811660c08401525060c083015161010060e08401526148a56101208401826147e0565b905060e0840151601f19848303016101008501526148c382826147e0565b95945050505050565b5f80604083850312156148dd575f80fd5b82356148e881614463565b915060208301356148f881614463565b809150509250929050565b602081526001600160401b0360c01b825116602082015260208201511515604082015263ffffffff60408301511660608201525f606083015160808084015261494f60a08401826147e0565b949350505050565b80151581146139b1575f80fd5b803561448281614957565b63ffffffff811681146139b1575f80fd5b80356144828161496f565b5f6080828403121561499b575f80fd5b604051608081016001600160401b03811182821017156149bd576149bd6144a2565b60405290508082356149ce816147b0565b815260208301356149de81614957565b602082015260408301356149f18161496f565b604082015260608301356001600160401b03811115614a0e575f80fd5b614a1a858286016145e4565b6060830152505092915050565b5f805f60608486031215614a39575f80fd5b8335614a4481614463565b925060208401356001600160401b03811115614a5e575f80fd5b6147628682870161498b565b5f60408284031215614a7a575f80fd5b614a826144b6565b905081356001600160401b03811115614a99575f80fd5b614aa5848285016145e4565b82525060208201356145d981614585565b5f805f60608486031215614ac8575f80fd5b8335614ad381614463565b925060208401356001600160401b03811115614aed575f80fd5b61476286828701614a6a565b5f6101008284031215614b0a575f80fd5b614b12614500565b9050614b1d82614477565b8152614b2b60208301614477565b6020820152614b3c60408301614964565b6040820152614b4d6060830161457a565b6060820152614b5e6080830161457a565b608082015260a08201356001600160401b03811115614b7b575f80fd5b614b87848285016145e4565b60a08301525060c08201356001600160401b03811115614ba5575f80fd5b614bb1848285016145e4565b60c08301525060e08201356001600160401b03811115614bcf575f80fd5b614bdb848285016145e4565b60e08301525092915050565b5f60208284031215614bf7575f80fd5b81356001600160401b03811115614c0c575f80fd5b61494f84828501614af9565b5f8060408385031215614c29575f80fd5b8235614c3481614463565b915060208301356148f881614711565b6020815264ffffffffff825116602082015264ffffffffff602083015116604082015264ffffffffff60408301511660608201526001600160601b0360608301511660808201525f6080830151614cba60a084018280516001600160a01b031682526020908101516001600160601b0316910152565b5060a083015160e08084015261494f6101008401826147e0565b5f60e08284031215614ce4575f80fd5b614cec614523565b90508135614cf981614463565b81526020820135614d0981614585565b60208201526040820135614d1c81614585565b60408201526060820135614d2f81614957565b6060820152614d4060808301614964565b6080820152614d5160a08301614964565b60a0820152614d6260c08301614964565b60c082015292915050565b5f806101008385031215614d7f575f80fd5b8235614d8a81614463565b9150614d998460208501614cd4565b90509250929050565b5f6101008284031215614db3575f80fd5b614dbb614500565b9050614dc682614477565b8152614dd460208301614477565b6020820152614de560408301614980565b6040820152614df660608301614980565b6060820152614e0760808301614599565b6080820152614e1860a0830161457a565b60a082015260c08201356001600160401b03811115614ba5575f80fd5b5f8060408385031215614e46575f80fd5b8235614e51816147b0565b915060208301356001600160401b03811115614e6b575f80fd5b614e7785828601614da2565b9150509250929050565b5f6101408284031215614e92575f80fd5b614e9a614545565b9050614ea582614599565b8152614eb360208301614477565b6020820152614ec460408301614599565b6040820152614ed560608301614980565b6060820152614ee66080830161457a565b6080820152614ef760a08301614964565b60a0820152614f0860c08301614964565b60c0820152614f1960e08301614599565b60e08201526101008201356001600160401b03811115614f37575f80fd5b614f43848285016145e4565b610100830152506101208201356001600160401b03811115614f63575f80fd5b614f6f848285016145e4565b6101208301525092915050565b5f8060408385031215614f8d575f80fd5b8235614f98816147b0565b915060208301356001600160401b03811115614fb2575f80fd5b614e7785828601614e81565b5f805f8060808587031215614fd1575f80fd5b8435614fdc81614711565b93506020850135614fec81614711565b92506040850135614ffc81614711565b9150606085013561500c81614711565b939692955090935050565b5f60e0820190506001600160601b03835116825260018060a01b03602084015116602083015260018060a01b036040840151166040830152606083015115156060830152608083015161506e608084018215159052565b5060a083015161508260a084018215159052565b5060c083015161334e60c084018215159052565b6001600160401b03811681146139b1575f80fd5b5f805f606084860312156150bc575f80fd5b83356150c781615096565b925060208401356001600160401b038111156150e1575f80fd5b61476286828701614af9565b5f602082840312156150fd575f80fd5b8135610c4881614585565b5f805f6060848603121561511a575f80fd5b8335615125816147b0565b925060208401356001600160401b0381111561513f575f80fd5b61476286828701614e81565b5f805f6060848603121561515d575f80fd5b8335615168816147b0565b925060208401356001600160401b03811115615182575f80fd5b61476286828701614da2565b5f805f61012084860312156151a1575f80fd5b83356151ac81614463565b92506151bb8560208601614cd4565b915061010084013561477381614711565b5f80604083850312156151dd575f80fd5b8235614c34816147b0565b5f80604083850312156151f9575f80fd5b823561520481614463565b915060208301356001600160401b0381111561521e575f80fd5b614e7785828601614a6a565b5f806040838503121561523b575f80fd5b8235614c3481615096565b602081526152606020820183516001600160a01b03169052565b5f602083015161527b60408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015163ffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015180151560c08401525060c083015180151560e08401525060e08301516001600160a01b038116610100840152506101008301516101406101208401526153056101608401826147e0565b9050610120840151601f19848303016101408501526148c382826147e0565b5f8060408385031215615335575f80fd5b823561534081614463565b915060208301356001600160401b0381111561535a575f80fd5b614e7785828601614673565b5f805f60608486031215615378575f80fd5b833561538381614711565b9250602084013561539381614711565b9150604084013561477381614711565b602081525f8251604060208401526153be60608401826147e0565b602094909401516001600160a01b0316604093909301929092525090919050565b5f80604083850312156153f0575f80fd5b82356153fb81614711565b9150602083013560ff19811681146148f8575f80fd5b5f8060408385031215615422575f80fd5b823561542d81614463565b915060208301356001600160401b03811115615447575f80fd5b614e778582860161498b565b5f60208284031215615463575f80fd5b8135610c4881615096565b602081526154886020820183516001600160601b03169052565b5f60208301516154a360408401826001600160601b03169052565b506040830151801515606084015250606083015164ffffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015161010060c08401526154f36101208401826147e0565b905060c0840151601f198483030160e085015261551082826147e0565b91505060e0840151601f19848303016101008501526148c382826147e0565b600181811c9082168061554357607f821691505b60208210810361556157634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156155ab57805f5260205f20601f840160051c8101602085101561558c5750805b601f840160051c820191505b81811015611fcf575f8155600101615598565b505050565b81516001600160401b038111156155c9576155c96144a2565b6155dd816155d7845461552f565b84615567565b6020601f82116001811461560f575f83156155f85750848201515b5f19600385901b1c1916600184901b178455611fcf565b5f84815260208120601f198516915b8281101561563e578785015182556020948501946001909201910161561e565b508482101561565b57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b6001600160601b0396909616865260ff94851660208701529290931660408501526001600160a01b039081166060850152909116608083015264ffffffffff1660a082015260c00190565b6001600160c01b031991909116815260200190565b5f602082840312156156da575f80fd5b5051919050565b5f602082840312156156f1575f80fd5b8151610c4881614957565b6001600160401b0396909616865260ff94851660208701529290931660408501526001600160a01b039081166060850152909116608083015264ffffffffff1660a082015260c00190565b6001600160c01b031996909616865260ff94851660208701529290931660408501526001600160a01b039081166060850152909116608083015264ffffffffff1660a082015260c00190565b5f602082840312156157a3575f80fd5b8151610c4881614585565b5f80858511156157bc575f80fd5b838611156157c8575f80fd5b5050820193919092039150565b80356001600160e01b0319811690600484101561334e576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f6020828403121561585a575f80fd5b8151610c4881614568565b6001600160601b03948516815292841660208401529216604082015264ffffffffff909116606082015260800190565b5f600182016158b257634e487b7160e01b5f52601160045260245ffd5b5060010190565b5f602082840312156158c9575f80fd5b8151610c4881615096565b5f602082840312156158e4575f80fd5b8151610c4881614711565b5f82518060208501845e5f920191825250919050565b5f8060408385031215615916575f80fd5b825161592181614957565b60208401519092506148f88161496f565b5f60208284031215615942575f80fd5b8151610c4881614463565b634e487b7160e01b5f52600160045260245ffdfef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220f98746ee7e4d9d8c6a19c04f02e9ccd792e2c7d2da42a8e50f44e54843bf7d3964736f6c634300081a0033",
3218
2683
  "linkReferences": {
3219
2684
  "contracts/type/Amount.sol": {
3220
2685
  "AmountLib": [
3221
2686
  {
3222
2687
  "length": 20,
3223
- "start": 13451
2688
+ "start": 16417
3224
2689
  },
3225
2690
  {
3226
2691
  "length": 20,
3227
- "start": 13747
2692
+ "start": 16709
3228
2693
  }
3229
2694
  ]
3230
2695
  },
@@ -3232,95 +2697,95 @@
3232
2697
  "BlocknumberLib": [
3233
2698
  {
3234
2699
  "length": 20,
3235
- "start": 13303
2700
+ "start": 12659
3236
2701
  },
3237
2702
  {
3238
2703
  "length": 20,
3239
- "start": 13548
3240
- }
3241
- ]
3242
- },
3243
- "contracts/type/ClaimId.sol": {
3244
- "ClaimIdLib": [
2704
+ "start": 12860
2705
+ },
3245
2706
  {
3246
2707
  "length": 20,
3247
- "start": 8798
3248
- }
3249
- ]
3250
- },
3251
- "contracts/type/DistributorType.sol": {
3252
- "DistributorTypeLib": [
2708
+ "start": 13638
2709
+ },
3253
2710
  {
3254
2711
  "length": 20,
3255
- "start": 3443
2712
+ "start": 13818
3256
2713
  },
3257
2714
  {
3258
2715
  "length": 20,
3259
- "start": 4141
2716
+ "start": 14055
3260
2717
  },
3261
2718
  {
3262
2719
  "length": 20,
3263
- "start": 5310
3264
- }
3265
- ]
3266
- },
3267
- "contracts/type/Key32.sol": {
3268
- "Key32Lib": [
2720
+ "start": 14399
2721
+ },
3269
2722
  {
3270
2723
  "length": 20,
3271
- "start": 6793
2724
+ "start": 14877
3272
2725
  },
3273
2726
  {
3274
2727
  "length": 20,
3275
- "start": 7379
2728
+ "start": 15221
3276
2729
  },
3277
2730
  {
3278
2731
  "length": 20,
3279
- "start": 7495
2732
+ "start": 15564
3280
2733
  },
3281
2734
  {
3282
2735
  "length": 20,
3283
- "start": 7832
2736
+ "start": 15824
3284
2737
  },
3285
2738
  {
3286
2739
  "length": 20,
3287
- "start": 8493
2740
+ "start": 16512
2741
+ }
2742
+ ]
2743
+ },
2744
+ "contracts/type/DistributorType.sol": {
2745
+ "DistributorTypeLib": [
2746
+ {
2747
+ "length": 20,
2748
+ "start": 5560
3288
2749
  },
3289
2750
  {
3290
2751
  "length": 20,
3291
- "start": 8609
2752
+ "start": 7234
3292
2753
  },
3293
2754
  {
3294
2755
  "length": 20,
3295
- "start": 9354
2756
+ "start": 9011
3296
2757
  },
3297
2758
  {
3298
2759
  "length": 20,
3299
- "start": 9470
2760
+ "start": 10016
3300
2761
  }
3301
2762
  ]
3302
2763
  },
3303
- "contracts/type/NftId.sol": {
3304
- "NftIdLib": [
2764
+ "contracts/type/Key32.sol": {
2765
+ "Key32Lib": [
2766
+ {
2767
+ "length": 20,
2768
+ "start": 11060
2769
+ },
3305
2770
  {
3306
2771
  "length": 20,
3307
- "start": 7246
2772
+ "start": 13341
3308
2773
  }
3309
2774
  ]
3310
2775
  },
3311
- "contracts/type/ObjectType.sol": {
3312
- "ObjectTypeLib": [
2776
+ "contracts/type/NftId.sol": {
2777
+ "NftIdLib": [
3313
2778
  {
3314
2779
  "length": 20,
3315
- "start": 7953
2780
+ "start": 12233
3316
2781
  }
3317
2782
  ]
3318
2783
  },
3319
- "contracts/type/PayoutId.sol": {
3320
- "PayoutIdLib": [
2784
+ "contracts/type/ObjectType.sol": {
2785
+ "ObjectTypeLib": [
3321
2786
  {
3322
2787
  "length": 20,
3323
- "start": 8876
2788
+ "start": 13460
3324
2789
  }
3325
2790
  ]
3326
2791
  },
@@ -3328,15 +2793,19 @@
3328
2793
  "ReferralLib": [
3329
2794
  {
3330
2795
  "length": 20,
3331
- "start": 4301
2796
+ "start": 2609
3332
2797
  },
3333
2798
  {
3334
2799
  "length": 20,
3335
- "start": 5878
2800
+ "start": 5071
3336
2801
  },
3337
2802
  {
3338
2803
  "length": 20,
3339
- "start": 6603
2804
+ "start": 8262
2805
+ },
2806
+ {
2807
+ "length": 20,
2808
+ "start": 9225
3340
2809
  }
3341
2810
  ]
3342
2811
  },
@@ -3344,35 +2813,23 @@
3344
2813
  "RequestIdLib": [
3345
2814
  {
3346
2815
  "length": 20,
3347
- "start": 2729
3348
- },
3349
- {
3350
- "length": 20,
3351
- "start": 3091
2816
+ "start": 3778
3352
2817
  },
3353
2818
  {
3354
2819
  "length": 20,
3355
- "start": 5992
2820
+ "start": 6676
3356
2821
  },
3357
2822
  {
3358
2823
  "length": 20,
3359
- "start": 7708
3360
- }
3361
- ]
3362
- },
3363
- "contracts/type/RiskId.sol": {
3364
- "RiskIdLib": [
3365
- {
3366
- "length": 20,
3367
- "start": 3283
2824
+ "start": 9649
3368
2825
  },
3369
2826
  {
3370
2827
  "length": 20,
3371
- "start": 4717
2828
+ "start": 11569
3372
2829
  },
3373
2830
  {
3374
2831
  "length": 20,
3375
- "start": 5477
2832
+ "start": 13220
3376
2833
  }
3377
2834
  ]
3378
2835
  },
@@ -3380,27 +2837,23 @@
3380
2837
  "StateIdLib": [
3381
2838
  {
3382
2839
  "length": 20,
3383
- "start": 3641
3384
- },
3385
- {
3386
- "length": 20,
3387
- "start": 5652
2840
+ "start": 4266
3388
2841
  },
3389
2842
  {
3390
2843
  "length": 20,
3391
- "start": 6131
2844
+ "start": 6102
3392
2845
  },
3393
2846
  {
3394
2847
  "length": 20,
3395
- "start": 8129
2848
+ "start": 9858
3396
2849
  },
3397
2850
  {
3398
2851
  "length": 20,
3399
- "start": 8937
2852
+ "start": 12295
3400
2853
  },
3401
2854
  {
3402
2855
  "length": 20,
3403
- "start": 9127
2856
+ "start": 12485
3404
2857
  }
3405
2858
  ]
3406
2859
  }
@@ -3410,11 +2863,11 @@
3410
2863
  "AmountLib": [
3411
2864
  {
3412
2865
  "length": 20,
3413
- "start": 13418
2866
+ "start": 16385
3414
2867
  },
3415
2868
  {
3416
2869
  "length": 20,
3417
- "start": 13714
2870
+ "start": 16677
3418
2871
  }
3419
2872
  ]
3420
2873
  },
@@ -3422,95 +2875,95 @@
3422
2875
  "BlocknumberLib": [
3423
2876
  {
3424
2877
  "length": 20,
3425
- "start": 13270
2878
+ "start": 12627
3426
2879
  },
3427
2880
  {
3428
2881
  "length": 20,
3429
- "start": 13515
3430
- }
3431
- ]
3432
- },
3433
- "contracts/type/ClaimId.sol": {
3434
- "ClaimIdLib": [
2882
+ "start": 12828
2883
+ },
3435
2884
  {
3436
2885
  "length": 20,
3437
- "start": 8765
3438
- }
3439
- ]
3440
- },
3441
- "contracts/type/DistributorType.sol": {
3442
- "DistributorTypeLib": [
2886
+ "start": 13606
2887
+ },
3443
2888
  {
3444
2889
  "length": 20,
3445
- "start": 3410
2890
+ "start": 13786
3446
2891
  },
3447
2892
  {
3448
2893
  "length": 20,
3449
- "start": 4108
2894
+ "start": 14023
3450
2895
  },
3451
2896
  {
3452
2897
  "length": 20,
3453
- "start": 5277
3454
- }
3455
- ]
3456
- },
3457
- "contracts/type/Key32.sol": {
3458
- "Key32Lib": [
2898
+ "start": 14367
2899
+ },
3459
2900
  {
3460
2901
  "length": 20,
3461
- "start": 6760
2902
+ "start": 14845
3462
2903
  },
3463
2904
  {
3464
2905
  "length": 20,
3465
- "start": 7346
2906
+ "start": 15189
3466
2907
  },
3467
2908
  {
3468
2909
  "length": 20,
3469
- "start": 7462
2910
+ "start": 15532
3470
2911
  },
3471
2912
  {
3472
2913
  "length": 20,
3473
- "start": 7799
2914
+ "start": 15792
3474
2915
  },
3475
2916
  {
3476
2917
  "length": 20,
3477
- "start": 8460
2918
+ "start": 16480
2919
+ }
2920
+ ]
2921
+ },
2922
+ "contracts/type/DistributorType.sol": {
2923
+ "DistributorTypeLib": [
2924
+ {
2925
+ "length": 20,
2926
+ "start": 5528
3478
2927
  },
3479
2928
  {
3480
2929
  "length": 20,
3481
- "start": 8576
2930
+ "start": 7202
3482
2931
  },
3483
2932
  {
3484
2933
  "length": 20,
3485
- "start": 9321
2934
+ "start": 8979
3486
2935
  },
3487
2936
  {
3488
2937
  "length": 20,
3489
- "start": 9437
2938
+ "start": 9984
3490
2939
  }
3491
2940
  ]
3492
2941
  },
3493
- "contracts/type/NftId.sol": {
3494
- "NftIdLib": [
2942
+ "contracts/type/Key32.sol": {
2943
+ "Key32Lib": [
2944
+ {
2945
+ "length": 20,
2946
+ "start": 11028
2947
+ },
3495
2948
  {
3496
2949
  "length": 20,
3497
- "start": 7213
2950
+ "start": 13309
3498
2951
  }
3499
2952
  ]
3500
2953
  },
3501
- "contracts/type/ObjectType.sol": {
3502
- "ObjectTypeLib": [
2954
+ "contracts/type/NftId.sol": {
2955
+ "NftIdLib": [
3503
2956
  {
3504
2957
  "length": 20,
3505
- "start": 7920
2958
+ "start": 12201
3506
2959
  }
3507
2960
  ]
3508
2961
  },
3509
- "contracts/type/PayoutId.sol": {
3510
- "PayoutIdLib": [
2962
+ "contracts/type/ObjectType.sol": {
2963
+ "ObjectTypeLib": [
3511
2964
  {
3512
2965
  "length": 20,
3513
- "start": 8843
2966
+ "start": 13428
3514
2967
  }
3515
2968
  ]
3516
2969
  },
@@ -3518,15 +2971,19 @@
3518
2971
  "ReferralLib": [
3519
2972
  {
3520
2973
  "length": 20,
3521
- "start": 4268
2974
+ "start": 2577
2975
+ },
2976
+ {
2977
+ "length": 20,
2978
+ "start": 5039
3522
2979
  },
3523
2980
  {
3524
2981
  "length": 20,
3525
- "start": 5845
2982
+ "start": 8230
3526
2983
  },
3527
2984
  {
3528
2985
  "length": 20,
3529
- "start": 6570
2986
+ "start": 9193
3530
2987
  }
3531
2988
  ]
3532
2989
  },
@@ -3534,35 +2991,23 @@
3534
2991
  "RequestIdLib": [
3535
2992
  {
3536
2993
  "length": 20,
3537
- "start": 2696
3538
- },
3539
- {
3540
- "length": 20,
3541
- "start": 3058
2994
+ "start": 3746
3542
2995
  },
3543
2996
  {
3544
2997
  "length": 20,
3545
- "start": 5959
2998
+ "start": 6644
3546
2999
  },
3547
3000
  {
3548
3001
  "length": 20,
3549
- "start": 7675
3550
- }
3551
- ]
3552
- },
3553
- "contracts/type/RiskId.sol": {
3554
- "RiskIdLib": [
3555
- {
3556
- "length": 20,
3557
- "start": 3250
3002
+ "start": 9617
3558
3003
  },
3559
3004
  {
3560
3005
  "length": 20,
3561
- "start": 4684
3006
+ "start": 11537
3562
3007
  },
3563
3008
  {
3564
3009
  "length": 20,
3565
- "start": 5444
3010
+ "start": 13188
3566
3011
  }
3567
3012
  ]
3568
3013
  },
@@ -3570,27 +3015,23 @@
3570
3015
  "StateIdLib": [
3571
3016
  {
3572
3017
  "length": 20,
3573
- "start": 3608
3574
- },
3575
- {
3576
- "length": 20,
3577
- "start": 5619
3018
+ "start": 4234
3578
3019
  },
3579
3020
  {
3580
3021
  "length": 20,
3581
- "start": 6098
3022
+ "start": 6070
3582
3023
  },
3583
3024
  {
3584
3025
  "length": 20,
3585
- "start": 8096
3026
+ "start": 9826
3586
3027
  },
3587
3028
  {
3588
3029
  "length": 20,
3589
- "start": 8904
3030
+ "start": 12263
3590
3031
  },
3591
3032
  {
3592
3033
  "length": 20,
3593
- "start": 9094
3034
+ "start": 12453
3594
3035
  }
3595
3036
  ]
3596
3037
  }