@etherisc/gif-next 0.0.2-c9b0563-536 → 0.0.2-c9f64c2-575

Sign up to get free protection for your applications and to get access to all the features.
Files changed (759) hide show
  1. package/README.md +85 -23
  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 +1322 -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/distribution/Distribution.sol/Distribution.json +1016 -0
  34. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1509 -0
  36. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  37. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +864 -0
  38. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  39. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +915 -0
  40. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  41. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +1008 -0
  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 +1475 -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 +2032 -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 +1479 -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 +1195 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1655 -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 +2432 -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 +334 -1496
  72. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  73. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +388 -185
  74. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  75. package/artifacts/contracts/instance/Instance.sol/Instance.json +447 -2505
  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 +1617 -569
  82. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  83. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +443 -447
  84. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  85. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +366 -105
  86. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  87. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3718 -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 -49
  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 +4 -0
  104. package/artifacts/contracts/instance/module/{ITreasury.sol/ITreasury.json → IComponents.sol/IComponents.json} +2 -2
  105. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  106. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  107. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  108. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  109. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  110. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  111. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +959 -0
  112. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  113. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +632 -0
  114. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  115. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  116. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  117. package/artifacts/contracts/{components/IPoolComponent.sol/IPoolComponent.json → oracle/IOracleComponent.sol/IOracleComponent.json} +345 -284
  118. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  119. package/artifacts/contracts/{instance/service/IPolicyService.sol/IPolicyService.json → oracle/IOracleService.sol/IOracleService.json} +310 -343
  120. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  121. package/artifacts/contracts/{components/Distribution.sol/Distribution.json → oracle/Oracle.sol/Oracle.json} +323 -297
  122. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  123. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +997 -0
  124. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  125. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +764 -0
  126. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  127. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1252 -0
  128. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  129. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +644 -0
  130. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  131. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1261 -0
  132. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  133. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +800 -0
  134. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  135. package/artifacts/contracts/{instance/service → pool}/IBundleService.sol/IBundleService.json +435 -270
  136. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  137. package/artifacts/contracts/{components/Pool.sol/Pool.json → pool/IPoolComponent.sol/IPoolComponent.json} +344 -351
  138. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  139. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1230 -0
  140. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  141. package/artifacts/contracts/pool/Pool.sol/Pool.json +1027 -0
  142. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  143. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +456 -0
  144. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  145. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1574 -0
  146. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  147. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +808 -0
  148. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  149. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +813 -0
  150. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  151. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +728 -0
  152. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  153. package/artifacts/contracts/{components/IProductComponent.sol/IProductComponent.json → product/BasicProduct.sol/BasicProduct.json} +668 -255
  154. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  155. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +644 -0
  156. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  157. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1496 -0
  158. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  159. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +848 -0
  160. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  161. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IApplicationService.sol/IApplicationService.json} +286 -220
  162. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  163. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1064 -0
  164. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  165. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +981 -0
  166. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  167. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IPricingService.sol/IPricingService.json} +311 -203
  168. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  169. package/artifacts/contracts/{components/Product.sol/Product.json → product/IProductComponent.sol/IProductComponent.json} +450 -381
  170. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  171. package/artifacts/contracts/{instance/service/IDistributionService.sol/IDistributionService.json → product/IRiskService.sol/IRiskService.json} +174 -156
  172. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  173. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1333 -0
  174. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  175. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +293 -0
  176. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  177. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +808 -0
  178. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  179. package/artifacts/contracts/product/PricingService.sol/PricingService.json +930 -0
  180. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  181. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +784 -0
  182. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  183. package/artifacts/contracts/product/Product.sol/Product.json +1119 -0
  184. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  185. package/artifacts/contracts/product/RiskService.sol/RiskService.json +659 -0
  186. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  187. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +732 -0
  188. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  189. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +72 -16
  190. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  191. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +513 -27
  192. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  193. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +284 -222
  194. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  195. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  196. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  197. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -0
  198. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  199. package/artifacts/contracts/registry/Registry.sol/Registry.json +996 -119
  200. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  201. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2018 -0
  202. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  203. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +878 -0
  204. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  205. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +347 -278
  206. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  207. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +361 -90
  208. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  209. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +1954 -0
  210. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  211. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  212. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  213. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1337 -0
  214. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  215. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +272 -0
  216. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  217. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +350 -83
  218. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  219. package/artifacts/contracts/{instance/base/ComponentService.sol/ComponentService.json → shared/Component.sol/Component.json} +318 -214
  220. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  221. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1532 -0
  222. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  223. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +812 -0
  224. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  225. package/artifacts/contracts/{components/IComponent.sol/IComponent.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +178 -148
  226. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +597 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  229. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  230. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  231. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  232. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  233. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  234. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  235. package/artifacts/contracts/{components/Component.sol/Component.json → shared/IComponent.sol/IComponent.json} +192 -216
  236. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  237. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1180 -0
  238. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  239. package/artifacts/contracts/{components/IDistributionComponent.sol/IDistributionComponent.json → shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json} +287 -226
  240. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  241. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +95 -14
  242. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  243. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  244. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  245. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +46 -26
  246. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  247. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
  248. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  249. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +143 -10
  250. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  251. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  252. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  253. package/artifacts/contracts/shared/IService.sol/IService.json +124 -141
  254. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  255. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  256. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  257. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +797 -0
  258. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  259. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  260. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  261. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  262. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  263. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  264. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  265. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +74 -36
  266. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  267. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
  268. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  269. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +156 -60
  270. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  271. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
  272. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  273. package/artifacts/contracts/shared/Service.sol/Service.json +142 -165
  274. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  275. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +635 -8
  276. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  277. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  278. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  279. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  280. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  281. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1465 -0
  282. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  283. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1096 -0
  284. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  285. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +440 -0
  286. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  287. package/artifacts/contracts/staking/Staking.sol/Staking.json +1849 -0
  288. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  289. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  290. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  291. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +788 -0
  292. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +587 -0
  294. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  295. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1301 -0
  296. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  297. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +732 -0
  298. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  299. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2283 -0
  300. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  301. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +607 -0
  302. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  303. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  304. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  305. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  306. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  307. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  308. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  309. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  310. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  311. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  312. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  313. package/artifacts/contracts/type/Fee.sol/FeeLib.json +317 -0
  314. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  315. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  316. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  317. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  318. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  319. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  320. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  321. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  322. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  323. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +241 -0
  324. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  325. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  326. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  327. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  328. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  329. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  330. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  331. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +204 -0
  332. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  333. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +433 -0
  334. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  335. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +246 -0
  336. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  337. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  338. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  339. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  340. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  341. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  342. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  343. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  344. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  345. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  346. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  347. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +548 -0
  348. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  349. package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
  350. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  351. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +167 -0
  352. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  353. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +55 -0
  354. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  355. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +618 -0
  356. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  357. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  358. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  359. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +78 -0
  360. package/contracts/accounting/AccountingService.sol +262 -0
  361. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  362. package/contracts/accounting/IAccountingService.sol +45 -0
  363. package/contracts/authorization/AccessAdmin.sol +704 -0
  364. package/contracts/authorization/AccessAdminLib.sol +183 -0
  365. package/contracts/authorization/AccessManagerCloneable.sol +158 -0
  366. package/contracts/authorization/Authorization.sol +365 -0
  367. package/contracts/authorization/IAccess.sol +49 -0
  368. package/contracts/authorization/IAccessAdmin.sol +170 -0
  369. package/contracts/authorization/IAuthorization.sol +80 -0
  370. package/contracts/authorization/IServiceAuthorization.sol +40 -0
  371. package/contracts/authorization/ServiceAuthorization.sol +106 -0
  372. package/contracts/distribution/BasicDistribution.sol +141 -0
  373. package/contracts/distribution/BasicDistributionAuthorization.sol +60 -0
  374. package/contracts/distribution/Distribution.sol +289 -0
  375. package/contracts/distribution/DistributionService.sol +358 -0
  376. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  377. package/contracts/distribution/IDistributionComponent.sol +52 -0
  378. package/contracts/distribution/IDistributionService.sol +101 -0
  379. package/contracts/examples/fire/DamageLevel.sol +59 -0
  380. package/contracts/examples/fire/FirePool.sol +90 -0
  381. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  382. package/contracts/examples/fire/FireProduct.sol +437 -0
  383. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  384. package/contracts/examples/fire/FireUSD.sol +26 -0
  385. package/contracts/examples/unpermissioned/SimpleDistribution.sol +57 -0
  386. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  387. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  388. package/contracts/examples/unpermissioned/SimplePool.sol +106 -0
  389. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  390. package/contracts/examples/unpermissioned/SimpleProduct.sol +377 -0
  391. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  392. package/contracts/instance/BundleSet.sol +130 -0
  393. package/contracts/instance/IInstance.sol +82 -51
  394. package/contracts/instance/IInstanceService.sol +64 -22
  395. package/contracts/instance/Instance.sol +211 -191
  396. package/contracts/instance/InstanceAdmin.sol +450 -0
  397. package/contracts/instance/InstanceAuthorizationV3.sol +235 -0
  398. package/contracts/instance/InstanceReader.sol +408 -64
  399. package/contracts/instance/InstanceService.sol +344 -329
  400. package/contracts/instance/InstanceServiceManager.sol +14 -29
  401. package/contracts/instance/InstanceStore.sol +298 -0
  402. package/contracts/instance/RiskSet.sol +118 -0
  403. package/contracts/instance/base/BalanceStore.sol +123 -0
  404. package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +4 -22
  405. package/contracts/instance/base/ObjectCounter.sol +20 -0
  406. package/contracts/instance/base/ObjectLifecycle.sol +113 -0
  407. package/contracts/instance/base/ObjectSet.sol +77 -0
  408. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  409. package/contracts/instance/module/IBundle.sol +8 -8
  410. package/contracts/instance/module/IComponents.sol +51 -0
  411. package/contracts/instance/module/IDistribution.sol +8 -5
  412. package/contracts/instance/module/IPolicy.sol +59 -19
  413. package/contracts/instance/module/IRisk.sol +4 -1
  414. package/contracts/{test/TestToken.sol → mock/Dip.sol} +6 -6
  415. package/contracts/oracle/BasicOracle.sol +47 -0
  416. package/contracts/oracle/BasicOracleAuthorization.sol +37 -0
  417. package/contracts/oracle/IOracle.sol +36 -0
  418. package/contracts/oracle/IOracleComponent.sol +33 -0
  419. package/contracts/oracle/IOracleService.sol +66 -0
  420. package/contracts/oracle/Oracle.sol +156 -0
  421. package/contracts/oracle/OracleService.sol +310 -0
  422. package/contracts/oracle/OracleServiceManager.sol +39 -0
  423. package/contracts/pool/BasicPool.sol +175 -0
  424. package/contracts/pool/BasicPoolAuthorization.sol +76 -0
  425. package/contracts/pool/BundleService.sol +395 -0
  426. package/contracts/pool/BundleServiceManager.sol +39 -0
  427. package/contracts/pool/IBundleService.sol +115 -0
  428. package/contracts/pool/IPoolComponent.sol +62 -0
  429. package/contracts/pool/IPoolService.sol +165 -0
  430. package/contracts/pool/Pool.sol +345 -0
  431. package/contracts/pool/PoolLib.sol +216 -0
  432. package/contracts/pool/PoolService.sol +757 -0
  433. package/contracts/pool/PoolServiceManager.sol +39 -0
  434. package/contracts/product/ApplicationService.sol +259 -0
  435. package/contracts/product/ApplicationServiceManager.sol +38 -0
  436. package/contracts/product/BasicProduct.sol +51 -0
  437. package/contracts/product/BasicProductAuthorization.sol +56 -0
  438. package/contracts/product/ClaimService.sol +632 -0
  439. package/contracts/product/ClaimServiceManager.sol +38 -0
  440. package/contracts/product/IApplicationService.sol +66 -0
  441. package/contracts/product/IClaimService.sol +135 -0
  442. package/contracts/product/IPolicyService.sol +95 -0
  443. package/contracts/product/IPricingService.sol +39 -0
  444. package/contracts/product/IProductComponent.sol +62 -0
  445. package/contracts/product/IRiskService.sol +30 -0
  446. package/contracts/product/PolicyService.sol +664 -0
  447. package/contracts/product/PolicyServiceLib.sol +65 -0
  448. package/contracts/product/PolicyServiceManager.sol +39 -0
  449. package/contracts/product/PricingService.sol +304 -0
  450. package/contracts/product/PricingServiceManager.sol +39 -0
  451. package/contracts/product/Product.sol +469 -0
  452. package/contracts/product/RiskService.sol +144 -0
  453. package/contracts/product/RiskServiceManager.sol +39 -0
  454. package/contracts/registry/ChainNft.sol +83 -36
  455. package/contracts/registry/IRegistry.sol +98 -30
  456. package/contracts/registry/IRegistryService.sol +38 -41
  457. package/contracts/registry/IRelease.sol +26 -0
  458. package/contracts/registry/ITransferInterceptor.sol +1 -1
  459. package/contracts/registry/Registry.sol +485 -207
  460. package/contracts/registry/RegistryAdmin.sol +258 -0
  461. package/contracts/registry/RegistryAuthorization.sol +266 -0
  462. package/contracts/registry/RegistryService.sol +118 -139
  463. package/contracts/registry/RegistryServiceManager.sol +24 -33
  464. package/contracts/registry/ReleaseAdmin.sol +253 -0
  465. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  466. package/contracts/registry/ReleaseRegistry.sol +517 -0
  467. package/contracts/registry/ServiceAuthorizationV3.sol +329 -0
  468. package/contracts/registry/TokenRegistry.sol +263 -62
  469. package/contracts/shared/Component.sol +227 -0
  470. package/contracts/shared/ComponentService.sol +689 -0
  471. package/contracts/shared/ComponentServiceManager.sol +38 -0
  472. package/contracts/shared/ComponentVerifyingService.sol +128 -0
  473. package/contracts/shared/ContractLib.sol +281 -0
  474. package/contracts/shared/IComponent.sol +61 -0
  475. package/contracts/shared/IComponentService.sol +110 -0
  476. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  477. package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
  478. package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
  479. package/contracts/shared/INftOwnable.sol +15 -12
  480. package/contracts/shared/IPolicyHolder.sol +35 -0
  481. package/contracts/shared/IRegisterable.sol +24 -2
  482. package/contracts/shared/IRegistryLinked.sol +11 -0
  483. package/contracts/shared/IService.sol +12 -5
  484. package/contracts/shared/InitializableERC165.sol +35 -0
  485. package/contracts/shared/InstanceLinkedComponent.sol +197 -0
  486. package/contracts/shared/KeyValueStore.sol +131 -0
  487. package/contracts/shared/Lifecycle.sol +88 -0
  488. package/contracts/shared/NftIdSet.sol +65 -0
  489. package/contracts/shared/NftOwnable.sol +75 -87
  490. package/contracts/shared/PolicyHolder.sol +62 -0
  491. package/contracts/shared/Registerable.sol +49 -29
  492. package/contracts/shared/RegistryLinked.sol +38 -0
  493. package/contracts/shared/Service.sol +39 -34
  494. package/contracts/shared/TokenHandler.sol +327 -12
  495. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  496. package/contracts/staking/IStaking.sol +169 -0
  497. package/contracts/staking/IStakingService.sol +165 -0
  498. package/contracts/staking/StakeManagerLib.sol +224 -0
  499. package/contracts/staking/Staking.sol +526 -0
  500. package/contracts/staking/StakingLifecycle.sol +23 -0
  501. package/contracts/staking/StakingManager.sol +52 -0
  502. package/contracts/staking/StakingReader.sol +190 -0
  503. package/contracts/staking/StakingService.sol +430 -0
  504. package/contracts/staking/StakingServiceManager.sol +45 -0
  505. package/contracts/staking/StakingStore.sol +605 -0
  506. package/contracts/staking/TargetManagerLib.sol +211 -0
  507. package/contracts/{types → type}/AddressSet.sol +1 -1
  508. package/contracts/type/Amount.sol +150 -0
  509. package/contracts/{types → type}/Blocknumber.sol +27 -3
  510. package/contracts/type/ClaimId.sol +80 -0
  511. package/contracts/{types → type}/DistributorType.sol +2 -2
  512. package/contracts/{types → type}/Fee.sol +33 -23
  513. package/contracts/{types → type}/Key32.sol +2 -2
  514. package/contracts/type/Key32Set.sol +62 -0
  515. package/contracts/{types → type}/NftId.sol +28 -15
  516. package/contracts/{types → type}/NftIdSet.sol +2 -2
  517. package/contracts/type/ObjectType.sol +294 -0
  518. package/contracts/type/PayoutId.sol +82 -0
  519. package/contracts/{types → type}/Referral.sol +6 -1
  520. package/contracts/type/RequestId.sol +75 -0
  521. package/contracts/type/RiskId.sol +75 -0
  522. package/contracts/type/RoleId.sol +182 -0
  523. package/contracts/type/Seconds.sol +101 -0
  524. package/contracts/type/Selector.sol +107 -0
  525. package/contracts/{types → type}/StateId.sol +48 -4
  526. package/contracts/type/String.sol +53 -0
  527. package/contracts/{types → type}/Timestamp.sol +33 -19
  528. package/contracts/{types → type}/UFixed.sol +41 -121
  529. package/contracts/{types → type}/Version.sol +59 -7
  530. package/contracts/{shared → upgradeability}/IVersionable.sol +5 -48
  531. package/contracts/upgradeability/ProxyManager.sol +232 -0
  532. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  533. package/contracts/upgradeability/Versionable.sol +59 -0
  534. package/package.json +12 -8
  535. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  536. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  537. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
  538. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  539. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  540. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  541. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  542. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  543. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  544. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  545. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  546. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  547. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  548. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  549. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  550. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  551. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  552. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  553. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  554. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  555. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  556. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  557. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  558. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  559. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  560. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  561. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  562. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  563. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  564. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  565. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  566. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  567. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  568. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  569. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  570. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  571. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  572. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  573. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  574. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  575. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  576. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  577. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  578. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  579. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  580. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  581. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  582. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  583. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -764
  584. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  585. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  586. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1034
  587. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  588. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -261
  589. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
  590. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  591. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  592. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  593. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  594. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  595. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  596. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  597. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -254
  598. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  599. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  600. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  601. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1102
  602. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  603. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -449
  604. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  605. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -772
  606. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  607. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -437
  608. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  609. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  610. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  611. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  612. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  613. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  614. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1227
  615. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  616. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -505
  617. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  618. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -806
  619. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  620. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -437
  621. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  622. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -856
  623. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  624. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -437
  625. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  626. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  627. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  628. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -547
  629. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  630. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  631. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  632. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  633. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  634. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -205
  635. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  636. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -362
  637. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  638. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  639. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  640. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -228
  641. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  642. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  643. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  644. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -313
  645. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  646. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  647. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  648. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -608
  649. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  650. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  651. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  652. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  653. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  654. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  655. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  656. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  657. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  658. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  659. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  660. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  661. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  662. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  663. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  664. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  665. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  666. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  667. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  668. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  669. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  670. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  671. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  672. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -33
  673. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  674. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  675. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  676. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  677. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  678. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  679. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  680. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  681. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  682. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  683. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  684. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  685. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  686. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -249
  687. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  688. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  689. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  690. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  691. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  692. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  693. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  694. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  695. package/contracts/components/Component.sol +0 -216
  696. package/contracts/components/Distribution.sol +0 -153
  697. package/contracts/components/IComponent.sol +0 -43
  698. package/contracts/components/IDistributionComponent.sol +0 -47
  699. package/contracts/components/IPoolComponent.sol +0 -51
  700. package/contracts/components/IProductComponent.sol +0 -39
  701. package/contracts/components/Pool.sol +0 -208
  702. package/contracts/components/Product.sol +0 -266
  703. package/contracts/experiment/cloning/Cloner.sol +0 -47
  704. package/contracts/experiment/errors/Require.sol +0 -38
  705. package/contracts/experiment/errors/Revert.sol +0 -44
  706. package/contracts/experiment/inheritance/A.sol +0 -53
  707. package/contracts/experiment/inheritance/B.sol +0 -28
  708. package/contracts/experiment/inheritance/C.sol +0 -34
  709. package/contracts/experiment/inheritance/IA.sol +0 -13
  710. package/contracts/experiment/inheritance/IB.sol +0 -10
  711. package/contracts/experiment/inheritance/IC.sol +0 -12
  712. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  713. package/contracts/experiment/statemachine/ISM.sol +0 -25
  714. package/contracts/experiment/statemachine/SM.sol +0 -57
  715. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  716. package/contracts/experiment/types/TypeA.sol +0 -47
  717. package/contracts/experiment/types/TypeB.sol +0 -29
  718. package/contracts/instance/BundleManager.sol +0 -125
  719. package/contracts/instance/InstanceAccessManager.sol +0 -298
  720. package/contracts/instance/ObjectManager.sol +0 -84
  721. package/contracts/instance/base/ComponentService.sol +0 -134
  722. package/contracts/instance/base/KeyValueStore.sol +0 -172
  723. package/contracts/instance/base/Lifecycle.sol +0 -100
  724. package/contracts/instance/module/IAccess.sol +0 -48
  725. package/contracts/instance/module/ISetup.sol +0 -46
  726. package/contracts/instance/module/ITreasury.sol +0 -23
  727. package/contracts/instance/service/BundleService.sol +0 -293
  728. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  729. package/contracts/instance/service/DistributionService.sol +0 -106
  730. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  731. package/contracts/instance/service/IBundleService.sol +0 -44
  732. package/contracts/instance/service/IDistributionService.sol +0 -12
  733. package/contracts/instance/service/IPolicyService.sol +0 -94
  734. package/contracts/instance/service/IPoolService.sol +0 -20
  735. package/contracts/instance/service/IProductService.sol +0 -40
  736. package/contracts/instance/service/PolicyService.sol +0 -538
  737. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  738. package/contracts/instance/service/PoolService.sol +0 -110
  739. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  740. package/contracts/instance/service/ProductService.sol +0 -233
  741. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  742. package/contracts/registry/RegistryAccessManager.sol +0 -216
  743. package/contracts/registry/ReleaseManager.sol +0 -332
  744. package/contracts/shared/ContractDeployerLib.sol +0 -72
  745. package/contracts/shared/ERC165.sol +0 -25
  746. package/contracts/shared/ProxyManager.sol +0 -94
  747. package/contracts/shared/Versionable.sol +0 -147
  748. package/contracts/test/TestFee.sol +0 -25
  749. package/contracts/test/TestRegisterable.sol +0 -18
  750. package/contracts/test/TestRoleId.sol +0 -14
  751. package/contracts/test/TestService.sol +0 -25
  752. package/contracts/test/TestVersion.sol +0 -44
  753. package/contracts/test/TestVersionable.sol +0 -17
  754. package/contracts/test/Usdc.sol +0 -26
  755. package/contracts/types/ChainId.sol +0 -38
  756. package/contracts/types/NumberId.sol +0 -52
  757. package/contracts/types/ObjectType.sol +0 -152
  758. package/contracts/types/RiskId.sol +0 -43
  759. package/contracts/types/RoleId.sol +0 -90
@@ -3,6 +3,172 @@
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
+ },
16
+ {
17
+ "inputs": [
18
+ {
19
+ "internalType": "NftId",
20
+ "name": "poolNftId",
21
+ "type": "uint96"
22
+ }
23
+ ],
24
+ "name": "activeBundles",
25
+ "outputs": [
26
+ {
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"
49
+ }
50
+ ],
51
+ "stateMutability": "view",
52
+ "type": "function"
53
+ },
54
+ {
55
+ "inputs": [
56
+ {
57
+ "internalType": "NftId",
58
+ "name": "poolNftId",
59
+ "type": "uint96"
60
+ }
61
+ ],
62
+ "name": "bundles",
63
+ "outputs": [
64
+ {
65
+ "internalType": "uint256",
66
+ "name": "bundleCount",
67
+ "type": "uint256"
68
+ }
69
+ ],
70
+ "stateMutability": "view",
71
+ "type": "function"
72
+ },
73
+ {
74
+ "inputs": [
75
+ {
76
+ "internalType": "NftId",
77
+ "name": "policyNftId",
78
+ "type": "uint96"
79
+ }
80
+ ],
81
+ "name": "claims",
82
+ "outputs": [
83
+ {
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",
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"
111
+ },
112
+ {
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"
124
+ }
125
+ ],
126
+ "stateMutability": "view",
127
+ "type": "function"
128
+ },
129
+ {
130
+ "inputs": [
131
+ {
132
+ "internalType": "NftId",
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
+ },
6
172
  {
7
173
  "inputs": [
8
174
  {
@@ -43,24 +209,9 @@
43
209
  "type": "bytes"
44
210
  },
45
211
  {
46
- "internalType": "uint256",
47
- "name": "capitalAmount",
48
- "type": "uint256"
49
- },
50
- {
51
- "internalType": "uint256",
52
- "name": "lockedAmount",
53
- "type": "uint256"
54
- },
55
- {
56
- "internalType": "uint256",
57
- "name": "balanceAmount",
58
- "type": "uint256"
59
- },
60
- {
61
- "internalType": "uint256",
62
- "name": "lifetime",
63
- "type": "uint256"
212
+ "internalType": "Timestamp",
213
+ "name": "activatedAt",
214
+ "type": "uint40"
64
215
  },
65
216
  {
66
217
  "internalType": "Timestamp",
@@ -84,22 +235,35 @@
84
235
  {
85
236
  "inputs": [
86
237
  {
87
- "internalType": "ReferralId",
88
- "name": "referralId",
89
- "type": "bytes8"
238
+ "internalType": "NftId",
239
+ "name": "poolNftId",
240
+ "type": "uint96"
241
+ },
242
+ {
243
+ "internalType": "uint256",
244
+ "name": "idx",
245
+ "type": "uint256"
90
246
  }
91
247
  ],
92
- "name": "getDiscountPercentage",
248
+ "name": "getBundleNftId",
93
249
  "outputs": [
94
250
  {
95
- "internalType": "UFixed",
96
- "name": "discountPercentage",
97
- "type": "uint256"
98
- },
251
+ "internalType": "NftId",
252
+ "name": "bundleNftId",
253
+ "type": "uint96"
254
+ }
255
+ ],
256
+ "stateMutability": "view",
257
+ "type": "function"
258
+ },
259
+ {
260
+ "inputs": [],
261
+ "name": "getBundleSet",
262
+ "outputs": [
99
263
  {
100
- "internalType": "ReferralStatus",
101
- "name": "status",
102
- "type": "uint8"
264
+ "internalType": "contract BundleSet",
265
+ "name": "bundleSet",
266
+ "type": "address"
103
267
  }
104
268
  ],
105
269
  "stateMutability": "view",
@@ -109,55 +273,35 @@
109
273
  "inputs": [
110
274
  {
111
275
  "internalType": "NftId",
112
- "name": "distributionNftId",
276
+ "name": "bundleNftId",
113
277
  "type": "uint96"
114
278
  }
115
279
  ],
116
- "name": "getDistributionSetupInfo",
280
+ "name": "getBundleState",
117
281
  "outputs": [
118
282
  {
119
- "components": [
120
- {
121
- "internalType": "NftId",
122
- "name": "productNftId",
123
- "type": "uint96"
124
- },
125
- {
126
- "internalType": "contract TokenHandler",
127
- "name": "tokenHandler",
128
- "type": "address"
129
- },
130
- {
131
- "components": [
132
- {
133
- "internalType": "UFixed",
134
- "name": "fractionalFee",
135
- "type": "uint256"
136
- },
137
- {
138
- "internalType": "uint256",
139
- "name": "fixedFee",
140
- "type": "uint256"
141
- }
142
- ],
143
- "internalType": "struct Fee",
144
- "name": "distributionFee",
145
- "type": "tuple"
146
- },
147
- {
148
- "internalType": "bool",
149
- "name": "isIntercepting",
150
- "type": "bool"
151
- },
152
- {
153
- "internalType": "address",
154
- "name": "wallet",
155
- "type": "address"
156
- }
157
- ],
158
- "internalType": "struct ISetup.DistributionSetupInfo",
159
- "name": "info",
160
- "type": "tuple"
283
+ "internalType": "StateId",
284
+ "name": "state",
285
+ "type": "uint8"
286
+ }
287
+ ],
288
+ "stateMutability": "view",
289
+ "type": "function"
290
+ },
291
+ {
292
+ "inputs": [
293
+ {
294
+ "internalType": "uint256",
295
+ "name": "idx",
296
+ "type": "uint256"
297
+ }
298
+ ],
299
+ "name": "getClaimId",
300
+ "outputs": [
301
+ {
302
+ "internalType": "ClaimId",
303
+ "name": "claimId",
304
+ "type": "uint16"
161
305
  }
162
306
  ],
163
307
  "stateMutability": "view",
@@ -167,31 +311,56 @@
167
311
  "inputs": [
168
312
  {
169
313
  "internalType": "NftId",
170
- "name": "distributorNftId",
314
+ "name": "policyNftId",
171
315
  "type": "uint96"
316
+ },
317
+ {
318
+ "internalType": "ClaimId",
319
+ "name": "claimId",
320
+ "type": "uint16"
172
321
  }
173
322
  ],
174
- "name": "getDistributorInfo",
323
+ "name": "getClaimInfo",
175
324
  "outputs": [
176
325
  {
177
326
  "components": [
178
327
  {
179
- "internalType": "DistributorType",
180
- "name": "distributorType",
181
- "type": "bytes8"
328
+ "internalType": "Amount",
329
+ "name": "claimAmount",
330
+ "type": "uint96"
182
331
  },
183
332
  {
184
- "internalType": "bool",
185
- "name": "active",
186
- "type": "bool"
333
+ "internalType": "Amount",
334
+ "name": "paidAmount",
335
+ "type": "uint96"
336
+ },
337
+ {
338
+ "internalType": "uint24",
339
+ "name": "payoutsCount",
340
+ "type": "uint24"
341
+ },
342
+ {
343
+ "internalType": "uint24",
344
+ "name": "openPayoutsCount",
345
+ "type": "uint24"
187
346
  },
188
347
  {
189
348
  "internalType": "bytes",
190
- "name": "data",
349
+ "name": "submissionData",
350
+ "type": "bytes"
351
+ },
352
+ {
353
+ "internalType": "bytes",
354
+ "name": "processData",
191
355
  "type": "bytes"
356
+ },
357
+ {
358
+ "internalType": "Timestamp",
359
+ "name": "closedAt",
360
+ "type": "uint40"
192
361
  }
193
362
  ],
194
- "internalType": "struct IDistribution.DistributorInfo",
363
+ "internalType": "struct IPolicy.ClaimInfo",
195
364
  "name": "info",
196
365
  "type": "tuple"
197
366
  }
@@ -202,12 +371,36 @@
202
371
  {
203
372
  "inputs": [
204
373
  {
205
- "internalType": "DistributorType",
206
- "name": "distributorType",
207
- "type": "bytes8"
374
+ "internalType": "NftId",
375
+ "name": "policyNftId",
376
+ "type": "uint96"
377
+ },
378
+ {
379
+ "internalType": "ClaimId",
380
+ "name": "claimId",
381
+ "type": "uint16"
208
382
  }
209
383
  ],
210
- "name": "getDistributorTypeInfo",
384
+ "name": "getClaimState",
385
+ "outputs": [
386
+ {
387
+ "internalType": "StateId",
388
+ "name": "state",
389
+ "type": "uint8"
390
+ }
391
+ ],
392
+ "stateMutability": "view",
393
+ "type": "function"
394
+ },
395
+ {
396
+ "inputs": [
397
+ {
398
+ "internalType": "NftId",
399
+ "name": "componentNftId",
400
+ "type": "uint96"
401
+ }
402
+ ],
403
+ "name": "getComponentInfo",
211
404
  "outputs": [
212
405
  {
213
406
  "components": [
@@ -217,39 +410,14 @@
217
410
  "type": "string"
218
411
  },
219
412
  {
220
- "internalType": "UFixed",
221
- "name": "minDiscountPercentage",
222
- "type": "uint256"
223
- },
224
- {
225
- "internalType": "UFixed",
226
- "name": "maxDiscountPercentage",
227
- "type": "uint256"
228
- },
229
- {
230
- "internalType": "UFixed",
231
- "name": "commissionPercentage",
232
- "type": "uint256"
233
- },
234
- {
235
- "internalType": "uint32",
236
- "name": "maxReferralCount",
237
- "type": "uint32"
238
- },
239
- {
240
- "internalType": "uint32",
241
- "name": "maxReferralLifetime",
242
- "type": "uint32"
243
- },
244
- {
245
- "internalType": "bool",
246
- "name": "allowSelfReferrals",
247
- "type": "bool"
413
+ "internalType": "contract IERC20Metadata",
414
+ "name": "token",
415
+ "type": "address"
248
416
  },
249
417
  {
250
- "internalType": "bool",
251
- "name": "allowRenewals",
252
- "type": "bool"
418
+ "internalType": "contract TokenHandler",
419
+ "name": "tokenHandler",
420
+ "type": "address"
253
421
  },
254
422
  {
255
423
  "internalType": "bytes",
@@ -257,7 +425,7 @@
257
425
  "type": "bytes"
258
426
  }
259
427
  ],
260
- "internalType": "struct IDistribution.DistributorTypeInfo",
428
+ "internalType": "struct IComponents.ComponentInfo",
261
429
  "name": "info",
262
430
  "type": "tuple"
263
431
  }
@@ -266,26 +434,24 @@
266
434
  "type": "function"
267
435
  },
268
436
  {
269
- "inputs": [],
270
- "name": "getInstance",
271
- "outputs": [
437
+ "inputs": [
272
438
  {
273
- "internalType": "contract IInstance",
274
- "name": "instance",
275
- "type": "address"
439
+ "internalType": "ReferralId",
440
+ "name": "referralId",
441
+ "type": "bytes8"
276
442
  }
277
443
  ],
278
- "stateMutability": "view",
279
- "type": "function"
280
- },
281
- {
282
- "inputs": [],
283
- "name": "getInstanceStore",
444
+ "name": "getDiscountPercentage",
284
445
  "outputs": [
285
446
  {
286
- "internalType": "contract IKeyValueStore",
287
- "name": "store",
288
- "type": "address"
447
+ "internalType": "UFixed",
448
+ "name": "discountPercentage",
449
+ "type": "uint256"
450
+ },
451
+ {
452
+ "internalType": "ReferralStatus",
453
+ "name": "status",
454
+ "type": "uint8"
289
455
  }
290
456
  ],
291
457
  "stateMutability": "view",
@@ -294,43 +460,38 @@
294
460
  {
295
461
  "inputs": [
296
462
  {
297
- "internalType": "Key32",
298
- "name": "key",
299
- "type": "bytes32"
463
+ "internalType": "NftId",
464
+ "name": "distributorNftId",
465
+ "type": "uint96"
300
466
  }
301
467
  ],
302
- "name": "getMetadata",
468
+ "name": "getDistributorInfo",
303
469
  "outputs": [
304
470
  {
305
471
  "components": [
306
472
  {
307
- "internalType": "ObjectType",
308
- "name": "objectType",
309
- "type": "uint8"
310
- },
311
- {
312
- "internalType": "StateId",
313
- "name": "state",
314
- "type": "uint8"
473
+ "internalType": "DistributorType",
474
+ "name": "distributorType",
475
+ "type": "bytes8"
315
476
  },
316
477
  {
317
- "internalType": "address",
318
- "name": "updatedBy",
319
- "type": "address"
478
+ "internalType": "bool",
479
+ "name": "active",
480
+ "type": "bool"
320
481
  },
321
482
  {
322
- "internalType": "Blocknumber",
323
- "name": "updatedIn",
324
- "type": "uint32"
483
+ "internalType": "bytes",
484
+ "name": "data",
485
+ "type": "bytes"
325
486
  },
326
487
  {
327
- "internalType": "Blocknumber",
328
- "name": "createdIn",
488
+ "internalType": "uint32",
489
+ "name": "numPoliciesSold",
329
490
  "type": "uint32"
330
491
  }
331
492
  ],
332
- "internalType": "struct IKeyValueStore.Metadata",
333
- "name": "metadata",
493
+ "internalType": "struct IDistribution.DistributorInfo",
494
+ "name": "info",
334
495
  "type": "tuple"
335
496
  }
336
497
  ],
@@ -340,97 +501,62 @@
340
501
  {
341
502
  "inputs": [
342
503
  {
343
- "internalType": "NftId",
344
- "name": "policyNftId",
345
- "type": "uint96"
504
+ "internalType": "DistributorType",
505
+ "name": "distributorType",
506
+ "type": "bytes8"
346
507
  }
347
508
  ],
348
- "name": "getPolicyInfo",
509
+ "name": "getDistributorTypeInfo",
349
510
  "outputs": [
350
511
  {
351
512
  "components": [
352
513
  {
353
- "internalType": "NftId",
354
- "name": "productNftId",
355
- "type": "uint96"
356
- },
357
- {
358
- "internalType": "NftId",
359
- "name": "bundleNftId",
360
- "type": "uint96"
361
- },
362
- {
363
- "internalType": "ReferralId",
364
- "name": "referralId",
365
- "type": "bytes8"
366
- },
367
- {
368
- "internalType": "RiskId",
369
- "name": "riskId",
370
- "type": "bytes8"
371
- },
372
- {
373
- "internalType": "uint256",
374
- "name": "sumInsuredAmount",
375
- "type": "uint256"
514
+ "internalType": "string",
515
+ "name": "name",
516
+ "type": "string"
376
517
  },
377
518
  {
378
- "internalType": "uint256",
379
- "name": "premiumAmount",
519
+ "internalType": "UFixed",
520
+ "name": "minDiscountPercentage",
380
521
  "type": "uint256"
381
522
  },
382
523
  {
383
- "internalType": "uint256",
384
- "name": "premiumPaidAmount",
524
+ "internalType": "UFixed",
525
+ "name": "maxDiscountPercentage",
385
526
  "type": "uint256"
386
527
  },
387
528
  {
388
- "internalType": "uint256",
389
- "name": "lifetime",
529
+ "internalType": "UFixed",
530
+ "name": "commissionPercentage",
390
531
  "type": "uint256"
391
532
  },
392
533
  {
393
- "internalType": "bytes",
394
- "name": "applicationData",
395
- "type": "bytes"
396
- },
397
- {
398
- "internalType": "bytes",
399
- "name": "policyData",
400
- "type": "bytes"
401
- },
402
- {
403
- "internalType": "uint16",
404
- "name": "claimsCount",
405
- "type": "uint16"
406
- },
407
- {
408
- "internalType": "uint16",
409
- "name": "openClaimsCount",
410
- "type": "uint16"
534
+ "internalType": "uint32",
535
+ "name": "maxReferralCount",
536
+ "type": "uint32"
411
537
  },
412
538
  {
413
- "internalType": "uint256",
414
- "name": "payoutAmount",
415
- "type": "uint256"
539
+ "internalType": "Seconds",
540
+ "name": "maxReferralLifetime",
541
+ "type": "uint40"
416
542
  },
417
543
  {
418
- "internalType": "Timestamp",
419
- "name": "activatedAt",
420
- "type": "uint40"
544
+ "internalType": "bool",
545
+ "name": "allowSelfReferrals",
546
+ "type": "bool"
421
547
  },
422
548
  {
423
- "internalType": "Timestamp",
424
- "name": "expiredAt",
425
- "type": "uint40"
549
+ "internalType": "bool",
550
+ "name": "allowRenewals",
551
+ "type": "bool"
426
552
  },
427
553
  {
428
- "internalType": "Timestamp",
429
- "name": "closedAt",
430
- "type": "uint40"
554
+ "internalType": "bytes",
555
+ "name": "data",
556
+ "type": "bytes"
431
557
  }
432
558
  ],
433
- "internalType": "struct IPolicy.PolicyInfo",
559
+ "internalType": "struct IDistribution.DistributorTypeInfo",
434
560
  "name": "info",
435
561
  "type": "tuple"
436
562
  }
@@ -442,16 +568,16 @@
442
568
  "inputs": [
443
569
  {
444
570
  "internalType": "NftId",
445
- "name": "policyNftId",
571
+ "name": "targetNftId",
446
572
  "type": "uint96"
447
573
  }
448
574
  ],
449
- "name": "getPolicyState",
575
+ "name": "getFeeAmount",
450
576
  "outputs": [
451
577
  {
452
- "internalType": "StateId",
453
- "name": "state",
454
- "type": "uint8"
578
+ "internalType": "Amount",
579
+ "name": "",
580
+ "type": "uint96"
455
581
  }
456
582
  ],
457
583
  "stateMutability": "view",
@@ -461,29 +587,14 @@
461
587
  "inputs": [
462
588
  {
463
589
  "internalType": "NftId",
464
- "name": "poolNftId",
590
+ "name": "productNftId",
465
591
  "type": "uint96"
466
592
  }
467
593
  ],
468
- "name": "getPoolSetupInfo",
594
+ "name": "getFeeInfo",
469
595
  "outputs": [
470
596
  {
471
597
  "components": [
472
- {
473
- "internalType": "NftId",
474
- "name": "productNftId",
475
- "type": "uint96"
476
- },
477
- {
478
- "internalType": "contract TokenHandler",
479
- "name": "tokenHandler",
480
- "type": "address"
481
- },
482
- {
483
- "internalType": "UFixed",
484
- "name": "collateralizationLevel",
485
- "type": "uint256"
486
- },
487
598
  {
488
599
  "components": [
489
600
  {
@@ -498,24 +609,7 @@
498
609
  }
499
610
  ],
500
611
  "internalType": "struct Fee",
501
- "name": "poolFee",
502
- "type": "tuple"
503
- },
504
- {
505
- "components": [
506
- {
507
- "internalType": "UFixed",
508
- "name": "fractionalFee",
509
- "type": "uint256"
510
- },
511
- {
512
- "internalType": "uint256",
513
- "name": "fixedFee",
514
- "type": "uint256"
515
- }
516
- ],
517
- "internalType": "struct Fee",
518
- "name": "stakingFee",
612
+ "name": "productFee",
519
613
  "type": "tuple"
520
614
  },
521
615
  {
@@ -532,65 +626,9 @@
532
626
  }
533
627
  ],
534
628
  "internalType": "struct Fee",
535
- "name": "performanceFee",
629
+ "name": "processingFee",
536
630
  "type": "tuple"
537
631
  },
538
- {
539
- "internalType": "bool",
540
- "name": "isIntercepting",
541
- "type": "bool"
542
- },
543
- {
544
- "internalType": "bool",
545
- "name": "isConfirmingApplication",
546
- "type": "bool"
547
- },
548
- {
549
- "internalType": "address",
550
- "name": "wallet",
551
- "type": "address"
552
- }
553
- ],
554
- "internalType": "struct ISetup.PoolSetupInfo",
555
- "name": "info",
556
- "type": "tuple"
557
- }
558
- ],
559
- "stateMutability": "view",
560
- "type": "function"
561
- },
562
- {
563
- "inputs": [
564
- {
565
- "internalType": "NftId",
566
- "name": "productNftId",
567
- "type": "uint96"
568
- }
569
- ],
570
- "name": "getProductSetupInfo",
571
- "outputs": [
572
- {
573
- "components": [
574
- {
575
- "internalType": "contract IERC20Metadata",
576
- "name": "token",
577
- "type": "address"
578
- },
579
- {
580
- "internalType": "contract TokenHandler",
581
- "name": "tokenHandler",
582
- "type": "address"
583
- },
584
- {
585
- "internalType": "NftId",
586
- "name": "distributionNftId",
587
- "type": "uint96"
588
- },
589
- {
590
- "internalType": "NftId",
591
- "name": "poolNftId",
592
- "type": "uint96"
593
- },
594
632
  {
595
633
  "components": [
596
634
  {
@@ -622,24 +660,7 @@
622
660
  }
623
661
  ],
624
662
  "internalType": "struct Fee",
625
- "name": "productFee",
626
- "type": "tuple"
627
- },
628
- {
629
- "components": [
630
- {
631
- "internalType": "UFixed",
632
- "name": "fractionalFee",
633
- "type": "uint256"
634
- },
635
- {
636
- "internalType": "uint256",
637
- "name": "fixedFee",
638
- "type": "uint256"
639
- }
640
- ],
641
- "internalType": "struct Fee",
642
- "name": "processingFee",
663
+ "name": "minDistributionOwnerFee",
643
664
  "type": "tuple"
644
665
  },
645
666
  {
@@ -692,76 +713,109 @@
692
713
  "internalType": "struct Fee",
693
714
  "name": "performanceFee",
694
715
  "type": "tuple"
695
- },
696
- {
697
- "internalType": "bool",
698
- "name": "isIntercepting",
699
- "type": "bool"
700
- },
701
- {
702
- "internalType": "address",
703
- "name": "wallet",
704
- "type": "address"
705
716
  }
706
717
  ],
707
- "internalType": "struct ISetup.ProductSetupInfo",
708
- "name": "info",
718
+ "internalType": "struct IComponents.FeeInfo",
719
+ "name": "feeInfo",
709
720
  "type": "tuple"
710
721
  }
711
722
  ],
712
723
  "stateMutability": "view",
713
724
  "type": "function"
714
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
+ },
715
765
  {
716
766
  "inputs": [
717
767
  {
718
- "internalType": "ReferralId",
719
- "name": "referralId",
720
- "type": "bytes8"
768
+ "internalType": "NftId",
769
+ "name": "targetNftId",
770
+ "type": "uint96"
721
771
  }
722
772
  ],
723
- "name": "getReferralInfo",
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",
724
793
  "outputs": [
725
794
  {
726
795
  "components": [
727
796
  {
728
- "internalType": "NftId",
729
- "name": "distributorNftId",
730
- "type": "uint96"
731
- },
732
- {
733
- "internalType": "string",
734
- "name": "referralCode",
735
- "type": "string"
797
+ "internalType": "ObjectType",
798
+ "name": "objectType",
799
+ "type": "uint8"
736
800
  },
737
801
  {
738
- "internalType": "UFixed",
739
- "name": "discountPercentage",
740
- "type": "uint256"
802
+ "internalType": "StateId",
803
+ "name": "state",
804
+ "type": "uint8"
741
805
  },
742
806
  {
743
- "internalType": "uint32",
744
- "name": "maxReferrals",
807
+ "internalType": "Blocknumber",
808
+ "name": "updatedIn",
745
809
  "type": "uint32"
746
810
  },
747
811
  {
748
- "internalType": "uint32",
749
- "name": "usedReferrals",
812
+ "internalType": "Blocknumber",
813
+ "name": "createdIn",
750
814
  "type": "uint32"
751
- },
752
- {
753
- "internalType": "Timestamp",
754
- "name": "expiryAt",
755
- "type": "uint40"
756
- },
757
- {
758
- "internalType": "bytes",
759
- "name": "data",
760
- "type": "bytes"
761
815
  }
762
816
  ],
763
- "internalType": "struct IDistribution.ReferralInfo",
764
- "name": "info",
817
+ "internalType": "struct IKeyValueStore.Metadata",
818
+ "name": "metadata",
765
819
  "type": "tuple"
766
820
  }
767
821
  ],
@@ -771,27 +825,71 @@
771
825
  {
772
826
  "inputs": [
773
827
  {
774
- "internalType": "RiskId",
775
- "name": "riskId",
776
- "type": "bytes8"
828
+ "internalType": "ClaimId",
829
+ "name": "claimId",
830
+ "type": "uint16"
831
+ },
832
+ {
833
+ "internalType": "uint24",
834
+ "name": "idx",
835
+ "type": "uint24"
777
836
  }
778
837
  ],
779
- "name": "getRiskInfo",
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",
780
863
  "outputs": [
781
864
  {
782
865
  "components": [
783
866
  {
784
- "internalType": "NftId",
785
- "name": "productNftId",
867
+ "internalType": "ClaimId",
868
+ "name": "claimId",
869
+ "type": "uint16"
870
+ },
871
+ {
872
+ "internalType": "Amount",
873
+ "name": "amount",
786
874
  "type": "uint96"
787
875
  },
876
+ {
877
+ "internalType": "address",
878
+ "name": "beneficiary",
879
+ "type": "address"
880
+ },
788
881
  {
789
882
  "internalType": "bytes",
790
883
  "name": "data",
791
884
  "type": "bytes"
885
+ },
886
+ {
887
+ "internalType": "Timestamp",
888
+ "name": "paidAt",
889
+ "type": "uint40"
792
890
  }
793
891
  ],
794
- "internalType": "struct IRisk.RiskInfo",
892
+ "internalType": "struct IPolicy.PayoutInfo",
795
893
  "name": "info",
796
894
  "type": "tuple"
797
895
  }
@@ -803,16 +901,21 @@
803
901
  "inputs": [
804
902
  {
805
903
  "internalType": "NftId",
806
- "name": "productNftId",
904
+ "name": "policyNftId",
807
905
  "type": "uint96"
906
+ },
907
+ {
908
+ "internalType": "PayoutId",
909
+ "name": "payoutId",
910
+ "type": "uint40"
808
911
  }
809
912
  ],
810
- "name": "getTokenHandler",
913
+ "name": "getPayoutState",
811
914
  "outputs": [
812
915
  {
813
- "internalType": "address",
814
- "name": "tokenHandler",
815
- "type": "address"
916
+ "internalType": "StateId",
917
+ "name": "state",
918
+ "type": "uint8"
816
919
  }
817
920
  ],
818
921
  "stateMutability": "view",
@@ -822,138 +925,195 @@
822
925
  "inputs": [
823
926
  {
824
927
  "internalType": "NftId",
825
- "name": "productNftId",
928
+ "name": "policyNftId",
826
929
  "type": "uint96"
827
930
  }
828
931
  ],
829
- "name": "getTreasuryInfo",
932
+ "name": "getPolicyInfo",
830
933
  "outputs": [
831
934
  {
832
935
  "components": [
833
936
  {
834
- "internalType": "contract IERC20Metadata",
835
- "name": "token",
836
- "type": "address"
937
+ "internalType": "NftId",
938
+ "name": "productNftId",
939
+ "type": "uint96"
837
940
  },
838
941
  {
839
- "internalType": "contract TokenHandler",
840
- "name": "tokenHandler",
841
- "type": "address"
942
+ "internalType": "NftId",
943
+ "name": "bundleNftId",
944
+ "type": "uint96"
842
945
  },
843
946
  {
844
- "internalType": "NftId",
845
- "name": "distributionNftId",
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",
846
959
  "type": "uint96"
847
960
  },
848
961
  {
849
- "internalType": "NftId",
850
- "name": "poolNftId",
962
+ "internalType": "Amount",
963
+ "name": "premiumAmount",
851
964
  "type": "uint96"
852
965
  },
853
966
  {
854
- "components": [
855
- {
856
- "internalType": "UFixed",
857
- "name": "fractionalFee",
858
- "type": "uint256"
859
- },
860
- {
861
- "internalType": "uint256",
862
- "name": "fixedFee",
863
- "type": "uint256"
864
- }
865
- ],
866
- "internalType": "struct Fee",
867
- "name": "distributionFee",
868
- "type": "tuple"
967
+ "internalType": "Seconds",
968
+ "name": "lifetime",
969
+ "type": "uint40"
869
970
  },
870
971
  {
871
- "components": [
872
- {
873
- "internalType": "UFixed",
874
- "name": "fractionalFee",
875
- "type": "uint256"
876
- },
877
- {
878
- "internalType": "uint256",
879
- "name": "fixedFee",
880
- "type": "uint256"
881
- }
882
- ],
883
- "internalType": "struct Fee",
884
- "name": "productFee",
885
- "type": "tuple"
972
+ "internalType": "bytes",
973
+ "name": "applicationData",
974
+ "type": "bytes"
886
975
  },
887
976
  {
888
- "components": [
889
- {
890
- "internalType": "UFixed",
891
- "name": "fractionalFee",
892
- "type": "uint256"
893
- },
894
- {
895
- "internalType": "uint256",
896
- "name": "fixedFee",
897
- "type": "uint256"
898
- }
899
- ],
900
- "internalType": "struct Fee",
901
- "name": "processingFee",
902
- "type": "tuple"
977
+ "internalType": "bytes",
978
+ "name": "processData",
979
+ "type": "bytes"
903
980
  },
904
981
  {
905
- "components": [
906
- {
907
- "internalType": "UFixed",
908
- "name": "fractionalFee",
909
- "type": "uint256"
910
- },
911
- {
912
- "internalType": "uint256",
913
- "name": "fixedFee",
914
- "type": "uint256"
915
- }
916
- ],
917
- "internalType": "struct Fee",
918
- "name": "poolFee",
919
- "type": "tuple"
982
+ "internalType": "uint16",
983
+ "name": "claimsCount",
984
+ "type": "uint16"
920
985
  },
921
986
  {
922
- "components": [
923
- {
924
- "internalType": "UFixed",
925
- "name": "fractionalFee",
926
- "type": "uint256"
927
- },
928
- {
929
- "internalType": "uint256",
930
- "name": "fixedFee",
931
- "type": "uint256"
932
- }
933
- ],
934
- "internalType": "struct Fee",
935
- "name": "stakingFee",
936
- "type": "tuple"
987
+ "internalType": "uint16",
988
+ "name": "openClaimsCount",
989
+ "type": "uint16"
937
990
  },
938
991
  {
939
- "components": [
940
- {
941
- "internalType": "UFixed",
942
- "name": "fractionalFee",
943
- "type": "uint256"
944
- },
945
- {
946
- "internalType": "uint256",
947
- "name": "fixedFee",
948
- "type": "uint256"
949
- }
950
- ],
951
- "internalType": "struct Fee",
952
- "name": "performanceFee",
953
- "type": "tuple"
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": "uint256"
1109
+ },
1110
+ {
1111
+ "internalType": "UFixed",
1112
+ "name": "retentionLevel",
1113
+ "type": "uint256"
954
1114
  }
955
1115
  ],
956
- "internalType": "struct ITreasury.TreasuryInfo",
1116
+ "internalType": "struct IComponents.PoolInfo",
957
1117
  "name": "info",
958
1118
  "type": "tuple"
959
1119
  }
@@ -964,19 +1124,709 @@
964
1124
  {
965
1125
  "inputs": [
966
1126
  {
967
- "internalType": "address",
968
- "name": "registry",
969
- "type": "address"
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": "distributorNftId",
1349
+ "type": "uint96"
1350
+ },
1351
+ {
1352
+ "internalType": "string",
1353
+ "name": "referralCode",
1354
+ "type": "string"
1355
+ },
1356
+ {
1357
+ "internalType": "UFixed",
1358
+ "name": "discountPercentage",
1359
+ "type": "uint256"
1360
+ },
1361
+ {
1362
+ "internalType": "uint32",
1363
+ "name": "maxReferrals",
1364
+ "type": "uint32"
1365
+ },
1366
+ {
1367
+ "internalType": "uint32",
1368
+ "name": "usedReferrals",
1369
+ "type": "uint32"
1370
+ },
1371
+ {
1372
+ "internalType": "Timestamp",
1373
+ "name": "expiryAt",
1374
+ "type": "uint40"
1375
+ },
1376
+ {
1377
+ "internalType": "bytes",
1378
+ "name": "data",
1379
+ "type": "bytes"
1380
+ }
1381
+ ],
1382
+ "internalType": "struct IDistribution.ReferralInfo",
1383
+ "name": "info",
1384
+ "type": "tuple"
1385
+ }
1386
+ ],
1387
+ "stateMutability": "view",
1388
+ "type": "function"
1389
+ },
1390
+ {
1391
+ "inputs": [],
1392
+ "name": "getRegistry",
1393
+ "outputs": [
1394
+ {
1395
+ "internalType": "contract IRegistry",
1396
+ "name": "registry",
1397
+ "type": "address"
1398
+ }
1399
+ ],
1400
+ "stateMutability": "view",
1401
+ "type": "function"
1402
+ },
1403
+ {
1404
+ "inputs": [
1405
+ {
1406
+ "internalType": "NftId",
1407
+ "name": "policyNftId",
1408
+ "type": "uint96"
1409
+ }
1410
+ ],
1411
+ "name": "getRemainingClaimableAmount",
1412
+ "outputs": [
1413
+ {
1414
+ "internalType": "Amount",
1415
+ "name": "remainingClaimableAmount",
1416
+ "type": "uint96"
1417
+ }
1418
+ ],
1419
+ "stateMutability": "view",
1420
+ "type": "function"
1421
+ },
1422
+ {
1423
+ "inputs": [
1424
+ {
1425
+ "internalType": "RequestId",
1426
+ "name": "requestId",
1427
+ "type": "uint64"
1428
+ }
1429
+ ],
1430
+ "name": "getRequestInfo",
1431
+ "outputs": [
1432
+ {
1433
+ "components": [
1434
+ {
1435
+ "internalType": "NftId",
1436
+ "name": "requesterNftId",
1437
+ "type": "uint96"
1438
+ },
1439
+ {
1440
+ "internalType": "string",
1441
+ "name": "callbackMethodName",
1442
+ "type": "string"
1443
+ },
1444
+ {
1445
+ "internalType": "NftId",
1446
+ "name": "oracleNftId",
1447
+ "type": "uint96"
1448
+ },
1449
+ {
1450
+ "internalType": "bytes",
1451
+ "name": "requestData",
1452
+ "type": "bytes"
1453
+ },
1454
+ {
1455
+ "internalType": "bytes",
1456
+ "name": "responseData",
1457
+ "type": "bytes"
1458
+ },
1459
+ {
1460
+ "internalType": "Timestamp",
1461
+ "name": "respondedAt",
1462
+ "type": "uint40"
1463
+ },
1464
+ {
1465
+ "internalType": "Timestamp",
1466
+ "name": "expiredAt",
1467
+ "type": "uint40"
1468
+ },
1469
+ {
1470
+ "internalType": "bool",
1471
+ "name": "isCancelled",
1472
+ "type": "bool"
1473
+ }
1474
+ ],
1475
+ "internalType": "struct IOracle.RequestInfo",
1476
+ "name": "requestInfo",
1477
+ "type": "tuple"
1478
+ }
1479
+ ],
1480
+ "stateMutability": "view",
1481
+ "type": "function"
1482
+ },
1483
+ {
1484
+ "inputs": [
1485
+ {
1486
+ "internalType": "NftId",
1487
+ "name": "productNftId",
1488
+ "type": "uint96"
1489
+ },
1490
+ {
1491
+ "internalType": "uint256",
1492
+ "name": "idx",
1493
+ "type": "uint256"
1494
+ }
1495
+ ],
1496
+ "name": "getRiskId",
1497
+ "outputs": [
1498
+ {
1499
+ "internalType": "RiskId",
1500
+ "name": "riskId",
1501
+ "type": "bytes8"
1502
+ }
1503
+ ],
1504
+ "stateMutability": "view",
1505
+ "type": "function"
1506
+ },
1507
+ {
1508
+ "inputs": [
1509
+ {
1510
+ "internalType": "RiskId",
1511
+ "name": "riskId",
1512
+ "type": "bytes8"
1513
+ }
1514
+ ],
1515
+ "name": "getRiskInfo",
1516
+ "outputs": [
1517
+ {
1518
+ "components": [
1519
+ {
1520
+ "internalType": "NftId",
1521
+ "name": "productNftId",
1522
+ "type": "uint96"
1523
+ },
1524
+ {
1525
+ "internalType": "Timestamp",
1526
+ "name": "createdAt",
1527
+ "type": "uint40"
1528
+ },
1529
+ {
1530
+ "internalType": "bytes",
1531
+ "name": "data",
1532
+ "type": "bytes"
1533
+ }
1534
+ ],
1535
+ "internalType": "struct IRisk.RiskInfo",
1536
+ "name": "info",
1537
+ "type": "tuple"
1538
+ }
1539
+ ],
1540
+ "stateMutability": "view",
1541
+ "type": "function"
1542
+ },
1543
+ {
1544
+ "inputs": [],
1545
+ "name": "getRiskSet",
1546
+ "outputs": [
1547
+ {
1548
+ "internalType": "contract RiskSet",
1549
+ "name": "riskSet",
1550
+ "type": "address"
1551
+ }
1552
+ ],
1553
+ "stateMutability": "view",
1554
+ "type": "function"
1555
+ },
1556
+ {
1557
+ "inputs": [
1558
+ {
1559
+ "internalType": "RiskId",
1560
+ "name": "riskId",
1561
+ "type": "bytes8"
1562
+ }
1563
+ ],
1564
+ "name": "getRiskState",
1565
+ "outputs": [
1566
+ {
1567
+ "internalType": "StateId",
1568
+ "name": "stateId",
1569
+ "type": "uint8"
1570
+ }
1571
+ ],
1572
+ "stateMutability": "view",
1573
+ "type": "function"
1574
+ },
1575
+ {
1576
+ "inputs": [
1577
+ {
1578
+ "internalType": "Key32",
1579
+ "name": "key",
1580
+ "type": "bytes32"
1581
+ }
1582
+ ],
1583
+ "name": "getState",
1584
+ "outputs": [
1585
+ {
1586
+ "internalType": "StateId",
1587
+ "name": "state",
1588
+ "type": "uint8"
1589
+ }
1590
+ ],
1591
+ "stateMutability": "view",
1592
+ "type": "function"
1593
+ },
1594
+ {
1595
+ "inputs": [
1596
+ {
1597
+ "internalType": "NftId",
1598
+ "name": "componentNftId",
1599
+ "type": "uint96"
1600
+ }
1601
+ ],
1602
+ "name": "getToken",
1603
+ "outputs": [
1604
+ {
1605
+ "internalType": "contract IERC20Metadata",
1606
+ "name": "token",
1607
+ "type": "address"
1608
+ }
1609
+ ],
1610
+ "stateMutability": "view",
1611
+ "type": "function"
1612
+ },
1613
+ {
1614
+ "inputs": [
1615
+ {
1616
+ "internalType": "NftId",
1617
+ "name": "componentNftId",
1618
+ "type": "uint96"
1619
+ }
1620
+ ],
1621
+ "name": "getTokenHandler",
1622
+ "outputs": [
1623
+ {
1624
+ "internalType": "contract TokenHandler",
1625
+ "name": "tokenHandler",
1626
+ "type": "address"
1627
+ }
1628
+ ],
1629
+ "stateMutability": "view",
1630
+ "type": "function"
1631
+ },
1632
+ {
1633
+ "inputs": [
1634
+ {
1635
+ "internalType": "NftId",
1636
+ "name": "componentNftId",
1637
+ "type": "uint96"
1638
+ }
1639
+ ],
1640
+ "name": "getWallet",
1641
+ "outputs": [
1642
+ {
1643
+ "internalType": "address",
1644
+ "name": "wallet",
1645
+ "type": "address"
1646
+ }
1647
+ ],
1648
+ "stateMutability": "view",
1649
+ "type": "function"
1650
+ },
1651
+ {
1652
+ "inputs": [
1653
+ {
1654
+ "internalType": "address",
1655
+ "name": "account",
1656
+ "type": "address"
1657
+ },
1658
+ {
1659
+ "internalType": "RoleId",
1660
+ "name": "roleId",
1661
+ "type": "uint64"
1662
+ }
1663
+ ],
1664
+ "name": "hasAdminRole",
1665
+ "outputs": [
1666
+ {
1667
+ "internalType": "bool",
1668
+ "name": "isMember",
1669
+ "type": "bool"
1670
+ }
1671
+ ],
1672
+ "stateMutability": "view",
1673
+ "type": "function"
1674
+ },
1675
+ {
1676
+ "inputs": [
1677
+ {
1678
+ "internalType": "address",
1679
+ "name": "account",
1680
+ "type": "address"
1681
+ },
1682
+ {
1683
+ "internalType": "RoleId",
1684
+ "name": "roleId",
1685
+ "type": "uint64"
1686
+ }
1687
+ ],
1688
+ "name": "hasRole",
1689
+ "outputs": [
1690
+ {
1691
+ "internalType": "bool",
1692
+ "name": "isMember",
1693
+ "type": "bool"
1694
+ }
1695
+ ],
1696
+ "stateMutability": "view",
1697
+ "type": "function"
1698
+ },
1699
+ {
1700
+ "inputs": [],
1701
+ "name": "initialize",
1702
+ "outputs": [],
1703
+ "stateMutability": "nonpayable",
1704
+ "type": "function"
1705
+ },
1706
+ {
1707
+ "inputs": [
1708
+ {
1709
+ "internalType": "address",
1710
+ "name": "instanceAddress",
1711
+ "type": "address"
1712
+ }
1713
+ ],
1714
+ "name": "initializeWithInstance",
1715
+ "outputs": [],
1716
+ "stateMutability": "nonpayable",
1717
+ "type": "function"
1718
+ },
1719
+ {
1720
+ "inputs": [
1721
+ {
1722
+ "internalType": "address",
1723
+ "name": "target",
1724
+ "type": "address"
1725
+ }
1726
+ ],
1727
+ "name": "isLocked",
1728
+ "outputs": [
1729
+ {
1730
+ "internalType": "bool",
1731
+ "name": "",
1732
+ "type": "bool"
1733
+ }
1734
+ ],
1735
+ "stateMutability": "view",
1736
+ "type": "function"
1737
+ },
1738
+ {
1739
+ "inputs": [
1740
+ {
1741
+ "internalType": "NftId",
1742
+ "name": "policyNftId",
1743
+ "type": "uint96"
970
1744
  },
971
1745
  {
972
- "internalType": "address",
973
- "name": "instance",
974
- "type": "address"
1746
+ "internalType": "ClaimId",
1747
+ "name": "claimId",
1748
+ "type": "uint16"
975
1749
  }
976
1750
  ],
977
- "name": "initialize",
978
- "outputs": [],
979
- "stateMutability": "nonpayable",
1751
+ "name": "payouts",
1752
+ "outputs": [
1753
+ {
1754
+ "internalType": "uint24",
1755
+ "name": "payoutCount",
1756
+ "type": "uint24"
1757
+ }
1758
+ ],
1759
+ "stateMutability": "view",
1760
+ "type": "function"
1761
+ },
1762
+ {
1763
+ "inputs": [
1764
+ {
1765
+ "internalType": "RiskId",
1766
+ "name": "riskId",
1767
+ "type": "bytes8"
1768
+ }
1769
+ ],
1770
+ "name": "policiesForRisk",
1771
+ "outputs": [
1772
+ {
1773
+ "internalType": "uint256",
1774
+ "name": "linkedPolicies",
1775
+ "type": "uint256"
1776
+ }
1777
+ ],
1778
+ "stateMutability": "view",
1779
+ "type": "function"
1780
+ },
1781
+ {
1782
+ "inputs": [
1783
+ {
1784
+ "internalType": "NftId",
1785
+ "name": "policyNftId",
1786
+ "type": "uint96"
1787
+ }
1788
+ ],
1789
+ "name": "policyIsActive",
1790
+ "outputs": [
1791
+ {
1792
+ "internalType": "bool",
1793
+ "name": "isCloseable",
1794
+ "type": "bool"
1795
+ }
1796
+ ],
1797
+ "stateMutability": "view",
1798
+ "type": "function"
1799
+ },
1800
+ {
1801
+ "inputs": [],
1802
+ "name": "products",
1803
+ "outputs": [
1804
+ {
1805
+ "internalType": "uint256",
1806
+ "name": "productCount",
1807
+ "type": "uint256"
1808
+ }
1809
+ ],
1810
+ "stateMutability": "view",
1811
+ "type": "function"
1812
+ },
1813
+ {
1814
+ "inputs": [
1815
+ {
1816
+ "internalType": "NftId",
1817
+ "name": "productNftId",
1818
+ "type": "uint96"
1819
+ }
1820
+ ],
1821
+ "name": "risks",
1822
+ "outputs": [
1823
+ {
1824
+ "internalType": "uint256",
1825
+ "name": "riskCount",
1826
+ "type": "uint256"
1827
+ }
1828
+ ],
1829
+ "stateMutability": "view",
980
1830
  "type": "function"
981
1831
  },
982
1832
  {
@@ -998,6 +1848,25 @@
998
1848
  "stateMutability": "pure",
999
1849
  "type": "function"
1000
1850
  },
1851
+ {
1852
+ "inputs": [
1853
+ {
1854
+ "internalType": "NftId",
1855
+ "name": "componentNftId",
1856
+ "type": "uint96"
1857
+ }
1858
+ ],
1859
+ "name": "toComponentKey",
1860
+ "outputs": [
1861
+ {
1862
+ "internalType": "Key32",
1863
+ "name": "",
1864
+ "type": "bytes32"
1865
+ }
1866
+ ],
1867
+ "stateMutability": "pure",
1868
+ "type": "function"
1869
+ },
1001
1870
  {
1002
1871
  "inputs": [
1003
1872
  {
@@ -1036,6 +1905,25 @@
1036
1905
  "stateMutability": "pure",
1037
1906
  "type": "function"
1038
1907
  },
1908
+ {
1909
+ "inputs": [
1910
+ {
1911
+ "internalType": "NftId",
1912
+ "name": "productNftId",
1913
+ "type": "uint96"
1914
+ }
1915
+ ],
1916
+ "name": "toFeeKey",
1917
+ "outputs": [
1918
+ {
1919
+ "internalType": "Key32",
1920
+ "name": "",
1921
+ "type": "bytes32"
1922
+ }
1923
+ ],
1924
+ "stateMutability": "pure",
1925
+ "type": "function"
1926
+ },
1039
1927
  {
1040
1928
  "inputs": [
1041
1929
  {
@@ -1097,11 +1985,11 @@
1097
1985
  "inputs": [
1098
1986
  {
1099
1987
  "internalType": "NftId",
1100
- "name": "productNftId",
1988
+ "name": "policyNftId",
1101
1989
  "type": "uint96"
1102
1990
  }
1103
1991
  ],
1104
- "name": "toProductKey",
1992
+ "name": "toPremiumKey",
1105
1993
  "outputs": [
1106
1994
  {
1107
1995
  "internalType": "Key32",
@@ -1116,21 +2004,16 @@
1116
2004
  "inputs": [
1117
2005
  {
1118
2006
  "internalType": "NftId",
1119
- "name": "distributionNftId",
2007
+ "name": "productNftId",
1120
2008
  "type": "uint96"
1121
- },
1122
- {
1123
- "internalType": "string",
1124
- "name": "referralCode",
1125
- "type": "string"
1126
2009
  }
1127
2010
  ],
1128
- "name": "toReferralId",
2011
+ "name": "toProductKey",
1129
2012
  "outputs": [
1130
2013
  {
1131
- "internalType": "ReferralId",
1132
- "name": "referralId",
1133
- "type": "bytes8"
2014
+ "internalType": "Key32",
2015
+ "name": "",
2016
+ "type": "bytes32"
1134
2017
  }
1135
2018
  ],
1136
2019
  "stateMutability": "pure",
@@ -1140,16 +2023,21 @@
1140
2023
  "inputs": [
1141
2024
  {
1142
2025
  "internalType": "NftId",
1143
- "name": "productNftId",
2026
+ "name": "distributionNftId",
1144
2027
  "type": "uint96"
2028
+ },
2029
+ {
2030
+ "internalType": "string",
2031
+ "name": "referralCode",
2032
+ "type": "string"
1145
2033
  }
1146
2034
  ],
1147
- "name": "toTreasuryKey",
2035
+ "name": "toReferralId",
1148
2036
  "outputs": [
1149
2037
  {
1150
- "internalType": "Key32",
1151
- "name": "",
1152
- "type": "bytes32"
2038
+ "internalType": "ReferralId",
2039
+ "name": "referralId",
2040
+ "type": "bytes8"
1153
2041
  }
1154
2042
  ],
1155
2043
  "stateMutability": "pure",
@@ -1180,200 +2068,360 @@
1180
2068
  "type": "function"
1181
2069
  }
1182
2070
  ],
1183
- "bytecode": "0x608060405234801561001057600080fd5b50612dd0806100206000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c8063887b1fa9116100f9578063bd7d9d8511610097578063dd26287a11610071578063dd26287a146104f1578063de7b5d1414610504578063f2b246c314610515578063f7f318d31461053557600080fd5b8063bd7d9d85146104a0578063d06458c6146104c0578063d4cda0d8146104e057600080fd5b80639ad69c67116100d35780639ad69c671461036c578063a310e2a3146103de578063a5961b4c14610409578063b82d7ef51461047657600080fd5b8063887b1fa9146103075780639096a1f31461032757806390af70641461034c57600080fd5b806344aa68361161016657806355e343a91161014057806355e343a9146102ae57806364eb3a9b146102ce5780637bfd3217146102e15780637e54602a146102f457600080fd5b806344aa6836146102665780634793b4ab14610279578063485cc9551461029957600080fd5b80631488c845146101ae5780631d3be477146101d457806325d03743146101f457806327b1d7921461020757806335898f5d146102275780633f093cd61461023a575b600080fd5b6101c16101bc36600461193c565b610548565b6040519081526020015b60405180910390f35b6101e76101e236600461198b565b6105ce565b6040516101cb91906119f8565b6101c1610202366004611aa8565b610720565b61021a610215366004611aa8565b6107c0565b6040516101cb9190611ac5565b6101c1610235366004611aa8565b61087a565b61024d610248366004611c6f565b6108a7565b6040516001600160c01b031990911681526020016101cb565b6101c1610274366004611d01565b610924565b61028c610287366004611aa8565b61095f565b6040516101cb9190611d1a565b6102ac6102a7366004611de3565b610a05565b005b6102c16102bc366004611aa8565b610b10565b6040516101cb9190611e11565b6101c16102dc366004611aa8565b610c28565b6101c16102ef366004611aa8565b610c55565b6101c1610302366004611aa8565b610c82565b61031a61031536600461198b565b610caf565b6040516101cb9190611ed1565b61033a610335366004611aa8565b610dd8565b60405160ff90911681526020016101cb565b61035f61035a366004611aa8565b610e54565b6040516101cb9190611eff565b61037f61037a366004611aa8565b610efa565b6040805182516001600160601b031681526020808401516001600160a01b0390811682840152848401518051948401949094529201516060808301919091528301511515608080830191909152909201511660a082015260c0016101cb565b6103f16103ec366004611aa8565b610fa0565b6040516001600160a01b0390911681526020016101cb565b61041c610417366004611d01565b61104e565b6040516101cb9190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61048961048436600461198b565b6110e2565b6040805192835260ff9091166020830152016101cb565b6104b36104ae366004611aa8565b61138a565b6040516101cb9190612029565b6104d36104ce36600461198b565b6114a8565b6040516101cb919061216a565b6002546001600160a01b03166103f1565b6101c16104ff366004611aa8565b61161b565b6001546001600160a01b03166103f1565b610528610523366004611aa8565b611648565b6040516101cb919061221a565b6101c1610543366004611aa8565b611790565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af41580156105a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105c7919061231c565b9392505050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af4158015610675573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610699919061231c565b6040518263ffffffff1660e01b81526004016106b791815260200190565b600060405180830381865afa1580156106d4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106fc919081019061237a565b80519091501561071a57808060200190518101906105c791906123f0565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610796573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ba919061231c565b92915050565b604080516060808201835260008083526020830152918101919091526002546000906001600160a01b03166354f6127f6107f985610c82565b6040518263ffffffff1660e01b815260040161081791815260200190565b600060405180830381865afa158015610834573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261085c919081019061237a565b80519091501561071a57808060200190518101906105c791906124e9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b0384166078610749565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd6906108e3908690869060040161258f565b602060405180830381865af4158015610900573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105c791906125b1565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401610779565b6109676117bd565b6002546000906001600160a01b03166354f6127f61098485611790565b6040518263ffffffff1660e01b81526004016109a291815260200190565b600060405180830381865afa1580156109bf573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109e7919081019061237a565b80519091501561071a57808060200190518101906105c791906125fe565b60005460ff1615610a675760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b038216610abd5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f00000000006044820152606401610a5e565b60008054600180546001600160a01b039485166001600160a01b0319918216811783556002805490921617905560ff199390941661010002929092166001600160a81b0319909216919091179091179055565b610b8a60408051610120810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a082019081526000602082018190526040820181905260609091015290565b6002546000906001600160a01b03166354f6127f610ba78561161b565b6040518263ffffffff1660e01b8152600401610bc591815260200190565b600060405180830381865afa158015610be2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c0a919081019061237a565b80519091501561071a57808060200190518101906105c791906126e9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d2610749565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e610749565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a610749565b6040805180820190915260008152606060208201526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610d33573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d57919061231c565b6040518263ffffffff1660e01b8152600401610d7591815260200190565b600060405180830381865afa158015610d92573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610dba919081019061237a565b80519091501561071a57808060200190518101906105c7919061279e565b6001546000906001600160a01b03166309648a9d610df584610c28565b6040518263ffffffff1660e01b8152600401610e1391815260200190565b602060405180830381865afa158015610e30573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ba919061282c565b610e5c61183b565b6002546000906001600160a01b03166354f6127f610e7985610c55565b6040518263ffffffff1660e01b8152600401610e9791815260200190565b600060405180830381865afa158015610eb4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610edc919081019061237a565b80519091501561071a57808060200190518101906105c79190612849565b610f026118f4565b6002546000906001600160a01b03166354f6127f610f1f8561087a565b6040518263ffffffff1660e01b8152600401610f3d91815260200190565b600060405180830381865afa158015610f5a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f82919081019061237a565b80519091501561071a57808060200190518101906105c79190612940565b60025460009081906001600160a01b03166354f6127f610fbf85610720565b6040518263ffffffff1660e01b8152600401610fdd91815260200190565b600060405180830381865afa158015610ffa573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611022919081019061237a565b80519091501561071a5760008180602001905181019061104291906129b7565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa1580156110be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ba9190612a88565b60008060006110f0846105ce565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af415801561114f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111739190612af6565b156111f25773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156111c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e5919061231c565b60645b9250925050915091565b6112768160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611243573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112679190612b11565b64ffffffffff90811691161090565b156112ef5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156112c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112e8919061231c565b606e6111e8565b806060015163ffffffff16816080015163ffffffff161061137e5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611353573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611377919061231c565b60786111e8565b6040810151600a6111e8565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002546000906001600160a01b03166354f6127f61142785610c28565b6040518263ffffffff1660e01b815260040161144591815260200190565b600060405180830381865afa158015611462573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261148a919081019061237a565b80519091501561071a57808060200190518101906105c79190612b3e565b61150760405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611576573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061159a919061231c565b6040518263ffffffff1660e01b81526004016115b891815260200190565b600060405180830381865afa1580156115d5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115fd919081019061237a565b80519091501561071a57808060200190518101906105c79190612ca3565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c610749565b6116f2604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6002546000906001600160a01b03166354f6127f61170f85610720565b6040518263ffffffff1660e01b815260040161172d91815260200190565b600060405180830381865afa15801561174a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611772919081019061237a565b80519091501561071a57808060200190518101906105c791906129b7565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc610749565b60405180610120016040528060006001600160601b031681526020016117f6604051806040016040528060008152602001600081525090565b81526020016060815260200160008152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b604080516101808101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e0840152835180850185528281528082018390526101008401528351808501909452818452830152906101208201905b815260006020820181905260409091015290565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b031681526020016118e0604051806040016040528060008152602001600081525090565b6000806040838503121561194f57600080fd5b8235915060208301358060000b811461196757600080fd5b809150509250929050565b6001600160c01b03198116811461198857600080fd5b50565b60006020828403121561199d57600080fd5b81356105c781611972565b60005b838110156119c35781810151838201526020016119ab565b50506000910152565b600081518084526119e48160208601602086016119a8565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e06040840152611a286101008401826119cc565b90506040840151606084015263ffffffff60608501511660808401526080840151611a5b60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152611a8a82826119cc565b95945050505050565b6001600160601b038116811461198857600080fd5b600060208284031215611aba57600080fd5b81356105c781611a93565b602081526001600160401b0360c01b825116602082015260208201511515604082015260006040830151606080840152611b0260808401826119cc565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611b4257611b42611b0a565b60405290565b604080519081016001600160401b0381118282101715611b4257611b42611b0a565b60405161012081016001600160401b0381118282101715611b4257611b42611b0a565b60405161018081016001600160401b0381118282101715611b4257611b42611b0a565b60405160a081016001600160401b0381118282101715611b4257611b42611b0a565b60405161014081016001600160401b0381118282101715611b4257611b42611b0a565b60405161020081016001600160401b0381118282101715611b4257611b42611b0a565b604051601f8201601f191681016001600160401b0381118282101715611c4057611c40611b0a565b604052919050565b60006001600160401b03821115611c6157611c61611b0a565b50601f01601f191660200190565b60008060408385031215611c8257600080fd5b8235611c8d81611a93565b915060208301356001600160401b03811115611ca857600080fd5b8301601f81018513611cb957600080fd5b8035611ccc611cc782611c48565b611c18565b818152866020838501011115611ce157600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611d1357600080fd5b5035919050565b60208152611d346020820183516001600160601b03169052565b60006020830151611d52604084018280518252602090810151910152565b506040830151610140806080850152611d6f6101608501836119cc565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100818187015260e08701519150611db761012087018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b6001600160a01b038116811461198857600080fd5b60008060408385031215611df657600080fd5b8235611e0181611dce565b9150602083013561196781611dce565b81516001600160601b03168152602080830151610180830191611e3e908401826001600160a01b03169052565b50604083015160408301526060830151611e65606084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c08301518015156101208401525060e0830151801515610140840152506101008301516001600160a01b0381166101608401525b5092915050565b602081526001600160601b03825116602082015260006020830151604080840152611b0260608401826119cc565b81516001600160a01b0316815261024081016020830151611f2b60208401826001600160a01b03169052565b506040830151611f4660408401826001600160601b03169052565b506060830151611f6160608401826001600160601b03169052565b506080830151611f7e608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c0830151610100611fb48185018380518252602090810151910152565b60e08501519150610140611fd48186018480518252602090810151910152565b9085015180516101808601526020908101516101a086015261012086015180516101c087015201516101e08501528401511515610200840152506101608301516001600160a01b038116610220840152611eca565b602081526120436020820183516001600160601b03169052565b6000602083015161205f60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e083015161010081818501528085015191505061020061012081818601526120d76102208601846119cc565b9250808601519050610140601f1986850301818701526120f784836119cc565b9350808701519150506101606121128187018361ffff169052565b86015190506101806121298682018361ffff169052565b8601516101a08681019190915286015190506101c06121508187018364ffffffffff169052565b86015190506101e0611db78682018364ffffffffff169052565b60208152600082516101208060208501526121896101408501836119cc565b915060208501516040850152604085015160608501526060850151608085015260808501516121c060a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006121f68187018315159052565b860151858403601f190183870152905061221083826119cc565b9695505050505050565b81516001600160a01b031681526102008101602083015161224660208401826001600160a01b03169052565b50604083015161226160408401826001600160601b03169052565b50606083015161227c60608401826001600160601b03169052565b506080830151612299608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301516101006122cf8185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e08501529050611eca565b60006020828403121561232e57600080fd5b5051919050565b600082601f83011261234657600080fd5b8151612354611cc782611c48565b81815284602083860101111561236957600080fd5b611b028260208301602087016119a8565b60006020828403121561238c57600080fd5b81516001600160401b038111156123a257600080fd5b611b0284828501612335565b80516123b981611a93565b919050565b63ffffffff8116811461198857600080fd5b80516123b9816123be565b805164ffffffffff811681146123b957600080fd5b60006020828403121561240257600080fd5b81516001600160401b038082111561241957600080fd5b9083019060e0828603121561242d57600080fd5b612435611b20565b61243e836123ae565b815260208301518281111561245257600080fd5b61245e87828601612335565b6020830152506040830151604082015261247a606084016123d0565b606082015261248b608084016123d0565b608082015261249c60a084016123db565b60a082015260c0830151828111156124b357600080fd5b6124bf87828601612335565b60c08301525095945050505050565b80516123b981611972565b805180151581146123b957600080fd5b6000602082840312156124fb57600080fd5b81516001600160401b038082111561251257600080fd5b908301906060828603121561252657600080fd5b60405160608101818110838211171561254157612541611b0a565b604052825161254f81611972565b815261255d602084016124d9565b602082015260408301518281111561257457600080fd5b61258087828601612335565b60408301525095945050505050565b6001600160601b0383168152604060208201526000611b0260408301846119cc565b6000602082840312156125c357600080fd5b81516105c781611972565b6000604082840312156125e057600080fd5b6125e8611b48565b9050815181526020820151602082015292915050565b60006020828403121561261057600080fd5b81516001600160401b038082111561262757600080fd5b90830190610140828603121561263c57600080fd5b612644611b6a565b61264d836123ae565b815261265c86602085016125ce565b602082015260608301518281111561267357600080fd5b61267f87828601612335565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c082015261010091506126bd8284016123db565b60e08201526126cf61012084016123db565b91810191909152949350505050565b80516123b981611dce565b600061018082840312156126fc57600080fd5b612704611b6a565b61270d836123ae565b815261271b602084016126de565b60208201526040830151604082015261273784606085016125ce565b60608201526127498460a085016125ce565b608082015261275b8460e085016125ce565b60a082015261276d61012084016124d9565b60c082015261277f61014084016124d9565b60e082015261279161016084016126de565b6101008201529392505050565b6000602082840312156127b057600080fd5b81516001600160401b03808211156127c757600080fd5b90830190604082860312156127db57600080fd5b6127e3611b48565b82516127ee81611a93565b815260208301518281111561280257600080fd5b61280e87828601612335565b60208301525095945050505050565b60ff8116811461198857600080fd5b60006020828403121561283e57600080fd5b81516105c78161281d565b6000610240828403121561285c57600080fd5b612864611b8d565b61286d836126de565b815261287b602084016126de565b602082015261288c604084016123ae565b604082015261289d606084016123ae565b60608201526128af84608085016125ce565b60808201526128c18460c085016125ce565b60a08201526101006128d5858286016125ce565b60c08301526101406128e9868287016125ce565b60e08401526128fc8661018087016125ce565b8284015261290e866101c087016125ce565b61012084015261292161020086016124d9565b908301525061293361022084016126de565b6101608201529392505050565b600060c0828403121561295257600080fd5b61295a611bb0565b825161296581611a93565b8152602083015161297581611dce565b602082015261298784604085016125ce565b6040820152612998608084016124d9565b606082015260a08301516129ab81611dce565b60808201529392505050565b600061020082840312156129ca57600080fd5b6129d2611bd2565b6129db836126de565b81526129e9602084016126de565b60208201526129fa604084016123ae565b6040820152612a0b606084016123ae565b6060820152612a1d84608085016125ce565b6080820152612a2f8460c085016125ce565b60a0820152610100612a43858286016125ce565b60c0830152612a568561014086016125ce565b60e0830152612a698561018086016125ce565b90820152612a7b846101c085016125ce565b6101208201529392505050565b600060a08284031215612a9a57600080fd5b612aa2611bb0565b8251612aad8161281d565b81526020830151612abd8161281d565b60208201526040830151612ad081611dce565b60408201526060830151612ae3816123be565b606082015260808301516129ab816123be565b600060208284031215612b0857600080fd5b6105c7826124d9565b600060208284031215612b2357600080fd5b6105c7826123db565b805161ffff811681146123b957600080fd5b600060208284031215612b5057600080fd5b81516001600160401b0380821115612b6757600080fd5b908301906102008286031215612b7c57600080fd5b612b84611bf5565b612b8d836123ae565b8152612b9b602084016123ae565b6020820152612bac604084016124ce565b6040820152612bbd606084016124ce565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015183811115612bfe57600080fd5b612c0a88828701612335565b8284015250506101208084015183811115612c2457600080fd5b612c3088828701612335565b8284015250506101409150612c46828401612b2c565b828201526101609150612c5a828401612b2c565b82820152610180915081830151828201526101a09150612c7b8284016123db565b828201526101c09150612c8f8284016123db565b828201526101e091506126cf8284016123db565b600060208284031215612cb557600080fd5b81516001600160401b0380821115612ccc57600080fd5b908301906101208286031215612ce157600080fd5b612ce9611b6a565b825182811115612cf857600080fd5b612d0487828601612335565b825250602083015160208201526040830151604082015260608301516060820152612d31608084016123d0565b6080820152612d4260a084016123d0565b60a0820152612d5360c084016124d9565b60c0820152612d6460e084016124d9565b60e08201526101008084015183811115612d7d57600080fd5b612d8988828701612335565b91830191909152509594505050505056fea2646970667358221220c20140c3bd7846614699c5877b8233b33dd566fa914689c45bf3c1154c84145d64736f6c63430008140033",
1184
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101a95760003560e01c8063887b1fa9116100f9578063bd7d9d8511610097578063dd26287a11610071578063dd26287a146104f1578063de7b5d1414610504578063f2b246c314610515578063f7f318d31461053557600080fd5b8063bd7d9d85146104a0578063d06458c6146104c0578063d4cda0d8146104e057600080fd5b80639ad69c67116100d35780639ad69c671461036c578063a310e2a3146103de578063a5961b4c14610409578063b82d7ef51461047657600080fd5b8063887b1fa9146103075780639096a1f31461032757806390af70641461034c57600080fd5b806344aa68361161016657806355e343a91161014057806355e343a9146102ae57806364eb3a9b146102ce5780637bfd3217146102e15780637e54602a146102f457600080fd5b806344aa6836146102665780634793b4ab14610279578063485cc9551461029957600080fd5b80631488c845146101ae5780631d3be477146101d457806325d03743146101f457806327b1d7921461020757806335898f5d146102275780633f093cd61461023a575b600080fd5b6101c16101bc36600461193c565b610548565b6040519081526020015b60405180910390f35b6101e76101e236600461198b565b6105ce565b6040516101cb91906119f8565b6101c1610202366004611aa8565b610720565b61021a610215366004611aa8565b6107c0565b6040516101cb9190611ac5565b6101c1610235366004611aa8565b61087a565b61024d610248366004611c6f565b6108a7565b6040516001600160c01b031990911681526020016101cb565b6101c1610274366004611d01565b610924565b61028c610287366004611aa8565b61095f565b6040516101cb9190611d1a565b6102ac6102a7366004611de3565b610a05565b005b6102c16102bc366004611aa8565b610b10565b6040516101cb9190611e11565b6101c16102dc366004611aa8565b610c28565b6101c16102ef366004611aa8565b610c55565b6101c1610302366004611aa8565b610c82565b61031a61031536600461198b565b610caf565b6040516101cb9190611ed1565b61033a610335366004611aa8565b610dd8565b60405160ff90911681526020016101cb565b61035f61035a366004611aa8565b610e54565b6040516101cb9190611eff565b61037f61037a366004611aa8565b610efa565b6040805182516001600160601b031681526020808401516001600160a01b0390811682840152848401518051948401949094529201516060808301919091528301511515608080830191909152909201511660a082015260c0016101cb565b6103f16103ec366004611aa8565b610fa0565b6040516001600160a01b0390911681526020016101cb565b61041c610417366004611d01565b61104e565b6040516101cb9190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61048961048436600461198b565b6110e2565b6040805192835260ff9091166020830152016101cb565b6104b36104ae366004611aa8565b61138a565b6040516101cb9190612029565b6104d36104ce36600461198b565b6114a8565b6040516101cb919061216a565b6002546001600160a01b03166103f1565b6101c16104ff366004611aa8565b61161b565b6001546001600160a01b03166103f1565b610528610523366004611aa8565b611648565b6040516101cb919061221a565b6101c1610543366004611aa8565b611790565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af41580156105a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105c7919061231c565b9392505050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af4158015610675573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610699919061231c565b6040518263ffffffff1660e01b81526004016106b791815260200190565b600060405180830381865afa1580156106d4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106fc919081019061237a565b80519091501561071a57808060200190518101906105c791906123f0565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610796573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ba919061231c565b92915050565b604080516060808201835260008083526020830152918101919091526002546000906001600160a01b03166354f6127f6107f985610c82565b6040518263ffffffff1660e01b815260040161081791815260200190565b600060405180830381865afa158015610834573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261085c919081019061237a565b80519091501561071a57808060200190518101906105c791906124e9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b0384166078610749565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd6906108e3908690869060040161258f565b602060405180830381865af4158015610900573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105c791906125b1565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401610779565b6109676117bd565b6002546000906001600160a01b03166354f6127f61098485611790565b6040518263ffffffff1660e01b81526004016109a291815260200190565b600060405180830381865afa1580156109bf573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109e7919081019061237a565b80519091501561071a57808060200190518101906105c791906125fe565b60005460ff1615610a675760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b038216610abd5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f00000000006044820152606401610a5e565b60008054600180546001600160a01b039485166001600160a01b0319918216811783556002805490921617905560ff199390941661010002929092166001600160a81b0319909216919091179091179055565b610b8a60408051610120810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a082019081526000602082018190526040820181905260609091015290565b6002546000906001600160a01b03166354f6127f610ba78561161b565b6040518263ffffffff1660e01b8152600401610bc591815260200190565b600060405180830381865afa158015610be2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c0a919081019061237a565b80519091501561071a57808060200190518101906105c791906126e9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d2610749565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e610749565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a610749565b6040805180820190915260008152606060208201526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610d33573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d57919061231c565b6040518263ffffffff1660e01b8152600401610d7591815260200190565b600060405180830381865afa158015610d92573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610dba919081019061237a565b80519091501561071a57808060200190518101906105c7919061279e565b6001546000906001600160a01b03166309648a9d610df584610c28565b6040518263ffffffff1660e01b8152600401610e1391815260200190565b602060405180830381865afa158015610e30573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ba919061282c565b610e5c61183b565b6002546000906001600160a01b03166354f6127f610e7985610c55565b6040518263ffffffff1660e01b8152600401610e9791815260200190565b600060405180830381865afa158015610eb4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610edc919081019061237a565b80519091501561071a57808060200190518101906105c79190612849565b610f026118f4565b6002546000906001600160a01b03166354f6127f610f1f8561087a565b6040518263ffffffff1660e01b8152600401610f3d91815260200190565b600060405180830381865afa158015610f5a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f82919081019061237a565b80519091501561071a57808060200190518101906105c79190612940565b60025460009081906001600160a01b03166354f6127f610fbf85610720565b6040518263ffffffff1660e01b8152600401610fdd91815260200190565b600060405180830381865afa158015610ffa573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611022919081019061237a565b80519091501561071a5760008180602001905181019061104291906129b7565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa1580156110be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ba9190612a88565b60008060006110f0846105ce565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af415801561114f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111739190612af6565b156111f25773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156111c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e5919061231c565b60645b9250925050915091565b6112768160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611243573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112679190612b11565b64ffffffffff90811691161090565b156112ef5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156112c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112e8919061231c565b606e6111e8565b806060015163ffffffff16816080015163ffffffff161061137e5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611353573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611377919061231c565b60786111e8565b6040810151600a6111e8565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002546000906001600160a01b03166354f6127f61142785610c28565b6040518263ffffffff1660e01b815260040161144591815260200190565b600060405180830381865afa158015611462573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261148a919081019061237a565b80519091501561071a57808060200190518101906105c79190612b3e565b61150760405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611576573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061159a919061231c565b6040518263ffffffff1660e01b81526004016115b891815260200190565b600060405180830381865afa1580156115d5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115fd919081019061237a565b80519091501561071a57808060200190518101906105c79190612ca3565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c610749565b6116f2604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6002546000906001600160a01b03166354f6127f61170f85610720565b6040518263ffffffff1660e01b815260040161172d91815260200190565b600060405180830381865afa15801561174a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611772919081019061237a565b80519091501561071a57808060200190518101906105c791906129b7565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc610749565b60405180610120016040528060006001600160601b031681526020016117f6604051806040016040528060008152602001600081525090565b81526020016060815260200160008152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b604080516101808101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e0840152835180850185528281528082018390526101008401528351808501909452818452830152906101208201905b815260006020820181905260409091015290565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b031681526020016118e0604051806040016040528060008152602001600081525090565b6000806040838503121561194f57600080fd5b8235915060208301358060000b811461196757600080fd5b809150509250929050565b6001600160c01b03198116811461198857600080fd5b50565b60006020828403121561199d57600080fd5b81356105c781611972565b60005b838110156119c35781810151838201526020016119ab565b50506000910152565b600081518084526119e48160208601602086016119a8565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e06040840152611a286101008401826119cc565b90506040840151606084015263ffffffff60608501511660808401526080840151611a5b60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152611a8a82826119cc565b95945050505050565b6001600160601b038116811461198857600080fd5b600060208284031215611aba57600080fd5b81356105c781611a93565b602081526001600160401b0360c01b825116602082015260208201511515604082015260006040830151606080840152611b0260808401826119cc565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611b4257611b42611b0a565b60405290565b604080519081016001600160401b0381118282101715611b4257611b42611b0a565b60405161012081016001600160401b0381118282101715611b4257611b42611b0a565b60405161018081016001600160401b0381118282101715611b4257611b42611b0a565b60405160a081016001600160401b0381118282101715611b4257611b42611b0a565b60405161014081016001600160401b0381118282101715611b4257611b42611b0a565b60405161020081016001600160401b0381118282101715611b4257611b42611b0a565b604051601f8201601f191681016001600160401b0381118282101715611c4057611c40611b0a565b604052919050565b60006001600160401b03821115611c6157611c61611b0a565b50601f01601f191660200190565b60008060408385031215611c8257600080fd5b8235611c8d81611a93565b915060208301356001600160401b03811115611ca857600080fd5b8301601f81018513611cb957600080fd5b8035611ccc611cc782611c48565b611c18565b818152866020838501011115611ce157600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611d1357600080fd5b5035919050565b60208152611d346020820183516001600160601b03169052565b60006020830151611d52604084018280518252602090810151910152565b506040830151610140806080850152611d6f6101608501836119cc565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100818187015260e08701519150611db761012087018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b6001600160a01b038116811461198857600080fd5b60008060408385031215611df657600080fd5b8235611e0181611dce565b9150602083013561196781611dce565b81516001600160601b03168152602080830151610180830191611e3e908401826001600160a01b03169052565b50604083015160408301526060830151611e65606084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c08301518015156101208401525060e0830151801515610140840152506101008301516001600160a01b0381166101608401525b5092915050565b602081526001600160601b03825116602082015260006020830151604080840152611b0260608401826119cc565b81516001600160a01b0316815261024081016020830151611f2b60208401826001600160a01b03169052565b506040830151611f4660408401826001600160601b03169052565b506060830151611f6160608401826001600160601b03169052565b506080830151611f7e608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c0830151610100611fb48185018380518252602090810151910152565b60e08501519150610140611fd48186018480518252602090810151910152565b9085015180516101808601526020908101516101a086015261012086015180516101c087015201516101e08501528401511515610200840152506101608301516001600160a01b038116610220840152611eca565b602081526120436020820183516001600160601b03169052565b6000602083015161205f60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e083015161010081818501528085015191505061020061012081818601526120d76102208601846119cc565b9250808601519050610140601f1986850301818701526120f784836119cc565b9350808701519150506101606121128187018361ffff169052565b86015190506101806121298682018361ffff169052565b8601516101a08681019190915286015190506101c06121508187018364ffffffffff169052565b86015190506101e0611db78682018364ffffffffff169052565b60208152600082516101208060208501526121896101408501836119cc565b915060208501516040850152604085015160608501526060850151608085015260808501516121c060a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006121f68187018315159052565b860151858403601f190183870152905061221083826119cc565b9695505050505050565b81516001600160a01b031681526102008101602083015161224660208401826001600160a01b03169052565b50604083015161226160408401826001600160601b03169052565b50606083015161227c60608401826001600160601b03169052565b506080830151612299608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301516101006122cf8185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e08501529050611eca565b60006020828403121561232e57600080fd5b5051919050565b600082601f83011261234657600080fd5b8151612354611cc782611c48565b81815284602083860101111561236957600080fd5b611b028260208301602087016119a8565b60006020828403121561238c57600080fd5b81516001600160401b038111156123a257600080fd5b611b0284828501612335565b80516123b981611a93565b919050565b63ffffffff8116811461198857600080fd5b80516123b9816123be565b805164ffffffffff811681146123b957600080fd5b60006020828403121561240257600080fd5b81516001600160401b038082111561241957600080fd5b9083019060e0828603121561242d57600080fd5b612435611b20565b61243e836123ae565b815260208301518281111561245257600080fd5b61245e87828601612335565b6020830152506040830151604082015261247a606084016123d0565b606082015261248b608084016123d0565b608082015261249c60a084016123db565b60a082015260c0830151828111156124b357600080fd5b6124bf87828601612335565b60c08301525095945050505050565b80516123b981611972565b805180151581146123b957600080fd5b6000602082840312156124fb57600080fd5b81516001600160401b038082111561251257600080fd5b908301906060828603121561252657600080fd5b60405160608101818110838211171561254157612541611b0a565b604052825161254f81611972565b815261255d602084016124d9565b602082015260408301518281111561257457600080fd5b61258087828601612335565b60408301525095945050505050565b6001600160601b0383168152604060208201526000611b0260408301846119cc565b6000602082840312156125c357600080fd5b81516105c781611972565b6000604082840312156125e057600080fd5b6125e8611b48565b9050815181526020820151602082015292915050565b60006020828403121561261057600080fd5b81516001600160401b038082111561262757600080fd5b90830190610140828603121561263c57600080fd5b612644611b6a565b61264d836123ae565b815261265c86602085016125ce565b602082015260608301518281111561267357600080fd5b61267f87828601612335565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c082015261010091506126bd8284016123db565b60e08201526126cf61012084016123db565b91810191909152949350505050565b80516123b981611dce565b600061018082840312156126fc57600080fd5b612704611b6a565b61270d836123ae565b815261271b602084016126de565b60208201526040830151604082015261273784606085016125ce565b60608201526127498460a085016125ce565b608082015261275b8460e085016125ce565b60a082015261276d61012084016124d9565b60c082015261277f61014084016124d9565b60e082015261279161016084016126de565b6101008201529392505050565b6000602082840312156127b057600080fd5b81516001600160401b03808211156127c757600080fd5b90830190604082860312156127db57600080fd5b6127e3611b48565b82516127ee81611a93565b815260208301518281111561280257600080fd5b61280e87828601612335565b60208301525095945050505050565b60ff8116811461198857600080fd5b60006020828403121561283e57600080fd5b81516105c78161281d565b6000610240828403121561285c57600080fd5b612864611b8d565b61286d836126de565b815261287b602084016126de565b602082015261288c604084016123ae565b604082015261289d606084016123ae565b60608201526128af84608085016125ce565b60808201526128c18460c085016125ce565b60a08201526101006128d5858286016125ce565b60c08301526101406128e9868287016125ce565b60e08401526128fc8661018087016125ce565b8284015261290e866101c087016125ce565b61012084015261292161020086016124d9565b908301525061293361022084016126de565b6101608201529392505050565b600060c0828403121561295257600080fd5b61295a611bb0565b825161296581611a93565b8152602083015161297581611dce565b602082015261298784604085016125ce565b6040820152612998608084016124d9565b606082015260a08301516129ab81611dce565b60808201529392505050565b600061020082840312156129ca57600080fd5b6129d2611bd2565b6129db836126de565b81526129e9602084016126de565b60208201526129fa604084016123ae565b6040820152612a0b606084016123ae565b6060820152612a1d84608085016125ce565b6080820152612a2f8460c085016125ce565b60a0820152610100612a43858286016125ce565b60c0830152612a568561014086016125ce565b60e0830152612a698561018086016125ce565b90820152612a7b846101c085016125ce565b6101208201529392505050565b600060a08284031215612a9a57600080fd5b612aa2611bb0565b8251612aad8161281d565b81526020830151612abd8161281d565b60208201526040830151612ad081611dce565b60408201526060830151612ae3816123be565b606082015260808301516129ab816123be565b600060208284031215612b0857600080fd5b6105c7826124d9565b600060208284031215612b2357600080fd5b6105c7826123db565b805161ffff811681146123b957600080fd5b600060208284031215612b5057600080fd5b81516001600160401b0380821115612b6757600080fd5b908301906102008286031215612b7c57600080fd5b612b84611bf5565b612b8d836123ae565b8152612b9b602084016123ae565b6020820152612bac604084016124ce565b6040820152612bbd606084016124ce565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015183811115612bfe57600080fd5b612c0a88828701612335565b8284015250506101208084015183811115612c2457600080fd5b612c3088828701612335565b8284015250506101409150612c46828401612b2c565b828201526101609150612c5a828401612b2c565b82820152610180915081830151828201526101a09150612c7b8284016123db565b828201526101c09150612c8f8284016123db565b828201526101e091506126cf8284016123db565b600060208284031215612cb557600080fd5b81516001600160401b0380821115612ccc57600080fd5b908301906101208286031215612ce157600080fd5b612ce9611b6a565b825182811115612cf857600080fd5b612d0487828601612335565b825250602083015160208201526040830151604082015260608301516060820152612d31608084016123d0565b6080820152612d4260a084016123d0565b60a0820152612d5360c084016124d9565b60c0820152612d6460e084016124d9565b60e08201526101008084015183811115612d7d57600080fd5b612d8988828701612335565b91830191909152509594505050505056fea2646970667358221220c20140c3bd7846614699c5877b8233b33dd566fa914689c45bf3c1154c84145d64736f6c63430008140033",
2071
+ "bytecode": "0x60806040525f805460ff191690553480156017575f80fd5b5061536a806100255f395ff3fe608060405234801561000f575f80fd5b506004361061040c575f3560e01c80636ebed90811610221578063c71e261f1161012a578063e98413ff116100b4578063f7f318d311610084578063f7f318d314610ac6578063fad77c3b14610ad9578063fcad2c4b14610aec578063fd80249214610aff578063febe92af14610b1f575f80fd5b8063e98413ff14610a57578063f0ea17c314610a80578063f3ed991914610aa0578063f4809edd14610ab3575f80fd5b8063db70354c116100fa578063db70354c146109ed578063dd26287a14610a00578063de7b5d1414610a13578063dfbf164014610a24578063e444c3df14610a37575f80fd5b8063c71e261f146109a1578063cd55e51b146109a9578063d06458c6146109bc578063d4cda0d8146109dc575f80fd5b80639096a1f3116101ab578063a7ef3d211161017b578063a7ef3d211461091c578063b82d7ef51461093c578063ba579bdc14610966578063ba62fbe414610979578063bd7d9d8514610981575f80fd5b80639096a1f31461088757806394b9929b1461089a578063a310e2a3146108ad578063a5961b4c146108c0575f80fd5b80637e54602a116101f15780637e54602a146108315780637e798669146108445780638129fc1c1461084c578063887b1fa9146108545780638eb9000d14610874575f80fd5b80636ebed908146107e557806378ae9350146107f85780637bfd32171461080b5780637d8f1e811461081e575f80fd5b806335898f5d116103235780634fb784f5116102ad57806364fc31421161027d57806364fc3142146107795780636553994c1461078c5780636791f7ab1461079f5780636a05a413146107b45780636dddada4146107d4575f80fd5b80634fb784f5146106c557806357f80bbf146106d85780635ab1bd531461075157806364eb3a9b14610766575f80fd5b80633f093cd6116102f35780633f093cd61461064957806344aa68361461065c5780634793b4ab1461066f5780634a4fbeec1461068f5780634d21a63d146106b2575f80fd5b806335898f5d146105ea578063380bd950146105fd5780633b046f09146106105780633f07127514610636575f80fd5b80631488c845116103a457806327b1d7921161037457806327b1d7921461057e5780632c0cd0601461059e5780632f458a11146105b157806333fc7dee146105c457806334bd5be3146105d7575f80fd5b80631488c8451461052557806315b74532146105385780631d3be4771461054b578063228e42ec1461056b575f80fd5b80630e0c586d116103df5780630e0c586d1461049857806310bf267b146104bd578063128817d4146104e457806313ab148d14610504575f80fd5b80630232ca491461041057806309648a9d1461044057806309c5844f146104655780630b5d931c14610478575b5f80fd5b61042361041e366004613554565b610b3f565b6040516001600160601b0390911681526020015b60405180910390f35b61045361044e36600461356f565b610bb9565b60405160ff9091168152602001610437565b610453610473366004613554565b610c2e565b61048b610486366004613554565b610ca7565b60405161043791906135c9565b6004546001600160a01b03165b6040516001600160a01b039091168152602001610437565b6104d06104cb366004613670565b610d8c565b60405162ffffff9091168152602001610437565b6104f76104f23660046136a7565b610da2565b60405161043791906136d1565b610517610512366004613554565b610e22565b604051908152602001610437565b6105176105333660046136e6565b610e96565b61042361054636600461356f565b610f12565b61055e610559366004613723565b610f43565b604051610437919061376c565b610423610579366004613554565b61108c565b61059161058c366004613554565b6110c5565b6040516104379190613806565b6104236105ac366004613554565b611182565b6105176105bf366004613554565b6111a2565b6105176105d2366004613554565b6111e0565b6105176105e5366004613554565b61121e565b6105176105f8366004613554565b611291565b61042361060b36600461385f565b6112bd565b61062361061e366004613554565b61133e565b60405161ffff9091168152602001610437565b610517610644366004613554565b611353565b6104f76106573660046139ff565b61137f565b61051761066a36600461356f565b6113d5565b61068261067d366004613554565b61140f565b6040516104379190613a8b565b6106a261069d366004613b2a565b6114b0565b6040519015158152602001610437565b6104a56106c0366004613554565b611584565b6105176106d3366004613554565b611600565b6106eb6106e6366004613554565b61162c565b60405161043791905f60e0820190506001600160601b03835116825260208301511515602083015260408301511515604083015260608301511515606083015260808301511515608083015260a083015160a083015260c083015160c083015292915050565b5f5461010090046001600160a01b03166104a5565b610517610774366004613554565b6116fd565b6106a2610787366004613b59565b611729565b61051761079a366004613723565b61180e565b6107b26107ad366004613b2a565b61183f565b005b6107c76107c2366004613554565b611a92565b6040516104379190613b85565b6003546001600160a01b03166104a5565b6104236107f33660046136a7565b611b33565b610453610806366004613670565b611b73565b610517610819366004613554565b611c6a565b61045361082c366004613554565b611c96565b61051761083f366004613554565b611cb2565b610423611cde565b6107b2611d56565b610867610862366004613723565b611d84565b6040516104379190613c2e565b610423610882366004613554565b611eb1565b610453610895366004613554565b611eea565b6105176108a8366004613554565b611f06565b6104a56108bb366004613554565b611f3f565b6108d36108ce36600461356f565b611fda565b60405161043791905f60808201905060ff835116825260ff602084015116602083015263ffffffff604084015116604083015263ffffffff606084015116606083015292915050565b61092f61092a366004613670565b612064565b6040516104379190613c6c565b61094f61094a366004613723565b6121c0565b6040805192835260ff909116602083015201610437565b6106a2610974366004613554565b61245c565b6105176126aa565b61099461098f366004613554565b612782565b6040516104379190613d16565b61051761289a565b6106a26109b7366004613b59565b612905565b6109cf6109ca366004613723565b6129af565b6040516104379190613e8e565b6002546001600160a01b03166104a5565b6104236109fb3660046136a7565b612b1a565b610517610a0e366004613554565b612b5a565b6001546001600160a01b03166104a5565b6104a5610a32366004613554565b612b86565b610a4a610a45366004613554565b612bde565b6040516104379190613f30565b610a6a610a65366004614130565b612d07565b60405164ffffffffff9091168152602001610437565b610a93610a8e366004613554565b612d99565b604051610437919061415c565b610453610aae3660046141cb565b612e6d565b6104f7610ac13660046136a7565b612ecf565b610517610ad4366004613554565b612f14565b610623610ae736600461356f565b612f40565b610453610afa366004613723565b612fc3565b610b12610b0d3660046141cb565b613112565b60405161043791906141f7565b610b32610b2d366004614262565b613254565b604051610437919061427d565b600254604051630232ca4960e01b81526001600160601b03831660048201525f916001600160a01b031690630232ca49906024015b602060405180830381865afa158015610b8f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb3919061435b565b92915050565b60025460405163296586d360e21b8152600481018390525f916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015610c00573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c2491906143ab565b6020015192915050565b6002545f906001600160a01b03166309648a9d610c4a8461121e565b6040518263ffffffff1660e01b8152600401610c6891815260200190565b602060405180830381865afa158015610c83573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb39190614412565b60408051610100810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e08201526002549091906001600160a01b03166354f6127f610d0285611c6a565b6040518263ffffffff1660e01b8152600401610d2091815260200190565b5f60405180830381865afa158015610d3a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610d61919081019061447c565b805190915015610d865780806020019051810190610d7f9190614544565b9392505050565b50919050565b5f610d978383612064565b604001519392505050565b600480546040516304a205f560e21b81526001600160601b03851692810192909252602482018390525f916001600160a01b039091169063128817d4906044015b602060405180830381865afa158015610dfe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7f9190614631565b6003546040516313ab148d60e01b81526001600160601b03831660048201525f916001600160a01b0316906313ab148d906024015b602060405180830381865afa158015610e72573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb3919061464c565b604051631488c84560e01b8152600481018390525f82810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af4158015610eee573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7f919061464c565b600154604051630adba29960e11b8152600481018390525f916001600160a01b0316906315b7453290602401610b74565b6040805160e0810182525f8082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526002546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590610fd0906001600160c01b03198916906004016136d1565b602060405180830381865af4158015610feb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061100f919061464c565b6040518263ffffffff1660e01b815260040161102d91815260200190565b5f60405180830381865afa158015611047573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261106e919081019061447c565b805190915015610d865780806020019051810190610d7f919061466e565b6002546040516308a390bb60e21b81526001600160601b03831660048201525f916001600160a01b03169063228e42ec90602401610b74565b604080516080810182525f808252602082018190526060928201839052918101919091526002545f906001600160a01b03166354f6127f61110585611cb2565b6040518263ffffffff1660e01b815260040161112391815260200190565b5f60405180830381865afa15801561113d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611164919081019061447c565b805190915015610d865780806020019051810190610d7f9190614750565b5f8061118d83612782565b9050610d7f81608001518261016001516133a2565b60048054604051632f458a1160e01b81526001600160601b038416928101929092525f916001600160a01b0390911690632f458a1190602401610e57565b600480546040516319fe3ef760e11b81526001600160601b038416928101929092525f916001600160a01b03909116906333fc7dee90602401610e57565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416602b5b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610e72573d5f803e3d5ffd5b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600e611246565b600480546040516346cad99560e11b81526001600160c01b0319851692810192909252602482018390525f916001600160a01b0390911690638d95b32a906044015b602060405180830381865afa15801561131a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7f919061435b565b5f61134882612782565b610120015192915050565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166029611246565b604051631f849e6b60e11b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd6906113ba90869086906004016147f5565b602060405180830381865af4158015610dfe573d5f803e3d5ffd5b604051632255341b60e11b8152600481018290525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401611276565b611417613402565b6002545f906001600160a01b03166354f6127f61143385612f14565b6040518263ffffffff1660e01b815260040161145191815260200190565b5f60405180830381865afa15801561146b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611492919081019061447c565b805190915015610d865780806020019051810190610d7f9190614862565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa1580156114f7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061151b9190614926565b604051629b7b3560e61b81526001600160a01b03848116600483015291909116906326decd4090602401602060405180830381865afa158015611560573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb39190614941565b5f8061158f83611f3f565b90506001600160a01b03811615610d8657806001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115dc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7f9190614926565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600b611246565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091526002545f906001600160a01b03166354f6127f61168085612b5a565b6040518263ffffffff1660e01b815260040161169e91815260200190565b5f60405180830381865afa1580156116b8573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526116df919081019061447c565b805190915015610d865780806020019051810190610d7f919061495a565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166015611246565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015611770573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117949190614926565b60405163327e18a160e11b81526001600160a01b0385811660048301526001600160401b038516602483015291909116906364fc3142906044015b602060405180830381865afa1580156117ea573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7f9190614941565b6004805460405163380d295960e21b81525f926001600160a01b039092169163e034a56491610e57918691016136d1565b5f5460ff16156118625760405163ae9eff1b60e01b815260040160405180910390fd5b5f805460ff1916600190811790915580546001600160a01b0383166001600160a01b0319909116811790915560408051635ab1bd5360e01b81529051635ab1bd53916004808201926020929091908290030181865afa1580156118c7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118eb9190614926565b5f8054610100600160a81b0319166101006001600160a01b039384160217905560015460408051631a99b41b60e31b81529051919092169163d4cda0d89160048083019260209291908290030181865afa15801561194b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061196f9190614926565b600280546001600160a01b0319166001600160a01b0392831617905560015460408051631b776b6960e21b815290519190921691636dddada49160048083019260209291908290030181865afa1580156119cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119ef9190614926565b600380546001600160a01b0319166001600160a01b0392831617905560015460408051630e0c586d60e01b815290519190921691630e0c586d9160048083019260209291908290030181865afa158015611a4b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a6f9190614926565b600480546001600160a01b0319166001600160a01b039290921691909117905550565b611a9a613459565b6002545f906001600160a01b03166354f6127f611ab685611353565b6040518263ffffffff1660e01b8152600401611ad491815260200190565b5f60405180830381865afa158015611aee573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611b15919081019061447c565b805190915015610d865780806020019051810190610d7f91906149e2565b600354604051630dd7db2160e31b81526001600160601b0384166004820152602481018390525f916001600160a01b031690636ebed908906044016112ff565b600254604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b22906044015b602060405180830381865af4158015611be9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c0d919061464c565b6040518263ffffffff1660e01b8152600401611c2b91815260200190565b602060405180830381865afa158015611c46573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7f9190614412565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600c611246565b6002545f906001600160a01b03166309648a9d610c4a84612f14565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166017611246565b5f8054600154604051632f2a35f760e11b81526001600160a01b0391821660048201526101009092041690635e546bee90602401602060405180830381865afa158015611d2d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d51919061435b565b905090565b5f5460ff1615611d795760405163ae9eff1b60e01b815260040160405180910390fd5b611d823361183f565b565b60408051606080820183525f8083526020830152918101919091526002546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611df5906001600160c01b03198916906004016136d1565b602060405180830381865af4158015611e10573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e34919061464c565b6040518263ffffffff1660e01b8152600401611e5291815260200190565b5f60405180830381865afa158015611e6c573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611e93919081019061447c565b805190915015610d865780806020019051810190610d7f9190614a7f565b600254604051638eb9000d60e01b81526001600160601b03831660048201525f916001600160a01b031690638eb9000d90602401610b74565b6002545f906001600160a01b03166309648a9d610c4a846116fd565b6003546040516394b9929b60e01b81526001600160601b03831660048201525f916001600160a01b0316906394b9929b90602401610e57565b6002545f9081906001600160a01b03166354f6127f611f5d85611600565b6040518263ffffffff1660e01b8152600401611f7b91815260200190565b5f60405180830381865afa158015611f95573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611fbc919081019061447c565b805190915015610d865780806020019051810190610d979190614b2c565b604080516080810182525f808252602082018190528183018190526060820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015612040573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb391906143ab565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820181905260a082015260c0810191909152600254604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af4158015612110573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612134919061464c565b6040518263ffffffff1660e01b815260040161215291815260200190565b5f60405180830381865afa15801561216c573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612193919081019061447c565b8051909150156121b957808060200190518101906121b19190614bf1565b915050610bb3565b5092915050565b5f805f6121cc84610f43565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015612229573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061224d9190614941565b156122ca5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612299573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122bd919061464c565b60645b9250925050915091565b61234c8160a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612319573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061233d9190614cda565b64ffffffffff90811691161090565b156123c35773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612398573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123bc919061464c565b606e6122c0565b806060015163ffffffff16816080015163ffffffff16106124505773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612425573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612449919061464c565b60786122c0565b6040810151600a6122c0565b5f8061246783612782565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af41580156124c3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124e79190614941565b156124f457505f92915050565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af415801561254f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125739190614941565b1561258057505f92915050565b612603816101a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156125d0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125f49190614cda565b64ffffffffff90811691161190565b1561261057505f92915050565b612694816101c0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612660573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126849190614cda565b64ffffffffff9081169116111590565b156126a157505f92915050565b50600192915050565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa1580156126f1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127159190614926565b6001600160a01b031663ba62fbe46040518163ffffffff1660e01b8152600401602060405180830381865afa158015612750573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127749190614cf5565b6001600160401b0316905090565b60408051610200810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820181905261010082015261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002545f906001600160a01b03166354f6127f61281d856116fd565b6040518263ffffffff1660e01b815260040161283b91815260200190565b5f60405180830381865afa158015612855573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261287c919081019061447c565b805190915015610d865780806020019051810190610d7f9190614d1b565b6001546040805163c71e261f60e01b815290515f926001600160a01b03169163c71e261f9160048083019260209291908290030181865afa1580156128e1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d51919061464c565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa15801561294c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129709190614926565b60405163cd55e51b60e01b81526001600160a01b0385811660048301526001600160401b0385166024830152919091169063cd55e51b906044016117cf565b612a08604051806101200160405280606081526020015f81526020015f81526020015f81526020015f63ffffffff1681526020015f64ffffffffff1681526020015f151581526020015f15158152602001606081525090565b6002546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590612a5e906001600160c01b03198916906004016136d1565b602060405180830381865af4158015612a79573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a9d919061464c565b6040518263ffffffff1660e01b8152600401612abb91815260200190565b5f60405180830381865afa158015612ad5573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612afc919081019061447c565b805190915015610d865780806020019051810190610d7f9190614eae565b6003546040516336dc0d5360e21b81526001600160601b0384166004820152602481018390525f916001600160a01b03169063db70354c906044016112ff565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600f611246565b5f80612b9183611f3f565b90506001600160a01b03811615610d8657806001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115dc573d5f803e3d5ffd5b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e0810182905261020081018290526102208101919091526002545f906001600160a01b03166354f6127f612c8a8561121e565b6040518263ffffffff1660e01b8152600401612ca891815260200190565b5f60405180830381865afa158015612cc2573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612ce9919081019061447c565b805190915015610d865780806020019051810190610d7f9190614fa7565b5f73__$0f9396e6447a4be57af83e53f51d234633$__6359fad7ca84612d2e85600161511d565b6040516001600160e01b031960e085901b16815261ffff909216600483015262ffffff166024820152604401602060405180830381865af4158015612d75573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7f9190614cda565b612dd46040518060800160405280606081526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b6002545f906001600160a01b03166354f6127f612df085611600565b6040518263ffffffff1660e01b8152600401612e0e91815260200190565b5f60405180830381865afa158015612e28573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612e4f919081019061447c565b805190915015610d865780806020019051810190610d7f9190614b2c565b600254604051632867b75960e21b815264ffffffffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401611bce565b6004805460405163f4809edd60e01b81526001600160601b03851692810192909252602482018390525f916001600160a01b039091169063f4809edd90604401610de3565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166016611246565b5f73__$9e81531fe4994e01e99541f86b55500b4b$__639cc45a36612f66846001615138565b6040518263ffffffff1660e01b8152600401612f8491815260200190565b602060405180830381865af4158015612f9f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb3919061514b565b6002546040516355ee627560e01b81525f9182916001600160a01b03909116906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee62759061301d906001600160c01b03198916906004016136d1565b602060405180830381865af4158015613038573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061305c919061464c565b6040518263ffffffff1660e01b815260040161307a91815260200190565b5f60405180830381865afa158015613094573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526130bb919081019061447c565b6002546040516355ee627560e01b81529192506001600160a01b0316906309648a9d9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611bce906001600160c01b03198916906004016136d1565b6040805160a0810182525f808252602082018190529181018290526060808201526080810191909152600254604051632867b75960e21b815264ffffffffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401602060405180830381865af41580156131b3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906131d7919061464c565b6040518263ffffffff1660e01b81526004016131f591815260200190565b5f60405180830381865afa15801561320f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613236919081019061447c565b8051909150156121b957808060200190518101906121b19190615166565b60408051610100810182525f808252606060208301819052928201819052828201839052608082019290925260a0810182905260c0810182905260e0810191909152600254604051630f37f38f60e41b81526001600160401b03841660048201525f916001600160a01b0316906354f6127f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015613301573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613325919061464c565b6040518263ffffffff1660e01b815260040161334391815260200190565b5f60405180830381865afa15801561335d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613384919081019061447c565b805190915015610d865780806020019051810190610d7f9190615220565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401602060405180830381865af415801561131a573d5f803e3d5ffd5b6040518060c001604052805f6001600160601b0316815260200161343760405180604001604052805f81526020015f81525090565b81526060602082018190525f6040830181905290820181905260809091015290565b6040805161012081019091525f60e082018181526101008301919091528190815260200161349860405180604001604052805f81526020015f81525090565b81526020016134b860405180604001604052805f81526020015f81525090565b81526020016134d860405180604001604052805f81526020015f81525090565b81526020016134f860405180604001604052805f81526020015f81525090565b815260200161351860405180604001604052805f81526020015f81525090565b815260200161353860405180604001604052805f81526020015f81525090565b905290565b6001600160601b0381168114613551575f80fd5b50565b5f60208284031215613564575f80fd5b8135610d7f8161353d565b5f6020828403121561357f575f80fd5b5035919050565b5f8151808452602084019350602083015f5b828110156135bf5781516001600160601b0316865260209586019590910190600101613598565b5093949350505050565b602081528151151560208201526020820151151560408201525f60408301516135f6606084018215159052565b50606083015160ff8116608084015250608083015160ff811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e083015161010080840152613659610120840182613586565b949350505050565b61ffff81168114613551575f80fd5b5f8060408385031215613681575f80fd5b823561368c8161353d565b9150602083013561369c81613661565b809150509250929050565b5f80604083850312156136b8575f80fd5b82356136c38161353d565b946020939093013593505050565b6001600160c01b031991909116815260200190565b5f80604083850312156136f7575f80fd5b8235915060208301355f81900b811461369c575f80fd5b6001600160c01b031981168114613551575f80fd5b5f60208284031215613733575f80fd5b8135610d7f8161370e565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f602083015160e0604084015261379b61010084018261373e565b90506040840151606084015263ffffffff606085015116608084015260808401516137ce60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e08501526137fd828261373e565b95945050505050565b602081526001600160401b0360c01b82511660208201526020820151151560408201525f60408301516080606084015261384360a084018261373e565b905063ffffffff60608501511660808401528091505092915050565b5f8060408385031215613870575f80fd5b82356136c38161370e565b634e487b7160e01b5f52604160045260245ffd5b604051608081016001600160401b03811182821017156138b1576138b161387b565b60405290565b60405161010081016001600160401b03811182821017156138b1576138b161387b565b60405160e081016001600160401b03811182821017156138b1576138b161387b565b60405160c081016001600160401b03811182821017156138b1576138b161387b565b60405161020081016001600160401b03811182821017156138b1576138b161387b565b60405161012081016001600160401b03811182821017156138b1576138b161387b565b60405161024081016001600160401b03811182821017156138b1576138b161387b565b60405160a081016001600160401b03811182821017156138b1576138b161387b565b604051601f8201601f191681016001600160401b03811182821017156139d1576139d161387b565b604052919050565b5f6001600160401b038211156139f1576139f161387b565b50601f01601f191660200190565b5f8060408385031215613a10575f80fd5b8235613a1b8161353d565b915060208301356001600160401b03811115613a35575f80fd5b8301601f81018513613a45575f80fd5b8035613a58613a53826139d9565b6139a9565b818152866020838501011115613a6c575f80fd5b816020840160208301375f602083830101528093505050509250929050565b602081526001600160601b0382511660208201525f6020830151613abc604084018280518252602090810151910152565b50604083015160e06080840152613ad761010084018261373e565b905064ffffffffff60608501511660a084015264ffffffffff60808501511660c084015264ffffffffff60a08501511660e08401528091505092915050565b6001600160a01b0381168114613551575f80fd5b5f60208284031215613b3a575f80fd5b8135610d7f81613b16565b6001600160401b0381168114613551575f80fd5b5f8060408385031215613b6a575f80fd5b8235613b7581613b16565b9150602083013561369c81613b45565b815180518252602090810151908201526101c081016020838101518051604085015290810151606084015250604083015180516080840152602081015160a0840152506060830151805160c0840152602081015160e0840152506080830151805161010084015260208101516101208401525060a0830151805161014084015260208101516101608401525060c0830151805161018084015260208101516101a08401526121b9565b602081526001600160601b03825116602082015264ffffffffff60208301511660408201525f6040830151606080840152613659608084018261373e565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f6040830151613caa606084018262ffffff169052565b50606083015162ffffff8116608084015250608083015160e060a0840152613cd661010084018261373e565b905060a0840151601f198483030160c0850152613cf3828261373e565b91505060c0840151613d0e60e085018264ffffffffff169052565b509392505050565b60208152613d306020820183516001600160601b03169052565b5f6020830151613d4b60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c083015164ffffffffff811660e08401525060e0830151610200610100840152613dd161022084018261373e565b9050610100840151601f1984830301610120850152613df0828261373e565b915050610120840151613e0a61014085018261ffff169052565b5061014084015161ffff8116610160850152506101608401516001600160601b038116610180850152506101808401516001600160601b0381166101a0850152506101a084015164ffffffffff81166101c0850152506101c084015164ffffffffff81166101e0850152506101e084015164ffffffffff8116610200850152613d0e565b602081525f82516101206020840152613eab61014084018261373e565b90506020840151604084015260408401516060840152606084015160808401526080840151613ee260a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c084015180151560e08501525060e084015180151561010085015250610100840151838203601f19016101208501526137fd828261373e565b81516001600160601b0316815261024081016020830151613f5c60208401826001600160601b03169052565b506040830151613f7760408401826001600160601b03169052565b506060830151613f9260608401826001600160601b03169052565b506080830151613fad60808401826001600160601b03169052565b5060a0830151613fc860a08401826001600160601b03169052565b5060c0830151613fe360c08401826001600160601b03169052565b5060e0830151613ffe60e08401826001600160601b03169052565b5061010083015161401b6101008401826001600160601b03169052565b506101208301516140386101208401826001600160601b03169052565b506101408301516140556101408401826001600160601b03169052565b506101608301516140726101608401826001600160601b03169052565b5061018083015161408f6101808401826001600160601b03169052565b506101a08301516140ac6101a08401826001600160601b03169052565b506101c08301516140c96101c08401826001600160601b03169052565b506101e08301516140e66101e08401826001600160601b03169052565b506102008301516141036102008401826001600160601b03169052565b506102208301516121b96102208401826001600160601b03169052565b62ffffff81168114613551575f80fd5b5f8060408385031215614141575f80fd5b823561414c81613661565b9150602083013561369c81614120565b602081525f82516080602084015261417760a084018261373e565b60208501516001600160a01b0390811660408681019190915286015116606080860191909152850151848203601f190160808601529091506137fd828261373e565b64ffffffffff81168114613551575f80fd5b5f80604083850312156141dc575f80fd5b82356141e78161353d565b9150602083013561369c816141b9565b6020815261ffff82511660208201526001600160601b03602083015116604082015260018060a01b0360408301511660608201525f606083015160a0608084015261424560c084018261373e565b905064ffffffffff60808501511660a08401528091505092915050565b5f60208284031215614272575f80fd5b8135610d7f81613b45565b602081526142976020820183516001600160601b03169052565b5f602083015161010060408401526142b361012084018261373e565b905060408401516142cf60608501826001600160601b03169052565b506060840151838203601f190160808501526142eb828261373e565b9150506080840151601f198483030160a0850152614309828261373e565b91505060a084015161432460c085018264ffffffffff169052565b5060c084015164ffffffffff811660e08501525060e0840151801515610100850152613d0e565b80516143568161353d565b919050565b5f6020828403121561436b575f80fd5b8151610d7f8161353d565b60ff81168114613551575f80fd5b805161435681614376565b63ffffffff81168114613551575f80fd5b80516143568161438f565b5f60808284031280156143bc575f80fd5b506143c561388f565b82516143d081614376565b815260208301516143e081614376565b602082015260408301516143f38161438f565b604082015260608301516144068161438f565b60608201529392505050565b5f60208284031215614422575f80fd5b8151610d7f81614376565b5f82601f83011261443c575f80fd5b8151602083015f61444f613a53846139d9565b9050828152858383011115614462575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f6020828403121561448c575f80fd5b81516001600160401b038111156144a1575f80fd5b6136598482850161442d565b80518015158114614356575f80fd5b5f82601f8301126144cb575f80fd5b81516001600160401b038111156144e4576144e461387b565b8060051b6144f4602082016139a9565b9182526020818501810192908101908684111561450f575f80fd5b6020860192505b8383101561453a5782516145298161353d565b825260209283019290910190614516565b9695505050505050565b5f60208284031215614554575f80fd5b81516001600160401b03811115614569575f80fd5b8201610100818503121561457b575f80fd5b6145836138b7565b61458c826144ad565b815261459a602083016144ad565b60208201526145ab604083016144ad565b60408201526145bc60608301614384565b60608201526145cd60808301614384565b60808201526145de60a0830161434b565b60a08201526145ef60c0830161434b565b60c082015260e08201516001600160401b0381111561460c575f80fd5b614618868285016144bc565b60e083015250949350505050565b80516143568161370e565b5f60208284031215614641575f80fd5b8151610d7f8161370e565b5f6020828403121561465c575f80fd5b5051919050565b8051614356816141b9565b5f6020828403121561467e575f80fd5b81516001600160401b03811115614693575f80fd5b820160e081850312156146a4575f80fd5b6146ac6138da565b6146b58261434b565b815260208201516001600160401b038111156146cf575f80fd5b6146db8682850161442d565b602083015250604082810151908201526146f7606083016143a0565b6060820152614708608083016143a0565b608082015261471960a08301614663565b60a082015260c08201516001600160401b03811115614736575f80fd5b6147428682850161442d565b60c083015250949350505050565b5f60208284031215614760575f80fd5b81516001600160401b03811115614775575f80fd5b820160808185031215614786575f80fd5b61478e61388f565b81516147998161370e565b81526147a7602083016144ad565b602082015260408201516001600160401b038111156147c4575f80fd5b6147d08682850161442d565b604083015250606082015191506147e68261438f565b60608101919091529392505050565b6001600160601b0383168152604060208201525f613659604083018461373e565b5f60408284031215614826575f80fd5b604080519081016001600160401b03811182821017156148485761484861387b565b604052825181526020928301519281019290925250919050565b5f60208284031215614872575f80fd5b81516001600160401b03811115614887575f80fd5b820160e08185031215614898575f80fd5b6148a06138fc565b81516148ab8161353d565b81526148ba8560208401614816565b602082015260608201516001600160401b038111156148d7575f80fd5b6148e38682850161442d565b60408301525060808201516148f7816141b9565b606082015261490860a08301614663565b608082015261491960c08301614663565b60a0820152949350505050565b5f60208284031215614936575f80fd5b8151610d7f81613b16565b5f60208284031215614951575f80fd5b610d7f826144ad565b5f60e082840312801561496b575f80fd5b506149746138da565b825161497f8161353d565b815261498d602084016144ad565b602082015261499e604084016144ad565b60408201526149af606084016144ad565b60608201526149c0608084016144ad565b608082015260a0838101519082015260c0928301519281019290925250919050565b5f6101c08284031280156149f4575f80fd5b506149fd6138da565b614a078484614816565b8152614a168460408501614816565b6020820152614a288460808501614816565b6040820152614a3a8460c08501614816565b6060820152614a4d846101008501614816565b6080820152614a60846101408501614816565b60a0820152614a73846101808501614816565b60c08201529392505050565b5f60208284031215614a8f575f80fd5b81516001600160401b03811115614aa4575f80fd5b820160608185031215614ab5575f80fd5b604051606081016001600160401b0381118282101715614ad757614ad761387b565b6040528151614ae58161353d565b81526020820151614af5816141b9565b602082015260408201516001600160401b03811115614b12575f80fd5b614b1e8682850161442d565b604083015250949350505050565b5f60208284031215614b3c575f80fd5b81516001600160401b03811115614b51575f80fd5b820160808185031215614b62575f80fd5b614b6a61388f565b81516001600160401b03811115614b7f575f80fd5b614b8b8682850161442d565b8252506020820151614b9c81613b16565b60208201526040820151614baf81613b16565b604082015260608201516001600160401b03811115614bcc575f80fd5b614bd88682850161442d565b606083015250949350505050565b805161435681614120565b5f60208284031215614c01575f80fd5b81516001600160401b03811115614c16575f80fd5b820160e08185031215614c27575f80fd5b614c2f6138da565b614c388261434b565b8152614c466020830161434b565b6020820152614c5760408301614be6565b6040820152614c6860608301614be6565b606082015260808201516001600160401b03811115614c85575f80fd5b614c918682850161442d565b60808301525060a08201516001600160401b03811115614caf575f80fd5b614cbb8682850161442d565b60a083015250614ccd60c08301614663565b60c0820152949350505050565b5f60208284031215614cea575f80fd5b8151610d7f816141b9565b5f60208284031215614d05575f80fd5b8151610d7f81613b45565b805161435681613661565b5f60208284031215614d2b575f80fd5b81516001600160401b03811115614d40575f80fd5b82016102008185031215614d52575f80fd5b614d5a61391e565b614d638261434b565b8152614d716020830161434b565b6020820152614d8260408301614626565b6040820152614d9360608301614626565b6060820152614da46080830161434b565b6080820152614db560a0830161434b565b60a0820152614dc660c08301614663565b60c082015260e08201516001600160401b03811115614de3575f80fd5b614def8682850161442d565b60e0830152506101008201516001600160401b03811115614e0e575f80fd5b614e1a8682850161442d565b61010083015250614e2e6101208301614d10565b610120820152614e416101408301614d10565b610140820152614e54610160830161434b565b610160820152614e67610180830161434b565b610180820152614e7a6101a08301614663565b6101a0820152614e8d6101c08301614663565b6101c0820152614ea06101e08301614663565b6101e0820152949350505050565b5f60208284031215614ebe575f80fd5b81516001600160401b03811115614ed3575f80fd5b82016101208185031215614ee5575f80fd5b614eed613941565b81516001600160401b03811115614f02575f80fd5b614f0e8682850161442d565b825250602082810151908201526040808301519082015260608083015190820152614f3b608083016143a0565b6080820152614f4c60a08301614663565b60a0820152614f5d60c083016144ad565b60c0820152614f6e60e083016144ad565b60e08201526101008201516001600160401b03811115614f8c575f80fd5b614f988682850161442d565b61010083015250949350505050565b5f610240828403128015614fb9575f80fd5b50614fc2613964565b614fcb8361434b565b8152614fd96020840161434b565b6020820152614fea6040840161434b565b6040820152614ffb6060840161434b565b606082015261500c6080840161434b565b608082015261501d60a0840161434b565b60a082015261502e60c0840161434b565b60c082015261503f60e0840161434b565b60e0820152615051610100840161434b565b610100820152615064610120840161434b565b610120820152615077610140840161434b565b61014082015261508a610160840161434b565b61016082015261509d610180840161434b565b6101808201526150b06101a0840161434b565b6101a08201526150c36101c0840161434b565b6101c08201526150d66101e0840161434b565b6101e08201526150e9610200840161434b565b6102008201526150fc610220840161434b565b6102208201529392505050565b634e487b7160e01b5f52601160045260245ffd5b62ffffff8181168382160190811115610bb357610bb3615109565b80820180821115610bb357610bb3615109565b5f6020828403121561515b575f80fd5b8151610d7f81613661565b5f60208284031215615176575f80fd5b81516001600160401b0381111561518b575f80fd5b820160a0818503121561519c575f80fd5b6151a4613987565b81516151af81613661565b815260208201516151bf8161353d565b602082015260408201516151d281613b16565b604082015260608201516001600160401b038111156151ef575f80fd5b6151fb8682850161442d565b60608301525060808201519150615211826141b9565b60808101919091529392505050565b5f60208284031215615230575f80fd5b81516001600160401b03811115615245575f80fd5b82016101008185031215615257575f80fd5b61525f6138b7565b6152688261434b565b815260208201516001600160401b03811115615282575f80fd5b61528e8682850161442d565b6020830152506152a06040830161434b565b604082015260608201516001600160401b038111156152bd575f80fd5b6152c98682850161442d565b60608301525060808201516001600160401b038111156152e7575f80fd5b6152f38682850161442d565b60808301525061530560a08301614663565b60a082015261531660c08301614663565b60c082015261532760e083016144ad565b60e082015294935050505056fea2646970667358221220dc65a7421cb7b205efe53271b8e5a3bf11469a9559b0f57fab671f9b1ff638e664736f6c634300081a0033",
2072
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b506004361061040c575f3560e01c80636ebed90811610221578063c71e261f1161012a578063e98413ff116100b4578063f7f318d311610084578063f7f318d314610ac6578063fad77c3b14610ad9578063fcad2c4b14610aec578063fd80249214610aff578063febe92af14610b1f575f80fd5b8063e98413ff14610a57578063f0ea17c314610a80578063f3ed991914610aa0578063f4809edd14610ab3575f80fd5b8063db70354c116100fa578063db70354c146109ed578063dd26287a14610a00578063de7b5d1414610a13578063dfbf164014610a24578063e444c3df14610a37575f80fd5b8063c71e261f146109a1578063cd55e51b146109a9578063d06458c6146109bc578063d4cda0d8146109dc575f80fd5b80639096a1f3116101ab578063a7ef3d211161017b578063a7ef3d211461091c578063b82d7ef51461093c578063ba579bdc14610966578063ba62fbe414610979578063bd7d9d8514610981575f80fd5b80639096a1f31461088757806394b9929b1461089a578063a310e2a3146108ad578063a5961b4c146108c0575f80fd5b80637e54602a116101f15780637e54602a146108315780637e798669146108445780638129fc1c1461084c578063887b1fa9146108545780638eb9000d14610874575f80fd5b80636ebed908146107e557806378ae9350146107f85780637bfd32171461080b5780637d8f1e811461081e575f80fd5b806335898f5d116103235780634fb784f5116102ad57806364fc31421161027d57806364fc3142146107795780636553994c1461078c5780636791f7ab1461079f5780636a05a413146107b45780636dddada4146107d4575f80fd5b80634fb784f5146106c557806357f80bbf146106d85780635ab1bd531461075157806364eb3a9b14610766575f80fd5b80633f093cd6116102f35780633f093cd61461064957806344aa68361461065c5780634793b4ab1461066f5780634a4fbeec1461068f5780634d21a63d146106b2575f80fd5b806335898f5d146105ea578063380bd950146105fd5780633b046f09146106105780633f07127514610636575f80fd5b80631488c845116103a457806327b1d7921161037457806327b1d7921461057e5780632c0cd0601461059e5780632f458a11146105b157806333fc7dee146105c457806334bd5be3146105d7575f80fd5b80631488c8451461052557806315b74532146105385780631d3be4771461054b578063228e42ec1461056b575f80fd5b80630e0c586d116103df5780630e0c586d1461049857806310bf267b146104bd578063128817d4146104e457806313ab148d14610504575f80fd5b80630232ca491461041057806309648a9d1461044057806309c5844f146104655780630b5d931c14610478575b5f80fd5b61042361041e366004613554565b610b3f565b6040516001600160601b0390911681526020015b60405180910390f35b61045361044e36600461356f565b610bb9565b60405160ff9091168152602001610437565b610453610473366004613554565b610c2e565b61048b610486366004613554565b610ca7565b60405161043791906135c9565b6004546001600160a01b03165b6040516001600160a01b039091168152602001610437565b6104d06104cb366004613670565b610d8c565b60405162ffffff9091168152602001610437565b6104f76104f23660046136a7565b610da2565b60405161043791906136d1565b610517610512366004613554565b610e22565b604051908152602001610437565b6105176105333660046136e6565b610e96565b61042361054636600461356f565b610f12565b61055e610559366004613723565b610f43565b604051610437919061376c565b610423610579366004613554565b61108c565b61059161058c366004613554565b6110c5565b6040516104379190613806565b6104236105ac366004613554565b611182565b6105176105bf366004613554565b6111a2565b6105176105d2366004613554565b6111e0565b6105176105e5366004613554565b61121e565b6105176105f8366004613554565b611291565b61042361060b36600461385f565b6112bd565b61062361061e366004613554565b61133e565b60405161ffff9091168152602001610437565b610517610644366004613554565b611353565b6104f76106573660046139ff565b61137f565b61051761066a36600461356f565b6113d5565b61068261067d366004613554565b61140f565b6040516104379190613a8b565b6106a261069d366004613b2a565b6114b0565b6040519015158152602001610437565b6104a56106c0366004613554565b611584565b6105176106d3366004613554565b611600565b6106eb6106e6366004613554565b61162c565b60405161043791905f60e0820190506001600160601b03835116825260208301511515602083015260408301511515604083015260608301511515606083015260808301511515608083015260a083015160a083015260c083015160c083015292915050565b5f5461010090046001600160a01b03166104a5565b610517610774366004613554565b6116fd565b6106a2610787366004613b59565b611729565b61051761079a366004613723565b61180e565b6107b26107ad366004613b2a565b61183f565b005b6107c76107c2366004613554565b611a92565b6040516104379190613b85565b6003546001600160a01b03166104a5565b6104236107f33660046136a7565b611b33565b610453610806366004613670565b611b73565b610517610819366004613554565b611c6a565b61045361082c366004613554565b611c96565b61051761083f366004613554565b611cb2565b610423611cde565b6107b2611d56565b610867610862366004613723565b611d84565b6040516104379190613c2e565b610423610882366004613554565b611eb1565b610453610895366004613554565b611eea565b6105176108a8366004613554565b611f06565b6104a56108bb366004613554565b611f3f565b6108d36108ce36600461356f565b611fda565b60405161043791905f60808201905060ff835116825260ff602084015116602083015263ffffffff604084015116604083015263ffffffff606084015116606083015292915050565b61092f61092a366004613670565b612064565b6040516104379190613c6c565b61094f61094a366004613723565b6121c0565b6040805192835260ff909116602083015201610437565b6106a2610974366004613554565b61245c565b6105176126aa565b61099461098f366004613554565b612782565b6040516104379190613d16565b61051761289a565b6106a26109b7366004613b59565b612905565b6109cf6109ca366004613723565b6129af565b6040516104379190613e8e565b6002546001600160a01b03166104a5565b6104236109fb3660046136a7565b612b1a565b610517610a0e366004613554565b612b5a565b6001546001600160a01b03166104a5565b6104a5610a32366004613554565b612b86565b610a4a610a45366004613554565b612bde565b6040516104379190613f30565b610a6a610a65366004614130565b612d07565b60405164ffffffffff9091168152602001610437565b610a93610a8e366004613554565b612d99565b604051610437919061415c565b610453610aae3660046141cb565b612e6d565b6104f7610ac13660046136a7565b612ecf565b610517610ad4366004613554565b612f14565b610623610ae736600461356f565b612f40565b610453610afa366004613723565b612fc3565b610b12610b0d3660046141cb565b613112565b60405161043791906141f7565b610b32610b2d366004614262565b613254565b604051610437919061427d565b600254604051630232ca4960e01b81526001600160601b03831660048201525f916001600160a01b031690630232ca49906024015b602060405180830381865afa158015610b8f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb3919061435b565b92915050565b60025460405163296586d360e21b8152600481018390525f916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015610c00573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c2491906143ab565b6020015192915050565b6002545f906001600160a01b03166309648a9d610c4a8461121e565b6040518263ffffffff1660e01b8152600401610c6891815260200190565b602060405180830381865afa158015610c83573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb39190614412565b60408051610100810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e08201526002549091906001600160a01b03166354f6127f610d0285611c6a565b6040518263ffffffff1660e01b8152600401610d2091815260200190565b5f60405180830381865afa158015610d3a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610d61919081019061447c565b805190915015610d865780806020019051810190610d7f9190614544565b9392505050565b50919050565b5f610d978383612064565b604001519392505050565b600480546040516304a205f560e21b81526001600160601b03851692810192909252602482018390525f916001600160a01b039091169063128817d4906044015b602060405180830381865afa158015610dfe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7f9190614631565b6003546040516313ab148d60e01b81526001600160601b03831660048201525f916001600160a01b0316906313ab148d906024015b602060405180830381865afa158015610e72573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb3919061464c565b604051631488c84560e01b8152600481018390525f82810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af4158015610eee573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7f919061464c565b600154604051630adba29960e11b8152600481018390525f916001600160a01b0316906315b7453290602401610b74565b6040805160e0810182525f8082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526002546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590610fd0906001600160c01b03198916906004016136d1565b602060405180830381865af4158015610feb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061100f919061464c565b6040518263ffffffff1660e01b815260040161102d91815260200190565b5f60405180830381865afa158015611047573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261106e919081019061447c565b805190915015610d865780806020019051810190610d7f919061466e565b6002546040516308a390bb60e21b81526001600160601b03831660048201525f916001600160a01b03169063228e42ec90602401610b74565b604080516080810182525f808252602082018190526060928201839052918101919091526002545f906001600160a01b03166354f6127f61110585611cb2565b6040518263ffffffff1660e01b815260040161112391815260200190565b5f60405180830381865afa15801561113d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611164919081019061447c565b805190915015610d865780806020019051810190610d7f9190614750565b5f8061118d83612782565b9050610d7f81608001518261016001516133a2565b60048054604051632f458a1160e01b81526001600160601b038416928101929092525f916001600160a01b0390911690632f458a1190602401610e57565b600480546040516319fe3ef760e11b81526001600160601b038416928101929092525f916001600160a01b03909116906333fc7dee90602401610e57565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416602b5b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610e72573d5f803e3d5ffd5b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600e611246565b600480546040516346cad99560e11b81526001600160c01b0319851692810192909252602482018390525f916001600160a01b0390911690638d95b32a906044015b602060405180830381865afa15801561131a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7f919061435b565b5f61134882612782565b610120015192915050565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166029611246565b604051631f849e6b60e11b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd6906113ba90869086906004016147f5565b602060405180830381865af4158015610dfe573d5f803e3d5ffd5b604051632255341b60e11b8152600481018290525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401611276565b611417613402565b6002545f906001600160a01b03166354f6127f61143385612f14565b6040518263ffffffff1660e01b815260040161145191815260200190565b5f60405180830381865afa15801561146b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611492919081019061447c565b805190915015610d865780806020019051810190610d7f9190614862565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa1580156114f7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061151b9190614926565b604051629b7b3560e61b81526001600160a01b03848116600483015291909116906326decd4090602401602060405180830381865afa158015611560573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb39190614941565b5f8061158f83611f3f565b90506001600160a01b03811615610d8657806001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115dc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7f9190614926565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600b611246565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091526002545f906001600160a01b03166354f6127f61168085612b5a565b6040518263ffffffff1660e01b815260040161169e91815260200190565b5f60405180830381865afa1580156116b8573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526116df919081019061447c565b805190915015610d865780806020019051810190610d7f919061495a565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166015611246565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa158015611770573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117949190614926565b60405163327e18a160e11b81526001600160a01b0385811660048301526001600160401b038516602483015291909116906364fc3142906044015b602060405180830381865afa1580156117ea573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7f9190614941565b6004805460405163380d295960e21b81525f926001600160a01b039092169163e034a56491610e57918691016136d1565b5f5460ff16156118625760405163ae9eff1b60e01b815260040160405180910390fd5b5f805460ff1916600190811790915580546001600160a01b0383166001600160a01b0319909116811790915560408051635ab1bd5360e01b81529051635ab1bd53916004808201926020929091908290030181865afa1580156118c7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118eb9190614926565b5f8054610100600160a81b0319166101006001600160a01b039384160217905560015460408051631a99b41b60e31b81529051919092169163d4cda0d89160048083019260209291908290030181865afa15801561194b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061196f9190614926565b600280546001600160a01b0319166001600160a01b0392831617905560015460408051631b776b6960e21b815290519190921691636dddada49160048083019260209291908290030181865afa1580156119cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119ef9190614926565b600380546001600160a01b0319166001600160a01b0392831617905560015460408051630e0c586d60e01b815290519190921691630e0c586d9160048083019260209291908290030181865afa158015611a4b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a6f9190614926565b600480546001600160a01b0319166001600160a01b039290921691909117905550565b611a9a613459565b6002545f906001600160a01b03166354f6127f611ab685611353565b6040518263ffffffff1660e01b8152600401611ad491815260200190565b5f60405180830381865afa158015611aee573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611b15919081019061447c565b805190915015610d865780806020019051810190610d7f91906149e2565b600354604051630dd7db2160e31b81526001600160601b0384166004820152602481018390525f916001600160a01b031690636ebed908906044016112ff565b600254604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b22906044015b602060405180830381865af4158015611be9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c0d919061464c565b6040518263ffffffff1660e01b8152600401611c2b91815260200190565b602060405180830381865afa158015611c46573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7f9190614412565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600c611246565b6002545f906001600160a01b03166309648a9d610c4a84612f14565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166017611246565b5f8054600154604051632f2a35f760e11b81526001600160a01b0391821660048201526101009092041690635e546bee90602401602060405180830381865afa158015611d2d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d51919061435b565b905090565b5f5460ff1615611d795760405163ae9eff1b60e01b815260040160405180910390fd5b611d823361183f565b565b60408051606080820183525f8083526020830152918101919091526002546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611df5906001600160c01b03198916906004016136d1565b602060405180830381865af4158015611e10573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e34919061464c565b6040518263ffffffff1660e01b8152600401611e5291815260200190565b5f60405180830381865afa158015611e6c573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611e93919081019061447c565b805190915015610d865780806020019051810190610d7f9190614a7f565b600254604051638eb9000d60e01b81526001600160601b03831660048201525f916001600160a01b031690638eb9000d90602401610b74565b6002545f906001600160a01b03166309648a9d610c4a846116fd565b6003546040516394b9929b60e01b81526001600160601b03831660048201525f916001600160a01b0316906394b9929b90602401610e57565b6002545f9081906001600160a01b03166354f6127f611f5d85611600565b6040518263ffffffff1660e01b8152600401611f7b91815260200190565b5f60405180830381865afa158015611f95573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611fbc919081019061447c565b805190915015610d865780806020019051810190610d979190614b2c565b604080516080810182525f808252602082018190528183018190526060820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015612040573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb391906143ab565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820181905260a082015260c0810191909152600254604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af4158015612110573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612134919061464c565b6040518263ffffffff1660e01b815260040161215291815260200190565b5f60405180830381865afa15801561216c573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612193919081019061447c565b8051909150156121b957808060200190518101906121b19190614bf1565b915050610bb3565b5092915050565b5f805f6121cc84610f43565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015612229573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061224d9190614941565b156122ca5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612299573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122bd919061464c565b60645b9250925050915091565b61234c8160a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612319573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061233d9190614cda565b64ffffffffff90811691161090565b156123c35773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612398573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123bc919061464c565b606e6122c0565b806060015163ffffffff16816080015163ffffffff16106124505773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612425573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612449919061464c565b60786122c0565b6040810151600a6122c0565b5f8061246783612782565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af41580156124c3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124e79190614941565b156124f457505f92915050565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af415801561254f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125739190614941565b1561258057505f92915050565b612603816101a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156125d0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125f49190614cda565b64ffffffffff90811691161190565b1561261057505f92915050565b612694816101c0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612660573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126849190614cda565b64ffffffffff9081169116111590565b156126a157505f92915050565b50600192915050565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa1580156126f1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127159190614926565b6001600160a01b031663ba62fbe46040518163ffffffff1660e01b8152600401602060405180830381865afa158015612750573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127749190614cf5565b6001600160401b0316905090565b60408051610200810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820181905261010082015261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002545f906001600160a01b03166354f6127f61281d856116fd565b6040518263ffffffff1660e01b815260040161283b91815260200190565b5f60405180830381865afa158015612855573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261287c919081019061447c565b805190915015610d865780806020019051810190610d7f9190614d1b565b6001546040805163c71e261f60e01b815290515f926001600160a01b03169163c71e261f9160048083019260209291908290030181865afa1580156128e1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d51919061464c565b600154604080516306235b6d60e31b815290515f926001600160a01b03169163311adb689160048083019260209291908290030181865afa15801561294c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129709190614926565b60405163cd55e51b60e01b81526001600160a01b0385811660048301526001600160401b0385166024830152919091169063cd55e51b906044016117cf565b612a08604051806101200160405280606081526020015f81526020015f81526020015f81526020015f63ffffffff1681526020015f64ffffffffff1681526020015f151581526020015f15158152602001606081525090565b6002546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590612a5e906001600160c01b03198916906004016136d1565b602060405180830381865af4158015612a79573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a9d919061464c565b6040518263ffffffff1660e01b8152600401612abb91815260200190565b5f60405180830381865afa158015612ad5573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612afc919081019061447c565b805190915015610d865780806020019051810190610d7f9190614eae565b6003546040516336dc0d5360e21b81526001600160601b0384166004820152602481018390525f916001600160a01b03169063db70354c906044016112ff565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600f611246565b5f80612b9183611f3f565b90506001600160a01b03811615610d8657806001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115dc573d5f803e3d5ffd5b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e0810182905261020081018290526102208101919091526002545f906001600160a01b03166354f6127f612c8a8561121e565b6040518263ffffffff1660e01b8152600401612ca891815260200190565b5f60405180830381865afa158015612cc2573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612ce9919081019061447c565b805190915015610d865780806020019051810190610d7f9190614fa7565b5f73__$0f9396e6447a4be57af83e53f51d234633$__6359fad7ca84612d2e85600161511d565b6040516001600160e01b031960e085901b16815261ffff909216600483015262ffffff166024820152604401602060405180830381865af4158015612d75573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7f9190614cda565b612dd46040518060800160405280606081526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b6002545f906001600160a01b03166354f6127f612df085611600565b6040518263ffffffff1660e01b8152600401612e0e91815260200190565b5f60405180830381865afa158015612e28573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612e4f919081019061447c565b805190915015610d865780806020019051810190610d7f9190614b2c565b600254604051632867b75960e21b815264ffffffffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401611bce565b6004805460405163f4809edd60e01b81526001600160601b03851692810192909252602482018390525f916001600160a01b039091169063f4809edd90604401610de3565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166016611246565b5f73__$9e81531fe4994e01e99541f86b55500b4b$__639cc45a36612f66846001615138565b6040518263ffffffff1660e01b8152600401612f8491815260200190565b602060405180830381865af4158015612f9f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb3919061514b565b6002546040516355ee627560e01b81525f9182916001600160a01b03909116906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee62759061301d906001600160c01b03198916906004016136d1565b602060405180830381865af4158015613038573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061305c919061464c565b6040518263ffffffff1660e01b815260040161307a91815260200190565b5f60405180830381865afa158015613094573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526130bb919081019061447c565b6002546040516355ee627560e01b81529192506001600160a01b0316906309648a9d9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611bce906001600160c01b03198916906004016136d1565b6040805160a0810182525f808252602082018190529181018290526060808201526080810191909152600254604051632867b75960e21b815264ffffffffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401602060405180830381865af41580156131b3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906131d7919061464c565b6040518263ffffffff1660e01b81526004016131f591815260200190565b5f60405180830381865afa15801561320f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613236919081019061447c565b8051909150156121b957808060200190518101906121b19190615166565b60408051610100810182525f808252606060208301819052928201819052828201839052608082019290925260a0810182905260c0810182905260e0810191909152600254604051630f37f38f60e41b81526001600160401b03841660048201525f916001600160a01b0316906354f6127f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015613301573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613325919061464c565b6040518263ffffffff1660e01b815260040161334391815260200190565b5f60405180830381865afa15801561335d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613384919081019061447c565b805190915015610d865780806020019051810190610d7f9190615220565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401602060405180830381865af415801561131a573d5f803e3d5ffd5b6040518060c001604052805f6001600160601b0316815260200161343760405180604001604052805f81526020015f81525090565b81526060602082018190525f6040830181905290820181905260809091015290565b6040805161012081019091525f60e082018181526101008301919091528190815260200161349860405180604001604052805f81526020015f81525090565b81526020016134b860405180604001604052805f81526020015f81525090565b81526020016134d860405180604001604052805f81526020015f81525090565b81526020016134f860405180604001604052805f81526020015f81525090565b815260200161351860405180604001604052805f81526020015f81525090565b815260200161353860405180604001604052805f81526020015f81525090565b905290565b6001600160601b0381168114613551575f80fd5b50565b5f60208284031215613564575f80fd5b8135610d7f8161353d565b5f6020828403121561357f575f80fd5b5035919050565b5f8151808452602084019350602083015f5b828110156135bf5781516001600160601b0316865260209586019590910190600101613598565b5093949350505050565b602081528151151560208201526020820151151560408201525f60408301516135f6606084018215159052565b50606083015160ff8116608084015250608083015160ff811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e083015161010080840152613659610120840182613586565b949350505050565b61ffff81168114613551575f80fd5b5f8060408385031215613681575f80fd5b823561368c8161353d565b9150602083013561369c81613661565b809150509250929050565b5f80604083850312156136b8575f80fd5b82356136c38161353d565b946020939093013593505050565b6001600160c01b031991909116815260200190565b5f80604083850312156136f7575f80fd5b8235915060208301355f81900b811461369c575f80fd5b6001600160c01b031981168114613551575f80fd5b5f60208284031215613733575f80fd5b8135610d7f8161370e565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f602083015160e0604084015261379b61010084018261373e565b90506040840151606084015263ffffffff606085015116608084015260808401516137ce60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e08501526137fd828261373e565b95945050505050565b602081526001600160401b0360c01b82511660208201526020820151151560408201525f60408301516080606084015261384360a084018261373e565b905063ffffffff60608501511660808401528091505092915050565b5f8060408385031215613870575f80fd5b82356136c38161370e565b634e487b7160e01b5f52604160045260245ffd5b604051608081016001600160401b03811182821017156138b1576138b161387b565b60405290565b60405161010081016001600160401b03811182821017156138b1576138b161387b565b60405160e081016001600160401b03811182821017156138b1576138b161387b565b60405160c081016001600160401b03811182821017156138b1576138b161387b565b60405161020081016001600160401b03811182821017156138b1576138b161387b565b60405161012081016001600160401b03811182821017156138b1576138b161387b565b60405161024081016001600160401b03811182821017156138b1576138b161387b565b60405160a081016001600160401b03811182821017156138b1576138b161387b565b604051601f8201601f191681016001600160401b03811182821017156139d1576139d161387b565b604052919050565b5f6001600160401b038211156139f1576139f161387b565b50601f01601f191660200190565b5f8060408385031215613a10575f80fd5b8235613a1b8161353d565b915060208301356001600160401b03811115613a35575f80fd5b8301601f81018513613a45575f80fd5b8035613a58613a53826139d9565b6139a9565b818152866020838501011115613a6c575f80fd5b816020840160208301375f602083830101528093505050509250929050565b602081526001600160601b0382511660208201525f6020830151613abc604084018280518252602090810151910152565b50604083015160e06080840152613ad761010084018261373e565b905064ffffffffff60608501511660a084015264ffffffffff60808501511660c084015264ffffffffff60a08501511660e08401528091505092915050565b6001600160a01b0381168114613551575f80fd5b5f60208284031215613b3a575f80fd5b8135610d7f81613b16565b6001600160401b0381168114613551575f80fd5b5f8060408385031215613b6a575f80fd5b8235613b7581613b16565b9150602083013561369c81613b45565b815180518252602090810151908201526101c081016020838101518051604085015290810151606084015250604083015180516080840152602081015160a0840152506060830151805160c0840152602081015160e0840152506080830151805161010084015260208101516101208401525060a0830151805161014084015260208101516101608401525060c0830151805161018084015260208101516101a08401526121b9565b602081526001600160601b03825116602082015264ffffffffff60208301511660408201525f6040830151606080840152613659608084018261373e565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f6040830151613caa606084018262ffffff169052565b50606083015162ffffff8116608084015250608083015160e060a0840152613cd661010084018261373e565b905060a0840151601f198483030160c0850152613cf3828261373e565b91505060c0840151613d0e60e085018264ffffffffff169052565b509392505050565b60208152613d306020820183516001600160601b03169052565b5f6020830151613d4b60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c083015164ffffffffff811660e08401525060e0830151610200610100840152613dd161022084018261373e565b9050610100840151601f1984830301610120850152613df0828261373e565b915050610120840151613e0a61014085018261ffff169052565b5061014084015161ffff8116610160850152506101608401516001600160601b038116610180850152506101808401516001600160601b0381166101a0850152506101a084015164ffffffffff81166101c0850152506101c084015164ffffffffff81166101e0850152506101e084015164ffffffffff8116610200850152613d0e565b602081525f82516101206020840152613eab61014084018261373e565b90506020840151604084015260408401516060840152606084015160808401526080840151613ee260a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c084015180151560e08501525060e084015180151561010085015250610100840151838203601f19016101208501526137fd828261373e565b81516001600160601b0316815261024081016020830151613f5c60208401826001600160601b03169052565b506040830151613f7760408401826001600160601b03169052565b506060830151613f9260608401826001600160601b03169052565b506080830151613fad60808401826001600160601b03169052565b5060a0830151613fc860a08401826001600160601b03169052565b5060c0830151613fe360c08401826001600160601b03169052565b5060e0830151613ffe60e08401826001600160601b03169052565b5061010083015161401b6101008401826001600160601b03169052565b506101208301516140386101208401826001600160601b03169052565b506101408301516140556101408401826001600160601b03169052565b506101608301516140726101608401826001600160601b03169052565b5061018083015161408f6101808401826001600160601b03169052565b506101a08301516140ac6101a08401826001600160601b03169052565b506101c08301516140c96101c08401826001600160601b03169052565b506101e08301516140e66101e08401826001600160601b03169052565b506102008301516141036102008401826001600160601b03169052565b506102208301516121b96102208401826001600160601b03169052565b62ffffff81168114613551575f80fd5b5f8060408385031215614141575f80fd5b823561414c81613661565b9150602083013561369c81614120565b602081525f82516080602084015261417760a084018261373e565b60208501516001600160a01b0390811660408681019190915286015116606080860191909152850151848203601f190160808601529091506137fd828261373e565b64ffffffffff81168114613551575f80fd5b5f80604083850312156141dc575f80fd5b82356141e78161353d565b9150602083013561369c816141b9565b6020815261ffff82511660208201526001600160601b03602083015116604082015260018060a01b0360408301511660608201525f606083015160a0608084015261424560c084018261373e565b905064ffffffffff60808501511660a08401528091505092915050565b5f60208284031215614272575f80fd5b8135610d7f81613b45565b602081526142976020820183516001600160601b03169052565b5f602083015161010060408401526142b361012084018261373e565b905060408401516142cf60608501826001600160601b03169052565b506060840151838203601f190160808501526142eb828261373e565b9150506080840151601f198483030160a0850152614309828261373e565b91505060a084015161432460c085018264ffffffffff169052565b5060c084015164ffffffffff811660e08501525060e0840151801515610100850152613d0e565b80516143568161353d565b919050565b5f6020828403121561436b575f80fd5b8151610d7f8161353d565b60ff81168114613551575f80fd5b805161435681614376565b63ffffffff81168114613551575f80fd5b80516143568161438f565b5f60808284031280156143bc575f80fd5b506143c561388f565b82516143d081614376565b815260208301516143e081614376565b602082015260408301516143f38161438f565b604082015260608301516144068161438f565b60608201529392505050565b5f60208284031215614422575f80fd5b8151610d7f81614376565b5f82601f83011261443c575f80fd5b8151602083015f61444f613a53846139d9565b9050828152858383011115614462575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f6020828403121561448c575f80fd5b81516001600160401b038111156144a1575f80fd5b6136598482850161442d565b80518015158114614356575f80fd5b5f82601f8301126144cb575f80fd5b81516001600160401b038111156144e4576144e461387b565b8060051b6144f4602082016139a9565b9182526020818501810192908101908684111561450f575f80fd5b6020860192505b8383101561453a5782516145298161353d565b825260209283019290910190614516565b9695505050505050565b5f60208284031215614554575f80fd5b81516001600160401b03811115614569575f80fd5b8201610100818503121561457b575f80fd5b6145836138b7565b61458c826144ad565b815261459a602083016144ad565b60208201526145ab604083016144ad565b60408201526145bc60608301614384565b60608201526145cd60808301614384565b60808201526145de60a0830161434b565b60a08201526145ef60c0830161434b565b60c082015260e08201516001600160401b0381111561460c575f80fd5b614618868285016144bc565b60e083015250949350505050565b80516143568161370e565b5f60208284031215614641575f80fd5b8151610d7f8161370e565b5f6020828403121561465c575f80fd5b5051919050565b8051614356816141b9565b5f6020828403121561467e575f80fd5b81516001600160401b03811115614693575f80fd5b820160e081850312156146a4575f80fd5b6146ac6138da565b6146b58261434b565b815260208201516001600160401b038111156146cf575f80fd5b6146db8682850161442d565b602083015250604082810151908201526146f7606083016143a0565b6060820152614708608083016143a0565b608082015261471960a08301614663565b60a082015260c08201516001600160401b03811115614736575f80fd5b6147428682850161442d565b60c083015250949350505050565b5f60208284031215614760575f80fd5b81516001600160401b03811115614775575f80fd5b820160808185031215614786575f80fd5b61478e61388f565b81516147998161370e565b81526147a7602083016144ad565b602082015260408201516001600160401b038111156147c4575f80fd5b6147d08682850161442d565b604083015250606082015191506147e68261438f565b60608101919091529392505050565b6001600160601b0383168152604060208201525f613659604083018461373e565b5f60408284031215614826575f80fd5b604080519081016001600160401b03811182821017156148485761484861387b565b604052825181526020928301519281019290925250919050565b5f60208284031215614872575f80fd5b81516001600160401b03811115614887575f80fd5b820160e08185031215614898575f80fd5b6148a06138fc565b81516148ab8161353d565b81526148ba8560208401614816565b602082015260608201516001600160401b038111156148d7575f80fd5b6148e38682850161442d565b60408301525060808201516148f7816141b9565b606082015261490860a08301614663565b608082015261491960c08301614663565b60a0820152949350505050565b5f60208284031215614936575f80fd5b8151610d7f81613b16565b5f60208284031215614951575f80fd5b610d7f826144ad565b5f60e082840312801561496b575f80fd5b506149746138da565b825161497f8161353d565b815261498d602084016144ad565b602082015261499e604084016144ad565b60408201526149af606084016144ad565b60608201526149c0608084016144ad565b608082015260a0838101519082015260c0928301519281019290925250919050565b5f6101c08284031280156149f4575f80fd5b506149fd6138da565b614a078484614816565b8152614a168460408501614816565b6020820152614a288460808501614816565b6040820152614a3a8460c08501614816565b6060820152614a4d846101008501614816565b6080820152614a60846101408501614816565b60a0820152614a73846101808501614816565b60c08201529392505050565b5f60208284031215614a8f575f80fd5b81516001600160401b03811115614aa4575f80fd5b820160608185031215614ab5575f80fd5b604051606081016001600160401b0381118282101715614ad757614ad761387b565b6040528151614ae58161353d565b81526020820151614af5816141b9565b602082015260408201516001600160401b03811115614b12575f80fd5b614b1e8682850161442d565b604083015250949350505050565b5f60208284031215614b3c575f80fd5b81516001600160401b03811115614b51575f80fd5b820160808185031215614b62575f80fd5b614b6a61388f565b81516001600160401b03811115614b7f575f80fd5b614b8b8682850161442d565b8252506020820151614b9c81613b16565b60208201526040820151614baf81613b16565b604082015260608201516001600160401b03811115614bcc575f80fd5b614bd88682850161442d565b606083015250949350505050565b805161435681614120565b5f60208284031215614c01575f80fd5b81516001600160401b03811115614c16575f80fd5b820160e08185031215614c27575f80fd5b614c2f6138da565b614c388261434b565b8152614c466020830161434b565b6020820152614c5760408301614be6565b6040820152614c6860608301614be6565b606082015260808201516001600160401b03811115614c85575f80fd5b614c918682850161442d565b60808301525060a08201516001600160401b03811115614caf575f80fd5b614cbb8682850161442d565b60a083015250614ccd60c08301614663565b60c0820152949350505050565b5f60208284031215614cea575f80fd5b8151610d7f816141b9565b5f60208284031215614d05575f80fd5b8151610d7f81613b45565b805161435681613661565b5f60208284031215614d2b575f80fd5b81516001600160401b03811115614d40575f80fd5b82016102008185031215614d52575f80fd5b614d5a61391e565b614d638261434b565b8152614d716020830161434b565b6020820152614d8260408301614626565b6040820152614d9360608301614626565b6060820152614da46080830161434b565b6080820152614db560a0830161434b565b60a0820152614dc660c08301614663565b60c082015260e08201516001600160401b03811115614de3575f80fd5b614def8682850161442d565b60e0830152506101008201516001600160401b03811115614e0e575f80fd5b614e1a8682850161442d565b61010083015250614e2e6101208301614d10565b610120820152614e416101408301614d10565b610140820152614e54610160830161434b565b610160820152614e67610180830161434b565b610180820152614e7a6101a08301614663565b6101a0820152614e8d6101c08301614663565b6101c0820152614ea06101e08301614663565b6101e0820152949350505050565b5f60208284031215614ebe575f80fd5b81516001600160401b03811115614ed3575f80fd5b82016101208185031215614ee5575f80fd5b614eed613941565b81516001600160401b03811115614f02575f80fd5b614f0e8682850161442d565b825250602082810151908201526040808301519082015260608083015190820152614f3b608083016143a0565b6080820152614f4c60a08301614663565b60a0820152614f5d60c083016144ad565b60c0820152614f6e60e083016144ad565b60e08201526101008201516001600160401b03811115614f8c575f80fd5b614f988682850161442d565b61010083015250949350505050565b5f610240828403128015614fb9575f80fd5b50614fc2613964565b614fcb8361434b565b8152614fd96020840161434b565b6020820152614fea6040840161434b565b6040820152614ffb6060840161434b565b606082015261500c6080840161434b565b608082015261501d60a0840161434b565b60a082015261502e60c0840161434b565b60c082015261503f60e0840161434b565b60e0820152615051610100840161434b565b610100820152615064610120840161434b565b610120820152615077610140840161434b565b61014082015261508a610160840161434b565b61016082015261509d610180840161434b565b6101808201526150b06101a0840161434b565b6101a08201526150c36101c0840161434b565b6101c08201526150d66101e0840161434b565b6101e08201526150e9610200840161434b565b6102008201526150fc610220840161434b565b6102208201529392505050565b634e487b7160e01b5f52601160045260245ffd5b62ffffff8181168382160190811115610bb357610bb3615109565b80820180821115610bb357610bb3615109565b5f6020828403121561515b575f80fd5b8151610d7f81613661565b5f60208284031215615176575f80fd5b81516001600160401b0381111561518b575f80fd5b820160a0818503121561519c575f80fd5b6151a4613987565b81516151af81613661565b815260208201516151bf8161353d565b602082015260408201516151d281613b16565b604082015260608201516001600160401b038111156151ef575f80fd5b6151fb8682850161442d565b60608301525060808201519150615211826141b9565b60808101919091529392505050565b5f60208284031215615230575f80fd5b81516001600160401b03811115615245575f80fd5b82016101008185031215615257575f80fd5b61525f6138b7565b6152688261434b565b815260208201516001600160401b03811115615282575f80fd5b61528e8682850161442d565b6020830152506152a06040830161434b565b604082015260608201516001600160401b038111156152bd575f80fd5b6152c98682850161442d565b60608301525060808201516001600160401b038111156152e7575f80fd5b6152f38682850161442d565b60808301525061530560a08301614663565b60a082015261531660c08301614663565b60c082015261532760e083016144ad565b60e082015294935050505056fea2646970667358221220dc65a7421cb7b205efe53271b8e5a3bf11469a9559b0f57fab671f9b1ff638e664736f6c634300081a0033",
1185
2073
  "linkReferences": {
1186
- "contracts/types/DistributorType.sol": {
2074
+ "contracts/type/Amount.sol": {
2075
+ "AmountLib": [
2076
+ {
2077
+ "length": 20,
2078
+ "start": 13295
2079
+ }
2080
+ ]
2081
+ },
2082
+ "contracts/type/ClaimId.sol": {
2083
+ "ClaimIdLib": [
2084
+ {
2085
+ "length": 20,
2086
+ "start": 7125
2087
+ },
2088
+ {
2089
+ "length": 20,
2090
+ "start": 8445
2091
+ },
2092
+ {
2093
+ "length": 20,
2094
+ "start": 12136
2095
+ }
2096
+ ]
2097
+ },
2098
+ "contracts/type/DistributorType.sol": {
1187
2099
  "DistributorTypeLib": [
1188
2100
  {
1189
2101
  "length": 20,
1190
- "start": 5468
2102
+ "start": 10833
1191
2103
  }
1192
2104
  ]
1193
2105
  },
1194
- "contracts/types/NftId.sol": {
2106
+ "contracts/type/NftId.sol": {
1195
2107
  "NftIdLib": [
1196
2108
  {
1197
2109
  "length": 20,
1198
- "start": 1860
2110
+ "start": 4678
1199
2111
  },
1200
2112
  {
1201
2113
  "length": 20,
1202
- "start": 2206
2114
+ "start": 4793
1203
2115
  },
1204
2116
  {
1205
2117
  "length": 20,
1206
- "start": 3148
2118
+ "start": 4987
1207
2119
  },
1208
2120
  {
1209
2121
  "length": 20,
1210
- "start": 3193
2122
+ "start": 5672
1211
2123
  },
1212
2124
  {
1213
2125
  "length": 20,
1214
- "start": 3238
2126
+ "start": 5925
1215
2127
  },
1216
2128
  {
1217
2129
  "length": 20,
1218
- "start": 5695
2130
+ "start": 7314
1219
2131
  },
1220
2132
  {
1221
2133
  "length": 20,
1222
- "start": 6068
2134
+ "start": 7386
2135
+ },
2136
+ {
2137
+ "length": 20,
2138
+ "start": 9392
2139
+ },
2140
+ {
2141
+ "length": 20,
2142
+ "start": 11138
2143
+ },
2144
+ {
2145
+ "length": 20,
2146
+ "start": 12092
2147
+ }
2148
+ ]
2149
+ },
2150
+ "contracts/type/PayoutId.sol": {
2151
+ "PayoutIdLib": [
2152
+ {
2153
+ "length": 20,
2154
+ "start": 11567
2155
+ },
2156
+ {
2157
+ "length": 20,
2158
+ "start": 11986
2159
+ },
2160
+ {
2161
+ "length": 20,
2162
+ "start": 12704
1223
2163
  }
1224
2164
  ]
1225
2165
  },
1226
- "contracts/types/Referral.sol": {
2166
+ "contracts/type/Referral.sol": {
1227
2167
  "ReferralLib": [
1228
2168
  {
1229
2169
  "length": 20,
1230
- "start": 1627
2170
+ "start": 4035
1231
2171
  },
1232
2172
  {
1233
2173
  "length": 20,
1234
- "start": 2265
2174
+ "start": 5045
2175
+ }
2176
+ ]
2177
+ },
2178
+ "contracts/type/RequestId.sol": {
2179
+ "RequestIdLib": [
2180
+ {
2181
+ "length": 20,
2182
+ "start": 13038
1235
2183
  }
1236
2184
  ]
1237
2185
  },
1238
- "contracts/types/RiskId.sol": {
2186
+ "contracts/type/RiskId.sol": {
1239
2187
  "RiskIdLib": [
1240
2188
  {
1241
2189
  "length": 20,
1242
- "start": 3353
2190
+ "start": 7656
2191
+ },
2192
+ {
2193
+ "length": 20,
2194
+ "start": 12304
2195
+ },
2196
+ {
2197
+ "length": 20,
2198
+ "start": 12549
1243
2199
  }
1244
2200
  ]
1245
2201
  },
1246
- "contracts/types/Timestamp.sol": {
2202
+ "contracts/type/Timestamp.sol": {
1247
2203
  "TimestampLib": [
1248
2204
  {
1249
2205
  "length": 20,
1250
- "start": 4405
2206
+ "start": 8726
2207
+ },
2208
+ {
2209
+ "length": 20,
2210
+ "start": 8953
2211
+ },
2212
+ {
2213
+ "length": 20,
2214
+ "start": 9532
2215
+ },
2216
+ {
2217
+ "length": 20,
2218
+ "start": 9648
1251
2219
  },
1252
2220
  {
1253
2221
  "length": 20,
1254
- "start": 4636
2222
+ "start": 9792
1255
2223
  }
1256
2224
  ]
1257
2225
  },
1258
- "contracts/types/UFixed.sol": {
2226
+ "contracts/type/UFixed.sol": {
1259
2227
  "UFixedLib": [
1260
2228
  {
1261
2229
  "length": 20,
1262
- "start": 1417
2230
+ "start": 3803
1263
2231
  },
1264
2232
  {
1265
2233
  "length": 20,
1266
- "start": 2397
2234
+ "start": 5138
1267
2235
  },
1268
2236
  {
1269
2237
  "length": 20,
1270
- "start": 4506
2238
+ "start": 8825
1271
2239
  },
1272
2240
  {
1273
2241
  "length": 20,
1274
- "start": 4765
2242
+ "start": 9080
1275
2243
  },
1276
2244
  {
1277
2245
  "length": 20,
1278
- "start": 4908
2246
+ "start": 9221
1279
2247
  }
1280
2248
  ]
1281
2249
  }
1282
2250
  },
1283
2251
  "deployedLinkReferences": {
1284
- "contracts/types/DistributorType.sol": {
2252
+ "contracts/type/Amount.sol": {
2253
+ "AmountLib": [
2254
+ {
2255
+ "length": 20,
2256
+ "start": 13258
2257
+ }
2258
+ ]
2259
+ },
2260
+ "contracts/type/ClaimId.sol": {
2261
+ "ClaimIdLib": [
2262
+ {
2263
+ "length": 20,
2264
+ "start": 7088
2265
+ },
2266
+ {
2267
+ "length": 20,
2268
+ "start": 8408
2269
+ },
2270
+ {
2271
+ "length": 20,
2272
+ "start": 12099
2273
+ }
2274
+ ]
2275
+ },
2276
+ "contracts/type/DistributorType.sol": {
1285
2277
  "DistributorTypeLib": [
1286
2278
  {
1287
2279
  "length": 20,
1288
- "start": 5436
2280
+ "start": 10796
1289
2281
  }
1290
2282
  ]
1291
2283
  },
1292
- "contracts/types/NftId.sol": {
2284
+ "contracts/type/NftId.sol": {
1293
2285
  "NftIdLib": [
1294
2286
  {
1295
2287
  "length": 20,
1296
- "start": 1828
2288
+ "start": 4641
2289
+ },
2290
+ {
2291
+ "length": 20,
2292
+ "start": 4756
2293
+ },
2294
+ {
2295
+ "length": 20,
2296
+ "start": 4950
2297
+ },
2298
+ {
2299
+ "length": 20,
2300
+ "start": 5635
2301
+ },
2302
+ {
2303
+ "length": 20,
2304
+ "start": 5888
1297
2305
  },
1298
2306
  {
1299
2307
  "length": 20,
1300
- "start": 2174
2308
+ "start": 7277
1301
2309
  },
1302
2310
  {
1303
2311
  "length": 20,
1304
- "start": 3116
2312
+ "start": 7349
1305
2313
  },
1306
2314
  {
1307
2315
  "length": 20,
1308
- "start": 3161
2316
+ "start": 9355
1309
2317
  },
1310
2318
  {
1311
2319
  "length": 20,
1312
- "start": 3206
2320
+ "start": 11101
2321
+ },
2322
+ {
2323
+ "length": 20,
2324
+ "start": 12055
2325
+ }
2326
+ ]
2327
+ },
2328
+ "contracts/type/PayoutId.sol": {
2329
+ "PayoutIdLib": [
2330
+ {
2331
+ "length": 20,
2332
+ "start": 11530
1313
2333
  },
1314
2334
  {
1315
2335
  "length": 20,
1316
- "start": 5663
2336
+ "start": 11949
1317
2337
  },
1318
2338
  {
1319
2339
  "length": 20,
1320
- "start": 6036
2340
+ "start": 12667
1321
2341
  }
1322
2342
  ]
1323
2343
  },
1324
- "contracts/types/Referral.sol": {
2344
+ "contracts/type/Referral.sol": {
1325
2345
  "ReferralLib": [
1326
2346
  {
1327
2347
  "length": 20,
1328
- "start": 1595
2348
+ "start": 3998
1329
2349
  },
1330
2350
  {
1331
2351
  "length": 20,
1332
- "start": 2233
2352
+ "start": 5008
2353
+ }
2354
+ ]
2355
+ },
2356
+ "contracts/type/RequestId.sol": {
2357
+ "RequestIdLib": [
2358
+ {
2359
+ "length": 20,
2360
+ "start": 13001
1333
2361
  }
1334
2362
  ]
1335
2363
  },
1336
- "contracts/types/RiskId.sol": {
2364
+ "contracts/type/RiskId.sol": {
1337
2365
  "RiskIdLib": [
1338
2366
  {
1339
2367
  "length": 20,
1340
- "start": 3321
2368
+ "start": 7619
2369
+ },
2370
+ {
2371
+ "length": 20,
2372
+ "start": 12267
2373
+ },
2374
+ {
2375
+ "length": 20,
2376
+ "start": 12512
1341
2377
  }
1342
2378
  ]
1343
2379
  },
1344
- "contracts/types/Timestamp.sol": {
2380
+ "contracts/type/Timestamp.sol": {
1345
2381
  "TimestampLib": [
1346
2382
  {
1347
2383
  "length": 20,
1348
- "start": 4373
2384
+ "start": 8689
2385
+ },
2386
+ {
2387
+ "length": 20,
2388
+ "start": 8916
2389
+ },
2390
+ {
2391
+ "length": 20,
2392
+ "start": 9495
2393
+ },
2394
+ {
2395
+ "length": 20,
2396
+ "start": 9611
1349
2397
  },
1350
2398
  {
1351
2399
  "length": 20,
1352
- "start": 4604
2400
+ "start": 9755
1353
2401
  }
1354
2402
  ]
1355
2403
  },
1356
- "contracts/types/UFixed.sol": {
2404
+ "contracts/type/UFixed.sol": {
1357
2405
  "UFixedLib": [
1358
2406
  {
1359
2407
  "length": 20,
1360
- "start": 1385
2408
+ "start": 3766
1361
2409
  },
1362
2410
  {
1363
2411
  "length": 20,
1364
- "start": 2365
2412
+ "start": 5101
1365
2413
  },
1366
2414
  {
1367
2415
  "length": 20,
1368
- "start": 4474
2416
+ "start": 8788
1369
2417
  },
1370
2418
  {
1371
2419
  "length": 20,
1372
- "start": 4733
2420
+ "start": 9043
1373
2421
  },
1374
2422
  {
1375
2423
  "length": 20,
1376
- "start": 4876
2424
+ "start": 9184
1377
2425
  }
1378
2426
  ]
1379
2427
  }