@etherisc/gif-next 0.0.2-e9a637d-547 → 0.0.2-e9c25ee-730

Sign up to get free protection for your applications and to get access to all the features.
Files changed (728) hide show
  1. package/README.md +136 -22
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1007 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +744 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +791 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1672 -0
  10. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.json +24 -0
  12. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1255 -0
  14. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1403 -0
  16. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  17. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +790 -0
  18. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  19. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  20. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1322 -0
  22. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +455 -0
  24. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +397 -0
  26. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  27. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +646 -0
  28. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1209 -0
  30. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +805 -0
  32. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  33. package/artifacts/contracts/{components/IDistributionComponent.sol/IDistributionComponent.json → distribution/Distribution.sol/Distribution.json} +285 -324
  34. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1633 -0
  36. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  37. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +896 -0
  38. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  39. package/artifacts/contracts/{components/IProductComponent.sol/IProductComponent.json → distribution/IDistributionComponent.sol/IDistributionComponent.json} +274 -275
  40. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  41. package/artifacts/contracts/{instance/service → distribution}/IDistributionService.sol/IDistributionService.json +339 -329
  42. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  44. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1445 -0
  46. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +805 -0
  48. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2002 -0
  50. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  51. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +805 -0
  52. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  53. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1388 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +805 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1152 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1612 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +805 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2389 -0
  66. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  67. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +805 -0
  68. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  69. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  70. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  71. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +596 -94
  72. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  73. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +367 -106
  74. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  75. package/artifacts/contracts/instance/Instance.sol/Instance.json +585 -207
  76. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  77. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2366 -0
  78. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  79. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +902 -0
  80. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  81. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1985 -576
  82. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  83. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +378 -425
  84. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  85. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +163 -174
  86. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  87. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1927 -876
  88. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  89. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +853 -0
  90. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  91. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  92. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  93. package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -54
  94. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  96. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  98. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  99. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  100. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  101. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  102. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  103. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  104. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  105. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  106. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  107. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  108. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  109. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  110. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +938 -0
  111. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  112. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +810 -0
  113. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  114. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  115. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  116. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +753 -0
  117. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  118. package/artifacts/contracts/{instance/service/IPolicyService.sol/IPolicyService.json → oracle/IOracleService.sol/IOracleService.json} +302 -175
  119. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  120. package/artifacts/contracts/{components/Component.sol/Component.json → oracle/Oracle.sol/Oracle.json} +253 -241
  121. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  122. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +997 -0
  123. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  124. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +764 -0
  125. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  126. package/artifacts/contracts/{components/Pool.sol/Pool.json → pool/BasicPool.sol/BasicPool.json} +320 -465
  127. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  128. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +805 -0
  129. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  130. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1261 -0
  131. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  132. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +800 -0
  133. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  134. package/artifacts/contracts/{instance/service → pool}/IBundleService.sol/IBundleService.json +289 -68
  135. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  136. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +886 -0
  137. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  138. package/artifacts/contracts/{instance/service → pool}/IPoolService.sol/IPoolService.json +609 -223
  139. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  140. package/artifacts/contracts/{components/IPoolComponent.sol/IPoolComponent.json → pool/Pool.sol/Pool.json} +368 -426
  141. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  142. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  143. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  144. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1574 -0
  145. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  146. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +808 -0
  147. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  148. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +879 -0
  149. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  150. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +740 -0
  151. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  152. package/artifacts/contracts/{components/Product.sol/Product.json → product/BasicProduct.sol/BasicProduct.json} +455 -482
  153. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  154. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +805 -0
  155. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  156. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1496 -0
  157. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  158. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +848 -0
  159. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  160. package/artifacts/contracts/{instance/service → product}/IApplicationService.sol/IApplicationService.json +180 -163
  161. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  162. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1064 -0
  163. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  164. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +981 -0
  165. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  166. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +623 -0
  167. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  168. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +997 -0
  169. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  170. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IRiskService.sol/IRiskService.json} +95 -65
  171. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  172. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1333 -0
  173. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  174. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +349 -0
  175. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  176. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +808 -0
  177. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  178. package/artifacts/contracts/product/PricingService.sol/PricingService.json +911 -0
  179. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  180. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +764 -0
  181. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  182. package/artifacts/contracts/product/Product.sol/Product.json +1098 -0
  183. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  184. package/artifacts/contracts/product/RiskService.sol/RiskService.json +688 -0
  185. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  186. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +736 -0
  187. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  188. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  189. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  190. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +483 -29
  191. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  192. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +286 -109
  193. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  194. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  195. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  196. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  197. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  198. package/artifacts/contracts/registry/Registry.sol/Registry.json +982 -137
  199. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  200. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2195 -0
  201. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  202. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1053 -0
  203. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  204. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +361 -250
  205. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  206. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +174 -109
  207. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  208. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2160 -0
  209. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  210. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  211. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  212. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1393 -0
  213. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  214. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +683 -0
  215. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  216. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +317 -154
  217. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  218. package/artifacts/contracts/{instance/base/ComponentService.sol/ComponentService.json → shared/Component.sol/Component.json} +265 -186
  219. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  220. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1556 -0
  221. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  222. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +816 -0
  223. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  224. package/artifacts/contracts/{instance/service/IClaimService.sol/IClaimService.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +142 -132
  225. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  226. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +616 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  229. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  230. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  231. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  232. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  233. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  234. package/artifacts/contracts/{components → shared}/IComponent.sol/IComponent.json +137 -131
  235. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  236. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1196 -0
  237. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  238. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +688 -0
  239. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  240. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +95 -14
  241. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  242. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  243. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  244. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +19 -10
  245. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  246. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +59 -13
  247. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  248. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +144 -3
  249. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  250. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -13
  251. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  252. package/artifacts/contracts/shared/IService.sol/IService.json +69 -5
  253. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  254. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  255. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  256. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +776 -0
  257. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  258. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  259. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  260. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  261. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  262. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  263. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  264. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +28 -70
  265. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  266. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +35 -85
  267. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  268. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +126 -100
  269. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  270. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -28
  271. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  272. package/artifacts/contracts/shared/Service.sol/Service.json +66 -109
  273. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  274. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +635 -8
  275. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  276. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  277. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  278. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  279. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  280. package/artifacts/contracts/{components/Distribution.sol/Distribution.json → staking/IStaking.sol/IStaking.json} +749 -587
  281. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  282. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1167 -0
  283. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  284. package/artifacts/contracts/staking/Staking.sol/Staking.json +1888 -0
  285. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  286. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +469 -0
  287. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  288. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  289. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  290. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +792 -0
  291. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  292. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +560 -0
  293. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  294. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1380 -0
  295. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  296. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +736 -0
  297. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  298. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2297 -0
  299. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  300. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +617 -0
  301. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  302. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  303. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  304. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  305. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  306. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  307. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  308. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  309. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  310. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  311. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  312. package/artifacts/contracts/type/Fee.sol/FeeLib.json +373 -0
  313. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  314. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  315. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  316. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  317. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  318. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  319. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  320. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  321. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  322. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +241 -0
  323. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  324. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  325. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  326. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  327. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  328. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  329. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  330. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +204 -0
  331. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  332. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +254 -0
  333. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  334. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +246 -0
  335. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  336. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  337. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  338. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  339. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  340. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  341. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  342. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  343. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  344. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  345. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  346. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +572 -0
  347. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  348. package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
  349. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  350. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +167 -0
  351. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  352. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +1 -1
  353. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  354. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +618 -0
  355. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  356. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  357. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  358. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +1 -1
  359. package/contracts/accounting/AccountingService.sol +262 -0
  360. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  361. package/contracts/accounting/IAccountingService.sol +45 -0
  362. package/contracts/authorization/AccessAdmin.sol +875 -0
  363. package/contracts/authorization/AccessAdminLib.sol +379 -0
  364. package/contracts/authorization/AccessManagerCloneable.sol +158 -0
  365. package/contracts/authorization/Authorization.sol +261 -0
  366. package/contracts/authorization/IAccess.sol +67 -0
  367. package/contracts/authorization/IAccessAdmin.sol +136 -0
  368. package/contracts/authorization/IAuthorization.sol +27 -0
  369. package/contracts/authorization/IServiceAuthorization.sol +78 -0
  370. package/contracts/authorization/ServiceAuthorization.sol +320 -0
  371. package/contracts/distribution/BasicDistribution.sol +141 -0
  372. package/contracts/distribution/BasicDistributionAuthorization.sol +67 -0
  373. package/contracts/distribution/Distribution.sol +245 -0
  374. package/contracts/distribution/DistributionService.sol +440 -0
  375. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  376. package/contracts/distribution/IDistributionComponent.sol +50 -0
  377. package/contracts/distribution/IDistributionService.sol +109 -0
  378. package/contracts/examples/fire/DamageLevel.sol +59 -0
  379. package/contracts/examples/fire/FirePool.sol +86 -0
  380. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  381. package/contracts/examples/fire/FireProduct.sol +433 -0
  382. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  383. package/contracts/examples/fire/FireUSD.sol +26 -0
  384. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  385. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  386. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  387. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  388. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  389. package/contracts/examples/unpermissioned/SimpleProduct.sol +373 -0
  390. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  391. package/contracts/instance/BundleSet.sol +130 -0
  392. package/contracts/instance/IInstance.sol +117 -38
  393. package/contracts/instance/IInstanceService.sol +71 -50
  394. package/contracts/instance/Instance.sol +252 -110
  395. package/contracts/instance/InstanceAdmin.sol +569 -0
  396. package/contracts/instance/InstanceAuthorizationV3.sol +262 -0
  397. package/contracts/instance/InstanceReader.sol +528 -82
  398. package/contracts/instance/InstanceService.sol +385 -391
  399. package/contracts/instance/InstanceServiceManager.sol +14 -29
  400. package/contracts/instance/InstanceStore.sol +174 -95
  401. package/contracts/instance/RiskSet.sol +118 -0
  402. package/contracts/instance/base/BalanceStore.sol +123 -0
  403. package/contracts/instance/base/Cloneable.sol +28 -0
  404. package/contracts/instance/base/ObjectCounter.sol +20 -0
  405. package/contracts/instance/base/ObjectLifecycle.sol +113 -0
  406. package/contracts/instance/base/ObjectSet.sol +77 -0
  407. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  408. package/contracts/instance/module/IBundle.sol +9 -11
  409. package/contracts/instance/module/IComponents.sol +44 -23
  410. package/contracts/instance/module/IDistribution.sol +25 -12
  411. package/contracts/instance/module/IPolicy.sol +71 -38
  412. package/contracts/instance/module/IRisk.sol +6 -1
  413. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  414. package/contracts/oracle/BasicOracle.sol +45 -0
  415. package/contracts/oracle/BasicOracleAuthorization.sol +53 -0
  416. package/contracts/oracle/IOracle.sol +41 -0
  417. package/contracts/oracle/IOracleComponent.sol +33 -0
  418. package/contracts/oracle/IOracleService.sol +66 -0
  419. package/contracts/oracle/Oracle.sol +154 -0
  420. package/contracts/oracle/OracleService.sol +310 -0
  421. package/contracts/oracle/OracleServiceManager.sol +39 -0
  422. package/contracts/pool/BasicPool.sol +173 -0
  423. package/contracts/pool/BasicPoolAuthorization.sol +82 -0
  424. package/contracts/pool/BundleService.sol +395 -0
  425. package/contracts/pool/BundleServiceManager.sol +39 -0
  426. package/contracts/{instance/service → pool}/IBundleService.sol +52 -30
  427. package/contracts/pool/IPoolComponent.sol +62 -0
  428. package/contracts/pool/IPoolService.sol +165 -0
  429. package/contracts/pool/Pool.sol +343 -0
  430. package/contracts/pool/PoolLib.sol +260 -0
  431. package/contracts/pool/PoolService.sol +733 -0
  432. package/contracts/pool/PoolServiceManager.sol +39 -0
  433. package/contracts/product/ApplicationService.sol +274 -0
  434. package/contracts/{instance/service → product}/ApplicationServiceManager.sol +12 -9
  435. package/contracts/product/BasicProduct.sol +49 -0
  436. package/contracts/product/BasicProductAuthorization.sol +61 -0
  437. package/contracts/product/ClaimService.sol +630 -0
  438. package/contracts/{instance/service → product}/ClaimServiceManager.sol +12 -9
  439. package/contracts/{instance/service → product}/IApplicationService.sol +22 -35
  440. package/contracts/product/IClaimService.sol +135 -0
  441. package/contracts/product/IPolicyService.sol +95 -0
  442. package/contracts/product/IPricingService.sol +40 -0
  443. package/contracts/product/IProductComponent.sol +62 -0
  444. package/contracts/product/IRiskService.sol +33 -0
  445. package/contracts/product/PolicyService.sol +664 -0
  446. package/contracts/product/PolicyServiceLib.sol +86 -0
  447. package/contracts/product/PolicyServiceManager.sol +39 -0
  448. package/contracts/product/PricingService.sol +309 -0
  449. package/contracts/product/PricingServiceManager.sol +39 -0
  450. package/contracts/product/Product.sol +467 -0
  451. package/contracts/product/RiskService.sol +154 -0
  452. package/contracts/product/RiskServiceManager.sol +39 -0
  453. package/contracts/registry/ChainNft.sol +79 -40
  454. package/contracts/registry/IRegistry.sol +99 -30
  455. package/contracts/registry/IRegistryService.sol +34 -40
  456. package/contracts/registry/IRelease.sol +29 -0
  457. package/contracts/registry/ITransferInterceptor.sol +1 -2
  458. package/contracts/registry/Registry.sol +460 -197
  459. package/contracts/registry/RegistryAdmin.sol +291 -0
  460. package/contracts/registry/RegistryAuthorization.sol +277 -0
  461. package/contracts/registry/RegistryService.sol +89 -130
  462. package/contracts/registry/RegistryServiceManager.sol +23 -32
  463. package/contracts/registry/ReleaseAdmin.sol +268 -0
  464. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  465. package/contracts/registry/ReleaseRegistry.sol +517 -0
  466. package/contracts/registry/ServiceAuthorizationV3.sol +341 -0
  467. package/contracts/registry/TokenRegistry.sol +264 -64
  468. package/contracts/shared/Component.sol +210 -0
  469. package/contracts/shared/ComponentService.sol +708 -0
  470. package/contracts/shared/ComponentServiceManager.sol +38 -0
  471. package/contracts/shared/ComponentVerifyingService.sol +128 -0
  472. package/contracts/shared/ContractLib.sol +292 -0
  473. package/contracts/shared/IComponent.sol +58 -0
  474. package/contracts/shared/IComponentService.sol +112 -0
  475. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  476. package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
  477. package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
  478. package/contracts/shared/INftOwnable.sol +4 -2
  479. package/contracts/shared/IPolicyHolder.sol +23 -14
  480. package/contracts/shared/IRegisterable.sol +23 -1
  481. package/contracts/shared/IRegistryLinked.sol +0 -1
  482. package/contracts/shared/IService.sol +13 -5
  483. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +12 -4
  484. package/contracts/shared/InstanceLinkedComponent.sol +195 -0
  485. package/contracts/shared/KeyValueStore.sol +131 -0
  486. package/contracts/shared/Lifecycle.sol +88 -0
  487. package/contracts/shared/NftIdSet.sol +65 -0
  488. package/contracts/shared/NftOwnable.sol +34 -27
  489. package/contracts/shared/PolicyHolder.sol +22 -41
  490. package/contracts/shared/Registerable.sol +52 -20
  491. package/contracts/shared/RegistryLinked.sol +9 -19
  492. package/contracts/shared/Service.sol +34 -40
  493. package/contracts/shared/TokenHandler.sol +322 -13
  494. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  495. package/contracts/staking/IStaking.sol +179 -0
  496. package/contracts/staking/IStakingService.sol +172 -0
  497. package/contracts/staking/Staking.sol +546 -0
  498. package/contracts/staking/StakingLib.sol +281 -0
  499. package/contracts/staking/StakingLifecycle.sol +23 -0
  500. package/contracts/staking/StakingManager.sol +52 -0
  501. package/contracts/staking/StakingReader.sol +180 -0
  502. package/contracts/staking/StakingService.sol +464 -0
  503. package/contracts/staking/StakingServiceManager.sol +45 -0
  504. package/contracts/staking/StakingStore.sol +606 -0
  505. package/contracts/staking/TargetManagerLib.sol +211 -0
  506. package/contracts/{types → type}/AddressSet.sol +1 -1
  507. package/contracts/type/Amount.sol +150 -0
  508. package/contracts/{types → type}/Blocknumber.sol +26 -3
  509. package/contracts/{types → type}/ClaimId.sol +31 -3
  510. package/contracts/{types → type}/Fee.sol +28 -26
  511. package/contracts/{types → type}/Key32.sol +2 -2
  512. package/contracts/type/Key32Set.sol +62 -0
  513. package/contracts/{types → type}/NftId.sol +21 -16
  514. package/contracts/{types → type}/NftIdSet.sol +2 -2
  515. package/contracts/type/ObjectType.sol +307 -0
  516. package/contracts/type/PayoutId.sol +82 -0
  517. package/contracts/{types → type}/Referral.sol +2 -1
  518. package/contracts/type/RequestId.sol +75 -0
  519. package/contracts/type/RiskId.sol +75 -0
  520. package/contracts/type/RoleId.sol +180 -0
  521. package/contracts/type/Seconds.sol +101 -0
  522. package/contracts/type/Selector.sol +107 -0
  523. package/contracts/{types → type}/StateId.sol +47 -4
  524. package/contracts/type/String.sol +53 -0
  525. package/contracts/{types → type}/Timestamp.sol +20 -6
  526. package/contracts/type/UFixed.sol +262 -0
  527. package/contracts/{types → type}/Version.sol +58 -7
  528. package/contracts/{shared → upgradeability}/IVersionable.sol +1 -1
  529. package/contracts/{shared → upgradeability}/ProxyManager.sol +104 -39
  530. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  531. package/contracts/{shared → upgradeability}/Versionable.sol +7 -4
  532. package/package.json +12 -8
  533. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  534. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  535. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
  536. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  537. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  538. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  539. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  540. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  541. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  542. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  543. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  544. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -778
  545. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  546. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  547. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1348
  548. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  549. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -256
  550. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
  551. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  552. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  553. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  554. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -532
  555. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  556. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -194
  557. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  558. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -237
  559. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  560. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  561. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
  562. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +0 -4
  563. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +0 -1039
  564. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +0 -4
  565. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +0 -673
  566. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  567. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1231
  568. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  569. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -721
  570. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +0 -4
  571. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +0 -817
  572. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +0 -4
  573. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +0 -641
  574. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  575. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -1798
  576. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  577. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -805
  578. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +0 -4
  579. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  580. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +0 -4
  581. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  582. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  583. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  584. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  585. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  586. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1092
  587. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  588. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -697
  589. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  590. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -1237
  591. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  592. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -661
  593. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  594. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -840
  595. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  596. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -653
  597. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  598. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  599. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  600. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -559
  601. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  602. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  603. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  604. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  605. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  606. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  607. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -582
  608. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  609. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  610. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  611. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  612. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  613. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  614. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -383
  615. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  616. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  617. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  618. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -596
  619. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  620. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  621. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  622. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  623. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  624. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -104
  625. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  626. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  627. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  628. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  629. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +0 -4
  630. package/artifacts/contracts/types/Amount.sol/AmountLib.json +0 -161
  631. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  632. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  633. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  634. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  635. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +0 -4
  636. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +0 -100
  637. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  638. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  639. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  640. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -288
  641. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  642. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  643. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  644. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -166
  645. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  646. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -33
  647. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  648. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  649. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  650. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  651. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +0 -4
  652. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +0 -100
  653. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  654. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -142
  655. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  656. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  657. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  658. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  659. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +0 -4
  660. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +0 -124
  661. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  662. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  663. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  664. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -267
  665. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  666. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  667. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  668. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  669. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  670. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  671. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  672. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  673. package/contracts/components/Component.sol +0 -253
  674. package/contracts/components/Distribution.sol +0 -280
  675. package/contracts/components/IComponent.sol +0 -76
  676. package/contracts/components/IDistributionComponent.sol +0 -71
  677. package/contracts/components/IPoolComponent.sol +0 -113
  678. package/contracts/components/IProductComponent.sol +0 -40
  679. package/contracts/components/Pool.sol +0 -303
  680. package/contracts/components/Product.sol +0 -293
  681. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -13
  682. package/contracts/instance/BundleManager.sol +0 -127
  683. package/contracts/instance/Cloneable.sol +0 -51
  684. package/contracts/instance/InstanceAccessManager.sol +0 -540
  685. package/contracts/instance/ObjectManager.sol +0 -82
  686. package/contracts/instance/base/ComponentService.sol +0 -121
  687. package/contracts/instance/base/KeyValueStore.sol +0 -180
  688. package/contracts/instance/base/Lifecycle.sol +0 -109
  689. package/contracts/instance/module/IAccess.sol +0 -54
  690. package/contracts/instance/module/ISetup.sol +0 -33
  691. package/contracts/instance/module/ITreasury.sol +0 -23
  692. package/contracts/instance/service/ApplicationService.sol +0 -351
  693. package/contracts/instance/service/BundleService.sol +0 -431
  694. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  695. package/contracts/instance/service/ClaimService.sol +0 -151
  696. package/contracts/instance/service/DistributionService.sol +0 -437
  697. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  698. package/contracts/instance/service/IClaimService.sol +0 -61
  699. package/contracts/instance/service/IDistributionService.sol +0 -99
  700. package/contracts/instance/service/IPolicyService.sol +0 -72
  701. package/contracts/instance/service/IPoolService.sol +0 -99
  702. package/contracts/instance/service/IProductService.sol +0 -40
  703. package/contracts/instance/service/PolicyService.sol +0 -362
  704. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  705. package/contracts/instance/service/PoolService.sol +0 -303
  706. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  707. package/contracts/instance/service/ProductService.sol +0 -209
  708. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  709. package/contracts/registry/RegistryAccessManager.sol +0 -216
  710. package/contracts/registry/ReleaseManager.sol +0 -324
  711. package/contracts/shared/ContractDeployerLib.sol +0 -72
  712. package/contracts/test/TestFee.sol +0 -25
  713. package/contracts/test/TestRegisterable.sol +0 -18
  714. package/contracts/test/TestRoleId.sol +0 -14
  715. package/contracts/test/TestService.sol +0 -25
  716. package/contracts/test/TestToken.sol +0 -26
  717. package/contracts/test/TestVersion.sol +0 -44
  718. package/contracts/test/TestVersionable.sol +0 -17
  719. package/contracts/types/Amount.sol +0 -60
  720. package/contracts/types/ChainId.sol +0 -38
  721. package/contracts/types/NumberId.sol +0 -52
  722. package/contracts/types/ObjectType.sol +0 -157
  723. package/contracts/types/PayoutId.sol +0 -54
  724. package/contracts/types/RiskId.sol +0 -43
  725. package/contracts/types/RoleId.sol +0 -97
  726. package/contracts/types/Seconds.sol +0 -54
  727. package/contracts/types/UFixed.sol +0 -326
  728. /package/contracts/{types → type}/DistributorType.sol +0 -0
@@ -3,79 +3,49 @@
3
3
  "contractName": "InstanceReader",
4
4
  "sourceName": "contracts/instance/InstanceReader.sol",
5
5
  "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "ErrorInstanceReaderAlreadyInitialized",
9
+ "type": "error"
10
+ },
11
+ {
12
+ "inputs": [],
13
+ "name": "ErrorInstanceReaderInstanceAddressZero",
14
+ "type": "error"
15
+ },
6
16
  {
7
17
  "inputs": [
8
18
  {
9
19
  "internalType": "NftId",
10
- "name": "bundleNftId",
20
+ "name": "poolNftId",
11
21
  "type": "uint96"
12
22
  }
13
23
  ],
14
- "name": "getBundleInfo",
24
+ "name": "activeBundles",
15
25
  "outputs": [
16
26
  {
17
- "components": [
18
- {
19
- "internalType": "NftId",
20
- "name": "poolNftId",
21
- "type": "uint96"
22
- },
23
- {
24
- "components": [
25
- {
26
- "internalType": "UFixed",
27
- "name": "fractionalFee",
28
- "type": "uint256"
29
- },
30
- {
31
- "internalType": "uint256",
32
- "name": "fixedFee",
33
- "type": "uint256"
34
- }
35
- ],
36
- "internalType": "struct Fee",
37
- "name": "fee",
38
- "type": "tuple"
39
- },
40
- {
41
- "internalType": "bytes",
42
- "name": "filter",
43
- "type": "bytes"
44
- },
45
- {
46
- "internalType": "Amount",
47
- "name": "capitalAmount",
48
- "type": "uint96"
49
- },
50
- {
51
- "internalType": "Amount",
52
- "name": "lockedAmount",
53
- "type": "uint96"
54
- },
55
- {
56
- "internalType": "Amount",
57
- "name": "feeAmount",
58
- "type": "uint96"
59
- },
60
- {
61
- "internalType": "Seconds",
62
- "name": "lifetime",
63
- "type": "uint40"
64
- },
65
- {
66
- "internalType": "Timestamp",
67
- "name": "expiredAt",
68
- "type": "uint40"
69
- },
70
- {
71
- "internalType": "Timestamp",
72
- "name": "closedAt",
73
- "type": "uint40"
74
- }
75
- ],
76
- "internalType": "struct IBundle.BundleInfo",
77
- "name": "info",
78
- "type": "tuple"
27
+ "internalType": "uint256",
28
+ "name": "bundleCount",
29
+ "type": "uint256"
30
+ }
31
+ ],
32
+ "stateMutability": "view",
33
+ "type": "function"
34
+ },
35
+ {
36
+ "inputs": [
37
+ {
38
+ "internalType": "NftId",
39
+ "name": "productNftId",
40
+ "type": "uint96"
41
+ }
42
+ ],
43
+ "name": "activeRisks",
44
+ "outputs": [
45
+ {
46
+ "internalType": "uint256",
47
+ "name": "activeRiskCount",
48
+ "type": "uint256"
79
49
  }
80
50
  ],
81
51
  "stateMutability": "view",
@@ -89,49 +59,12 @@
89
59
  "type": "uint96"
90
60
  }
91
61
  ],
92
- "name": "getComponentInfo",
62
+ "name": "bundles",
93
63
  "outputs": [
94
64
  {
95
- "components": [
96
- {
97
- "internalType": "string",
98
- "name": "name",
99
- "type": "string"
100
- },
101
- {
102
- "internalType": "contract IERC20Metadata",
103
- "name": "token",
104
- "type": "address"
105
- },
106
- {
107
- "internalType": "contract TokenHandler",
108
- "name": "tokenHandler",
109
- "type": "address"
110
- },
111
- {
112
- "internalType": "address",
113
- "name": "wallet",
114
- "type": "address"
115
- },
116
- {
117
- "internalType": "Amount",
118
- "name": "balanceAmount",
119
- "type": "uint96"
120
- },
121
- {
122
- "internalType": "Amount",
123
- "name": "feeAmount",
124
- "type": "uint96"
125
- },
126
- {
127
- "internalType": "bytes",
128
- "name": "data",
129
- "type": "bytes"
130
- }
131
- ],
132
- "internalType": "struct IComponents.ComponentInfo",
133
- "name": "info",
134
- "type": "tuple"
65
+ "internalType": "uint256",
66
+ "name": "bundleCount",
67
+ "type": "uint256"
135
68
  }
136
69
  ],
137
70
  "stateMutability": "view",
@@ -140,22 +73,54 @@
140
73
  {
141
74
  "inputs": [
142
75
  {
143
- "internalType": "ReferralId",
144
- "name": "referralId",
145
- "type": "bytes8"
76
+ "internalType": "NftId",
77
+ "name": "policyNftId",
78
+ "type": "uint96"
146
79
  }
147
80
  ],
148
- "name": "getDiscountPercentage",
81
+ "name": "claims",
149
82
  "outputs": [
150
83
  {
151
- "internalType": "UFixed",
152
- "name": "discountPercentage",
84
+ "internalType": "uint16",
85
+ "name": "claimCount",
86
+ "type": "uint16"
87
+ }
88
+ ],
89
+ "stateMutability": "view",
90
+ "type": "function"
91
+ },
92
+ {
93
+ "inputs": [],
94
+ "name": "components",
95
+ "outputs": [
96
+ {
97
+ "internalType": "uint256",
98
+ "name": "componentCount",
153
99
  "type": "uint256"
100
+ }
101
+ ],
102
+ "stateMutability": "view",
103
+ "type": "function"
104
+ },
105
+ {
106
+ "inputs": [
107
+ {
108
+ "internalType": "NftId",
109
+ "name": "poolNftId",
110
+ "type": "uint96"
154
111
  },
155
112
  {
156
- "internalType": "ReferralStatus",
157
- "name": "status",
158
- "type": "uint8"
113
+ "internalType": "uint256",
114
+ "name": "idx",
115
+ "type": "uint256"
116
+ }
117
+ ],
118
+ "name": "getActiveBundleNftId",
119
+ "outputs": [
120
+ {
121
+ "internalType": "NftId",
122
+ "name": "bundleNftId",
123
+ "type": "uint96"
159
124
  }
160
125
  ],
161
126
  "stateMutability": "view",
@@ -165,70 +130,101 @@
165
130
  "inputs": [
166
131
  {
167
132
  "internalType": "NftId",
168
- "name": "distributionNftId",
133
+ "name": "productNftId",
134
+ "type": "uint96"
135
+ },
136
+ {
137
+ "internalType": "uint256",
138
+ "name": "idx",
139
+ "type": "uint256"
140
+ }
141
+ ],
142
+ "name": "getActiveRiskId",
143
+ "outputs": [
144
+ {
145
+ "internalType": "RiskId",
146
+ "name": "riskId",
147
+ "type": "bytes8"
148
+ }
149
+ ],
150
+ "stateMutability": "view",
151
+ "type": "function"
152
+ },
153
+ {
154
+ "inputs": [
155
+ {
156
+ "internalType": "NftId",
157
+ "name": "targetNftId",
158
+ "type": "uint96"
159
+ }
160
+ ],
161
+ "name": "getBalanceAmount",
162
+ "outputs": [
163
+ {
164
+ "internalType": "Amount",
165
+ "name": "",
166
+ "type": "uint96"
167
+ }
168
+ ],
169
+ "stateMutability": "view",
170
+ "type": "function"
171
+ },
172
+ {
173
+ "inputs": [
174
+ {
175
+ "internalType": "NftId",
176
+ "name": "bundleNftId",
169
177
  "type": "uint96"
170
178
  }
171
179
  ],
172
- "name": "getDistributionSetupInfo",
180
+ "name": "getBundleInfo",
173
181
  "outputs": [
174
182
  {
175
183
  "components": [
176
184
  {
177
- "internalType": "NftId",
178
- "name": "productNftId",
179
- "type": "uint96"
185
+ "internalType": "Timestamp",
186
+ "name": "activatedAt",
187
+ "type": "uint40"
180
188
  },
181
189
  {
182
- "internalType": "contract TokenHandler",
183
- "name": "tokenHandler",
184
- "type": "address"
190
+ "internalType": "Timestamp",
191
+ "name": "expiredAt",
192
+ "type": "uint40"
185
193
  },
186
194
  {
187
- "components": [
188
- {
189
- "internalType": "UFixed",
190
- "name": "fractionalFee",
191
- "type": "uint256"
192
- },
193
- {
194
- "internalType": "uint256",
195
- "name": "fixedFee",
196
- "type": "uint256"
197
- }
198
- ],
199
- "internalType": "struct Fee",
200
- "name": "minDistributionOwnerFee",
201
- "type": "tuple"
195
+ "internalType": "Timestamp",
196
+ "name": "closedAt",
197
+ "type": "uint40"
198
+ },
199
+ {
200
+ "internalType": "NftId",
201
+ "name": "poolNftId",
202
+ "type": "uint96"
202
203
  },
203
204
  {
204
205
  "components": [
205
206
  {
206
207
  "internalType": "UFixed",
207
208
  "name": "fractionalFee",
208
- "type": "uint256"
209
+ "type": "uint160"
209
210
  },
210
211
  {
211
- "internalType": "uint256",
212
+ "internalType": "Amount",
212
213
  "name": "fixedFee",
213
- "type": "uint256"
214
+ "type": "uint96"
214
215
  }
215
216
  ],
216
217
  "internalType": "struct Fee",
217
- "name": "distributionFee",
218
+ "name": "fee",
218
219
  "type": "tuple"
219
220
  },
220
221
  {
221
- "internalType": "address",
222
- "name": "wallet",
223
- "type": "address"
224
- },
225
- {
226
- "internalType": "uint256",
227
- "name": "sumDistributionOwnerFees",
228
- "type": "uint256"
222
+ "internalType": "bytes",
223
+ "name": "filter",
224
+ "type": "bytes"
229
225
  }
230
226
  ],
231
- "internalType": "struct ISetup.DistributionSetupInfo",
227
+ "internalType": "struct IBundle.BundleInfo",
232
228
  "name": "info",
233
229
  "type": "tuple"
234
230
  }
@@ -240,135 +236,53 @@
240
236
  "inputs": [
241
237
  {
242
238
  "internalType": "NftId",
243
- "name": "distributorNftId",
239
+ "name": "poolNftId",
244
240
  "type": "uint96"
241
+ },
242
+ {
243
+ "internalType": "uint256",
244
+ "name": "idx",
245
+ "type": "uint256"
245
246
  }
246
247
  ],
247
- "name": "getDistributorInfo",
248
+ "name": "getBundleNftId",
248
249
  "outputs": [
249
250
  {
250
- "components": [
251
- {
252
- "internalType": "DistributorType",
253
- "name": "distributorType",
254
- "type": "bytes8"
255
- },
256
- {
257
- "internalType": "bool",
258
- "name": "active",
259
- "type": "bool"
260
- },
261
- {
262
- "internalType": "bytes",
263
- "name": "data",
264
- "type": "bytes"
265
- },
266
- {
267
- "internalType": "uint256",
268
- "name": "sumCommisions",
269
- "type": "uint256"
270
- },
271
- {
272
- "internalType": "uint256",
273
- "name": "numPoliciesSold",
274
- "type": "uint256"
275
- }
276
- ],
277
- "internalType": "struct IDistribution.DistributorInfo",
278
- "name": "info",
279
- "type": "tuple"
251
+ "internalType": "NftId",
252
+ "name": "bundleNftId",
253
+ "type": "uint96"
280
254
  }
281
255
  ],
282
256
  "stateMutability": "view",
283
257
  "type": "function"
284
258
  },
285
259
  {
286
- "inputs": [
287
- {
288
- "internalType": "DistributorType",
289
- "name": "distributorType",
290
- "type": "bytes8"
291
- }
292
- ],
293
- "name": "getDistributorTypeInfo",
260
+ "inputs": [],
261
+ "name": "getBundleSet",
294
262
  "outputs": [
295
263
  {
296
- "components": [
297
- {
298
- "internalType": "string",
299
- "name": "name",
300
- "type": "string"
301
- },
302
- {
303
- "internalType": "UFixed",
304
- "name": "minDiscountPercentage",
305
- "type": "uint256"
306
- },
307
- {
308
- "internalType": "UFixed",
309
- "name": "maxDiscountPercentage",
310
- "type": "uint256"
311
- },
312
- {
313
- "internalType": "UFixed",
314
- "name": "commissionPercentage",
315
- "type": "uint256"
316
- },
317
- {
318
- "internalType": "uint32",
319
- "name": "maxReferralCount",
320
- "type": "uint32"
321
- },
322
- {
323
- "internalType": "uint32",
324
- "name": "maxReferralLifetime",
325
- "type": "uint32"
326
- },
327
- {
328
- "internalType": "bool",
329
- "name": "allowSelfReferrals",
330
- "type": "bool"
331
- },
332
- {
333
- "internalType": "bool",
334
- "name": "allowRenewals",
335
- "type": "bool"
336
- },
337
- {
338
- "internalType": "bytes",
339
- "name": "data",
340
- "type": "bytes"
341
- }
342
- ],
343
- "internalType": "struct IDistribution.DistributorTypeInfo",
344
- "name": "info",
345
- "type": "tuple"
264
+ "internalType": "contract BundleSet",
265
+ "name": "bundleSet",
266
+ "type": "address"
346
267
  }
347
268
  ],
348
269
  "stateMutability": "view",
349
270
  "type": "function"
350
271
  },
351
272
  {
352
- "inputs": [],
353
- "name": "getInstance",
354
- "outputs": [
273
+ "inputs": [
355
274
  {
356
- "internalType": "contract IInstance",
357
- "name": "instance",
358
- "type": "address"
275
+ "internalType": "NftId",
276
+ "name": "bundleNftId",
277
+ "type": "uint96"
359
278
  }
360
279
  ],
361
- "stateMutability": "view",
362
- "type": "function"
363
- },
364
- {
365
- "inputs": [],
366
- "name": "getInstanceStore",
280
+ "name": "getBundleState",
367
281
  "outputs": [
368
282
  {
369
- "internalType": "contract IKeyValueStore",
370
- "name": "store",
371
- "type": "address"
283
+ "internalType": "StateId",
284
+ "name": "state",
285
+ "type": "uint8"
372
286
  }
373
287
  ],
374
288
  "stateMutability": "view",
@@ -377,47 +291,20 @@
377
291
  {
378
292
  "inputs": [
379
293
  {
380
- "internalType": "Key32",
381
- "name": "key",
382
- "type": "bytes32"
294
+ "internalType": "uint256",
295
+ "name": "idx",
296
+ "type": "uint256"
383
297
  }
384
298
  ],
385
- "name": "getMetadata",
299
+ "name": "getClaimId",
386
300
  "outputs": [
387
301
  {
388
- "components": [
389
- {
390
- "internalType": "ObjectType",
391
- "name": "objectType",
392
- "type": "uint8"
393
- },
394
- {
395
- "internalType": "StateId",
396
- "name": "state",
397
- "type": "uint8"
398
- },
399
- {
400
- "internalType": "address",
401
- "name": "updatedBy",
402
- "type": "address"
403
- },
404
- {
405
- "internalType": "Blocknumber",
406
- "name": "updatedIn",
407
- "type": "uint32"
408
- },
409
- {
410
- "internalType": "Blocknumber",
411
- "name": "createdIn",
412
- "type": "uint32"
413
- }
414
- ],
415
- "internalType": "struct IKeyValueStore.Metadata",
416
- "name": "metadata",
417
- "type": "tuple"
302
+ "internalType": "ClaimId",
303
+ "name": "claimId",
304
+ "type": "uint16"
418
305
  }
419
306
  ],
420
- "stateMutability": "view",
307
+ "stateMutability": "pure",
421
308
  "type": "function"
422
309
  },
423
310
  {
@@ -426,94 +313,54 @@
426
313
  "internalType": "NftId",
427
314
  "name": "policyNftId",
428
315
  "type": "uint96"
316
+ },
317
+ {
318
+ "internalType": "ClaimId",
319
+ "name": "claimId",
320
+ "type": "uint16"
429
321
  }
430
322
  ],
431
- "name": "getPolicyInfo",
323
+ "name": "getClaimInfo",
432
324
  "outputs": [
433
325
  {
434
326
  "components": [
435
327
  {
436
- "internalType": "NftId",
437
- "name": "productNftId",
328
+ "internalType": "Amount",
329
+ "name": "claimAmount",
438
330
  "type": "uint96"
439
331
  },
440
332
  {
441
- "internalType": "NftId",
442
- "name": "bundleNftId",
333
+ "internalType": "Amount",
334
+ "name": "paidAmount",
443
335
  "type": "uint96"
444
336
  },
445
337
  {
446
- "internalType": "ReferralId",
447
- "name": "referralId",
448
- "type": "bytes8"
449
- },
450
- {
451
- "internalType": "RiskId",
452
- "name": "riskId",
453
- "type": "bytes8"
454
- },
455
- {
456
- "internalType": "uint256",
457
- "name": "sumInsuredAmount",
458
- "type": "uint256"
459
- },
460
- {
461
- "internalType": "uint256",
462
- "name": "premiumAmount",
463
- "type": "uint256"
338
+ "internalType": "Timestamp",
339
+ "name": "closedAt",
340
+ "type": "uint40"
464
341
  },
465
342
  {
466
- "internalType": "uint256",
467
- "name": "premiumPaidAmount",
468
- "type": "uint256"
343
+ "internalType": "uint24",
344
+ "name": "payoutsCount",
345
+ "type": "uint24"
469
346
  },
470
347
  {
471
- "internalType": "Seconds",
472
- "name": "lifetime",
473
- "type": "uint40"
348
+ "internalType": "uint24",
349
+ "name": "openPayoutsCount",
350
+ "type": "uint24"
474
351
  },
475
352
  {
476
353
  "internalType": "bytes",
477
- "name": "applicationData",
354
+ "name": "submissionData",
478
355
  "type": "bytes"
479
356
  },
480
357
  {
481
358
  "internalType": "bytes",
482
- "name": "policyData",
359
+ "name": "processData",
483
360
  "type": "bytes"
484
- },
485
- {
486
- "internalType": "uint16",
487
- "name": "claimsCount",
488
- "type": "uint16"
489
- },
490
- {
491
- "internalType": "uint16",
492
- "name": "openClaimsCount",
493
- "type": "uint16"
494
- },
495
- {
496
- "internalType": "uint256",
497
- "name": "payoutAmount",
498
- "type": "uint256"
499
- },
500
- {
501
- "internalType": "Timestamp",
502
- "name": "activatedAt",
503
- "type": "uint40"
504
- },
505
- {
506
- "internalType": "Timestamp",
507
- "name": "expiredAt",
508
- "type": "uint40"
509
- },
510
- {
511
- "internalType": "Timestamp",
512
- "name": "closedAt",
513
- "type": "uint40"
514
361
  }
515
362
  ],
516
- "internalType": "struct IPolicy.PolicyInfo",
363
+ "internalType": "struct IPolicy.ClaimInfo",
517
364
  "name": "info",
518
365
  "type": "tuple"
519
366
  }
@@ -527,9 +374,14 @@
527
374
  "internalType": "NftId",
528
375
  "name": "policyNftId",
529
376
  "type": "uint96"
377
+ },
378
+ {
379
+ "internalType": "ClaimId",
380
+ "name": "claimId",
381
+ "type": "uint16"
530
382
  }
531
383
  ],
532
- "name": "getPolicyState",
384
+ "name": "getClaimState",
533
385
  "outputs": [
534
386
  {
535
387
  "internalType": "StateId",
@@ -544,18 +396,18 @@
544
396
  "inputs": [
545
397
  {
546
398
  "internalType": "NftId",
547
- "name": "productNftId",
399
+ "name": "componentNftId",
548
400
  "type": "uint96"
549
401
  }
550
402
  ],
551
- "name": "getProductSetupInfo",
403
+ "name": "getComponentInfo",
552
404
  "outputs": [
553
405
  {
554
406
  "components": [
555
407
  {
556
- "internalType": "contract IERC20Metadata",
557
- "name": "token",
558
- "type": "address"
408
+ "internalType": "string",
409
+ "name": "name",
410
+ "type": "string"
559
411
  },
560
412
  {
561
413
  "internalType": "contract TokenHandler",
@@ -563,61 +415,12 @@
563
415
  "type": "address"
564
416
  },
565
417
  {
566
- "internalType": "NftId",
567
- "name": "distributionNftId",
568
- "type": "uint96"
569
- },
570
- {
571
- "internalType": "NftId",
572
- "name": "poolNftId",
573
- "type": "uint96"
574
- },
575
- {
576
- "components": [
577
- {
578
- "internalType": "UFixed",
579
- "name": "fractionalFee",
580
- "type": "uint256"
581
- },
582
- {
583
- "internalType": "uint256",
584
- "name": "fixedFee",
585
- "type": "uint256"
586
- }
587
- ],
588
- "internalType": "struct Fee",
589
- "name": "productFee",
590
- "type": "tuple"
591
- },
592
- {
593
- "components": [
594
- {
595
- "internalType": "UFixed",
596
- "name": "fractionalFee",
597
- "type": "uint256"
598
- },
599
- {
600
- "internalType": "uint256",
601
- "name": "fixedFee",
602
- "type": "uint256"
603
- }
604
- ],
605
- "internalType": "struct Fee",
606
- "name": "processingFee",
607
- "type": "tuple"
608
- },
609
- {
610
- "internalType": "bool",
611
- "name": "isIntercepting",
612
- "type": "bool"
613
- },
614
- {
615
- "internalType": "address",
616
- "name": "wallet",
617
- "type": "address"
618
- }
619
- ],
620
- "internalType": "struct ISetup.ProductSetupInfo",
418
+ "internalType": "bytes",
419
+ "name": "data",
420
+ "type": "bytes"
421
+ }
422
+ ],
423
+ "internalType": "struct IComponents.ComponentInfo",
621
424
  "name": "info",
622
425
  "type": "tuple"
623
426
  }
@@ -633,47 +436,56 @@
633
436
  "type": "bytes8"
634
437
  }
635
438
  ],
636
- "name": "getReferralInfo",
439
+ "name": "getDiscountPercentage",
440
+ "outputs": [
441
+ {
442
+ "internalType": "UFixed",
443
+ "name": "discountPercentage",
444
+ "type": "uint160"
445
+ },
446
+ {
447
+ "internalType": "ReferralStatus",
448
+ "name": "status",
449
+ "type": "uint8"
450
+ }
451
+ ],
452
+ "stateMutability": "view",
453
+ "type": "function"
454
+ },
455
+ {
456
+ "inputs": [
457
+ {
458
+ "internalType": "NftId",
459
+ "name": "distributorNftId",
460
+ "type": "uint96"
461
+ }
462
+ ],
463
+ "name": "getDistributorInfo",
637
464
  "outputs": [
638
465
  {
639
466
  "components": [
640
467
  {
641
- "internalType": "NftId",
642
- "name": "distributorNftId",
643
- "type": "uint96"
644
- },
645
- {
646
- "internalType": "string",
647
- "name": "referralCode",
648
- "type": "string"
649
- },
650
- {
651
- "internalType": "UFixed",
652
- "name": "discountPercentage",
653
- "type": "uint256"
468
+ "internalType": "DistributorType",
469
+ "name": "distributorType",
470
+ "type": "bytes8"
654
471
  },
655
472
  {
656
- "internalType": "uint32",
657
- "name": "maxReferrals",
658
- "type": "uint32"
473
+ "internalType": "bool",
474
+ "name": "active",
475
+ "type": "bool"
659
476
  },
660
477
  {
661
478
  "internalType": "uint32",
662
- "name": "usedReferrals",
479
+ "name": "numPoliciesSold",
663
480
  "type": "uint32"
664
481
  },
665
- {
666
- "internalType": "Timestamp",
667
- "name": "expiryAt",
668
- "type": "uint40"
669
- },
670
482
  {
671
483
  "internalType": "bytes",
672
484
  "name": "data",
673
485
  "type": "bytes"
674
486
  }
675
487
  ],
676
- "internalType": "struct IDistribution.ReferralInfo",
488
+ "internalType": "struct IDistribution.DistributorInfo",
677
489
  "name": "info",
678
490
  "type": "tuple"
679
491
  }
@@ -684,27 +496,67 @@
684
496
  {
685
497
  "inputs": [
686
498
  {
687
- "internalType": "RiskId",
688
- "name": "riskId",
499
+ "internalType": "DistributorType",
500
+ "name": "distributorType",
689
501
  "type": "bytes8"
690
502
  }
691
503
  ],
692
- "name": "getRiskInfo",
504
+ "name": "getDistributorTypeInfo",
693
505
  "outputs": [
694
506
  {
695
507
  "components": [
508
+ {
509
+ "internalType": "UFixed",
510
+ "name": "minDiscountPercentage",
511
+ "type": "uint160"
512
+ },
696
513
  {
697
514
  "internalType": "NftId",
698
- "name": "productNftId",
515
+ "name": "distributionNftId",
699
516
  "type": "uint96"
700
517
  },
518
+ {
519
+ "internalType": "UFixed",
520
+ "name": "maxDiscountPercentage",
521
+ "type": "uint160"
522
+ },
523
+ {
524
+ "internalType": "uint32",
525
+ "name": "maxReferralCount",
526
+ "type": "uint32"
527
+ },
528
+ {
529
+ "internalType": "Seconds",
530
+ "name": "maxReferralLifetime",
531
+ "type": "uint40"
532
+ },
533
+ {
534
+ "internalType": "bool",
535
+ "name": "allowSelfReferrals",
536
+ "type": "bool"
537
+ },
538
+ {
539
+ "internalType": "bool",
540
+ "name": "allowRenewals",
541
+ "type": "bool"
542
+ },
543
+ {
544
+ "internalType": "UFixed",
545
+ "name": "commissionPercentage",
546
+ "type": "uint160"
547
+ },
548
+ {
549
+ "internalType": "string",
550
+ "name": "name",
551
+ "type": "string"
552
+ },
701
553
  {
702
554
  "internalType": "bytes",
703
555
  "name": "data",
704
556
  "type": "bytes"
705
557
  }
706
558
  ],
707
- "internalType": "struct IRisk.RiskInfo",
559
+ "internalType": "struct IDistribution.DistributorTypeInfo",
708
560
  "name": "info",
709
561
  "type": "tuple"
710
562
  }
@@ -716,16 +568,16 @@
716
568
  "inputs": [
717
569
  {
718
570
  "internalType": "NftId",
719
- "name": "productNftId",
571
+ "name": "targetNftId",
720
572
  "type": "uint96"
721
573
  }
722
574
  ],
723
- "name": "getTokenHandler",
575
+ "name": "getFeeAmount",
724
576
  "outputs": [
725
577
  {
726
- "internalType": "address",
727
- "name": "tokenHandler",
728
- "type": "address"
578
+ "internalType": "Amount",
579
+ "name": "",
580
+ "type": "uint96"
729
581
  }
730
582
  ],
731
583
  "stateMutability": "view",
@@ -739,45 +591,42 @@
739
591
  "type": "uint96"
740
592
  }
741
593
  ],
742
- "name": "getTreasuryInfo",
594
+ "name": "getFeeInfo",
743
595
  "outputs": [
744
596
  {
745
597
  "components": [
746
598
  {
747
- "internalType": "contract IERC20Metadata",
748
- "name": "token",
749
- "type": "address"
750
- },
751
- {
752
- "internalType": "contract TokenHandler",
753
- "name": "tokenHandler",
754
- "type": "address"
755
- },
756
- {
757
- "internalType": "NftId",
758
- "name": "distributionNftId",
759
- "type": "uint96"
760
- },
761
- {
762
- "internalType": "NftId",
763
- "name": "poolNftId",
764
- "type": "uint96"
599
+ "components": [
600
+ {
601
+ "internalType": "UFixed",
602
+ "name": "fractionalFee",
603
+ "type": "uint160"
604
+ },
605
+ {
606
+ "internalType": "Amount",
607
+ "name": "fixedFee",
608
+ "type": "uint96"
609
+ }
610
+ ],
611
+ "internalType": "struct Fee",
612
+ "name": "productFee",
613
+ "type": "tuple"
765
614
  },
766
615
  {
767
616
  "components": [
768
617
  {
769
618
  "internalType": "UFixed",
770
619
  "name": "fractionalFee",
771
- "type": "uint256"
620
+ "type": "uint160"
772
621
  },
773
622
  {
774
- "internalType": "uint256",
623
+ "internalType": "Amount",
775
624
  "name": "fixedFee",
776
- "type": "uint256"
625
+ "type": "uint96"
777
626
  }
778
627
  ],
779
628
  "internalType": "struct Fee",
780
- "name": "distributionFee",
629
+ "name": "processingFee",
781
630
  "type": "tuple"
782
631
  },
783
632
  {
@@ -785,16 +634,16 @@
785
634
  {
786
635
  "internalType": "UFixed",
787
636
  "name": "fractionalFee",
788
- "type": "uint256"
637
+ "type": "uint160"
789
638
  },
790
639
  {
791
- "internalType": "uint256",
640
+ "internalType": "Amount",
792
641
  "name": "fixedFee",
793
- "type": "uint256"
642
+ "type": "uint96"
794
643
  }
795
644
  ],
796
645
  "internalType": "struct Fee",
797
- "name": "productFee",
646
+ "name": "distributionFee",
798
647
  "type": "tuple"
799
648
  },
800
649
  {
@@ -802,16 +651,16 @@
802
651
  {
803
652
  "internalType": "UFixed",
804
653
  "name": "fractionalFee",
805
- "type": "uint256"
654
+ "type": "uint160"
806
655
  },
807
656
  {
808
- "internalType": "uint256",
657
+ "internalType": "Amount",
809
658
  "name": "fixedFee",
810
- "type": "uint256"
659
+ "type": "uint96"
811
660
  }
812
661
  ],
813
662
  "internalType": "struct Fee",
814
- "name": "processingFee",
663
+ "name": "minDistributionOwnerFee",
815
664
  "type": "tuple"
816
665
  },
817
666
  {
@@ -819,12 +668,12 @@
819
668
  {
820
669
  "internalType": "UFixed",
821
670
  "name": "fractionalFee",
822
- "type": "uint256"
671
+ "type": "uint160"
823
672
  },
824
673
  {
825
- "internalType": "uint256",
674
+ "internalType": "Amount",
826
675
  "name": "fixedFee",
827
- "type": "uint256"
676
+ "type": "uint96"
828
677
  }
829
678
  ],
830
679
  "internalType": "struct Fee",
@@ -836,12 +685,12 @@
836
685
  {
837
686
  "internalType": "UFixed",
838
687
  "name": "fractionalFee",
839
- "type": "uint256"
688
+ "type": "uint160"
840
689
  },
841
690
  {
842
- "internalType": "uint256",
691
+ "internalType": "Amount",
843
692
  "name": "fixedFee",
844
- "type": "uint256"
693
+ "type": "uint96"
845
694
  }
846
695
  ],
847
696
  "internalType": "struct Fee",
@@ -853,12 +702,12 @@
853
702
  {
854
703
  "internalType": "UFixed",
855
704
  "name": "fractionalFee",
856
- "type": "uint256"
705
+ "type": "uint160"
857
706
  },
858
707
  {
859
- "internalType": "uint256",
708
+ "internalType": "Amount",
860
709
  "name": "fixedFee",
861
- "type": "uint256"
710
+ "type": "uint96"
862
711
  }
863
712
  ],
864
713
  "internalType": "struct Fee",
@@ -866,25 +715,1435 @@
866
715
  "type": "tuple"
867
716
  }
868
717
  ],
869
- "internalType": "struct ITreasury.TreasuryInfo",
870
- "name": "info",
718
+ "internalType": "struct IComponents.FeeInfo",
719
+ "name": "feeInfo",
720
+ "type": "tuple"
721
+ }
722
+ ],
723
+ "stateMutability": "view",
724
+ "type": "function"
725
+ },
726
+ {
727
+ "inputs": [],
728
+ "name": "getInstance",
729
+ "outputs": [
730
+ {
731
+ "internalType": "contract IInstance",
732
+ "name": "instance",
733
+ "type": "address"
734
+ }
735
+ ],
736
+ "stateMutability": "view",
737
+ "type": "function"
738
+ },
739
+ {
740
+ "inputs": [],
741
+ "name": "getInstanceNftId",
742
+ "outputs": [
743
+ {
744
+ "internalType": "NftId",
745
+ "name": "instanceNftid",
746
+ "type": "uint96"
747
+ }
748
+ ],
749
+ "stateMutability": "view",
750
+ "type": "function"
751
+ },
752
+ {
753
+ "inputs": [],
754
+ "name": "getInstanceOwnerRole",
755
+ "outputs": [
756
+ {
757
+ "internalType": "RoleId",
758
+ "name": "roleId",
759
+ "type": "uint64"
760
+ }
761
+ ],
762
+ "stateMutability": "pure",
763
+ "type": "function"
764
+ },
765
+ {
766
+ "inputs": [],
767
+ "name": "getInstanceStore",
768
+ "outputs": [
769
+ {
770
+ "internalType": "contract IKeyValueStore",
771
+ "name": "store",
772
+ "type": "address"
773
+ }
774
+ ],
775
+ "stateMutability": "view",
776
+ "type": "function"
777
+ },
778
+ {
779
+ "inputs": [
780
+ {
781
+ "internalType": "NftId",
782
+ "name": "targetNftId",
783
+ "type": "uint96"
784
+ }
785
+ ],
786
+ "name": "getLockedAmount",
787
+ "outputs": [
788
+ {
789
+ "internalType": "Amount",
790
+ "name": "",
791
+ "type": "uint96"
792
+ }
793
+ ],
794
+ "stateMutability": "view",
795
+ "type": "function"
796
+ },
797
+ {
798
+ "inputs": [
799
+ {
800
+ "internalType": "Key32",
801
+ "name": "key",
802
+ "type": "bytes32"
803
+ }
804
+ ],
805
+ "name": "getMetadata",
806
+ "outputs": [
807
+ {
808
+ "components": [
809
+ {
810
+ "internalType": "ObjectType",
811
+ "name": "objectType",
812
+ "type": "uint8"
813
+ },
814
+ {
815
+ "internalType": "StateId",
816
+ "name": "state",
817
+ "type": "uint8"
818
+ },
819
+ {
820
+ "internalType": "Blocknumber",
821
+ "name": "updatedIn",
822
+ "type": "uint32"
823
+ },
824
+ {
825
+ "internalType": "Blocknumber",
826
+ "name": "createdIn",
827
+ "type": "uint32"
828
+ }
829
+ ],
830
+ "internalType": "struct IKeyValueStore.Metadata",
831
+ "name": "metadata",
871
832
  "type": "tuple"
872
833
  }
873
834
  ],
874
835
  "stateMutability": "view",
875
836
  "type": "function"
876
837
  },
838
+ {
839
+ "inputs": [
840
+ {
841
+ "internalType": "ClaimId",
842
+ "name": "claimId",
843
+ "type": "uint16"
844
+ },
845
+ {
846
+ "internalType": "uint24",
847
+ "name": "idx",
848
+ "type": "uint24"
849
+ }
850
+ ],
851
+ "name": "getPayoutId",
852
+ "outputs": [
853
+ {
854
+ "internalType": "PayoutId",
855
+ "name": "payoutId",
856
+ "type": "uint40"
857
+ }
858
+ ],
859
+ "stateMutability": "pure",
860
+ "type": "function"
861
+ },
862
+ {
863
+ "inputs": [
864
+ {
865
+ "internalType": "NftId",
866
+ "name": "policyNftId",
867
+ "type": "uint96"
868
+ },
869
+ {
870
+ "internalType": "PayoutId",
871
+ "name": "payoutId",
872
+ "type": "uint40"
873
+ }
874
+ ],
875
+ "name": "getPayoutInfo",
876
+ "outputs": [
877
+ {
878
+ "components": [
879
+ {
880
+ "internalType": "ClaimId",
881
+ "name": "claimId",
882
+ "type": "uint16"
883
+ },
884
+ {
885
+ "internalType": "Amount",
886
+ "name": "amount",
887
+ "type": "uint96"
888
+ },
889
+ {
890
+ "internalType": "Timestamp",
891
+ "name": "paidAt",
892
+ "type": "uint40"
893
+ },
894
+ {
895
+ "internalType": "address",
896
+ "name": "beneficiary",
897
+ "type": "address"
898
+ },
899
+ {
900
+ "internalType": "bytes",
901
+ "name": "data",
902
+ "type": "bytes"
903
+ }
904
+ ],
905
+ "internalType": "struct IPolicy.PayoutInfo",
906
+ "name": "info",
907
+ "type": "tuple"
908
+ }
909
+ ],
910
+ "stateMutability": "view",
911
+ "type": "function"
912
+ },
913
+ {
914
+ "inputs": [
915
+ {
916
+ "internalType": "NftId",
917
+ "name": "policyNftId",
918
+ "type": "uint96"
919
+ },
920
+ {
921
+ "internalType": "PayoutId",
922
+ "name": "payoutId",
923
+ "type": "uint40"
924
+ }
925
+ ],
926
+ "name": "getPayoutState",
927
+ "outputs": [
928
+ {
929
+ "internalType": "StateId",
930
+ "name": "state",
931
+ "type": "uint8"
932
+ }
933
+ ],
934
+ "stateMutability": "view",
935
+ "type": "function"
936
+ },
937
+ {
938
+ "inputs": [
939
+ {
940
+ "internalType": "NftId",
941
+ "name": "policyNftId",
942
+ "type": "uint96"
943
+ }
944
+ ],
945
+ "name": "getPolicyInfo",
946
+ "outputs": [
947
+ {
948
+ "components": [
949
+ {
950
+ "internalType": "NftId",
951
+ "name": "productNftId",
952
+ "type": "uint96"
953
+ },
954
+ {
955
+ "internalType": "NftId",
956
+ "name": "bundleNftId",
957
+ "type": "uint96"
958
+ },
959
+ {
960
+ "internalType": "RiskId",
961
+ "name": "riskId",
962
+ "type": "bytes8"
963
+ },
964
+ {
965
+ "internalType": "Amount",
966
+ "name": "sumInsuredAmount",
967
+ "type": "uint96"
968
+ },
969
+ {
970
+ "internalType": "Amount",
971
+ "name": "premiumAmount",
972
+ "type": "uint96"
973
+ },
974
+ {
975
+ "internalType": "ReferralId",
976
+ "name": "referralId",
977
+ "type": "bytes8"
978
+ },
979
+ {
980
+ "internalType": "uint16",
981
+ "name": "claimsCount",
982
+ "type": "uint16"
983
+ },
984
+ {
985
+ "internalType": "uint16",
986
+ "name": "openClaimsCount",
987
+ "type": "uint16"
988
+ },
989
+ {
990
+ "internalType": "Amount",
991
+ "name": "claimAmount",
992
+ "type": "uint96"
993
+ },
994
+ {
995
+ "internalType": "Amount",
996
+ "name": "payoutAmount",
997
+ "type": "uint96"
998
+ },
999
+ {
1000
+ "internalType": "Timestamp",
1001
+ "name": "activatedAt",
1002
+ "type": "uint40"
1003
+ },
1004
+ {
1005
+ "internalType": "Seconds",
1006
+ "name": "lifetime",
1007
+ "type": "uint40"
1008
+ },
1009
+ {
1010
+ "internalType": "Timestamp",
1011
+ "name": "expiredAt",
1012
+ "type": "uint40"
1013
+ },
1014
+ {
1015
+ "internalType": "Timestamp",
1016
+ "name": "closedAt",
1017
+ "type": "uint40"
1018
+ },
1019
+ {
1020
+ "internalType": "bytes",
1021
+ "name": "applicationData",
1022
+ "type": "bytes"
1023
+ },
1024
+ {
1025
+ "internalType": "bytes",
1026
+ "name": "processData",
1027
+ "type": "bytes"
1028
+ }
1029
+ ],
1030
+ "internalType": "struct IPolicy.PolicyInfo",
1031
+ "name": "info",
1032
+ "type": "tuple"
1033
+ }
1034
+ ],
1035
+ "stateMutability": "view",
1036
+ "type": "function"
1037
+ },
1038
+ {
1039
+ "inputs": [
1040
+ {
1041
+ "internalType": "RiskId",
1042
+ "name": "riskId",
1043
+ "type": "bytes8"
1044
+ },
1045
+ {
1046
+ "internalType": "uint256",
1047
+ "name": "idx",
1048
+ "type": "uint256"
1049
+ }
1050
+ ],
1051
+ "name": "getPolicyNftIdForRisk",
1052
+ "outputs": [
1053
+ {
1054
+ "internalType": "NftId",
1055
+ "name": "linkedPolicyNftId",
1056
+ "type": "uint96"
1057
+ }
1058
+ ],
1059
+ "stateMutability": "view",
1060
+ "type": "function"
1061
+ },
1062
+ {
1063
+ "inputs": [
1064
+ {
1065
+ "internalType": "NftId",
1066
+ "name": "policyNftId",
1067
+ "type": "uint96"
1068
+ }
1069
+ ],
1070
+ "name": "getPolicyState",
1071
+ "outputs": [
1072
+ {
1073
+ "internalType": "StateId",
1074
+ "name": "state",
1075
+ "type": "uint8"
1076
+ }
1077
+ ],
1078
+ "stateMutability": "view",
1079
+ "type": "function"
1080
+ },
1081
+ {
1082
+ "inputs": [
1083
+ {
1084
+ "internalType": "NftId",
1085
+ "name": "poolNftId",
1086
+ "type": "uint96"
1087
+ }
1088
+ ],
1089
+ "name": "getPoolInfo",
1090
+ "outputs": [
1091
+ {
1092
+ "components": [
1093
+ {
1094
+ "internalType": "Amount",
1095
+ "name": "maxBalanceAmount",
1096
+ "type": "uint96"
1097
+ },
1098
+ {
1099
+ "internalType": "UFixed",
1100
+ "name": "collateralizationLevel",
1101
+ "type": "uint160"
1102
+ },
1103
+ {
1104
+ "internalType": "UFixed",
1105
+ "name": "retentionLevel",
1106
+ "type": "uint160"
1107
+ },
1108
+ {
1109
+ "internalType": "bool",
1110
+ "name": "isInterceptingBundleTransfers",
1111
+ "type": "bool"
1112
+ },
1113
+ {
1114
+ "internalType": "bool",
1115
+ "name": "isProcessingConfirmedClaims",
1116
+ "type": "bool"
1117
+ },
1118
+ {
1119
+ "internalType": "bool",
1120
+ "name": "isExternallyManaged",
1121
+ "type": "bool"
1122
+ },
1123
+ {
1124
+ "internalType": "bool",
1125
+ "name": "isVerifyingApplications",
1126
+ "type": "bool"
1127
+ }
1128
+ ],
1129
+ "internalType": "struct IComponents.PoolInfo",
1130
+ "name": "info",
1131
+ "type": "tuple"
1132
+ }
1133
+ ],
1134
+ "stateMutability": "view",
1135
+ "type": "function"
1136
+ },
1137
+ {
1138
+ "inputs": [
1139
+ {
1140
+ "internalType": "NftId",
1141
+ "name": "policyNftId",
1142
+ "type": "uint96"
1143
+ }
1144
+ ],
1145
+ "name": "getPremiumInfo",
1146
+ "outputs": [
1147
+ {
1148
+ "components": [
1149
+ {
1150
+ "internalType": "Amount",
1151
+ "name": "productFeeAmount",
1152
+ "type": "uint96"
1153
+ },
1154
+ {
1155
+ "internalType": "Amount",
1156
+ "name": "distributionFeeAndCommissionAmount",
1157
+ "type": "uint96"
1158
+ },
1159
+ {
1160
+ "internalType": "Amount",
1161
+ "name": "poolPremiumAndFeeAmount",
1162
+ "type": "uint96"
1163
+ },
1164
+ {
1165
+ "internalType": "Amount",
1166
+ "name": "netPremiumAmount",
1167
+ "type": "uint96"
1168
+ },
1169
+ {
1170
+ "internalType": "Amount",
1171
+ "name": "fullPremiumAmount",
1172
+ "type": "uint96"
1173
+ },
1174
+ {
1175
+ "internalType": "Amount",
1176
+ "name": "premiumAmount",
1177
+ "type": "uint96"
1178
+ },
1179
+ {
1180
+ "internalType": "Amount",
1181
+ "name": "productFeeFixAmount",
1182
+ "type": "uint96"
1183
+ },
1184
+ {
1185
+ "internalType": "Amount",
1186
+ "name": "poolFeeFixAmount",
1187
+ "type": "uint96"
1188
+ },
1189
+ {
1190
+ "internalType": "Amount",
1191
+ "name": "bundleFeeFixAmount",
1192
+ "type": "uint96"
1193
+ },
1194
+ {
1195
+ "internalType": "Amount",
1196
+ "name": "distributionFeeFixAmount",
1197
+ "type": "uint96"
1198
+ },
1199
+ {
1200
+ "internalType": "Amount",
1201
+ "name": "productFeeVarAmount",
1202
+ "type": "uint96"
1203
+ },
1204
+ {
1205
+ "internalType": "Amount",
1206
+ "name": "poolFeeVarAmount",
1207
+ "type": "uint96"
1208
+ },
1209
+ {
1210
+ "internalType": "Amount",
1211
+ "name": "bundleFeeVarAmount",
1212
+ "type": "uint96"
1213
+ },
1214
+ {
1215
+ "internalType": "Amount",
1216
+ "name": "distributionFeeVarAmount",
1217
+ "type": "uint96"
1218
+ },
1219
+ {
1220
+ "internalType": "Amount",
1221
+ "name": "distributionOwnerFeeFixAmount",
1222
+ "type": "uint96"
1223
+ },
1224
+ {
1225
+ "internalType": "Amount",
1226
+ "name": "distributionOwnerFeeVarAmount",
1227
+ "type": "uint96"
1228
+ },
1229
+ {
1230
+ "internalType": "Amount",
1231
+ "name": "commissionAmount",
1232
+ "type": "uint96"
1233
+ },
1234
+ {
1235
+ "internalType": "Amount",
1236
+ "name": "discountAmount",
1237
+ "type": "uint96"
1238
+ }
1239
+ ],
1240
+ "internalType": "struct IPolicy.PremiumInfo",
1241
+ "name": "info",
1242
+ "type": "tuple"
1243
+ }
1244
+ ],
1245
+ "stateMutability": "view",
1246
+ "type": "function"
1247
+ },
1248
+ {
1249
+ "inputs": [
1250
+ {
1251
+ "internalType": "NftId",
1252
+ "name": "policyNftId",
1253
+ "type": "uint96"
1254
+ }
1255
+ ],
1256
+ "name": "getPremiumInfoState",
1257
+ "outputs": [
1258
+ {
1259
+ "internalType": "StateId",
1260
+ "name": "state",
1261
+ "type": "uint8"
1262
+ }
1263
+ ],
1264
+ "stateMutability": "view",
1265
+ "type": "function"
1266
+ },
1267
+ {
1268
+ "inputs": [
1269
+ {
1270
+ "internalType": "NftId",
1271
+ "name": "productNftId",
1272
+ "type": "uint96"
1273
+ }
1274
+ ],
1275
+ "name": "getProductInfo",
1276
+ "outputs": [
1277
+ {
1278
+ "components": [
1279
+ {
1280
+ "internalType": "bool",
1281
+ "name": "isProcessingFundedClaims",
1282
+ "type": "bool"
1283
+ },
1284
+ {
1285
+ "internalType": "bool",
1286
+ "name": "isInterceptingPolicyTransfers",
1287
+ "type": "bool"
1288
+ },
1289
+ {
1290
+ "internalType": "bool",
1291
+ "name": "hasDistribution",
1292
+ "type": "bool"
1293
+ },
1294
+ {
1295
+ "internalType": "uint8",
1296
+ "name": "expectedNumberOfOracles",
1297
+ "type": "uint8"
1298
+ },
1299
+ {
1300
+ "internalType": "uint8",
1301
+ "name": "numberOfOracles",
1302
+ "type": "uint8"
1303
+ },
1304
+ {
1305
+ "internalType": "NftId",
1306
+ "name": "poolNftId",
1307
+ "type": "uint96"
1308
+ },
1309
+ {
1310
+ "internalType": "NftId",
1311
+ "name": "distributionNftId",
1312
+ "type": "uint96"
1313
+ },
1314
+ {
1315
+ "internalType": "NftId[]",
1316
+ "name": "oracleNftId",
1317
+ "type": "uint96[]"
1318
+ }
1319
+ ],
1320
+ "internalType": "struct IComponents.ProductInfo",
1321
+ "name": "info",
1322
+ "type": "tuple"
1323
+ }
1324
+ ],
1325
+ "stateMutability": "view",
1326
+ "type": "function"
1327
+ },
1328
+ {
1329
+ "inputs": [
1330
+ {
1331
+ "internalType": "uint256",
1332
+ "name": "idx",
1333
+ "type": "uint256"
1334
+ }
1335
+ ],
1336
+ "name": "getProductNftId",
1337
+ "outputs": [
1338
+ {
1339
+ "internalType": "NftId",
1340
+ "name": "productNftId",
1341
+ "type": "uint96"
1342
+ }
1343
+ ],
1344
+ "stateMutability": "view",
1345
+ "type": "function"
1346
+ },
1347
+ {
1348
+ "inputs": [
1349
+ {
1350
+ "internalType": "ReferralId",
1351
+ "name": "referralId",
1352
+ "type": "bytes8"
1353
+ }
1354
+ ],
1355
+ "name": "getReferralInfo",
1356
+ "outputs": [
1357
+ {
1358
+ "components": [
1359
+ {
1360
+ "internalType": "NftId",
1361
+ "name": "distributionNftId",
1362
+ "type": "uint96"
1363
+ },
1364
+ {
1365
+ "internalType": "NftId",
1366
+ "name": "distributorNftId",
1367
+ "type": "uint96"
1368
+ },
1369
+ {
1370
+ "internalType": "uint32",
1371
+ "name": "maxReferrals",
1372
+ "type": "uint32"
1373
+ },
1374
+ {
1375
+ "internalType": "uint32",
1376
+ "name": "usedReferrals",
1377
+ "type": "uint32"
1378
+ },
1379
+ {
1380
+ "internalType": "UFixed",
1381
+ "name": "discountPercentage",
1382
+ "type": "uint160"
1383
+ },
1384
+ {
1385
+ "internalType": "Timestamp",
1386
+ "name": "expiryAt",
1387
+ "type": "uint40"
1388
+ },
1389
+ {
1390
+ "internalType": "string",
1391
+ "name": "referralCode",
1392
+ "type": "string"
1393
+ },
1394
+ {
1395
+ "internalType": "bytes",
1396
+ "name": "data",
1397
+ "type": "bytes"
1398
+ }
1399
+ ],
1400
+ "internalType": "struct IDistribution.ReferralInfo",
1401
+ "name": "info",
1402
+ "type": "tuple"
1403
+ }
1404
+ ],
1405
+ "stateMutability": "view",
1406
+ "type": "function"
1407
+ },
1408
+ {
1409
+ "inputs": [],
1410
+ "name": "getRegistry",
1411
+ "outputs": [
1412
+ {
1413
+ "internalType": "contract IRegistry",
1414
+ "name": "registry",
1415
+ "type": "address"
1416
+ }
1417
+ ],
1418
+ "stateMutability": "view",
1419
+ "type": "function"
1420
+ },
1421
+ {
1422
+ "inputs": [
1423
+ {
1424
+ "internalType": "NftId",
1425
+ "name": "policyNftId",
1426
+ "type": "uint96"
1427
+ }
1428
+ ],
1429
+ "name": "getRemainingClaimableAmount",
1430
+ "outputs": [
1431
+ {
1432
+ "internalType": "Amount",
1433
+ "name": "remainingClaimableAmount",
1434
+ "type": "uint96"
1435
+ }
1436
+ ],
1437
+ "stateMutability": "view",
1438
+ "type": "function"
1439
+ },
1440
+ {
1441
+ "inputs": [
1442
+ {
1443
+ "internalType": "RequestId",
1444
+ "name": "requestId",
1445
+ "type": "uint64"
1446
+ }
1447
+ ],
1448
+ "name": "getRequestInfo",
1449
+ "outputs": [
1450
+ {
1451
+ "components": [
1452
+ {
1453
+ "internalType": "NftId",
1454
+ "name": "requesterNftId",
1455
+ "type": "uint96"
1456
+ },
1457
+ {
1458
+ "internalType": "NftId",
1459
+ "name": "oracleNftId",
1460
+ "type": "uint96"
1461
+ },
1462
+ {
1463
+ "internalType": "bool",
1464
+ "name": "isCancelled",
1465
+ "type": "bool"
1466
+ },
1467
+ {
1468
+ "internalType": "Timestamp",
1469
+ "name": "respondedAt",
1470
+ "type": "uint40"
1471
+ },
1472
+ {
1473
+ "internalType": "Timestamp",
1474
+ "name": "expiredAt",
1475
+ "type": "uint40"
1476
+ },
1477
+ {
1478
+ "internalType": "string",
1479
+ "name": "callbackMethodName",
1480
+ "type": "string"
1481
+ },
1482
+ {
1483
+ "internalType": "bytes",
1484
+ "name": "requestData",
1485
+ "type": "bytes"
1486
+ },
1487
+ {
1488
+ "internalType": "bytes",
1489
+ "name": "responseData",
1490
+ "type": "bytes"
1491
+ }
1492
+ ],
1493
+ "internalType": "struct IOracle.RequestInfo",
1494
+ "name": "requestInfo",
1495
+ "type": "tuple"
1496
+ }
1497
+ ],
1498
+ "stateMutability": "view",
1499
+ "type": "function"
1500
+ },
1501
+ {
1502
+ "inputs": [
1503
+ {
1504
+ "internalType": "NftId",
1505
+ "name": "productNftId",
1506
+ "type": "uint96"
1507
+ },
1508
+ {
1509
+ "internalType": "uint256",
1510
+ "name": "idx",
1511
+ "type": "uint256"
1512
+ }
1513
+ ],
1514
+ "name": "getRiskId",
1515
+ "outputs": [
1516
+ {
1517
+ "internalType": "RiskId",
1518
+ "name": "riskId",
1519
+ "type": "bytes8"
1520
+ }
1521
+ ],
1522
+ "stateMutability": "view",
1523
+ "type": "function"
1524
+ },
1525
+ {
1526
+ "inputs": [
1527
+ {
1528
+ "internalType": "RiskId",
1529
+ "name": "riskId",
1530
+ "type": "bytes8"
1531
+ }
1532
+ ],
1533
+ "name": "getRiskInfo",
1534
+ "outputs": [
1535
+ {
1536
+ "components": [
1537
+ {
1538
+ "internalType": "NftId",
1539
+ "name": "productNftId",
1540
+ "type": "uint96"
1541
+ },
1542
+ {
1543
+ "internalType": "Timestamp",
1544
+ "name": "createdAt",
1545
+ "type": "uint40"
1546
+ },
1547
+ {
1548
+ "internalType": "bytes",
1549
+ "name": "data",
1550
+ "type": "bytes"
1551
+ }
1552
+ ],
1553
+ "internalType": "struct IRisk.RiskInfo",
1554
+ "name": "info",
1555
+ "type": "tuple"
1556
+ }
1557
+ ],
1558
+ "stateMutability": "view",
1559
+ "type": "function"
1560
+ },
1561
+ {
1562
+ "inputs": [],
1563
+ "name": "getRiskSet",
1564
+ "outputs": [
1565
+ {
1566
+ "internalType": "contract RiskSet",
1567
+ "name": "riskSet",
1568
+ "type": "address"
1569
+ }
1570
+ ],
1571
+ "stateMutability": "view",
1572
+ "type": "function"
1573
+ },
1574
+ {
1575
+ "inputs": [
1576
+ {
1577
+ "internalType": "RiskId",
1578
+ "name": "riskId",
1579
+ "type": "bytes8"
1580
+ }
1581
+ ],
1582
+ "name": "getRiskState",
1583
+ "outputs": [
1584
+ {
1585
+ "internalType": "StateId",
1586
+ "name": "stateId",
1587
+ "type": "uint8"
1588
+ }
1589
+ ],
1590
+ "stateMutability": "view",
1591
+ "type": "function"
1592
+ },
1593
+ {
1594
+ "inputs": [
1595
+ {
1596
+ "internalType": "uint256",
1597
+ "name": "idx",
1598
+ "type": "uint256"
1599
+ }
1600
+ ],
1601
+ "name": "getRoleId",
1602
+ "outputs": [
1603
+ {
1604
+ "internalType": "RoleId",
1605
+ "name": "roleId",
1606
+ "type": "uint64"
1607
+ }
1608
+ ],
1609
+ "stateMutability": "view",
1610
+ "type": "function"
1611
+ },
1612
+ {
1613
+ "inputs": [
1614
+ {
1615
+ "internalType": "RoleId",
1616
+ "name": "roleId",
1617
+ "type": "uint64"
1618
+ }
1619
+ ],
1620
+ "name": "getRoleInfo",
1621
+ "outputs": [
1622
+ {
1623
+ "components": [
1624
+ {
1625
+ "internalType": "RoleId",
1626
+ "name": "adminRoleId",
1627
+ "type": "uint64"
1628
+ },
1629
+ {
1630
+ "internalType": "enum IAccess.RoleType",
1631
+ "name": "roleType",
1632
+ "type": "uint8"
1633
+ },
1634
+ {
1635
+ "internalType": "uint32",
1636
+ "name": "maxMemberCount",
1637
+ "type": "uint32"
1638
+ },
1639
+ {
1640
+ "internalType": "Timestamp",
1641
+ "name": "createdAt",
1642
+ "type": "uint40"
1643
+ },
1644
+ {
1645
+ "internalType": "Timestamp",
1646
+ "name": "pausedAt",
1647
+ "type": "uint40"
1648
+ },
1649
+ {
1650
+ "internalType": "Str",
1651
+ "name": "name",
1652
+ "type": "bytes32"
1653
+ }
1654
+ ],
1655
+ "internalType": "struct IAccess.RoleInfo",
1656
+ "name": "roleInfo",
1657
+ "type": "tuple"
1658
+ }
1659
+ ],
1660
+ "stateMutability": "view",
1661
+ "type": "function"
1662
+ },
1663
+ {
1664
+ "inputs": [
1665
+ {
1666
+ "internalType": "RoleId",
1667
+ "name": "roleId",
1668
+ "type": "uint64"
1669
+ },
1670
+ {
1671
+ "internalType": "uint256",
1672
+ "name": "idx",
1673
+ "type": "uint256"
1674
+ }
1675
+ ],
1676
+ "name": "getRoleMember",
1677
+ "outputs": [
1678
+ {
1679
+ "internalType": "address",
1680
+ "name": "account",
1681
+ "type": "address"
1682
+ }
1683
+ ],
1684
+ "stateMutability": "view",
1685
+ "type": "function"
1686
+ },
1687
+ {
1688
+ "inputs": [
1689
+ {
1690
+ "internalType": "Key32",
1691
+ "name": "key",
1692
+ "type": "bytes32"
1693
+ }
1694
+ ],
1695
+ "name": "getState",
1696
+ "outputs": [
1697
+ {
1698
+ "internalType": "StateId",
1699
+ "name": "state",
1700
+ "type": "uint8"
1701
+ }
1702
+ ],
1703
+ "stateMutability": "view",
1704
+ "type": "function"
1705
+ },
1706
+ {
1707
+ "inputs": [
1708
+ {
1709
+ "internalType": "uint256",
1710
+ "name": "idx",
1711
+ "type": "uint256"
1712
+ }
1713
+ ],
1714
+ "name": "getTargetAddress",
1715
+ "outputs": [
1716
+ {
1717
+ "internalType": "address",
1718
+ "name": "target",
1719
+ "type": "address"
1720
+ }
1721
+ ],
1722
+ "stateMutability": "view",
1723
+ "type": "function"
1724
+ },
1725
+ {
1726
+ "inputs": [
1727
+ {
1728
+ "internalType": "address",
1729
+ "name": "target",
1730
+ "type": "address"
1731
+ }
1732
+ ],
1733
+ "name": "getTargetInfo",
1734
+ "outputs": [
1735
+ {
1736
+ "components": [
1737
+ {
1738
+ "internalType": "Str",
1739
+ "name": "name",
1740
+ "type": "bytes32"
1741
+ },
1742
+ {
1743
+ "internalType": "enum IAccess.TargetType",
1744
+ "name": "targetType",
1745
+ "type": "uint8"
1746
+ },
1747
+ {
1748
+ "internalType": "RoleId",
1749
+ "name": "roleId",
1750
+ "type": "uint64"
1751
+ },
1752
+ {
1753
+ "internalType": "Timestamp",
1754
+ "name": "createdAt",
1755
+ "type": "uint40"
1756
+ }
1757
+ ],
1758
+ "internalType": "struct IAccess.TargetInfo",
1759
+ "name": "targetInfo",
1760
+ "type": "tuple"
1761
+ }
1762
+ ],
1763
+ "stateMutability": "view",
1764
+ "type": "function"
1765
+ },
1766
+ {
1767
+ "inputs": [
1768
+ {
1769
+ "internalType": "NftId",
1770
+ "name": "componentNftId",
1771
+ "type": "uint96"
1772
+ }
1773
+ ],
1774
+ "name": "getToken",
1775
+ "outputs": [
1776
+ {
1777
+ "internalType": "contract IERC20Metadata",
1778
+ "name": "token",
1779
+ "type": "address"
1780
+ }
1781
+ ],
1782
+ "stateMutability": "view",
1783
+ "type": "function"
1784
+ },
1785
+ {
1786
+ "inputs": [
1787
+ {
1788
+ "internalType": "NftId",
1789
+ "name": "componentNftId",
1790
+ "type": "uint96"
1791
+ }
1792
+ ],
1793
+ "name": "getTokenHandler",
1794
+ "outputs": [
1795
+ {
1796
+ "internalType": "contract TokenHandler",
1797
+ "name": "tokenHandler",
1798
+ "type": "address"
1799
+ }
1800
+ ],
1801
+ "stateMutability": "view",
1802
+ "type": "function"
1803
+ },
1804
+ {
1805
+ "inputs": [
1806
+ {
1807
+ "internalType": "NftId",
1808
+ "name": "componentNftId",
1809
+ "type": "uint96"
1810
+ }
1811
+ ],
1812
+ "name": "getWallet",
1813
+ "outputs": [
1814
+ {
1815
+ "internalType": "address",
1816
+ "name": "wallet",
1817
+ "type": "address"
1818
+ }
1819
+ ],
1820
+ "stateMutability": "view",
1821
+ "type": "function"
1822
+ },
1823
+ {
1824
+ "inputs": [],
1825
+ "name": "initialize",
1826
+ "outputs": [],
1827
+ "stateMutability": "nonpayable",
1828
+ "type": "function"
1829
+ },
1830
+ {
1831
+ "inputs": [
1832
+ {
1833
+ "internalType": "address",
1834
+ "name": "instanceAddress",
1835
+ "type": "address"
1836
+ }
1837
+ ],
1838
+ "name": "initializeWithInstance",
1839
+ "outputs": [],
1840
+ "stateMutability": "nonpayable",
1841
+ "type": "function"
1842
+ },
1843
+ {
1844
+ "inputs": [
1845
+ {
1846
+ "internalType": "address",
1847
+ "name": "target",
1848
+ "type": "address"
1849
+ }
1850
+ ],
1851
+ "name": "isLocked",
1852
+ "outputs": [
1853
+ {
1854
+ "internalType": "bool",
1855
+ "name": "",
1856
+ "type": "bool"
1857
+ }
1858
+ ],
1859
+ "stateMutability": "view",
1860
+ "type": "function"
1861
+ },
1862
+ {
1863
+ "inputs": [
1864
+ {
1865
+ "internalType": "NftId",
1866
+ "name": "distributionNftId",
1867
+ "type": "uint96"
1868
+ },
1869
+ {
1870
+ "internalType": "ReferralId",
1871
+ "name": "referralId",
1872
+ "type": "bytes8"
1873
+ }
1874
+ ],
1875
+ "name": "isReferralValid",
1876
+ "outputs": [
1877
+ {
1878
+ "internalType": "bool",
1879
+ "name": "isValid",
1880
+ "type": "bool"
1881
+ }
1882
+ ],
1883
+ "stateMutability": "view",
1884
+ "type": "function"
1885
+ },
1886
+ {
1887
+ "inputs": [
1888
+ {
1889
+ "internalType": "RoleId",
1890
+ "name": "roleId",
1891
+ "type": "uint64"
1892
+ }
1893
+ ],
1894
+ "name": "isRoleActive",
1895
+ "outputs": [
1896
+ {
1897
+ "internalType": "bool",
1898
+ "name": "isActive",
1899
+ "type": "bool"
1900
+ }
1901
+ ],
1902
+ "stateMutability": "view",
1903
+ "type": "function"
1904
+ },
1905
+ {
1906
+ "inputs": [
1907
+ {
1908
+ "internalType": "RoleId",
1909
+ "name": "roleId",
1910
+ "type": "uint64"
1911
+ },
1912
+ {
1913
+ "internalType": "address",
1914
+ "name": "account",
1915
+ "type": "address"
1916
+ }
1917
+ ],
1918
+ "name": "isRoleAdmin",
1919
+ "outputs": [
1920
+ {
1921
+ "internalType": "bool",
1922
+ "name": "isMember",
1923
+ "type": "bool"
1924
+ }
1925
+ ],
1926
+ "stateMutability": "view",
1927
+ "type": "function"
1928
+ },
1929
+ {
1930
+ "inputs": [
1931
+ {
1932
+ "internalType": "RoleId",
1933
+ "name": "roleId",
1934
+ "type": "uint64"
1935
+ }
1936
+ ],
1937
+ "name": "isRoleCustom",
1938
+ "outputs": [
1939
+ {
1940
+ "internalType": "bool",
1941
+ "name": "isCustom",
1942
+ "type": "bool"
1943
+ }
1944
+ ],
1945
+ "stateMutability": "view",
1946
+ "type": "function"
1947
+ },
1948
+ {
1949
+ "inputs": [
1950
+ {
1951
+ "internalType": "RoleId",
1952
+ "name": "roleId",
1953
+ "type": "uint64"
1954
+ },
1955
+ {
1956
+ "internalType": "address",
1957
+ "name": "account",
1958
+ "type": "address"
1959
+ }
1960
+ ],
1961
+ "name": "isRoleMember",
1962
+ "outputs": [
1963
+ {
1964
+ "internalType": "bool",
1965
+ "name": "isMember",
1966
+ "type": "bool"
1967
+ }
1968
+ ],
1969
+ "stateMutability": "view",
1970
+ "type": "function"
1971
+ },
1972
+ {
1973
+ "inputs": [
1974
+ {
1975
+ "internalType": "NftId",
1976
+ "name": "policyNftId",
1977
+ "type": "uint96"
1978
+ },
1979
+ {
1980
+ "internalType": "ClaimId",
1981
+ "name": "claimId",
1982
+ "type": "uint16"
1983
+ }
1984
+ ],
1985
+ "name": "payouts",
1986
+ "outputs": [
1987
+ {
1988
+ "internalType": "uint24",
1989
+ "name": "payoutCount",
1990
+ "type": "uint24"
1991
+ }
1992
+ ],
1993
+ "stateMutability": "view",
1994
+ "type": "function"
1995
+ },
1996
+ {
1997
+ "inputs": [
1998
+ {
1999
+ "internalType": "RiskId",
2000
+ "name": "riskId",
2001
+ "type": "bytes8"
2002
+ }
2003
+ ],
2004
+ "name": "policiesForRisk",
2005
+ "outputs": [
2006
+ {
2007
+ "internalType": "uint256",
2008
+ "name": "linkedPolicies",
2009
+ "type": "uint256"
2010
+ }
2011
+ ],
2012
+ "stateMutability": "view",
2013
+ "type": "function"
2014
+ },
2015
+ {
2016
+ "inputs": [
2017
+ {
2018
+ "internalType": "NftId",
2019
+ "name": "policyNftId",
2020
+ "type": "uint96"
2021
+ }
2022
+ ],
2023
+ "name": "policyIsActive",
2024
+ "outputs": [
2025
+ {
2026
+ "internalType": "bool",
2027
+ "name": "isCloseable",
2028
+ "type": "bool"
2029
+ }
2030
+ ],
2031
+ "stateMutability": "view",
2032
+ "type": "function"
2033
+ },
2034
+ {
2035
+ "inputs": [],
2036
+ "name": "products",
2037
+ "outputs": [
2038
+ {
2039
+ "internalType": "uint256",
2040
+ "name": "productCount",
2041
+ "type": "uint256"
2042
+ }
2043
+ ],
2044
+ "stateMutability": "view",
2045
+ "type": "function"
2046
+ },
2047
+ {
2048
+ "inputs": [
2049
+ {
2050
+ "internalType": "NftId",
2051
+ "name": "productNftId",
2052
+ "type": "uint96"
2053
+ }
2054
+ ],
2055
+ "name": "risks",
2056
+ "outputs": [
2057
+ {
2058
+ "internalType": "uint256",
2059
+ "name": "riskCount",
2060
+ "type": "uint256"
2061
+ }
2062
+ ],
2063
+ "stateMutability": "view",
2064
+ "type": "function"
2065
+ },
2066
+ {
2067
+ "inputs": [
2068
+ {
2069
+ "internalType": "RoleId",
2070
+ "name": "roleId",
2071
+ "type": "uint64"
2072
+ }
2073
+ ],
2074
+ "name": "roleExists",
2075
+ "outputs": [
2076
+ {
2077
+ "internalType": "bool",
2078
+ "name": "exists",
2079
+ "type": "bool"
2080
+ }
2081
+ ],
2082
+ "stateMutability": "view",
2083
+ "type": "function"
2084
+ },
2085
+ {
2086
+ "inputs": [
2087
+ {
2088
+ "internalType": "RoleId",
2089
+ "name": "roleId",
2090
+ "type": "uint64"
2091
+ }
2092
+ ],
2093
+ "name": "roleMembers",
2094
+ "outputs": [
2095
+ {
2096
+ "internalType": "uint256",
2097
+ "name": "numberOfMembers",
2098
+ "type": "uint256"
2099
+ }
2100
+ ],
2101
+ "stateMutability": "view",
2102
+ "type": "function"
2103
+ },
2104
+ {
2105
+ "inputs": [],
2106
+ "name": "roles",
2107
+ "outputs": [
2108
+ {
2109
+ "internalType": "uint256",
2110
+ "name": "",
2111
+ "type": "uint256"
2112
+ }
2113
+ ],
2114
+ "stateMutability": "view",
2115
+ "type": "function"
2116
+ },
877
2117
  {
878
2118
  "inputs": [
879
2119
  {
880
2120
  "internalType": "address",
881
- "name": "instance",
2121
+ "name": "target",
882
2122
  "type": "address"
883
2123
  }
884
2124
  ],
885
- "name": "initialize",
886
- "outputs": [],
887
- "stateMutability": "nonpayable",
2125
+ "name": "targetExists",
2126
+ "outputs": [
2127
+ {
2128
+ "internalType": "bool",
2129
+ "name": "exists",
2130
+ "type": "bool"
2131
+ }
2132
+ ],
2133
+ "stateMutability": "view",
2134
+ "type": "function"
2135
+ },
2136
+ {
2137
+ "inputs": [],
2138
+ "name": "targets",
2139
+ "outputs": [
2140
+ {
2141
+ "internalType": "uint256",
2142
+ "name": "targetCount",
2143
+ "type": "uint256"
2144
+ }
2145
+ ],
2146
+ "stateMutability": "view",
888
2147
  "type": "function"
889
2148
  },
890
2149
  {
@@ -906,6 +2165,25 @@
906
2165
  "stateMutability": "pure",
907
2166
  "type": "function"
908
2167
  },
2168
+ {
2169
+ "inputs": [
2170
+ {
2171
+ "internalType": "NftId",
2172
+ "name": "componentNftId",
2173
+ "type": "uint96"
2174
+ }
2175
+ ],
2176
+ "name": "toComponentKey",
2177
+ "outputs": [
2178
+ {
2179
+ "internalType": "Key32",
2180
+ "name": "",
2181
+ "type": "bytes32"
2182
+ }
2183
+ ],
2184
+ "stateMutability": "pure",
2185
+ "type": "function"
2186
+ },
909
2187
  {
910
2188
  "inputs": [
911
2189
  {
@@ -944,12 +2222,31 @@
944
2222
  "stateMutability": "pure",
945
2223
  "type": "function"
946
2224
  },
2225
+ {
2226
+ "inputs": [
2227
+ {
2228
+ "internalType": "NftId",
2229
+ "name": "productNftId",
2230
+ "type": "uint96"
2231
+ }
2232
+ ],
2233
+ "name": "toFeeKey",
2234
+ "outputs": [
2235
+ {
2236
+ "internalType": "Key32",
2237
+ "name": "",
2238
+ "type": "bytes32"
2239
+ }
2240
+ ],
2241
+ "stateMutability": "pure",
2242
+ "type": "function"
2243
+ },
947
2244
  {
948
2245
  "inputs": [
949
2246
  {
950
2247
  "internalType": "UFixed",
951
2248
  "name": "value",
952
- "type": "uint256"
2249
+ "type": "uint160"
953
2250
  }
954
2251
  ],
955
2252
  "name": "toInt",
@@ -1005,11 +2302,11 @@
1005
2302
  "inputs": [
1006
2303
  {
1007
2304
  "internalType": "NftId",
1008
- "name": "productNftId",
2305
+ "name": "policyNftId",
1009
2306
  "type": "uint96"
1010
2307
  }
1011
2308
  ],
1012
- "name": "toProductKey",
2309
+ "name": "toPremiumKey",
1013
2310
  "outputs": [
1014
2311
  {
1015
2312
  "internalType": "Key32",
@@ -1024,21 +2321,16 @@
1024
2321
  "inputs": [
1025
2322
  {
1026
2323
  "internalType": "NftId",
1027
- "name": "distributionNftId",
2324
+ "name": "productNftId",
1028
2325
  "type": "uint96"
1029
- },
1030
- {
1031
- "internalType": "string",
1032
- "name": "referralCode",
1033
- "type": "string"
1034
2326
  }
1035
2327
  ],
1036
- "name": "toReferralId",
2328
+ "name": "toProductKey",
1037
2329
  "outputs": [
1038
2330
  {
1039
- "internalType": "ReferralId",
1040
- "name": "referralId",
1041
- "type": "bytes8"
2331
+ "internalType": "Key32",
2332
+ "name": "",
2333
+ "type": "bytes32"
1042
2334
  }
1043
2335
  ],
1044
2336
  "stateMutability": "pure",
@@ -1048,16 +2340,21 @@
1048
2340
  "inputs": [
1049
2341
  {
1050
2342
  "internalType": "NftId",
1051
- "name": "productNftId",
2343
+ "name": "distributionNftId",
1052
2344
  "type": "uint96"
2345
+ },
2346
+ {
2347
+ "internalType": "string",
2348
+ "name": "referralCode",
2349
+ "type": "string"
1053
2350
  }
1054
2351
  ],
1055
- "name": "toTreasuryKey",
2352
+ "name": "toReferralId",
1056
2353
  "outputs": [
1057
2354
  {
1058
- "internalType": "Key32",
1059
- "name": "",
1060
- "type": "bytes32"
2355
+ "internalType": "ReferralId",
2356
+ "name": "referralId",
2357
+ "type": "bytes8"
1061
2358
  }
1062
2359
  ],
1063
2360
  "stateMutability": "pure",
@@ -1081,207 +2378,319 @@
1081
2378
  {
1082
2379
  "internalType": "UFixed",
1083
2380
  "name": "",
1084
- "type": "uint256"
2381
+ "type": "uint160"
1085
2382
  }
1086
2383
  ],
1087
2384
  "stateMutability": "pure",
1088
2385
  "type": "function"
1089
2386
  }
1090
2387
  ],
1091
- "bytecode": "0x608060405234801561001057600080fd5b50612dbb806100206000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c806390af7064116100f9578063d06458c611610097578063de7b5d1411610071578063de7b5d1414610501578063f0ea17c314610517578063f2b246c314610537578063f7f318d31461055757600080fd5b8063d06458c6146104bd578063d4cda0d8146104dd578063dd26287a146104ee57600080fd5b8063a5961b4c116100d3578063a5961b4c146103f1578063b82d7ef51461045e578063bd7d9d8514610488578063c4d66de8146104a857600080fd5b806390af7064146103175780639ad69c6714610337578063a310e2a3146103c657600080fd5b806344aa6836116101665780637bfd3217116101405780637bfd3217146102ac5780637e54602a146102bf578063887b1fa9146102d25780639096a1f3146102f257600080fd5b806344aa6836146102665780634793b4ab1461027957806364eb3a9b1461029957600080fd5b80631488c845146101ae5780631d3be477146101d457806325d03743146101f457806327b1d7921461020757806335898f5d146102275780633f093cd61461023a575b600080fd5b6101c16101bc366004611962565b61056a565b6040519081526020015b60405180910390f35b6101e76101e23660046119b1565b6105f0565b6040516101cb9190611a1e565b6101c1610202366004611acf565b610742565b61021a610215366004611acf565b6107e2565b6040516101cb9190611aec565b6101c1610235366004611acf565b6108be565b61024d610248366004611caf565b6108eb565b6040516001600160c01b031990911681526020016101cb565b6101c1610274366004611d41565b610968565b61028c610287366004611acf565b6109a3565b6040516101cb9190611d5a565b6101c16102a7366004611acf565b610a49565b6101c16102ba366004611acf565b610a76565b6101c16102cd366004611acf565b610aa3565b6102e56102e03660046119b1565b610ad0565b6040516101cb9190611e3d565b610305610300366004611acf565b610bf9565b60405160ff90911681526020016101cb565b61032a610325366004611acf565b610c75565b6040516101cb9190611e73565b61034a610345366004611acf565b610d1b565b6040516101cb919081516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b6103d96103d4366004611acf565b610dc1565b6040516001600160a01b0390911681526020016101cb565b6104046103ff366004611d41565b610e6f565b6040516101cb9190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61047161046c3660046119b1565b610f03565b6040805192835260ff9091166020830152016101cb565b61049b610496366004611acf565b6111ab565b6040516101cb9190611f23565b6104bb6104b6366004612086565b6112c9565b005b6104d06104cb3660046119b1565b61144f565b6040516101cb91906120a3565b6001546001600160a01b03166103d9565b6101c16104fc366004611acf565b6115c2565b60005461010090046001600160a01b03166103d9565b61052a610525366004611acf565b6115ef565b6040516101cb9190612153565b61054a610545366004611acf565b6116c4565b6040516101cb91906121d4565b6101c1610565366004611acf565b61180c565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af41580156105c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e991906122d6565b9392505050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af4158015610697573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bb91906122d6565b6040518263ffffffff1660e01b81526004016106d991815260200190565b600060405180830381865afa1580156106f6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261071e9190810190612334565b80519091501561073c57808060200190518101906105e991906123b3565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af41580156107b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc91906122d6565b92915050565b6108206040518060a0016040528060006001600160c01b03191681526020016000151581526020016060815260200160008152602001600081525090565b6001546000906001600160a01b03166354f6127f61083d85610aa3565b6040518263ffffffff1660e01b815260040161085b91815260200190565b600060405180830381865afa158015610878573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108a09190810190612334565b80519091501561073c57808060200190518101906105e991906124ac565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607861076b565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd6906109279086908690600401612553565b602060405180830381865af4158015610944573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e99190612575565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa68369060240161079b565b6109ab611839565b6001546000906001600160a01b03166354f6127f6109c88561180c565b6040518263ffffffff1660e01b81526004016109e691815260200190565b600060405180830381865afa158015610a03573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a2b9190810190612334565b80519091501561073c57808060200190518101906105e991906125c2565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d361076b565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e61076b565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a61076b565b6040805180820190915260008152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610b54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b7891906122d6565b6040518263ffffffff1660e01b8152600401610b9691815260200190565b600060405180830381865afa158015610bb3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bdb9190810190612334565b80519091501561073c57808060200190518101906105e991906126be565b6001546000906001600160a01b03166309648a9d610c1684610a49565b6040518263ffffffff1660e01b8152600401610c3491815260200190565b602060405180830381865afa158015610c51573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc919061274c565b610c7d6118aa565b6001546000906001600160a01b03166354f6127f610c9a85610a76565b6040518263ffffffff1660e01b8152600401610cb891815260200190565b600060405180830381865afa158015610cd5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610cfd9190810190612334565b80519091501561073c57808060200190518101906105e99190612774565b610d2361191a565b6001546000906001600160a01b03166354f6127f610d40856108be565b6040518263ffffffff1660e01b8152600401610d5e91815260200190565b600060405180830381865afa158015610d7b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610da39190810190612334565b80519091501561073c57808060200190518101906105e9919061281c565b60015460009081906001600160a01b03166354f6127f610de085610742565b6040518263ffffffff1660e01b8152600401610dfe91815260200190565b600060405180830381865afa158015610e1b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e439190810190612334565b80519091501561073c57600081806020019051810190610e6391906128bd565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610edf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc919061298e565b6000806000610f11846105f0565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610f70573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f949190612a08565b156110135773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610fe2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061100691906122d6565b60645b9250925050915091565b6110978160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611064573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110889190612a23565b64ffffffffff90811691161090565b156111105773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156110e5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061110991906122d6565b606e611009565b806060015163ffffffff16816080015163ffffffff161061119f5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611174573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061119891906122d6565b6078611009565b6040810151600a611009565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526001546000906001600160a01b03166354f6127f61124885610a49565b6040518263ffffffff1660e01b815260040161126691815260200190565b600060405180830381865afa158015611283573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112ab9190810190612334565b80519091501561073c57808060200190518101906105e99190612a52565b60005460ff161561132b5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b0381166113815760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a494e5354414e43455f5a45524f00000000006044820152606401611322565b80600060016101000a8154816001600160a01b0302191690836001600160a01b03160217905550600060019054906101000a90046001600160a01b03166001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061141f9190612bbe565b600180546001600160a01b0319166001600160a01b03929092169190911781556000805460ff1916909117905550565b6114ae60405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af415801561151d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061154191906122d6565b6040518263ffffffff1660e01b815260040161155f91815260200190565b600060405180830381865afa15801561157c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115a49190810190612334565b80519091501561073c57808060200190518101906105e99190612bdb565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c61076b565b6040805160e08101825260608082526000602083018190529282018390528082018390526080820183905260a0820183905260c08201526001549091906001600160a01b03166354f6127f611643856115c2565b6040518263ffffffff1660e01b815260040161166191815260200190565b600060405180830381865afa15801561167e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116a69190810190612334565b80519091501561073c57808060200190518101906105e99190612cd2565b61176e604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6001546000906001600160a01b03166354f6127f61178b85610742565b6040518263ffffffff1660e01b81526004016117a991815260200190565b600060405180830381865afa1580156117c6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117ee9190810190612334565b80519091501561073c57808060200190518101906105e991906128bd565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc61076b565b60405180610120016040528060006001600160601b03168152602001611872604051806040016040528060008152602001600081525090565b81526060602082018190526000604083018190529082018190526080820181905260a0820181905260c0820181905260e09091015290565b6040805161010081018252600080825260208083018290528284018290526060830182905283518085019094528184528301529060808201905b8152602001611906604051806040016040528060008152602001600081525090565b815260006020820181905260409091015290565b6040518060c0016040528060006001600160601b0316815260200160006001600160a01b031681526020016118e4604051806040016040528060008152602001600081525090565b6000806040838503121561197557600080fd5b8235915060208301358060000b811461198d57600080fd5b809150509250929050565b6001600160c01b0319811681146119ae57600080fd5b50565b6000602082840312156119c357600080fd5b81356105e981611998565b60005b838110156119e95781810151838201526020016119d1565b50506000910152565b60008151808452611a0a8160208601602086016119ce565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e06040840152611a4e6101008401826119f2565b90506040840151606084015263ffffffff60608501511660808401526080840151611a8160a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e0850152611ab182826119f2565b95945050505050565b6001600160601b03811681146119ae57600080fd5b600060208284031215611ae157600080fd5b81356105e981611aba565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a06060840152611b2a60c08401826119f2565b905060608401516080840152608084015160a08401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611b8257611b82611b4a565b60405290565b60405160a081016001600160401b0381118282101715611b8257611b82611b4a565b604080519081016001600160401b0381118282101715611b8257611b82611b4a565b60405161012081016001600160401b0381118282101715611b8257611b82611b4a565b60405161010081016001600160401b0381118282101715611b8257611b82611b4a565b60405161014081016001600160401b0381118282101715611b8257611b82611b4a565b60405161020081016001600160401b0381118282101715611b8257611b82611b4a565b604051601f8201601f191681016001600160401b0381118282101715611c8057611c80611b4a565b604052919050565b60006001600160401b03821115611ca157611ca1611b4a565b50601f01601f191660200190565b60008060408385031215611cc257600080fd5b8235611ccd81611aba565b915060208301356001600160401b03811115611ce857600080fd5b8301601f81018513611cf957600080fd5b8035611d0c611d0782611c88565b611c58565b818152866020838501011115611d2157600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611d5357600080fd5b5035919050565b60208152611d746020820183516001600160601b03169052565b60006020830151611d92604084018280518252602090810151910152565b506040830151610140806080850152611daf6101608501836119f2565b91506060850151611dcb60a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c0850151610100611e108187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291505b9095015164ffffffffff1693019290925250919050565b602081526001600160601b03825116602082015260006020830151604080840152611e6b60608401826119f2565b949350505050565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b031690820152606080830151610140830191611ec2908401826001600160601b03169052565b506080830151611edf608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401525b5092915050565b60208152611f3d6020820183516001600160601b03169052565b60006020830151611f5960408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e0830151610100611fbe8185018364ffffffffff169052565b808501519150506102006101208181860152611fde6102208601846119f2565b9250808601519050610140601f198685030181870152611ffe84836119f2565b9350808701519150506101606120198187018361ffff169052565b86015190506101806120308682018361ffff169052565b8601516101a08681019190915286015190506101c06120578187018364ffffffffff169052565b86015190506101e0611e268682018364ffffffffff169052565b6001600160a01b03811681146119ae57600080fd5b60006020828403121561209857600080fd5b81356105e981612071565b60208152600082516101208060208501526120c26101408501836119f2565b915060208501516040850152604085015160608501526060850151608085015260808501516120f960a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e085015161010061212f8187018315159052565b860151858403601f190183870152905061214983826119f2565b9695505050505050565b602081526000825160e060208401526121706101008401826119f2565b9050602084015160018060a01b038082166040860152806040870151166060860152806060870151166080860152505060808401516121ba60a08501826001600160601b03169052565b5060a08401516001600160601b03811660c0850152611a95565b81516001600160a01b031681526102008101602083015161220060208401826001600160a01b03169052565b50604083015161221b60408401826001600160601b03169052565b50606083015161223660608401826001600160601b03169052565b506080830151612253608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301516101006122898185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e08501529050611f1c565b6000602082840312156122e857600080fd5b5051919050565b600082601f83011261230057600080fd5b815161230e611d0782611c88565b81815284602083860101111561232357600080fd5b611e6b8260208301602087016119ce565b60006020828403121561234657600080fd5b81516001600160401b0381111561235c57600080fd5b611e6b848285016122ef565b805161237381611aba565b919050565b63ffffffff811681146119ae57600080fd5b805161237381612378565b64ffffffffff811681146119ae57600080fd5b805161237381612395565b6000602082840312156123c557600080fd5b81516001600160401b03808211156123dc57600080fd5b9083019060e082860312156123f057600080fd5b6123f8611b60565b61240183612368565b815260208301518281111561241557600080fd5b612421878286016122ef565b6020830152506040830151604082015261243d6060840161238a565b606082015261244e6080840161238a565b608082015261245f60a084016123a8565b60a082015260c08301518281111561247657600080fd5b612482878286016122ef565b60c08301525095945050505050565b805161237381611998565b8051801515811461237357600080fd5b6000602082840312156124be57600080fd5b81516001600160401b03808211156124d557600080fd5b9083019060a082860312156124e957600080fd5b6124f1611b88565b82516124fc81611998565b815261250a6020840161249c565b602082015260408301518281111561252157600080fd5b61252d878286016122ef565b604083015250606083015160608201526080830151608082015280935050505092915050565b6001600160601b0383168152604060208201526000611e6b60408301846119f2565b60006020828403121561258757600080fd5b81516105e981611998565b6000604082840312156125a457600080fd5b6125ac611baa565b9050815181526020820151602082015292915050565b6000602082840312156125d457600080fd5b81516001600160401b03808211156125eb57600080fd5b90830190610140828603121561260057600080fd5b612608611bcc565b61261183612368565b81526126208660208501612592565b602082015260608301518281111561263757600080fd5b612643878286016122ef565b60408301525061265560808401612368565b606082015261266660a08401612368565b608082015261267760c08401612368565b60a082015261268860e084016123a8565b60c0820152610100915061269d8284016123a8565b60e08201526126af61012084016123a8565b91810191909152949350505050565b6000602082840312156126d057600080fd5b81516001600160401b03808211156126e757600080fd5b90830190604082860312156126fb57600080fd5b612703611baa565b825161270e81611aba565b815260208301518281111561272257600080fd5b61272e878286016122ef565b60208301525095945050505050565b60ff811681146119ae57600080fd5b60006020828403121561275e57600080fd5b81516105e98161273d565b805161237381612071565b6000610140828403121561278757600080fd5b61278f611bef565b61279883612769565b81526127a660208401612769565b60208201526127b760408401612368565b60408201526127c860608401612368565b60608201526127da8460808501612592565b60808201526127ec8460c08501612592565b60a08201526127fe610100840161249c565b60c08201526128106101208401612769565b60e08201529392505050565b6000610100828403121561282f57600080fd5b60405160c081018181106001600160401b038211171561285157612851611b4a565b604052825161285f81611aba565b8152602083015161286f81612071565b60208201526128818460408501612592565b60408201526128938460808501612592565b606082015260c08301516128a681612071565b608082015260e0929092015160a083015250919050565b600061020082840312156128d057600080fd5b6128d8611c12565b6128e183612769565b81526128ef60208401612769565b602082015261290060408401612368565b604082015261291160608401612368565b60608201526129238460808501612592565b60808201526129358460c08501612592565b60a082015261010061294985828601612592565b60c083015261295c856101408601612592565b60e083015261296f856101808601612592565b90820152612981846101c08501612592565b6101208201529392505050565b600060a082840312156129a057600080fd5b6129a8611b88565b82516129b38161273d565b815260208301516129c38161273d565b602082015260408301516129d681612071565b604082015260608301516129e981612378565b606082015260808301516129fc81612378565b60808201529392505050565b600060208284031215612a1a57600080fd5b6105e98261249c565b600060208284031215612a3557600080fd5b81516105e981612395565b805161ffff8116811461237357600080fd5b600060208284031215612a6457600080fd5b81516001600160401b0380821115612a7b57600080fd5b908301906102008286031215612a9057600080fd5b612a98611c35565b612aa183612368565b8152612aaf60208401612368565b6020820152612ac060408401612491565b6040820152612ad160608401612491565b60608201526080830151608082015260a083015160a082015260c083015160c0820152612b0060e084016123a8565b60e08201526101008084015183811115612b1957600080fd5b612b25888287016122ef565b8284015250506101208084015183811115612b3f57600080fd5b612b4b888287016122ef565b8284015250506101409150612b61828401612a40565b828201526101609150612b75828401612a40565b82820152610180915081830151828201526101a09150612b968284016123a8565b828201526101c09150612baa8284016123a8565b828201526101e091506126af8284016123a8565b600060208284031215612bd057600080fd5b81516105e981612071565b600060208284031215612bed57600080fd5b81516001600160401b0380821115612c0457600080fd5b908301906101208286031215612c1957600080fd5b612c21611bcc565b825182811115612c3057600080fd5b612c3c878286016122ef565b825250602083015160208201526040830151604082015260608301516060820152612c696080840161238a565b6080820152612c7a60a0840161238a565b60a0820152612c8b60c0840161249c565b60c0820152612c9c60e0840161249c565b60e08201526101008084015183811115612cb557600080fd5b612cc1888287016122ef565b918301919091525095945050505050565b600060208284031215612ce457600080fd5b81516001600160401b0380821115612cfb57600080fd5b9083019060e08286031215612d0f57600080fd5b612d17611b60565b825182811115612d2657600080fd5b612d32878286016122ef565b825250612d4160208401612769565b6020820152612d5260408401612769565b6040820152612d6360608401612769565b6060820152612d7460808401612368565b608082015261245f60a0840161236856fea26469706673582212203033047bfd274c9c5e63990827ce32ff9350217cb7e423d441ad0c16dff9d29b64736f6c63430008140033",
1092
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101a95760003560e01c806390af7064116100f9578063d06458c611610097578063de7b5d1411610071578063de7b5d1414610501578063f0ea17c314610517578063f2b246c314610537578063f7f318d31461055757600080fd5b8063d06458c6146104bd578063d4cda0d8146104dd578063dd26287a146104ee57600080fd5b8063a5961b4c116100d3578063a5961b4c146103f1578063b82d7ef51461045e578063bd7d9d8514610488578063c4d66de8146104a857600080fd5b806390af7064146103175780639ad69c6714610337578063a310e2a3146103c657600080fd5b806344aa6836116101665780637bfd3217116101405780637bfd3217146102ac5780637e54602a146102bf578063887b1fa9146102d25780639096a1f3146102f257600080fd5b806344aa6836146102665780634793b4ab1461027957806364eb3a9b1461029957600080fd5b80631488c845146101ae5780631d3be477146101d457806325d03743146101f457806327b1d7921461020757806335898f5d146102275780633f093cd61461023a575b600080fd5b6101c16101bc366004611962565b61056a565b6040519081526020015b60405180910390f35b6101e76101e23660046119b1565b6105f0565b6040516101cb9190611a1e565b6101c1610202366004611acf565b610742565b61021a610215366004611acf565b6107e2565b6040516101cb9190611aec565b6101c1610235366004611acf565b6108be565b61024d610248366004611caf565b6108eb565b6040516001600160c01b031990911681526020016101cb565b6101c1610274366004611d41565b610968565b61028c610287366004611acf565b6109a3565b6040516101cb9190611d5a565b6101c16102a7366004611acf565b610a49565b6101c16102ba366004611acf565b610a76565b6101c16102cd366004611acf565b610aa3565b6102e56102e03660046119b1565b610ad0565b6040516101cb9190611e3d565b610305610300366004611acf565b610bf9565b60405160ff90911681526020016101cb565b61032a610325366004611acf565b610c75565b6040516101cb9190611e73565b61034a610345366004611acf565b610d1b565b6040516101cb919081516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b6103d96103d4366004611acf565b610dc1565b6040516001600160a01b0390911681526020016101cb565b6104046103ff366004611d41565b610e6f565b6040516101cb9190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61047161046c3660046119b1565b610f03565b6040805192835260ff9091166020830152016101cb565b61049b610496366004611acf565b6111ab565b6040516101cb9190611f23565b6104bb6104b6366004612086565b6112c9565b005b6104d06104cb3660046119b1565b61144f565b6040516101cb91906120a3565b6001546001600160a01b03166103d9565b6101c16104fc366004611acf565b6115c2565b60005461010090046001600160a01b03166103d9565b61052a610525366004611acf565b6115ef565b6040516101cb9190612153565b61054a610545366004611acf565b6116c4565b6040516101cb91906121d4565b6101c1610565366004611acf565b61180c565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af41580156105c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e991906122d6565b9392505050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af4158015610697573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bb91906122d6565b6040518263ffffffff1660e01b81526004016106d991815260200190565b600060405180830381865afa1580156106f6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261071e9190810190612334565b80519091501561073c57808060200190518101906105e991906123b3565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af41580156107b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc91906122d6565b92915050565b6108206040518060a0016040528060006001600160c01b03191681526020016000151581526020016060815260200160008152602001600081525090565b6001546000906001600160a01b03166354f6127f61083d85610aa3565b6040518263ffffffff1660e01b815260040161085b91815260200190565b600060405180830381865afa158015610878573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108a09190810190612334565b80519091501561073c57808060200190518101906105e991906124ac565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607861076b565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd6906109279086908690600401612553565b602060405180830381865af4158015610944573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e99190612575565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa68369060240161079b565b6109ab611839565b6001546000906001600160a01b03166354f6127f6109c88561180c565b6040518263ffffffff1660e01b81526004016109e691815260200190565b600060405180830381865afa158015610a03573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a2b9190810190612334565b80519091501561073c57808060200190518101906105e991906125c2565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d361076b565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e61076b565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a61076b565b6040805180820190915260008152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610b54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b7891906122d6565b6040518263ffffffff1660e01b8152600401610b9691815260200190565b600060405180830381865afa158015610bb3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bdb9190810190612334565b80519091501561073c57808060200190518101906105e991906126be565b6001546000906001600160a01b03166309648a9d610c1684610a49565b6040518263ffffffff1660e01b8152600401610c3491815260200190565b602060405180830381865afa158015610c51573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc919061274c565b610c7d6118aa565b6001546000906001600160a01b03166354f6127f610c9a85610a76565b6040518263ffffffff1660e01b8152600401610cb891815260200190565b600060405180830381865afa158015610cd5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610cfd9190810190612334565b80519091501561073c57808060200190518101906105e99190612774565b610d2361191a565b6001546000906001600160a01b03166354f6127f610d40856108be565b6040518263ffffffff1660e01b8152600401610d5e91815260200190565b600060405180830381865afa158015610d7b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610da39190810190612334565b80519091501561073c57808060200190518101906105e9919061281c565b60015460009081906001600160a01b03166354f6127f610de085610742565b6040518263ffffffff1660e01b8152600401610dfe91815260200190565b600060405180830381865afa158015610e1b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e439190810190612334565b80519091501561073c57600081806020019051810190610e6391906128bd565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610edf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc919061298e565b6000806000610f11846105f0565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610f70573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f949190612a08565b156110135773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610fe2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061100691906122d6565b60645b9250925050915091565b6110978160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611064573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110889190612a23565b64ffffffffff90811691161090565b156111105773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156110e5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061110991906122d6565b606e611009565b806060015163ffffffff16816080015163ffffffff161061119f5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611174573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061119891906122d6565b6078611009565b6040810151600a611009565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526001546000906001600160a01b03166354f6127f61124885610a49565b6040518263ffffffff1660e01b815260040161126691815260200190565b600060405180830381865afa158015611283573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112ab9190810190612334565b80519091501561073c57808060200190518101906105e99190612a52565b60005460ff161561132b5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b0381166113815760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a494e5354414e43455f5a45524f00000000006044820152606401611322565b80600060016101000a8154816001600160a01b0302191690836001600160a01b03160217905550600060019054906101000a90046001600160a01b03166001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061141f9190612bbe565b600180546001600160a01b0319166001600160a01b03929092169190911781556000805460ff1916909117905550565b6114ae60405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af415801561151d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061154191906122d6565b6040518263ffffffff1660e01b815260040161155f91815260200190565b600060405180830381865afa15801561157c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115a49190810190612334565b80519091501561073c57808060200190518101906105e99190612bdb565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c61076b565b6040805160e08101825260608082526000602083018190529282018390528082018390526080820183905260a0820183905260c08201526001549091906001600160a01b03166354f6127f611643856115c2565b6040518263ffffffff1660e01b815260040161166191815260200190565b600060405180830381865afa15801561167e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116a69190810190612334565b80519091501561073c57808060200190518101906105e99190612cd2565b61176e604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6001546000906001600160a01b03166354f6127f61178b85610742565b6040518263ffffffff1660e01b81526004016117a991815260200190565b600060405180830381865afa1580156117c6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117ee9190810190612334565b80519091501561073c57808060200190518101906105e991906128bd565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc61076b565b60405180610120016040528060006001600160601b03168152602001611872604051806040016040528060008152602001600081525090565b81526060602082018190526000604083018190529082018190526080820181905260a0820181905260c0820181905260e09091015290565b6040805161010081018252600080825260208083018290528284018290526060830182905283518085019094528184528301529060808201905b8152602001611906604051806040016040528060008152602001600081525090565b815260006020820181905260409091015290565b6040518060c0016040528060006001600160601b0316815260200160006001600160a01b031681526020016118e4604051806040016040528060008152602001600081525090565b6000806040838503121561197557600080fd5b8235915060208301358060000b811461198d57600080fd5b809150509250929050565b6001600160c01b0319811681146119ae57600080fd5b50565b6000602082840312156119c357600080fd5b81356105e981611998565b60005b838110156119e95781810151838201526020016119d1565b50506000910152565b60008151808452611a0a8160208601602086016119ce565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e06040840152611a4e6101008401826119f2565b90506040840151606084015263ffffffff60608501511660808401526080840151611a8160a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e0850152611ab182826119f2565b95945050505050565b6001600160601b03811681146119ae57600080fd5b600060208284031215611ae157600080fd5b81356105e981611aba565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a06060840152611b2a60c08401826119f2565b905060608401516080840152608084015160a08401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611b8257611b82611b4a565b60405290565b60405160a081016001600160401b0381118282101715611b8257611b82611b4a565b604080519081016001600160401b0381118282101715611b8257611b82611b4a565b60405161012081016001600160401b0381118282101715611b8257611b82611b4a565b60405161010081016001600160401b0381118282101715611b8257611b82611b4a565b60405161014081016001600160401b0381118282101715611b8257611b82611b4a565b60405161020081016001600160401b0381118282101715611b8257611b82611b4a565b604051601f8201601f191681016001600160401b0381118282101715611c8057611c80611b4a565b604052919050565b60006001600160401b03821115611ca157611ca1611b4a565b50601f01601f191660200190565b60008060408385031215611cc257600080fd5b8235611ccd81611aba565b915060208301356001600160401b03811115611ce857600080fd5b8301601f81018513611cf957600080fd5b8035611d0c611d0782611c88565b611c58565b818152866020838501011115611d2157600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611d5357600080fd5b5035919050565b60208152611d746020820183516001600160601b03169052565b60006020830151611d92604084018280518252602090810151910152565b506040830151610140806080850152611daf6101608501836119f2565b91506060850151611dcb60a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c0850151610100611e108187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291505b9095015164ffffffffff1693019290925250919050565b602081526001600160601b03825116602082015260006020830151604080840152611e6b60608401826119f2565b949350505050565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b031690820152606080830151610140830191611ec2908401826001600160601b03169052565b506080830151611edf608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401525b5092915050565b60208152611f3d6020820183516001600160601b03169052565b60006020830151611f5960408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e0830151610100611fbe8185018364ffffffffff169052565b808501519150506102006101208181860152611fde6102208601846119f2565b9250808601519050610140601f198685030181870152611ffe84836119f2565b9350808701519150506101606120198187018361ffff169052565b86015190506101806120308682018361ffff169052565b8601516101a08681019190915286015190506101c06120578187018364ffffffffff169052565b86015190506101e0611e268682018364ffffffffff169052565b6001600160a01b03811681146119ae57600080fd5b60006020828403121561209857600080fd5b81356105e981612071565b60208152600082516101208060208501526120c26101408501836119f2565b915060208501516040850152604085015160608501526060850151608085015260808501516120f960a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e085015161010061212f8187018315159052565b860151858403601f190183870152905061214983826119f2565b9695505050505050565b602081526000825160e060208401526121706101008401826119f2565b9050602084015160018060a01b038082166040860152806040870151166060860152806060870151166080860152505060808401516121ba60a08501826001600160601b03169052565b5060a08401516001600160601b03811660c0850152611a95565b81516001600160a01b031681526102008101602083015161220060208401826001600160a01b03169052565b50604083015161221b60408401826001600160601b03169052565b50606083015161223660608401826001600160601b03169052565b506080830151612253608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301516101006122898185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e08501529050611f1c565b6000602082840312156122e857600080fd5b5051919050565b600082601f83011261230057600080fd5b815161230e611d0782611c88565b81815284602083860101111561232357600080fd5b611e6b8260208301602087016119ce565b60006020828403121561234657600080fd5b81516001600160401b0381111561235c57600080fd5b611e6b848285016122ef565b805161237381611aba565b919050565b63ffffffff811681146119ae57600080fd5b805161237381612378565b64ffffffffff811681146119ae57600080fd5b805161237381612395565b6000602082840312156123c557600080fd5b81516001600160401b03808211156123dc57600080fd5b9083019060e082860312156123f057600080fd5b6123f8611b60565b61240183612368565b815260208301518281111561241557600080fd5b612421878286016122ef565b6020830152506040830151604082015261243d6060840161238a565b606082015261244e6080840161238a565b608082015261245f60a084016123a8565b60a082015260c08301518281111561247657600080fd5b612482878286016122ef565b60c08301525095945050505050565b805161237381611998565b8051801515811461237357600080fd5b6000602082840312156124be57600080fd5b81516001600160401b03808211156124d557600080fd5b9083019060a082860312156124e957600080fd5b6124f1611b88565b82516124fc81611998565b815261250a6020840161249c565b602082015260408301518281111561252157600080fd5b61252d878286016122ef565b604083015250606083015160608201526080830151608082015280935050505092915050565b6001600160601b0383168152604060208201526000611e6b60408301846119f2565b60006020828403121561258757600080fd5b81516105e981611998565b6000604082840312156125a457600080fd5b6125ac611baa565b9050815181526020820151602082015292915050565b6000602082840312156125d457600080fd5b81516001600160401b03808211156125eb57600080fd5b90830190610140828603121561260057600080fd5b612608611bcc565b61261183612368565b81526126208660208501612592565b602082015260608301518281111561263757600080fd5b612643878286016122ef565b60408301525061265560808401612368565b606082015261266660a08401612368565b608082015261267760c08401612368565b60a082015261268860e084016123a8565b60c0820152610100915061269d8284016123a8565b60e08201526126af61012084016123a8565b91810191909152949350505050565b6000602082840312156126d057600080fd5b81516001600160401b03808211156126e757600080fd5b90830190604082860312156126fb57600080fd5b612703611baa565b825161270e81611aba565b815260208301518281111561272257600080fd5b61272e878286016122ef565b60208301525095945050505050565b60ff811681146119ae57600080fd5b60006020828403121561275e57600080fd5b81516105e98161273d565b805161237381612071565b6000610140828403121561278757600080fd5b61278f611bef565b61279883612769565b81526127a660208401612769565b60208201526127b760408401612368565b60408201526127c860608401612368565b60608201526127da8460808501612592565b60808201526127ec8460c08501612592565b60a08201526127fe610100840161249c565b60c08201526128106101208401612769565b60e08201529392505050565b6000610100828403121561282f57600080fd5b60405160c081018181106001600160401b038211171561285157612851611b4a565b604052825161285f81611aba565b8152602083015161286f81612071565b60208201526128818460408501612592565b60408201526128938460808501612592565b606082015260c08301516128a681612071565b608082015260e0929092015160a083015250919050565b600061020082840312156128d057600080fd5b6128d8611c12565b6128e183612769565b81526128ef60208401612769565b602082015261290060408401612368565b604082015261291160608401612368565b60608201526129238460808501612592565b60808201526129358460c08501612592565b60a082015261010061294985828601612592565b60c083015261295c856101408601612592565b60e083015261296f856101808601612592565b90820152612981846101c08501612592565b6101208201529392505050565b600060a082840312156129a057600080fd5b6129a8611b88565b82516129b38161273d565b815260208301516129c38161273d565b602082015260408301516129d681612071565b604082015260608301516129e981612378565b606082015260808301516129fc81612378565b60808201529392505050565b600060208284031215612a1a57600080fd5b6105e98261249c565b600060208284031215612a3557600080fd5b81516105e981612395565b805161ffff8116811461237357600080fd5b600060208284031215612a6457600080fd5b81516001600160401b0380821115612a7b57600080fd5b908301906102008286031215612a9057600080fd5b612a98611c35565b612aa183612368565b8152612aaf60208401612368565b6020820152612ac060408401612491565b6040820152612ad160608401612491565b60608201526080830151608082015260a083015160a082015260c083015160c0820152612b0060e084016123a8565b60e08201526101008084015183811115612b1957600080fd5b612b25888287016122ef565b8284015250506101208084015183811115612b3f57600080fd5b612b4b888287016122ef565b8284015250506101409150612b61828401612a40565b828201526101609150612b75828401612a40565b82820152610180915081830151828201526101a09150612b968284016123a8565b828201526101c09150612baa8284016123a8565b828201526101e091506126af8284016123a8565b600060208284031215612bd057600080fd5b81516105e981612071565b600060208284031215612bed57600080fd5b81516001600160401b0380821115612c0457600080fd5b908301906101208286031215612c1957600080fd5b612c21611bcc565b825182811115612c3057600080fd5b612c3c878286016122ef565b825250602083015160208201526040830151604082015260608301516060820152612c696080840161238a565b6080820152612c7a60a0840161238a565b60a0820152612c8b60c0840161249c565b60c0820152612c9c60e0840161249c565b60e08201526101008084015183811115612cb557600080fd5b612cc1888287016122ef565b918301919091525095945050505050565b600060208284031215612ce457600080fd5b81516001600160401b0380821115612cfb57600080fd5b9083019060e08286031215612d0f57600080fd5b612d17611b60565b825182811115612d2657600080fd5b612d32878286016122ef565b825250612d4160208401612769565b6020820152612d5260408401612769565b6040820152612d6360608401612769565b6060820152612d7460808401612368565b608082015261245f60a0840161236856fea26469706673582212203033047bfd274c9c5e63990827ce32ff9350217cb7e423d441ad0c16dff9d29b64736f6c63430008140033",
2388
+ "bytecode": "0x60806040525f805460ff191690553480156017575f80fd5b50615e8e806100255f395ff3fe608060405234801561000f575f80fd5b50600436106104a6575f3560e01c80636ebed9081161026e578063c6a0017911610156578063e444c3df116100ca578063f4809edd1161008f578063f4809edd14610c19578063f7f318d314610c2c578063fad77c3b14610c3f578063fcad2c4b14610c52578063fd80249214610c65578063febe92af14610c85575f80fd5b8063e444c3df14610b8a578063e98413ff14610baa578063f0b1d21014610bd3578063f0ea17c314610be6578063f3ed991914610c06575f80fd5b8063d78a83b11161011b578063d78a83b114610b1a578063db70354c14610b2d578063dd26287a14610b40578063de7b5d1414610b53578063dfbf164014610b64578063e2eb023b14610b77575f80fd5b8063c6a0017914610ac6578063c71e261f14610ad9578063d06458c614610ae1578063d299bf6214610b01578063d4cda0d814610b09575f80fd5b8063887b1fa9116101ed578063a5961b4c116101b2578063a5961b4c146109db578063a7ef3d2114610a37578063b82d7ef514610a57578063ba579bdc14610a8b578063ba62fbe414610a9e578063bd7d9d8514610aa6575f80fd5b8063887b1fa91461096f5780638eb9000d1461098f5780639096a1f3146109a257806394b9929b146109b5578063a310e2a3146109c8575f80fd5b80637e54602a116102335780637e54602a146109265780637e798669146109395780637f0cf947146109415780638129fc1c1461095457806387c73e5a1461095c575f80fd5b80636ebed908146108c7578063728a61a8146108da57806378ae9350146108ed5780637bfd3217146109005780637d8f1e8114610913575f80fd5b8063380bd950116103915780634fb784f51161031057806364eb3a9b116102d557806364eb3a9b146108485780636553994c1461085b57806366c3bc951461086e5780636791f7ab146108815780636a05a413146108965780636dddada4146108b6575f80fd5b80634fb784f5146107cd57806357f80bbf146107e05780635ab1bd53146108005780635bfa502714610815578063605aa10a14610835575f80fd5b80633fd85561116103565780633fd85561146107395780634793b4ab14610764578063480cebd1146107845780634a4fbeec146107a75780634d21a63d146107ba575f80fd5b8063380bd950146106d2578063392f5f64146106e55780633b046f09146106ed5780633f071275146107135780633f093cd614610726575f80fd5b80631488c8451161042857806327b1d792116103ed57806327b1d792146106535780632c0cd060146106735780632f458a111461068657806333fc7dee1461069957806334bd5be3146106ac57806335898f5d146106bf575f80fd5b80631488c845146105f257806315b74532146106055780631d3be47714610618578063228e42ec1461063857806326d60fb41461064b575f80fd5b80630e0c586d1161046e5780630e0c586d1461055357806310bf267b14610578578063128817d41461059f57806312e1ebc5146105bf57806313ab148d146105df575f80fd5b80630232ca49146104aa57806303014974146104da57806309648a9d146104fb57806309c5844f146105205780630b5d931c14610533575b5f80fd5b6104bd6104b8366004613e19565b610ca5565b6040516001600160601b0390911681526020015b60405180910390f35b6104ed6104e8366004613e48565b610d1f565b6040519081526020016104d1565b61050e610509366004613e63565b610dfb565b60405160ff90911681526020016104d1565b61050e61052e366004613e19565b610e70565b610546610541366004613e19565b610ee9565b6040516104d19190613ebd565b6004546001600160a01b03165b6040516001600160a01b0390911681526020016104d1565b61058b610586366004613f64565b610fce565b60405162ffffff90911681526020016104d1565b6105b26105ad366004613f9b565b610fe4565b6040516104d19190613fc5565b6105d26105cd366004613fee565b611064565b6040516104d1919061401d565b6104ed6105ed366004613e19565b611165565b61056061060036600461406c565b61119e565b6104bd610613366004613e63565b61121a565b61062b6106263660046140a9565b61124b565b6040516104d191906140f2565b6104bd610646366004613e19565b61139f565b6104ed6113d8565b610666610661366004613e19565b6114a7565b6040516104d191906141b0565b6104bd610681366004613e19565b611562565b6104ed610694366004613e19565b611582565b6104ed6106a7366004613e19565b6115c0565b6104ed6106ba366004613e19565b6115fe565b6104ed6106cd366004613e19565b611671565b6104bd6106e03660046141fc565b61169d565b6104ed61171e565b6107006106fb366004613e19565b6117c4565b60405161ffff90911681526020016104d1565b6104ed610721366004613e19565b6117d8565b6105b26107343660046143be565b611804565b61074c610747366004613e63565b61185a565b6040516001600160401b0390911681526020016104d1565b610777610772366004613e19565b611936565b6040516104d1919061446b565b6107976107923660046144df565b611a16565b60405190151581526020016104d1565b6107976107b5366004613fee565b611afb565b6105606107c8366004613e19565b611bd0565b6104ed6107db366004613e19565b611c28565b6107f36107ee366004613e19565b611c54565b6040516104d1919061450b565b5f5461010090046001600160a01b0316610560565b610828610823366004613e48565b611d25565b6040516104d1919061458a565b610797610843366004613fee565b611e3b565b6104ed610856366004613e19565b611ed6565b6104ed6108693660046140a9565b611f02565b61079761087c366004613e48565b611f33565b61089461088f366004613fee565b611fd5565b005b6108a96108a4366004613e19565b61232e565b6040516104d191906145fa565b6003546001600160a01b0316610560565b6104bd6108d5366004613f9b565b6123cf565b6105606108e8366004613e63565b61240f565b61050e6108fb366004613f64565b6124e6565b6104ed61090e366004613e19565b6125dd565b61050e610921366004613e19565b612609565b6104ed610934366004613e19565b612625565b6104bd612651565b61079761094f3660046144df565b6126c4565b61089461276e565b61079761096a366004613e48565b61279c565b61098261097d3660046140a9565b61283e565b6040516104d19190614681565b6104bd61099d366004613e19565b61296b565b61050e6109b0366004613e19565b6129a4565b6104ed6109c3366004613e19565b6129c0565b6105606109d6366004613e19565b6129f9565b6109ee6109e9366004613e63565b612a9f565b6040516104d191905f60808201905060ff835116825260ff602084015116602083015263ffffffff604084015116604083015263ffffffff606084015116606083015292915050565b610a4a610a45366004613f64565b612b29565b6040516104d191906146bf565b610a6a610a653660046140a9565b612c88565b604080516001600160a01b03909316835260ff9091166020830152016104d1565b610797610a99366004613e19565b612dfd565b6104ed612e5b565b610ab9610ab4366004613e19565b612f33565b6040516104d19190614759565b610797610ad4366004613e48565b61304b565b6104ed6130ed565b610af4610aef3660046140a9565b613134565b6040516104d191906148c4565b61074c613298565b6002546001600160a01b0316610560565b610560610b283660046149a2565b6132a1565b6104bd610b3b366004613f9b565b613360565b6104ed610b4e366004613e19565b6133a0565b6001546001600160a01b0316610560565b610560610b72366004613e19565b6133cc565b6104ed610b85366004613fee565b613424565b610b9d610b98366004613e19565b613466565b6040516104d191906149be565b610bbd610bb8366004614bbe565b61358f565b60405164ffffffffff90911681526020016104d1565b610797610be1366004614bea565b613621565b610bf9610bf4366004613e19565b61366a565b6040516104d19190614c16565b61050e610c14366004614c76565b61371e565b6105b2610c27366004613f9b565b613780565b6104ed610c3a366004613e19565b6137c5565b610700610c4d366004613e63565b6137f1565b61050e610c603660046140a9565b613874565b610c78610c73366004614c76565b6139c3565b6040516104d19190614ca2565b610c98610c93366004613e48565b613b08565b6040516104d19190614d00565b600254604051630232ca4960e01b81526001600160601b03831660048201525f916001600160a01b031690630232ca49906024015b602060405180830381865afa158015610cf5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d199190614dd1565b92915050565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015610d66573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d8a9190614dec565b60405162c0525d60e21b81526001600160401b03841660048201526001600160a01b0391909116906303014974906024015b602060405180830381865afa158015610dd7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d199190614e07565b60025460405163296586d360e21b8152600481018390525f916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015610e42573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e669190614e53565b6020015192915050565b6002545f906001600160a01b03166309648a9d610e8c846115fe565b6040518263ffffffff1660e01b8152600401610eaa91815260200190565b602060405180830381865afa158015610ec5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d199190614eba565b60408051610100810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e08201526002549091906001600160a01b03166354f6127f610f44856125dd565b6040518263ffffffff1660e01b8152600401610f6291815260200190565b5f60405180830381865afa158015610f7c573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610fa39190810190614f24565b805190915015610fc85780806020019051810190610fc19190614fec565b9392505050565b50919050565b5f610fd98383612b29565b606001519392505050565b600480546040516304a205f560e21b81526001600160601b03851692810192909252602482018390525f916001600160a01b039091169063128817d4906044015b602060405180830381865afa158015611040573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fc191906150d9565b604080516080810182525f80825260208201819052918101829052606081019190915260015f9054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110d7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110fb9190614dec565b6040516312e1ebc560e01b81526001600160a01b03848116600483015291909116906312e1ebc590602401608060405180830381865afa158015611141573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d1991906150ff565b6003546040516313ab148d60e01b81526001600160601b03831660048201525f916001600160a01b0316906313ab148d90602401610dbc565b604051631488c84560e01b8152600481018390525f82810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af41580156111f6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fc19190614dec565b600154604051630adba29960e11b8152600481018390525f916001600160a01b0316906315b7453290602401610cda565b60408051610100810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810182905260e08101919091526002546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee6275906112e3906001600160c01b0319891690600401613fc5565b602060405180830381865af41580156112fe573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113229190614e07565b6040518263ffffffff1660e01b815260040161134091815260200190565b5f60405180830381865afa15801561135a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526113819190810190614f24565b805190915015610fc85780806020019051810190610fc1919061515f565b6002546040516308a390bb60e21b81526001600160601b03831660048201525f916001600160a01b03169063228e42ec90602401610cda565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa15801561141f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114439190614dec565b6001600160a01b03166326d60fb46040518163ffffffff1660e01b8152600401602060405180830381865afa15801561147e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114a29190614e07565b905090565b604080516080810182525f80825260208201819052918101919091526060808201526002545f906001600160a01b03166354f6127f6114e585612625565b6040518263ffffffff1660e01b815260040161150391815260200190565b5f60405180830381865afa15801561151d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526115449190810190614f24565b805190915015610fc85780806020019051810190610fc1919061524c565b5f8061156d83612f33565b9050610fc18160600151826101000151613c56565b60048054604051632f458a1160e01b81526001600160601b038416928101929092525f916001600160a01b0390911690632f458a1190602401610dbc565b600480546040516319fe3ef760e11b81526001600160601b038416928101929092525f916001600160a01b03909116906333fc7dee90602401610dbc565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416602b5b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610dd7573d5f803e3d5ffd5b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600e611626565b600480546040516346cad99560e11b81526001600160c01b0319851692810192909252602482018390525f916001600160a01b0390911690638d95b32a906044015b602060405180830381865afa1580156116fa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fc19190614dd1565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015611765573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117899190614dec565b6001600160a01b031663392f5f646040518163ffffffff1660e01b8152600401602060405180830381865afa15801561147e573d5f803e3d5ffd5b5f6117ce82612f33565b60c0015192915050565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166029611626565b604051631f849e6b60e11b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd69061183f90869086906004016152ed565b602060405180830381865af4158015611040573d5f803e3d5ffd5b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa1580156118a1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118c59190614dec565b604051633fd8556160e01b81526001600160401b03841660048201526001600160a01b039190911690633fd8556190602401602060405180830381865afa158015611912573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d19919061530e565b61197d6040805160c0810182525f80825260208083018290528284018290526060830182905283518085019094528184528301529060808201908152602001606081525090565b6002545f906001600160a01b03166354f6127f611999856137c5565b6040518263ffffffff1660e01b81526004016119b791815260200190565b5f60405180830381865afa1580156119d1573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526119f89190810190614f24565b805190915015610fc85780806020019051810190610fc1919061538b565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015611a5d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a819190614dec565b60405163480cebd160e01b81526001600160401b03851660048201526001600160a01b038481166024830152919091169063480cebd1906044015b602060405180830381865afa158015611ad7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fc1919061544f565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015611b42573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b669190614dec565b604051629b7b3560e61b81526001600160a01b03848116600483015291909116906326decd40906024015b602060405180830381865afa158015611bac573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d19919061544f565b5f80611bdb836129f9565b90506001600160a01b03811615610fc857806001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111f6573d5f803e3d5ffd5b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600b611626565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091526002545f906001600160a01b03166354f6127f611ca8856133a0565b6040518263ffffffff1660e01b8152600401611cc691815260200190565b5f60405180830381865afa158015611ce0573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611d079190810190614f24565b805190915015610fc85780806020019051810190610fc19190615468565b6040805160c0810182525f80825260208201819052918101829052606081018290526080810182905260a081019190915260015f9054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611da6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dca9190614dec565b604051635bfa502760e01b81526001600160401b03841660048201526001600160a01b039190911690635bfa50279060240160c060405180830381865afa158015611e17573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d199190615500565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015611e82573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ea69190614dec565b60405163302d508560e11b81526001600160a01b038481166004830152919091169063605aa10a90602401611b91565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166015611626565b6004805460405163380d295960e21b81525f926001600160a01b039092169163e034a56491610dbc91869101613fc5565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015611f7a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f9e9190614dec565b6040516366c3bc9560e01b81526001600160401b03841660048201526001600160a01b0391909116906366c3bc9590602401611b91565b5f5460ff1615611ff85760405163ae9eff1b60e01b815260040160405180910390fd5b5f805460ff1916600190811790915580546001600160a01b0383166001600160a01b0319909116811790915560408051635ab1bd5360e01b81529051635ab1bd53916004808201926020929091908290030181865afa15801561205d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120819190614dec565b5f8054610100600160a81b0319166101006001600160a01b039384160217905560015460408051631a99b41b60e31b81529051919092169163d4cda0d89160048083019260209291908290030181865afa1580156120e1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121059190614dec565b600280546001600160a01b0319166001600160a01b0392831617905560015460408051631b776b6960e21b815290519190921691636dddada49160048083019260209291908290030181865afa158015612161573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121859190614dec565b600380546001600160a01b0319166001600160a01b0392831617905560015460408051630e0c586d60e01b815290519190921691630e0c586d9160048083019260209291908290030181865afa1580156121e1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122059190614dec565b600480546001600160a01b0319166001600160a01b039283161790555f5461010090041663d39e6043600e60015f9054906101000a90046001600160a01b03166001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612280573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122a49190614eba565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156122e7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061230b9190614dec565b600580546001600160a01b0319166001600160a01b039290921691909117905550565b612336613d2a565b6002545f906001600160a01b03166354f6127f612352856117d8565b6040518263ffffffff1660e01b815260040161237091815260200190565b5f60405180830381865afa15801561238a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526123b19190810190614f24565b805190915015610fc85780806020019051810190610fc19190615587565b600354604051630dd7db2160e31b81526001600160601b0384166004820152602481018390525f916001600160a01b031690636ebed908906044016116df565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015612456573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061247a9190614dec565b6001600160a01b031663728a61a8836040518263ffffffff1660e01b81526004016124a791815260200190565b602060405180830381865afa1580156124c2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d199190614dec565b600254604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b22906044015b602060405180830381865af415801561255c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125809190614e07565b6040518263ffffffff1660e01b815260040161259e91815260200190565b602060405180830381865afa1580156125b9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fc19190614eba565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600c611626565b6002545f906001600160a01b03166309648a9d610e8c846137c5565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166017611626565b5f8054600154604051632f2a35f760e11b81526001600160a01b0391821660048201526101009092041690635e546bee90602401602060405180830381865afa1580156126a0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114a29190614dd1565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa15801561270b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061272f9190614dec565b604051637f0cf94760e01b81526001600160401b03851660048201526001600160a01b0384811660248301529190911690637f0cf94790604401611abc565b5f5460ff16156127915760405163ae9eff1b60e01b815260040160405180910390fd5b61279a33611fd5565b565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa1580156127e3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128079190614dec565b6040516343e39f2d60e11b81526001600160401b03841660048201526001600160a01b0391909116906387c73e5a90602401611b91565b60408051606080820183525f8083526020830152918101919091526002546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee6275906128af906001600160c01b0319891690600401613fc5565b602060405180830381865af41580156128ca573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128ee9190614e07565b6040518263ffffffff1660e01b815260040161290c91815260200190565b5f60405180830381865afa158015612926573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261294d9190810190614f24565b805190915015610fc85780806020019051810190610fc19190615618565b600254604051638eb9000d60e01b81526001600160601b03831660048201525f916001600160a01b031690638eb9000d90602401610cda565b6002545f906001600160a01b03166309648a9d610e8c84611ed6565b6003546040516394b9929b60e01b81526001600160601b03831660048201525f916001600160a01b0316906394b9929b90602401610dbc565b6002545f9081906001600160a01b03166354f6127f612a1785611c28565b6040518263ffffffff1660e01b8152600401612a3591815260200190565b5f60405180830381865afa158015612a4f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612a769190810190614f24565b805190915015610fc85780806020019051810190612a9491906156a8565b602001519392505050565b604080516080810182525f808252602082018190528183018190526060820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015612b05573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d199190614e53565b6040805160e0810182525f808252602082018190529181018290526060808201839052608082019290925260a0810182905260c0810191909152600254604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af4158015612bd8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612bfc9190614e07565b6040518263ffffffff1660e01b8152600401612c1a91815260200190565b5f60405180830381865afa158015612c34573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612c5b9190810190614f24565b805190915015612c815780806020019051810190612c799190615723565b915050610d19565b5092915050565b5f8054819061010090046001600160a01b031663d39e6043600e60015f9054906101000a90046001600160a01b03166001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612cf2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d169190614eba565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612d59573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d7d9190614dec565b60405163eed2831560e01b81523060048201526001600160c01b0319851660248201526001600160a01b03919091169063eed28315906044016040805180830381865afa158015612dd0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612df4919061580c565b91509150915091565b60405163034159f960e41b81523060048201526001600160601b03821660248201525f9073__$d4f8ac2ac7f53dfb2fb9ff92adbd6d29df$__906334159f9090604401602060405180830381865af4158015611bac573d5f803e3d5ffd5b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015612ea2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ec69190614dec565b6001600160a01b031663ba62fbe46040518163ffffffff1660e01b8152600401602060405180830381865afa158015612f01573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f25919061530e565b6001600160401b0316905090565b60408051610200810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e08201839052610100820183905261012082018390526101408201839052610160820183905261018082018390526101a082018390526101c082018190526101e08201526002549091906001600160a01b03166354f6127f612fce85611ed6565b6040518263ffffffff1660e01b8152600401612fec91815260200190565b5f60405180830381865afa158015613006573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261302d9190810190614f24565b805190915015610fc85780806020019051810190610fc19190615844565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015613092573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906130b69190614dec565b60405163c6a0017960e01b81526001600160401b03841660048201526001600160a01b03919091169063c6a0017990602401611b91565b6001546040805163c71e261f60e01b815290515f926001600160a01b03169163c71e261f9160048083019260209291908290030181865afa15801561147e573d5f803e3d5ffd5b60408051610140810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e082019290925261010081018290526101208101919091526002546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee6275906131dc906001600160c01b0319891690600401613fc5565b602060405180830381865af41580156131f7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061321b9190614e07565b6040518263ffffffff1660e01b815260040161323991815260200190565b5f60405180830381865afa158015613253573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261327a9190810190614f24565b805190915015610fc85780806020019051810190610fc191906159d7565b5f6114a2613cb6565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa1580156132e8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061330c9190614dec565b60405163d78a83b160e01b81526001600160401b0385166004820152602481018490526001600160a01b03919091169063d78a83b190604401602060405180830381865afa1580156111f6573d5f803e3d5ffd5b6003546040516336dc0d5360e21b81526001600160601b0384166004820152602481018390525f916001600160a01b03169063db70354c906044016116df565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600f611626565b5f806133d7836129f9565b90506001600160a01b03811615610fc857806001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111f6573d5f803e3d5ffd5b60405163e2eb023b60e01b81526001600160a01b03821660048201525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__9063e2eb023b90602401611656565b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e0810182905261020081018290526102208101919091526002545f906001600160a01b03166354f6127f613512856115fe565b6040518263ffffffff1660e01b815260040161353091815260200190565b5f60405180830381865afa15801561354a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526135719190810190614f24565b805190915015610fc85780806020019051810190610fc19190615af8565b5f73__$0f9396e6447a4be57af83e53f51d234633$__6359fad7ca846135b6856001615c6e565b6040516001600160e01b031960e085901b16815261ffff909216600483015262ffffff166024820152604401602060405180830381865af41580156135fd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fc19190615c89565b6005546040516309741ce160e21b81526001600160601b03841660048201526001600160c01b0319831660248201525f916001600160a01b0316906325d0738490604401611abc565b60408051606080820183528082525f6020830152918101919091526002545f906001600160a01b03166354f6127f6136a185611c28565b6040518263ffffffff1660e01b81526004016136bf91815260200190565b5f60405180830381865afa1580156136d9573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526137009190810190614f24565b805190915015610fc85780806020019051810190610fc191906156a8565b600254604051632867b75960e21b815264ffffffffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401612541565b6004805460405163f4809edd60e01b81526001600160601b03851692810192909252602482018390525f916001600160a01b039091169063f4809edd90604401611025565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166016611626565b5f73__$9e81531fe4994e01e99541f86b55500b4b$__639cc45a36613817846001615ca4565b6040518263ffffffff1660e01b815260040161383591815260200190565b602060405180830381865af4158015613850573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d199190615cb7565b6002546040516355ee627560e01b81525f9182916001600160a01b03909116906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee6275906138ce906001600160c01b0319891690600401613fc5565b602060405180830381865af41580156138e9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061390d9190614e07565b6040518263ffffffff1660e01b815260040161392b91815260200190565b5f60405180830381865afa158015613945573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261396c9190810190614f24565b6002546040516355ee627560e01b81529192506001600160a01b0316906309648a9d9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590612541906001600160c01b0319891690600401613fc5565b6040805160a0810182525f808252602082018190529181018290526060808201929092526080810191909152600254604051632867b75960e21b815264ffffffffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401602060405180830381865af4158015613a67573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613a8b9190614e07565b6040518263ffffffff1660e01b8152600401613aa991815260200190565b5f60405180830381865afa158015613ac3573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613aea9190810190614f24565b805190915015612c815780806020019051810190612c799190615cd2565b60408051610100810182525f808252602082018190529181018290526060808201839052608082019290925260a0810182905260c0810182905260e0810191909152600254604051630f37f38f60e41b81526001600160401b03841660048201525f916001600160a01b0316906354f6127f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015613bb5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613bd99190614e07565b6040518263ffffffff1660e01b8152600401613bf791815260200190565b5f60405180830381865afa158015613c11573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613c389190810190614f24565b805190915015610fc85780806020019051810190610fc19190615d88565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401602060405180830381865af41580156116fa573d5f803e3d5ffd5b6040516368aebf7b60e01b8152600560048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af4158015613d06573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114a2919061530e565b6040805161012081019091525f60e0820181815261010083019190915281908152602001613d67604080518082019091525f808252602082015290565b8152602001613d85604080518082019091525f808252602082015290565b8152602001613da3604080518082019091525f808252602082015290565b8152602001613dc1604080518082019091525f808252602082015290565b8152602001613ddf604080518082019091525f808252602082015290565b8152602001613dfd604080518082019091525f808252602082015290565b905290565b6001600160601b0381168114613e16575f80fd5b50565b5f60208284031215613e29575f80fd5b8135610fc181613e02565b6001600160401b0381168114613e16575f80fd5b5f60208284031215613e58575f80fd5b8135610fc181613e34565b5f60208284031215613e73575f80fd5b5035919050565b5f8151808452602084019350602083015f5b82811015613eb35781516001600160601b0316865260209586019590910190600101613e8c565b5093949350505050565b602081528151151560208201526020820151151560408201525f6040830151613eea606084018215159052565b50606083015160ff8116608084015250608083015160ff811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e083015161010080840152613f4d610120840182613e7a565b949350505050565b61ffff81168114613e16575f80fd5b5f8060408385031215613f75575f80fd5b8235613f8081613e02565b91506020830135613f9081613f55565b809150509250929050565b5f8060408385031215613fac575f80fd5b8235613fb781613e02565b946020939093013593505050565b6001600160c01b031991909116815260200190565b6001600160a01b0381168114613e16575f80fd5b5f60208284031215613ffe575f80fd5b8135610fc181613fda565b634e487b7160e01b5f52602160045260245ffd5b81518152602082015160808201906007811061403b5761403b614009565b806020840152506001600160401b03604084015116604083015264ffffffffff606084015116606083015292915050565b5f806040838503121561407d575f80fd5b8235915060208301355f81900b8114613f90575f80fd5b6001600160c01b031981168114613e16575f80fd5b5f602082840312156140b9575f80fd5b8135610fc181614094565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f602083015161412160408401826001600160601b03169052565b50604083015163ffffffff8116606084015250606083015163ffffffff811660808401525060808301516001600160a01b03811660a08401525060a083015164ffffffffff811660c08401525060c083015161010060e08401526141896101208401826140c4565b905060e0840151601f19848303016101008501526141a782826140c4565b95945050505050565b602081526001600160401b0360c01b825116602082015260208201511515604082015263ffffffff60408301511660608201525f6060830151608080840152613f4d60a08401826140c4565b5f806040838503121561420d575f80fd5b8235613fb781614094565b634e487b7160e01b5f52604160045260245ffd5b604051608081016001600160401b038111828210171561424e5761424e614218565b60405290565b60405161010081016001600160401b038111828210171561424e5761424e614218565b60405160c081016001600160401b038111828210171561424e5761424e614218565b60405160e081016001600160401b038111828210171561424e5761424e614218565b604051606081016001600160401b038111828210171561424e5761424e614218565b60405161020081016001600160401b038111828210171561424e5761424e614218565b60405161014081016001600160401b038111828210171561424e5761424e614218565b60405161024081016001600160401b038111828210171561424e5761424e614218565b60405160a081016001600160401b038111828210171561424e5761424e614218565b604051601f8201601f191681016001600160401b038111828210171561439057614390614218565b604052919050565b5f6001600160401b038211156143b0576143b0614218565b50601f01601f191660200190565b5f80604083850312156143cf575f80fd5b82356143da81613e02565b915060208301356001600160401b038111156143f4575f80fd5b8301601f81018513614404575f80fd5b803561441761441282614398565b614368565b81815286602083850101111561442b575f80fd5b816020840160208301375f602083830101528093505050509250929050565b80516001600160a01b031682526020908101516001600160601b0316910152565b6020815264ffffffffff825116602082015264ffffffffff602083015116604082015264ffffffffff60408301511660608201526001600160601b0360608301511660808201525f60808301516144c560a084018261444a565b5060a083015160e080840152613f4d6101008401826140c4565b5f80604083850312156144f0575f80fd5b82356144fb81613e34565b91506020830135613f9081613fda565b5f60e0820190506001600160601b03835116825260018060a01b03602084015116602083015260018060a01b0360408401511660408301526060830151151560608301526080830151614562608084018215159052565b5060a083015161457660a084018215159052565b5060c0830151612c8160c084018215159052565b81516001600160401b03168152602082015160c0820190600481106145b1576145b1614009565b8060208401525063ffffffff604084015116604083015264ffffffffff606084015116606083015264ffffffffff608084015116608083015260a083015160a083015292915050565b5f6101c08201905061460d82845161444a565b602083015161461f604084018261444a565b506040830151614632608084018261444a565b50606083015161464560c084018261444a565b50608083015161465961010084018261444a565b5060a083015161466d61014084018261444a565b5060c0830151612c8161018084018261444a565b602081526001600160601b03825116602082015264ffffffffff60208301511660408201525f6040830151606080840152613f4d60808401826140c4565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f60408301516146ff606084018264ffffffffff169052565b50606083015162ffffff8116608084015250608083015162ffffff811660a08401525060a083015160e060c084015261473c6101008401826140c4565b905060c0840151601f198483030160e08501526141a782826140c4565b602081526147736020820183516001600160601b03169052565b5f602083015161478e60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160601b03811660808401525060808301516001600160601b03811660a08401525060a08301516001600160c01b0319811660c08401525060c083015161ffff811660e08401525060e083015161ffff8116610100840152506101008301516001600160601b038116610120840152506101208301516001600160601b0381166101408401525061014083015164ffffffffff81166101608401525061016083015164ffffffffff81166101808401525061018083015164ffffffffff81166101a0840152506101a083015164ffffffffff81166101c0840152506101c08301516102006101e08401526148a56102208401826140c4565b90506101e0840151601f19848303016102008501526141a782826140c4565b602081526148de6020820183516001600160a01b03169052565b5f60208301516148f960408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015163ffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015180151560c08401525060c083015180151560e08401525060e08301516001600160a01b038116610100840152506101008301516101406101208401526149836101608401826140c4565b9050610120840151601f19848303016101408501526141a782826140c4565b5f80604083850312156149b3575f80fd5b8235613fb781613e34565b81516001600160601b03168152610240810160208301516149ea60208401826001600160601b03169052565b506040830151614a0560408401826001600160601b03169052565b506060830151614a2060608401826001600160601b03169052565b506080830151614a3b60808401826001600160601b03169052565b5060a0830151614a5660a08401826001600160601b03169052565b5060c0830151614a7160c08401826001600160601b03169052565b5060e0830151614a8c60e08401826001600160601b03169052565b50610100830151614aa96101008401826001600160601b03169052565b50610120830151614ac66101208401826001600160601b03169052565b50610140830151614ae36101408401826001600160601b03169052565b50610160830151614b006101608401826001600160601b03169052565b50610180830151614b1d6101808401826001600160601b03169052565b506101a0830151614b3a6101a08401826001600160601b03169052565b506101c0830151614b576101c08401826001600160601b03169052565b506101e0830151614b746101e08401826001600160601b03169052565b50610200830151614b916102008401826001600160601b03169052565b50610220830151612c816102208401826001600160601b03169052565b62ffffff81168114613e16575f80fd5b5f8060408385031215614bcf575f80fd5b8235614bda81613f55565b91506020830135613f9081614bae565b5f8060408385031215614bfb575f80fd5b8235614c0681613e02565b91506020830135613f9081614094565b602081525f825160606020840152614c3160808401826140c4565b60208501516001600160a01b0316604085810191909152850151848203601f190160608601529091506141a782826140c4565b64ffffffffff81168114613e16575f80fd5b5f8060408385031215614c87575f80fd5b8235614c9281613e02565b91506020830135613f9081614c64565b6020815261ffff82511660208201526001600160601b03602083015116604082015264ffffffffff604083015116606082015260018060a01b0360608301511660808201525f608083015160a080840152613f4d60c08401826140c4565b60208152614d1a6020820183516001600160601b03169052565b5f6020830151614d3560408401826001600160601b03169052565b506040830151801515606084015250606083015164ffffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015161010060c0840152614d856101208401826140c4565b905060c0840151601f198483030160e0850152614da282826140c4565b91505060e0840151601f19848303016101008501526141a782826140c4565b8051614dcc81613e02565b919050565b5f60208284031215614de1575f80fd5b8151610fc181613e02565b5f60208284031215614dfc575f80fd5b8151610fc181613fda565b5f60208284031215614e17575f80fd5b5051919050565b60ff81168114613e16575f80fd5b8051614dcc81614e1e565b63ffffffff81168114613e16575f80fd5b8051614dcc81614e37565b5f6080828403128015614e64575f80fd5b50614e6d61422c565b8251614e7881614e1e565b81526020830151614e8881614e1e565b60208201526040830151614e9b81614e37565b60408201526060830151614eae81614e37565b60608201529392505050565b5f60208284031215614eca575f80fd5b8151610fc181614e1e565b5f82601f830112614ee4575f80fd5b8151602083015f614ef761441284614398565b9050828152858383011115614f0a575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f60208284031215614f34575f80fd5b81516001600160401b03811115614f49575f80fd5b613f4d84828501614ed5565b80518015158114614dcc575f80fd5b5f82601f830112614f73575f80fd5b81516001600160401b03811115614f8c57614f8c614218565b8060051b614f9c60208201614368565b91825260208185018101929081019086841115614fb7575f80fd5b6020860192505b83831015614fe2578251614fd181613e02565b825260209283019290910190614fbe565b9695505050505050565b5f60208284031215614ffc575f80fd5b81516001600160401b03811115615011575f80fd5b82016101008185031215615023575f80fd5b61502b614254565b61503482614f55565b815261504260208301614f55565b602082015261505360408301614f55565b604082015261506460608301614e2c565b606082015261507560808301614e2c565b608082015261508660a08301614dc1565b60a082015261509760c08301614dc1565b60c082015260e08201516001600160401b038111156150b4575f80fd5b6150c086828501614f64565b60e083015250949350505050565b8051614dcc81614094565b5f602082840312156150e9575f80fd5b8151610fc181614094565b8051614dcc81614c64565b5f6080828403128015615110575f80fd5b5061511961422c565b8251815260208301516007811061512e575f80fd5b6020820152604083015161514181613e34565b60408201526060830151614eae81614c64565b8051614dcc81613fda565b5f6020828403121561516f575f80fd5b81516001600160401b03811115615184575f80fd5b82016101008185031215615196575f80fd5b61519e614254565b6151a782614dc1565b81526151b560208301614dc1565b60208201526151c660408301614e48565b60408201526151d760608301614e48565b60608201526151e860808301615154565b60808201526151f960a083016150f4565b60a082015260c08201516001600160401b03811115615216575f80fd5b61522286828501614ed5565b60c08301525060e08201516001600160401b03811115615240575f80fd5b6150c086828501614ed5565b5f6020828403121561525c575f80fd5b81516001600160401b03811115615271575f80fd5b820160808185031215615282575f80fd5b61528a61422c565b815161529581614094565b81526152a360208301614f55565b602082015260408201516152b681614e37565b604082015260608201516001600160401b038111156152d3575f80fd5b6152df86828501614ed5565b606083015250949350505050565b6001600160601b0383168152604060208201525f613f4d60408301846140c4565b5f6020828403121561531e575f80fd5b8151610fc181613e34565b5f60408284031215615339575f80fd5b604080519081016001600160401b038111828210171561535b5761535b614218565b8060405250809150825161536e81613fda565b8152602083015161537e81613e02565b6020919091015292915050565b5f6020828403121561539b575f80fd5b81516001600160401b038111156153b0575f80fd5b820160e081850312156153c1575f80fd5b6153c9614277565b81516153d481614c64565b815260208201516153e481614c64565b60208201526153f5604083016150f4565b604082015261540660608301614dc1565b60608201526154188560808401615329565b608082015260c08201516001600160401b03811115615435575f80fd5b61544186828501614ed5565b60a083015250949350505050565b5f6020828403121561545f575f80fd5b610fc182614f55565b5f60e0828403128015615479575f80fd5b50615482614299565b825161548d81613e02565b8152602083015161549d81613fda565b602082015260408301516154b081613fda565b60408201526154c160608401614f55565b60608201526154d260808401614f55565b60808201526154e360a08401614f55565b60a08201526154f460c08401614f55565b60c08201529392505050565b5f60c0828403128015615511575f80fd5b5061551a614277565b825161552581613e34565b8152602083015160048110615538575f80fd5b6020820152604083015161554b81614e37565b6040820152606083015161555e81614c64565b606082015261556f608084016150f4565b608082015260a0928301519281019290925250919050565b5f6101c0828403128015615599575f80fd5b506155a2614299565b6155ac8484615329565b81526155bb8460408501615329565b60208201526155cd8460808501615329565b60408201526155df8460c08501615329565b60608201526155f2846101008501615329565b6080820152615605846101408501615329565b60a08201526154f4846101808501615329565b5f60208284031215615628575f80fd5b81516001600160401b0381111561563d575f80fd5b82016060818503121561564e575f80fd5b6156566142bb565b815161566181613e02565b8152602082015161567181614c64565b602082015260408201516001600160401b0381111561568e575f80fd5b61569a86828501614ed5565b604083015250949350505050565b5f602082840312156156b8575f80fd5b81516001600160401b038111156156cd575f80fd5b8201606081850312156156de575f80fd5b6156e66142bb565b81516001600160401b038111156156fb575f80fd5b61570786828501614ed5565b825250602082015161567181613fda565b8051614dcc81614bae565b5f60208284031215615733575f80fd5b81516001600160401b03811115615748575f80fd5b820160e08185031215615759575f80fd5b615761614299565b61576a82614dc1565b815261577860208301614dc1565b6020820152615789604083016150f4565b604082015261579a60608301615718565b60608201526157ab60808301615718565b608082015260a08201516001600160401b038111156157c8575f80fd5b6157d486828501614ed5565b60a08301525060c08201516001600160401b038111156157f2575f80fd5b6157fe86828501614ed5565b60c083015250949350505050565b5f806040838503121561581d575f80fd5b825161582881613fda565b6020840151909250613f9081614e1e565b8051614dcc81613f55565b5f60208284031215615854575f80fd5b81516001600160401b03811115615869575f80fd5b8201610200818503121561587b575f80fd5b6158836142dd565b61588c82614dc1565b815261589a60208301614dc1565b60208201526158ab604083016150ce565b60408201526158bc60608301614dc1565b60608201526158cd60808301614dc1565b60808201526158de60a083016150ce565b60a08201526158ef60c08301615839565b60c082015261590060e08301615839565b60e08201526159126101008301614dc1565b6101008201526159256101208301614dc1565b61012082015261593861014083016150f4565b61014082015261594b61016083016150f4565b61016082015261595e61018083016150f4565b6101808201526159716101a083016150f4565b6101a08201526101c08201516001600160401b03811115615990575f80fd5b61599c86828501614ed5565b6101c0830152506101e08201516001600160401b038111156159bc575f80fd5b6159c886828501614ed5565b6101e083015250949350505050565b5f602082840312156159e7575f80fd5b81516001600160401b038111156159fc575f80fd5b82016101408185031215615a0e575f80fd5b615a16614300565b615a1f82615154565b8152615a2d60208301614dc1565b6020820152615a3e60408301615154565b6040820152615a4f60608301614e48565b6060820152615a60608083016150f4565b6080820152615a7160a08301614f55565b60a0820152615a8260c08301614f55565b60c0820152615a9360e08301615154565b60e08201526101008201516001600160401b03811115615ab1575f80fd5b615abd86828501614ed5565b610100830152506101208201516001600160401b03811115615add575f80fd5b615ae986828501614ed5565b61012083015250949350505050565b5f610240828403128015615b0a575f80fd5b50615b13614323565b615b1c83614dc1565b8152615b2a60208401614dc1565b6020820152615b3b60408401614dc1565b6040820152615b4c60608401614dc1565b6060820152615b5d60808401614dc1565b6080820152615b6e60a08401614dc1565b60a0820152615b7f60c08401614dc1565b60c0820152615b9060e08401614dc1565b60e0820152615ba26101008401614dc1565b610100820152615bb56101208401614dc1565b610120820152615bc86101408401614dc1565b610140820152615bdb6101608401614dc1565b610160820152615bee6101808401614dc1565b610180820152615c016101a08401614dc1565b6101a0820152615c146101c08401614dc1565b6101c0820152615c276101e08401614dc1565b6101e0820152615c3a6102008401614dc1565b610200820152615c4d6102208401614dc1565b6102208201529392505050565b634e487b7160e01b5f52601160045260245ffd5b62ffffff8181168382160190811115610d1957610d19615c5a565b5f60208284031215615c99575f80fd5b8151610fc181614c64565b80820180821115610d1957610d19615c5a565b5f60208284031215615cc7575f80fd5b8151610fc181613f55565b5f60208284031215615ce2575f80fd5b81516001600160401b03811115615cf7575f80fd5b820160a08185031215615d08575f80fd5b615d10614346565b8151615d1b81613f55565b81526020820151615d2b81613e02565b60208201526040820151615d3e81614c64565b60408201526060820151615d5181613fda565b606082015260808201516001600160401b03811115615d6e575f80fd5b615d7a86828501614ed5565b608083015250949350505050565b5f60208284031215615d98575f80fd5b81516001600160401b03811115615dad575f80fd5b82016101008185031215615dbf575f80fd5b615dc7614254565b615dd082614dc1565b8152615dde60208301614dc1565b6020820152615def60408301614f55565b6040820152615e00606083016150f4565b6060820152615e11608083016150f4565b608082015260a08201516001600160401b03811115615e2e575f80fd5b615e3a86828501614ed5565b60a08301525060c08201516001600160401b03811115615216575f80fdfea264697066735822122088100e91a4ee6334a79a9e615995417a5848bfce078eb8d13839421cba82f8ae64736f6c634300081a0033",
2389
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106104a6575f3560e01c80636ebed9081161026e578063c6a0017911610156578063e444c3df116100ca578063f4809edd1161008f578063f4809edd14610c19578063f7f318d314610c2c578063fad77c3b14610c3f578063fcad2c4b14610c52578063fd80249214610c65578063febe92af14610c85575f80fd5b8063e444c3df14610b8a578063e98413ff14610baa578063f0b1d21014610bd3578063f0ea17c314610be6578063f3ed991914610c06575f80fd5b8063d78a83b11161011b578063d78a83b114610b1a578063db70354c14610b2d578063dd26287a14610b40578063de7b5d1414610b53578063dfbf164014610b64578063e2eb023b14610b77575f80fd5b8063c6a0017914610ac6578063c71e261f14610ad9578063d06458c614610ae1578063d299bf6214610b01578063d4cda0d814610b09575f80fd5b8063887b1fa9116101ed578063a5961b4c116101b2578063a5961b4c146109db578063a7ef3d2114610a37578063b82d7ef514610a57578063ba579bdc14610a8b578063ba62fbe414610a9e578063bd7d9d8514610aa6575f80fd5b8063887b1fa91461096f5780638eb9000d1461098f5780639096a1f3146109a257806394b9929b146109b5578063a310e2a3146109c8575f80fd5b80637e54602a116102335780637e54602a146109265780637e798669146109395780637f0cf947146109415780638129fc1c1461095457806387c73e5a1461095c575f80fd5b80636ebed908146108c7578063728a61a8146108da57806378ae9350146108ed5780637bfd3217146109005780637d8f1e8114610913575f80fd5b8063380bd950116103915780634fb784f51161031057806364eb3a9b116102d557806364eb3a9b146108485780636553994c1461085b57806366c3bc951461086e5780636791f7ab146108815780636a05a413146108965780636dddada4146108b6575f80fd5b80634fb784f5146107cd57806357f80bbf146107e05780635ab1bd53146108005780635bfa502714610815578063605aa10a14610835575f80fd5b80633fd85561116103565780633fd85561146107395780634793b4ab14610764578063480cebd1146107845780634a4fbeec146107a75780634d21a63d146107ba575f80fd5b8063380bd950146106d2578063392f5f64146106e55780633b046f09146106ed5780633f071275146107135780633f093cd614610726575f80fd5b80631488c8451161042857806327b1d792116103ed57806327b1d792146106535780632c0cd060146106735780632f458a111461068657806333fc7dee1461069957806334bd5be3146106ac57806335898f5d146106bf575f80fd5b80631488c845146105f257806315b74532146106055780631d3be47714610618578063228e42ec1461063857806326d60fb41461064b575f80fd5b80630e0c586d1161046e5780630e0c586d1461055357806310bf267b14610578578063128817d41461059f57806312e1ebc5146105bf57806313ab148d146105df575f80fd5b80630232ca49146104aa57806303014974146104da57806309648a9d146104fb57806309c5844f146105205780630b5d931c14610533575b5f80fd5b6104bd6104b8366004613e19565b610ca5565b6040516001600160601b0390911681526020015b60405180910390f35b6104ed6104e8366004613e48565b610d1f565b6040519081526020016104d1565b61050e610509366004613e63565b610dfb565b60405160ff90911681526020016104d1565b61050e61052e366004613e19565b610e70565b610546610541366004613e19565b610ee9565b6040516104d19190613ebd565b6004546001600160a01b03165b6040516001600160a01b0390911681526020016104d1565b61058b610586366004613f64565b610fce565b60405162ffffff90911681526020016104d1565b6105b26105ad366004613f9b565b610fe4565b6040516104d19190613fc5565b6105d26105cd366004613fee565b611064565b6040516104d1919061401d565b6104ed6105ed366004613e19565b611165565b61056061060036600461406c565b61119e565b6104bd610613366004613e63565b61121a565b61062b6106263660046140a9565b61124b565b6040516104d191906140f2565b6104bd610646366004613e19565b61139f565b6104ed6113d8565b610666610661366004613e19565b6114a7565b6040516104d191906141b0565b6104bd610681366004613e19565b611562565b6104ed610694366004613e19565b611582565b6104ed6106a7366004613e19565b6115c0565b6104ed6106ba366004613e19565b6115fe565b6104ed6106cd366004613e19565b611671565b6104bd6106e03660046141fc565b61169d565b6104ed61171e565b6107006106fb366004613e19565b6117c4565b60405161ffff90911681526020016104d1565b6104ed610721366004613e19565b6117d8565b6105b26107343660046143be565b611804565b61074c610747366004613e63565b61185a565b6040516001600160401b0390911681526020016104d1565b610777610772366004613e19565b611936565b6040516104d1919061446b565b6107976107923660046144df565b611a16565b60405190151581526020016104d1565b6107976107b5366004613fee565b611afb565b6105606107c8366004613e19565b611bd0565b6104ed6107db366004613e19565b611c28565b6107f36107ee366004613e19565b611c54565b6040516104d1919061450b565b5f5461010090046001600160a01b0316610560565b610828610823366004613e48565b611d25565b6040516104d1919061458a565b610797610843366004613fee565b611e3b565b6104ed610856366004613e19565b611ed6565b6104ed6108693660046140a9565b611f02565b61079761087c366004613e48565b611f33565b61089461088f366004613fee565b611fd5565b005b6108a96108a4366004613e19565b61232e565b6040516104d191906145fa565b6003546001600160a01b0316610560565b6104bd6108d5366004613f9b565b6123cf565b6105606108e8366004613e63565b61240f565b61050e6108fb366004613f64565b6124e6565b6104ed61090e366004613e19565b6125dd565b61050e610921366004613e19565b612609565b6104ed610934366004613e19565b612625565b6104bd612651565b61079761094f3660046144df565b6126c4565b61089461276e565b61079761096a366004613e48565b61279c565b61098261097d3660046140a9565b61283e565b6040516104d19190614681565b6104bd61099d366004613e19565b61296b565b61050e6109b0366004613e19565b6129a4565b6104ed6109c3366004613e19565b6129c0565b6105606109d6366004613e19565b6129f9565b6109ee6109e9366004613e63565b612a9f565b6040516104d191905f60808201905060ff835116825260ff602084015116602083015263ffffffff604084015116604083015263ffffffff606084015116606083015292915050565b610a4a610a45366004613f64565b612b29565b6040516104d191906146bf565b610a6a610a653660046140a9565b612c88565b604080516001600160a01b03909316835260ff9091166020830152016104d1565b610797610a99366004613e19565b612dfd565b6104ed612e5b565b610ab9610ab4366004613e19565b612f33565b6040516104d19190614759565b610797610ad4366004613e48565b61304b565b6104ed6130ed565b610af4610aef3660046140a9565b613134565b6040516104d191906148c4565b61074c613298565b6002546001600160a01b0316610560565b610560610b283660046149a2565b6132a1565b6104bd610b3b366004613f9b565b613360565b6104ed610b4e366004613e19565b6133a0565b6001546001600160a01b0316610560565b610560610b72366004613e19565b6133cc565b6104ed610b85366004613fee565b613424565b610b9d610b98366004613e19565b613466565b6040516104d191906149be565b610bbd610bb8366004614bbe565b61358f565b60405164ffffffffff90911681526020016104d1565b610797610be1366004614bea565b613621565b610bf9610bf4366004613e19565b61366a565b6040516104d19190614c16565b61050e610c14366004614c76565b61371e565b6105b2610c27366004613f9b565b613780565b6104ed610c3a366004613e19565b6137c5565b610700610c4d366004613e63565b6137f1565b61050e610c603660046140a9565b613874565b610c78610c73366004614c76565b6139c3565b6040516104d19190614ca2565b610c98610c93366004613e48565b613b08565b6040516104d19190614d00565b600254604051630232ca4960e01b81526001600160601b03831660048201525f916001600160a01b031690630232ca49906024015b602060405180830381865afa158015610cf5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d199190614dd1565b92915050565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015610d66573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d8a9190614dec565b60405162c0525d60e21b81526001600160401b03841660048201526001600160a01b0391909116906303014974906024015b602060405180830381865afa158015610dd7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d199190614e07565b60025460405163296586d360e21b8152600481018390525f916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015610e42573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e669190614e53565b6020015192915050565b6002545f906001600160a01b03166309648a9d610e8c846115fe565b6040518263ffffffff1660e01b8152600401610eaa91815260200190565b602060405180830381865afa158015610ec5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d199190614eba565b60408051610100810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e08201526002549091906001600160a01b03166354f6127f610f44856125dd565b6040518263ffffffff1660e01b8152600401610f6291815260200190565b5f60405180830381865afa158015610f7c573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610fa39190810190614f24565b805190915015610fc85780806020019051810190610fc19190614fec565b9392505050565b50919050565b5f610fd98383612b29565b606001519392505050565b600480546040516304a205f560e21b81526001600160601b03851692810192909252602482018390525f916001600160a01b039091169063128817d4906044015b602060405180830381865afa158015611040573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fc191906150d9565b604080516080810182525f80825260208201819052918101829052606081019190915260015f9054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110d7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110fb9190614dec565b6040516312e1ebc560e01b81526001600160a01b03848116600483015291909116906312e1ebc590602401608060405180830381865afa158015611141573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d1991906150ff565b6003546040516313ab148d60e01b81526001600160601b03831660048201525f916001600160a01b0316906313ab148d90602401610dbc565b604051631488c84560e01b8152600481018390525f82810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af41580156111f6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fc19190614dec565b600154604051630adba29960e11b8152600481018390525f916001600160a01b0316906315b7453290602401610cda565b60408051610100810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810182905260e08101919091526002546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee6275906112e3906001600160c01b0319891690600401613fc5565b602060405180830381865af41580156112fe573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113229190614e07565b6040518263ffffffff1660e01b815260040161134091815260200190565b5f60405180830381865afa15801561135a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526113819190810190614f24565b805190915015610fc85780806020019051810190610fc1919061515f565b6002546040516308a390bb60e21b81526001600160601b03831660048201525f916001600160a01b03169063228e42ec90602401610cda565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa15801561141f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114439190614dec565b6001600160a01b03166326d60fb46040518163ffffffff1660e01b8152600401602060405180830381865afa15801561147e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114a29190614e07565b905090565b604080516080810182525f80825260208201819052918101919091526060808201526002545f906001600160a01b03166354f6127f6114e585612625565b6040518263ffffffff1660e01b815260040161150391815260200190565b5f60405180830381865afa15801561151d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526115449190810190614f24565b805190915015610fc85780806020019051810190610fc1919061524c565b5f8061156d83612f33565b9050610fc18160600151826101000151613c56565b60048054604051632f458a1160e01b81526001600160601b038416928101929092525f916001600160a01b0390911690632f458a1190602401610dbc565b600480546040516319fe3ef760e11b81526001600160601b038416928101929092525f916001600160a01b03909116906333fc7dee90602401610dbc565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416602b5b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610dd7573d5f803e3d5ffd5b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600e611626565b600480546040516346cad99560e11b81526001600160c01b0319851692810192909252602482018390525f916001600160a01b0390911690638d95b32a906044015b602060405180830381865afa1580156116fa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fc19190614dd1565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015611765573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117899190614dec565b6001600160a01b031663392f5f646040518163ffffffff1660e01b8152600401602060405180830381865afa15801561147e573d5f803e3d5ffd5b5f6117ce82612f33565b60c0015192915050565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166029611626565b604051631f849e6b60e11b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd69061183f90869086906004016152ed565b602060405180830381865af4158015611040573d5f803e3d5ffd5b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa1580156118a1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118c59190614dec565b604051633fd8556160e01b81526001600160401b03841660048201526001600160a01b039190911690633fd8556190602401602060405180830381865afa158015611912573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d19919061530e565b61197d6040805160c0810182525f80825260208083018290528284018290526060830182905283518085019094528184528301529060808201908152602001606081525090565b6002545f906001600160a01b03166354f6127f611999856137c5565b6040518263ffffffff1660e01b81526004016119b791815260200190565b5f60405180830381865afa1580156119d1573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526119f89190810190614f24565b805190915015610fc85780806020019051810190610fc1919061538b565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015611a5d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a819190614dec565b60405163480cebd160e01b81526001600160401b03851660048201526001600160a01b038481166024830152919091169063480cebd1906044015b602060405180830381865afa158015611ad7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fc1919061544f565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015611b42573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b669190614dec565b604051629b7b3560e61b81526001600160a01b03848116600483015291909116906326decd40906024015b602060405180830381865afa158015611bac573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d19919061544f565b5f80611bdb836129f9565b90506001600160a01b03811615610fc857806001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111f6573d5f803e3d5ffd5b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600b611626565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091526002545f906001600160a01b03166354f6127f611ca8856133a0565b6040518263ffffffff1660e01b8152600401611cc691815260200190565b5f60405180830381865afa158015611ce0573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611d079190810190614f24565b805190915015610fc85780806020019051810190610fc19190615468565b6040805160c0810182525f80825260208201819052918101829052606081018290526080810182905260a081019190915260015f9054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611da6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dca9190614dec565b604051635bfa502760e01b81526001600160401b03841660048201526001600160a01b039190911690635bfa50279060240160c060405180830381865afa158015611e17573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d199190615500565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015611e82573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ea69190614dec565b60405163302d508560e11b81526001600160a01b038481166004830152919091169063605aa10a90602401611b91565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166015611626565b6004805460405163380d295960e21b81525f926001600160a01b039092169163e034a56491610dbc91869101613fc5565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015611f7a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f9e9190614dec565b6040516366c3bc9560e01b81526001600160401b03841660048201526001600160a01b0391909116906366c3bc9590602401611b91565b5f5460ff1615611ff85760405163ae9eff1b60e01b815260040160405180910390fd5b5f805460ff1916600190811790915580546001600160a01b0383166001600160a01b0319909116811790915560408051635ab1bd5360e01b81529051635ab1bd53916004808201926020929091908290030181865afa15801561205d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120819190614dec565b5f8054610100600160a81b0319166101006001600160a01b039384160217905560015460408051631a99b41b60e31b81529051919092169163d4cda0d89160048083019260209291908290030181865afa1580156120e1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121059190614dec565b600280546001600160a01b0319166001600160a01b0392831617905560015460408051631b776b6960e21b815290519190921691636dddada49160048083019260209291908290030181865afa158015612161573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121859190614dec565b600380546001600160a01b0319166001600160a01b0392831617905560015460408051630e0c586d60e01b815290519190921691630e0c586d9160048083019260209291908290030181865afa1580156121e1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122059190614dec565b600480546001600160a01b0319166001600160a01b039283161790555f5461010090041663d39e6043600e60015f9054906101000a90046001600160a01b03166001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612280573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122a49190614eba565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156122e7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061230b9190614dec565b600580546001600160a01b0319166001600160a01b039290921691909117905550565b612336613d2a565b6002545f906001600160a01b03166354f6127f612352856117d8565b6040518263ffffffff1660e01b815260040161237091815260200190565b5f60405180830381865afa15801561238a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526123b19190810190614f24565b805190915015610fc85780806020019051810190610fc19190615587565b600354604051630dd7db2160e31b81526001600160601b0384166004820152602481018390525f916001600160a01b031690636ebed908906044016116df565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015612456573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061247a9190614dec565b6001600160a01b031663728a61a8836040518263ffffffff1660e01b81526004016124a791815260200190565b602060405180830381865afa1580156124c2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d199190614dec565b600254604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b22906044015b602060405180830381865af415801561255c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125809190614e07565b6040518263ffffffff1660e01b815260040161259e91815260200190565b602060405180830381865afa1580156125b9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fc19190614eba565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600c611626565b6002545f906001600160a01b03166309648a9d610e8c846137c5565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166017611626565b5f8054600154604051632f2a35f760e11b81526001600160a01b0391821660048201526101009092041690635e546bee90602401602060405180830381865afa1580156126a0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114a29190614dd1565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa15801561270b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061272f9190614dec565b604051637f0cf94760e01b81526001600160401b03851660048201526001600160a01b0384811660248301529190911690637f0cf94790604401611abc565b5f5460ff16156127915760405163ae9eff1b60e01b815260040160405180910390fd5b61279a33611fd5565b565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa1580156127e3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128079190614dec565b6040516343e39f2d60e11b81526001600160401b03841660048201526001600160a01b0391909116906387c73e5a90602401611b91565b60408051606080820183525f8083526020830152918101919091526002546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee6275906128af906001600160c01b0319891690600401613fc5565b602060405180830381865af41580156128ca573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128ee9190614e07565b6040518263ffffffff1660e01b815260040161290c91815260200190565b5f60405180830381865afa158015612926573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261294d9190810190614f24565b805190915015610fc85780806020019051810190610fc19190615618565b600254604051638eb9000d60e01b81526001600160601b03831660048201525f916001600160a01b031690638eb9000d90602401610cda565b6002545f906001600160a01b03166309648a9d610e8c84611ed6565b6003546040516394b9929b60e01b81526001600160601b03831660048201525f916001600160a01b0316906394b9929b90602401610dbc565b6002545f9081906001600160a01b03166354f6127f612a1785611c28565b6040518263ffffffff1660e01b8152600401612a3591815260200190565b5f60405180830381865afa158015612a4f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612a769190810190614f24565b805190915015610fc85780806020019051810190612a9491906156a8565b602001519392505050565b604080516080810182525f808252602082018190528183018190526060820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015612b05573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d199190614e53565b6040805160e0810182525f808252602082018190529181018290526060808201839052608082019290925260a0810182905260c0810191909152600254604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af4158015612bd8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612bfc9190614e07565b6040518263ffffffff1660e01b8152600401612c1a91815260200190565b5f60405180830381865afa158015612c34573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612c5b9190810190614f24565b805190915015612c815780806020019051810190612c799190615723565b915050610d19565b5092915050565b5f8054819061010090046001600160a01b031663d39e6043600e60015f9054906101000a90046001600160a01b03166001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612cf2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d169190614eba565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612d59573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d7d9190614dec565b60405163eed2831560e01b81523060048201526001600160c01b0319851660248201526001600160a01b03919091169063eed28315906044016040805180830381865afa158015612dd0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612df4919061580c565b91509150915091565b60405163034159f960e41b81523060048201526001600160601b03821660248201525f9073__$d4f8ac2ac7f53dfb2fb9ff92adbd6d29df$__906334159f9090604401602060405180830381865af4158015611bac573d5f803e3d5ffd5b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015612ea2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ec69190614dec565b6001600160a01b031663ba62fbe46040518163ffffffff1660e01b8152600401602060405180830381865afa158015612f01573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f25919061530e565b6001600160401b0316905090565b60408051610200810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e08201839052610100820183905261012082018390526101408201839052610160820183905261018082018390526101a082018390526101c082018190526101e08201526002549091906001600160a01b03166354f6127f612fce85611ed6565b6040518263ffffffff1660e01b8152600401612fec91815260200190565b5f60405180830381865afa158015613006573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261302d9190810190614f24565b805190915015610fc85780806020019051810190610fc19190615844565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015613092573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906130b69190614dec565b60405163c6a0017960e01b81526001600160401b03841660048201526001600160a01b03919091169063c6a0017990602401611b91565b6001546040805163c71e261f60e01b815290515f926001600160a01b03169163c71e261f9160048083019260209291908290030181865afa15801561147e573d5f803e3d5ffd5b60408051610140810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e082019290925261010081018290526101208101919091526002546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee6275906131dc906001600160c01b0319891690600401613fc5565b602060405180830381865af41580156131f7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061321b9190614e07565b6040518263ffffffff1660e01b815260040161323991815260200190565b5f60405180830381865afa158015613253573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261327a9190810190614f24565b805190915015610fc85780806020019051810190610fc191906159d7565b5f6114a2613cb6565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa1580156132e8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061330c9190614dec565b60405163d78a83b160e01b81526001600160401b0385166004820152602481018490526001600160a01b03919091169063d78a83b190604401602060405180830381865afa1580156111f6573d5f803e3d5ffd5b6003546040516336dc0d5360e21b81526001600160601b0384166004820152602481018390525f916001600160a01b03169063db70354c906044016116df565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600f611626565b5f806133d7836129f9565b90506001600160a01b03811615610fc857806001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111f6573d5f803e3d5ffd5b60405163e2eb023b60e01b81526001600160a01b03821660048201525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__9063e2eb023b90602401611656565b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e0810182905261020081018290526102208101919091526002545f906001600160a01b03166354f6127f613512856115fe565b6040518263ffffffff1660e01b815260040161353091815260200190565b5f60405180830381865afa15801561354a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526135719190810190614f24565b805190915015610fc85780806020019051810190610fc19190615af8565b5f73__$0f9396e6447a4be57af83e53f51d234633$__6359fad7ca846135b6856001615c6e565b6040516001600160e01b031960e085901b16815261ffff909216600483015262ffffff166024820152604401602060405180830381865af41580156135fd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fc19190615c89565b6005546040516309741ce160e21b81526001600160601b03841660048201526001600160c01b0319831660248201525f916001600160a01b0316906325d0738490604401611abc565b60408051606080820183528082525f6020830152918101919091526002545f906001600160a01b03166354f6127f6136a185611c28565b6040518263ffffffff1660e01b81526004016136bf91815260200190565b5f60405180830381865afa1580156136d9573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526137009190810190614f24565b805190915015610fc85780806020019051810190610fc191906156a8565b600254604051632867b75960e21b815264ffffffffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401612541565b6004805460405163f4809edd60e01b81526001600160601b03851692810192909252602482018390525f916001600160a01b039091169063f4809edd90604401611025565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166016611626565b5f73__$9e81531fe4994e01e99541f86b55500b4b$__639cc45a36613817846001615ca4565b6040518263ffffffff1660e01b815260040161383591815260200190565b602060405180830381865af4158015613850573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d199190615cb7565b6002546040516355ee627560e01b81525f9182916001600160a01b03909116906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee6275906138ce906001600160c01b0319891690600401613fc5565b602060405180830381865af41580156138e9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061390d9190614e07565b6040518263ffffffff1660e01b815260040161392b91815260200190565b5f60405180830381865afa158015613945573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261396c9190810190614f24565b6002546040516355ee627560e01b81529192506001600160a01b0316906309648a9d9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590612541906001600160c01b0319891690600401613fc5565b6040805160a0810182525f808252602082018190529181018290526060808201929092526080810191909152600254604051632867b75960e21b815264ffffffffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401602060405180830381865af4158015613a67573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613a8b9190614e07565b6040518263ffffffff1660e01b8152600401613aa991815260200190565b5f60405180830381865afa158015613ac3573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613aea9190810190614f24565b805190915015612c815780806020019051810190612c799190615cd2565b60408051610100810182525f808252602082018190529181018290526060808201839052608082019290925260a0810182905260c0810182905260e0810191909152600254604051630f37f38f60e41b81526001600160401b03841660048201525f916001600160a01b0316906354f6127f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015613bb5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613bd99190614e07565b6040518263ffffffff1660e01b8152600401613bf791815260200190565b5f60405180830381865afa158015613c11573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613c389190810190614f24565b805190915015610fc85780806020019051810190610fc19190615d88565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401602060405180830381865af41580156116fa573d5f803e3d5ffd5b6040516368aebf7b60e01b8152600560048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af4158015613d06573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114a2919061530e565b6040805161012081019091525f60e0820181815261010083019190915281908152602001613d67604080518082019091525f808252602082015290565b8152602001613d85604080518082019091525f808252602082015290565b8152602001613da3604080518082019091525f808252602082015290565b8152602001613dc1604080518082019091525f808252602082015290565b8152602001613ddf604080518082019091525f808252602082015290565b8152602001613dfd604080518082019091525f808252602082015290565b905290565b6001600160601b0381168114613e16575f80fd5b50565b5f60208284031215613e29575f80fd5b8135610fc181613e02565b6001600160401b0381168114613e16575f80fd5b5f60208284031215613e58575f80fd5b8135610fc181613e34565b5f60208284031215613e73575f80fd5b5035919050565b5f8151808452602084019350602083015f5b82811015613eb35781516001600160601b0316865260209586019590910190600101613e8c565b5093949350505050565b602081528151151560208201526020820151151560408201525f6040830151613eea606084018215159052565b50606083015160ff8116608084015250608083015160ff811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e083015161010080840152613f4d610120840182613e7a565b949350505050565b61ffff81168114613e16575f80fd5b5f8060408385031215613f75575f80fd5b8235613f8081613e02565b91506020830135613f9081613f55565b809150509250929050565b5f8060408385031215613fac575f80fd5b8235613fb781613e02565b946020939093013593505050565b6001600160c01b031991909116815260200190565b6001600160a01b0381168114613e16575f80fd5b5f60208284031215613ffe575f80fd5b8135610fc181613fda565b634e487b7160e01b5f52602160045260245ffd5b81518152602082015160808201906007811061403b5761403b614009565b806020840152506001600160401b03604084015116604083015264ffffffffff606084015116606083015292915050565b5f806040838503121561407d575f80fd5b8235915060208301355f81900b8114613f90575f80fd5b6001600160c01b031981168114613e16575f80fd5b5f602082840312156140b9575f80fd5b8135610fc181614094565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f602083015161412160408401826001600160601b03169052565b50604083015163ffffffff8116606084015250606083015163ffffffff811660808401525060808301516001600160a01b03811660a08401525060a083015164ffffffffff811660c08401525060c083015161010060e08401526141896101208401826140c4565b905060e0840151601f19848303016101008501526141a782826140c4565b95945050505050565b602081526001600160401b0360c01b825116602082015260208201511515604082015263ffffffff60408301511660608201525f6060830151608080840152613f4d60a08401826140c4565b5f806040838503121561420d575f80fd5b8235613fb781614094565b634e487b7160e01b5f52604160045260245ffd5b604051608081016001600160401b038111828210171561424e5761424e614218565b60405290565b60405161010081016001600160401b038111828210171561424e5761424e614218565b60405160c081016001600160401b038111828210171561424e5761424e614218565b60405160e081016001600160401b038111828210171561424e5761424e614218565b604051606081016001600160401b038111828210171561424e5761424e614218565b60405161020081016001600160401b038111828210171561424e5761424e614218565b60405161014081016001600160401b038111828210171561424e5761424e614218565b60405161024081016001600160401b038111828210171561424e5761424e614218565b60405160a081016001600160401b038111828210171561424e5761424e614218565b604051601f8201601f191681016001600160401b038111828210171561439057614390614218565b604052919050565b5f6001600160401b038211156143b0576143b0614218565b50601f01601f191660200190565b5f80604083850312156143cf575f80fd5b82356143da81613e02565b915060208301356001600160401b038111156143f4575f80fd5b8301601f81018513614404575f80fd5b803561441761441282614398565b614368565b81815286602083850101111561442b575f80fd5b816020840160208301375f602083830101528093505050509250929050565b80516001600160a01b031682526020908101516001600160601b0316910152565b6020815264ffffffffff825116602082015264ffffffffff602083015116604082015264ffffffffff60408301511660608201526001600160601b0360608301511660808201525f60808301516144c560a084018261444a565b5060a083015160e080840152613f4d6101008401826140c4565b5f80604083850312156144f0575f80fd5b82356144fb81613e34565b91506020830135613f9081613fda565b5f60e0820190506001600160601b03835116825260018060a01b03602084015116602083015260018060a01b0360408401511660408301526060830151151560608301526080830151614562608084018215159052565b5060a083015161457660a084018215159052565b5060c0830151612c8160c084018215159052565b81516001600160401b03168152602082015160c0820190600481106145b1576145b1614009565b8060208401525063ffffffff604084015116604083015264ffffffffff606084015116606083015264ffffffffff608084015116608083015260a083015160a083015292915050565b5f6101c08201905061460d82845161444a565b602083015161461f604084018261444a565b506040830151614632608084018261444a565b50606083015161464560c084018261444a565b50608083015161465961010084018261444a565b5060a083015161466d61014084018261444a565b5060c0830151612c8161018084018261444a565b602081526001600160601b03825116602082015264ffffffffff60208301511660408201525f6040830151606080840152613f4d60808401826140c4565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f60408301516146ff606084018264ffffffffff169052565b50606083015162ffffff8116608084015250608083015162ffffff811660a08401525060a083015160e060c084015261473c6101008401826140c4565b905060c0840151601f198483030160e08501526141a782826140c4565b602081526147736020820183516001600160601b03169052565b5f602083015161478e60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160601b03811660808401525060808301516001600160601b03811660a08401525060a08301516001600160c01b0319811660c08401525060c083015161ffff811660e08401525060e083015161ffff8116610100840152506101008301516001600160601b038116610120840152506101208301516001600160601b0381166101408401525061014083015164ffffffffff81166101608401525061016083015164ffffffffff81166101808401525061018083015164ffffffffff81166101a0840152506101a083015164ffffffffff81166101c0840152506101c08301516102006101e08401526148a56102208401826140c4565b90506101e0840151601f19848303016102008501526141a782826140c4565b602081526148de6020820183516001600160a01b03169052565b5f60208301516148f960408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015163ffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015180151560c08401525060c083015180151560e08401525060e08301516001600160a01b038116610100840152506101008301516101406101208401526149836101608401826140c4565b9050610120840151601f19848303016101408501526141a782826140c4565b5f80604083850312156149b3575f80fd5b8235613fb781613e34565b81516001600160601b03168152610240810160208301516149ea60208401826001600160601b03169052565b506040830151614a0560408401826001600160601b03169052565b506060830151614a2060608401826001600160601b03169052565b506080830151614a3b60808401826001600160601b03169052565b5060a0830151614a5660a08401826001600160601b03169052565b5060c0830151614a7160c08401826001600160601b03169052565b5060e0830151614a8c60e08401826001600160601b03169052565b50610100830151614aa96101008401826001600160601b03169052565b50610120830151614ac66101208401826001600160601b03169052565b50610140830151614ae36101408401826001600160601b03169052565b50610160830151614b006101608401826001600160601b03169052565b50610180830151614b1d6101808401826001600160601b03169052565b506101a0830151614b3a6101a08401826001600160601b03169052565b506101c0830151614b576101c08401826001600160601b03169052565b506101e0830151614b746101e08401826001600160601b03169052565b50610200830151614b916102008401826001600160601b03169052565b50610220830151612c816102208401826001600160601b03169052565b62ffffff81168114613e16575f80fd5b5f8060408385031215614bcf575f80fd5b8235614bda81613f55565b91506020830135613f9081614bae565b5f8060408385031215614bfb575f80fd5b8235614c0681613e02565b91506020830135613f9081614094565b602081525f825160606020840152614c3160808401826140c4565b60208501516001600160a01b0316604085810191909152850151848203601f190160608601529091506141a782826140c4565b64ffffffffff81168114613e16575f80fd5b5f8060408385031215614c87575f80fd5b8235614c9281613e02565b91506020830135613f9081614c64565b6020815261ffff82511660208201526001600160601b03602083015116604082015264ffffffffff604083015116606082015260018060a01b0360608301511660808201525f608083015160a080840152613f4d60c08401826140c4565b60208152614d1a6020820183516001600160601b03169052565b5f6020830151614d3560408401826001600160601b03169052565b506040830151801515606084015250606083015164ffffffffff8116608084015250608083015164ffffffffff811660a08401525060a083015161010060c0840152614d856101208401826140c4565b905060c0840151601f198483030160e0850152614da282826140c4565b91505060e0840151601f19848303016101008501526141a782826140c4565b8051614dcc81613e02565b919050565b5f60208284031215614de1575f80fd5b8151610fc181613e02565b5f60208284031215614dfc575f80fd5b8151610fc181613fda565b5f60208284031215614e17575f80fd5b5051919050565b60ff81168114613e16575f80fd5b8051614dcc81614e1e565b63ffffffff81168114613e16575f80fd5b8051614dcc81614e37565b5f6080828403128015614e64575f80fd5b50614e6d61422c565b8251614e7881614e1e565b81526020830151614e8881614e1e565b60208201526040830151614e9b81614e37565b60408201526060830151614eae81614e37565b60608201529392505050565b5f60208284031215614eca575f80fd5b8151610fc181614e1e565b5f82601f830112614ee4575f80fd5b8151602083015f614ef761441284614398565b9050828152858383011115614f0a575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f60208284031215614f34575f80fd5b81516001600160401b03811115614f49575f80fd5b613f4d84828501614ed5565b80518015158114614dcc575f80fd5b5f82601f830112614f73575f80fd5b81516001600160401b03811115614f8c57614f8c614218565b8060051b614f9c60208201614368565b91825260208185018101929081019086841115614fb7575f80fd5b6020860192505b83831015614fe2578251614fd181613e02565b825260209283019290910190614fbe565b9695505050505050565b5f60208284031215614ffc575f80fd5b81516001600160401b03811115615011575f80fd5b82016101008185031215615023575f80fd5b61502b614254565b61503482614f55565b815261504260208301614f55565b602082015261505360408301614f55565b604082015261506460608301614e2c565b606082015261507560808301614e2c565b608082015261508660a08301614dc1565b60a082015261509760c08301614dc1565b60c082015260e08201516001600160401b038111156150b4575f80fd5b6150c086828501614f64565b60e083015250949350505050565b8051614dcc81614094565b5f602082840312156150e9575f80fd5b8151610fc181614094565b8051614dcc81614c64565b5f6080828403128015615110575f80fd5b5061511961422c565b8251815260208301516007811061512e575f80fd5b6020820152604083015161514181613e34565b60408201526060830151614eae81614c64565b8051614dcc81613fda565b5f6020828403121561516f575f80fd5b81516001600160401b03811115615184575f80fd5b82016101008185031215615196575f80fd5b61519e614254565b6151a782614dc1565b81526151b560208301614dc1565b60208201526151c660408301614e48565b60408201526151d760608301614e48565b60608201526151e860808301615154565b60808201526151f960a083016150f4565b60a082015260c08201516001600160401b03811115615216575f80fd5b61522286828501614ed5565b60c08301525060e08201516001600160401b03811115615240575f80fd5b6150c086828501614ed5565b5f6020828403121561525c575f80fd5b81516001600160401b03811115615271575f80fd5b820160808185031215615282575f80fd5b61528a61422c565b815161529581614094565b81526152a360208301614f55565b602082015260408201516152b681614e37565b604082015260608201516001600160401b038111156152d3575f80fd5b6152df86828501614ed5565b606083015250949350505050565b6001600160601b0383168152604060208201525f613f4d60408301846140c4565b5f6020828403121561531e575f80fd5b8151610fc181613e34565b5f60408284031215615339575f80fd5b604080519081016001600160401b038111828210171561535b5761535b614218565b8060405250809150825161536e81613fda565b8152602083015161537e81613e02565b6020919091015292915050565b5f6020828403121561539b575f80fd5b81516001600160401b038111156153b0575f80fd5b820160e081850312156153c1575f80fd5b6153c9614277565b81516153d481614c64565b815260208201516153e481614c64565b60208201526153f5604083016150f4565b604082015261540660608301614dc1565b60608201526154188560808401615329565b608082015260c08201516001600160401b03811115615435575f80fd5b61544186828501614ed5565b60a083015250949350505050565b5f6020828403121561545f575f80fd5b610fc182614f55565b5f60e0828403128015615479575f80fd5b50615482614299565b825161548d81613e02565b8152602083015161549d81613fda565b602082015260408301516154b081613fda565b60408201526154c160608401614f55565b60608201526154d260808401614f55565b60808201526154e360a08401614f55565b60a08201526154f460c08401614f55565b60c08201529392505050565b5f60c0828403128015615511575f80fd5b5061551a614277565b825161552581613e34565b8152602083015160048110615538575f80fd5b6020820152604083015161554b81614e37565b6040820152606083015161555e81614c64565b606082015261556f608084016150f4565b608082015260a0928301519281019290925250919050565b5f6101c0828403128015615599575f80fd5b506155a2614299565b6155ac8484615329565b81526155bb8460408501615329565b60208201526155cd8460808501615329565b60408201526155df8460c08501615329565b60608201526155f2846101008501615329565b6080820152615605846101408501615329565b60a08201526154f4846101808501615329565b5f60208284031215615628575f80fd5b81516001600160401b0381111561563d575f80fd5b82016060818503121561564e575f80fd5b6156566142bb565b815161566181613e02565b8152602082015161567181614c64565b602082015260408201516001600160401b0381111561568e575f80fd5b61569a86828501614ed5565b604083015250949350505050565b5f602082840312156156b8575f80fd5b81516001600160401b038111156156cd575f80fd5b8201606081850312156156de575f80fd5b6156e66142bb565b81516001600160401b038111156156fb575f80fd5b61570786828501614ed5565b825250602082015161567181613fda565b8051614dcc81614bae565b5f60208284031215615733575f80fd5b81516001600160401b03811115615748575f80fd5b820160e08185031215615759575f80fd5b615761614299565b61576a82614dc1565b815261577860208301614dc1565b6020820152615789604083016150f4565b604082015261579a60608301615718565b60608201526157ab60808301615718565b608082015260a08201516001600160401b038111156157c8575f80fd5b6157d486828501614ed5565b60a08301525060c08201516001600160401b038111156157f2575f80fd5b6157fe86828501614ed5565b60c083015250949350505050565b5f806040838503121561581d575f80fd5b825161582881613fda565b6020840151909250613f9081614e1e565b8051614dcc81613f55565b5f60208284031215615854575f80fd5b81516001600160401b03811115615869575f80fd5b8201610200818503121561587b575f80fd5b6158836142dd565b61588c82614dc1565b815261589a60208301614dc1565b60208201526158ab604083016150ce565b60408201526158bc60608301614dc1565b60608201526158cd60808301614dc1565b60808201526158de60a083016150ce565b60a08201526158ef60c08301615839565b60c082015261590060e08301615839565b60e08201526159126101008301614dc1565b6101008201526159256101208301614dc1565b61012082015261593861014083016150f4565b61014082015261594b61016083016150f4565b61016082015261595e61018083016150f4565b6101808201526159716101a083016150f4565b6101a08201526101c08201516001600160401b03811115615990575f80fd5b61599c86828501614ed5565b6101c0830152506101e08201516001600160401b038111156159bc575f80fd5b6159c886828501614ed5565b6101e083015250949350505050565b5f602082840312156159e7575f80fd5b81516001600160401b038111156159fc575f80fd5b82016101408185031215615a0e575f80fd5b615a16614300565b615a1f82615154565b8152615a2d60208301614dc1565b6020820152615a3e60408301615154565b6040820152615a4f60608301614e48565b6060820152615a60608083016150f4565b6080820152615a7160a08301614f55565b60a0820152615a8260c08301614f55565b60c0820152615a9360e08301615154565b60e08201526101008201516001600160401b03811115615ab1575f80fd5b615abd86828501614ed5565b610100830152506101208201516001600160401b03811115615add575f80fd5b615ae986828501614ed5565b61012083015250949350505050565b5f610240828403128015615b0a575f80fd5b50615b13614323565b615b1c83614dc1565b8152615b2a60208401614dc1565b6020820152615b3b60408401614dc1565b6040820152615b4c60608401614dc1565b6060820152615b5d60808401614dc1565b6080820152615b6e60a08401614dc1565b60a0820152615b7f60c08401614dc1565b60c0820152615b9060e08401614dc1565b60e0820152615ba26101008401614dc1565b610100820152615bb56101208401614dc1565b610120820152615bc86101408401614dc1565b610140820152615bdb6101608401614dc1565b610160820152615bee6101808401614dc1565b610180820152615c016101a08401614dc1565b6101a0820152615c146101c08401614dc1565b6101c0820152615c276101e08401614dc1565b6101e0820152615c3a6102008401614dc1565b610200820152615c4d6102208401614dc1565b6102208201529392505050565b634e487b7160e01b5f52601160045260245ffd5b62ffffff8181168382160190811115610d1957610d19615c5a565b5f60208284031215615c99575f80fd5b8151610fc181614c64565b80820180821115610d1957610d19615c5a565b5f60208284031215615cc7575f80fd5b8151610fc181613f55565b5f60208284031215615ce2575f80fd5b81516001600160401b03811115615cf7575f80fd5b820160a08185031215615d08575f80fd5b615d10614346565b8151615d1b81613f55565b81526020820151615d2b81613e02565b60208201526040820151615d3e81614c64565b60408201526060820151615d5181613fda565b606082015260808201516001600160401b03811115615d6e575f80fd5b615d7a86828501614ed5565b608083015250949350505050565b5f60208284031215615d98575f80fd5b81516001600160401b03811115615dad575f80fd5b82016101008185031215615dbf575f80fd5b615dc7614254565b615dd082614dc1565b8152615dde60208301614dc1565b6020820152615def60408301614f55565b6040820152615e00606083016150f4565b6060820152615e11608083016150f4565b608082015260a08201516001600160401b03811115615e2e575f80fd5b615e3a86828501614ed5565b60a08301525060c08201516001600160401b03811115615216575f80fdfea264697066735822122088100e91a4ee6334a79a9e615995417a5848bfce078eb8d13839421cba82f8ae64736f6c634300081a0033",
1093
2390
  "linkReferences": {
1094
- "contracts/types/DistributorType.sol": {
2391
+ "contracts/product/PolicyServiceLib.sol": {
2392
+ "PolicyServiceLib": [
2393
+ {
2394
+ "length": 20,
2395
+ "start": 11848
2396
+ }
2397
+ ]
2398
+ },
2399
+ "contracts/type/Amount.sol": {
2400
+ "AmountLib": [
2401
+ {
2402
+ "length": 20,
2403
+ "start": 15523
2404
+ }
2405
+ ]
2406
+ },
2407
+ "contracts/type/ClaimId.sol": {
2408
+ "ClaimIdLib": [
2409
+ {
2410
+ "length": 20,
2411
+ "start": 9544
2412
+ },
2413
+ {
2414
+ "length": 20,
2415
+ "start": 11205
2416
+ },
2417
+ {
2418
+ "length": 20,
2419
+ "start": 14361
2420
+ }
2421
+ ]
2422
+ },
2423
+ "contracts/type/DistributorType.sol": {
1095
2424
  "DistributorTypeLib": [
1096
2425
  {
1097
2426
  "length": 20,
1098
- "start": 5379
2427
+ "start": 12751
1099
2428
  }
1100
2429
  ]
1101
2430
  },
1102
- "contracts/types/NftId.sol": {
2431
+ "contracts/type/NftId.sol": {
1103
2432
  "NftIdLib": [
1104
2433
  {
1105
2434
  "length": 20,
1106
- "start": 1894
2435
+ "start": 5670
2436
+ },
2437
+ {
2438
+ "length": 20,
2439
+ "start": 5785
2440
+ },
2441
+ {
2442
+ "length": 20,
2443
+ "start": 6144
2444
+ },
2445
+ {
2446
+ "length": 20,
2447
+ "start": 7248
1107
2448
  },
1108
2449
  {
1109
2450
  "length": 20,
1110
- "start": 2274
2451
+ "start": 7934
1111
2452
  },
1112
2453
  {
1113
2454
  "length": 20,
1114
- "start": 2669
2455
+ "start": 9733
1115
2456
  },
1116
2457
  {
1117
2458
  "length": 20,
1118
- "start": 2714
2459
+ "start": 9805
1119
2460
  },
1120
2461
  {
1121
2462
  "length": 20,
1122
- "start": 2759
2463
+ "start": 13256
2464
+ },
2465
+ {
2466
+ "length": 20,
2467
+ "start": 14317
2468
+ }
2469
+ ]
2470
+ },
2471
+ "contracts/type/PayoutId.sol": {
2472
+ "PayoutIdLib": [
2473
+ {
2474
+ "length": 20,
2475
+ "start": 13751
1123
2476
  },
1124
2477
  {
1125
2478
  "length": 20,
1126
- "start": 5606
2479
+ "start": 14211
1127
2480
  },
1128
2481
  {
1129
2482
  "length": 20,
1130
- "start": 6192
2483
+ "start": 14932
1131
2484
  }
1132
2485
  ]
1133
2486
  },
1134
- "contracts/types/Referral.sol": {
2487
+ "contracts/type/Referral.sol": {
1135
2488
  "ReferralLib": [
1136
2489
  {
1137
2490
  "length": 20,
1138
- "start": 1661
2491
+ "start": 4822
1139
2492
  },
1140
2493
  {
1141
2494
  "length": 20,
1142
- "start": 2333
2495
+ "start": 6202
1143
2496
  }
1144
2497
  ]
1145
2498
  },
1146
- "contracts/types/RiskId.sol": {
1147
- "RiskIdLib": [
2499
+ "contracts/type/RequestId.sol": {
2500
+ "RequestIdLib": [
1148
2501
  {
1149
2502
  "length": 20,
1150
- "start": 2874
2503
+ "start": 15266
1151
2504
  }
1152
2505
  ]
1153
2506
  },
1154
- "contracts/types/Timestamp.sol": {
1155
- "TimestampLib": [
2507
+ "contracts/type/RiskId.sol": {
2508
+ "RiskIdLib": [
2509
+ {
2510
+ "length": 20,
2511
+ "start": 10402
2512
+ },
1156
2513
  {
1157
2514
  "length": 20,
1158
- "start": 3926
2515
+ "start": 14529
1159
2516
  },
1160
2517
  {
1161
2518
  "length": 20,
1162
- "start": 4157
2519
+ "start": 14774
2520
+ }
2521
+ ]
2522
+ },
2523
+ "contracts/type/RoleId.sol": {
2524
+ "RoleIdLib": [
2525
+ {
2526
+ "length": 20,
2527
+ "start": 15603
1163
2528
  }
1164
2529
  ]
1165
2530
  },
1166
- "contracts/types/UFixed.sol": {
2531
+ "contracts/type/UFixed.sol": {
1167
2532
  "UFixedLib": [
1168
2533
  {
1169
2534
  "length": 20,
1170
- "start": 1451
2535
+ "start": 4579
1171
2536
  },
1172
2537
  {
1173
2538
  "length": 20,
1174
- "start": 2465
1175
- },
2539
+ "start": 13417
2540
+ }
2541
+ ]
2542
+ }
2543
+ },
2544
+ "deployedLinkReferences": {
2545
+ "contracts/product/PolicyServiceLib.sol": {
2546
+ "PolicyServiceLib": [
2547
+ {
2548
+ "length": 20,
2549
+ "start": 11811
2550
+ }
2551
+ ]
2552
+ },
2553
+ "contracts/type/Amount.sol": {
2554
+ "AmountLib": [
2555
+ {
2556
+ "length": 20,
2557
+ "start": 15486
2558
+ }
2559
+ ]
2560
+ },
2561
+ "contracts/type/ClaimId.sol": {
2562
+ "ClaimIdLib": [
1176
2563
  {
1177
2564
  "length": 20,
1178
- "start": 4027
2565
+ "start": 9507
1179
2566
  },
1180
2567
  {
1181
2568
  "length": 20,
1182
- "start": 4286
2569
+ "start": 11168
1183
2570
  },
1184
2571
  {
1185
2572
  "length": 20,
1186
- "start": 4429
2573
+ "start": 14324
1187
2574
  }
1188
2575
  ]
1189
- }
1190
- },
1191
- "deployedLinkReferences": {
1192
- "contracts/types/DistributorType.sol": {
2576
+ },
2577
+ "contracts/type/DistributorType.sol": {
1193
2578
  "DistributorTypeLib": [
1194
2579
  {
1195
2580
  "length": 20,
1196
- "start": 5347
2581
+ "start": 12714
1197
2582
  }
1198
2583
  ]
1199
2584
  },
1200
- "contracts/types/NftId.sol": {
2585
+ "contracts/type/NftId.sol": {
1201
2586
  "NftIdLib": [
1202
2587
  {
1203
2588
  "length": 20,
1204
- "start": 1862
2589
+ "start": 5633
1205
2590
  },
1206
2591
  {
1207
2592
  "length": 20,
1208
- "start": 2242
2593
+ "start": 5748
1209
2594
  },
1210
2595
  {
1211
2596
  "length": 20,
1212
- "start": 2637
2597
+ "start": 6107
1213
2598
  },
1214
2599
  {
1215
2600
  "length": 20,
1216
- "start": 2682
2601
+ "start": 7211
1217
2602
  },
1218
2603
  {
1219
2604
  "length": 20,
1220
- "start": 2727
2605
+ "start": 7897
1221
2606
  },
1222
2607
  {
1223
2608
  "length": 20,
1224
- "start": 5574
2609
+ "start": 9696
1225
2610
  },
1226
2611
  {
1227
2612
  "length": 20,
1228
- "start": 6160
1229
- }
1230
- ]
1231
- },
1232
- "contracts/types/Referral.sol": {
1233
- "ReferralLib": [
2613
+ "start": 9768
2614
+ },
1234
2615
  {
1235
2616
  "length": 20,
1236
- "start": 1629
2617
+ "start": 13219
1237
2618
  },
1238
2619
  {
1239
2620
  "length": 20,
1240
- "start": 2301
2621
+ "start": 14280
1241
2622
  }
1242
2623
  ]
1243
2624
  },
1244
- "contracts/types/RiskId.sol": {
1245
- "RiskIdLib": [
2625
+ "contracts/type/PayoutId.sol": {
2626
+ "PayoutIdLib": [
1246
2627
  {
1247
2628
  "length": 20,
1248
- "start": 2842
2629
+ "start": 13714
2630
+ },
2631
+ {
2632
+ "length": 20,
2633
+ "start": 14174
2634
+ },
2635
+ {
2636
+ "length": 20,
2637
+ "start": 14895
1249
2638
  }
1250
2639
  ]
1251
2640
  },
1252
- "contracts/types/Timestamp.sol": {
1253
- "TimestampLib": [
2641
+ "contracts/type/Referral.sol": {
2642
+ "ReferralLib": [
1254
2643
  {
1255
2644
  "length": 20,
1256
- "start": 3894
2645
+ "start": 4785
1257
2646
  },
1258
2647
  {
1259
2648
  "length": 20,
1260
- "start": 4125
2649
+ "start": 6165
1261
2650
  }
1262
2651
  ]
1263
2652
  },
1264
- "contracts/types/UFixed.sol": {
1265
- "UFixedLib": [
2653
+ "contracts/type/RequestId.sol": {
2654
+ "RequestIdLib": [
1266
2655
  {
1267
2656
  "length": 20,
1268
- "start": 1419
1269
- },
2657
+ "start": 15229
2658
+ }
2659
+ ]
2660
+ },
2661
+ "contracts/type/RiskId.sol": {
2662
+ "RiskIdLib": [
1270
2663
  {
1271
2664
  "length": 20,
1272
- "start": 2433
2665
+ "start": 10365
1273
2666
  },
1274
2667
  {
1275
2668
  "length": 20,
1276
- "start": 3995
2669
+ "start": 14492
1277
2670
  },
1278
2671
  {
1279
2672
  "length": 20,
1280
- "start": 4254
2673
+ "start": 14737
2674
+ }
2675
+ ]
2676
+ },
2677
+ "contracts/type/RoleId.sol": {
2678
+ "RoleIdLib": [
2679
+ {
2680
+ "length": 20,
2681
+ "start": 15566
2682
+ }
2683
+ ]
2684
+ },
2685
+ "contracts/type/UFixed.sol": {
2686
+ "UFixedLib": [
2687
+ {
2688
+ "length": 20,
2689
+ "start": 4542
1281
2690
  },
1282
2691
  {
1283
2692
  "length": 20,
1284
- "start": 4397
2693
+ "start": 13380
1285
2694
  }
1286
2695
  ]
1287
2696
  }