@etherisc/gif-next 0.0.2-c7f2d7c-556 → 0.0.2-c846064-205

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 +83 -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 +1494 -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 +673 -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 +615 -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 +1224 -0
  22. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +382 -0
  24. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +167 -0
  26. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  27. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +253 -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 +644 -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 +1580 -0
  36. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  37. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +868 -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 +310 -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 +644 -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 +644 -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 +644 -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 +644 -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 +644 -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 +388 -1906
  72. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  73. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +281 -106
  74. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  75. package/artifacts/contracts/instance/Instance.sol/Instance.json +507 -2759
  76. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  77. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2036 -0
  78. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  79. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +716 -0
  80. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  81. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1730 -561
  82. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  83. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +307 -432
  84. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  85. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +153 -160
  86. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  87. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3728 -0
  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 +632 -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 +644 -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 +622 -236
  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} +364 -422
  141. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  142. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +456 -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 +644 -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 +293 -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 +2018 -0
  201. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  202. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +878 -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 +164 -99
  207. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  208. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +1954 -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 +1337 -0
  213. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  214. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +272 -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 +597 -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 +433 -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 +704 -0
  363. package/contracts/authorization/AccessAdminLib.sol +183 -0
  364. package/contracts/authorization/AccessManagerCloneable.sol +158 -0
  365. package/contracts/authorization/Authorization.sol +365 -0
  366. package/contracts/authorization/IAccess.sol +49 -0
  367. package/contracts/authorization/IAccessAdmin.sol +170 -0
  368. package/contracts/authorization/IAuthorization.sol +80 -0
  369. package/contracts/authorization/IServiceAuthorization.sol +40 -0
  370. package/contracts/authorization/ServiceAuthorization.sol +106 -0
  371. package/contracts/distribution/BasicDistribution.sol +141 -0
  372. package/contracts/distribution/BasicDistributionAuthorization.sol +60 -0
  373. package/contracts/distribution/Distribution.sol +244 -0
  374. package/contracts/distribution/DistributionService.sol +385 -0
  375. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  376. package/contracts/distribution/IDistributionComponent.sol +43 -0
  377. package/contracts/distribution/IDistributionService.sol +103 -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 +81 -73
  393. package/contracts/instance/IInstanceService.sol +55 -39
  394. package/contracts/instance/Instance.sol +210 -233
  395. package/contracts/instance/InstanceAdmin.sol +450 -0
  396. package/contracts/instance/InstanceAuthorizationV3.sol +235 -0
  397. package/contracts/instance/InstanceReader.sol +422 -63
  398. package/contracts/instance/InstanceService.sol +323 -359
  399. package/contracts/instance/InstanceServiceManager.sol +14 -29
  400. package/contracts/instance/InstanceStore.sol +298 -0
  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 +8 -11
  409. package/contracts/instance/module/IComponents.sol +28 -19
  410. package/contracts/instance/module/IDistribution.sol +12 -10
  411. package/contracts/instance/module/IPolicy.sol +48 -35
  412. package/contracts/instance/module/IRisk.sol +4 -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 +37 -0
  416. package/contracts/oracle/IOracle.sol +36 -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 +76 -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 +216 -0
  431. package/contracts/pool/PoolService.sol +755 -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 +56 -0
  437. package/contracts/product/ClaimService.sol +632 -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 +65 -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 +95 -30
  455. package/contracts/registry/IRegistryService.sol +34 -40
  456. package/contracts/registry/IRelease.sol +26 -0
  457. package/contracts/registry/ITransferInterceptor.sol +1 -2
  458. package/contracts/registry/Registry.sol +460 -197
  459. package/contracts/registry/RegistryAdmin.sol +258 -0
  460. package/contracts/registry/RegistryAuthorization.sol +267 -0
  461. package/contracts/registry/RegistryService.sol +89 -130
  462. package/contracts/registry/RegistryServiceManager.sol +23 -32
  463. package/contracts/registry/ReleaseAdmin.sol +253 -0
  464. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  465. package/contracts/registry/ReleaseRegistry.sol +517 -0
  466. package/contracts/registry/ServiceAuthorizationV3.sol +331 -0
  467. package/contracts/registry/TokenRegistry.sol +261 -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 +281 -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 +12 -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 +33 -40
  493. package/contracts/shared/TokenHandler.sol +322 -13
  494. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  495. package/contracts/staking/IStaking.sol +175 -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 +27 -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 +294 -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 +182 -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 +93 -30
  530. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  531. package/contracts/{shared → upgradeability}/Versionable.sol +3 -3
  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 -1330
  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 -527
  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 -350
  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 -435
  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 -210
  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,44 +291,17 @@
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
307
  "stateMutability": "view",
@@ -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"
418
+ "internalType": "bytes",
419
+ "name": "data",
420
+ "type": "bytes"
618
421
  }
619
422
  ],
620
- "internalType": "struct ISetup.ProductSetupInfo",
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
+ },
513
+ {
514
+ "internalType": "UFixed",
515
+ "name": "maxDiscountPercentage",
516
+ "type": "uint160"
517
+ },
518
+ {
519
+ "internalType": "uint32",
520
+ "name": "maxReferralCount",
521
+ "type": "uint32"
522
+ },
523
+ {
524
+ "internalType": "Seconds",
525
+ "name": "maxReferralLifetime",
526
+ "type": "uint40"
527
+ },
528
+ {
529
+ "internalType": "bool",
530
+ "name": "allowSelfReferrals",
531
+ "type": "bool"
532
+ },
533
+ {
534
+ "internalType": "bool",
535
+ "name": "allowRenewals",
536
+ "type": "bool"
537
+ },
538
+ {
539
+ "internalType": "UFixed",
540
+ "name": "commissionPercentage",
541
+ "type": "uint160"
542
+ },
696
543
  {
697
544
  "internalType": "NftId",
698
- "name": "productNftId",
545
+ "name": "distributionNftId",
699
546
  "type": "uint96"
700
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,8 +715,107 @@
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": "getInstanceStore",
755
+ "outputs": [
756
+ {
757
+ "internalType": "contract IKeyValueStore",
758
+ "name": "store",
759
+ "type": "address"
760
+ }
761
+ ],
762
+ "stateMutability": "view",
763
+ "type": "function"
764
+ },
765
+ {
766
+ "inputs": [
767
+ {
768
+ "internalType": "NftId",
769
+ "name": "targetNftId",
770
+ "type": "uint96"
771
+ }
772
+ ],
773
+ "name": "getLockedAmount",
774
+ "outputs": [
775
+ {
776
+ "internalType": "Amount",
777
+ "name": "",
778
+ "type": "uint96"
779
+ }
780
+ ],
781
+ "stateMutability": "view",
782
+ "type": "function"
783
+ },
784
+ {
785
+ "inputs": [
786
+ {
787
+ "internalType": "Key32",
788
+ "name": "key",
789
+ "type": "bytes32"
790
+ }
791
+ ],
792
+ "name": "getMetadata",
793
+ "outputs": [
794
+ {
795
+ "components": [
796
+ {
797
+ "internalType": "ObjectType",
798
+ "name": "objectType",
799
+ "type": "uint8"
800
+ },
801
+ {
802
+ "internalType": "StateId",
803
+ "name": "state",
804
+ "type": "uint8"
805
+ },
806
+ {
807
+ "internalType": "Blocknumber",
808
+ "name": "updatedIn",
809
+ "type": "uint32"
810
+ },
811
+ {
812
+ "internalType": "Blocknumber",
813
+ "name": "createdIn",
814
+ "type": "uint32"
815
+ }
816
+ ],
817
+ "internalType": "struct IKeyValueStore.Metadata",
818
+ "name": "metadata",
871
819
  "type": "tuple"
872
820
  }
873
821
  ],
@@ -877,14 +825,1037 @@
877
825
  {
878
826
  "inputs": [
879
827
  {
880
- "internalType": "address",
881
- "name": "instance",
882
- "type": "address"
828
+ "internalType": "ClaimId",
829
+ "name": "claimId",
830
+ "type": "uint16"
831
+ },
832
+ {
833
+ "internalType": "uint24",
834
+ "name": "idx",
835
+ "type": "uint24"
836
+ }
837
+ ],
838
+ "name": "getPayoutId",
839
+ "outputs": [
840
+ {
841
+ "internalType": "PayoutId",
842
+ "name": "payoutId",
843
+ "type": "uint40"
844
+ }
845
+ ],
846
+ "stateMutability": "view",
847
+ "type": "function"
848
+ },
849
+ {
850
+ "inputs": [
851
+ {
852
+ "internalType": "NftId",
853
+ "name": "policyNftId",
854
+ "type": "uint96"
855
+ },
856
+ {
857
+ "internalType": "PayoutId",
858
+ "name": "payoutId",
859
+ "type": "uint40"
860
+ }
861
+ ],
862
+ "name": "getPayoutInfo",
863
+ "outputs": [
864
+ {
865
+ "components": [
866
+ {
867
+ "internalType": "ClaimId",
868
+ "name": "claimId",
869
+ "type": "uint16"
870
+ },
871
+ {
872
+ "internalType": "Amount",
873
+ "name": "amount",
874
+ "type": "uint96"
875
+ },
876
+ {
877
+ "internalType": "Timestamp",
878
+ "name": "paidAt",
879
+ "type": "uint40"
880
+ },
881
+ {
882
+ "internalType": "address",
883
+ "name": "beneficiary",
884
+ "type": "address"
885
+ },
886
+ {
887
+ "internalType": "bytes",
888
+ "name": "data",
889
+ "type": "bytes"
890
+ }
891
+ ],
892
+ "internalType": "struct IPolicy.PayoutInfo",
893
+ "name": "info",
894
+ "type": "tuple"
895
+ }
896
+ ],
897
+ "stateMutability": "view",
898
+ "type": "function"
899
+ },
900
+ {
901
+ "inputs": [
902
+ {
903
+ "internalType": "NftId",
904
+ "name": "policyNftId",
905
+ "type": "uint96"
906
+ },
907
+ {
908
+ "internalType": "PayoutId",
909
+ "name": "payoutId",
910
+ "type": "uint40"
911
+ }
912
+ ],
913
+ "name": "getPayoutState",
914
+ "outputs": [
915
+ {
916
+ "internalType": "StateId",
917
+ "name": "state",
918
+ "type": "uint8"
919
+ }
920
+ ],
921
+ "stateMutability": "view",
922
+ "type": "function"
923
+ },
924
+ {
925
+ "inputs": [
926
+ {
927
+ "internalType": "NftId",
928
+ "name": "policyNftId",
929
+ "type": "uint96"
930
+ }
931
+ ],
932
+ "name": "getPolicyInfo",
933
+ "outputs": [
934
+ {
935
+ "components": [
936
+ {
937
+ "internalType": "NftId",
938
+ "name": "productNftId",
939
+ "type": "uint96"
940
+ },
941
+ {
942
+ "internalType": "NftId",
943
+ "name": "bundleNftId",
944
+ "type": "uint96"
945
+ },
946
+ {
947
+ "internalType": "ReferralId",
948
+ "name": "referralId",
949
+ "type": "bytes8"
950
+ },
951
+ {
952
+ "internalType": "RiskId",
953
+ "name": "riskId",
954
+ "type": "bytes8"
955
+ },
956
+ {
957
+ "internalType": "Amount",
958
+ "name": "sumInsuredAmount",
959
+ "type": "uint96"
960
+ },
961
+ {
962
+ "internalType": "Amount",
963
+ "name": "premiumAmount",
964
+ "type": "uint96"
965
+ },
966
+ {
967
+ "internalType": "Seconds",
968
+ "name": "lifetime",
969
+ "type": "uint40"
970
+ },
971
+ {
972
+ "internalType": "bytes",
973
+ "name": "applicationData",
974
+ "type": "bytes"
975
+ },
976
+ {
977
+ "internalType": "bytes",
978
+ "name": "processData",
979
+ "type": "bytes"
980
+ },
981
+ {
982
+ "internalType": "uint16",
983
+ "name": "claimsCount",
984
+ "type": "uint16"
985
+ },
986
+ {
987
+ "internalType": "uint16",
988
+ "name": "openClaimsCount",
989
+ "type": "uint16"
990
+ },
991
+ {
992
+ "internalType": "Amount",
993
+ "name": "claimAmount",
994
+ "type": "uint96"
995
+ },
996
+ {
997
+ "internalType": "Amount",
998
+ "name": "payoutAmount",
999
+ "type": "uint96"
1000
+ },
1001
+ {
1002
+ "internalType": "Timestamp",
1003
+ "name": "activatedAt",
1004
+ "type": "uint40"
1005
+ },
1006
+ {
1007
+ "internalType": "Timestamp",
1008
+ "name": "expiredAt",
1009
+ "type": "uint40"
1010
+ },
1011
+ {
1012
+ "internalType": "Timestamp",
1013
+ "name": "closedAt",
1014
+ "type": "uint40"
1015
+ }
1016
+ ],
1017
+ "internalType": "struct IPolicy.PolicyInfo",
1018
+ "name": "info",
1019
+ "type": "tuple"
1020
+ }
1021
+ ],
1022
+ "stateMutability": "view",
1023
+ "type": "function"
1024
+ },
1025
+ {
1026
+ "inputs": [
1027
+ {
1028
+ "internalType": "RiskId",
1029
+ "name": "riskId",
1030
+ "type": "bytes8"
1031
+ },
1032
+ {
1033
+ "internalType": "uint256",
1034
+ "name": "idx",
1035
+ "type": "uint256"
1036
+ }
1037
+ ],
1038
+ "name": "getPolicyNftIdForRisk",
1039
+ "outputs": [
1040
+ {
1041
+ "internalType": "NftId",
1042
+ "name": "linkedPolicyNftId",
1043
+ "type": "uint96"
1044
+ }
1045
+ ],
1046
+ "stateMutability": "view",
1047
+ "type": "function"
1048
+ },
1049
+ {
1050
+ "inputs": [
1051
+ {
1052
+ "internalType": "NftId",
1053
+ "name": "policyNftId",
1054
+ "type": "uint96"
1055
+ }
1056
+ ],
1057
+ "name": "getPolicyState",
1058
+ "outputs": [
1059
+ {
1060
+ "internalType": "StateId",
1061
+ "name": "state",
1062
+ "type": "uint8"
1063
+ }
1064
+ ],
1065
+ "stateMutability": "view",
1066
+ "type": "function"
1067
+ },
1068
+ {
1069
+ "inputs": [
1070
+ {
1071
+ "internalType": "NftId",
1072
+ "name": "poolNftId",
1073
+ "type": "uint96"
1074
+ }
1075
+ ],
1076
+ "name": "getPoolInfo",
1077
+ "outputs": [
1078
+ {
1079
+ "components": [
1080
+ {
1081
+ "internalType": "Amount",
1082
+ "name": "maxBalanceAmount",
1083
+ "type": "uint96"
1084
+ },
1085
+ {
1086
+ "internalType": "bool",
1087
+ "name": "isInterceptingBundleTransfers",
1088
+ "type": "bool"
1089
+ },
1090
+ {
1091
+ "internalType": "bool",
1092
+ "name": "isProcessingConfirmedClaims",
1093
+ "type": "bool"
1094
+ },
1095
+ {
1096
+ "internalType": "bool",
1097
+ "name": "isExternallyManaged",
1098
+ "type": "bool"
1099
+ },
1100
+ {
1101
+ "internalType": "bool",
1102
+ "name": "isVerifyingApplications",
1103
+ "type": "bool"
1104
+ },
1105
+ {
1106
+ "internalType": "UFixed",
1107
+ "name": "collateralizationLevel",
1108
+ "type": "uint160"
1109
+ },
1110
+ {
1111
+ "internalType": "UFixed",
1112
+ "name": "retentionLevel",
1113
+ "type": "uint160"
1114
+ }
1115
+ ],
1116
+ "internalType": "struct IComponents.PoolInfo",
1117
+ "name": "info",
1118
+ "type": "tuple"
1119
+ }
1120
+ ],
1121
+ "stateMutability": "view",
1122
+ "type": "function"
1123
+ },
1124
+ {
1125
+ "inputs": [
1126
+ {
1127
+ "internalType": "NftId",
1128
+ "name": "policyNftId",
1129
+ "type": "uint96"
1130
+ }
1131
+ ],
1132
+ "name": "getPremiumInfo",
1133
+ "outputs": [
1134
+ {
1135
+ "components": [
1136
+ {
1137
+ "internalType": "Amount",
1138
+ "name": "productFeeAmount",
1139
+ "type": "uint96"
1140
+ },
1141
+ {
1142
+ "internalType": "Amount",
1143
+ "name": "distributionFeeAndCommissionAmount",
1144
+ "type": "uint96"
1145
+ },
1146
+ {
1147
+ "internalType": "Amount",
1148
+ "name": "poolPremiumAndFeeAmount",
1149
+ "type": "uint96"
1150
+ },
1151
+ {
1152
+ "internalType": "Amount",
1153
+ "name": "netPremiumAmount",
1154
+ "type": "uint96"
1155
+ },
1156
+ {
1157
+ "internalType": "Amount",
1158
+ "name": "fullPremiumAmount",
1159
+ "type": "uint96"
1160
+ },
1161
+ {
1162
+ "internalType": "Amount",
1163
+ "name": "premiumAmount",
1164
+ "type": "uint96"
1165
+ },
1166
+ {
1167
+ "internalType": "Amount",
1168
+ "name": "productFeeFixAmount",
1169
+ "type": "uint96"
1170
+ },
1171
+ {
1172
+ "internalType": "Amount",
1173
+ "name": "poolFeeFixAmount",
1174
+ "type": "uint96"
1175
+ },
1176
+ {
1177
+ "internalType": "Amount",
1178
+ "name": "bundleFeeFixAmount",
1179
+ "type": "uint96"
1180
+ },
1181
+ {
1182
+ "internalType": "Amount",
1183
+ "name": "distributionFeeFixAmount",
1184
+ "type": "uint96"
1185
+ },
1186
+ {
1187
+ "internalType": "Amount",
1188
+ "name": "productFeeVarAmount",
1189
+ "type": "uint96"
1190
+ },
1191
+ {
1192
+ "internalType": "Amount",
1193
+ "name": "poolFeeVarAmount",
1194
+ "type": "uint96"
1195
+ },
1196
+ {
1197
+ "internalType": "Amount",
1198
+ "name": "bundleFeeVarAmount",
1199
+ "type": "uint96"
1200
+ },
1201
+ {
1202
+ "internalType": "Amount",
1203
+ "name": "distributionFeeVarAmount",
1204
+ "type": "uint96"
1205
+ },
1206
+ {
1207
+ "internalType": "Amount",
1208
+ "name": "distributionOwnerFeeFixAmount",
1209
+ "type": "uint96"
1210
+ },
1211
+ {
1212
+ "internalType": "Amount",
1213
+ "name": "distributionOwnerFeeVarAmount",
1214
+ "type": "uint96"
1215
+ },
1216
+ {
1217
+ "internalType": "Amount",
1218
+ "name": "commissionAmount",
1219
+ "type": "uint96"
1220
+ },
1221
+ {
1222
+ "internalType": "Amount",
1223
+ "name": "discountAmount",
1224
+ "type": "uint96"
1225
+ }
1226
+ ],
1227
+ "internalType": "struct IPolicy.PremiumInfo",
1228
+ "name": "info",
1229
+ "type": "tuple"
1230
+ }
1231
+ ],
1232
+ "stateMutability": "view",
1233
+ "type": "function"
1234
+ },
1235
+ {
1236
+ "inputs": [
1237
+ {
1238
+ "internalType": "NftId",
1239
+ "name": "policyNftId",
1240
+ "type": "uint96"
1241
+ }
1242
+ ],
1243
+ "name": "getPremiumInfoState",
1244
+ "outputs": [
1245
+ {
1246
+ "internalType": "StateId",
1247
+ "name": "state",
1248
+ "type": "uint8"
1249
+ }
1250
+ ],
1251
+ "stateMutability": "view",
1252
+ "type": "function"
1253
+ },
1254
+ {
1255
+ "inputs": [
1256
+ {
1257
+ "internalType": "NftId",
1258
+ "name": "productNftId",
1259
+ "type": "uint96"
1260
+ }
1261
+ ],
1262
+ "name": "getProductInfo",
1263
+ "outputs": [
1264
+ {
1265
+ "components": [
1266
+ {
1267
+ "internalType": "bool",
1268
+ "name": "isProcessingFundedClaims",
1269
+ "type": "bool"
1270
+ },
1271
+ {
1272
+ "internalType": "bool",
1273
+ "name": "isInterceptingPolicyTransfers",
1274
+ "type": "bool"
1275
+ },
1276
+ {
1277
+ "internalType": "bool",
1278
+ "name": "hasDistribution",
1279
+ "type": "bool"
1280
+ },
1281
+ {
1282
+ "internalType": "uint8",
1283
+ "name": "expectedNumberOfOracles",
1284
+ "type": "uint8"
1285
+ },
1286
+ {
1287
+ "internalType": "uint8",
1288
+ "name": "numberOfOracles",
1289
+ "type": "uint8"
1290
+ },
1291
+ {
1292
+ "internalType": "NftId",
1293
+ "name": "poolNftId",
1294
+ "type": "uint96"
1295
+ },
1296
+ {
1297
+ "internalType": "NftId",
1298
+ "name": "distributionNftId",
1299
+ "type": "uint96"
1300
+ },
1301
+ {
1302
+ "internalType": "NftId[]",
1303
+ "name": "oracleNftId",
1304
+ "type": "uint96[]"
1305
+ }
1306
+ ],
1307
+ "internalType": "struct IComponents.ProductInfo",
1308
+ "name": "info",
1309
+ "type": "tuple"
1310
+ }
1311
+ ],
1312
+ "stateMutability": "view",
1313
+ "type": "function"
1314
+ },
1315
+ {
1316
+ "inputs": [
1317
+ {
1318
+ "internalType": "uint256",
1319
+ "name": "idx",
1320
+ "type": "uint256"
1321
+ }
1322
+ ],
1323
+ "name": "getProductNftId",
1324
+ "outputs": [
1325
+ {
1326
+ "internalType": "NftId",
1327
+ "name": "productNftId",
1328
+ "type": "uint96"
1329
+ }
1330
+ ],
1331
+ "stateMutability": "view",
1332
+ "type": "function"
1333
+ },
1334
+ {
1335
+ "inputs": [
1336
+ {
1337
+ "internalType": "ReferralId",
1338
+ "name": "referralId",
1339
+ "type": "bytes8"
1340
+ }
1341
+ ],
1342
+ "name": "getReferralInfo",
1343
+ "outputs": [
1344
+ {
1345
+ "components": [
1346
+ {
1347
+ "internalType": "NftId",
1348
+ "name": "distributionNftId",
1349
+ "type": "uint96"
1350
+ },
1351
+ {
1352
+ "internalType": "NftId",
1353
+ "name": "distributorNftId",
1354
+ "type": "uint96"
1355
+ },
1356
+ {
1357
+ "internalType": "string",
1358
+ "name": "referralCode",
1359
+ "type": "string"
1360
+ },
1361
+ {
1362
+ "internalType": "UFixed",
1363
+ "name": "discountPercentage",
1364
+ "type": "uint160"
1365
+ },
1366
+ {
1367
+ "internalType": "uint32",
1368
+ "name": "maxReferrals",
1369
+ "type": "uint32"
1370
+ },
1371
+ {
1372
+ "internalType": "uint32",
1373
+ "name": "usedReferrals",
1374
+ "type": "uint32"
1375
+ },
1376
+ {
1377
+ "internalType": "Timestamp",
1378
+ "name": "expiryAt",
1379
+ "type": "uint40"
1380
+ },
1381
+ {
1382
+ "internalType": "bytes",
1383
+ "name": "data",
1384
+ "type": "bytes"
1385
+ }
1386
+ ],
1387
+ "internalType": "struct IDistribution.ReferralInfo",
1388
+ "name": "info",
1389
+ "type": "tuple"
1390
+ }
1391
+ ],
1392
+ "stateMutability": "view",
1393
+ "type": "function"
1394
+ },
1395
+ {
1396
+ "inputs": [],
1397
+ "name": "getRegistry",
1398
+ "outputs": [
1399
+ {
1400
+ "internalType": "contract IRegistry",
1401
+ "name": "registry",
1402
+ "type": "address"
1403
+ }
1404
+ ],
1405
+ "stateMutability": "view",
1406
+ "type": "function"
1407
+ },
1408
+ {
1409
+ "inputs": [
1410
+ {
1411
+ "internalType": "NftId",
1412
+ "name": "policyNftId",
1413
+ "type": "uint96"
1414
+ }
1415
+ ],
1416
+ "name": "getRemainingClaimableAmount",
1417
+ "outputs": [
1418
+ {
1419
+ "internalType": "Amount",
1420
+ "name": "remainingClaimableAmount",
1421
+ "type": "uint96"
1422
+ }
1423
+ ],
1424
+ "stateMutability": "view",
1425
+ "type": "function"
1426
+ },
1427
+ {
1428
+ "inputs": [
1429
+ {
1430
+ "internalType": "RequestId",
1431
+ "name": "requestId",
1432
+ "type": "uint64"
1433
+ }
1434
+ ],
1435
+ "name": "getRequestInfo",
1436
+ "outputs": [
1437
+ {
1438
+ "components": [
1439
+ {
1440
+ "internalType": "NftId",
1441
+ "name": "requesterNftId",
1442
+ "type": "uint96"
1443
+ },
1444
+ {
1445
+ "internalType": "string",
1446
+ "name": "callbackMethodName",
1447
+ "type": "string"
1448
+ },
1449
+ {
1450
+ "internalType": "NftId",
1451
+ "name": "oracleNftId",
1452
+ "type": "uint96"
1453
+ },
1454
+ {
1455
+ "internalType": "bytes",
1456
+ "name": "requestData",
1457
+ "type": "bytes"
1458
+ },
1459
+ {
1460
+ "internalType": "bytes",
1461
+ "name": "responseData",
1462
+ "type": "bytes"
1463
+ },
1464
+ {
1465
+ "internalType": "Timestamp",
1466
+ "name": "respondedAt",
1467
+ "type": "uint40"
1468
+ },
1469
+ {
1470
+ "internalType": "Timestamp",
1471
+ "name": "expiredAt",
1472
+ "type": "uint40"
1473
+ },
1474
+ {
1475
+ "internalType": "bool",
1476
+ "name": "isCancelled",
1477
+ "type": "bool"
1478
+ }
1479
+ ],
1480
+ "internalType": "struct IOracle.RequestInfo",
1481
+ "name": "requestInfo",
1482
+ "type": "tuple"
1483
+ }
1484
+ ],
1485
+ "stateMutability": "view",
1486
+ "type": "function"
1487
+ },
1488
+ {
1489
+ "inputs": [
1490
+ {
1491
+ "internalType": "NftId",
1492
+ "name": "productNftId",
1493
+ "type": "uint96"
1494
+ },
1495
+ {
1496
+ "internalType": "uint256",
1497
+ "name": "idx",
1498
+ "type": "uint256"
1499
+ }
1500
+ ],
1501
+ "name": "getRiskId",
1502
+ "outputs": [
1503
+ {
1504
+ "internalType": "RiskId",
1505
+ "name": "riskId",
1506
+ "type": "bytes8"
1507
+ }
1508
+ ],
1509
+ "stateMutability": "view",
1510
+ "type": "function"
1511
+ },
1512
+ {
1513
+ "inputs": [
1514
+ {
1515
+ "internalType": "RiskId",
1516
+ "name": "riskId",
1517
+ "type": "bytes8"
1518
+ }
1519
+ ],
1520
+ "name": "getRiskInfo",
1521
+ "outputs": [
1522
+ {
1523
+ "components": [
1524
+ {
1525
+ "internalType": "NftId",
1526
+ "name": "productNftId",
1527
+ "type": "uint96"
1528
+ },
1529
+ {
1530
+ "internalType": "Timestamp",
1531
+ "name": "createdAt",
1532
+ "type": "uint40"
1533
+ },
1534
+ {
1535
+ "internalType": "bytes",
1536
+ "name": "data",
1537
+ "type": "bytes"
1538
+ }
1539
+ ],
1540
+ "internalType": "struct IRisk.RiskInfo",
1541
+ "name": "info",
1542
+ "type": "tuple"
1543
+ }
1544
+ ],
1545
+ "stateMutability": "view",
1546
+ "type": "function"
1547
+ },
1548
+ {
1549
+ "inputs": [],
1550
+ "name": "getRiskSet",
1551
+ "outputs": [
1552
+ {
1553
+ "internalType": "contract RiskSet",
1554
+ "name": "riskSet",
1555
+ "type": "address"
1556
+ }
1557
+ ],
1558
+ "stateMutability": "view",
1559
+ "type": "function"
1560
+ },
1561
+ {
1562
+ "inputs": [
1563
+ {
1564
+ "internalType": "RiskId",
1565
+ "name": "riskId",
1566
+ "type": "bytes8"
1567
+ }
1568
+ ],
1569
+ "name": "getRiskState",
1570
+ "outputs": [
1571
+ {
1572
+ "internalType": "StateId",
1573
+ "name": "stateId",
1574
+ "type": "uint8"
1575
+ }
1576
+ ],
1577
+ "stateMutability": "view",
1578
+ "type": "function"
1579
+ },
1580
+ {
1581
+ "inputs": [
1582
+ {
1583
+ "internalType": "Key32",
1584
+ "name": "key",
1585
+ "type": "bytes32"
1586
+ }
1587
+ ],
1588
+ "name": "getState",
1589
+ "outputs": [
1590
+ {
1591
+ "internalType": "StateId",
1592
+ "name": "state",
1593
+ "type": "uint8"
1594
+ }
1595
+ ],
1596
+ "stateMutability": "view",
1597
+ "type": "function"
1598
+ },
1599
+ {
1600
+ "inputs": [
1601
+ {
1602
+ "internalType": "NftId",
1603
+ "name": "componentNftId",
1604
+ "type": "uint96"
1605
+ }
1606
+ ],
1607
+ "name": "getToken",
1608
+ "outputs": [
1609
+ {
1610
+ "internalType": "contract IERC20Metadata",
1611
+ "name": "token",
1612
+ "type": "address"
1613
+ }
1614
+ ],
1615
+ "stateMutability": "view",
1616
+ "type": "function"
1617
+ },
1618
+ {
1619
+ "inputs": [
1620
+ {
1621
+ "internalType": "NftId",
1622
+ "name": "componentNftId",
1623
+ "type": "uint96"
1624
+ }
1625
+ ],
1626
+ "name": "getTokenHandler",
1627
+ "outputs": [
1628
+ {
1629
+ "internalType": "contract TokenHandler",
1630
+ "name": "tokenHandler",
1631
+ "type": "address"
1632
+ }
1633
+ ],
1634
+ "stateMutability": "view",
1635
+ "type": "function"
1636
+ },
1637
+ {
1638
+ "inputs": [
1639
+ {
1640
+ "internalType": "NftId",
1641
+ "name": "componentNftId",
1642
+ "type": "uint96"
1643
+ }
1644
+ ],
1645
+ "name": "getWallet",
1646
+ "outputs": [
1647
+ {
1648
+ "internalType": "address",
1649
+ "name": "wallet",
1650
+ "type": "address"
1651
+ }
1652
+ ],
1653
+ "stateMutability": "view",
1654
+ "type": "function"
1655
+ },
1656
+ {
1657
+ "inputs": [
1658
+ {
1659
+ "internalType": "address",
1660
+ "name": "account",
1661
+ "type": "address"
1662
+ },
1663
+ {
1664
+ "internalType": "RoleId",
1665
+ "name": "roleId",
1666
+ "type": "uint64"
1667
+ }
1668
+ ],
1669
+ "name": "hasAdminRole",
1670
+ "outputs": [
1671
+ {
1672
+ "internalType": "bool",
1673
+ "name": "isMember",
1674
+ "type": "bool"
1675
+ }
1676
+ ],
1677
+ "stateMutability": "view",
1678
+ "type": "function"
1679
+ },
1680
+ {
1681
+ "inputs": [
1682
+ {
1683
+ "internalType": "address",
1684
+ "name": "account",
1685
+ "type": "address"
1686
+ },
1687
+ {
1688
+ "internalType": "RoleId",
1689
+ "name": "roleId",
1690
+ "type": "uint64"
1691
+ }
1692
+ ],
1693
+ "name": "hasRole",
1694
+ "outputs": [
1695
+ {
1696
+ "internalType": "bool",
1697
+ "name": "isMember",
1698
+ "type": "bool"
1699
+ }
1700
+ ],
1701
+ "stateMutability": "view",
1702
+ "type": "function"
1703
+ },
1704
+ {
1705
+ "inputs": [],
1706
+ "name": "initialize",
1707
+ "outputs": [],
1708
+ "stateMutability": "nonpayable",
1709
+ "type": "function"
1710
+ },
1711
+ {
1712
+ "inputs": [
1713
+ {
1714
+ "internalType": "address",
1715
+ "name": "instanceAddress",
1716
+ "type": "address"
1717
+ }
1718
+ ],
1719
+ "name": "initializeWithInstance",
1720
+ "outputs": [],
1721
+ "stateMutability": "nonpayable",
1722
+ "type": "function"
1723
+ },
1724
+ {
1725
+ "inputs": [
1726
+ {
1727
+ "internalType": "address",
1728
+ "name": "target",
1729
+ "type": "address"
1730
+ }
1731
+ ],
1732
+ "name": "isLocked",
1733
+ "outputs": [
1734
+ {
1735
+ "internalType": "bool",
1736
+ "name": "",
1737
+ "type": "bool"
1738
+ }
1739
+ ],
1740
+ "stateMutability": "view",
1741
+ "type": "function"
1742
+ },
1743
+ {
1744
+ "inputs": [
1745
+ {
1746
+ "internalType": "NftId",
1747
+ "name": "distributionNftId",
1748
+ "type": "uint96"
1749
+ },
1750
+ {
1751
+ "internalType": "ReferralId",
1752
+ "name": "referralId",
1753
+ "type": "bytes8"
1754
+ }
1755
+ ],
1756
+ "name": "isReferralValid",
1757
+ "outputs": [
1758
+ {
1759
+ "internalType": "bool",
1760
+ "name": "isValid",
1761
+ "type": "bool"
1762
+ }
1763
+ ],
1764
+ "stateMutability": "view",
1765
+ "type": "function"
1766
+ },
1767
+ {
1768
+ "inputs": [
1769
+ {
1770
+ "internalType": "NftId",
1771
+ "name": "policyNftId",
1772
+ "type": "uint96"
1773
+ },
1774
+ {
1775
+ "internalType": "ClaimId",
1776
+ "name": "claimId",
1777
+ "type": "uint16"
1778
+ }
1779
+ ],
1780
+ "name": "payouts",
1781
+ "outputs": [
1782
+ {
1783
+ "internalType": "uint24",
1784
+ "name": "payoutCount",
1785
+ "type": "uint24"
1786
+ }
1787
+ ],
1788
+ "stateMutability": "view",
1789
+ "type": "function"
1790
+ },
1791
+ {
1792
+ "inputs": [
1793
+ {
1794
+ "internalType": "RiskId",
1795
+ "name": "riskId",
1796
+ "type": "bytes8"
883
1797
  }
884
1798
  ],
885
- "name": "initialize",
886
- "outputs": [],
887
- "stateMutability": "nonpayable",
1799
+ "name": "policiesForRisk",
1800
+ "outputs": [
1801
+ {
1802
+ "internalType": "uint256",
1803
+ "name": "linkedPolicies",
1804
+ "type": "uint256"
1805
+ }
1806
+ ],
1807
+ "stateMutability": "view",
1808
+ "type": "function"
1809
+ },
1810
+ {
1811
+ "inputs": [
1812
+ {
1813
+ "internalType": "NftId",
1814
+ "name": "policyNftId",
1815
+ "type": "uint96"
1816
+ }
1817
+ ],
1818
+ "name": "policyIsActive",
1819
+ "outputs": [
1820
+ {
1821
+ "internalType": "bool",
1822
+ "name": "isCloseable",
1823
+ "type": "bool"
1824
+ }
1825
+ ],
1826
+ "stateMutability": "view",
1827
+ "type": "function"
1828
+ },
1829
+ {
1830
+ "inputs": [],
1831
+ "name": "products",
1832
+ "outputs": [
1833
+ {
1834
+ "internalType": "uint256",
1835
+ "name": "productCount",
1836
+ "type": "uint256"
1837
+ }
1838
+ ],
1839
+ "stateMutability": "view",
1840
+ "type": "function"
1841
+ },
1842
+ {
1843
+ "inputs": [
1844
+ {
1845
+ "internalType": "NftId",
1846
+ "name": "productNftId",
1847
+ "type": "uint96"
1848
+ }
1849
+ ],
1850
+ "name": "risks",
1851
+ "outputs": [
1852
+ {
1853
+ "internalType": "uint256",
1854
+ "name": "riskCount",
1855
+ "type": "uint256"
1856
+ }
1857
+ ],
1858
+ "stateMutability": "view",
888
1859
  "type": "function"
889
1860
  },
890
1861
  {
@@ -906,6 +1877,25 @@
906
1877
  "stateMutability": "pure",
907
1878
  "type": "function"
908
1879
  },
1880
+ {
1881
+ "inputs": [
1882
+ {
1883
+ "internalType": "NftId",
1884
+ "name": "componentNftId",
1885
+ "type": "uint96"
1886
+ }
1887
+ ],
1888
+ "name": "toComponentKey",
1889
+ "outputs": [
1890
+ {
1891
+ "internalType": "Key32",
1892
+ "name": "",
1893
+ "type": "bytes32"
1894
+ }
1895
+ ],
1896
+ "stateMutability": "pure",
1897
+ "type": "function"
1898
+ },
909
1899
  {
910
1900
  "inputs": [
911
1901
  {
@@ -944,12 +1934,31 @@
944
1934
  "stateMutability": "pure",
945
1935
  "type": "function"
946
1936
  },
1937
+ {
1938
+ "inputs": [
1939
+ {
1940
+ "internalType": "NftId",
1941
+ "name": "productNftId",
1942
+ "type": "uint96"
1943
+ }
1944
+ ],
1945
+ "name": "toFeeKey",
1946
+ "outputs": [
1947
+ {
1948
+ "internalType": "Key32",
1949
+ "name": "",
1950
+ "type": "bytes32"
1951
+ }
1952
+ ],
1953
+ "stateMutability": "pure",
1954
+ "type": "function"
1955
+ },
947
1956
  {
948
1957
  "inputs": [
949
1958
  {
950
1959
  "internalType": "UFixed",
951
1960
  "name": "value",
952
- "type": "uint256"
1961
+ "type": "uint160"
953
1962
  }
954
1963
  ],
955
1964
  "name": "toInt",
@@ -1005,11 +2014,11 @@
1005
2014
  "inputs": [
1006
2015
  {
1007
2016
  "internalType": "NftId",
1008
- "name": "productNftId",
2017
+ "name": "policyNftId",
1009
2018
  "type": "uint96"
1010
2019
  }
1011
2020
  ],
1012
- "name": "toProductKey",
2021
+ "name": "toPremiumKey",
1013
2022
  "outputs": [
1014
2023
  {
1015
2024
  "internalType": "Key32",
@@ -1024,21 +2033,16 @@
1024
2033
  "inputs": [
1025
2034
  {
1026
2035
  "internalType": "NftId",
1027
- "name": "distributionNftId",
2036
+ "name": "productNftId",
1028
2037
  "type": "uint96"
1029
- },
1030
- {
1031
- "internalType": "string",
1032
- "name": "referralCode",
1033
- "type": "string"
1034
2038
  }
1035
2039
  ],
1036
- "name": "toReferralId",
2040
+ "name": "toProductKey",
1037
2041
  "outputs": [
1038
2042
  {
1039
- "internalType": "ReferralId",
1040
- "name": "referralId",
1041
- "type": "bytes8"
2043
+ "internalType": "Key32",
2044
+ "name": "",
2045
+ "type": "bytes32"
1042
2046
  }
1043
2047
  ],
1044
2048
  "stateMutability": "pure",
@@ -1048,16 +2052,21 @@
1048
2052
  "inputs": [
1049
2053
  {
1050
2054
  "internalType": "NftId",
1051
- "name": "productNftId",
2055
+ "name": "distributionNftId",
1052
2056
  "type": "uint96"
2057
+ },
2058
+ {
2059
+ "internalType": "string",
2060
+ "name": "referralCode",
2061
+ "type": "string"
1053
2062
  }
1054
2063
  ],
1055
- "name": "toTreasuryKey",
2064
+ "name": "toReferralId",
1056
2065
  "outputs": [
1057
2066
  {
1058
- "internalType": "Key32",
1059
- "name": "",
1060
- "type": "bytes32"
2067
+ "internalType": "ReferralId",
2068
+ "name": "referralId",
2069
+ "type": "bytes8"
1061
2070
  }
1062
2071
  ],
1063
2072
  "stateMutability": "pure",
@@ -1081,207 +2090,367 @@
1081
2090
  {
1082
2091
  "internalType": "UFixed",
1083
2092
  "name": "",
1084
- "type": "uint256"
2093
+ "type": "uint160"
1085
2094
  }
1086
2095
  ],
1087
2096
  "stateMutability": "pure",
1088
2097
  "type": "function"
1089
2098
  }
1090
2099
  ],
1091
- "bytecode": "0x608060405234801561001057600080fd5b50612d17806100206000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c806390af7064116100f9578063d06458c611610097578063de7b5d1411610071578063de7b5d1414610501578063f0ea17c314610517578063f2b246c314610537578063f7f318d31461055757600080fd5b8063d06458c6146104bd578063d4cda0d8146104dd578063dd26287a146104ee57600080fd5b8063a5961b4c116100d3578063a5961b4c146103f1578063b82d7ef51461045e578063bd7d9d8514610488578063c4d66de8146104a857600080fd5b806390af7064146103175780639ad69c6714610337578063a310e2a3146103c657600080fd5b806344aa6836116101665780637bfd3217116101405780637bfd3217146102ac5780637e54602a146102bf578063887b1fa9146102d25780639096a1f3146102f257600080fd5b806344aa6836146102665780634793b4ab1461027957806364eb3a9b1461029957600080fd5b80631488c845146101ae5780631d3be477146101d457806325d03743146101f457806327b1d7921461020757806335898f5d146102275780633f093cd61461023a575b600080fd5b6101c16101bc3660046118db565b61056a565b6040519081526020015b60405180910390f35b6101e76101e236600461192a565b6105f0565b6040516101cb9190611997565b6101c1610202366004611a48565b610742565b61021a610215366004611a48565b6107e2565b6040516101cb9190611a65565b6101c1610235366004611a48565b6108be565b61024d610248366004611c28565b6108eb565b6040516001600160c01b031990911681526020016101cb565b6101c1610274366004611cba565b610968565b61028c610287366004611a48565b6109a3565b6040516101cb9190611cd3565b6101c16102a7366004611a48565b610a49565b6101c16102ba366004611a48565b610a76565b6101c16102cd366004611a48565b610aa3565b6102e56102e036600461192a565b610ad0565b6040516101cb9190611db6565b610305610300366004611a48565b610bf9565b60405160ff90911681526020016101cb565b61032a610325366004611a48565b610c78565b6040516101cb9190611dec565b61034a610345366004611a48565b610d1e565b6040516101cb919081516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b6103d96103d4366004611a48565b610dc4565b6040516001600160a01b0390911681526020016101cb565b6104046103ff366004611cba565b610e72565b6040516101cb9190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61047161046c36600461192a565b610f06565b6040805192835260ff9091166020830152016101cb565b61049b610496366004611a48565b6111ae565b6040516101cb9190611e9c565b6104bb6104b6366004611fff565b6112cc565b005b6104d06104cb36600461192a565b6113c8565b6040516101cb919061201c565b6001546001600160a01b03166103d9565b6101c16104fc366004611a48565b61153b565b60005461010090046001600160a01b03166103d9565b61052a610525366004611a48565b611568565b6040516101cb91906120cc565b61054a610545366004611a48565b61163d565b6040516101cb919061214d565b6101c1610565366004611a48565b611785565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af41580156105c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e9919061224f565b9392505050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af4158015610697573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bb919061224f565b6040518263ffffffff1660e01b81526004016106d991815260200190565b600060405180830381865afa1580156106f6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261071e91908101906122ad565b80519091501561073c57808060200190518101906105e9919061232c565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af41580156107b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc919061224f565b92915050565b6108206040518060a0016040528060006001600160c01b03191681526020016000151581526020016060815260200160008152602001600081525090565b6001546000906001600160a01b03166354f6127f61083d85610aa3565b6040518263ffffffff1660e01b815260040161085b91815260200190565b600060405180830381865afa158015610878573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108a091908101906122ad565b80519091501561073c57808060200190518101906105e99190612425565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607861076b565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd69061092790869086906004016124cc565b602060405180830381865af4158015610944573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e991906124ee565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa68369060240161079b565b6109ab6117b2565b6001546000906001600160a01b03166354f6127f6109c885611785565b6040518263ffffffff1660e01b81526004016109e691815260200190565b600060405180830381865afa158015610a03573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a2b91908101906122ad565b80519091501561073c57808060200190518101906105e9919061253b565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d361076b565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e61076b565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a61076b565b6040805180820190915260008152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610b54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b78919061224f565b6040518263ffffffff1660e01b8152600401610b9691815260200190565b600060405180830381865afa158015610bb3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bdb91908101906122ad565b80519091501561073c57808060200190518101906105e99190612637565b6000805461010090046001600160a01b03166309648a9d610c1984610a49565b6040518263ffffffff1660e01b8152600401610c3791815260200190565b602060405180830381865afa158015610c54573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc91906126c5565b610c80611823565b6001546000906001600160a01b03166354f6127f610c9d85610a76565b6040518263ffffffff1660e01b8152600401610cbb91815260200190565b600060405180830381865afa158015610cd8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d0091908101906122ad565b80519091501561073c57808060200190518101906105e991906126ed565b610d26611893565b6001546000906001600160a01b03166354f6127f610d43856108be565b6040518263ffffffff1660e01b8152600401610d6191815260200190565b600060405180830381865afa158015610d7e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610da691908101906122ad565b80519091501561073c57808060200190518101906105e99190612795565b60015460009081906001600160a01b03166354f6127f610de385610742565b6040518263ffffffff1660e01b8152600401610e0191815260200190565b600060405180830381865afa158015610e1e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e4691908101906122ad565b80519091501561073c57600081806020019051810190610e669190612836565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610ee2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc9190612907565b6000806000610f14846105f0565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610f73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f979190612981565b156110165773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610fe5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611009919061224f565b60645b9250925050915091565b61109a8160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611067573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108b919061299c565b64ffffffffff90811691161090565b156111135773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156110e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061110c919061224f565b606e61100c565b806060015163ffffffff16816080015163ffffffff16106111a25773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611177573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061119b919061224f565b607861100c565b6040810151600a61100c565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526001546000906001600160a01b03166354f6127f61124b85610a49565b6040518263ffffffff1660e01b815260040161126991815260200190565b600060405180830381865afa158015611286573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112ae91908101906122ad565b80519091501561073c57808060200190518101906105e991906129cb565b60005460ff161561132e5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b0381166113845760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a494e5354414e43455f5a45524f00000000006044820152606401611325565b60008054600180546001600160a01b0319166001600160a01b03909416938417815560ff1961010094909402939093166001600160a81b0319909116179091179055565b61142760405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611496573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ba919061224f565b6040518263ffffffff1660e01b81526004016114d891815260200190565b600060405180830381865afa1580156114f5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261151d91908101906122ad565b80519091501561073c57808060200190518101906105e99190612b37565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c61076b565b6040805160e08101825260608082526000602083018190529282018390528082018390526080820183905260a0820183905260c08201526001549091906001600160a01b03166354f6127f6115bc8561153b565b6040518263ffffffff1660e01b81526004016115da91815260200190565b600060405180830381865afa1580156115f7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261161f91908101906122ad565b80519091501561073c57808060200190518101906105e99190612c2e565b6116e7604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6001546000906001600160a01b03166354f6127f61170485610742565b6040518263ffffffff1660e01b815260040161172291815260200190565b600060405180830381865afa15801561173f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261176791908101906122ad565b80519091501561073c57808060200190518101906105e99190612836565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc61076b565b60405180610120016040528060006001600160601b031681526020016117eb604051806040016040528060008152602001600081525090565b81526060602082018190526000604083018190529082018190526080820181905260a0820181905260c0820181905260e09091015290565b6040805161010081018252600080825260208083018290528284018290526060830182905283518085019094528184528301529060808201905b815260200161187f604051806040016040528060008152602001600081525090565b815260006020820181905260409091015290565b6040518060c0016040528060006001600160601b0316815260200160006001600160a01b0316815260200161185d604051806040016040528060008152602001600081525090565b600080604083850312156118ee57600080fd5b8235915060208301358060000b811461190657600080fd5b809150509250929050565b6001600160c01b03198116811461192757600080fd5b50565b60006020828403121561193c57600080fd5b81356105e981611911565b60005b8381101561196257818101518382015260200161194a565b50506000910152565b60008151808452611983816020860160208601611947565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e060408401526119c761010084018261196b565b90506040840151606084015263ffffffff606085015116608084015260808401516119fa60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e0850152611a2a828261196b565b95945050505050565b6001600160601b038116811461192757600080fd5b600060208284031215611a5a57600080fd5b81356105e981611a33565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a06060840152611aa360c084018261196b565b905060608401516080840152608084015160a08401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611afb57611afb611ac3565b60405290565b60405160a081016001600160401b0381118282101715611afb57611afb611ac3565b604080519081016001600160401b0381118282101715611afb57611afb611ac3565b60405161012081016001600160401b0381118282101715611afb57611afb611ac3565b60405161010081016001600160401b0381118282101715611afb57611afb611ac3565b60405161014081016001600160401b0381118282101715611afb57611afb611ac3565b60405161020081016001600160401b0381118282101715611afb57611afb611ac3565b604051601f8201601f191681016001600160401b0381118282101715611bf957611bf9611ac3565b604052919050565b60006001600160401b03821115611c1a57611c1a611ac3565b50601f01601f191660200190565b60008060408385031215611c3b57600080fd5b8235611c4681611a33565b915060208301356001600160401b03811115611c6157600080fd5b8301601f81018513611c7257600080fd5b8035611c85611c8082611c01565b611bd1565b818152866020838501011115611c9a57600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611ccc57600080fd5b5035919050565b60208152611ced6020820183516001600160601b03169052565b60006020830151611d0b604084018280518252602090810151910152565b506040830151610140806080850152611d2861016085018361196b565b91506060850151611d4460a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c0850151610100611d898187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291505b9095015164ffffffffff1693019290925250919050565b602081526001600160601b03825116602082015260006020830151604080840152611de4606084018261196b565b949350505050565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b031690820152606080830151610140830191611e3b908401826001600160601b03169052565b506080830151611e58608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401525b5092915050565b60208152611eb66020820183516001600160601b03169052565b60006020830151611ed260408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e0830151610100611f378185018364ffffffffff169052565b808501519150506102006101208181860152611f5761022086018461196b565b9250808601519050610140601f198685030181870152611f77848361196b565b935080870151915050610160611f928187018361ffff169052565b8601519050610180611fa98682018361ffff169052565b8601516101a08681019190915286015190506101c0611fd08187018364ffffffffff169052565b86015190506101e0611d9f8682018364ffffffffff169052565b6001600160a01b038116811461192757600080fd5b60006020828403121561201157600080fd5b81356105e981611fea565b602081526000825161012080602085015261203b61014085018361196b565b9150602085015160408501526040850151606085015260608501516080850152608085015161207260a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006120a88187018315159052565b860151858403601f19018387015290506120c2838261196b565b9695505050505050565b602081526000825160e060208401526120e961010084018261196b565b9050602084015160018060a01b0380821660408601528060408701511660608601528060608701511660808601525050608084015161213360a08501826001600160601b03169052565b5060a08401516001600160601b03811660c0850152611a0e565b81516001600160a01b031681526102008101602083015161217960208401826001600160a01b03169052565b50604083015161219460408401826001600160601b03169052565b5060608301516121af60608401826001600160601b03169052565b5060808301516121cc608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301516101006122028185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e08501529050611e95565b60006020828403121561226157600080fd5b5051919050565b600082601f83011261227957600080fd5b8151612287611c8082611c01565b81815284602083860101111561229c57600080fd5b611de4826020830160208701611947565b6000602082840312156122bf57600080fd5b81516001600160401b038111156122d557600080fd5b611de484828501612268565b80516122ec81611a33565b919050565b63ffffffff8116811461192757600080fd5b80516122ec816122f1565b64ffffffffff8116811461192757600080fd5b80516122ec8161230e565b60006020828403121561233e57600080fd5b81516001600160401b038082111561235557600080fd5b9083019060e0828603121561236957600080fd5b612371611ad9565b61237a836122e1565b815260208301518281111561238e57600080fd5b61239a87828601612268565b602083015250604083015160408201526123b660608401612303565b60608201526123c760808401612303565b60808201526123d860a08401612321565b60a082015260c0830151828111156123ef57600080fd5b6123fb87828601612268565b60c08301525095945050505050565b80516122ec81611911565b805180151581146122ec57600080fd5b60006020828403121561243757600080fd5b81516001600160401b038082111561244e57600080fd5b9083019060a0828603121561246257600080fd5b61246a611b01565b825161247581611911565b815261248360208401612415565b602082015260408301518281111561249a57600080fd5b6124a687828601612268565b604083015250606083015160608201526080830151608082015280935050505092915050565b6001600160601b0383168152604060208201526000611de4604083018461196b565b60006020828403121561250057600080fd5b81516105e981611911565b60006040828403121561251d57600080fd5b612525611b23565b9050815181526020820151602082015292915050565b60006020828403121561254d57600080fd5b81516001600160401b038082111561256457600080fd5b90830190610140828603121561257957600080fd5b612581611b45565b61258a836122e1565b8152612599866020850161250b565b60208201526060830151828111156125b057600080fd5b6125bc87828601612268565b6040830152506125ce608084016122e1565b60608201526125df60a084016122e1565b60808201526125f060c084016122e1565b60a082015261260160e08401612321565b60c08201526101009150612616828401612321565b60e08201526126286101208401612321565b91810191909152949350505050565b60006020828403121561264957600080fd5b81516001600160401b038082111561266057600080fd5b908301906040828603121561267457600080fd5b61267c611b23565b825161268781611a33565b815260208301518281111561269b57600080fd5b6126a787828601612268565b60208301525095945050505050565b60ff8116811461192757600080fd5b6000602082840312156126d757600080fd5b81516105e9816126b6565b80516122ec81611fea565b6000610140828403121561270057600080fd5b612708611b68565b612711836126e2565b815261271f602084016126e2565b6020820152612730604084016122e1565b6040820152612741606084016122e1565b6060820152612753846080850161250b565b60808201526127658460c0850161250b565b60a08201526127776101008401612415565b60c082015261278961012084016126e2565b60e08201529392505050565b600061010082840312156127a857600080fd5b60405160c081018181106001600160401b03821117156127ca576127ca611ac3565b60405282516127d881611a33565b815260208301516127e881611fea565b60208201526127fa846040850161250b565b604082015261280c846080850161250b565b606082015260c083015161281f81611fea565b608082015260e0929092015160a083015250919050565b6000610200828403121561284957600080fd5b612851611b8b565b61285a836126e2565b8152612868602084016126e2565b6020820152612879604084016122e1565b604082015261288a606084016122e1565b606082015261289c846080850161250b565b60808201526128ae8460c0850161250b565b60a08201526101006128c28582860161250b565b60c08301526128d585610140860161250b565b60e08301526128e885610180860161250b565b908201526128fa846101c0850161250b565b6101208201529392505050565b600060a0828403121561291957600080fd5b612921611b01565b825161292c816126b6565b8152602083015161293c816126b6565b6020820152604083015161294f81611fea565b60408201526060830151612962816122f1565b60608201526080830151612975816122f1565b60808201529392505050565b60006020828403121561299357600080fd5b6105e982612415565b6000602082840312156129ae57600080fd5b81516105e98161230e565b805161ffff811681146122ec57600080fd5b6000602082840312156129dd57600080fd5b81516001600160401b03808211156129f457600080fd5b908301906102008286031215612a0957600080fd5b612a11611bae565b612a1a836122e1565b8152612a28602084016122e1565b6020820152612a396040840161240a565b6040820152612a4a6060840161240a565b60608201526080830151608082015260a083015160a082015260c083015160c0820152612a7960e08401612321565b60e08201526101008084015183811115612a9257600080fd5b612a9e88828701612268565b8284015250506101208084015183811115612ab857600080fd5b612ac488828701612268565b8284015250506101409150612ada8284016129b9565b828201526101609150612aee8284016129b9565b82820152610180915081830151828201526101a09150612b0f828401612321565b828201526101c09150612b23828401612321565b828201526101e09150612628828401612321565b600060208284031215612b4957600080fd5b81516001600160401b0380821115612b6057600080fd5b908301906101208286031215612b7557600080fd5b612b7d611b45565b825182811115612b8c57600080fd5b612b9887828601612268565b825250602083015160208201526040830151604082015260608301516060820152612bc560808401612303565b6080820152612bd660a08401612303565b60a0820152612be760c08401612415565b60c0820152612bf860e08401612415565b60e08201526101008084015183811115612c1157600080fd5b612c1d88828701612268565b918301919091525095945050505050565b600060208284031215612c4057600080fd5b81516001600160401b0380821115612c5757600080fd5b9083019060e08286031215612c6b57600080fd5b612c73611ad9565b825182811115612c8257600080fd5b612c8e87828601612268565b825250612c9d602084016126e2565b6020820152612cae604084016126e2565b6040820152612cbf606084016126e2565b6060820152612cd0608084016122e1565b60808201526123d860a084016122e156fea2646970667358221220d5077f18bf5f396b553ef8134172404eec23fd3f6c30604a35eb6996c376da3464736f6c63430008140033",
1092
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101a95760003560e01c806390af7064116100f9578063d06458c611610097578063de7b5d1411610071578063de7b5d1414610501578063f0ea17c314610517578063f2b246c314610537578063f7f318d31461055757600080fd5b8063d06458c6146104bd578063d4cda0d8146104dd578063dd26287a146104ee57600080fd5b8063a5961b4c116100d3578063a5961b4c146103f1578063b82d7ef51461045e578063bd7d9d8514610488578063c4d66de8146104a857600080fd5b806390af7064146103175780639ad69c6714610337578063a310e2a3146103c657600080fd5b806344aa6836116101665780637bfd3217116101405780637bfd3217146102ac5780637e54602a146102bf578063887b1fa9146102d25780639096a1f3146102f257600080fd5b806344aa6836146102665780634793b4ab1461027957806364eb3a9b1461029957600080fd5b80631488c845146101ae5780631d3be477146101d457806325d03743146101f457806327b1d7921461020757806335898f5d146102275780633f093cd61461023a575b600080fd5b6101c16101bc3660046118db565b61056a565b6040519081526020015b60405180910390f35b6101e76101e236600461192a565b6105f0565b6040516101cb9190611997565b6101c1610202366004611a48565b610742565b61021a610215366004611a48565b6107e2565b6040516101cb9190611a65565b6101c1610235366004611a48565b6108be565b61024d610248366004611c28565b6108eb565b6040516001600160c01b031990911681526020016101cb565b6101c1610274366004611cba565b610968565b61028c610287366004611a48565b6109a3565b6040516101cb9190611cd3565b6101c16102a7366004611a48565b610a49565b6101c16102ba366004611a48565b610a76565b6101c16102cd366004611a48565b610aa3565b6102e56102e036600461192a565b610ad0565b6040516101cb9190611db6565b610305610300366004611a48565b610bf9565b60405160ff90911681526020016101cb565b61032a610325366004611a48565b610c78565b6040516101cb9190611dec565b61034a610345366004611a48565b610d1e565b6040516101cb919081516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b6103d96103d4366004611a48565b610dc4565b6040516001600160a01b0390911681526020016101cb565b6104046103ff366004611cba565b610e72565b6040516101cb9190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61047161046c36600461192a565b610f06565b6040805192835260ff9091166020830152016101cb565b61049b610496366004611a48565b6111ae565b6040516101cb9190611e9c565b6104bb6104b6366004611fff565b6112cc565b005b6104d06104cb36600461192a565b6113c8565b6040516101cb919061201c565b6001546001600160a01b03166103d9565b6101c16104fc366004611a48565b61153b565b60005461010090046001600160a01b03166103d9565b61052a610525366004611a48565b611568565b6040516101cb91906120cc565b61054a610545366004611a48565b61163d565b6040516101cb919061214d565b6101c1610565366004611a48565b611785565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af41580156105c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e9919061224f565b9392505050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af4158015610697573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bb919061224f565b6040518263ffffffff1660e01b81526004016106d991815260200190565b600060405180830381865afa1580156106f6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261071e91908101906122ad565b80519091501561073c57808060200190518101906105e9919061232c565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af41580156107b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc919061224f565b92915050565b6108206040518060a0016040528060006001600160c01b03191681526020016000151581526020016060815260200160008152602001600081525090565b6001546000906001600160a01b03166354f6127f61083d85610aa3565b6040518263ffffffff1660e01b815260040161085b91815260200190565b600060405180830381865afa158015610878573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108a091908101906122ad565b80519091501561073c57808060200190518101906105e99190612425565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607861076b565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd69061092790869086906004016124cc565b602060405180830381865af4158015610944573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e991906124ee565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa68369060240161079b565b6109ab6117b2565b6001546000906001600160a01b03166354f6127f6109c885611785565b6040518263ffffffff1660e01b81526004016109e691815260200190565b600060405180830381865afa158015610a03573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a2b91908101906122ad565b80519091501561073c57808060200190518101906105e9919061253b565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d361076b565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e61076b565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a61076b565b6040805180820190915260008152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610b54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b78919061224f565b6040518263ffffffff1660e01b8152600401610b9691815260200190565b600060405180830381865afa158015610bb3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bdb91908101906122ad565b80519091501561073c57808060200190518101906105e99190612637565b6000805461010090046001600160a01b03166309648a9d610c1984610a49565b6040518263ffffffff1660e01b8152600401610c3791815260200190565b602060405180830381865afa158015610c54573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc91906126c5565b610c80611823565b6001546000906001600160a01b03166354f6127f610c9d85610a76565b6040518263ffffffff1660e01b8152600401610cbb91815260200190565b600060405180830381865afa158015610cd8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d0091908101906122ad565b80519091501561073c57808060200190518101906105e991906126ed565b610d26611893565b6001546000906001600160a01b03166354f6127f610d43856108be565b6040518263ffffffff1660e01b8152600401610d6191815260200190565b600060405180830381865afa158015610d7e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610da691908101906122ad565b80519091501561073c57808060200190518101906105e99190612795565b60015460009081906001600160a01b03166354f6127f610de385610742565b6040518263ffffffff1660e01b8152600401610e0191815260200190565b600060405180830381865afa158015610e1e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e4691908101906122ad565b80519091501561073c57600081806020019051810190610e669190612836565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610ee2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc9190612907565b6000806000610f14846105f0565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610f73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f979190612981565b156110165773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610fe5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611009919061224f565b60645b9250925050915091565b61109a8160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611067573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108b919061299c565b64ffffffffff90811691161090565b156111135773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156110e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061110c919061224f565b606e61100c565b806060015163ffffffff16816080015163ffffffff16106111a25773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611177573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061119b919061224f565b607861100c565b6040810151600a61100c565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526001546000906001600160a01b03166354f6127f61124b85610a49565b6040518263ffffffff1660e01b815260040161126991815260200190565b600060405180830381865afa158015611286573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112ae91908101906122ad565b80519091501561073c57808060200190518101906105e991906129cb565b60005460ff161561132e5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b0381166113845760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a494e5354414e43455f5a45524f00000000006044820152606401611325565b60008054600180546001600160a01b0319166001600160a01b03909416938417815560ff1961010094909402939093166001600160a81b0319909116179091179055565b61142760405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611496573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ba919061224f565b6040518263ffffffff1660e01b81526004016114d891815260200190565b600060405180830381865afa1580156114f5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261151d91908101906122ad565b80519091501561073c57808060200190518101906105e99190612b37565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c61076b565b6040805160e08101825260608082526000602083018190529282018390528082018390526080820183905260a0820183905260c08201526001549091906001600160a01b03166354f6127f6115bc8561153b565b6040518263ffffffff1660e01b81526004016115da91815260200190565b600060405180830381865afa1580156115f7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261161f91908101906122ad565b80519091501561073c57808060200190518101906105e99190612c2e565b6116e7604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6001546000906001600160a01b03166354f6127f61170485610742565b6040518263ffffffff1660e01b815260040161172291815260200190565b600060405180830381865afa15801561173f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261176791908101906122ad565b80519091501561073c57808060200190518101906105e99190612836565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc61076b565b60405180610120016040528060006001600160601b031681526020016117eb604051806040016040528060008152602001600081525090565b81526060602082018190526000604083018190529082018190526080820181905260a0820181905260c0820181905260e09091015290565b6040805161010081018252600080825260208083018290528284018290526060830182905283518085019094528184528301529060808201905b815260200161187f604051806040016040528060008152602001600081525090565b815260006020820181905260409091015290565b6040518060c0016040528060006001600160601b0316815260200160006001600160a01b0316815260200161185d604051806040016040528060008152602001600081525090565b600080604083850312156118ee57600080fd5b8235915060208301358060000b811461190657600080fd5b809150509250929050565b6001600160c01b03198116811461192757600080fd5b50565b60006020828403121561193c57600080fd5b81356105e981611911565b60005b8381101561196257818101518382015260200161194a565b50506000910152565b60008151808452611983816020860160208601611947565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e060408401526119c761010084018261196b565b90506040840151606084015263ffffffff606085015116608084015260808401516119fa60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e0850152611a2a828261196b565b95945050505050565b6001600160601b038116811461192757600080fd5b600060208284031215611a5a57600080fd5b81356105e981611a33565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a06060840152611aa360c084018261196b565b905060608401516080840152608084015160a08401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611afb57611afb611ac3565b60405290565b60405160a081016001600160401b0381118282101715611afb57611afb611ac3565b604080519081016001600160401b0381118282101715611afb57611afb611ac3565b60405161012081016001600160401b0381118282101715611afb57611afb611ac3565b60405161010081016001600160401b0381118282101715611afb57611afb611ac3565b60405161014081016001600160401b0381118282101715611afb57611afb611ac3565b60405161020081016001600160401b0381118282101715611afb57611afb611ac3565b604051601f8201601f191681016001600160401b0381118282101715611bf957611bf9611ac3565b604052919050565b60006001600160401b03821115611c1a57611c1a611ac3565b50601f01601f191660200190565b60008060408385031215611c3b57600080fd5b8235611c4681611a33565b915060208301356001600160401b03811115611c6157600080fd5b8301601f81018513611c7257600080fd5b8035611c85611c8082611c01565b611bd1565b818152866020838501011115611c9a57600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611ccc57600080fd5b5035919050565b60208152611ced6020820183516001600160601b03169052565b60006020830151611d0b604084018280518252602090810151910152565b506040830151610140806080850152611d2861016085018361196b565b91506060850151611d4460a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c0850151610100611d898187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291505b9095015164ffffffffff1693019290925250919050565b602081526001600160601b03825116602082015260006020830151604080840152611de4606084018261196b565b949350505050565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b031690820152606080830151610140830191611e3b908401826001600160601b03169052565b506080830151611e58608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401525b5092915050565b60208152611eb66020820183516001600160601b03169052565b60006020830151611ed260408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e0830151610100611f378185018364ffffffffff169052565b808501519150506102006101208181860152611f5761022086018461196b565b9250808601519050610140601f198685030181870152611f77848361196b565b935080870151915050610160611f928187018361ffff169052565b8601519050610180611fa98682018361ffff169052565b8601516101a08681019190915286015190506101c0611fd08187018364ffffffffff169052565b86015190506101e0611d9f8682018364ffffffffff169052565b6001600160a01b038116811461192757600080fd5b60006020828403121561201157600080fd5b81356105e981611fea565b602081526000825161012080602085015261203b61014085018361196b565b9150602085015160408501526040850151606085015260608501516080850152608085015161207260a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006120a88187018315159052565b860151858403601f19018387015290506120c2838261196b565b9695505050505050565b602081526000825160e060208401526120e961010084018261196b565b9050602084015160018060a01b0380821660408601528060408701511660608601528060608701511660808601525050608084015161213360a08501826001600160601b03169052565b5060a08401516001600160601b03811660c0850152611a0e565b81516001600160a01b031681526102008101602083015161217960208401826001600160a01b03169052565b50604083015161219460408401826001600160601b03169052565b5060608301516121af60608401826001600160601b03169052565b5060808301516121cc608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301516101006122028185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e08501529050611e95565b60006020828403121561226157600080fd5b5051919050565b600082601f83011261227957600080fd5b8151612287611c8082611c01565b81815284602083860101111561229c57600080fd5b611de4826020830160208701611947565b6000602082840312156122bf57600080fd5b81516001600160401b038111156122d557600080fd5b611de484828501612268565b80516122ec81611a33565b919050565b63ffffffff8116811461192757600080fd5b80516122ec816122f1565b64ffffffffff8116811461192757600080fd5b80516122ec8161230e565b60006020828403121561233e57600080fd5b81516001600160401b038082111561235557600080fd5b9083019060e0828603121561236957600080fd5b612371611ad9565b61237a836122e1565b815260208301518281111561238e57600080fd5b61239a87828601612268565b602083015250604083015160408201526123b660608401612303565b60608201526123c760808401612303565b60808201526123d860a08401612321565b60a082015260c0830151828111156123ef57600080fd5b6123fb87828601612268565b60c08301525095945050505050565b80516122ec81611911565b805180151581146122ec57600080fd5b60006020828403121561243757600080fd5b81516001600160401b038082111561244e57600080fd5b9083019060a0828603121561246257600080fd5b61246a611b01565b825161247581611911565b815261248360208401612415565b602082015260408301518281111561249a57600080fd5b6124a687828601612268565b604083015250606083015160608201526080830151608082015280935050505092915050565b6001600160601b0383168152604060208201526000611de4604083018461196b565b60006020828403121561250057600080fd5b81516105e981611911565b60006040828403121561251d57600080fd5b612525611b23565b9050815181526020820151602082015292915050565b60006020828403121561254d57600080fd5b81516001600160401b038082111561256457600080fd5b90830190610140828603121561257957600080fd5b612581611b45565b61258a836122e1565b8152612599866020850161250b565b60208201526060830151828111156125b057600080fd5b6125bc87828601612268565b6040830152506125ce608084016122e1565b60608201526125df60a084016122e1565b60808201526125f060c084016122e1565b60a082015261260160e08401612321565b60c08201526101009150612616828401612321565b60e08201526126286101208401612321565b91810191909152949350505050565b60006020828403121561264957600080fd5b81516001600160401b038082111561266057600080fd5b908301906040828603121561267457600080fd5b61267c611b23565b825161268781611a33565b815260208301518281111561269b57600080fd5b6126a787828601612268565b60208301525095945050505050565b60ff8116811461192757600080fd5b6000602082840312156126d757600080fd5b81516105e9816126b6565b80516122ec81611fea565b6000610140828403121561270057600080fd5b612708611b68565b612711836126e2565b815261271f602084016126e2565b6020820152612730604084016122e1565b6040820152612741606084016122e1565b6060820152612753846080850161250b565b60808201526127658460c0850161250b565b60a08201526127776101008401612415565b60c082015261278961012084016126e2565b60e08201529392505050565b600061010082840312156127a857600080fd5b60405160c081018181106001600160401b03821117156127ca576127ca611ac3565b60405282516127d881611a33565b815260208301516127e881611fea565b60208201526127fa846040850161250b565b604082015261280c846080850161250b565b606082015260c083015161281f81611fea565b608082015260e0929092015160a083015250919050565b6000610200828403121561284957600080fd5b612851611b8b565b61285a836126e2565b8152612868602084016126e2565b6020820152612879604084016122e1565b604082015261288a606084016122e1565b606082015261289c846080850161250b565b60808201526128ae8460c0850161250b565b60a08201526101006128c28582860161250b565b60c08301526128d585610140860161250b565b60e08301526128e885610180860161250b565b908201526128fa846101c0850161250b565b6101208201529392505050565b600060a0828403121561291957600080fd5b612921611b01565b825161292c816126b6565b8152602083015161293c816126b6565b6020820152604083015161294f81611fea565b60408201526060830151612962816122f1565b60608201526080830151612975816122f1565b60808201529392505050565b60006020828403121561299357600080fd5b6105e982612415565b6000602082840312156129ae57600080fd5b81516105e98161230e565b805161ffff811681146122ec57600080fd5b6000602082840312156129dd57600080fd5b81516001600160401b03808211156129f457600080fd5b908301906102008286031215612a0957600080fd5b612a11611bae565b612a1a836122e1565b8152612a28602084016122e1565b6020820152612a396040840161240a565b6040820152612a4a6060840161240a565b60608201526080830151608082015260a083015160a082015260c083015160c0820152612a7960e08401612321565b60e08201526101008084015183811115612a9257600080fd5b612a9e88828701612268565b8284015250506101208084015183811115612ab857600080fd5b612ac488828701612268565b8284015250506101409150612ada8284016129b9565b828201526101609150612aee8284016129b9565b82820152610180915081830151828201526101a09150612b0f828401612321565b828201526101c09150612b23828401612321565b828201526101e09150612628828401612321565b600060208284031215612b4957600080fd5b81516001600160401b0380821115612b6057600080fd5b908301906101208286031215612b7557600080fd5b612b7d611b45565b825182811115612b8c57600080fd5b612b9887828601612268565b825250602083015160208201526040830151604082015260608301516060820152612bc560808401612303565b6080820152612bd660a08401612303565b60a0820152612be760c08401612415565b60c0820152612bf860e08401612415565b60e08201526101008084015183811115612c1157600080fd5b612c1d88828701612268565b918301919091525095945050505050565b600060208284031215612c4057600080fd5b81516001600160401b0380821115612c5757600080fd5b9083019060e08286031215612c6b57600080fd5b612c73611ad9565b825182811115612c8257600080fd5b612c8e87828601612268565b825250612c9d602084016126e2565b6020820152612cae604084016126e2565b6040820152612cbf606084016126e2565b6060820152612cd0608084016122e1565b60808201526123d860a084016122e156fea2646970667358221220d5077f18bf5f396b553ef8134172404eec23fd3f6c30604a35eb6996c376da3464736f6c63430008140033",
2100
+ "bytecode": "0x60806040525f805460ff191690553480156017575f80fd5b50615501806100255f395ff3fe608060405234801561000f575f80fd5b5060043610610417575f3560e01c80637bfd321711610221578063d06458c61161012a578063f0b1d210116100b4578063f7f318d311610084578063f7f318d314610a95578063fad77c3b14610aa8578063fcad2c4b14610abb578063fd80249214610ace578063febe92af14610aee575f80fd5b8063f0b1d21014610a3c578063f0ea17c314610a4f578063f3ed991914610a6f578063f4809edd14610a82575f80fd5b8063de7b5d14116100fa578063de7b5d14146109bc578063dfbf1640146109cd578063e2eb023b146109e0578063e444c3df146109f3578063e98413ff14610a13575f80fd5b8063d06458c614610965578063d4cda0d814610985578063db70354c14610996578063dd26287a146109a9575f80fd5b8063a310e2a3116101ab578063ba579bdc1161017b578063ba579bdc1461090f578063ba62fbe414610922578063bd7d9d851461092a578063c71e261f1461094a578063cd55e51b14610952575f80fd5b8063a310e2a31461084c578063a5961b4c1461085f578063a7ef3d21146108bb578063b82d7ef5146108db575f80fd5b80638129fc1c116101f15780638129fc1c146107eb578063887b1fa9146107f35780638eb9000d146108135780639096a1f31461082657806394b9929b14610839575f80fd5b80637bfd3217146107aa5780637d8f1e81146107bd5780637e54602a146107d05780637e798669146107e3575f80fd5b8063380bd950116103235780635ab1bd53116102ad5780636791f7ab1161027d5780636791f7ab1461073e5780636a05a413146107535780636dddada4146107735780636ebed9081461078457806378ae935014610797575f80fd5b80635ab1bd53146106f057806364eb3a9b1461070557806364fc3142146107185780636553994c1461072b575f80fd5b80634793b4ab116102f35780634793b4ab146106675780634a4fbeec146106875780634d21a63d146106aa5780634fb784f5146106bd57806357f80bbf146106d0575f80fd5b8063380bd950146106085780633b046f091461061b5780633f071275146106415780633f093cd614610654575f80fd5b806315b74532116103a45780632c0cd060116103745780632c0cd060146105a95780632f458a11146105bc57806333fc7dee146105cf57806334bd5be3146105e257806335898f5d146105f5575f80fd5b806315b74532146105435780631d3be47714610556578063228e42ec1461057657806327b1d79214610589575f80fd5b80630e0c586d116103ea5780630e0c586d146104a357806310bf267b146104c8578063128817d4146104ef57806313ab148d1461050f5780631488c84514610530575f80fd5b80630232ca491461041b57806309648a9d1461044b57806309c5844f146104705780630b5d931c14610483575b5f80fd5b61042e610429366004613622565b610b0e565b6040516001600160601b0390911681526020015b60405180910390f35b61045e61045936600461363d565b610b88565b60405160ff9091168152602001610442565b61045e61047e366004613622565b610bfd565b610496610491366004613622565b610c76565b6040516104429190613697565b6004546001600160a01b03165b6040516001600160a01b039091168152602001610442565b6104db6104d636600461373e565b610d5b565b60405162ffffff9091168152602001610442565b6105026104fd366004613775565b610d71565b604051610442919061379f565b61052261051d366004613622565b610df1565b604051908152602001610442565b6104b061053e3660046137b4565b610e65565b61042e61055136600461363d565b610ee1565b6105696105643660046137f1565b610f12565b604051610442919061383a565b61042e610584366004613622565b611063565b61059c610597366004613622565b61109c565b60405161044291906138fe565b61042e6105b7366004613622565b611157565b6105226105ca366004613622565b611177565b6105226105dd366004613622565b6111b5565b6105226105f0366004613622565b6111f3565b610522610603366004613622565b611266565b61042e61061636600461394a565b611292565b61062e610629366004613622565b611313565b60405161ffff9091168152602001610442565b61052261064f366004613622565b611328565b610502610662366004613b0c565b611354565b61067a610675366004613622565b6113aa565b6040516104429190613bb9565b61069a610695366004613c41565b61148a565b6040519015158152602001610442565b6104b06106b8366004613622565b61155e565b6105226106cb366004613622565b6115b6565b6106e36106de366004613622565b6115e2565b6040516104429190613c5c565b5f5461010090046001600160a01b03166104b0565b610522610713366004613622565b6116b3565b61069a610726366004613ce9565b6116df565b6105226107393660046137f1565b6117c4565b61075161074c366004613c41565b6117f5565b005b610766610761366004613622565b611b4e565b6040516104429190613d15565b6003546001600160a01b03166104b0565b61042e610792366004613775565b611bef565b61045e6107a536600461373e565b611c2f565b6105226107b8366004613622565b611d26565b61045e6107cb366004613622565b611d52565b6105226107de366004613622565b611d6e565b61042e611d9a565b610751611e12565b6108066108013660046137f1565b611e40565b6040516104429190613d9c565b61042e610821366004613622565b611f6d565b61045e610834366004613622565b611fa6565b610522610847366004613622565b611fc2565b6104b061085a366004613622565b611ffb565b61087261086d36600461363d565b6120a1565b60405161044291905f60808201905060ff835116825260ff602084015116602083015263ffffffff604084015116604083015263ffffffff606084015116606083015292915050565b6108ce6108c936600461373e565b61212b565b6040516104429190613dda565b6108ee6108e93660046137f1565b61228a565b604080516001600160a01b03909316835260ff909116602083015201610442565b61069a61091d366004613622565b612526565b610522612774565b61093d610938366004613622565b61284c565b6040516104429190613e74565b610522612964565b61069a610960366004613ce9565b6129cf565b6109786109733660046137f1565b612a79565b6040516104429190613ff0565b6002546001600160a01b03166104b0565b61042e6109a4366004613775565b612bdd565b6105226109b7366004613622565b612c1d565b6001546001600160a01b03166104b0565b6104b06109db366004613622565b612c49565b6105226109ee366004613c41565b612ca1565b610a06610a01366004613622565b612ce3565b60405161044291906140ce565b610a26610a213660046142ce565b612e0c565b60405164ffffffffff9091168152602001610442565b61069a610a4a3660046142fa565b612e9e565b610a62610a5d366004613622565b612ee7565b6040516104429190614326565b61045e610a7d366004614386565b612f9b565b610502610a90366004613775565b612ffd565b610522610aa3366004613622565b613042565b61062e610ab636600461363d565b61306e565b61045e610ac93660046137f1565b6130f1565b610ae1610adc366004614386565b613240565b60405161044291906143b2565b610b01610afc366004614410565b613385565b604051610442919061442b565b600254604051630232ca4960e01b81526001600160601b03831660048201525f916001600160a01b031690630232ca49906024015b602060405180830381865afa158015610b5e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b829190614509565b92915050565b60025460405163296586d360e21b8152600481018390525f916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015610bcf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bf39190614559565b6020015192915050565b6002545f906001600160a01b03166309648a9d610c19846111f3565b6040518263ffffffff1660e01b8152600401610c3791815260200190565b602060405180830381865afa158015610c52573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b8291906145c0565b60408051610100810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e08201526002549091906001600160a01b03166354f6127f610cd185611d26565b6040518263ffffffff1660e01b8152600401610cef91815260200190565b5f60405180830381865afa158015610d09573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610d30919081019061462a565b805190915015610d555780806020019051810190610d4e91906146f2565b9392505050565b50919050565b5f610d66838361212b565b606001519392505050565b600480546040516304a205f560e21b81526001600160601b03851692810192909252602482018390525f916001600160a01b039091169063128817d4906044015b602060405180830381865afa158015610dcd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d4e91906147df565b6003546040516313ab148d60e01b81526001600160601b03831660048201525f916001600160a01b0316906313ab148d906024015b602060405180830381865afa158015610e41573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b8291906147fa565b604051631488c84560e01b8152600481018390525f82810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af4158015610ebd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d4e919061481c565b600154604051630adba29960e11b8152600481018390525f916001600160a01b0316906315b7453290602401610b43565b60408051610100810182525f8082526020820181905260609282018390528282018190526080820181905260a0820181905260c082015260e08101919091526002546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590610fa7906001600160c01b031989169060040161379f565b602060405180830381865af4158015610fc2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fe691906147fa565b6040518263ffffffff1660e01b815260040161100491815260200190565b5f60405180830381865afa15801561101e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611045919081019061462a565b805190915015610d555780806020019051810190610d4e9190614842565b6002546040516308a390bb60e21b81526001600160601b03831660048201525f916001600160a01b03169063228e42ec90602401610b43565b604080516080810182525f80825260208201819052918101919091526060808201526002545f906001600160a01b03166354f6127f6110da85611d6e565b6040518263ffffffff1660e01b81526004016110f891815260200190565b5f60405180830381865afa158015611112573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611139919081019061462a565b805190915015610d555780806020019051810190610d4e919061492f565b5f806111628361284c565b9050610d4e81608001518261016001516134d3565b60048054604051632f458a1160e01b81526001600160601b038416928101929092525f916001600160a01b0390911690632f458a1190602401610e26565b600480546040516319fe3ef760e11b81526001600160601b038416928101929092525f916001600160a01b03909116906333fc7dee90602401610e26565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416602b5b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610e41573d5f803e3d5ffd5b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600e61121b565b600480546040516346cad99560e11b81526001600160c01b0319851692810192909252602482018390525f916001600160a01b0390911690638d95b32a906044015b602060405180830381865afa1580156112ef573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d4e9190614509565b5f61131d8261284c565b610120015192915050565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416602961121b565b604051631f849e6b60e11b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd69061138f90869086906004016149d0565b602060405180830381865af4158015610dcd573d5f803e3d5ffd5b6113f16040805160c0810182525f80825260208083018290528284018290526060830182905283518085019094528184528301529060808201908152602001606081525090565b6002545f906001600160a01b03166354f6127f61140d85613042565b6040518263ffffffff1660e01b815260040161142b91815260200190565b5f60405180830381865afa158015611445573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261146c919081019061462a565b805190915015610d555780806020019051810190610d4e9190614a53565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa1580156114d1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114f5919061481c565b604051629b7b3560e61b81526001600160a01b03848116600483015291909116906326decd4090602401602060405180830381865afa15801561153a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b829190614b17565b5f8061156983611ffb565b90506001600160a01b03811615610d5557806001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ebd573d5f803e3d5ffd5b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600b61121b565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091526002545f906001600160a01b03166354f6127f61163685612c1d565b6040518263ffffffff1660e01b815260040161165491815260200190565b5f60405180830381865afa15801561166e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611695919081019061462a565b805190915015610d555780806020019051810190610d4e9190614b30565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601561121b565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015611726573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061174a919061481c565b60405163327e18a160e11b81526001600160a01b0385811660048301526001600160401b038516602483015291909116906364fc3142906044015b602060405180830381865afa1580156117a0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d4e9190614b17565b6004805460405163380d295960e21b81525f926001600160a01b039092169163e034a56491610e269186910161379f565b5f5460ff16156118185760405163ae9eff1b60e01b815260040160405180910390fd5b5f805460ff1916600190811790915580546001600160a01b0383166001600160a01b0319909116811790915560408051635ab1bd5360e01b81529051635ab1bd53916004808201926020929091908290030181865afa15801561187d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118a1919061481c565b5f8054610100600160a81b0319166101006001600160a01b039384160217905560015460408051631a99b41b60e31b81529051919092169163d4cda0d89160048083019260209291908290030181865afa158015611901573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611925919061481c565b600280546001600160a01b0319166001600160a01b0392831617905560015460408051631b776b6960e21b815290519190921691636dddada49160048083019260209291908290030181865afa158015611981573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119a5919061481c565b600380546001600160a01b0319166001600160a01b0392831617905560015460408051630e0c586d60e01b815290519190921691630e0c586d9160048083019260209291908290030181865afa158015611a01573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a25919061481c565b600480546001600160a01b0319166001600160a01b039283161790555f5461010090041663d39e6043600e60015f9054906101000a90046001600160a01b03166001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611aa0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ac491906145c0565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611b07573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b2b919061481c565b600580546001600160a01b0319166001600160a01b039290921691909117905550565b611b56613533565b6002545f906001600160a01b03166354f6127f611b7285611328565b6040518263ffffffff1660e01b8152600401611b9091815260200190565b5f60405180830381865afa158015611baa573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611bd1919081019061462a565b805190915015610d555780806020019051810190610d4e9190614bc8565b600354604051630dd7db2160e31b81526001600160601b0384166004820152602481018390525f916001600160a01b031690636ebed908906044016112d4565b600254604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b22906044015b602060405180830381865af4158015611ca5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cc991906147fa565b6040518263ffffffff1660e01b8152600401611ce791815260200190565b602060405180830381865afa158015611d02573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d4e91906145c0565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600c61121b565b6002545f906001600160a01b03166309648a9d610c1984613042565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601761121b565b5f8054600154604051632f2a35f760e11b81526001600160a01b0391821660048201526101009092041690635e546bee90602401602060405180830381865afa158015611de9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e0d9190614509565b905090565b5f5460ff1615611e355760405163ae9eff1b60e01b815260040160405180910390fd5b611e3e336117f5565b565b60408051606080820183525f8083526020830152918101919091526002546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611eb1906001600160c01b031989169060040161379f565b602060405180830381865af4158015611ecc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ef091906147fa565b6040518263ffffffff1660e01b8152600401611f0e91815260200190565b5f60405180830381865afa158015611f28573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611f4f919081019061462a565b805190915015610d555780806020019051810190610d4e9190614c59565b600254604051638eb9000d60e01b81526001600160601b03831660048201525f916001600160a01b031690638eb9000d90602401610b43565b6002545f906001600160a01b03166309648a9d610c19846116b3565b6003546040516394b9929b60e01b81526001600160601b03831660048201525f916001600160a01b0316906394b9929b90602401610e26565b6002545f9081906001600160a01b03166354f6127f612019856115b6565b6040518263ffffffff1660e01b815260040161203791815260200190565b5f60405180830381865afa158015612051573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612078919081019061462a565b805190915015610d5557808060200190518101906120969190614ce9565b602001519392505050565b604080516080810182525f808252602082018190528183018190526060820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015612107573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b829190614559565b6040805160e0810182525f808252602082018190529181018290526060808201839052608082019290925260a0810182905260c0810191909152600254604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af41580156121da573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121fe91906147fa565b6040518263ffffffff1660e01b815260040161221c91815260200190565b5f60405180830381865afa158015612236573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261225d919081019061462a565b805190915015612283578080602001905181019061227b9190614d64565b915050610b82565b5092915050565b5f805f61229684610f12565b60c081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af41580156122f3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123179190614b17565b156123945773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612363573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612387919061481c565b60645b9250925050915091565b6124168160c0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156123e3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124079190614e4d565b64ffffffffff90811691161090565b1561248d5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612462573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612486919061481c565b606e61238a565b806080015163ffffffff168160a0015163ffffffff161061251a5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156124ef573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612513919061481c565b607861238a565b6060810151600a61238a565b5f806125318361284c565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af415801561258d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125b19190614b17565b156125be57505f92915050565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015612619573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061263d9190614b17565b1561264a57505f92915050565b6126cd816101a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561269a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126be9190614e4d565b64ffffffffff90811691161190565b156126da57505f92915050565b61275e816101c0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561272a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061274e9190614e4d565b64ffffffffff9081169116111590565b1561276b57505f92915050565b50600192915050565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa1580156127bb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127df919061481c565b6001600160a01b031663ba62fbe46040518163ffffffff1660e01b8152600401602060405180830381865afa15801561281a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061283e9190614e68565b6001600160401b0316905090565b60408051610200810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820181905261010082015261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002545f906001600160a01b03166354f6127f6128e7856116b3565b6040518263ffffffff1660e01b815260040161290591815260200190565b5f60405180830381865afa15801561291f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612946919081019061462a565b805190915015610d555780806020019051810190610d4e9190614e8e565b6001546040805163c71e261f60e01b815290515f926001600160a01b03169163c71e261f9160048083019260209291908290030181865afa1580156129ab573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e0d91906147fa565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015612a16573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a3a919061481c565b60405163cd55e51b60e01b81526001600160a01b0385811660048301526001600160401b0385166024830152919091169063cd55e51b90604401611785565b60408051610140810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e082019290925261010081018290526101208101919091526002546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590612b21906001600160c01b031989169060040161379f565b602060405180830381865af4158015612b3c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b6091906147fa565b6040518263ffffffff1660e01b8152600401612b7e91815260200190565b5f60405180830381865afa158015612b98573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612bbf919081019061462a565b805190915015610d555780806020019051810190610d4e9190615021565b6003546040516336dc0d5360e21b81526001600160601b0384166004820152602481018390525f916001600160a01b03169063db70354c906044016112d4565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600f61121b565b5f80612c5483611ffb565b90506001600160a01b03811615610d5557806001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ebd573d5f803e3d5ffd5b60405163e2eb023b60e01b81526001600160a01b03821660048201525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__9063e2eb023b9060240161124b565b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e0810182905261020081018290526102208101919091526002545f906001600160a01b03166354f6127f612d8f856111f3565b6040518263ffffffff1660e01b8152600401612dad91815260200190565b5f60405180830381865afa158015612dc7573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612dee919081019061462a565b805190915015610d555780806020019051810190610d4e9190615142565b5f73__$0f9396e6447a4be57af83e53f51d234633$__6359fad7ca84612e338560016152b8565b6040516001600160e01b031960e085901b16815261ffff909216600483015262ffffff166024820152604401602060405180830381865af4158015612e7a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d4e9190614e4d565b6005546040516309741ce160e21b81526001600160601b03841660048201526001600160c01b0319831660248201525f916001600160a01b0316906325d0738490604401611785565b60408051606080820183528082525f6020830152918101919091526002545f906001600160a01b03166354f6127f612f1e856115b6565b6040518263ffffffff1660e01b8152600401612f3c91815260200190565b5f60405180830381865afa158015612f56573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612f7d919081019061462a565b805190915015610d555780806020019051810190610d4e9190614ce9565b600254604051632867b75960e21b815264ffffffffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401611c8a565b6004805460405163f4809edd60e01b81526001600160601b03851692810192909252602482018390525f916001600160a01b039091169063f4809edd90604401610db2565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601661121b565b5f73__$9e81531fe4994e01e99541f86b55500b4b$__639cc45a366130948460016152d3565b6040518263ffffffff1660e01b81526004016130b291815260200190565b602060405180830381865af41580156130cd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b8291906152e6565b6002546040516355ee627560e01b81525f9182916001600160a01b03909116906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee62759061314b906001600160c01b031989169060040161379f565b602060405180830381865af4158015613166573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061318a91906147fa565b6040518263ffffffff1660e01b81526004016131a891815260200190565b5f60405180830381865afa1580156131c2573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526131e9919081019061462a565b6002546040516355ee627560e01b81529192506001600160a01b0316906309648a9d9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611c8a906001600160c01b031989169060040161379f565b6040805160a0810182525f808252602082018190529181018290526060808201929092526080810191909152600254604051632867b75960e21b815264ffffffffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401602060405180830381865af41580156132e4573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061330891906147fa565b6040518263ffffffff1660e01b815260040161332691815260200190565b5f60405180830381865afa158015613340573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613367919081019061462a565b805190915015612283578080602001905181019061227b9190615301565b60408051610100810182525f808252606060208301819052928201819052828201839052608082019290925260a0810182905260c0810182905260e0810191909152600254604051630f37f38f60e41b81526001600160401b03841660048201525f916001600160a01b0316906354f6127f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015613432573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061345691906147fa565b6040518263ffffffff1660e01b815260040161347491815260200190565b5f60405180830381865afa15801561348e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526134b5919081019061462a565b805190915015610d555780806020019051810190610d4e91906153b7565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401602060405180830381865af41580156112ef573d5f803e3d5ffd5b6040805161012081019091525f60e0820181815261010083019190915281908152602001613570604080518082019091525f808252602082015290565b815260200161358e604080518082019091525f808252602082015290565b81526020016135ac604080518082019091525f808252602082015290565b81526020016135ca604080518082019091525f808252602082015290565b81526020016135e8604080518082019091525f808252602082015290565b8152602001613606604080518082019091525f808252602082015290565b905290565b6001600160601b038116811461361f575f80fd5b50565b5f60208284031215613632575f80fd5b8135610d4e8161360b565b5f6020828403121561364d575f80fd5b5035919050565b5f8151808452602084019350602083015f5b8281101561368d5781516001600160601b0316865260209586019590910190600101613666565b5093949350505050565b602081528151151560208201526020820151151560408201525f60408301516136c4606084018215159052565b50606083015160ff8116608084015250608083015160ff811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e083015161010080840152613727610120840182613654565b949350505050565b61ffff8116811461361f575f80fd5b5f806040838503121561374f575f80fd5b823561375a8161360b565b9150602083013561376a8161372f565b809150509250929050565b5f8060408385031215613786575f80fd5b82356137918161360b565b946020939093013593505050565b6001600160c01b031991909116815260200190565b5f80604083850312156137c5575f80fd5b8235915060208301355f81900b811461376a575f80fd5b6001600160c01b03198116811461361f575f80fd5b5f60208284031215613801575f80fd5b8135610d4e816137dc565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f602083015161386960408401826001600160601b03169052565b506040830151610100606084015261388561012084018261380c565b905060608401516138a160808501826001600160a01b03169052565b50608084015163ffffffff811660a08501525060a084015163ffffffff811660c08501525060c084015164ffffffffff811660e08501525060e0840151838203601f19016101008501526138f5828261380c565b95945050505050565b602081526001600160401b0360c01b825116602082015260208201511515604082015263ffffffff60408301511660608201525f606083015160808084015261372760a084018261380c565b5f806040838503121561395b575f80fd5b8235613791816137dc565b634e487b7160e01b5f52604160045260245ffd5b604051608081016001600160401b038111828210171561399c5761399c613966565b60405290565b60405161010081016001600160401b038111828210171561399c5761399c613966565b60405160c081016001600160401b038111828210171561399c5761399c613966565b60405160e081016001600160401b038111828210171561399c5761399c613966565b604051606081016001600160401b038111828210171561399c5761399c613966565b60405161020081016001600160401b038111828210171561399c5761399c613966565b60405161014081016001600160401b038111828210171561399c5761399c613966565b60405161024081016001600160401b038111828210171561399c5761399c613966565b60405160a081016001600160401b038111828210171561399c5761399c613966565b604051601f8201601f191681016001600160401b0381118282101715613ade57613ade613966565b604052919050565b5f6001600160401b03821115613afe57613afe613966565b50601f01601f191660200190565b5f8060408385031215613b1d575f80fd5b8235613b288161360b565b915060208301356001600160401b03811115613b42575f80fd5b8301601f81018513613b52575f80fd5b8035613b65613b6082613ae6565b613ab6565b818152866020838501011115613b79575f80fd5b816020840160208301375f602083830101528093505050509250929050565b80516001600160a01b031682526020908101516001600160601b0316910152565b6020815264ffffffffff825116602082015264ffffffffff602083015116604082015264ffffffffff60408301511660608201526001600160601b0360608301511660808201525f6080830151613c1360a0840182613b98565b5060a083015160e08084015261372761010084018261380c565b6001600160a01b038116811461361f575f80fd5b5f60208284031215613c51575f80fd5b8135610d4e81613c2d565b5f60e0820190506001600160601b03835116825260208301511515602083015260408301511515604083015260608301511515606083015260808301511515608083015260a0830151613cba60a08401826001600160a01b03169052565b5060c083015161228360c08401826001600160a01b03169052565b6001600160401b038116811461361f575f80fd5b5f8060408385031215613cfa575f80fd5b8235613d0581613c2d565b9150602083013561376a81613cd5565b5f6101c082019050613d28828451613b98565b6020830151613d3a6040840182613b98565b506040830151613d4d6080840182613b98565b506060830151613d6060c0840182613b98565b506080830151613d74610100840182613b98565b5060a0830151613d88610140840182613b98565b5060c0830151612283610180840182613b98565b602081526001600160601b03825116602082015264ffffffffff60208301511660408201525f6040830151606080840152613727608084018261380c565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f6040830151613e1a606084018264ffffffffff169052565b50606083015162ffffff8116608084015250608083015162ffffff811660a08401525060a083015160e060c0840152613e5761010084018261380c565b905060c0840151601f198483030160e08501526138f5828261380c565b60208152613e8e6020820183516001600160601b03169052565b5f6020830151613ea960408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c083015164ffffffffff811660e08401525060e0830151610200610100840152613f2f61022084018261380c565b9050610100840151601f1984830301610120850152613f4e828261380c565b915050610120840151613f6861014085018261ffff169052565b5061014084015161ffff8116610160850152506101608401516001600160601b038116610180850152506101808401516001600160601b0381166101a0850152506101a084015164ffffffffff81166101c0850152506101c084015164ffffffffff81166101e0850152506101e084015164ffffffffff81166102008501525b509392505050565b6020815261400a6020820183516001600160a01b03169052565b5f602083015161402560408401826001600160a01b03169052565b50604083015163ffffffff8116606084015250606083015164ffffffffff8116608084015250608083015180151560a08401525060a083015180151560c08401525060c08301516001600160a01b03811660e08401525060e08301516001600160601b038116610100840152506101008301516101406101208401526140af61016084018261380c565b9050610120840151601f19848303016101408501526138f5828261380c565b81516001600160601b03168152610240810160208301516140fa60208401826001600160601b03169052565b50604083015161411560408401826001600160601b03169052565b50606083015161413060608401826001600160601b03169052565b50608083015161414b60808401826001600160601b03169052565b5060a083015161416660a08401826001600160601b03169052565b5060c083015161418160c08401826001600160601b03169052565b5060e083015161419c60e08401826001600160601b03169052565b506101008301516141b96101008401826001600160601b03169052565b506101208301516141d66101208401826001600160601b03169052565b506101408301516141f36101408401826001600160601b03169052565b506101608301516142106101608401826001600160601b03169052565b5061018083015161422d6101808401826001600160601b03169052565b506101a083015161424a6101a08401826001600160601b03169052565b506101c08301516142676101c08401826001600160601b03169052565b506101e08301516142846101e08401826001600160601b03169052565b506102008301516142a16102008401826001600160601b03169052565b506102208301516122836102208401826001600160601b03169052565b62ffffff8116811461361f575f80fd5b5f80604083850312156142df575f80fd5b82356142ea8161372f565b9150602083013561376a816142be565b5f806040838503121561430b575f80fd5b82356143168161360b565b9150602083013561376a816137dc565b602081525f825160606020840152614341608084018261380c565b60208501516001600160a01b0316604085810191909152850151848203601f190160608601529091506138f5828261380c565b64ffffffffff8116811461361f575f80fd5b5f8060408385031215614397575f80fd5b82356143a28161360b565b9150602083013561376a81614374565b6020815261ffff82511660208201526001600160601b03602083015116604082015264ffffffffff604083015116606082015260018060a01b0360608301511660808201525f608083015160a08084015261372760c084018261380c565b5f60208284031215614420575f80fd5b8135610d4e81613cd5565b602081526144456020820183516001600160601b03169052565b5f6020830151610100604084015261446161012084018261380c565b9050604084015161447d60608501826001600160601b03169052565b506060840151838203601f19016080850152614499828261380c565b9150506080840151601f198483030160a08501526144b7828261380c565b91505060a08401516144d260c085018264ffffffffff169052565b5060c084015164ffffffffff811660e08501525060e0840151801515610100850152613fe8565b80516145048161360b565b919050565b5f60208284031215614519575f80fd5b8151610d4e8161360b565b60ff8116811461361f575f80fd5b805161450481614524565b63ffffffff8116811461361f575f80fd5b80516145048161453d565b5f608082840312801561456a575f80fd5b5061457361397a565b825161457e81614524565b8152602083015161458e81614524565b602082015260408301516145a18161453d565b604082015260608301516145b48161453d565b60608201529392505050565b5f602082840312156145d0575f80fd5b8151610d4e81614524565b5f82601f8301126145ea575f80fd5b8151602083015f6145fd613b6084613ae6565b9050828152858383011115614610575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f6020828403121561463a575f80fd5b81516001600160401b0381111561464f575f80fd5b613727848285016145db565b80518015158114614504575f80fd5b5f82601f830112614679575f80fd5b81516001600160401b0381111561469257614692613966565b8060051b6146a260208201613ab6565b918252602081850181019290810190868411156146bd575f80fd5b6020860192505b838310156146e85782516146d78161360b565b8252602092830192909101906146c4565b9695505050505050565b5f60208284031215614702575f80fd5b81516001600160401b03811115614717575f80fd5b82016101008185031215614729575f80fd5b6147316139a2565b61473a8261465b565b81526147486020830161465b565b60208201526147596040830161465b565b604082015261476a60608301614532565b606082015261477b60808301614532565b608082015261478c60a083016144f9565b60a082015261479d60c083016144f9565b60c082015260e08201516001600160401b038111156147ba575f80fd5b6147c68682850161466a565b60e083015250949350505050565b8051614504816137dc565b5f602082840312156147ef575f80fd5b8151610d4e816137dc565b5f6020828403121561480a575f80fd5b5051919050565b805161450481613c2d565b5f6020828403121561482c575f80fd5b8151610d4e81613c2d565b805161450481614374565b5f60208284031215614852575f80fd5b81516001600160401b03811115614867575f80fd5b82016101008185031215614879575f80fd5b6148816139a2565b61488a826144f9565b8152614898602083016144f9565b602082015260408201516001600160401b038111156148b5575f80fd5b6148c1868285016145db565b6040830152506148d360608301614811565b60608201526148e46080830161454e565b60808201526148f560a0830161454e565b60a082015261490660c08301614837565b60c082015260e08201516001600160401b03811115614923575f80fd5b6147c6868285016145db565b5f6020828403121561493f575f80fd5b81516001600160401b03811115614954575f80fd5b820160808185031215614965575f80fd5b61496d61397a565b8151614978816137dc565b81526149866020830161465b565b602082015260408201516149998161453d565b604082015260608201516001600160401b038111156149b6575f80fd5b6149c2868285016145db565b606083015250949350505050565b6001600160601b0383168152604060208201525f613727604083018461380c565b5f60408284031215614a01575f80fd5b604080519081016001600160401b0381118282101715614a2357614a23613966565b80604052508091508251614a3681613c2d565b81526020830151614a468161360b565b6020919091015292915050565b5f60208284031215614a63575f80fd5b81516001600160401b03811115614a78575f80fd5b820160e08185031215614a89575f80fd5b614a916139c5565b8151614a9c81614374565b81526020820151614aac81614374565b6020820152614abd60408301614837565b6040820152614ace606083016144f9565b6060820152614ae085608084016149f1565b608082015260c08201516001600160401b03811115614afd575f80fd5b614b09868285016145db565b60a083015250949350505050565b5f60208284031215614b27575f80fd5b610d4e8261465b565b5f60e0828403128015614b41575f80fd5b50614b4a6139e7565b8251614b558161360b565b8152614b636020840161465b565b6020820152614b746040840161465b565b6040820152614b856060840161465b565b6060820152614b966080840161465b565b608082015260a0830151614ba981613c2d565b60a082015260c0830151614bbc81613c2d565b60c08201529392505050565b5f6101c0828403128015614bda575f80fd5b50614be36139e7565b614bed84846149f1565b8152614bfc84604085016149f1565b6020820152614c0e84608085016149f1565b6040820152614c208460c085016149f1565b6060820152614c338461010085016149f1565b6080820152614c468461014085016149f1565b60a0820152614bbc8461018085016149f1565b5f60208284031215614c69575f80fd5b81516001600160401b03811115614c7e575f80fd5b820160608185031215614c8f575f80fd5b614c97613a09565b8151614ca28161360b565b81526020820151614cb281614374565b602082015260408201516001600160401b03811115614ccf575f80fd5b614cdb868285016145db565b604083015250949350505050565b5f60208284031215614cf9575f80fd5b81516001600160401b03811115614d0e575f80fd5b820160608185031215614d1f575f80fd5b614d27613a09565b81516001600160401b03811115614d3c575f80fd5b614d48868285016145db565b8252506020820151614cb281613c2d565b8051614504816142be565b5f60208284031215614d74575f80fd5b81516001600160401b03811115614d89575f80fd5b820160e08185031215614d9a575f80fd5b614da26139e7565b614dab826144f9565b8152614db9602083016144f9565b6020820152614dca60408301614837565b6040820152614ddb60608301614d59565b6060820152614dec60808301614d59565b608082015260a08201516001600160401b03811115614e09575f80fd5b614e15868285016145db565b60a08301525060c08201516001600160401b03811115614e33575f80fd5b614e3f868285016145db565b60c083015250949350505050565b5f60208284031215614e5d575f80fd5b8151610d4e81614374565b5f60208284031215614e78575f80fd5b8151610d4e81613cd5565b80516145048161372f565b5f60208284031215614e9e575f80fd5b81516001600160401b03811115614eb3575f80fd5b82016102008185031215614ec5575f80fd5b614ecd613a2b565b614ed6826144f9565b8152614ee4602083016144f9565b6020820152614ef5604083016147d4565b6040820152614f06606083016147d4565b6060820152614f17608083016144f9565b6080820152614f2860a083016144f9565b60a0820152614f3960c08301614837565b60c082015260e08201516001600160401b03811115614f56575f80fd5b614f62868285016145db565b60e0830152506101008201516001600160401b03811115614f81575f80fd5b614f8d868285016145db565b61010083015250614fa16101208301614e83565b610120820152614fb46101408301614e83565b610140820152614fc761016083016144f9565b610160820152614fda61018083016144f9565b610180820152614fed6101a08301614837565b6101a08201526150006101c08301614837565b6101c08201526150136101e08301614837565b6101e0820152949350505050565b5f60208284031215615031575f80fd5b81516001600160401b03811115615046575f80fd5b82016101408185031215615058575f80fd5b615060613a4e565b61506982614811565b815261507760208301614811565b60208201526150886040830161454e565b604082015261509960608301614837565b60608201526150aa6080830161465b565b60808201526150bb60a0830161465b565b60a08201526150cc60c08301614811565b60c08201526150dd60e083016144f9565b60e08201526101008201516001600160401b038111156150fb575f80fd5b615107868285016145db565b610100830152506101208201516001600160401b03811115615127575f80fd5b615133868285016145db565b61012083015250949350505050565b5f610240828403128015615154575f80fd5b5061515d613a71565b615166836144f9565b8152615174602084016144f9565b6020820152615185604084016144f9565b6040820152615196606084016144f9565b60608201526151a7608084016144f9565b60808201526151b860a084016144f9565b60a08201526151c960c084016144f9565b60c08201526151da60e084016144f9565b60e08201526151ec61010084016144f9565b6101008201526151ff61012084016144f9565b61012082015261521261014084016144f9565b61014082015261522561016084016144f9565b61016082015261523861018084016144f9565b61018082015261524b6101a084016144f9565b6101a082015261525e6101c084016144f9565b6101c08201526152716101e084016144f9565b6101e082015261528461020084016144f9565b61020082015261529761022084016144f9565b6102208201529392505050565b634e487b7160e01b5f52601160045260245ffd5b62ffffff8181168382160190811115610b8257610b826152a4565b80820180821115610b8257610b826152a4565b5f602082840312156152f6575f80fd5b8151610d4e8161372f565b5f60208284031215615311575f80fd5b81516001600160401b03811115615326575f80fd5b820160a08185031215615337575f80fd5b61533f613a94565b815161534a8161372f565b8152602082015161535a8161360b565b6020820152604082015161536d81614374565b6040820152606082015161538081613c2d565b606082015260808201516001600160401b0381111561539d575f80fd5b6153a9868285016145db565b608083015250949350505050565b5f602082840312156153c7575f80fd5b81516001600160401b038111156153dc575f80fd5b820161010081850312156153ee575f80fd5b6153f66139a2565b6153ff826144f9565b815260208201516001600160401b03811115615419575f80fd5b615425868285016145db565b602083015250615437604083016144f9565b604082015260608201516001600160401b03811115615454575f80fd5b615460868285016145db565b60608301525060808201516001600160401b0381111561547e575f80fd5b61548a868285016145db565b60808301525061549c60a08301614837565b60a08201526154ad60c08301614837565b60c08201526154be60e0830161465b565b60e082015294935050505056fea26469706673582212204b6beaa0d05f1a1fbe1d1a3bdeb22632c1e59e4b2aba4900b7db27c8350b354764736f6c634300081a0033",
2101
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610417575f3560e01c80637bfd321711610221578063d06458c61161012a578063f0b1d210116100b4578063f7f318d311610084578063f7f318d314610a95578063fad77c3b14610aa8578063fcad2c4b14610abb578063fd80249214610ace578063febe92af14610aee575f80fd5b8063f0b1d21014610a3c578063f0ea17c314610a4f578063f3ed991914610a6f578063f4809edd14610a82575f80fd5b8063de7b5d14116100fa578063de7b5d14146109bc578063dfbf1640146109cd578063e2eb023b146109e0578063e444c3df146109f3578063e98413ff14610a13575f80fd5b8063d06458c614610965578063d4cda0d814610985578063db70354c14610996578063dd26287a146109a9575f80fd5b8063a310e2a3116101ab578063ba579bdc1161017b578063ba579bdc1461090f578063ba62fbe414610922578063bd7d9d851461092a578063c71e261f1461094a578063cd55e51b14610952575f80fd5b8063a310e2a31461084c578063a5961b4c1461085f578063a7ef3d21146108bb578063b82d7ef5146108db575f80fd5b80638129fc1c116101f15780638129fc1c146107eb578063887b1fa9146107f35780638eb9000d146108135780639096a1f31461082657806394b9929b14610839575f80fd5b80637bfd3217146107aa5780637d8f1e81146107bd5780637e54602a146107d05780637e798669146107e3575f80fd5b8063380bd950116103235780635ab1bd53116102ad5780636791f7ab1161027d5780636791f7ab1461073e5780636a05a413146107535780636dddada4146107735780636ebed9081461078457806378ae935014610797575f80fd5b80635ab1bd53146106f057806364eb3a9b1461070557806364fc3142146107185780636553994c1461072b575f80fd5b80634793b4ab116102f35780634793b4ab146106675780634a4fbeec146106875780634d21a63d146106aa5780634fb784f5146106bd57806357f80bbf146106d0575f80fd5b8063380bd950146106085780633b046f091461061b5780633f071275146106415780633f093cd614610654575f80fd5b806315b74532116103a45780632c0cd060116103745780632c0cd060146105a95780632f458a11146105bc57806333fc7dee146105cf57806334bd5be3146105e257806335898f5d146105f5575f80fd5b806315b74532146105435780631d3be47714610556578063228e42ec1461057657806327b1d79214610589575f80fd5b80630e0c586d116103ea5780630e0c586d146104a357806310bf267b146104c8578063128817d4146104ef57806313ab148d1461050f5780631488c84514610530575f80fd5b80630232ca491461041b57806309648a9d1461044b57806309c5844f146104705780630b5d931c14610483575b5f80fd5b61042e610429366004613622565b610b0e565b6040516001600160601b0390911681526020015b60405180910390f35b61045e61045936600461363d565b610b88565b60405160ff9091168152602001610442565b61045e61047e366004613622565b610bfd565b610496610491366004613622565b610c76565b6040516104429190613697565b6004546001600160a01b03165b6040516001600160a01b039091168152602001610442565b6104db6104d636600461373e565b610d5b565b60405162ffffff9091168152602001610442565b6105026104fd366004613775565b610d71565b604051610442919061379f565b61052261051d366004613622565b610df1565b604051908152602001610442565b6104b061053e3660046137b4565b610e65565b61042e61055136600461363d565b610ee1565b6105696105643660046137f1565b610f12565b604051610442919061383a565b61042e610584366004613622565b611063565b61059c610597366004613622565b61109c565b60405161044291906138fe565b61042e6105b7366004613622565b611157565b6105226105ca366004613622565b611177565b6105226105dd366004613622565b6111b5565b6105226105f0366004613622565b6111f3565b610522610603366004613622565b611266565b61042e61061636600461394a565b611292565b61062e610629366004613622565b611313565b60405161ffff9091168152602001610442565b61052261064f366004613622565b611328565b610502610662366004613b0c565b611354565b61067a610675366004613622565b6113aa565b6040516104429190613bb9565b61069a610695366004613c41565b61148a565b6040519015158152602001610442565b6104b06106b8366004613622565b61155e565b6105226106cb366004613622565b6115b6565b6106e36106de366004613622565b6115e2565b6040516104429190613c5c565b5f5461010090046001600160a01b03166104b0565b610522610713366004613622565b6116b3565b61069a610726366004613ce9565b6116df565b6105226107393660046137f1565b6117c4565b61075161074c366004613c41565b6117f5565b005b610766610761366004613622565b611b4e565b6040516104429190613d15565b6003546001600160a01b03166104b0565b61042e610792366004613775565b611bef565b61045e6107a536600461373e565b611c2f565b6105226107b8366004613622565b611d26565b61045e6107cb366004613622565b611d52565b6105226107de366004613622565b611d6e565b61042e611d9a565b610751611e12565b6108066108013660046137f1565b611e40565b6040516104429190613d9c565b61042e610821366004613622565b611f6d565b61045e610834366004613622565b611fa6565b610522610847366004613622565b611fc2565b6104b061085a366004613622565b611ffb565b61087261086d36600461363d565b6120a1565b60405161044291905f60808201905060ff835116825260ff602084015116602083015263ffffffff604084015116604083015263ffffffff606084015116606083015292915050565b6108ce6108c936600461373e565b61212b565b6040516104429190613dda565b6108ee6108e93660046137f1565b61228a565b604080516001600160a01b03909316835260ff909116602083015201610442565b61069a61091d366004613622565b612526565b610522612774565b61093d610938366004613622565b61284c565b6040516104429190613e74565b610522612964565b61069a610960366004613ce9565b6129cf565b6109786109733660046137f1565b612a79565b6040516104429190613ff0565b6002546001600160a01b03166104b0565b61042e6109a4366004613775565b612bdd565b6105226109b7366004613622565b612c1d565b6001546001600160a01b03166104b0565b6104b06109db366004613622565b612c49565b6105226109ee366004613c41565b612ca1565b610a06610a01366004613622565b612ce3565b60405161044291906140ce565b610a26610a213660046142ce565b612e0c565b60405164ffffffffff9091168152602001610442565b61069a610a4a3660046142fa565b612e9e565b610a62610a5d366004613622565b612ee7565b6040516104429190614326565b61045e610a7d366004614386565b612f9b565b610502610a90366004613775565b612ffd565b610522610aa3366004613622565b613042565b61062e610ab636600461363d565b61306e565b61045e610ac93660046137f1565b6130f1565b610ae1610adc366004614386565b613240565b60405161044291906143b2565b610b01610afc366004614410565b613385565b604051610442919061442b565b600254604051630232ca4960e01b81526001600160601b03831660048201525f916001600160a01b031690630232ca49906024015b602060405180830381865afa158015610b5e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b829190614509565b92915050565b60025460405163296586d360e21b8152600481018390525f916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015610bcf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bf39190614559565b6020015192915050565b6002545f906001600160a01b03166309648a9d610c19846111f3565b6040518263ffffffff1660e01b8152600401610c3791815260200190565b602060405180830381865afa158015610c52573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b8291906145c0565b60408051610100810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e08201526002549091906001600160a01b03166354f6127f610cd185611d26565b6040518263ffffffff1660e01b8152600401610cef91815260200190565b5f60405180830381865afa158015610d09573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610d30919081019061462a565b805190915015610d555780806020019051810190610d4e91906146f2565b9392505050565b50919050565b5f610d66838361212b565b606001519392505050565b600480546040516304a205f560e21b81526001600160601b03851692810192909252602482018390525f916001600160a01b039091169063128817d4906044015b602060405180830381865afa158015610dcd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d4e91906147df565b6003546040516313ab148d60e01b81526001600160601b03831660048201525f916001600160a01b0316906313ab148d906024015b602060405180830381865afa158015610e41573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b8291906147fa565b604051631488c84560e01b8152600481018390525f82810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af4158015610ebd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d4e919061481c565b600154604051630adba29960e11b8152600481018390525f916001600160a01b0316906315b7453290602401610b43565b60408051610100810182525f8082526020820181905260609282018390528282018190526080820181905260a0820181905260c082015260e08101919091526002546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590610fa7906001600160c01b031989169060040161379f565b602060405180830381865af4158015610fc2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fe691906147fa565b6040518263ffffffff1660e01b815260040161100491815260200190565b5f60405180830381865afa15801561101e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611045919081019061462a565b805190915015610d555780806020019051810190610d4e9190614842565b6002546040516308a390bb60e21b81526001600160601b03831660048201525f916001600160a01b03169063228e42ec90602401610b43565b604080516080810182525f80825260208201819052918101919091526060808201526002545f906001600160a01b03166354f6127f6110da85611d6e565b6040518263ffffffff1660e01b81526004016110f891815260200190565b5f60405180830381865afa158015611112573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611139919081019061462a565b805190915015610d555780806020019051810190610d4e919061492f565b5f806111628361284c565b9050610d4e81608001518261016001516134d3565b60048054604051632f458a1160e01b81526001600160601b038416928101929092525f916001600160a01b0390911690632f458a1190602401610e26565b600480546040516319fe3ef760e11b81526001600160601b038416928101929092525f916001600160a01b03909116906333fc7dee90602401610e26565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416602b5b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610e41573d5f803e3d5ffd5b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600e61121b565b600480546040516346cad99560e11b81526001600160c01b0319851692810192909252602482018390525f916001600160a01b0390911690638d95b32a906044015b602060405180830381865afa1580156112ef573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d4e9190614509565b5f61131d8261284c565b610120015192915050565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416602961121b565b604051631f849e6b60e11b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd69061138f90869086906004016149d0565b602060405180830381865af4158015610dcd573d5f803e3d5ffd5b6113f16040805160c0810182525f80825260208083018290528284018290526060830182905283518085019094528184528301529060808201908152602001606081525090565b6002545f906001600160a01b03166354f6127f61140d85613042565b6040518263ffffffff1660e01b815260040161142b91815260200190565b5f60405180830381865afa158015611445573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261146c919081019061462a565b805190915015610d555780806020019051810190610d4e9190614a53565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa1580156114d1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114f5919061481c565b604051629b7b3560e61b81526001600160a01b03848116600483015291909116906326decd4090602401602060405180830381865afa15801561153a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b829190614b17565b5f8061156983611ffb565b90506001600160a01b03811615610d5557806001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ebd573d5f803e3d5ffd5b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600b61121b565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091526002545f906001600160a01b03166354f6127f61163685612c1d565b6040518263ffffffff1660e01b815260040161165491815260200190565b5f60405180830381865afa15801561166e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611695919081019061462a565b805190915015610d555780806020019051810190610d4e9190614b30565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601561121b565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015611726573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061174a919061481c565b60405163327e18a160e11b81526001600160a01b0385811660048301526001600160401b038516602483015291909116906364fc3142906044015b602060405180830381865afa1580156117a0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d4e9190614b17565b6004805460405163380d295960e21b81525f926001600160a01b039092169163e034a56491610e269186910161379f565b5f5460ff16156118185760405163ae9eff1b60e01b815260040160405180910390fd5b5f805460ff1916600190811790915580546001600160a01b0383166001600160a01b0319909116811790915560408051635ab1bd5360e01b81529051635ab1bd53916004808201926020929091908290030181865afa15801561187d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118a1919061481c565b5f8054610100600160a81b0319166101006001600160a01b039384160217905560015460408051631a99b41b60e31b81529051919092169163d4cda0d89160048083019260209291908290030181865afa158015611901573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611925919061481c565b600280546001600160a01b0319166001600160a01b0392831617905560015460408051631b776b6960e21b815290519190921691636dddada49160048083019260209291908290030181865afa158015611981573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119a5919061481c565b600380546001600160a01b0319166001600160a01b0392831617905560015460408051630e0c586d60e01b815290519190921691630e0c586d9160048083019260209291908290030181865afa158015611a01573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a25919061481c565b600480546001600160a01b0319166001600160a01b039283161790555f5461010090041663d39e6043600e60015f9054906101000a90046001600160a01b03166001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611aa0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ac491906145c0565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611b07573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b2b919061481c565b600580546001600160a01b0319166001600160a01b039290921691909117905550565b611b56613533565b6002545f906001600160a01b03166354f6127f611b7285611328565b6040518263ffffffff1660e01b8152600401611b9091815260200190565b5f60405180830381865afa158015611baa573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611bd1919081019061462a565b805190915015610d555780806020019051810190610d4e9190614bc8565b600354604051630dd7db2160e31b81526001600160601b0384166004820152602481018390525f916001600160a01b031690636ebed908906044016112d4565b600254604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b22906044015b602060405180830381865af4158015611ca5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cc991906147fa565b6040518263ffffffff1660e01b8152600401611ce791815260200190565b602060405180830381865afa158015611d02573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d4e91906145c0565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600c61121b565b6002545f906001600160a01b03166309648a9d610c1984613042565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601761121b565b5f8054600154604051632f2a35f760e11b81526001600160a01b0391821660048201526101009092041690635e546bee90602401602060405180830381865afa158015611de9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e0d9190614509565b905090565b5f5460ff1615611e355760405163ae9eff1b60e01b815260040160405180910390fd5b611e3e336117f5565b565b60408051606080820183525f8083526020830152918101919091526002546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611eb1906001600160c01b031989169060040161379f565b602060405180830381865af4158015611ecc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ef091906147fa565b6040518263ffffffff1660e01b8152600401611f0e91815260200190565b5f60405180830381865afa158015611f28573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611f4f919081019061462a565b805190915015610d555780806020019051810190610d4e9190614c59565b600254604051638eb9000d60e01b81526001600160601b03831660048201525f916001600160a01b031690638eb9000d90602401610b43565b6002545f906001600160a01b03166309648a9d610c19846116b3565b6003546040516394b9929b60e01b81526001600160601b03831660048201525f916001600160a01b0316906394b9929b90602401610e26565b6002545f9081906001600160a01b03166354f6127f612019856115b6565b6040518263ffffffff1660e01b815260040161203791815260200190565b5f60405180830381865afa158015612051573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612078919081019061462a565b805190915015610d5557808060200190518101906120969190614ce9565b602001519392505050565b604080516080810182525f808252602082018190528183018190526060820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015612107573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b829190614559565b6040805160e0810182525f808252602082018190529181018290526060808201839052608082019290925260a0810182905260c0810191909152600254604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af41580156121da573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121fe91906147fa565b6040518263ffffffff1660e01b815260040161221c91815260200190565b5f60405180830381865afa158015612236573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261225d919081019061462a565b805190915015612283578080602001905181019061227b9190614d64565b915050610b82565b5092915050565b5f805f61229684610f12565b60c081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af41580156122f3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123179190614b17565b156123945773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612363573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612387919061481c565b60645b9250925050915091565b6124168160c0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156123e3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124079190614e4d565b64ffffffffff90811691161090565b1561248d5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612462573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612486919061481c565b606e61238a565b806080015163ffffffff168160a0015163ffffffff161061251a5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156124ef573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612513919061481c565b607861238a565b6060810151600a61238a565b5f806125318361284c565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af415801561258d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125b19190614b17565b156125be57505f92915050565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015612619573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061263d9190614b17565b1561264a57505f92915050565b6126cd816101a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561269a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126be9190614e4d565b64ffffffffff90811691161190565b156126da57505f92915050565b61275e816101c0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561272a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061274e9190614e4d565b64ffffffffff9081169116111590565b1561276b57505f92915050565b50600192915050565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa1580156127bb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127df919061481c565b6001600160a01b031663ba62fbe46040518163ffffffff1660e01b8152600401602060405180830381865afa15801561281a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061283e9190614e68565b6001600160401b0316905090565b60408051610200810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820181905261010082015261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002545f906001600160a01b03166354f6127f6128e7856116b3565b6040518263ffffffff1660e01b815260040161290591815260200190565b5f60405180830381865afa15801561291f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612946919081019061462a565b805190915015610d555780806020019051810190610d4e9190614e8e565b6001546040805163c71e261f60e01b815290515f926001600160a01b03169163c71e261f9160048083019260209291908290030181865afa1580156129ab573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e0d91906147fa565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015612a16573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a3a919061481c565b60405163cd55e51b60e01b81526001600160a01b0385811660048301526001600160401b0385166024830152919091169063cd55e51b90604401611785565b60408051610140810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e082019290925261010081018290526101208101919091526002546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590612b21906001600160c01b031989169060040161379f565b602060405180830381865af4158015612b3c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b6091906147fa565b6040518263ffffffff1660e01b8152600401612b7e91815260200190565b5f60405180830381865afa158015612b98573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612bbf919081019061462a565b805190915015610d555780806020019051810190610d4e9190615021565b6003546040516336dc0d5360e21b81526001600160601b0384166004820152602481018390525f916001600160a01b03169063db70354c906044016112d4565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600f61121b565b5f80612c5483611ffb565b90506001600160a01b03811615610d5557806001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ebd573d5f803e3d5ffd5b60405163e2eb023b60e01b81526001600160a01b03821660048201525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__9063e2eb023b9060240161124b565b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e0810182905261020081018290526102208101919091526002545f906001600160a01b03166354f6127f612d8f856111f3565b6040518263ffffffff1660e01b8152600401612dad91815260200190565b5f60405180830381865afa158015612dc7573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612dee919081019061462a565b805190915015610d555780806020019051810190610d4e9190615142565b5f73__$0f9396e6447a4be57af83e53f51d234633$__6359fad7ca84612e338560016152b8565b6040516001600160e01b031960e085901b16815261ffff909216600483015262ffffff166024820152604401602060405180830381865af4158015612e7a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d4e9190614e4d565b6005546040516309741ce160e21b81526001600160601b03841660048201526001600160c01b0319831660248201525f916001600160a01b0316906325d0738490604401611785565b60408051606080820183528082525f6020830152918101919091526002545f906001600160a01b03166354f6127f612f1e856115b6565b6040518263ffffffff1660e01b8152600401612f3c91815260200190565b5f60405180830381865afa158015612f56573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612f7d919081019061462a565b805190915015610d555780806020019051810190610d4e9190614ce9565b600254604051632867b75960e21b815264ffffffffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401611c8a565b6004805460405163f4809edd60e01b81526001600160601b03851692810192909252602482018390525f916001600160a01b039091169063f4809edd90604401610db2565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601661121b565b5f73__$9e81531fe4994e01e99541f86b55500b4b$__639cc45a366130948460016152d3565b6040518263ffffffff1660e01b81526004016130b291815260200190565b602060405180830381865af41580156130cd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b8291906152e6565b6002546040516355ee627560e01b81525f9182916001600160a01b03909116906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee62759061314b906001600160c01b031989169060040161379f565b602060405180830381865af4158015613166573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061318a91906147fa565b6040518263ffffffff1660e01b81526004016131a891815260200190565b5f60405180830381865afa1580156131c2573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526131e9919081019061462a565b6002546040516355ee627560e01b81529192506001600160a01b0316906309648a9d9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611c8a906001600160c01b031989169060040161379f565b6040805160a0810182525f808252602082018190529181018290526060808201929092526080810191909152600254604051632867b75960e21b815264ffffffffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401602060405180830381865af41580156132e4573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061330891906147fa565b6040518263ffffffff1660e01b815260040161332691815260200190565b5f60405180830381865afa158015613340573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613367919081019061462a565b805190915015612283578080602001905181019061227b9190615301565b60408051610100810182525f808252606060208301819052928201819052828201839052608082019290925260a0810182905260c0810182905260e0810191909152600254604051630f37f38f60e41b81526001600160401b03841660048201525f916001600160a01b0316906354f6127f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015613432573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061345691906147fa565b6040518263ffffffff1660e01b815260040161347491815260200190565b5f60405180830381865afa15801561348e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526134b5919081019061462a565b805190915015610d555780806020019051810190610d4e91906153b7565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401602060405180830381865af41580156112ef573d5f803e3d5ffd5b6040805161012081019091525f60e0820181815261010083019190915281908152602001613570604080518082019091525f808252602082015290565b815260200161358e604080518082019091525f808252602082015290565b81526020016135ac604080518082019091525f808252602082015290565b81526020016135ca604080518082019091525f808252602082015290565b81526020016135e8604080518082019091525f808252602082015290565b8152602001613606604080518082019091525f808252602082015290565b905290565b6001600160601b038116811461361f575f80fd5b50565b5f60208284031215613632575f80fd5b8135610d4e8161360b565b5f6020828403121561364d575f80fd5b5035919050565b5f8151808452602084019350602083015f5b8281101561368d5781516001600160601b0316865260209586019590910190600101613666565b5093949350505050565b602081528151151560208201526020820151151560408201525f60408301516136c4606084018215159052565b50606083015160ff8116608084015250608083015160ff811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e083015161010080840152613727610120840182613654565b949350505050565b61ffff8116811461361f575f80fd5b5f806040838503121561374f575f80fd5b823561375a8161360b565b9150602083013561376a8161372f565b809150509250929050565b5f8060408385031215613786575f80fd5b82356137918161360b565b946020939093013593505050565b6001600160c01b031991909116815260200190565b5f80604083850312156137c5575f80fd5b8235915060208301355f81900b811461376a575f80fd5b6001600160c01b03198116811461361f575f80fd5b5f60208284031215613801575f80fd5b8135610d4e816137dc565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f602083015161386960408401826001600160601b03169052565b506040830151610100606084015261388561012084018261380c565b905060608401516138a160808501826001600160a01b03169052565b50608084015163ffffffff811660a08501525060a084015163ffffffff811660c08501525060c084015164ffffffffff811660e08501525060e0840151838203601f19016101008501526138f5828261380c565b95945050505050565b602081526001600160401b0360c01b825116602082015260208201511515604082015263ffffffff60408301511660608201525f606083015160808084015261372760a084018261380c565b5f806040838503121561395b575f80fd5b8235613791816137dc565b634e487b7160e01b5f52604160045260245ffd5b604051608081016001600160401b038111828210171561399c5761399c613966565b60405290565b60405161010081016001600160401b038111828210171561399c5761399c613966565b60405160c081016001600160401b038111828210171561399c5761399c613966565b60405160e081016001600160401b038111828210171561399c5761399c613966565b604051606081016001600160401b038111828210171561399c5761399c613966565b60405161020081016001600160401b038111828210171561399c5761399c613966565b60405161014081016001600160401b038111828210171561399c5761399c613966565b60405161024081016001600160401b038111828210171561399c5761399c613966565b60405160a081016001600160401b038111828210171561399c5761399c613966565b604051601f8201601f191681016001600160401b0381118282101715613ade57613ade613966565b604052919050565b5f6001600160401b03821115613afe57613afe613966565b50601f01601f191660200190565b5f8060408385031215613b1d575f80fd5b8235613b288161360b565b915060208301356001600160401b03811115613b42575f80fd5b8301601f81018513613b52575f80fd5b8035613b65613b6082613ae6565b613ab6565b818152866020838501011115613b79575f80fd5b816020840160208301375f602083830101528093505050509250929050565b80516001600160a01b031682526020908101516001600160601b0316910152565b6020815264ffffffffff825116602082015264ffffffffff602083015116604082015264ffffffffff60408301511660608201526001600160601b0360608301511660808201525f6080830151613c1360a0840182613b98565b5060a083015160e08084015261372761010084018261380c565b6001600160a01b038116811461361f575f80fd5b5f60208284031215613c51575f80fd5b8135610d4e81613c2d565b5f60e0820190506001600160601b03835116825260208301511515602083015260408301511515604083015260608301511515606083015260808301511515608083015260a0830151613cba60a08401826001600160a01b03169052565b5060c083015161228360c08401826001600160a01b03169052565b6001600160401b038116811461361f575f80fd5b5f8060408385031215613cfa575f80fd5b8235613d0581613c2d565b9150602083013561376a81613cd5565b5f6101c082019050613d28828451613b98565b6020830151613d3a6040840182613b98565b506040830151613d4d6080840182613b98565b506060830151613d6060c0840182613b98565b506080830151613d74610100840182613b98565b5060a0830151613d88610140840182613b98565b5060c0830151612283610180840182613b98565b602081526001600160601b03825116602082015264ffffffffff60208301511660408201525f6040830151606080840152613727608084018261380c565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f6040830151613e1a606084018264ffffffffff169052565b50606083015162ffffff8116608084015250608083015162ffffff811660a08401525060a083015160e060c0840152613e5761010084018261380c565b905060c0840151601f198483030160e08501526138f5828261380c565b60208152613e8e6020820183516001600160601b03169052565b5f6020830151613ea960408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c083015164ffffffffff811660e08401525060e0830151610200610100840152613f2f61022084018261380c565b9050610100840151601f1984830301610120850152613f4e828261380c565b915050610120840151613f6861014085018261ffff169052565b5061014084015161ffff8116610160850152506101608401516001600160601b038116610180850152506101808401516001600160601b0381166101a0850152506101a084015164ffffffffff81166101c0850152506101c084015164ffffffffff81166101e0850152506101e084015164ffffffffff81166102008501525b509392505050565b6020815261400a6020820183516001600160a01b03169052565b5f602083015161402560408401826001600160a01b03169052565b50604083015163ffffffff8116606084015250606083015164ffffffffff8116608084015250608083015180151560a08401525060a083015180151560c08401525060c08301516001600160a01b03811660e08401525060e08301516001600160601b038116610100840152506101008301516101406101208401526140af61016084018261380c565b9050610120840151601f19848303016101408501526138f5828261380c565b81516001600160601b03168152610240810160208301516140fa60208401826001600160601b03169052565b50604083015161411560408401826001600160601b03169052565b50606083015161413060608401826001600160601b03169052565b50608083015161414b60808401826001600160601b03169052565b5060a083015161416660a08401826001600160601b03169052565b5060c083015161418160c08401826001600160601b03169052565b5060e083015161419c60e08401826001600160601b03169052565b506101008301516141b96101008401826001600160601b03169052565b506101208301516141d66101208401826001600160601b03169052565b506101408301516141f36101408401826001600160601b03169052565b506101608301516142106101608401826001600160601b03169052565b5061018083015161422d6101808401826001600160601b03169052565b506101a083015161424a6101a08401826001600160601b03169052565b506101c08301516142676101c08401826001600160601b03169052565b506101e08301516142846101e08401826001600160601b03169052565b506102008301516142a16102008401826001600160601b03169052565b506102208301516122836102208401826001600160601b03169052565b62ffffff8116811461361f575f80fd5b5f80604083850312156142df575f80fd5b82356142ea8161372f565b9150602083013561376a816142be565b5f806040838503121561430b575f80fd5b82356143168161360b565b9150602083013561376a816137dc565b602081525f825160606020840152614341608084018261380c565b60208501516001600160a01b0316604085810191909152850151848203601f190160608601529091506138f5828261380c565b64ffffffffff8116811461361f575f80fd5b5f8060408385031215614397575f80fd5b82356143a28161360b565b9150602083013561376a81614374565b6020815261ffff82511660208201526001600160601b03602083015116604082015264ffffffffff604083015116606082015260018060a01b0360608301511660808201525f608083015160a08084015261372760c084018261380c565b5f60208284031215614420575f80fd5b8135610d4e81613cd5565b602081526144456020820183516001600160601b03169052565b5f6020830151610100604084015261446161012084018261380c565b9050604084015161447d60608501826001600160601b03169052565b506060840151838203601f19016080850152614499828261380c565b9150506080840151601f198483030160a08501526144b7828261380c565b91505060a08401516144d260c085018264ffffffffff169052565b5060c084015164ffffffffff811660e08501525060e0840151801515610100850152613fe8565b80516145048161360b565b919050565b5f60208284031215614519575f80fd5b8151610d4e8161360b565b60ff8116811461361f575f80fd5b805161450481614524565b63ffffffff8116811461361f575f80fd5b80516145048161453d565b5f608082840312801561456a575f80fd5b5061457361397a565b825161457e81614524565b8152602083015161458e81614524565b602082015260408301516145a18161453d565b604082015260608301516145b48161453d565b60608201529392505050565b5f602082840312156145d0575f80fd5b8151610d4e81614524565b5f82601f8301126145ea575f80fd5b8151602083015f6145fd613b6084613ae6565b9050828152858383011115614610575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f6020828403121561463a575f80fd5b81516001600160401b0381111561464f575f80fd5b613727848285016145db565b80518015158114614504575f80fd5b5f82601f830112614679575f80fd5b81516001600160401b0381111561469257614692613966565b8060051b6146a260208201613ab6565b918252602081850181019290810190868411156146bd575f80fd5b6020860192505b838310156146e85782516146d78161360b565b8252602092830192909101906146c4565b9695505050505050565b5f60208284031215614702575f80fd5b81516001600160401b03811115614717575f80fd5b82016101008185031215614729575f80fd5b6147316139a2565b61473a8261465b565b81526147486020830161465b565b60208201526147596040830161465b565b604082015261476a60608301614532565b606082015261477b60808301614532565b608082015261478c60a083016144f9565b60a082015261479d60c083016144f9565b60c082015260e08201516001600160401b038111156147ba575f80fd5b6147c68682850161466a565b60e083015250949350505050565b8051614504816137dc565b5f602082840312156147ef575f80fd5b8151610d4e816137dc565b5f6020828403121561480a575f80fd5b5051919050565b805161450481613c2d565b5f6020828403121561482c575f80fd5b8151610d4e81613c2d565b805161450481614374565b5f60208284031215614852575f80fd5b81516001600160401b03811115614867575f80fd5b82016101008185031215614879575f80fd5b6148816139a2565b61488a826144f9565b8152614898602083016144f9565b602082015260408201516001600160401b038111156148b5575f80fd5b6148c1868285016145db565b6040830152506148d360608301614811565b60608201526148e46080830161454e565b60808201526148f560a0830161454e565b60a082015261490660c08301614837565b60c082015260e08201516001600160401b03811115614923575f80fd5b6147c6868285016145db565b5f6020828403121561493f575f80fd5b81516001600160401b03811115614954575f80fd5b820160808185031215614965575f80fd5b61496d61397a565b8151614978816137dc565b81526149866020830161465b565b602082015260408201516149998161453d565b604082015260608201516001600160401b038111156149b6575f80fd5b6149c2868285016145db565b606083015250949350505050565b6001600160601b0383168152604060208201525f613727604083018461380c565b5f60408284031215614a01575f80fd5b604080519081016001600160401b0381118282101715614a2357614a23613966565b80604052508091508251614a3681613c2d565b81526020830151614a468161360b565b6020919091015292915050565b5f60208284031215614a63575f80fd5b81516001600160401b03811115614a78575f80fd5b820160e08185031215614a89575f80fd5b614a916139c5565b8151614a9c81614374565b81526020820151614aac81614374565b6020820152614abd60408301614837565b6040820152614ace606083016144f9565b6060820152614ae085608084016149f1565b608082015260c08201516001600160401b03811115614afd575f80fd5b614b09868285016145db565b60a083015250949350505050565b5f60208284031215614b27575f80fd5b610d4e8261465b565b5f60e0828403128015614b41575f80fd5b50614b4a6139e7565b8251614b558161360b565b8152614b636020840161465b565b6020820152614b746040840161465b565b6040820152614b856060840161465b565b6060820152614b966080840161465b565b608082015260a0830151614ba981613c2d565b60a082015260c0830151614bbc81613c2d565b60c08201529392505050565b5f6101c0828403128015614bda575f80fd5b50614be36139e7565b614bed84846149f1565b8152614bfc84604085016149f1565b6020820152614c0e84608085016149f1565b6040820152614c208460c085016149f1565b6060820152614c338461010085016149f1565b6080820152614c468461014085016149f1565b60a0820152614bbc8461018085016149f1565b5f60208284031215614c69575f80fd5b81516001600160401b03811115614c7e575f80fd5b820160608185031215614c8f575f80fd5b614c97613a09565b8151614ca28161360b565b81526020820151614cb281614374565b602082015260408201516001600160401b03811115614ccf575f80fd5b614cdb868285016145db565b604083015250949350505050565b5f60208284031215614cf9575f80fd5b81516001600160401b03811115614d0e575f80fd5b820160608185031215614d1f575f80fd5b614d27613a09565b81516001600160401b03811115614d3c575f80fd5b614d48868285016145db565b8252506020820151614cb281613c2d565b8051614504816142be565b5f60208284031215614d74575f80fd5b81516001600160401b03811115614d89575f80fd5b820160e08185031215614d9a575f80fd5b614da26139e7565b614dab826144f9565b8152614db9602083016144f9565b6020820152614dca60408301614837565b6040820152614ddb60608301614d59565b6060820152614dec60808301614d59565b608082015260a08201516001600160401b03811115614e09575f80fd5b614e15868285016145db565b60a08301525060c08201516001600160401b03811115614e33575f80fd5b614e3f868285016145db565b60c083015250949350505050565b5f60208284031215614e5d575f80fd5b8151610d4e81614374565b5f60208284031215614e78575f80fd5b8151610d4e81613cd5565b80516145048161372f565b5f60208284031215614e9e575f80fd5b81516001600160401b03811115614eb3575f80fd5b82016102008185031215614ec5575f80fd5b614ecd613a2b565b614ed6826144f9565b8152614ee4602083016144f9565b6020820152614ef5604083016147d4565b6040820152614f06606083016147d4565b6060820152614f17608083016144f9565b6080820152614f2860a083016144f9565b60a0820152614f3960c08301614837565b60c082015260e08201516001600160401b03811115614f56575f80fd5b614f62868285016145db565b60e0830152506101008201516001600160401b03811115614f81575f80fd5b614f8d868285016145db565b61010083015250614fa16101208301614e83565b610120820152614fb46101408301614e83565b610140820152614fc761016083016144f9565b610160820152614fda61018083016144f9565b610180820152614fed6101a08301614837565b6101a08201526150006101c08301614837565b6101c08201526150136101e08301614837565b6101e0820152949350505050565b5f60208284031215615031575f80fd5b81516001600160401b03811115615046575f80fd5b82016101408185031215615058575f80fd5b615060613a4e565b61506982614811565b815261507760208301614811565b60208201526150886040830161454e565b604082015261509960608301614837565b60608201526150aa6080830161465b565b60808201526150bb60a0830161465b565b60a08201526150cc60c08301614811565b60c08201526150dd60e083016144f9565b60e08201526101008201516001600160401b038111156150fb575f80fd5b615107868285016145db565b610100830152506101208201516001600160401b03811115615127575f80fd5b615133868285016145db565b61012083015250949350505050565b5f610240828403128015615154575f80fd5b5061515d613a71565b615166836144f9565b8152615174602084016144f9565b6020820152615185604084016144f9565b6040820152615196606084016144f9565b60608201526151a7608084016144f9565b60808201526151b860a084016144f9565b60a08201526151c960c084016144f9565b60c08201526151da60e084016144f9565b60e08201526151ec61010084016144f9565b6101008201526151ff61012084016144f9565b61012082015261521261014084016144f9565b61014082015261522561016084016144f9565b61016082015261523861018084016144f9565b61018082015261524b6101a084016144f9565b6101a082015261525e6101c084016144f9565b6101c08201526152716101e084016144f9565b6101e082015261528461020084016144f9565b61020082015261529761022084016144f9565b6102208201529392505050565b634e487b7160e01b5f52601160045260245ffd5b62ffffff8181168382160190811115610b8257610b826152a4565b80820180821115610b8257610b826152a4565b5f602082840312156152f6575f80fd5b8151610d4e8161372f565b5f60208284031215615311575f80fd5b81516001600160401b03811115615326575f80fd5b820160a08185031215615337575f80fd5b61533f613a94565b815161534a8161372f565b8152602082015161535a8161360b565b6020820152604082015161536d81614374565b6040820152606082015161538081613c2d565b606082015260808201516001600160401b0381111561539d575f80fd5b6153a9868285016145db565b608083015250949350505050565b5f602082840312156153c7575f80fd5b81516001600160401b038111156153dc575f80fd5b820161010081850312156153ee575f80fd5b6153f66139a2565b6153ff826144f9565b815260208201516001600160401b03811115615419575f80fd5b615425868285016145db565b602083015250615437604083016144f9565b604082015260608201516001600160401b03811115615454575f80fd5b615460868285016145db565b60608301525060808201516001600160401b0381111561547e575f80fd5b61548a868285016145db565b60808301525061549c60a08301614837565b60a08201526154ad60c08301614837565b60c08201526154be60e0830161465b565b60e082015294935050505056fea26469706673582212204b6beaa0d05f1a1fbe1d1a3bdeb22632c1e59e4b2aba4900b7db27c8350b354764736f6c634300081a0033",
1093
2102
  "linkReferences": {
1094
- "contracts/types/DistributorType.sol": {
2103
+ "contracts/type/Amount.sol": {
2104
+ "AmountLib": [
2105
+ {
2106
+ "length": 20,
2107
+ "start": 13600
2108
+ }
2109
+ ]
2110
+ },
2111
+ "contracts/type/ClaimId.sol": {
2112
+ "ClaimIdLib": [
2113
+ {
2114
+ "length": 20,
2115
+ "start": 7313
2116
+ },
2117
+ {
2118
+ "length": 20,
2119
+ "start": 8647
2120
+ },
2121
+ {
2122
+ "length": 20,
2123
+ "start": 12438
2124
+ }
2125
+ ]
2126
+ },
2127
+ "contracts/type/DistributorType.sol": {
1095
2128
  "DistributorTypeLib": [
1096
2129
  {
1097
2130
  "length": 20,
1098
- "start": 5244
2131
+ "start": 11028
1099
2132
  }
1100
2133
  ]
1101
2134
  },
1102
- "contracts/types/NftId.sol": {
2135
+ "contracts/type/NftId.sol": {
1103
2136
  "NftIdLib": [
1104
2137
  {
1105
2138
  "length": 20,
1106
- "start": 1894
2139
+ "start": 4635
1107
2140
  },
1108
2141
  {
1109
2142
  "length": 20,
1110
- "start": 2274
2143
+ "start": 4750
1111
2144
  },
1112
2145
  {
1113
2146
  "length": 20,
1114
- "start": 2669
2147
+ "start": 4944
1115
2148
  },
1116
2149
  {
1117
2150
  "length": 20,
1118
- "start": 2714
2151
+ "start": 5598
1119
2152
  },
1120
2153
  {
1121
2154
  "length": 20,
1122
- "start": 2759
2155
+ "start": 5851
1123
2156
  },
1124
2157
  {
1125
2158
  "length": 20,
1126
- "start": 5471
2159
+ "start": 7502
1127
2160
  },
1128
2161
  {
1129
2162
  "length": 20,
1130
- "start": 6057
2163
+ "start": 7574
2164
+ },
2165
+ {
2166
+ "length": 20,
2167
+ "start": 9594
2168
+ },
2169
+ {
2170
+ "length": 20,
2171
+ "start": 11333
2172
+ },
2173
+ {
2174
+ "length": 20,
2175
+ "start": 12394
2176
+ }
2177
+ ]
2178
+ },
2179
+ "contracts/type/PayoutId.sol": {
2180
+ "PayoutIdLib": [
2181
+ {
2182
+ "length": 20,
2183
+ "start": 11828
2184
+ },
2185
+ {
2186
+ "length": 20,
2187
+ "start": 12288
2188
+ },
2189
+ {
2190
+ "length": 20,
2191
+ "start": 13009
1131
2192
  }
1132
2193
  ]
1133
2194
  },
1134
- "contracts/types/Referral.sol": {
2195
+ "contracts/type/Referral.sol": {
1135
2196
  "ReferralLib": [
1136
2197
  {
1137
2198
  "length": 20,
1138
- "start": 1661
2199
+ "start": 3994
1139
2200
  },
1140
2201
  {
1141
2202
  "length": 20,
1142
- "start": 2333
2203
+ "start": 5002
2204
+ }
2205
+ ]
2206
+ },
2207
+ "contracts/type/RequestId.sol": {
2208
+ "RequestIdLib": [
2209
+ {
2210
+ "length": 20,
2211
+ "start": 13343
1143
2212
  }
1144
2213
  ]
1145
2214
  },
1146
- "contracts/types/RiskId.sol": {
2215
+ "contracts/type/RiskId.sol": {
1147
2216
  "RiskIdLib": [
1148
2217
  {
1149
2218
  "length": 20,
1150
- "start": 2874
2219
+ "start": 7844
2220
+ },
2221
+ {
2222
+ "length": 20,
2223
+ "start": 12606
2224
+ },
2225
+ {
2226
+ "length": 20,
2227
+ "start": 12851
1151
2228
  }
1152
2229
  ]
1153
2230
  },
1154
- "contracts/types/Timestamp.sol": {
2231
+ "contracts/type/Timestamp.sol": {
1155
2232
  "TimestampLib": [
1156
2233
  {
1157
2234
  "length": 20,
1158
- "start": 3929
2235
+ "start": 8928
2236
+ },
2237
+ {
2238
+ "length": 20,
2239
+ "start": 9155
2240
+ },
2241
+ {
2242
+ "length": 20,
2243
+ "start": 9734
2244
+ },
2245
+ {
2246
+ "length": 20,
2247
+ "start": 9850
1159
2248
  },
1160
2249
  {
1161
2250
  "length": 20,
1162
- "start": 4160
2251
+ "start": 9994
1163
2252
  }
1164
2253
  ]
1165
2254
  },
1166
- "contracts/types/UFixed.sol": {
2255
+ "contracts/type/UFixed.sol": {
1167
2256
  "UFixedLib": [
1168
2257
  {
1169
2258
  "length": 20,
1170
- "start": 1451
2259
+ "start": 3754
1171
2260
  },
1172
2261
  {
1173
2262
  "length": 20,
1174
- "start": 2465
2263
+ "start": 9027
1175
2264
  },
1176
2265
  {
1177
2266
  "length": 20,
1178
- "start": 4030
2267
+ "start": 9282
1179
2268
  },
1180
2269
  {
1181
2270
  "length": 20,
1182
- "start": 4289
2271
+ "start": 9423
1183
2272
  },
1184
2273
  {
1185
2274
  "length": 20,
1186
- "start": 4432
2275
+ "start": 11494
1187
2276
  }
1188
2277
  ]
1189
2278
  }
1190
2279
  },
1191
2280
  "deployedLinkReferences": {
1192
- "contracts/types/DistributorType.sol": {
2281
+ "contracts/type/Amount.sol": {
2282
+ "AmountLib": [
2283
+ {
2284
+ "length": 20,
2285
+ "start": 13563
2286
+ }
2287
+ ]
2288
+ },
2289
+ "contracts/type/ClaimId.sol": {
2290
+ "ClaimIdLib": [
2291
+ {
2292
+ "length": 20,
2293
+ "start": 7276
2294
+ },
2295
+ {
2296
+ "length": 20,
2297
+ "start": 8610
2298
+ },
2299
+ {
2300
+ "length": 20,
2301
+ "start": 12401
2302
+ }
2303
+ ]
2304
+ },
2305
+ "contracts/type/DistributorType.sol": {
1193
2306
  "DistributorTypeLib": [
1194
2307
  {
1195
2308
  "length": 20,
1196
- "start": 5212
2309
+ "start": 10991
1197
2310
  }
1198
2311
  ]
1199
2312
  },
1200
- "contracts/types/NftId.sol": {
2313
+ "contracts/type/NftId.sol": {
1201
2314
  "NftIdLib": [
1202
2315
  {
1203
2316
  "length": 20,
1204
- "start": 1862
2317
+ "start": 4598
2318
+ },
2319
+ {
2320
+ "length": 20,
2321
+ "start": 4713
2322
+ },
2323
+ {
2324
+ "length": 20,
2325
+ "start": 4907
2326
+ },
2327
+ {
2328
+ "length": 20,
2329
+ "start": 5561
2330
+ },
2331
+ {
2332
+ "length": 20,
2333
+ "start": 5814
1205
2334
  },
1206
2335
  {
1207
2336
  "length": 20,
1208
- "start": 2242
2337
+ "start": 7465
1209
2338
  },
1210
2339
  {
1211
2340
  "length": 20,
1212
- "start": 2637
2341
+ "start": 7537
1213
2342
  },
1214
2343
  {
1215
2344
  "length": 20,
1216
- "start": 2682
2345
+ "start": 9557
1217
2346
  },
1218
2347
  {
1219
2348
  "length": 20,
1220
- "start": 2727
2349
+ "start": 11296
2350
+ },
2351
+ {
2352
+ "length": 20,
2353
+ "start": 12357
2354
+ }
2355
+ ]
2356
+ },
2357
+ "contracts/type/PayoutId.sol": {
2358
+ "PayoutIdLib": [
2359
+ {
2360
+ "length": 20,
2361
+ "start": 11791
1221
2362
  },
1222
2363
  {
1223
2364
  "length": 20,
1224
- "start": 5439
2365
+ "start": 12251
1225
2366
  },
1226
2367
  {
1227
2368
  "length": 20,
1228
- "start": 6025
2369
+ "start": 12972
1229
2370
  }
1230
2371
  ]
1231
2372
  },
1232
- "contracts/types/Referral.sol": {
2373
+ "contracts/type/Referral.sol": {
1233
2374
  "ReferralLib": [
1234
2375
  {
1235
2376
  "length": 20,
1236
- "start": 1629
2377
+ "start": 3957
1237
2378
  },
1238
2379
  {
1239
2380
  "length": 20,
1240
- "start": 2301
2381
+ "start": 4965
2382
+ }
2383
+ ]
2384
+ },
2385
+ "contracts/type/RequestId.sol": {
2386
+ "RequestIdLib": [
2387
+ {
2388
+ "length": 20,
2389
+ "start": 13306
1241
2390
  }
1242
2391
  ]
1243
2392
  },
1244
- "contracts/types/RiskId.sol": {
2393
+ "contracts/type/RiskId.sol": {
1245
2394
  "RiskIdLib": [
1246
2395
  {
1247
2396
  "length": 20,
1248
- "start": 2842
2397
+ "start": 7807
2398
+ },
2399
+ {
2400
+ "length": 20,
2401
+ "start": 12569
2402
+ },
2403
+ {
2404
+ "length": 20,
2405
+ "start": 12814
1249
2406
  }
1250
2407
  ]
1251
2408
  },
1252
- "contracts/types/Timestamp.sol": {
2409
+ "contracts/type/Timestamp.sol": {
1253
2410
  "TimestampLib": [
1254
2411
  {
1255
2412
  "length": 20,
1256
- "start": 3897
2413
+ "start": 8891
2414
+ },
2415
+ {
2416
+ "length": 20,
2417
+ "start": 9118
2418
+ },
2419
+ {
2420
+ "length": 20,
2421
+ "start": 9697
2422
+ },
2423
+ {
2424
+ "length": 20,
2425
+ "start": 9813
1257
2426
  },
1258
2427
  {
1259
2428
  "length": 20,
1260
- "start": 4128
2429
+ "start": 9957
1261
2430
  }
1262
2431
  ]
1263
2432
  },
1264
- "contracts/types/UFixed.sol": {
2433
+ "contracts/type/UFixed.sol": {
1265
2434
  "UFixedLib": [
1266
2435
  {
1267
2436
  "length": 20,
1268
- "start": 1419
2437
+ "start": 3717
1269
2438
  },
1270
2439
  {
1271
2440
  "length": 20,
1272
- "start": 2433
2441
+ "start": 8990
1273
2442
  },
1274
2443
  {
1275
2444
  "length": 20,
1276
- "start": 3998
2445
+ "start": 9245
1277
2446
  },
1278
2447
  {
1279
2448
  "length": 20,
1280
- "start": 4257
2449
+ "start": 9386
1281
2450
  },
1282
2451
  {
1283
2452
  "length": 20,
1284
- "start": 4400
2453
+ "start": 11457
1285
2454
  }
1286
2455
  ]
1287
2456
  }