@etherisc/gif-next 0.0.2-be8b468-276 → 0.0.2-bf018c6-898

Sign up to get free protection for your applications and to get access to all the features.
Files changed (733) hide show
  1. package/README.md +146 -22
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1007 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +744 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +791 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1341 -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/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1434 -0
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +414 -0
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  17. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  19. package/artifacts/contracts/{instance/IAccessManagerSimple.sol/IAccessManagerSimple.json → authorization/IAccessAdmin.sol/IAccessAdmin.json} +550 -540
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +295 -0
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +167 -0
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +253 -0
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1322 -0
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +470 -0
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1016 -0
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1501 -0
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +860 -0
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  37. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +915 -0
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  39. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +1008 -0
  40. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1475 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +502 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2040 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +470 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  51. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1479 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +470 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1195 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1655 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +502 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2408 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +470 -0
  66. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  67. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  68. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  69. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +586 -309
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +440 -161
  72. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/Instance.sol/Instance.json +378 -2982
  74. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  75. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1800 -0
  76. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  77. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +574 -0
  78. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  79. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1630 -574
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +510 -272
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  83. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +381 -85
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  85. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3718 -0
  86. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  87. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +853 -0
  88. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  89. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  90. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  91. package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → base/Cloneable.sol/Cloneable.json} +38 -2
  92. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  93. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  94. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  96. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  98. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  99. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  100. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  101. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +30 -112
  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 +478 -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/oracle/IOracleComponent.sol/IOracleComponent.json +774 -0
  118. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  119. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → oracle/IOracleService.sol/IOracleService.json} +347 -365
  120. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  121. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +875 -0
  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 +502 -0
  130. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  131. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1367 -0
  132. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  133. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +820 -0
  134. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  135. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +946 -0
  136. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  137. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +907 -0
  138. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  139. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1309 -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/PoolService.sol/PoolService.dbg.json +4 -0
  143. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1626 -0
  144. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  145. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +792 -0
  146. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  147. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +813 -0
  148. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  149. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +728 -0
  150. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  151. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1161 -0
  152. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  153. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +470 -0
  154. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  155. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1538 -0
  156. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  157. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +860 -0
  158. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  159. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IApplicationService.sol/IApplicationService.json} +287 -251
  160. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  161. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1082 -0
  162. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  163. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +968 -0
  164. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  165. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +602 -0
  166. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  167. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +1018 -0
  168. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  169. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → product/IRiskService.sol/IRiskService.json} +172 -185
  170. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  171. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1320 -0
  172. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  173. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +808 -0
  174. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  175. package/artifacts/contracts/product/PricingService.sol/PricingService.json +930 -0
  176. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  177. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +784 -0
  178. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  179. package/artifacts/contracts/product/Product.sol/Product.json +1119 -0
  180. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  181. package/artifacts/contracts/product/RiskService.sol/RiskService.json +637 -0
  182. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  183. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +724 -0
  184. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  185. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +72 -16
  186. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  187. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +609 -171
  188. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  189. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +391 -201
  190. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  191. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  192. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  193. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -0
  194. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  195. package/artifacts/contracts/registry/Registry.sol/Registry.json +943 -206
  196. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  197. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1861 -0
  198. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  199. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +355 -323
  200. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  201. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +340 -130
  202. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  203. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +1795 -0
  204. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  205. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  206. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  207. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1325 -0
  208. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  209. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +272 -0
  210. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  211. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +352 -101
  212. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  213. package/artifacts/contracts/shared/Component.sol/Component.json +707 -0
  214. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  215. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1597 -0
  216. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  217. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +824 -0
  218. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  219. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +188 -184
  220. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  221. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +541 -0
  222. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  223. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  224. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  225. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  226. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  228. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  229. package/artifacts/contracts/{instance/service/IDistributionService.sol/IDistributionService.json → shared/IComponent.sol/IComponent.json} +353 -167
  230. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  231. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1221 -0
  232. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  233. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +709 -0
  234. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  235. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +95 -14
  236. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  237. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  238. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  239. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +46 -26
  240. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  241. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
  242. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  243. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +143 -15
  244. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  245. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  246. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  247. package/artifacts/contracts/shared/IService.sol/IService.json +137 -159
  248. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  249. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  250. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  251. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +797 -0
  252. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  253. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  254. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  255. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  256. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  257. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  258. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  259. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +81 -30
  260. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  261. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
  262. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  263. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +159 -55
  264. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  265. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
  266. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  267. package/artifacts/contracts/shared/Service.sol/Service.json +156 -171
  268. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  269. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +734 -8
  270. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  271. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +395 -0
  272. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  273. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  274. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  275. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1447 -0
  276. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  277. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1067 -0
  278. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  279. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +440 -0
  280. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  281. package/artifacts/contracts/staking/Staking.sol/Staking.json +1849 -0
  282. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  283. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  284. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  285. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +788 -0
  286. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  287. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +587 -0
  288. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  289. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1272 -0
  290. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  291. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +732 -0
  292. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2283 -0
  294. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  295. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +607 -0
  296. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  297. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  298. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  299. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  300. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  301. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  302. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  303. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  304. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  305. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  306. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  307. package/artifacts/contracts/type/Fee.sol/FeeLib.json +317 -0
  308. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  309. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  310. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  311. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  312. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  313. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  314. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  315. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  316. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  317. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +239 -0
  318. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  319. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  320. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  321. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  322. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  323. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  324. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  325. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +199 -0
  326. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  327. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +369 -0
  328. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  329. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +246 -0
  330. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  331. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  332. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  333. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  334. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  335. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  336. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  337. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  338. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  339. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  340. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  341. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +548 -0
  342. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  343. package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
  344. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  345. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +113 -0
  346. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  347. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +55 -0
  348. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  349. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +618 -0
  350. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  351. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  352. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  353. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +78 -0
  354. package/contracts/accounting/AccountingService.sol +262 -0
  355. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  356. package/contracts/accounting/IAccountingService.sol +45 -0
  357. package/contracts/authorization/AccessAdmin.sol +659 -0
  358. package/contracts/authorization/AccessManagerCloneable.sol +149 -0
  359. package/contracts/authorization/Authorization.sol +289 -0
  360. package/contracts/authorization/IAccess.sol +49 -0
  361. package/contracts/authorization/IAccessAdmin.sol +140 -0
  362. package/contracts/authorization/IAuthorization.sol +60 -0
  363. package/contracts/authorization/IServiceAuthorization.sol +40 -0
  364. package/contracts/authorization/ServiceAuthorization.sol +106 -0
  365. package/contracts/distribution/BasicDistribution.sol +139 -0
  366. package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
  367. package/contracts/distribution/Distribution.sol +287 -0
  368. package/contracts/distribution/DistributionService.sol +357 -0
  369. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  370. package/contracts/distribution/IDistributionComponent.sol +52 -0
  371. package/contracts/distribution/IDistributionService.sol +100 -0
  372. package/contracts/examples/fire/DamageLevel.sol +59 -0
  373. package/contracts/examples/fire/FirePool.sol +90 -0
  374. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  375. package/contracts/examples/fire/FireProduct.sol +438 -0
  376. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  377. package/contracts/examples/fire/FireUSD.sol +26 -0
  378. package/contracts/examples/unpermissioned/SimpleDistribution.sol +57 -0
  379. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  380. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  381. package/contracts/examples/unpermissioned/SimplePool.sol +107 -0
  382. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  383. package/contracts/examples/unpermissioned/SimpleProduct.sol +370 -0
  384. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  385. package/contracts/instance/BundleSet.sol +130 -0
  386. package/contracts/instance/IInstance.sol +53 -20
  387. package/contracts/instance/IInstanceService.sol +59 -17
  388. package/contracts/instance/Instance.sol +165 -373
  389. package/contracts/instance/InstanceAdmin.sol +326 -0
  390. package/contracts/instance/InstanceAuthorizationV3.sol +225 -0
  391. package/contracts/instance/InstanceReader.sol +379 -73
  392. package/contracts/instance/InstanceService.sol +347 -105
  393. package/contracts/instance/InstanceServiceManager.sol +14 -31
  394. package/contracts/instance/InstanceStore.sol +298 -0
  395. package/contracts/instance/RiskSet.sol +118 -0
  396. package/contracts/instance/base/BalanceStore.sol +123 -0
  397. package/contracts/instance/base/Cloneable.sol +28 -0
  398. package/contracts/instance/base/ObjectCounter.sol +20 -0
  399. package/contracts/instance/base/ObjectLifecycle.sol +113 -0
  400. package/contracts/instance/base/ObjectSet.sol +77 -0
  401. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  402. package/contracts/instance/module/IAccess.sol +29 -21
  403. package/contracts/instance/module/IBundle.sol +8 -7
  404. package/contracts/instance/module/IComponents.sol +51 -0
  405. package/contracts/instance/module/IDistribution.sol +6 -4
  406. package/contracts/instance/module/IPolicy.sol +59 -19
  407. package/contracts/instance/module/IRisk.sol +4 -1
  408. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  409. package/contracts/oracle/BasicOracle.sol +47 -0
  410. package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
  411. package/contracts/oracle/IOracle.sol +36 -0
  412. package/contracts/oracle/IOracleComponent.sol +33 -0
  413. package/contracts/oracle/IOracleService.sol +66 -0
  414. package/contracts/oracle/Oracle.sol +156 -0
  415. package/contracts/oracle/OracleService.sol +310 -0
  416. package/contracts/oracle/OracleServiceManager.sol +39 -0
  417. package/contracts/pool/BasicPool.sol +175 -0
  418. package/contracts/pool/BasicPoolAuthorization.sol +68 -0
  419. package/contracts/pool/BundleService.sol +425 -0
  420. package/contracts/pool/BundleServiceManager.sol +39 -0
  421. package/contracts/pool/IBundleService.sol +121 -0
  422. package/contracts/pool/IPoolComponent.sol +62 -0
  423. package/contracts/pool/IPoolService.sol +153 -0
  424. package/contracts/pool/Pool.sol +345 -0
  425. package/contracts/pool/PoolService.sol +615 -0
  426. package/contracts/pool/PoolServiceManager.sol +39 -0
  427. package/contracts/product/ApplicationService.sol +259 -0
  428. package/contracts/product/ApplicationServiceManager.sol +38 -0
  429. package/contracts/product/BasicProduct.sol +51 -0
  430. package/contracts/product/BasicProductAuthorization.sol +41 -0
  431. package/contracts/product/ClaimService.sol +708 -0
  432. package/contracts/product/ClaimServiceManager.sol +38 -0
  433. package/contracts/product/IApplicationService.sol +66 -0
  434. package/contracts/product/IClaimService.sol +136 -0
  435. package/contracts/product/IPolicyService.sol +90 -0
  436. package/contracts/product/IPricingService.sol +39 -0
  437. package/contracts/product/IProductComponent.sol +62 -0
  438. package/contracts/product/IRiskService.sol +33 -0
  439. package/contracts/product/PolicyService.sol +736 -0
  440. package/contracts/product/PolicyServiceManager.sol +39 -0
  441. package/contracts/product/PricingService.sol +304 -0
  442. package/contracts/product/PricingServiceManager.sol +39 -0
  443. package/contracts/product/Product.sol +463 -0
  444. package/contracts/product/RiskService.sol +151 -0
  445. package/contracts/product/RiskServiceManager.sol +39 -0
  446. package/contracts/registry/ChainNft.sol +82 -35
  447. package/contracts/registry/IRegistry.sol +120 -50
  448. package/contracts/registry/IRegistryService.sol +45 -16
  449. package/contracts/registry/IRelease.sol +26 -0
  450. package/contracts/registry/ITransferInterceptor.sol +1 -1
  451. package/contracts/registry/Registry.sol +541 -304
  452. package/contracts/registry/RegistryAdmin.sol +344 -0
  453. package/contracts/registry/RegistryService.sol +126 -284
  454. package/contracts/registry/RegistryServiceManager.sol +26 -53
  455. package/contracts/registry/ReleaseAdmin.sol +245 -0
  456. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  457. package/contracts/registry/ReleaseRegistry.sol +511 -0
  458. package/contracts/registry/ServiceAuthorizationV3.sol +242 -0
  459. package/contracts/registry/TokenRegistry.sol +261 -59
  460. package/contracts/shared/Component.sol +226 -0
  461. package/contracts/shared/ComponentService.sol +700 -0
  462. package/contracts/shared/ComponentServiceManager.sol +38 -0
  463. package/contracts/shared/ComponentVerifyingService.sol +128 -0
  464. package/contracts/shared/ContractLib.sol +252 -0
  465. package/contracts/shared/IComponent.sol +61 -0
  466. package/contracts/shared/IComponentService.sol +116 -0
  467. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  468. package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
  469. package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
  470. package/contracts/shared/INftOwnable.sol +15 -12
  471. package/contracts/shared/IPolicyHolder.sol +35 -0
  472. package/contracts/shared/IRegisterable.sol +25 -5
  473. package/contracts/shared/IRegistryLinked.sol +11 -0
  474. package/contracts/shared/IService.sol +13 -5
  475. package/contracts/shared/InitializableERC165.sol +27 -0
  476. package/contracts/shared/InstanceLinkedComponent.sol +197 -0
  477. package/contracts/shared/KeyValueStore.sol +131 -0
  478. package/contracts/shared/Lifecycle.sol +88 -0
  479. package/contracts/shared/NftIdSet.sol +65 -0
  480. package/contracts/shared/NftOwnable.sol +75 -84
  481. package/contracts/shared/PolicyHolder.sol +62 -0
  482. package/contracts/shared/Registerable.sol +57 -38
  483. package/contracts/shared/RegistryLinked.sol +38 -0
  484. package/contracts/shared/Service.sol +44 -33
  485. package/contracts/shared/TokenHandler.sol +374 -12
  486. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  487. package/contracts/staking/IStaking.sol +173 -0
  488. package/contracts/staking/IStakingService.sol +157 -0
  489. package/contracts/staking/StakeManagerLib.sol +224 -0
  490. package/contracts/staking/Staking.sol +526 -0
  491. package/contracts/staking/StakingLifecycle.sol +23 -0
  492. package/contracts/staking/StakingManager.sol +52 -0
  493. package/contracts/staking/StakingReader.sol +190 -0
  494. package/contracts/staking/StakingService.sol +439 -0
  495. package/contracts/staking/StakingServiceManager.sol +44 -0
  496. package/contracts/staking/StakingStore.sol +605 -0
  497. package/contracts/staking/TargetManagerLib.sol +211 -0
  498. package/contracts/{types → type}/AddressSet.sol +1 -1
  499. package/contracts/type/Amount.sol +150 -0
  500. package/contracts/{types → type}/Blocknumber.sol +27 -3
  501. package/contracts/type/ClaimId.sol +80 -0
  502. package/contracts/{types → type}/DistributorType.sol +2 -2
  503. package/contracts/{types → type}/Fee.sol +33 -23
  504. package/contracts/{types → type}/Key32.sol +2 -2
  505. package/contracts/type/Key32Set.sol +62 -0
  506. package/contracts/{types → type}/NftId.sol +28 -15
  507. package/contracts/type/NftIdSet.sol +62 -0
  508. package/contracts/type/ObjectType.sol +290 -0
  509. package/contracts/type/PayoutId.sol +82 -0
  510. package/contracts/{types → type}/Referral.sol +6 -1
  511. package/contracts/type/RequestId.sol +75 -0
  512. package/contracts/type/RiskId.sol +74 -0
  513. package/contracts/type/RoleId.sol +165 -0
  514. package/contracts/type/Seconds.sol +101 -0
  515. package/contracts/type/Selector.sol +102 -0
  516. package/contracts/{types → type}/StateId.sol +48 -4
  517. package/contracts/type/String.sol +53 -0
  518. package/contracts/{types → type}/Timestamp.sol +33 -19
  519. package/contracts/{types → type}/UFixed.sol +41 -121
  520. package/contracts/{types → type}/Version.sol +20 -7
  521. package/contracts/{shared → upgradeability}/IVersionable.sol +5 -48
  522. package/contracts/upgradeability/ProxyManager.sol +232 -0
  523. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  524. package/contracts/upgradeability/Versionable.sol +59 -0
  525. package/package.json +11 -7
  526. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  527. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -327
  528. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  529. package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -670
  530. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  531. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -280
  532. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  533. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -204
  534. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  535. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -249
  536. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  537. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
  538. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  539. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -790
  540. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  541. package/artifacts/contracts/components/Product.sol/Product.json +0 -775
  542. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  543. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  544. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  545. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  546. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  547. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  548. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  549. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  550. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  551. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  552. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  553. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  554. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  555. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  556. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  557. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  558. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  559. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  560. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  561. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  562. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  563. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  564. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  565. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  566. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  567. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  568. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  569. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  570. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  571. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  572. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  573. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  574. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  575. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  576. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  577. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  578. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  579. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  580. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  581. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  582. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  583. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
  584. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.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 -917
  587. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  588. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  589. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  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/ISetup.sol/ISetup.dbg.json +0 -4
  597. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  598. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  599. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  600. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  601. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -641
  602. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  603. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -428
  604. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  605. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  606. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  607. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  608. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  609. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  610. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  611. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  612. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  613. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -205
  614. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  615. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -349
  616. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  617. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
  618. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  619. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  620. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  621. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -228
  622. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  623. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  624. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  625. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  626. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  627. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  628. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  629. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  630. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  631. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  632. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  633. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  634. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  635. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  636. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  637. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  638. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  639. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  640. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  641. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  642. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  643. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  644. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  645. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  646. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  647. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  648. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  649. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  650. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  651. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  652. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  653. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  654. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  655. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  656. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  657. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  658. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  659. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  660. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  661. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  662. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  663. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  664. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  665. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  666. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  667. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -249
  668. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  669. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  670. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  671. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  672. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  673. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  674. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  675. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  676. package/contracts/components/BaseComponent.sol +0 -91
  677. package/contracts/components/Distribution.sol +0 -166
  678. package/contracts/components/IBaseComponent.sol +0 -25
  679. package/contracts/components/IDistributionComponent.sol +0 -46
  680. package/contracts/components/IPoolComponent.sol +0 -62
  681. package/contracts/components/IProductComponent.sol +0 -35
  682. package/contracts/components/Pool.sol +0 -258
  683. package/contracts/components/Product.sol +0 -297
  684. package/contracts/experiment/cloning/Cloner.sol +0 -47
  685. package/contracts/experiment/errors/Require.sol +0 -38
  686. package/contracts/experiment/errors/Revert.sol +0 -44
  687. package/contracts/experiment/inheritance/A.sol +0 -53
  688. package/contracts/experiment/inheritance/B.sol +0 -28
  689. package/contracts/experiment/inheritance/C.sol +0 -34
  690. package/contracts/experiment/inheritance/IA.sol +0 -13
  691. package/contracts/experiment/inheritance/IB.sol +0 -10
  692. package/contracts/experiment/inheritance/IC.sol +0 -12
  693. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  694. package/contracts/experiment/statemachine/ISM.sol +0 -25
  695. package/contracts/experiment/statemachine/SM.sol +0 -57
  696. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  697. package/contracts/experiment/types/TypeA.sol +0 -47
  698. package/contracts/experiment/types/TypeB.sol +0 -29
  699. package/contracts/instance/AccessManagedSimple.sol +0 -115
  700. package/contracts/instance/AccessManagerSimple.sol +0 -692
  701. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  702. package/contracts/instance/InstanceAccessManager.sol +0 -288
  703. package/contracts/instance/base/ComponentServiceBase.sol +0 -39
  704. package/contracts/instance/base/IInstanceBase.sol +0 -23
  705. package/contracts/instance/base/KeyValueStore.sol +0 -172
  706. package/contracts/instance/base/Lifecycle.sol +0 -100
  707. package/contracts/instance/module/ISetup.sol +0 -43
  708. package/contracts/instance/module/ITreasury.sol +0 -23
  709. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  710. package/contracts/instance/service/DistributionService.sol +0 -96
  711. package/contracts/instance/service/DistributionServiceManager.sol +0 -53
  712. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  713. package/contracts/instance/service/IDistributionService.sol +0 -12
  714. package/contracts/instance/service/IPoolService.sol +0 -37
  715. package/contracts/instance/service/IProductService.sol +0 -107
  716. package/contracts/shared/ContractDeployerLib.sol +0 -72
  717. package/contracts/shared/ERC165.sol +0 -25
  718. package/contracts/shared/ProxyManager.sol +0 -94
  719. package/contracts/shared/RegisterableUpgradable.sol +0 -16
  720. package/contracts/shared/Versionable.sol +0 -147
  721. package/contracts/test/TestFee.sol +0 -25
  722. package/contracts/test/TestRegisterable.sol +0 -18
  723. package/contracts/test/TestRoleId.sol +0 -14
  724. package/contracts/test/TestService.sol +0 -24
  725. package/contracts/test/TestToken.sol +0 -26
  726. package/contracts/test/TestVersion.sol +0 -44
  727. package/contracts/test/TestVersionable.sol +0 -17
  728. package/contracts/types/ChainId.sol +0 -38
  729. package/contracts/types/NftIdSet.sol +0 -60
  730. package/contracts/types/NumberId.sol +0 -52
  731. package/contracts/types/ObjectType.sol +0 -152
  732. package/contracts/types/RiskId.sol +0 -43
  733. package/contracts/types/RoleId.sol +0 -88
@@ -3,41 +3,49 @@
3
3
  "contractName": "InstanceReader",
4
4
  "sourceName": "contracts/instance/InstanceReader.sol",
5
5
  "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "ErrorInstanceReaderAlreadyInitialized",
9
+ "type": "error"
10
+ },
11
+ {
12
+ "inputs": [],
13
+ "name": "ErrorInstanceReaderInstanceAddressZero",
14
+ "type": "error"
15
+ },
6
16
  {
7
17
  "inputs": [
8
- {
9
- "internalType": "address",
10
- "name": "registry",
11
- "type": "address"
12
- },
13
18
  {
14
19
  "internalType": "NftId",
15
- "name": "instanceNftId",
20
+ "name": "poolNftId",
16
21
  "type": "uint96"
17
22
  }
18
23
  ],
19
- "stateMutability": "nonpayable",
20
- "type": "constructor"
24
+ "name": "activeBundles",
25
+ "outputs": [
26
+ {
27
+ "internalType": "uint256",
28
+ "name": "bundleCount",
29
+ "type": "uint256"
30
+ }
31
+ ],
32
+ "stateMutability": "view",
33
+ "type": "function"
21
34
  },
22
35
  {
23
36
  "inputs": [
24
37
  {
25
- "internalType": "ReferralId",
26
- "name": "referralId",
27
- "type": "bytes8"
38
+ "internalType": "NftId",
39
+ "name": "productNftId",
40
+ "type": "uint96"
28
41
  }
29
42
  ],
30
- "name": "getDiscountPercentage",
43
+ "name": "activeRisks",
31
44
  "outputs": [
32
45
  {
33
- "internalType": "UFixed",
34
- "name": "discountPercentage",
46
+ "internalType": "uint256",
47
+ "name": "activeRiskCount",
35
48
  "type": "uint256"
36
- },
37
- {
38
- "internalType": "ReferralStatus",
39
- "name": "status",
40
- "type": "uint8"
41
49
  }
42
50
  ],
43
51
  "stateMutability": "view",
@@ -47,55 +55,16 @@
47
55
  "inputs": [
48
56
  {
49
57
  "internalType": "NftId",
50
- "name": "distributionNftId",
58
+ "name": "poolNftId",
51
59
  "type": "uint96"
52
60
  }
53
61
  ],
54
- "name": "getDistributionSetupInfo",
62
+ "name": "bundles",
55
63
  "outputs": [
56
64
  {
57
- "components": [
58
- {
59
- "internalType": "NftId",
60
- "name": "productNftId",
61
- "type": "uint96"
62
- },
63
- {
64
- "internalType": "contract TokenHandler",
65
- "name": "tokenHandler",
66
- "type": "address"
67
- },
68
- {
69
- "components": [
70
- {
71
- "internalType": "UFixed",
72
- "name": "fractionalFee",
73
- "type": "uint256"
74
- },
75
- {
76
- "internalType": "uint256",
77
- "name": "fixedFee",
78
- "type": "uint256"
79
- }
80
- ],
81
- "internalType": "struct Fee",
82
- "name": "distributionFee",
83
- "type": "tuple"
84
- },
85
- {
86
- "internalType": "bool",
87
- "name": "isIntercepting",
88
- "type": "bool"
89
- },
90
- {
91
- "internalType": "address",
92
- "name": "wallet",
93
- "type": "address"
94
- }
95
- ],
96
- "internalType": "struct ISetup.DistributionSetupInfo",
97
- "name": "info",
98
- "type": "tuple"
65
+ "internalType": "uint256",
66
+ "name": "bundleCount",
67
+ "type": "uint256"
99
68
  }
100
69
  ],
101
70
  "stateMutability": "view",
@@ -105,33 +74,16 @@
105
74
  "inputs": [
106
75
  {
107
76
  "internalType": "NftId",
108
- "name": "distributorNftId",
77
+ "name": "policyNftId",
109
78
  "type": "uint96"
110
79
  }
111
80
  ],
112
- "name": "getDistributorInfo",
81
+ "name": "claims",
113
82
  "outputs": [
114
83
  {
115
- "components": [
116
- {
117
- "internalType": "DistributorType",
118
- "name": "distributorType",
119
- "type": "bytes8"
120
- },
121
- {
122
- "internalType": "bool",
123
- "name": "active",
124
- "type": "bool"
125
- },
126
- {
127
- "internalType": "bytes",
128
- "name": "data",
129
- "type": "bytes"
130
- }
131
- ],
132
- "internalType": "struct IDistribution.DistributorInfo",
133
- "name": "info",
134
- "type": "tuple"
84
+ "internalType": "uint16",
85
+ "name": "claimCount",
86
+ "type": "uint16"
135
87
  }
136
88
  ],
137
89
  "stateMutability": "view",
@@ -140,103 +92,65 @@
140
92
  {
141
93
  "inputs": [
142
94
  {
143
- "internalType": "DistributorType",
144
- "name": "distributorType",
145
- "type": "bytes8"
95
+ "internalType": "NftId",
96
+ "name": "poolNftId",
97
+ "type": "uint96"
98
+ },
99
+ {
100
+ "internalType": "uint256",
101
+ "name": "idx",
102
+ "type": "uint256"
146
103
  }
147
104
  ],
148
- "name": "getDistributorTypeInfo",
105
+ "name": "getActiveBundleNftId",
149
106
  "outputs": [
150
107
  {
151
- "components": [
152
- {
153
- "internalType": "string",
154
- "name": "name",
155
- "type": "string"
156
- },
157
- {
158
- "internalType": "UFixed",
159
- "name": "minDiscountPercentage",
160
- "type": "uint256"
161
- },
162
- {
163
- "internalType": "UFixed",
164
- "name": "maxDiscountPercentage",
165
- "type": "uint256"
166
- },
167
- {
168
- "internalType": "UFixed",
169
- "name": "commissionPercentage",
170
- "type": "uint256"
171
- },
172
- {
173
- "internalType": "uint32",
174
- "name": "maxReferralCount",
175
- "type": "uint32"
176
- },
177
- {
178
- "internalType": "uint32",
179
- "name": "maxReferralLifetime",
180
- "type": "uint32"
181
- },
182
- {
183
- "internalType": "bool",
184
- "name": "allowSelfReferrals",
185
- "type": "bool"
186
- },
187
- {
188
- "internalType": "bool",
189
- "name": "allowRenewals",
190
- "type": "bool"
191
- },
192
- {
193
- "internalType": "bytes",
194
- "name": "data",
195
- "type": "bytes"
196
- }
197
- ],
198
- "internalType": "struct IDistribution.DistributorTypeInfo",
199
- "name": "info",
200
- "type": "tuple"
108
+ "internalType": "NftId",
109
+ "name": "bundleNftId",
110
+ "type": "uint96"
201
111
  }
202
112
  ],
203
113
  "stateMutability": "view",
204
114
  "type": "function"
205
115
  },
206
116
  {
207
- "inputs": [],
208
- "name": "getInstance",
117
+ "inputs": [
118
+ {
119
+ "internalType": "NftId",
120
+ "name": "productNftId",
121
+ "type": "uint96"
122
+ },
123
+ {
124
+ "internalType": "uint256",
125
+ "name": "idx",
126
+ "type": "uint256"
127
+ }
128
+ ],
129
+ "name": "getActiveRiskId",
209
130
  "outputs": [
210
131
  {
211
- "internalType": "contract IInstance",
212
- "name": "instance",
213
- "type": "address"
132
+ "internalType": "RiskId",
133
+ "name": "riskId",
134
+ "type": "bytes8"
214
135
  }
215
136
  ],
216
137
  "stateMutability": "view",
217
138
  "type": "function"
218
139
  },
219
140
  {
220
- "inputs": [],
221
- "name": "getInstanceNftId",
222
- "outputs": [
141
+ "inputs": [
223
142
  {
224
143
  "internalType": "NftId",
225
- "name": "nftId",
144
+ "name": "targetNftId",
226
145
  "type": "uint96"
227
146
  }
228
147
  ],
229
- "stateMutability": "view",
230
- "type": "function"
231
- },
232
- {
233
- "inputs": [],
234
- "name": "getInstanceStore",
148
+ "name": "getBalanceAmount",
235
149
  "outputs": [
236
150
  {
237
- "internalType": "contract IKeyValueStore",
238
- "name": "store",
239
- "type": "address"
151
+ "internalType": "Amount",
152
+ "name": "",
153
+ "type": "uint96"
240
154
  }
241
155
  ],
242
156
  "stateMutability": "view",
@@ -245,43 +159,60 @@
245
159
  {
246
160
  "inputs": [
247
161
  {
248
- "internalType": "Key32",
249
- "name": "key",
250
- "type": "bytes32"
162
+ "internalType": "NftId",
163
+ "name": "bundleNftId",
164
+ "type": "uint96"
251
165
  }
252
166
  ],
253
- "name": "getMetadata",
167
+ "name": "getBundleInfo",
254
168
  "outputs": [
255
169
  {
256
170
  "components": [
257
171
  {
258
- "internalType": "ObjectType",
259
- "name": "objectType",
260
- "type": "uint8"
172
+ "internalType": "NftId",
173
+ "name": "poolNftId",
174
+ "type": "uint96"
261
175
  },
262
176
  {
263
- "internalType": "StateId",
264
- "name": "state",
265
- "type": "uint8"
177
+ "components": [
178
+ {
179
+ "internalType": "UFixed",
180
+ "name": "fractionalFee",
181
+ "type": "uint256"
182
+ },
183
+ {
184
+ "internalType": "uint256",
185
+ "name": "fixedFee",
186
+ "type": "uint256"
187
+ }
188
+ ],
189
+ "internalType": "struct Fee",
190
+ "name": "fee",
191
+ "type": "tuple"
266
192
  },
267
193
  {
268
- "internalType": "address",
269
- "name": "updatedBy",
270
- "type": "address"
194
+ "internalType": "bytes",
195
+ "name": "filter",
196
+ "type": "bytes"
271
197
  },
272
198
  {
273
- "internalType": "Blocknumber",
274
- "name": "updatedIn",
275
- "type": "uint32"
199
+ "internalType": "Timestamp",
200
+ "name": "activatedAt",
201
+ "type": "uint40"
276
202
  },
277
203
  {
278
- "internalType": "Blocknumber",
279
- "name": "createdIn",
280
- "type": "uint32"
204
+ "internalType": "Timestamp",
205
+ "name": "expiredAt",
206
+ "type": "uint40"
207
+ },
208
+ {
209
+ "internalType": "Timestamp",
210
+ "name": "closedAt",
211
+ "type": "uint40"
281
212
  }
282
213
  ],
283
- "internalType": "struct IKeyValueStore.Metadata",
284
- "name": "metadata",
214
+ "internalType": "struct IBundle.BundleInfo",
215
+ "name": "info",
285
216
  "type": "tuple"
286
217
  }
287
218
  ],
@@ -292,96 +223,131 @@
292
223
  "inputs": [
293
224
  {
294
225
  "internalType": "NftId",
295
- "name": "policyNftId",
226
+ "name": "poolNftId",
296
227
  "type": "uint96"
228
+ },
229
+ {
230
+ "internalType": "uint256",
231
+ "name": "idx",
232
+ "type": "uint256"
297
233
  }
298
234
  ],
299
- "name": "getPolicyInfo",
235
+ "name": "getBundleNftId",
236
+ "outputs": [
237
+ {
238
+ "internalType": "NftId",
239
+ "name": "bundleNftId",
240
+ "type": "uint96"
241
+ }
242
+ ],
243
+ "stateMutability": "view",
244
+ "type": "function"
245
+ },
246
+ {
247
+ "inputs": [],
248
+ "name": "getBundleSet",
249
+ "outputs": [
250
+ {
251
+ "internalType": "contract BundleSet",
252
+ "name": "bundleSet",
253
+ "type": "address"
254
+ }
255
+ ],
256
+ "stateMutability": "view",
257
+ "type": "function"
258
+ },
259
+ {
260
+ "inputs": [
261
+ {
262
+ "internalType": "NftId",
263
+ "name": "bundleNftId",
264
+ "type": "uint96"
265
+ }
266
+ ],
267
+ "name": "getBundleState",
268
+ "outputs": [
269
+ {
270
+ "internalType": "StateId",
271
+ "name": "state",
272
+ "type": "uint8"
273
+ }
274
+ ],
275
+ "stateMutability": "view",
276
+ "type": "function"
277
+ },
278
+ {
279
+ "inputs": [
280
+ {
281
+ "internalType": "uint256",
282
+ "name": "idx",
283
+ "type": "uint256"
284
+ }
285
+ ],
286
+ "name": "getClaimId",
287
+ "outputs": [
288
+ {
289
+ "internalType": "ClaimId",
290
+ "name": "claimId",
291
+ "type": "uint16"
292
+ }
293
+ ],
294
+ "stateMutability": "view",
295
+ "type": "function"
296
+ },
297
+ {
298
+ "inputs": [
299
+ {
300
+ "internalType": "NftId",
301
+ "name": "policyNftId",
302
+ "type": "uint96"
303
+ },
304
+ {
305
+ "internalType": "ClaimId",
306
+ "name": "claimId",
307
+ "type": "uint16"
308
+ }
309
+ ],
310
+ "name": "getClaimInfo",
300
311
  "outputs": [
301
312
  {
302
313
  "components": [
303
314
  {
304
- "internalType": "NftId",
305
- "name": "productNftId",
315
+ "internalType": "Amount",
316
+ "name": "claimAmount",
306
317
  "type": "uint96"
307
318
  },
308
319
  {
309
- "internalType": "NftId",
310
- "name": "bundleNftId",
320
+ "internalType": "Amount",
321
+ "name": "paidAmount",
311
322
  "type": "uint96"
312
323
  },
313
324
  {
314
- "internalType": "ReferralId",
315
- "name": "referralId",
316
- "type": "bytes8"
317
- },
318
- {
319
- "internalType": "RiskId",
320
- "name": "riskId",
321
- "type": "bytes8"
322
- },
323
- {
324
- "internalType": "uint256",
325
- "name": "sumInsuredAmount",
326
- "type": "uint256"
327
- },
328
- {
329
- "internalType": "uint256",
330
- "name": "premiumAmount",
331
- "type": "uint256"
332
- },
333
- {
334
- "internalType": "uint256",
335
- "name": "premiumPaidAmount",
336
- "type": "uint256"
325
+ "internalType": "uint24",
326
+ "name": "payoutsCount",
327
+ "type": "uint24"
337
328
  },
338
329
  {
339
- "internalType": "uint256",
340
- "name": "lifetime",
341
- "type": "uint256"
330
+ "internalType": "uint24",
331
+ "name": "openPayoutsCount",
332
+ "type": "uint24"
342
333
  },
343
334
  {
344
335
  "internalType": "bytes",
345
- "name": "applicationData",
336
+ "name": "submissionData",
346
337
  "type": "bytes"
347
338
  },
348
339
  {
349
340
  "internalType": "bytes",
350
- "name": "policyData",
341
+ "name": "processData",
351
342
  "type": "bytes"
352
343
  },
353
- {
354
- "internalType": "uint16",
355
- "name": "claimsCount",
356
- "type": "uint16"
357
- },
358
- {
359
- "internalType": "uint16",
360
- "name": "openClaimsCount",
361
- "type": "uint16"
362
- },
363
- {
364
- "internalType": "uint256",
365
- "name": "payoutAmount",
366
- "type": "uint256"
367
- },
368
- {
369
- "internalType": "Timestamp",
370
- "name": "activatedAt",
371
- "type": "uint40"
372
- },
373
- {
374
- "internalType": "Timestamp",
375
- "name": "expiredAt",
376
- "type": "uint40"
377
- },
378
344
  {
379
345
  "internalType": "Timestamp",
380
346
  "name": "closedAt",
381
347
  "type": "uint40"
382
348
  }
383
349
  ],
384
- "internalType": "struct IPolicy.PolicyInfo",
350
+ "internalType": "struct IPolicy.ClaimInfo",
385
351
  "name": "info",
386
352
  "type": "tuple"
387
353
  }
@@ -393,92 +359,60 @@
393
359
  "inputs": [
394
360
  {
395
361
  "internalType": "NftId",
396
- "name": "poolNftId",
362
+ "name": "policyNftId",
363
+ "type": "uint96"
364
+ },
365
+ {
366
+ "internalType": "ClaimId",
367
+ "name": "claimId",
368
+ "type": "uint16"
369
+ }
370
+ ],
371
+ "name": "getClaimState",
372
+ "outputs": [
373
+ {
374
+ "internalType": "StateId",
375
+ "name": "state",
376
+ "type": "uint8"
377
+ }
378
+ ],
379
+ "stateMutability": "view",
380
+ "type": "function"
381
+ },
382
+ {
383
+ "inputs": [
384
+ {
385
+ "internalType": "NftId",
386
+ "name": "componentNftId",
397
387
  "type": "uint96"
398
388
  }
399
389
  ],
400
- "name": "getPoolSetupInfo",
390
+ "name": "getComponentInfo",
401
391
  "outputs": [
402
392
  {
403
393
  "components": [
404
394
  {
405
- "internalType": "NftId",
406
- "name": "productNftId",
407
- "type": "uint96"
395
+ "internalType": "string",
396
+ "name": "name",
397
+ "type": "string"
408
398
  },
409
399
  {
410
- "internalType": "contract TokenHandler",
411
- "name": "tokenHandler",
400
+ "internalType": "contract IERC20Metadata",
401
+ "name": "token",
412
402
  "type": "address"
413
403
  },
414
404
  {
415
- "internalType": "UFixed",
416
- "name": "collateralizationLevel",
417
- "type": "uint256"
418
- },
419
- {
420
- "components": [
421
- {
422
- "internalType": "UFixed",
423
- "name": "fractionalFee",
424
- "type": "uint256"
425
- },
426
- {
427
- "internalType": "uint256",
428
- "name": "fixedFee",
429
- "type": "uint256"
430
- }
431
- ],
432
- "internalType": "struct Fee",
433
- "name": "poolFee",
434
- "type": "tuple"
435
- },
436
- {
437
- "components": [
438
- {
439
- "internalType": "UFixed",
440
- "name": "fractionalFee",
441
- "type": "uint256"
442
- },
443
- {
444
- "internalType": "uint256",
445
- "name": "fixedFee",
446
- "type": "uint256"
447
- }
448
- ],
449
- "internalType": "struct Fee",
450
- "name": "stakingFee",
451
- "type": "tuple"
452
- },
453
- {
454
- "components": [
455
- {
456
- "internalType": "UFixed",
457
- "name": "fractionalFee",
458
- "type": "uint256"
459
- },
460
- {
461
- "internalType": "uint256",
462
- "name": "fixedFee",
463
- "type": "uint256"
464
- }
465
- ],
466
- "internalType": "struct Fee",
467
- "name": "performanceFee",
468
- "type": "tuple"
469
- },
470
- {
471
- "internalType": "bool",
472
- "name": "isIntercepting",
473
- "type": "bool"
405
+ "internalType": "contract TokenHandler",
406
+ "name": "tokenHandler",
407
+ "type": "address"
474
408
  },
475
409
  {
476
- "internalType": "address",
477
- "name": "wallet",
478
- "type": "address"
410
+ "internalType": "bytes",
411
+ "name": "data",
412
+ "type": "bytes"
479
413
  }
480
414
  ],
481
- "internalType": "struct ISetup.PoolSetupInfo",
415
+ "internalType": "struct IComponents.ComponentInfo",
482
416
  "name": "info",
483
417
  "type": "tuple"
484
418
  }
@@ -486,142 +420,64 @@
486
420
  "stateMutability": "view",
487
421
  "type": "function"
488
422
  },
423
+ {
424
+ "inputs": [
425
+ {
426
+ "internalType": "ReferralId",
427
+ "name": "referralId",
428
+ "type": "bytes8"
429
+ }
430
+ ],
431
+ "name": "getDiscountPercentage",
432
+ "outputs": [
433
+ {
434
+ "internalType": "UFixed",
435
+ "name": "discountPercentage",
436
+ "type": "uint256"
437
+ },
438
+ {
439
+ "internalType": "ReferralStatus",
440
+ "name": "status",
441
+ "type": "uint8"
442
+ }
443
+ ],
444
+ "stateMutability": "view",
445
+ "type": "function"
446
+ },
489
447
  {
490
448
  "inputs": [
491
449
  {
492
450
  "internalType": "NftId",
493
- "name": "productNftId",
451
+ "name": "distributorNftId",
494
452
  "type": "uint96"
495
453
  }
496
454
  ],
497
- "name": "getProductSetupInfo",
455
+ "name": "getDistributorInfo",
498
456
  "outputs": [
499
457
  {
500
458
  "components": [
501
459
  {
502
- "internalType": "contract IERC20Metadata",
503
- "name": "token",
504
- "type": "address"
505
- },
506
- {
507
- "internalType": "contract TokenHandler",
508
- "name": "tokenHandler",
509
- "type": "address"
460
+ "internalType": "DistributorType",
461
+ "name": "distributorType",
462
+ "type": "bytes8"
510
463
  },
511
464
  {
512
- "internalType": "NftId",
513
- "name": "distributionNftId",
514
- "type": "uint96"
465
+ "internalType": "bool",
466
+ "name": "active",
467
+ "type": "bool"
515
468
  },
516
469
  {
517
- "internalType": "NftId",
518
- "name": "poolNftId",
519
- "type": "uint96"
470
+ "internalType": "bytes",
471
+ "name": "data",
472
+ "type": "bytes"
520
473
  },
521
474
  {
522
- "components": [
523
- {
524
- "internalType": "UFixed",
525
- "name": "fractionalFee",
526
- "type": "uint256"
527
- },
528
- {
529
- "internalType": "uint256",
530
- "name": "fixedFee",
531
- "type": "uint256"
532
- }
533
- ],
534
- "internalType": "struct Fee",
535
- "name": "distributionFee",
536
- "type": "tuple"
537
- },
538
- {
539
- "components": [
540
- {
541
- "internalType": "UFixed",
542
- "name": "fractionalFee",
543
- "type": "uint256"
544
- },
545
- {
546
- "internalType": "uint256",
547
- "name": "fixedFee",
548
- "type": "uint256"
549
- }
550
- ],
551
- "internalType": "struct Fee",
552
- "name": "productFee",
553
- "type": "tuple"
554
- },
555
- {
556
- "components": [
557
- {
558
- "internalType": "UFixed",
559
- "name": "fractionalFee",
560
- "type": "uint256"
561
- },
562
- {
563
- "internalType": "uint256",
564
- "name": "fixedFee",
565
- "type": "uint256"
566
- }
567
- ],
568
- "internalType": "struct Fee",
569
- "name": "processingFee",
570
- "type": "tuple"
571
- },
572
- {
573
- "components": [
574
- {
575
- "internalType": "UFixed",
576
- "name": "fractionalFee",
577
- "type": "uint256"
578
- },
579
- {
580
- "internalType": "uint256",
581
- "name": "fixedFee",
582
- "type": "uint256"
583
- }
584
- ],
585
- "internalType": "struct Fee",
586
- "name": "poolFee",
587
- "type": "tuple"
588
- },
589
- {
590
- "components": [
591
- {
592
- "internalType": "UFixed",
593
- "name": "fractionalFee",
594
- "type": "uint256"
595
- },
596
- {
597
- "internalType": "uint256",
598
- "name": "fixedFee",
599
- "type": "uint256"
600
- }
601
- ],
602
- "internalType": "struct Fee",
603
- "name": "stakingFee",
604
- "type": "tuple"
605
- },
606
- {
607
- "components": [
608
- {
609
- "internalType": "UFixed",
610
- "name": "fractionalFee",
611
- "type": "uint256"
612
- },
613
- {
614
- "internalType": "uint256",
615
- "name": "fixedFee",
616
- "type": "uint256"
617
- }
618
- ],
619
- "internalType": "struct Fee",
620
- "name": "performanceFee",
621
- "type": "tuple"
475
+ "internalType": "uint32",
476
+ "name": "numPoliciesSold",
477
+ "type": "uint32"
622
478
  }
623
479
  ],
624
- "internalType": "struct ISetup.ProductSetupInfo",
480
+ "internalType": "struct IDistribution.DistributorInfo",
625
481
  "name": "info",
626
482
  "type": "tuple"
627
483
  }
@@ -632,75 +488,54 @@
632
488
  {
633
489
  "inputs": [
634
490
  {
635
- "internalType": "ReferralId",
636
- "name": "referralId",
491
+ "internalType": "DistributorType",
492
+ "name": "distributorType",
637
493
  "type": "bytes8"
638
494
  }
639
495
  ],
640
- "name": "getReferralInfo",
496
+ "name": "getDistributorTypeInfo",
641
497
  "outputs": [
642
498
  {
643
499
  "components": [
644
- {
645
- "internalType": "NftId",
646
- "name": "distributorNftId",
647
- "type": "uint96"
648
- },
649
500
  {
650
501
  "internalType": "string",
651
- "name": "referralCode",
502
+ "name": "name",
652
503
  "type": "string"
653
504
  },
654
505
  {
655
506
  "internalType": "UFixed",
656
- "name": "discountPercentage",
507
+ "name": "minDiscountPercentage",
508
+ "type": "uint256"
509
+ },
510
+ {
511
+ "internalType": "UFixed",
512
+ "name": "maxDiscountPercentage",
513
+ "type": "uint256"
514
+ },
515
+ {
516
+ "internalType": "UFixed",
517
+ "name": "commissionPercentage",
657
518
  "type": "uint256"
658
519
  },
659
520
  {
660
521
  "internalType": "uint32",
661
- "name": "maxReferrals",
522
+ "name": "maxReferralCount",
662
523
  "type": "uint32"
663
524
  },
664
525
  {
665
526
  "internalType": "uint32",
666
- "name": "usedReferrals",
527
+ "name": "maxReferralLifetime",
667
528
  "type": "uint32"
668
529
  },
669
530
  {
670
- "internalType": "Timestamp",
671
- "name": "expiryAt",
672
- "type": "uint40"
531
+ "internalType": "bool",
532
+ "name": "allowSelfReferrals",
533
+ "type": "bool"
673
534
  },
674
535
  {
675
- "internalType": "bytes",
676
- "name": "data",
677
- "type": "bytes"
678
- }
679
- ],
680
- "internalType": "struct IDistribution.ReferralInfo",
681
- "name": "info",
682
- "type": "tuple"
683
- }
684
- ],
685
- "stateMutability": "view",
686
- "type": "function"
687
- },
688
- {
689
- "inputs": [
690
- {
691
- "internalType": "RiskId",
692
- "name": "riskId",
693
- "type": "bytes8"
694
- }
695
- ],
696
- "name": "getRiskInfo",
697
- "outputs": [
698
- {
699
- "components": [
700
- {
701
- "internalType": "NftId",
702
- "name": "productNftId",
703
- "type": "uint96"
536
+ "internalType": "bool",
537
+ "name": "allowRenewals",
538
+ "type": "bool"
704
539
  },
705
540
  {
706
541
  "internalType": "bytes",
@@ -708,7 +543,7 @@
708
543
  "type": "bytes"
709
544
  }
710
545
  ],
711
- "internalType": "struct IRisk.RiskInfo",
546
+ "internalType": "struct IDistribution.DistributorTypeInfo",
712
547
  "name": "info",
713
548
  "type": "tuple"
714
549
  }
@@ -720,16 +555,16 @@
720
555
  "inputs": [
721
556
  {
722
557
  "internalType": "NftId",
723
- "name": "productNftId",
558
+ "name": "targetNftId",
724
559
  "type": "uint96"
725
560
  }
726
561
  ],
727
- "name": "getTokenHandler",
562
+ "name": "getFeeAmount",
728
563
  "outputs": [
729
564
  {
730
- "internalType": "address",
731
- "name": "tokenHandler",
732
- "type": "address"
565
+ "internalType": "Amount",
566
+ "name": "",
567
+ "type": "uint96"
733
568
  }
734
569
  ],
735
570
  "stateMutability": "view",
@@ -743,29 +578,26 @@
743
578
  "type": "uint96"
744
579
  }
745
580
  ],
746
- "name": "getTreasuryInfo",
581
+ "name": "getFeeInfo",
747
582
  "outputs": [
748
583
  {
749
584
  "components": [
750
585
  {
751
- "internalType": "contract IERC20Metadata",
752
- "name": "token",
753
- "type": "address"
754
- },
755
- {
756
- "internalType": "contract TokenHandler",
757
- "name": "tokenHandler",
758
- "type": "address"
759
- },
760
- {
761
- "internalType": "NftId",
762
- "name": "distributionNftId",
763
- "type": "uint96"
764
- },
765
- {
766
- "internalType": "NftId",
767
- "name": "poolNftId",
768
- "type": "uint96"
586
+ "components": [
587
+ {
588
+ "internalType": "UFixed",
589
+ "name": "fractionalFee",
590
+ "type": "uint256"
591
+ },
592
+ {
593
+ "internalType": "uint256",
594
+ "name": "fixedFee",
595
+ "type": "uint256"
596
+ }
597
+ ],
598
+ "internalType": "struct Fee",
599
+ "name": "productFee",
600
+ "type": "tuple"
769
601
  },
770
602
  {
771
603
  "components": [
@@ -781,7 +613,7 @@
781
613
  }
782
614
  ],
783
615
  "internalType": "struct Fee",
784
- "name": "distributionFee",
616
+ "name": "processingFee",
785
617
  "type": "tuple"
786
618
  },
787
619
  {
@@ -798,7 +630,7 @@
798
630
  }
799
631
  ],
800
632
  "internalType": "struct Fee",
801
- "name": "productFee",
633
+ "name": "distributionFee",
802
634
  "type": "tuple"
803
635
  },
804
636
  {
@@ -815,7 +647,7 @@
815
647
  }
816
648
  ],
817
649
  "internalType": "struct Fee",
818
- "name": "processingFee",
650
+ "name": "minDistributionOwnerFee",
819
651
  "type": "tuple"
820
652
  },
821
653
  {
@@ -870,30 +702,1079 @@
870
702
  "type": "tuple"
871
703
  }
872
704
  ],
873
- "internalType": "struct ITreasury.TreasuryInfo",
874
- "name": "info",
705
+ "internalType": "struct IComponents.FeeInfo",
706
+ "name": "feeInfo",
875
707
  "type": "tuple"
876
708
  }
877
709
  ],
878
710
  "stateMutability": "view",
879
711
  "type": "function"
880
712
  },
713
+ {
714
+ "inputs": [],
715
+ "name": "getInstance",
716
+ "outputs": [
717
+ {
718
+ "internalType": "contract IInstance",
719
+ "name": "instance",
720
+ "type": "address"
721
+ }
722
+ ],
723
+ "stateMutability": "view",
724
+ "type": "function"
725
+ },
726
+ {
727
+ "inputs": [],
728
+ "name": "getInstanceStore",
729
+ "outputs": [
730
+ {
731
+ "internalType": "contract IKeyValueStore",
732
+ "name": "store",
733
+ "type": "address"
734
+ }
735
+ ],
736
+ "stateMutability": "view",
737
+ "type": "function"
738
+ },
739
+ {
740
+ "inputs": [
741
+ {
742
+ "internalType": "NftId",
743
+ "name": "targetNftId",
744
+ "type": "uint96"
745
+ }
746
+ ],
747
+ "name": "getLockedAmount",
748
+ "outputs": [
749
+ {
750
+ "internalType": "Amount",
751
+ "name": "",
752
+ "type": "uint96"
753
+ }
754
+ ],
755
+ "stateMutability": "view",
756
+ "type": "function"
757
+ },
758
+ {
759
+ "inputs": [
760
+ {
761
+ "internalType": "Key32",
762
+ "name": "key",
763
+ "type": "bytes32"
764
+ }
765
+ ],
766
+ "name": "getMetadata",
767
+ "outputs": [
768
+ {
769
+ "components": [
770
+ {
771
+ "internalType": "ObjectType",
772
+ "name": "objectType",
773
+ "type": "uint8"
774
+ },
775
+ {
776
+ "internalType": "StateId",
777
+ "name": "state",
778
+ "type": "uint8"
779
+ },
780
+ {
781
+ "internalType": "Blocknumber",
782
+ "name": "updatedIn",
783
+ "type": "uint32"
784
+ },
785
+ {
786
+ "internalType": "Blocknumber",
787
+ "name": "createdIn",
788
+ "type": "uint32"
789
+ }
790
+ ],
791
+ "internalType": "struct IKeyValueStore.Metadata",
792
+ "name": "metadata",
793
+ "type": "tuple"
794
+ }
795
+ ],
796
+ "stateMutability": "view",
797
+ "type": "function"
798
+ },
799
+ {
800
+ "inputs": [
801
+ {
802
+ "internalType": "ClaimId",
803
+ "name": "claimId",
804
+ "type": "uint16"
805
+ },
806
+ {
807
+ "internalType": "uint24",
808
+ "name": "idx",
809
+ "type": "uint24"
810
+ }
811
+ ],
812
+ "name": "getPayoutId",
813
+ "outputs": [
814
+ {
815
+ "internalType": "PayoutId",
816
+ "name": "payoutId",
817
+ "type": "uint40"
818
+ }
819
+ ],
820
+ "stateMutability": "view",
821
+ "type": "function"
822
+ },
823
+ {
824
+ "inputs": [
825
+ {
826
+ "internalType": "NftId",
827
+ "name": "policyNftId",
828
+ "type": "uint96"
829
+ },
830
+ {
831
+ "internalType": "PayoutId",
832
+ "name": "payoutId",
833
+ "type": "uint40"
834
+ }
835
+ ],
836
+ "name": "getPayoutInfo",
837
+ "outputs": [
838
+ {
839
+ "components": [
840
+ {
841
+ "internalType": "ClaimId",
842
+ "name": "claimId",
843
+ "type": "uint16"
844
+ },
845
+ {
846
+ "internalType": "Amount",
847
+ "name": "amount",
848
+ "type": "uint96"
849
+ },
850
+ {
851
+ "internalType": "address",
852
+ "name": "beneficiary",
853
+ "type": "address"
854
+ },
855
+ {
856
+ "internalType": "bytes",
857
+ "name": "data",
858
+ "type": "bytes"
859
+ },
860
+ {
861
+ "internalType": "Timestamp",
862
+ "name": "paidAt",
863
+ "type": "uint40"
864
+ }
865
+ ],
866
+ "internalType": "struct IPolicy.PayoutInfo",
867
+ "name": "info",
868
+ "type": "tuple"
869
+ }
870
+ ],
871
+ "stateMutability": "view",
872
+ "type": "function"
873
+ },
874
+ {
875
+ "inputs": [
876
+ {
877
+ "internalType": "NftId",
878
+ "name": "policyNftId",
879
+ "type": "uint96"
880
+ },
881
+ {
882
+ "internalType": "PayoutId",
883
+ "name": "payoutId",
884
+ "type": "uint40"
885
+ }
886
+ ],
887
+ "name": "getPayoutState",
888
+ "outputs": [
889
+ {
890
+ "internalType": "StateId",
891
+ "name": "state",
892
+ "type": "uint8"
893
+ }
894
+ ],
895
+ "stateMutability": "view",
896
+ "type": "function"
897
+ },
898
+ {
899
+ "inputs": [
900
+ {
901
+ "internalType": "NftId",
902
+ "name": "policyNftId",
903
+ "type": "uint96"
904
+ }
905
+ ],
906
+ "name": "getPolicyInfo",
907
+ "outputs": [
908
+ {
909
+ "components": [
910
+ {
911
+ "internalType": "NftId",
912
+ "name": "productNftId",
913
+ "type": "uint96"
914
+ },
915
+ {
916
+ "internalType": "NftId",
917
+ "name": "bundleNftId",
918
+ "type": "uint96"
919
+ },
920
+ {
921
+ "internalType": "ReferralId",
922
+ "name": "referralId",
923
+ "type": "bytes8"
924
+ },
925
+ {
926
+ "internalType": "RiskId",
927
+ "name": "riskId",
928
+ "type": "bytes8"
929
+ },
930
+ {
931
+ "internalType": "Amount",
932
+ "name": "sumInsuredAmount",
933
+ "type": "uint96"
934
+ },
935
+ {
936
+ "internalType": "Amount",
937
+ "name": "premiumAmount",
938
+ "type": "uint96"
939
+ },
940
+ {
941
+ "internalType": "Seconds",
942
+ "name": "lifetime",
943
+ "type": "uint40"
944
+ },
945
+ {
946
+ "internalType": "bytes",
947
+ "name": "applicationData",
948
+ "type": "bytes"
949
+ },
950
+ {
951
+ "internalType": "bytes",
952
+ "name": "processData",
953
+ "type": "bytes"
954
+ },
955
+ {
956
+ "internalType": "uint16",
957
+ "name": "claimsCount",
958
+ "type": "uint16"
959
+ },
960
+ {
961
+ "internalType": "uint16",
962
+ "name": "openClaimsCount",
963
+ "type": "uint16"
964
+ },
965
+ {
966
+ "internalType": "Amount",
967
+ "name": "claimAmount",
968
+ "type": "uint96"
969
+ },
970
+ {
971
+ "internalType": "Amount",
972
+ "name": "payoutAmount",
973
+ "type": "uint96"
974
+ },
975
+ {
976
+ "internalType": "Timestamp",
977
+ "name": "activatedAt",
978
+ "type": "uint40"
979
+ },
980
+ {
981
+ "internalType": "Timestamp",
982
+ "name": "expiredAt",
983
+ "type": "uint40"
984
+ },
985
+ {
986
+ "internalType": "Timestamp",
987
+ "name": "closedAt",
988
+ "type": "uint40"
989
+ }
990
+ ],
991
+ "internalType": "struct IPolicy.PolicyInfo",
992
+ "name": "info",
993
+ "type": "tuple"
994
+ }
995
+ ],
996
+ "stateMutability": "view",
997
+ "type": "function"
998
+ },
999
+ {
1000
+ "inputs": [
1001
+ {
1002
+ "internalType": "RiskId",
1003
+ "name": "riskId",
1004
+ "type": "bytes8"
1005
+ },
1006
+ {
1007
+ "internalType": "uint256",
1008
+ "name": "idx",
1009
+ "type": "uint256"
1010
+ }
1011
+ ],
1012
+ "name": "getPolicyNftIdForRisk",
1013
+ "outputs": [
1014
+ {
1015
+ "internalType": "NftId",
1016
+ "name": "linkedPolicyNftId",
1017
+ "type": "uint96"
1018
+ }
1019
+ ],
1020
+ "stateMutability": "view",
1021
+ "type": "function"
1022
+ },
1023
+ {
1024
+ "inputs": [
1025
+ {
1026
+ "internalType": "NftId",
1027
+ "name": "policyNftId",
1028
+ "type": "uint96"
1029
+ }
1030
+ ],
1031
+ "name": "getPolicyState",
1032
+ "outputs": [
1033
+ {
1034
+ "internalType": "StateId",
1035
+ "name": "state",
1036
+ "type": "uint8"
1037
+ }
1038
+ ],
1039
+ "stateMutability": "view",
1040
+ "type": "function"
1041
+ },
1042
+ {
1043
+ "inputs": [
1044
+ {
1045
+ "internalType": "NftId",
1046
+ "name": "poolNftId",
1047
+ "type": "uint96"
1048
+ }
1049
+ ],
1050
+ "name": "getPoolInfo",
1051
+ "outputs": [
1052
+ {
1053
+ "components": [
1054
+ {
1055
+ "internalType": "Amount",
1056
+ "name": "maxBalanceAmount",
1057
+ "type": "uint96"
1058
+ },
1059
+ {
1060
+ "internalType": "bool",
1061
+ "name": "isInterceptingBundleTransfers",
1062
+ "type": "bool"
1063
+ },
1064
+ {
1065
+ "internalType": "bool",
1066
+ "name": "isProcessingConfirmedClaims",
1067
+ "type": "bool"
1068
+ },
1069
+ {
1070
+ "internalType": "bool",
1071
+ "name": "isExternallyManaged",
1072
+ "type": "bool"
1073
+ },
1074
+ {
1075
+ "internalType": "bool",
1076
+ "name": "isVerifyingApplications",
1077
+ "type": "bool"
1078
+ },
1079
+ {
1080
+ "internalType": "UFixed",
1081
+ "name": "collateralizationLevel",
1082
+ "type": "uint256"
1083
+ },
1084
+ {
1085
+ "internalType": "UFixed",
1086
+ "name": "retentionLevel",
1087
+ "type": "uint256"
1088
+ }
1089
+ ],
1090
+ "internalType": "struct IComponents.PoolInfo",
1091
+ "name": "info",
1092
+ "type": "tuple"
1093
+ }
1094
+ ],
1095
+ "stateMutability": "view",
1096
+ "type": "function"
1097
+ },
1098
+ {
1099
+ "inputs": [
1100
+ {
1101
+ "internalType": "NftId",
1102
+ "name": "policyNftId",
1103
+ "type": "uint96"
1104
+ }
1105
+ ],
1106
+ "name": "getPremiumInfo",
1107
+ "outputs": [
1108
+ {
1109
+ "components": [
1110
+ {
1111
+ "internalType": "Amount",
1112
+ "name": "productFeeAmount",
1113
+ "type": "uint96"
1114
+ },
1115
+ {
1116
+ "internalType": "Amount",
1117
+ "name": "distributionFeeAndCommissionAmount",
1118
+ "type": "uint96"
1119
+ },
1120
+ {
1121
+ "internalType": "Amount",
1122
+ "name": "poolPremiumAndFeeAmount",
1123
+ "type": "uint96"
1124
+ },
1125
+ {
1126
+ "internalType": "Amount",
1127
+ "name": "netPremiumAmount",
1128
+ "type": "uint96"
1129
+ },
1130
+ {
1131
+ "internalType": "Amount",
1132
+ "name": "fullPremiumAmount",
1133
+ "type": "uint96"
1134
+ },
1135
+ {
1136
+ "internalType": "Amount",
1137
+ "name": "premiumAmount",
1138
+ "type": "uint96"
1139
+ },
1140
+ {
1141
+ "internalType": "Amount",
1142
+ "name": "productFeeFixAmount",
1143
+ "type": "uint96"
1144
+ },
1145
+ {
1146
+ "internalType": "Amount",
1147
+ "name": "poolFeeFixAmount",
1148
+ "type": "uint96"
1149
+ },
1150
+ {
1151
+ "internalType": "Amount",
1152
+ "name": "bundleFeeFixAmount",
1153
+ "type": "uint96"
1154
+ },
1155
+ {
1156
+ "internalType": "Amount",
1157
+ "name": "distributionFeeFixAmount",
1158
+ "type": "uint96"
1159
+ },
1160
+ {
1161
+ "internalType": "Amount",
1162
+ "name": "productFeeVarAmount",
1163
+ "type": "uint96"
1164
+ },
1165
+ {
1166
+ "internalType": "Amount",
1167
+ "name": "poolFeeVarAmount",
1168
+ "type": "uint96"
1169
+ },
1170
+ {
1171
+ "internalType": "Amount",
1172
+ "name": "bundleFeeVarAmount",
1173
+ "type": "uint96"
1174
+ },
1175
+ {
1176
+ "internalType": "Amount",
1177
+ "name": "distributionFeeVarAmount",
1178
+ "type": "uint96"
1179
+ },
1180
+ {
1181
+ "internalType": "Amount",
1182
+ "name": "distributionOwnerFeeFixAmount",
1183
+ "type": "uint96"
1184
+ },
1185
+ {
1186
+ "internalType": "Amount",
1187
+ "name": "distributionOwnerFeeVarAmount",
1188
+ "type": "uint96"
1189
+ },
1190
+ {
1191
+ "internalType": "Amount",
1192
+ "name": "commissionAmount",
1193
+ "type": "uint96"
1194
+ },
1195
+ {
1196
+ "internalType": "Amount",
1197
+ "name": "discountAmount",
1198
+ "type": "uint96"
1199
+ }
1200
+ ],
1201
+ "internalType": "struct IPolicy.PremiumInfo",
1202
+ "name": "info",
1203
+ "type": "tuple"
1204
+ }
1205
+ ],
1206
+ "stateMutability": "view",
1207
+ "type": "function"
1208
+ },
1209
+ {
1210
+ "inputs": [
1211
+ {
1212
+ "internalType": "NftId",
1213
+ "name": "policyNftId",
1214
+ "type": "uint96"
1215
+ }
1216
+ ],
1217
+ "name": "getPremiumInfoState",
1218
+ "outputs": [
1219
+ {
1220
+ "internalType": "StateId",
1221
+ "name": "state",
1222
+ "type": "uint8"
1223
+ }
1224
+ ],
1225
+ "stateMutability": "view",
1226
+ "type": "function"
1227
+ },
1228
+ {
1229
+ "inputs": [
1230
+ {
1231
+ "internalType": "NftId",
1232
+ "name": "productNftId",
1233
+ "type": "uint96"
1234
+ }
1235
+ ],
1236
+ "name": "getProductInfo",
1237
+ "outputs": [
1238
+ {
1239
+ "components": [
1240
+ {
1241
+ "internalType": "bool",
1242
+ "name": "isProcessingFundedClaims",
1243
+ "type": "bool"
1244
+ },
1245
+ {
1246
+ "internalType": "bool",
1247
+ "name": "isInterceptingPolicyTransfers",
1248
+ "type": "bool"
1249
+ },
1250
+ {
1251
+ "internalType": "bool",
1252
+ "name": "hasDistribution",
1253
+ "type": "bool"
1254
+ },
1255
+ {
1256
+ "internalType": "uint8",
1257
+ "name": "expectedNumberOfOracles",
1258
+ "type": "uint8"
1259
+ },
1260
+ {
1261
+ "internalType": "uint8",
1262
+ "name": "numberOfOracles",
1263
+ "type": "uint8"
1264
+ },
1265
+ {
1266
+ "internalType": "NftId",
1267
+ "name": "poolNftId",
1268
+ "type": "uint96"
1269
+ },
1270
+ {
1271
+ "internalType": "NftId",
1272
+ "name": "distributionNftId",
1273
+ "type": "uint96"
1274
+ },
1275
+ {
1276
+ "internalType": "NftId[]",
1277
+ "name": "oracleNftId",
1278
+ "type": "uint96[]"
1279
+ }
1280
+ ],
1281
+ "internalType": "struct IComponents.ProductInfo",
1282
+ "name": "info",
1283
+ "type": "tuple"
1284
+ }
1285
+ ],
1286
+ "stateMutability": "view",
1287
+ "type": "function"
1288
+ },
1289
+ {
1290
+ "inputs": [
1291
+ {
1292
+ "internalType": "ReferralId",
1293
+ "name": "referralId",
1294
+ "type": "bytes8"
1295
+ }
1296
+ ],
1297
+ "name": "getReferralInfo",
1298
+ "outputs": [
1299
+ {
1300
+ "components": [
1301
+ {
1302
+ "internalType": "NftId",
1303
+ "name": "distributorNftId",
1304
+ "type": "uint96"
1305
+ },
1306
+ {
1307
+ "internalType": "string",
1308
+ "name": "referralCode",
1309
+ "type": "string"
1310
+ },
1311
+ {
1312
+ "internalType": "UFixed",
1313
+ "name": "discountPercentage",
1314
+ "type": "uint256"
1315
+ },
1316
+ {
1317
+ "internalType": "uint32",
1318
+ "name": "maxReferrals",
1319
+ "type": "uint32"
1320
+ },
1321
+ {
1322
+ "internalType": "uint32",
1323
+ "name": "usedReferrals",
1324
+ "type": "uint32"
1325
+ },
1326
+ {
1327
+ "internalType": "Timestamp",
1328
+ "name": "expiryAt",
1329
+ "type": "uint40"
1330
+ },
1331
+ {
1332
+ "internalType": "bytes",
1333
+ "name": "data",
1334
+ "type": "bytes"
1335
+ }
1336
+ ],
1337
+ "internalType": "struct IDistribution.ReferralInfo",
1338
+ "name": "info",
1339
+ "type": "tuple"
1340
+ }
1341
+ ],
1342
+ "stateMutability": "view",
1343
+ "type": "function"
1344
+ },
1345
+ {
1346
+ "inputs": [
1347
+ {
1348
+ "internalType": "NftId",
1349
+ "name": "policyNftId",
1350
+ "type": "uint96"
1351
+ }
1352
+ ],
1353
+ "name": "getRemainingClaimableAmount",
1354
+ "outputs": [
1355
+ {
1356
+ "internalType": "Amount",
1357
+ "name": "remainingClaimableAmount",
1358
+ "type": "uint96"
1359
+ }
1360
+ ],
1361
+ "stateMutability": "view",
1362
+ "type": "function"
1363
+ },
1364
+ {
1365
+ "inputs": [
1366
+ {
1367
+ "internalType": "RequestId",
1368
+ "name": "requestId",
1369
+ "type": "uint64"
1370
+ }
1371
+ ],
1372
+ "name": "getRequestInfo",
1373
+ "outputs": [
1374
+ {
1375
+ "components": [
1376
+ {
1377
+ "internalType": "NftId",
1378
+ "name": "requesterNftId",
1379
+ "type": "uint96"
1380
+ },
1381
+ {
1382
+ "internalType": "string",
1383
+ "name": "callbackMethodName",
1384
+ "type": "string"
1385
+ },
1386
+ {
1387
+ "internalType": "NftId",
1388
+ "name": "oracleNftId",
1389
+ "type": "uint96"
1390
+ },
1391
+ {
1392
+ "internalType": "bytes",
1393
+ "name": "requestData",
1394
+ "type": "bytes"
1395
+ },
1396
+ {
1397
+ "internalType": "bytes",
1398
+ "name": "responseData",
1399
+ "type": "bytes"
1400
+ },
1401
+ {
1402
+ "internalType": "Timestamp",
1403
+ "name": "respondedAt",
1404
+ "type": "uint40"
1405
+ },
1406
+ {
1407
+ "internalType": "Timestamp",
1408
+ "name": "expiredAt",
1409
+ "type": "uint40"
1410
+ },
1411
+ {
1412
+ "internalType": "bool",
1413
+ "name": "isCancelled",
1414
+ "type": "bool"
1415
+ }
1416
+ ],
1417
+ "internalType": "struct IOracle.RequestInfo",
1418
+ "name": "requestInfo",
1419
+ "type": "tuple"
1420
+ }
1421
+ ],
1422
+ "stateMutability": "view",
1423
+ "type": "function"
1424
+ },
1425
+ {
1426
+ "inputs": [
1427
+ {
1428
+ "internalType": "NftId",
1429
+ "name": "productNftId",
1430
+ "type": "uint96"
1431
+ },
1432
+ {
1433
+ "internalType": "uint256",
1434
+ "name": "idx",
1435
+ "type": "uint256"
1436
+ }
1437
+ ],
1438
+ "name": "getRiskId",
1439
+ "outputs": [
1440
+ {
1441
+ "internalType": "RiskId",
1442
+ "name": "riskId",
1443
+ "type": "bytes8"
1444
+ }
1445
+ ],
1446
+ "stateMutability": "view",
1447
+ "type": "function"
1448
+ },
1449
+ {
1450
+ "inputs": [
1451
+ {
1452
+ "internalType": "RiskId",
1453
+ "name": "riskId",
1454
+ "type": "bytes8"
1455
+ }
1456
+ ],
1457
+ "name": "getRiskInfo",
1458
+ "outputs": [
1459
+ {
1460
+ "components": [
1461
+ {
1462
+ "internalType": "NftId",
1463
+ "name": "productNftId",
1464
+ "type": "uint96"
1465
+ },
1466
+ {
1467
+ "internalType": "Timestamp",
1468
+ "name": "createdAt",
1469
+ "type": "uint40"
1470
+ },
1471
+ {
1472
+ "internalType": "bytes",
1473
+ "name": "data",
1474
+ "type": "bytes"
1475
+ }
1476
+ ],
1477
+ "internalType": "struct IRisk.RiskInfo",
1478
+ "name": "info",
1479
+ "type": "tuple"
1480
+ }
1481
+ ],
1482
+ "stateMutability": "view",
1483
+ "type": "function"
1484
+ },
1485
+ {
1486
+ "inputs": [],
1487
+ "name": "getRiskSet",
1488
+ "outputs": [
1489
+ {
1490
+ "internalType": "contract RiskSet",
1491
+ "name": "riskSet",
1492
+ "type": "address"
1493
+ }
1494
+ ],
1495
+ "stateMutability": "view",
1496
+ "type": "function"
1497
+ },
1498
+ {
1499
+ "inputs": [
1500
+ {
1501
+ "internalType": "RiskId",
1502
+ "name": "riskId",
1503
+ "type": "bytes8"
1504
+ }
1505
+ ],
1506
+ "name": "getRiskState",
1507
+ "outputs": [
1508
+ {
1509
+ "internalType": "StateId",
1510
+ "name": "stateId",
1511
+ "type": "uint8"
1512
+ }
1513
+ ],
1514
+ "stateMutability": "view",
1515
+ "type": "function"
1516
+ },
1517
+ {
1518
+ "inputs": [
1519
+ {
1520
+ "internalType": "Key32",
1521
+ "name": "key",
1522
+ "type": "bytes32"
1523
+ }
1524
+ ],
1525
+ "name": "getState",
1526
+ "outputs": [
1527
+ {
1528
+ "internalType": "StateId",
1529
+ "name": "state",
1530
+ "type": "uint8"
1531
+ }
1532
+ ],
1533
+ "stateMutability": "view",
1534
+ "type": "function"
1535
+ },
1536
+ {
1537
+ "inputs": [
1538
+ {
1539
+ "internalType": "NftId",
1540
+ "name": "componentNftId",
1541
+ "type": "uint96"
1542
+ }
1543
+ ],
1544
+ "name": "getTokenHandler",
1545
+ "outputs": [
1546
+ {
1547
+ "internalType": "address",
1548
+ "name": "tokenHandler",
1549
+ "type": "address"
1550
+ }
1551
+ ],
1552
+ "stateMutability": "view",
1553
+ "type": "function"
1554
+ },
1555
+ {
1556
+ "inputs": [
1557
+ {
1558
+ "internalType": "NftId",
1559
+ "name": "componentNftId",
1560
+ "type": "uint96"
1561
+ }
1562
+ ],
1563
+ "name": "getWallet",
1564
+ "outputs": [
1565
+ {
1566
+ "internalType": "address",
1567
+ "name": "tokenHandler",
1568
+ "type": "address"
1569
+ }
1570
+ ],
1571
+ "stateMutability": "view",
1572
+ "type": "function"
1573
+ },
1574
+ {
1575
+ "inputs": [
1576
+ {
1577
+ "internalType": "address",
1578
+ "name": "account",
1579
+ "type": "address"
1580
+ },
1581
+ {
1582
+ "internalType": "RoleId",
1583
+ "name": "roleId",
1584
+ "type": "uint64"
1585
+ }
1586
+ ],
1587
+ "name": "hasAdminRole",
1588
+ "outputs": [
1589
+ {
1590
+ "internalType": "bool",
1591
+ "name": "isMember",
1592
+ "type": "bool"
1593
+ }
1594
+ ],
1595
+ "stateMutability": "view",
1596
+ "type": "function"
1597
+ },
1598
+ {
1599
+ "inputs": [
1600
+ {
1601
+ "internalType": "address",
1602
+ "name": "account",
1603
+ "type": "address"
1604
+ },
1605
+ {
1606
+ "internalType": "RoleId",
1607
+ "name": "roleId",
1608
+ "type": "uint64"
1609
+ }
1610
+ ],
1611
+ "name": "hasRole",
1612
+ "outputs": [
1613
+ {
1614
+ "internalType": "bool",
1615
+ "name": "isMember",
1616
+ "type": "bool"
1617
+ }
1618
+ ],
1619
+ "stateMutability": "view",
1620
+ "type": "function"
1621
+ },
1622
+ {
1623
+ "inputs": [],
1624
+ "name": "initialize",
1625
+ "outputs": [],
1626
+ "stateMutability": "nonpayable",
1627
+ "type": "function"
1628
+ },
1629
+ {
1630
+ "inputs": [
1631
+ {
1632
+ "internalType": "address",
1633
+ "name": "instanceAddress",
1634
+ "type": "address"
1635
+ }
1636
+ ],
1637
+ "name": "initializeWithInstance",
1638
+ "outputs": [],
1639
+ "stateMutability": "nonpayable",
1640
+ "type": "function"
1641
+ },
1642
+ {
1643
+ "inputs": [
1644
+ {
1645
+ "internalType": "address",
1646
+ "name": "target",
1647
+ "type": "address"
1648
+ }
1649
+ ],
1650
+ "name": "isLocked",
1651
+ "outputs": [
1652
+ {
1653
+ "internalType": "bool",
1654
+ "name": "",
1655
+ "type": "bool"
1656
+ }
1657
+ ],
1658
+ "stateMutability": "view",
1659
+ "type": "function"
1660
+ },
881
1661
  {
882
1662
  "inputs": [
883
1663
  {
884
- "internalType": "address",
885
- "name": "registry",
886
- "type": "address"
1664
+ "internalType": "NftId",
1665
+ "name": "policyNftId",
1666
+ "type": "uint96"
887
1667
  },
1668
+ {
1669
+ "internalType": "ClaimId",
1670
+ "name": "claimId",
1671
+ "type": "uint16"
1672
+ }
1673
+ ],
1674
+ "name": "payouts",
1675
+ "outputs": [
1676
+ {
1677
+ "internalType": "uint24",
1678
+ "name": "payoutCount",
1679
+ "type": "uint24"
1680
+ }
1681
+ ],
1682
+ "stateMutability": "view",
1683
+ "type": "function"
1684
+ },
1685
+ {
1686
+ "inputs": [
1687
+ {
1688
+ "internalType": "RiskId",
1689
+ "name": "riskId",
1690
+ "type": "bytes8"
1691
+ }
1692
+ ],
1693
+ "name": "policiesForRisk",
1694
+ "outputs": [
1695
+ {
1696
+ "internalType": "uint256",
1697
+ "name": "linkedPolicies",
1698
+ "type": "uint256"
1699
+ }
1700
+ ],
1701
+ "stateMutability": "view",
1702
+ "type": "function"
1703
+ },
1704
+ {
1705
+ "inputs": [
888
1706
  {
889
1707
  "internalType": "NftId",
890
- "name": "instanceNftId",
1708
+ "name": "policyNftId",
891
1709
  "type": "uint96"
892
1710
  }
893
1711
  ],
894
- "name": "initialize",
895
- "outputs": [],
896
- "stateMutability": "nonpayable",
1712
+ "name": "policyIsActive",
1713
+ "outputs": [
1714
+ {
1715
+ "internalType": "bool",
1716
+ "name": "isCloseable",
1717
+ "type": "bool"
1718
+ }
1719
+ ],
1720
+ "stateMutability": "view",
1721
+ "type": "function"
1722
+ },
1723
+ {
1724
+ "inputs": [
1725
+ {
1726
+ "internalType": "NftId",
1727
+ "name": "productNftId",
1728
+ "type": "uint96"
1729
+ }
1730
+ ],
1731
+ "name": "risks",
1732
+ "outputs": [
1733
+ {
1734
+ "internalType": "uint256",
1735
+ "name": "riskCount",
1736
+ "type": "uint256"
1737
+ }
1738
+ ],
1739
+ "stateMutability": "view",
1740
+ "type": "function"
1741
+ },
1742
+ {
1743
+ "inputs": [
1744
+ {
1745
+ "internalType": "NftId",
1746
+ "name": "poolNftId",
1747
+ "type": "uint96"
1748
+ }
1749
+ ],
1750
+ "name": "toBundleKey",
1751
+ "outputs": [
1752
+ {
1753
+ "internalType": "Key32",
1754
+ "name": "",
1755
+ "type": "bytes32"
1756
+ }
1757
+ ],
1758
+ "stateMutability": "pure",
1759
+ "type": "function"
1760
+ },
1761
+ {
1762
+ "inputs": [
1763
+ {
1764
+ "internalType": "NftId",
1765
+ "name": "componentNftId",
1766
+ "type": "uint96"
1767
+ }
1768
+ ],
1769
+ "name": "toComponentKey",
1770
+ "outputs": [
1771
+ {
1772
+ "internalType": "Key32",
1773
+ "name": "",
1774
+ "type": "bytes32"
1775
+ }
1776
+ ],
1777
+ "stateMutability": "pure",
897
1778
  "type": "function"
898
1779
  },
899
1780
  {
@@ -934,6 +1815,25 @@
934
1815
  "stateMutability": "pure",
935
1816
  "type": "function"
936
1817
  },
1818
+ {
1819
+ "inputs": [
1820
+ {
1821
+ "internalType": "NftId",
1822
+ "name": "productNftId",
1823
+ "type": "uint96"
1824
+ }
1825
+ ],
1826
+ "name": "toFeeKey",
1827
+ "outputs": [
1828
+ {
1829
+ "internalType": "Key32",
1830
+ "name": "",
1831
+ "type": "bytes32"
1832
+ }
1833
+ ],
1834
+ "stateMutability": "pure",
1835
+ "type": "function"
1836
+ },
937
1837
  {
938
1838
  "inputs": [
939
1839
  {
@@ -995,11 +1895,11 @@
995
1895
  "inputs": [
996
1896
  {
997
1897
  "internalType": "NftId",
998
- "name": "productNftId",
1898
+ "name": "policyNftId",
999
1899
  "type": "uint96"
1000
1900
  }
1001
1901
  ],
1002
- "name": "toProductKey",
1902
+ "name": "toPremiumKey",
1003
1903
  "outputs": [
1004
1904
  {
1005
1905
  "internalType": "Key32",
@@ -1014,21 +1914,16 @@
1014
1914
  "inputs": [
1015
1915
  {
1016
1916
  "internalType": "NftId",
1017
- "name": "distributionNftId",
1917
+ "name": "productNftId",
1018
1918
  "type": "uint96"
1019
- },
1020
- {
1021
- "internalType": "string",
1022
- "name": "referralCode",
1023
- "type": "string"
1024
1919
  }
1025
1920
  ],
1026
- "name": "toReferralId",
1921
+ "name": "toProductKey",
1027
1922
  "outputs": [
1028
1923
  {
1029
- "internalType": "ReferralId",
1030
- "name": "referralId",
1031
- "type": "bytes8"
1924
+ "internalType": "Key32",
1925
+ "name": "",
1926
+ "type": "bytes32"
1032
1927
  }
1033
1928
  ],
1034
1929
  "stateMutability": "pure",
@@ -1038,16 +1933,21 @@
1038
1933
  "inputs": [
1039
1934
  {
1040
1935
  "internalType": "NftId",
1041
- "name": "productNftId",
1936
+ "name": "distributionNftId",
1042
1937
  "type": "uint96"
1938
+ },
1939
+ {
1940
+ "internalType": "string",
1941
+ "name": "referralCode",
1942
+ "type": "string"
1043
1943
  }
1044
1944
  ],
1045
- "name": "toTreasuryKey",
1945
+ "name": "toReferralId",
1046
1946
  "outputs": [
1047
1947
  {
1048
- "internalType": "Key32",
1049
- "name": "",
1050
- "type": "bytes32"
1948
+ "internalType": "ReferralId",
1949
+ "name": "referralId",
1950
+ "type": "bytes8"
1051
1951
  }
1052
1952
  ],
1053
1953
  "stateMutability": "pure",
@@ -1078,204 +1978,360 @@
1078
1978
  "type": "function"
1079
1979
  }
1080
1980
  ],
1081
- "bytecode": "0x60806040523480156200001157600080fd5b5060405162002f3c38038062002f3c83398101604081905262000034916200038e565b62000040828262000048565b5050620005f5565b60005460ff1615620000ab5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b038216620001035760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f00000000006044820152606401620000a2565b6040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156200015c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001829190620003d7565b620001d05760405162461bcd60e51b815260206004820152601960248201527f4552524f523a4352442d3030323a4e46545f49445f5a45524f000000000000006044820152606401620000a2565b60008054610100600160a81b0319166101006001600160a01b03858116820292909217808455600180546001600160601b0319166001600160601b0387169081179091556040516305247a1760e51b815260048101919091529190049091169063a48f42e090602401600060405180830381865afa15801562000257573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200028191908101906200050f565b9050620002a781604001516200029c6200035460201b60201c565b60ff90811691161490565b620002ff5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030333a504152454e545f4e4f545f494e5354414e436044820152604560f81b6064820152608401620000a2565b60800151600180546001600160601b03166c010000000000000000000000006001600160a01b03909316928302178155600280546001600160a01b0319169092179091556000805460ff191690911790555050565b604690565b80516001600160a01b03811681146200037157600080fd5b919050565b80516001600160601b03811681146200037157600080fd5b60008060408385031215620003a257600080fd5b620003ad8362000359565b9150620003bd6020840162000376565b90509250929050565b805180151581146200037157600080fd5b600060208284031215620003ea57600080fd5b620003f582620003c6565b9392505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715620004375762000437620003fc565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620004685762000468620003fc565b604052919050565b805160ff811681146200037157600080fd5b600082601f8301126200049457600080fd5b81516001600160401b03811115620004b057620004b0620003fc565b6020620004c6601f8301601f191682016200043d565b8281528582848701011115620004db57600080fd5b60005b83811015620004fb578581018301518282018401528201620004de565b506000928101909101919091529392505050565b6000602082840312156200052257600080fd5b81516001600160401b03808211156200053a57600080fd5b9083019060e082860312156200054f57600080fd5b6200055962000412565b620005648362000376565b8152620005746020840162000376565b6020820152620005876040840162000470565b60408201526200059a60608401620003c6565b6060820152620005ad6080840162000359565b6080820152620005c060a0840162000359565b60a082015260c083015182811115620005d857600080fd5b620005e68782860162000482565b60c08301525095945050505050565b61293780620006056000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c8063887b1fa9116100de578063bd7d9d8511610097578063dd26287a11610071578063dd26287a1461047c578063de7b5d141461048f578063f2a41374146104a7578063f2b246c3146104bc57600080fd5b8063bd7d9d851461042b578063d06458c61461044b578063d4cda0d81461046b57600080fd5b8063887b1fa9146102b757806390af7064146102d75780639ad69c67146102f7578063a310e2a314610369578063a5961b4c14610394578063b82d7ef51461040157600080fd5b806344aa68361161013057806344aa68361461023057806355e343a91461024357806364eb3a9b146102635780637bfd3217146102765780637e54602a146102895780637e7986691461029c57600080fd5b80631488c845146101785780631d3be4771461019e57806325d03743146101be57806327b1d792146101d157806335898f5d146101f15780633f093cd614610204575b600080fd5b61018b6101863660046117aa565b6104cf565b6040519081526020015b60405180910390f35b6101b16101ac3660046117f9565b610557565b6040516101959190611866565b61018b6101cc366004611916565b6106b0565b6101e46101df366004611916565b61074a565b6040516101959190611933565b61018b6101ff366004611916565b610804565b610217610212366004611add565b610831565b6040516001600160c01b03199091168152602001610195565b61018b61023e366004611b6f565b6108ae565b610256610251366004611916565b6108e9565b6040516101959190611b88565b61018b610271366004611916565b61098f565b61018b610284366004611916565b6109bc565b61018b610297366004611916565b6109e9565b6001546040516001600160601b039091168152602001610195565b6102ca6102c53660046117f9565b610a16565b6040516101959190611c2d565b6102ea6102e5366004611916565b610b3f565b6040516101959190611d58565b61030a610305366004611916565b610be5565b6040805182516001600160601b031681526020808401516001600160a01b0390811682840152848401518051948401949094529201516060808301919091528301511515608080830191909152909201511660a082015260c001610195565b61037c610377366004611916565b610c8b565b6040516001600160a01b039091168152602001610195565b6103a76103a2366004611b6f565b610d39565b6040516101959190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61041461040f3660046117f9565b610dcd565b6040805192835260ff909116602083015201610195565b61043e610439366004611916565b611075565b6040516101959190611d67565b61045e6104593660046117f9565b611193565b6040516101959190611ebf565b6002546001600160a01b031661037c565b61018b61048a366004611916565b611306565b600154600160601b90046001600160a01b031661037c565b6104ba6104b5366004611f84565b611333565b005b6102ea6104ca366004611916565b611625565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af415801561052a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054e9190611fb2565b90505b92915050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af41580156105fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106229190611fb2565b6040518263ffffffff1660e01b815260040161064091815260200190565b600060405180830381865afa15801561065d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106859190810190612010565b8051909150156106aa57808060200190518101906106a39190612086565b9392505050565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610726573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105519190611fb2565b604080516060808201835260008083526020830152918101919091526002546000906001600160a01b03166354f6127f610783856109e9565b6040518263ffffffff1660e01b81526004016107a191815260200190565b600060405180830381865afa1580156107be573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107e69190810190612010565b8051909150156106aa57808060200190518101906106a3919061217f565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660786106d9565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd69061086d9086908690600401612225565b602060405180830381865af415801561088a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054e9190612247565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401610709565b6108f161164a565b6002546000906001600160a01b03166354f6127f61090e85611306565b6040518263ffffffff1660e01b815260040161092c91815260200190565b600060405180830381865afa158015610949573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109719190810190612010565b8051909150156106aa57808060200190518101906106a3919061229f565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d26106d9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e6106d9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a6106d9565b6040805180820190915260008152606060208201526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610a9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610abe9190611fb2565b6040518263ffffffff1660e01b8152600401610adc91815260200190565b600060405180830381865afa158015610af9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b219190810190612010565b8051909150156106aa57808060200190518101906106a39190612341565b610b476116bb565b6002546000906001600160a01b03166354f6127f610b64856109bc565b6040518263ffffffff1660e01b8152600401610b8291815260200190565b600060405180830381865afa158015610b9f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bc79190810190612010565b8051909150156106aa57808060200190518101906106a39190612492565b610bed611762565b6002546000906001600160a01b03166354f6127f610c0a85610804565b6040518263ffffffff1660e01b8152600401610c2891815260200190565b600060405180830381865afa158015610c45573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c6d9190810190612010565b8051909150156106aa57808060200190518101906106a391906124af565b60025460009081906001600160a01b03166354f6127f610caa856106b0565b6040518263ffffffff1660e01b8152600401610cc891815260200190565b600060405180830381865afa158015610ce5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d0d9190810190612010565b8051909150156106aa57600081806020019051810190610d2d9190612492565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610da9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105519190612540565b6000806000610ddb84610557565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610e3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5e91906125ae565b15610edd5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610eac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed09190611fb2565b60645b9250925050915091565b610f618160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610f2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5291906125c9565b64ffffffffff90811691161090565b15610fda5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610faf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd39190611fb2565b606e610ed3565b806060015163ffffffff16816080015163ffffffff16106110695773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561103e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110629190611fb2565b6078610ed3565b6040810151600a610ed3565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002546000906001600160a01b03166354f6127f6111128561098f565b6040518263ffffffff1660e01b815260040161113091815260200190565b600060405180830381865afa15801561114d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111759190810190612010565b8051909150156106aa57808060200190518101906106a391906125f6565b6111f260405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611261573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112859190611fb2565b6040518263ffffffff1660e01b81526004016112a391815260200190565b600060405180830381865afa1580156112c0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112e89190810190612010565b8051909150156106aa57808060200190518101906106a3919061276a565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c6106d9565b60005460ff16156113955760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b0382166113eb5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f0000000000604482015260640161138c565b6040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611443573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061146791906125ae565b6114b35760405162461bcd60e51b815260206004820152601960248201527f4552524f523a4352442d3030323a4e46545f49445f5a45524f00000000000000604482015260640161138c565b60008054610100600160a81b0319166101006001600160a01b03858116820292909217808455600180546bffffffffffffffffffffffff19166001600160601b0387169081179091556040516305247a1760e51b815260048101919091529190049091169063a48f42e090602401600060405180830381865afa15801561153e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115669190810190612861565b90506115838160400151611578604690565b60ff90811691161490565b6115d95760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030333a504152454e545f4e4f545f494e5354414e436044820152604560f81b606482015260840161138c565b60800151600180546001600160601b0316600160601b6001600160a01b03909316928302178155600280546001600160a01b0319169092179091556000805460ff191690911790555050565b61162d6116bb565b6002546000906001600160a01b03166354f6127f610b64856106b0565b60408051610100810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a08201905b815260006020820181905260409091015290565b604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b031681526020016116a7604051806040016040528060008152602001600081525090565b600080604083850312156117bd57600080fd5b8235915060208301358060000b81146117d557600080fd5b809150509250929050565b6001600160c01b0319811681146117f657600080fd5b50565b60006020828403121561180b57600080fd5b81356106a3816117e0565b60005b83811015611831578181015183820152602001611819565b50506000910152565b60008151808452611852816020860160208601611816565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e0604084015261189661010084018261183a565b90506040840151606084015263ffffffff606085015116608084015260808401516118c960a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e08501526118f8828261183a565b95945050505050565b6001600160601b03811681146117f657600080fd5b60006020828403121561192857600080fd5b81356106a381611901565b602081526001600160401b0360c01b825116602082015260208201511515604082015260006040830151606080840152611970608084018261183a565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156119b0576119b0611978565b60405290565b604080519081016001600160401b03811182821017156119b0576119b0611978565b60405161010081016001600160401b03811182821017156119b0576119b0611978565b60405161014081016001600160401b03811182821017156119b0576119b0611978565b60405160a081016001600160401b03811182821017156119b0576119b0611978565b60405161020081016001600160401b03811182821017156119b0576119b0611978565b60405161012081016001600160401b03811182821017156119b0576119b0611978565b604051601f8201601f191681016001600160401b0381118282101715611aae57611aae611978565b604052919050565b60006001600160401b03821115611acf57611acf611978565b50601f01601f191660200190565b60008060408385031215611af057600080fd5b8235611afb81611901565b915060208301356001600160401b03811115611b1657600080fd5b8301601f81018513611b2757600080fd5b8035611b3a611b3582611ab6565b611a86565b818152866020838501011115611b4f57600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611b8157600080fd5b5035919050565b81516001600160601b031681526020808301516001600160a01b03169082015260408083015190820152606080830151610160830191611bd49084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151151561012083015260e08301516001600160a01b0381166101408401525092915050565b602081526001600160601b03825116602082015260006020830151604080840152611970606084018261183a565b80516001600160a01b031682526020810151611c8260208401826001600160a01b03169052565b506040810151611c9d60408401826001600160601b03169052565b506060810151611cb860608401826001600160601b03169052565b506080810151611cd5608084018280518252602090810151910152565b5060a0810151805160c0840152602081015160e08401525060c0810151610100611d0b8185018380518252602090810151910152565b60e0830151805161014086015260208101516101608601529150820151805161018085015260208101516101a0850152905050610120015180516101c0830152602001516101e090910152565b61020081016105518284611c5b565b60208152611d816020820183516001600160601b03169052565b60006020830151611d9d60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e08301516101008181850152808501519150506102006101208181860152611e1561022086018461183a565b9250808601519050610140601f198685030181870152611e35848361183a565b935080870151915050610160611e508187018361ffff169052565b8601519050610180611e678682018361ffff169052565b8601516101a08681019190915286015190506101c0611e8e8187018364ffffffffff169052565b86015190506101e0611ea88682018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b6020815260008251610120806020850152611ede61014085018361183a565b91506020850151604085015260408501516060850152606085015160808501526080850151611f1560a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100611f4b8187018315159052565b860151858403601f1901838701529050611f65838261183a565b9695505050505050565b6001600160a01b03811681146117f657600080fd5b60008060408385031215611f9757600080fd5b8235611fa281611f6f565b915060208301356117d581611901565b600060208284031215611fc457600080fd5b5051919050565b600082601f830112611fdc57600080fd5b8151611fea611b3582611ab6565b818152846020838601011115611fff57600080fd5b611970826020830160208701611816565b60006020828403121561202257600080fd5b81516001600160401b0381111561203857600080fd5b61197084828501611fcb565b805161204f81611901565b919050565b63ffffffff811681146117f657600080fd5b805161204f81612054565b805164ffffffffff8116811461204f57600080fd5b60006020828403121561209857600080fd5b81516001600160401b03808211156120af57600080fd5b9083019060e082860312156120c357600080fd5b6120cb61198e565b6120d483612044565b81526020830151828111156120e857600080fd5b6120f487828601611fcb565b6020830152506040830151604082015261211060608401612066565b606082015261212160808401612066565b608082015261213260a08401612071565b60a082015260c08301518281111561214957600080fd5b61215587828601611fcb565b60c08301525095945050505050565b805161204f816117e0565b8051801515811461204f57600080fd5b60006020828403121561219157600080fd5b81516001600160401b03808211156121a857600080fd5b90830190606082860312156121bc57600080fd5b6040516060810181811083821117156121d7576121d7611978565b60405282516121e5816117e0565b81526121f36020840161216f565b602082015260408301518281111561220a57600080fd5b61221687828601611fcb565b60408301525095945050505050565b6001600160601b0383168152604060208201526000611970604083018461183a565b60006020828403121561225957600080fd5b81516106a3816117e0565b805161204f81611f6f565b60006040828403121561228157600080fd5b6122896119b6565b9050815181526020820151602082015292915050565b600061016082840312156122b257600080fd5b6122ba6119d8565b6122c383612044565b81526122d160208401612264565b6020820152604083015160408201526122ed846060850161226f565b60608201526122ff8460a0850161226f565b60808201526123118460e0850161226f565b60a0820152612323610120840161216f565b60c08201526123356101408401612264565b60e08201529392505050565b60006020828403121561235357600080fd5b81516001600160401b038082111561236a57600080fd5b908301906040828603121561237e57600080fd5b6123866119b6565b825161239181611901565b81526020830151828111156123a557600080fd5b6123b187828601611fcb565b60208301525095945050505050565b600061020082840312156123d357600080fd5b6123db6119fb565b90506123e682612264565b81526123f460208301612264565b602082015261240560408301612044565b604082015261241660608301612044565b6060820152612428836080840161226f565b608082015261243a8360c0840161226f565b60a082015261010061244e8482850161226f565b60c083015261246184610140850161226f565b60e083015261247484610180850161226f565b90820152612486836101c0840161226f565b61012082015292915050565b600061020082840312156124a557600080fd5b61054e83836123c0565b600060c082840312156124c157600080fd5b6124c9611a1e565b82516124d481611901565b815260208301516124e481611f6f565b60208201526124f6846040850161226f565b60408201526125076080840161216f565b606082015260a083015161251a81611f6f565b60808201529392505050565b60ff811681146117f657600080fd5b805161204f81612526565b600060a0828403121561255257600080fd5b61255a611a1e565b825161256581612526565b8152602083015161257581612526565b6020820152604083015161258881611f6f565b6040820152606083015161259b81612054565b6060820152608083015161251a81612054565b6000602082840312156125c057600080fd5b61054e8261216f565b6000602082840312156125db57600080fd5b61054e82612071565b805161ffff8116811461204f57600080fd5b60006020828403121561260857600080fd5b81516001600160401b038082111561261f57600080fd5b90830190610200828603121561263457600080fd5b61263c611a40565b61264583612044565b815261265360208401612044565b602082015261266460408401612164565b604082015261267560608401612164565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e082015261010080840151838111156126b657600080fd5b6126c288828701611fcb565b82840152505061012080840151838111156126dc57600080fd5b6126e888828701611fcb565b82840152505061014091506126fe8284016125e4565b8282015261016091506127128284016125e4565b82820152610180915081830151828201526101a09150612733828401612071565b828201526101c09150612747828401612071565b828201526101e0915061275b828401612071565b91810191909152949350505050565b60006020828403121561277c57600080fd5b81516001600160401b038082111561279357600080fd5b9083019061012082860312156127a857600080fd5b6127b0611a63565b8251828111156127bf57600080fd5b6127cb87828601611fcb565b8252506020830151602082015260408301516040820152606083015160608201526127f860808401612066565b608082015261280960a08401612066565b60a082015261281a60c0840161216f565b60c082015261282b60e0840161216f565b60e0820152610100808401518381111561284457600080fd5b61285088828701611fcb565b918301919091525095945050505050565b60006020828403121561287357600080fd5b81516001600160401b038082111561288a57600080fd5b9083019060e0828603121561289e57600080fd5b6128a661198e565b6128af83612044565b81526128bd60208401612044565b60208201526128ce60408401612535565b60408201526128df6060840161216f565b60608201526128f060808401612264565b608082015261213260a0840161226456fea2646970667358221220ac331863c1ee13cf434ba24d3f0671504b26692a4d5105dd885332b2286df41564736f6c63430008140033",
1082
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101735760003560e01c8063887b1fa9116100de578063bd7d9d8511610097578063dd26287a11610071578063dd26287a1461047c578063de7b5d141461048f578063f2a41374146104a7578063f2b246c3146104bc57600080fd5b8063bd7d9d851461042b578063d06458c61461044b578063d4cda0d81461046b57600080fd5b8063887b1fa9146102b757806390af7064146102d75780639ad69c67146102f7578063a310e2a314610369578063a5961b4c14610394578063b82d7ef51461040157600080fd5b806344aa68361161013057806344aa68361461023057806355e343a91461024357806364eb3a9b146102635780637bfd3217146102765780637e54602a146102895780637e7986691461029c57600080fd5b80631488c845146101785780631d3be4771461019e57806325d03743146101be57806327b1d792146101d157806335898f5d146101f15780633f093cd614610204575b600080fd5b61018b6101863660046117aa565b6104cf565b6040519081526020015b60405180910390f35b6101b16101ac3660046117f9565b610557565b6040516101959190611866565b61018b6101cc366004611916565b6106b0565b6101e46101df366004611916565b61074a565b6040516101959190611933565b61018b6101ff366004611916565b610804565b610217610212366004611add565b610831565b6040516001600160c01b03199091168152602001610195565b61018b61023e366004611b6f565b6108ae565b610256610251366004611916565b6108e9565b6040516101959190611b88565b61018b610271366004611916565b61098f565b61018b610284366004611916565b6109bc565b61018b610297366004611916565b6109e9565b6001546040516001600160601b039091168152602001610195565b6102ca6102c53660046117f9565b610a16565b6040516101959190611c2d565b6102ea6102e5366004611916565b610b3f565b6040516101959190611d58565b61030a610305366004611916565b610be5565b6040805182516001600160601b031681526020808401516001600160a01b0390811682840152848401518051948401949094529201516060808301919091528301511515608080830191909152909201511660a082015260c001610195565b61037c610377366004611916565b610c8b565b6040516001600160a01b039091168152602001610195565b6103a76103a2366004611b6f565b610d39565b6040516101959190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61041461040f3660046117f9565b610dcd565b6040805192835260ff909116602083015201610195565b61043e610439366004611916565b611075565b6040516101959190611d67565b61045e6104593660046117f9565b611193565b6040516101959190611ebf565b6002546001600160a01b031661037c565b61018b61048a366004611916565b611306565b600154600160601b90046001600160a01b031661037c565b6104ba6104b5366004611f84565b611333565b005b6102ea6104ca366004611916565b611625565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af415801561052a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054e9190611fb2565b90505b92915050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af41580156105fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106229190611fb2565b6040518263ffffffff1660e01b815260040161064091815260200190565b600060405180830381865afa15801561065d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106859190810190612010565b8051909150156106aa57808060200190518101906106a39190612086565b9392505050565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610726573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105519190611fb2565b604080516060808201835260008083526020830152918101919091526002546000906001600160a01b03166354f6127f610783856109e9565b6040518263ffffffff1660e01b81526004016107a191815260200190565b600060405180830381865afa1580156107be573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107e69190810190612010565b8051909150156106aa57808060200190518101906106a3919061217f565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660786106d9565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd69061086d9086908690600401612225565b602060405180830381865af415801561088a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054e9190612247565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401610709565b6108f161164a565b6002546000906001600160a01b03166354f6127f61090e85611306565b6040518263ffffffff1660e01b815260040161092c91815260200190565b600060405180830381865afa158015610949573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109719190810190612010565b8051909150156106aa57808060200190518101906106a3919061229f565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d26106d9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e6106d9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a6106d9565b6040805180820190915260008152606060208201526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610a9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610abe9190611fb2565b6040518263ffffffff1660e01b8152600401610adc91815260200190565b600060405180830381865afa158015610af9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b219190810190612010565b8051909150156106aa57808060200190518101906106a39190612341565b610b476116bb565b6002546000906001600160a01b03166354f6127f610b64856109bc565b6040518263ffffffff1660e01b8152600401610b8291815260200190565b600060405180830381865afa158015610b9f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bc79190810190612010565b8051909150156106aa57808060200190518101906106a39190612492565b610bed611762565b6002546000906001600160a01b03166354f6127f610c0a85610804565b6040518263ffffffff1660e01b8152600401610c2891815260200190565b600060405180830381865afa158015610c45573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c6d9190810190612010565b8051909150156106aa57808060200190518101906106a391906124af565b60025460009081906001600160a01b03166354f6127f610caa856106b0565b6040518263ffffffff1660e01b8152600401610cc891815260200190565b600060405180830381865afa158015610ce5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d0d9190810190612010565b8051909150156106aa57600081806020019051810190610d2d9190612492565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610da9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105519190612540565b6000806000610ddb84610557565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610e3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5e91906125ae565b15610edd5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610eac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed09190611fb2565b60645b9250925050915091565b610f618160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610f2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5291906125c9565b64ffffffffff90811691161090565b15610fda5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610faf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd39190611fb2565b606e610ed3565b806060015163ffffffff16816080015163ffffffff16106110695773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561103e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110629190611fb2565b6078610ed3565b6040810151600a610ed3565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002546000906001600160a01b03166354f6127f6111128561098f565b6040518263ffffffff1660e01b815260040161113091815260200190565b600060405180830381865afa15801561114d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111759190810190612010565b8051909150156106aa57808060200190518101906106a391906125f6565b6111f260405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611261573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112859190611fb2565b6040518263ffffffff1660e01b81526004016112a391815260200190565b600060405180830381865afa1580156112c0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112e89190810190612010565b8051909150156106aa57808060200190518101906106a3919061276a565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c6106d9565b60005460ff16156113955760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b0382166113eb5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f0000000000604482015260640161138c565b6040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611443573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061146791906125ae565b6114b35760405162461bcd60e51b815260206004820152601960248201527f4552524f523a4352442d3030323a4e46545f49445f5a45524f00000000000000604482015260640161138c565b60008054610100600160a81b0319166101006001600160a01b03858116820292909217808455600180546bffffffffffffffffffffffff19166001600160601b0387169081179091556040516305247a1760e51b815260048101919091529190049091169063a48f42e090602401600060405180830381865afa15801561153e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115669190810190612861565b90506115838160400151611578604690565b60ff90811691161490565b6115d95760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030333a504152454e545f4e4f545f494e5354414e436044820152604560f81b606482015260840161138c565b60800151600180546001600160601b0316600160601b6001600160a01b03909316928302178155600280546001600160a01b0319169092179091556000805460ff191690911790555050565b61162d6116bb565b6002546000906001600160a01b03166354f6127f610b64856106b0565b60408051610100810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a08201905b815260006020820181905260409091015290565b604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b031681526020016116a7604051806040016040528060008152602001600081525090565b600080604083850312156117bd57600080fd5b8235915060208301358060000b81146117d557600080fd5b809150509250929050565b6001600160c01b0319811681146117f657600080fd5b50565b60006020828403121561180b57600080fd5b81356106a3816117e0565b60005b83811015611831578181015183820152602001611819565b50506000910152565b60008151808452611852816020860160208601611816565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e0604084015261189661010084018261183a565b90506040840151606084015263ffffffff606085015116608084015260808401516118c960a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e08501526118f8828261183a565b95945050505050565b6001600160601b03811681146117f657600080fd5b60006020828403121561192857600080fd5b81356106a381611901565b602081526001600160401b0360c01b825116602082015260208201511515604082015260006040830151606080840152611970608084018261183a565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156119b0576119b0611978565b60405290565b604080519081016001600160401b03811182821017156119b0576119b0611978565b60405161010081016001600160401b03811182821017156119b0576119b0611978565b60405161014081016001600160401b03811182821017156119b0576119b0611978565b60405160a081016001600160401b03811182821017156119b0576119b0611978565b60405161020081016001600160401b03811182821017156119b0576119b0611978565b60405161012081016001600160401b03811182821017156119b0576119b0611978565b604051601f8201601f191681016001600160401b0381118282101715611aae57611aae611978565b604052919050565b60006001600160401b03821115611acf57611acf611978565b50601f01601f191660200190565b60008060408385031215611af057600080fd5b8235611afb81611901565b915060208301356001600160401b03811115611b1657600080fd5b8301601f81018513611b2757600080fd5b8035611b3a611b3582611ab6565b611a86565b818152866020838501011115611b4f57600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611b8157600080fd5b5035919050565b81516001600160601b031681526020808301516001600160a01b03169082015260408083015190820152606080830151610160830191611bd49084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151151561012083015260e08301516001600160a01b0381166101408401525092915050565b602081526001600160601b03825116602082015260006020830151604080840152611970606084018261183a565b80516001600160a01b031682526020810151611c8260208401826001600160a01b03169052565b506040810151611c9d60408401826001600160601b03169052565b506060810151611cb860608401826001600160601b03169052565b506080810151611cd5608084018280518252602090810151910152565b5060a0810151805160c0840152602081015160e08401525060c0810151610100611d0b8185018380518252602090810151910152565b60e0830151805161014086015260208101516101608601529150820151805161018085015260208101516101a0850152905050610120015180516101c0830152602001516101e090910152565b61020081016105518284611c5b565b60208152611d816020820183516001600160601b03169052565b60006020830151611d9d60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e08301516101008181850152808501519150506102006101208181860152611e1561022086018461183a565b9250808601519050610140601f198685030181870152611e35848361183a565b935080870151915050610160611e508187018361ffff169052565b8601519050610180611e678682018361ffff169052565b8601516101a08681019190915286015190506101c0611e8e8187018364ffffffffff169052565b86015190506101e0611ea88682018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b6020815260008251610120806020850152611ede61014085018361183a565b91506020850151604085015260408501516060850152606085015160808501526080850151611f1560a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100611f4b8187018315159052565b860151858403601f1901838701529050611f65838261183a565b9695505050505050565b6001600160a01b03811681146117f657600080fd5b60008060408385031215611f9757600080fd5b8235611fa281611f6f565b915060208301356117d581611901565b600060208284031215611fc457600080fd5b5051919050565b600082601f830112611fdc57600080fd5b8151611fea611b3582611ab6565b818152846020838601011115611fff57600080fd5b611970826020830160208701611816565b60006020828403121561202257600080fd5b81516001600160401b0381111561203857600080fd5b61197084828501611fcb565b805161204f81611901565b919050565b63ffffffff811681146117f657600080fd5b805161204f81612054565b805164ffffffffff8116811461204f57600080fd5b60006020828403121561209857600080fd5b81516001600160401b03808211156120af57600080fd5b9083019060e082860312156120c357600080fd5b6120cb61198e565b6120d483612044565b81526020830151828111156120e857600080fd5b6120f487828601611fcb565b6020830152506040830151604082015261211060608401612066565b606082015261212160808401612066565b608082015261213260a08401612071565b60a082015260c08301518281111561214957600080fd5b61215587828601611fcb565b60c08301525095945050505050565b805161204f816117e0565b8051801515811461204f57600080fd5b60006020828403121561219157600080fd5b81516001600160401b03808211156121a857600080fd5b90830190606082860312156121bc57600080fd5b6040516060810181811083821117156121d7576121d7611978565b60405282516121e5816117e0565b81526121f36020840161216f565b602082015260408301518281111561220a57600080fd5b61221687828601611fcb565b60408301525095945050505050565b6001600160601b0383168152604060208201526000611970604083018461183a565b60006020828403121561225957600080fd5b81516106a3816117e0565b805161204f81611f6f565b60006040828403121561228157600080fd5b6122896119b6565b9050815181526020820151602082015292915050565b600061016082840312156122b257600080fd5b6122ba6119d8565b6122c383612044565b81526122d160208401612264565b6020820152604083015160408201526122ed846060850161226f565b60608201526122ff8460a0850161226f565b60808201526123118460e0850161226f565b60a0820152612323610120840161216f565b60c08201526123356101408401612264565b60e08201529392505050565b60006020828403121561235357600080fd5b81516001600160401b038082111561236a57600080fd5b908301906040828603121561237e57600080fd5b6123866119b6565b825161239181611901565b81526020830151828111156123a557600080fd5b6123b187828601611fcb565b60208301525095945050505050565b600061020082840312156123d357600080fd5b6123db6119fb565b90506123e682612264565b81526123f460208301612264565b602082015261240560408301612044565b604082015261241660608301612044565b6060820152612428836080840161226f565b608082015261243a8360c0840161226f565b60a082015261010061244e8482850161226f565b60c083015261246184610140850161226f565b60e083015261247484610180850161226f565b90820152612486836101c0840161226f565b61012082015292915050565b600061020082840312156124a557600080fd5b61054e83836123c0565b600060c082840312156124c157600080fd5b6124c9611a1e565b82516124d481611901565b815260208301516124e481611f6f565b60208201526124f6846040850161226f565b60408201526125076080840161216f565b606082015260a083015161251a81611f6f565b60808201529392505050565b60ff811681146117f657600080fd5b805161204f81612526565b600060a0828403121561255257600080fd5b61255a611a1e565b825161256581612526565b8152602083015161257581612526565b6020820152604083015161258881611f6f565b6040820152606083015161259b81612054565b6060820152608083015161251a81612054565b6000602082840312156125c057600080fd5b61054e8261216f565b6000602082840312156125db57600080fd5b61054e82612071565b805161ffff8116811461204f57600080fd5b60006020828403121561260857600080fd5b81516001600160401b038082111561261f57600080fd5b90830190610200828603121561263457600080fd5b61263c611a40565b61264583612044565b815261265360208401612044565b602082015261266460408401612164565b604082015261267560608401612164565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e082015261010080840151838111156126b657600080fd5b6126c288828701611fcb565b82840152505061012080840151838111156126dc57600080fd5b6126e888828701611fcb565b82840152505061014091506126fe8284016125e4565b8282015261016091506127128284016125e4565b82820152610180915081830151828201526101a09150612733828401612071565b828201526101c09150612747828401612071565b828201526101e0915061275b828401612071565b91810191909152949350505050565b60006020828403121561277c57600080fd5b81516001600160401b038082111561279357600080fd5b9083019061012082860312156127a857600080fd5b6127b0611a63565b8251828111156127bf57600080fd5b6127cb87828601611fcb565b8252506020830151602082015260408301516040820152606083015160608201526127f860808401612066565b608082015261280960a08401612066565b60a082015261281a60c0840161216f565b60c082015261282b60e0840161216f565b60e0820152610100808401518381111561284457600080fd5b61285088828701611fcb565b918301919091525095945050505050565b60006020828403121561287357600080fd5b81516001600160401b038082111561288a57600080fd5b9083019060e0828603121561289e57600080fd5b6128a661198e565b6128af83612044565b81526128bd60208401612044565b60208201526128ce60408401612535565b60408201526128df6060840161216f565b60608201526128f060808401612264565b608082015261213260a0840161226456fea2646970667358221220ac331863c1ee13cf434ba24d3f0671504b26692a4d5105dd885332b2286df41564736f6c63430008140033",
1981
+ "bytecode": "0x60806040525f805460ff191690553480156017575f80fd5b50615097806100255f395ff3fe608060405234801561000f575f80fd5b50600436106103ca575f3560e01c80636dddada411610200578063bd7d9d851161011f578063e98413ff116100b4578063f7f318d311610084578063f7f318d314610a35578063fad77c3b14610a48578063fcad2c4b14610a5b578063fd80249214610a6e578063febe92af14610a8e575f80fd5b8063e98413ff146109c6578063f0ea17c3146109ef578063f3ed991914610a0f578063f4809edd14610a22575f80fd5b8063db70354c116100ef578063db70354c1461096b578063dd26287a1461097e578063de7b5d1414610991578063e444c3df146109a6575f80fd5b8063bd7d9d8514610907578063cd55e51b14610927578063d06458c61461093a578063d4cda0d81461095a575f80fd5b80638eb9000d11610195578063a5961b4c11610165578063a5961b4c1461084e578063a7ef3d21146108aa578063b82d7ef5146108ca578063ba579bdc146108f4575f80fd5b80638eb9000d146108025780639096a1f31461081557806394b9929b14610828578063a310e2a31461083b575f80fd5b80637d8f1e81116101d05780637d8f1e81146107b45780637e54602a146107c75780638129fc1c146107da578063887b1fa9146107e2575f80fd5b80636dddada41461076a5780636ebed9081461077b57806378ae93501461078e5780637bfd3217146107a1575f80fd5b806335898f5d116102ec5780634d21a63d1161028157806364fc31421161025157806364fc31421461070f5780636553994c146107225780636791f7ab146107355780636a05a4131461074a575f80fd5b80634d21a63d1461065d5780634fb784f51461067057806357f80bbf1461068357806364eb3a9b146106fc575f80fd5b80633f093cd6116102bc5780633f093cd6146105f457806344aa6836146106075780634793b4ab1461061a5780634a4fbeec1461063a575f80fd5b806335898f5d14610595578063380bd950146105a85780633b046f09146105bb5780633f071275146105e1575f80fd5b80631488c845116103625780632c0cd060116103325780632c0cd060146105495780632f458a111461055c57806333fc7dee1461056f57806334bd5be314610582575f80fd5b80631488c845146104e35780631d3be477146104f6578063228e42ec1461051657806327b1d79214610529575f80fd5b80630e0c586d1161039d5780630e0c586d1461045657806310bf267b1461047b578063128817d4146104a257806313ab148d146104c2575f80fd5b80630232ca49146103ce57806309648a9d146103fe57806309c5844f146104235780630b5d931c14610436575b5f80fd5b6103e16103dc3660046132a5565b610aae565b6040516001600160601b0390911681526020015b60405180910390f35b61041161040c3660046132c0565b610b28565b60405160ff90911681526020016103f5565b6104116104313660046132a5565b610b9d565b6104496104443660046132a5565b610c16565b6040516103f5919061331a565b6003546001600160a01b03165b6040516001600160a01b0390911681526020016103f5565b61048e6104893660046133b9565b610cfb565b60405162ffffff90911681526020016103f5565b6104b56104b03660046133f0565b610d11565b6040516103f5919061341a565b6104d56104d03660046132a5565b610d8c565b6040519081526020016103f5565b6104d56104f136600461342f565b610e00565b61050961050436600461346c565b610e7c565b6040516103f591906134b5565b6103e16105243660046132a5565b610fc5565b61053c6105373660046132a5565b610ffe565b6040516103f5919061354f565b6103e16105573660046132a5565b6110bb565b6104d561056a3660046132a5565b6110db565b6104d561057d3660046132a5565b611114565b6104d56105903660046132a5565b61114d565b6104d56105a33660046132a5565b6111c0565b6103e16105b63660046135a8565b6111ec565b6105ce6105c93660046132a5565b611268565b60405161ffff90911681526020016103f5565b6104d56105ef3660046132a5565b61127d565b6104b5610602366004613748565b6112a9565b6104d56106153660046132c0565b6112ff565b61062d6106283660046132a5565b611339565b6040516103f591906137d4565b61064d610648366004613873565b6113da565b60405190151581526020016103f5565b61046361066b3660046132a5565b6114b8565b6104d561067e3660046132a5565b6115c2565b6106966106913660046132a5565b6115ee565b6040516103f591905f60e0820190506001600160601b03835116825260208301511515602083015260408301511515604083015260608301511515606083015260808301511515608083015260a083015160a083015260c083015160c083015292915050565b6104d561070a3660046132a5565b6116bf565b61064d61071d3660046138a2565b6116eb565b6104d561073036600461346c565b6117da565b610748610743366004613873565b61180a565b005b61075d6107583660046132a5565b6119e5565b6040516103f591906138ce565b6002546001600160a01b0316610463565b6103e16107893660046133f0565b611a86565b61041161079c3660046133b9565b611ac6565b6104d56107af3660046132a5565b611bbd565b6104116107c23660046132a5565b611be9565b6104d56107d53660046132a5565b611c05565b610748611c31565b6107f56107f036600461346c565b611c5f565b6040516103f59190613977565b6103e16108103660046132a5565b611d8c565b6104116108233660046132a5565b611dc5565b6104d56108363660046132a5565b611de1565b6104636108493660046132a5565b611e1a565b61086161085c3660046132c0565b611ec2565b6040516103f591905f60808201905060ff835116825260ff602084015116602083015263ffffffff604084015116604083015263ffffffff606084015116606083015292915050565b6108bd6108b83660046133b9565b611f4c565b6040516103f591906139b5565b6108dd6108d836600461346c565b6120a8565b6040805192835260ff9091166020830152016103f5565b61064d6109023660046132a5565b612344565b61091a6109153660046132a5565b612592565b6040516103f59190613a5f565b61064d6109353660046138a2565b6126aa565b61094d61094836600461346c565b61275e565b6040516103f59190613bd7565b6001546001600160a01b0316610463565b6103e16109793660046133f0565b6128c8565b6104d561098c3660046132a5565b612908565b5f5461010090046001600160a01b0316610463565b6109b96109b43660046132a5565b612934565b6040516103f59190613c78565b6109d96109d4366004613e78565b612a5d565b60405164ffffffffff90911681526020016103f5565b610a026109fd3660046132a5565b612aef565b6040516103f59190613ea4565b610411610a1d366004613f13565b612bc3565b6104b5610a303660046133f0565b612c25565b6104d5610a433660046132a5565b612c65565b6105ce610a563660046132c0565b612c91565b610411610a6936600461346c565b612d14565b610a81610a7c366004613f13565b612e63565b6040516103f59190613f3f565b610aa1610a9c366004613faa565b612fa5565b6040516103f59190613fc5565b600154604051630232ca4960e01b81526001600160601b03831660048201525f916001600160a01b031690630232ca49906024015b602060405180830381865afa158015610afe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b2291906140a3565b92915050565b60015460405163296586d360e21b8152600481018390525f916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015610b6f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b9391906140f3565b6020015192915050565b6001545f906001600160a01b03166309648a9d610bb98461114d565b6040518263ffffffff1660e01b8152600401610bd791815260200190565b602060405180830381865afa158015610bf2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b22919061415a565b60408051610100810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e08201526001549091906001600160a01b03166354f6127f610c7185611bbd565b6040518263ffffffff1660e01b8152600401610c8f91815260200190565b5f60405180830381865afa158015610ca9573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610cd091908101906141c4565b805190915015610cf55780806020019051810190610cee919061428c565b9392505050565b50919050565b5f610d068383611f4c565b604001519392505050565b6003546040516304a205f560e21b81526001600160601b0384166004820152602481018390525f916001600160a01b03169063128817d4906044015b602060405180830381865afa158015610d68573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cee9190614379565b6002546040516313ab148d60e01b81526001600160601b03831660048201525f916001600160a01b0316906313ab148d906024015b602060405180830381865afa158015610ddc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b229190614394565b604051631488c84560e01b8152600481018390525f82810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af4158015610e58573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cee9190614394565b6040805160e0810182525f8082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590610f09906001600160c01b031989169060040161341a565b602060405180830381865af4158015610f24573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f489190614394565b6040518263ffffffff1660e01b8152600401610f6691815260200190565b5f60405180830381865afa158015610f80573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610fa791908101906141c4565b805190915015610cf55780806020019051810190610cee91906143b6565b6001546040516308a390bb60e21b81526001600160601b03831660048201525f916001600160a01b03169063228e42ec90602401610ae3565b604080516080810182525f808252602082018190526060928201839052918101919091526001545f906001600160a01b03166354f6127f61103e85611c05565b6040518263ffffffff1660e01b815260040161105c91815260200190565b5f60405180830381865afa158015611076573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261109d91908101906141c4565b805190915015610cf55780806020019051810190610cee9190614498565b5f806110c683612592565b9050610cee81608001518261016001516130f3565b600354604051632f458a1160e01b81526001600160601b03831660048201525f916001600160a01b031690632f458a1190602401610dc1565b6003546040516319fe3ef760e11b81526001600160601b03831660048201525f916001600160a01b0316906333fc7dee90602401610dc1565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660145b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610ddc573d5f803e3d5ffd5b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166010611175565b6003546040516346cad99560e11b81526001600160c01b031984166004820152602481018390525f916001600160a01b031690638d95b32a906044015b602060405180830381865afa158015611244573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cee91906140a3565b5f61127282612592565b610120015192915050565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600e611175565b604051631f849e6b60e11b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd6906112e4908690869060040161453d565b602060405180830381865af4158015610d68573d5f803e3d5ffd5b604051632255341b60e11b8152600481018290525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa6836906024016111a5565b611341613153565b6001545f906001600160a01b03166354f6127f61135d85612c65565b6040518263ffffffff1660e01b815260040161137b91815260200190565b5f60405180830381865afa158015611395573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526113bc91908101906141c4565b805190915015610cf55780806020019051810190610cee91906145aa565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa15801561142b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061144f919061466e565b604051629b7b3560e61b81526001600160a01b03848116600483015291909116906326decd4090602401602060405180830381865afa158015611494573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b229190614689565b6001545f9081906001600160a01b03166354f6127f6114d6856115c2565b6040518263ffffffff1660e01b81526004016114f491815260200190565b5f60405180830381865afa15801561150e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261153591908101906141c4565b805190915015610cf5575f8180602001905181019061155491906146a2565b905080604001516001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa158015611596573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115ba919061466e565b949350505050565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600b611175565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091526001545f906001600160a01b03166354f6127f61164285612908565b6040518263ffffffff1660e01b815260040161166091815260200190565b5f60405180830381865afa15801561167a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526116a191908101906141c4565b805190915015610cf55780806020019051810190610cee919061475c565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166013611175565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa15801561173c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611760919061466e565b60405163327e18a160e11b81526001600160a01b0385811660048301526001600160401b038516602483015291909116906364fc3142906044015b602060405180830381865afa1580156117b6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cee9190614689565b60035460405163380d295960e21b81525f916001600160a01b03169063e034a56490610dc190859060040161341a565b5f5460ff161561182d5760405163ae9eff1b60e01b815260040160405180910390fd5b5f80546001600160a01b038084166101009081026001600160a81b0319909316929092176001179283905560408051631a99b41b60e31b8152905192909304169163d4cda0d89160048083019260209291908290030181865afa158015611896573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118ba919061466e565b600180546001600160a01b0319166001600160a01b039283161790555f5460408051631b776b6960e21b8152905161010090920490921691636dddada49160048083019260209291908290030181865afa15801561191a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061193e919061466e565b600280546001600160a01b0319166001600160a01b039283161790555f5460408051630e0c586d60e01b8152905161010090920490921691630e0c586d9160048083019260209291908290030181865afa15801561199e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119c2919061466e565b600380546001600160a01b0319166001600160a01b039290921691909117905550565b6119ed6131aa565b6001545f906001600160a01b03166354f6127f611a098561127d565b6040518263ffffffff1660e01b8152600401611a2791815260200190565b5f60405180830381865afa158015611a41573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611a6891908101906141c4565b805190915015610cf55780806020019051810190610cee91906147e4565b600254604051630dd7db2160e31b81526001600160601b0384166004820152602481018390525f916001600160a01b031690636ebed90890604401611229565b600154604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b22906044015b602060405180830381865af4158015611b3c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b609190614394565b6040518263ffffffff1660e01b8152600401611b7e91815260200190565b602060405180830381865afa158015611b99573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cee919061415a565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600d611175565b6001545f906001600160a01b03166309648a9d610bb984612c65565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601b611175565b5f5460ff1615611c545760405163ae9eff1b60e01b815260040160405180910390fd5b611c5d3361180a565b565b60408051606080820183525f8083526020830152918101919091526001546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611cd0906001600160c01b031989169060040161341a565b602060405180830381865af4158015611ceb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d0f9190614394565b6040518263ffffffff1660e01b8152600401611d2d91815260200190565b5f60405180830381865afa158015611d47573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611d6e91908101906141c4565b805190915015610cf55780806020019051810190610cee9190614881565b600154604051638eb9000d60e01b81526001600160601b03831660048201525f916001600160a01b031690638eb9000d90602401610ae3565b6001545f906001600160a01b03166309648a9d610bb9846116bf565b6002546040516394b9929b60e01b81526001600160601b03831660048201525f916001600160a01b0316906394b9929b90602401610dc1565b6001545f9081906001600160a01b03166354f6127f611e38856115c2565b6040518263ffffffff1660e01b8152600401611e5691815260200190565b5f60405180830381865afa158015611e70573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611e9791908101906141c4565b805190915015610cf5575f81806020019051810190611eb691906146a2565b60400151949350505050565b604080516080810182525f808252602082018190528183018190526060820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015611f28573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b2291906140f3565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820181905260a082015260c0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af4158015611ff8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061201c9190614394565b6040518263ffffffff1660e01b815260040161203a91815260200190565b5f60405180830381865afa158015612054573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261207b91908101906141c4565b8051909150156120a157808060200190518101906120999190614939565b915050610b22565b5092915050565b5f805f6120b484610e7c565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015612111573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121359190614689565b156121b25773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612181573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121a59190614394565b60645b9250925050915091565b6122348160a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612201573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122259190614a22565b64ffffffffff90811691161090565b156122ab5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612280573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122a49190614394565b606e6121a8565b806060015163ffffffff16816080015163ffffffff16106123385773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561230d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123319190614394565b60786121a8565b6040810151600a6121a8565b5f8061234f83612592565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af41580156123ab573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123cf9190614689565b156123dc57505f92915050565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015612437573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061245b9190614689565b1561246857505f92915050565b6124eb816101a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156124b8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124dc9190614a22565b64ffffffffff90811691161190565b156124f857505f92915050565b61257c816101c0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612548573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061256c9190614a22565b64ffffffffff9081169116111590565b1561258957505f92915050565b50600192915050565b60408051610200810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820181905261010082015261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526001545f906001600160a01b03166354f6127f61262d856116bf565b6040518263ffffffff1660e01b815260040161264b91815260200190565b5f60405180830381865afa158015612665573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261268c91908101906141c4565b805190915015610cf55780806020019051810190610cee9190614a48565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156126fb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061271f919061466e565b60405163cd55e51b60e01b81526001600160a01b0385811660048301526001600160401b0385166024830152919091169063cd55e51b9060440161179b565b6127b6604051806101200160405280606081526020015f81526020015f81526020015f81526020015f63ffffffff1681526020015f63ffffffff1681526020015f151581526020015f15158152602001606081525090565b6001546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee62759061280c906001600160c01b031989169060040161341a565b602060405180830381865af4158015612827573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061284b9190614394565b6040518263ffffffff1660e01b815260040161286991815260200190565b5f60405180830381865afa158015612883573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526128aa91908101906141c4565b805190915015610cf55780806020019051810190610cee9190614bdb565b6002546040516336dc0d5360e21b81526001600160601b0384166004820152602481018390525f916001600160a01b03169063db70354c90604401611229565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166011611175565b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e0810182905261020081018290526102208101919091526001545f906001600160a01b03166354f6127f6129e08561114d565b6040518263ffffffff1660e01b81526004016129fe91815260200190565b5f60405180830381865afa158015612a18573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612a3f91908101906141c4565b805190915015610cf55780806020019051810190610cee9190614cd4565b5f73__$0f9396e6447a4be57af83e53f51d234633$__6359fad7ca84612a84856001614e4a565b6040516001600160e01b031960e085901b16815261ffff909216600483015262ffffff166024820152604401602060405180830381865af4158015612acb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cee9190614a22565b612b2a6040518060800160405280606081526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b6001545f906001600160a01b03166354f6127f612b46856115c2565b6040518263ffffffff1660e01b8152600401612b6491815260200190565b5f60405180830381865afa158015612b7e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612ba591908101906141c4565b805190915015610cf55780806020019051810190610cee91906146a2565b600154604051632867b75960e21b815264ffffffffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401611b21565b60035460405163f4809edd60e01b81526001600160601b0384166004820152602481018390525f916001600160a01b03169063f4809edd90604401610d4d565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601d611175565b5f73__$9e81531fe4994e01e99541f86b55500b4b$__639cc45a36612cb7846001614e65565b6040518263ffffffff1660e01b8152600401612cd591815260200190565b602060405180830381865af4158015612cf0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b229190614e78565b6001546040516355ee627560e01b81525f9182916001600160a01b03909116906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590612d6e906001600160c01b031989169060040161341a565b602060405180830381865af4158015612d89573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612dad9190614394565b6040518263ffffffff1660e01b8152600401612dcb91815260200190565b5f60405180830381865afa158015612de5573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612e0c91908101906141c4565b6001546040516355ee627560e01b81529192506001600160a01b0316906309648a9d9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611b21906001600160c01b031989169060040161341a565b6040805160a0810182525f808252602082018190529181018290526060808201526080810191909152600154604051632867b75960e21b815264ffffffffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401602060405180830381865af4158015612f04573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f289190614394565b6040518263ffffffff1660e01b8152600401612f4691815260200190565b5f60405180830381865afa158015612f60573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612f8791908101906141c4565b8051909150156120a157808060200190518101906120999190614e93565b60408051610100810182525f808252606060208301819052928201819052828201839052608082019290925260a0810182905260c0810182905260e0810191909152600154604051630f37f38f60e41b81526001600160401b03841660048201525f916001600160a01b0316906354f6127f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015613052573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906130769190614394565b6040518263ffffffff1660e01b815260040161309491815260200190565b5f60405180830381865afa1580156130ae573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526130d591908101906141c4565b805190915015610cf55780806020019051810190610cee9190614f4d565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401602060405180830381865af4158015611244573d5f803e3d5ffd5b6040518060c001604052805f6001600160601b0316815260200161318860405180604001604052805f81526020015f81525090565b81526060602082018190525f6040830181905290820181905260809091015290565b6040805161012081019091525f60e08201818152610100830191909152819081526020016131e960405180604001604052805f81526020015f81525090565b815260200161320960405180604001604052805f81526020015f81525090565b815260200161322960405180604001604052805f81526020015f81525090565b815260200161324960405180604001604052805f81526020015f81525090565b815260200161326960405180604001604052805f81526020015f81525090565b815260200161328960405180604001604052805f81526020015f81525090565b905290565b6001600160601b03811681146132a2575f80fd5b50565b5f602082840312156132b5575f80fd5b8135610cee8161328e565b5f602082840312156132d0575f80fd5b5035919050565b5f8151808452602084019350602083015f5b828110156133105781516001600160601b03168652602095860195909101906001016132e9565b5093949350505050565b602081528151151560208201526020820151151560408201525f6040830151613347606084018215159052565b50606083015160ff8116608084015250608083015160ff811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e0830151610100808401526115ba6101208401826132d7565b61ffff811681146132a2575f80fd5b5f80604083850312156133ca575f80fd5b82356133d58161328e565b915060208301356133e5816133aa565b809150509250929050565b5f8060408385031215613401575f80fd5b823561340c8161328e565b946020939093013593505050565b6001600160c01b031991909116815260200190565b5f8060408385031215613440575f80fd5b8235915060208301355f81900b81146133e5575f80fd5b6001600160c01b0319811681146132a2575f80fd5b5f6020828403121561347c575f80fd5b8135610cee81613457565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f602083015160e060408401526134e4610100840182613487565b90506040840151606084015263ffffffff6060850151166080840152608084015161351760a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e08501526135468282613487565b95945050505050565b602081526001600160401b0360c01b82511660208201526020820151151560408201525f60408301516080606084015261358c60a0840182613487565b905063ffffffff60608501511660808401528091505092915050565b5f80604083850312156135b9575f80fd5b823561340c81613457565b634e487b7160e01b5f52604160045260245ffd5b604051608081016001600160401b03811182821017156135fa576135fa6135c4565b60405290565b60405161010081016001600160401b03811182821017156135fa576135fa6135c4565b60405160e081016001600160401b03811182821017156135fa576135fa6135c4565b60405160c081016001600160401b03811182821017156135fa576135fa6135c4565b60405161020081016001600160401b03811182821017156135fa576135fa6135c4565b60405161012081016001600160401b03811182821017156135fa576135fa6135c4565b60405161024081016001600160401b03811182821017156135fa576135fa6135c4565b60405160a081016001600160401b03811182821017156135fa576135fa6135c4565b604051601f8201601f191681016001600160401b038111828210171561371a5761371a6135c4565b604052919050565b5f6001600160401b0382111561373a5761373a6135c4565b50601f01601f191660200190565b5f8060408385031215613759575f80fd5b82356137648161328e565b915060208301356001600160401b0381111561377e575f80fd5b8301601f8101851361378e575f80fd5b80356137a161379c82613722565b6136f2565b8181528660208385010111156137b5575f80fd5b816020840160208301375f602083830101528093505050509250929050565b602081526001600160601b0382511660208201525f6020830151613805604084018280518252602090810151910152565b50604083015160e06080840152613820610100840182613487565b905064ffffffffff60608501511660a084015264ffffffffff60808501511660c084015264ffffffffff60a08501511660e08401528091505092915050565b6001600160a01b03811681146132a2575f80fd5b5f60208284031215613883575f80fd5b8135610cee8161385f565b6001600160401b03811681146132a2575f80fd5b5f80604083850312156138b3575f80fd5b82356138be8161385f565b915060208301356133e58161388e565b815180518252602090810151908201526101c081016020838101518051604085015290810151606084015250604083015180516080840152602081015160a0840152506060830151805160c0840152602081015160e0840152506080830151805161010084015260208101516101208401525060a0830151805161014084015260208101516101608401525060c0830151805161018084015260208101516101a08401526120a1565b602081526001600160601b03825116602082015264ffffffffff60208301511660408201525f60408301516060808401526115ba6080840182613487565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f60408301516139f3606084018262ffffff169052565b50606083015162ffffff8116608084015250608083015160e060a0840152613a1f610100840182613487565b905060a0840151601f198483030160c0850152613a3c8282613487565b91505060c0840151613a5760e085018264ffffffffff169052565b509392505050565b60208152613a796020820183516001600160601b03169052565b5f6020830151613a9460408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c083015164ffffffffff811660e08401525060e0830151610200610100840152613b1a610220840182613487565b9050610100840151601f1984830301610120850152613b398282613487565b915050610120840151613b5361014085018261ffff169052565b5061014084015161ffff8116610160850152506101608401516001600160601b038116610180850152506101808401516001600160601b0381166101a0850152506101a084015164ffffffffff81166101c0850152506101c084015164ffffffffff81166101e0850152506101e084015164ffffffffff8116610200850152613a57565b602081525f82516101206020840152613bf4610140840182613487565b90506020840151604084015260408401516060840152606084015160808401526080840151613c2b60a085018263ffffffff169052565b5060a084015163ffffffff811660c08501525060c084015180151560e08501525060e084015180151561010085015250610100840151838203601f19016101208501526135468282613487565b81516001600160601b0316815261024081016020830151613ca460208401826001600160601b03169052565b506040830151613cbf60408401826001600160601b03169052565b506060830151613cda60608401826001600160601b03169052565b506080830151613cf560808401826001600160601b03169052565b5060a0830151613d1060a08401826001600160601b03169052565b5060c0830151613d2b60c08401826001600160601b03169052565b5060e0830151613d4660e08401826001600160601b03169052565b50610100830151613d636101008401826001600160601b03169052565b50610120830151613d806101208401826001600160601b03169052565b50610140830151613d9d6101408401826001600160601b03169052565b50610160830151613dba6101608401826001600160601b03169052565b50610180830151613dd76101808401826001600160601b03169052565b506101a0830151613df46101a08401826001600160601b03169052565b506101c0830151613e116101c08401826001600160601b03169052565b506101e0830151613e2e6101e08401826001600160601b03169052565b50610200830151613e4b6102008401826001600160601b03169052565b506102208301516120a16102208401826001600160601b03169052565b62ffffff811681146132a2575f80fd5b5f8060408385031215613e89575f80fd5b8235613e94816133aa565b915060208301356133e581613e68565b602081525f825160806020840152613ebf60a0840182613487565b60208501516001600160a01b0390811660408681019190915286015116606080860191909152850151848203601f190160808601529091506135468282613487565b64ffffffffff811681146132a2575f80fd5b5f8060408385031215613f24575f80fd5b8235613f2f8161328e565b915060208301356133e581613f01565b6020815261ffff82511660208201526001600160601b03602083015116604082015260018060a01b0360408301511660608201525f606083015160a06080840152613f8d60c0840182613487565b905064ffffffffff60808501511660a08401528091505092915050565b5f60208284031215613fba575f80fd5b8135610cee8161388e565b60208152613fdf6020820183516001600160601b03169052565b5f60208301516101006040840152613ffb610120840182613487565b9050604084015161401760608501826001600160601b03169052565b506060840151838203601f190160808501526140338282613487565b9150506080840151601f198483030160a08501526140518282613487565b91505060a084015161406c60c085018264ffffffffff169052565b5060c084015164ffffffffff811660e08501525060e0840151801515610100850152613a57565b805161409e8161328e565b919050565b5f602082840312156140b3575f80fd5b8151610cee8161328e565b60ff811681146132a2575f80fd5b805161409e816140be565b63ffffffff811681146132a2575f80fd5b805161409e816140d7565b5f6080828403128015614104575f80fd5b5061410d6135d8565b8251614118816140be565b81526020830151614128816140be565b6020820152604083015161413b816140d7565b6040820152606083015161414e816140d7565b60608201529392505050565b5f6020828403121561416a575f80fd5b8151610cee816140be565b5f82601f830112614184575f80fd5b8151602083015f61419761379c84613722565b90508281528583830111156141aa575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f602082840312156141d4575f80fd5b81516001600160401b038111156141e9575f80fd5b6115ba84828501614175565b8051801515811461409e575f80fd5b5f82601f830112614213575f80fd5b81516001600160401b0381111561422c5761422c6135c4565b8060051b61423c602082016136f2565b91825260208185018101929081019086841115614257575f80fd5b6020860192505b838310156142825782516142718161328e565b82526020928301929091019061425e565b9695505050505050565b5f6020828403121561429c575f80fd5b81516001600160401b038111156142b1575f80fd5b820161010081850312156142c3575f80fd5b6142cb613600565b6142d4826141f5565b81526142e2602083016141f5565b60208201526142f3604083016141f5565b6040820152614304606083016140cc565b6060820152614315608083016140cc565b608082015261432660a08301614093565b60a082015261433760c08301614093565b60c082015260e08201516001600160401b03811115614354575f80fd5b61436086828501614204565b60e083015250949350505050565b805161409e81613457565b5f60208284031215614389575f80fd5b8151610cee81613457565b5f602082840312156143a4575f80fd5b5051919050565b805161409e81613f01565b5f602082840312156143c6575f80fd5b81516001600160401b038111156143db575f80fd5b820160e081850312156143ec575f80fd5b6143f4613623565b6143fd82614093565b815260208201516001600160401b03811115614417575f80fd5b61442386828501614175565b6020830152506040828101519082015261443f606083016140e8565b6060820152614450608083016140e8565b608082015261446160a083016143ab565b60a082015260c08201516001600160401b0381111561447e575f80fd5b61448a86828501614175565b60c083015250949350505050565b5f602082840312156144a8575f80fd5b81516001600160401b038111156144bd575f80fd5b8201608081850312156144ce575f80fd5b6144d66135d8565b81516144e181613457565b81526144ef602083016141f5565b602082015260408201516001600160401b0381111561450c575f80fd5b61451886828501614175565b6040830152506060820151915061452e826140d7565b60608101919091529392505050565b6001600160601b0383168152604060208201525f6115ba6040830184613487565b5f6040828403121561456e575f80fd5b604080519081016001600160401b0381118282101715614590576145906135c4565b604052825181526020928301519281019290925250919050565b5f602082840312156145ba575f80fd5b81516001600160401b038111156145cf575f80fd5b820160e081850312156145e0575f80fd5b6145e8613645565b81516145f38161328e565b8152614602856020840161455e565b602082015260608201516001600160401b0381111561461f575f80fd5b61462b86828501614175565b604083015250608082015161463f81613f01565b606082015261465060a083016143ab565b608082015261466160c083016143ab565b60a0820152949350505050565b5f6020828403121561467e575f80fd5b8151610cee8161385f565b5f60208284031215614699575f80fd5b610cee826141f5565b5f602082840312156146b2575f80fd5b81516001600160401b038111156146c7575f80fd5b8201608081850312156146d8575f80fd5b6146e06135d8565b81516001600160401b038111156146f5575f80fd5b61470186828501614175565b82525060208201516147128161385f565b602082015260408201516147258161385f565b604082015260608201516001600160401b03811115614742575f80fd5b61474e86828501614175565b606083015250949350505050565b5f60e082840312801561476d575f80fd5b50614776613623565b82516147818161328e565b815261478f602084016141f5565b60208201526147a0604084016141f5565b60408201526147b1606084016141f5565b60608201526147c2608084016141f5565b608082015260a0838101519082015260c0928301519281019290925250919050565b5f6101c08284031280156147f6575f80fd5b506147ff613623565b614809848461455e565b8152614818846040850161455e565b602082015261482a846080850161455e565b604082015261483c8460c0850161455e565b606082015261484f84610100850161455e565b608082015261486284610140850161455e565b60a082015261487584610180850161455e565b60c08201529392505050565b5f60208284031215614891575f80fd5b81516001600160401b038111156148a6575f80fd5b8201606081850312156148b7575f80fd5b604051606081016001600160401b03811182821017156148d9576148d96135c4565b60405281516148e78161328e565b815260208201516148f781613f01565b602082015260408201516001600160401b03811115614914575f80fd5b61492086828501614175565b604083015250949350505050565b805161409e81613e68565b5f60208284031215614949575f80fd5b81516001600160401b0381111561495e575f80fd5b820160e0818503121561496f575f80fd5b614977613623565b61498082614093565b815261498e60208301614093565b602082015261499f6040830161492e565b60408201526149b06060830161492e565b606082015260808201516001600160401b038111156149cd575f80fd5b6149d986828501614175565b60808301525060a08201516001600160401b038111156149f7575f80fd5b614a0386828501614175565b60a083015250614a1560c083016143ab565b60c0820152949350505050565b5f60208284031215614a32575f80fd5b8151610cee81613f01565b805161409e816133aa565b5f60208284031215614a58575f80fd5b81516001600160401b03811115614a6d575f80fd5b82016102008185031215614a7f575f80fd5b614a87613667565b614a9082614093565b8152614a9e60208301614093565b6020820152614aaf6040830161436e565b6040820152614ac06060830161436e565b6060820152614ad160808301614093565b6080820152614ae260a08301614093565b60a0820152614af360c083016143ab565b60c082015260e08201516001600160401b03811115614b10575f80fd5b614b1c86828501614175565b60e0830152506101008201516001600160401b03811115614b3b575f80fd5b614b4786828501614175565b61010083015250614b5b6101208301614a3d565b610120820152614b6e6101408301614a3d565b610140820152614b816101608301614093565b610160820152614b946101808301614093565b610180820152614ba76101a083016143ab565b6101a0820152614bba6101c083016143ab565b6101c0820152614bcd6101e083016143ab565b6101e0820152949350505050565b5f60208284031215614beb575f80fd5b81516001600160401b03811115614c00575f80fd5b82016101208185031215614c12575f80fd5b614c1a61368a565b81516001600160401b03811115614c2f575f80fd5b614c3b86828501614175565b825250602082810151908201526040808301519082015260608083015190820152614c68608083016140e8565b6080820152614c7960a083016140e8565b60a0820152614c8a60c083016141f5565b60c0820152614c9b60e083016141f5565b60e08201526101008201516001600160401b03811115614cb9575f80fd5b614cc586828501614175565b61010083015250949350505050565b5f610240828403128015614ce6575f80fd5b50614cef6136ad565b614cf883614093565b8152614d0660208401614093565b6020820152614d1760408401614093565b6040820152614d2860608401614093565b6060820152614d3960808401614093565b6080820152614d4a60a08401614093565b60a0820152614d5b60c08401614093565b60c0820152614d6c60e08401614093565b60e0820152614d7e6101008401614093565b610100820152614d916101208401614093565b610120820152614da46101408401614093565b610140820152614db76101608401614093565b610160820152614dca6101808401614093565b610180820152614ddd6101a08401614093565b6101a0820152614df06101c08401614093565b6101c0820152614e036101e08401614093565b6101e0820152614e166102008401614093565b610200820152614e296102208401614093565b6102208201529392505050565b634e487b7160e01b5f52601160045260245ffd5b62ffffff8181168382160190811115610b2257610b22614e36565b80820180821115610b2257610b22614e36565b5f60208284031215614e88575f80fd5b8151610cee816133aa565b5f60208284031215614ea3575f80fd5b81516001600160401b03811115614eb8575f80fd5b820160a08185031215614ec9575f80fd5b614ed16136d0565b8151614edc816133aa565b81526020820151614eec8161328e565b60208201526040820151614eff8161385f565b604082015260608201516001600160401b03811115614f1c575f80fd5b614f2886828501614175565b60608301525060808201519150614f3e82613f01565b60808101919091529392505050565b5f60208284031215614f5d575f80fd5b81516001600160401b03811115614f72575f80fd5b82016101008185031215614f84575f80fd5b614f8c613600565b614f9582614093565b815260208201516001600160401b03811115614faf575f80fd5b614fbb86828501614175565b602083015250614fcd60408301614093565b604082015260608201516001600160401b03811115614fea575f80fd5b614ff686828501614175565b60608301525060808201516001600160401b03811115615014575f80fd5b61502086828501614175565b60808301525061503260a083016143ab565b60a082015261504360c083016143ab565b60c082015261505460e083016141f5565b60e082015294935050505056fea26469706673582212208f73d59293586e0ee34b6222ad507e34c39cfb55677a4c45b5a4418898e98c9864736f6c634300081a0033",
1982
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106103ca575f3560e01c80636dddada411610200578063bd7d9d851161011f578063e98413ff116100b4578063f7f318d311610084578063f7f318d314610a35578063fad77c3b14610a48578063fcad2c4b14610a5b578063fd80249214610a6e578063febe92af14610a8e575f80fd5b8063e98413ff146109c6578063f0ea17c3146109ef578063f3ed991914610a0f578063f4809edd14610a22575f80fd5b8063db70354c116100ef578063db70354c1461096b578063dd26287a1461097e578063de7b5d1414610991578063e444c3df146109a6575f80fd5b8063bd7d9d8514610907578063cd55e51b14610927578063d06458c61461093a578063d4cda0d81461095a575f80fd5b80638eb9000d11610195578063a5961b4c11610165578063a5961b4c1461084e578063a7ef3d21146108aa578063b82d7ef5146108ca578063ba579bdc146108f4575f80fd5b80638eb9000d146108025780639096a1f31461081557806394b9929b14610828578063a310e2a31461083b575f80fd5b80637d8f1e81116101d05780637d8f1e81146107b45780637e54602a146107c75780638129fc1c146107da578063887b1fa9146107e2575f80fd5b80636dddada41461076a5780636ebed9081461077b57806378ae93501461078e5780637bfd3217146107a1575f80fd5b806335898f5d116102ec5780634d21a63d1161028157806364fc31421161025157806364fc31421461070f5780636553994c146107225780636791f7ab146107355780636a05a4131461074a575f80fd5b80634d21a63d1461065d5780634fb784f51461067057806357f80bbf1461068357806364eb3a9b146106fc575f80fd5b80633f093cd6116102bc5780633f093cd6146105f457806344aa6836146106075780634793b4ab1461061a5780634a4fbeec1461063a575f80fd5b806335898f5d14610595578063380bd950146105a85780633b046f09146105bb5780633f071275146105e1575f80fd5b80631488c845116103625780632c0cd060116103325780632c0cd060146105495780632f458a111461055c57806333fc7dee1461056f57806334bd5be314610582575f80fd5b80631488c845146104e35780631d3be477146104f6578063228e42ec1461051657806327b1d79214610529575f80fd5b80630e0c586d1161039d5780630e0c586d1461045657806310bf267b1461047b578063128817d4146104a257806313ab148d146104c2575f80fd5b80630232ca49146103ce57806309648a9d146103fe57806309c5844f146104235780630b5d931c14610436575b5f80fd5b6103e16103dc3660046132a5565b610aae565b6040516001600160601b0390911681526020015b60405180910390f35b61041161040c3660046132c0565b610b28565b60405160ff90911681526020016103f5565b6104116104313660046132a5565b610b9d565b6104496104443660046132a5565b610c16565b6040516103f5919061331a565b6003546001600160a01b03165b6040516001600160a01b0390911681526020016103f5565b61048e6104893660046133b9565b610cfb565b60405162ffffff90911681526020016103f5565b6104b56104b03660046133f0565b610d11565b6040516103f5919061341a565b6104d56104d03660046132a5565b610d8c565b6040519081526020016103f5565b6104d56104f136600461342f565b610e00565b61050961050436600461346c565b610e7c565b6040516103f591906134b5565b6103e16105243660046132a5565b610fc5565b61053c6105373660046132a5565b610ffe565b6040516103f5919061354f565b6103e16105573660046132a5565b6110bb565b6104d561056a3660046132a5565b6110db565b6104d561057d3660046132a5565b611114565b6104d56105903660046132a5565b61114d565b6104d56105a33660046132a5565b6111c0565b6103e16105b63660046135a8565b6111ec565b6105ce6105c93660046132a5565b611268565b60405161ffff90911681526020016103f5565b6104d56105ef3660046132a5565b61127d565b6104b5610602366004613748565b6112a9565b6104d56106153660046132c0565b6112ff565b61062d6106283660046132a5565b611339565b6040516103f591906137d4565b61064d610648366004613873565b6113da565b60405190151581526020016103f5565b61046361066b3660046132a5565b6114b8565b6104d561067e3660046132a5565b6115c2565b6106966106913660046132a5565b6115ee565b6040516103f591905f60e0820190506001600160601b03835116825260208301511515602083015260408301511515604083015260608301511515606083015260808301511515608083015260a083015160a083015260c083015160c083015292915050565b6104d561070a3660046132a5565b6116bf565b61064d61071d3660046138a2565b6116eb565b6104d561073036600461346c565b6117da565b610748610743366004613873565b61180a565b005b61075d6107583660046132a5565b6119e5565b6040516103f591906138ce565b6002546001600160a01b0316610463565b6103e16107893660046133f0565b611a86565b61041161079c3660046133b9565b611ac6565b6104d56107af3660046132a5565b611bbd565b6104116107c23660046132a5565b611be9565b6104d56107d53660046132a5565b611c05565b610748611c31565b6107f56107f036600461346c565b611c5f565b6040516103f59190613977565b6103e16108103660046132a5565b611d8c565b6104116108233660046132a5565b611dc5565b6104d56108363660046132a5565b611de1565b6104636108493660046132a5565b611e1a565b61086161085c3660046132c0565b611ec2565b6040516103f591905f60808201905060ff835116825260ff602084015116602083015263ffffffff604084015116604083015263ffffffff606084015116606083015292915050565b6108bd6108b83660046133b9565b611f4c565b6040516103f591906139b5565b6108dd6108d836600461346c565b6120a8565b6040805192835260ff9091166020830152016103f5565b61064d6109023660046132a5565b612344565b61091a6109153660046132a5565b612592565b6040516103f59190613a5f565b61064d6109353660046138a2565b6126aa565b61094d61094836600461346c565b61275e565b6040516103f59190613bd7565b6001546001600160a01b0316610463565b6103e16109793660046133f0565b6128c8565b6104d561098c3660046132a5565b612908565b5f5461010090046001600160a01b0316610463565b6109b96109b43660046132a5565b612934565b6040516103f59190613c78565b6109d96109d4366004613e78565b612a5d565b60405164ffffffffff90911681526020016103f5565b610a026109fd3660046132a5565b612aef565b6040516103f59190613ea4565b610411610a1d366004613f13565b612bc3565b6104b5610a303660046133f0565b612c25565b6104d5610a433660046132a5565b612c65565b6105ce610a563660046132c0565b612c91565b610411610a6936600461346c565b612d14565b610a81610a7c366004613f13565b612e63565b6040516103f59190613f3f565b610aa1610a9c366004613faa565b612fa5565b6040516103f59190613fc5565b600154604051630232ca4960e01b81526001600160601b03831660048201525f916001600160a01b031690630232ca49906024015b602060405180830381865afa158015610afe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b2291906140a3565b92915050565b60015460405163296586d360e21b8152600481018390525f916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015610b6f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b9391906140f3565b6020015192915050565b6001545f906001600160a01b03166309648a9d610bb98461114d565b6040518263ffffffff1660e01b8152600401610bd791815260200190565b602060405180830381865afa158015610bf2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b22919061415a565b60408051610100810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e08201526001549091906001600160a01b03166354f6127f610c7185611bbd565b6040518263ffffffff1660e01b8152600401610c8f91815260200190565b5f60405180830381865afa158015610ca9573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610cd091908101906141c4565b805190915015610cf55780806020019051810190610cee919061428c565b9392505050565b50919050565b5f610d068383611f4c565b604001519392505050565b6003546040516304a205f560e21b81526001600160601b0384166004820152602481018390525f916001600160a01b03169063128817d4906044015b602060405180830381865afa158015610d68573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cee9190614379565b6002546040516313ab148d60e01b81526001600160601b03831660048201525f916001600160a01b0316906313ab148d906024015b602060405180830381865afa158015610ddc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b229190614394565b604051631488c84560e01b8152600481018390525f82810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af4158015610e58573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cee9190614394565b6040805160e0810182525f8082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590610f09906001600160c01b031989169060040161341a565b602060405180830381865af4158015610f24573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f489190614394565b6040518263ffffffff1660e01b8152600401610f6691815260200190565b5f60405180830381865afa158015610f80573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610fa791908101906141c4565b805190915015610cf55780806020019051810190610cee91906143b6565b6001546040516308a390bb60e21b81526001600160601b03831660048201525f916001600160a01b03169063228e42ec90602401610ae3565b604080516080810182525f808252602082018190526060928201839052918101919091526001545f906001600160a01b03166354f6127f61103e85611c05565b6040518263ffffffff1660e01b815260040161105c91815260200190565b5f60405180830381865afa158015611076573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261109d91908101906141c4565b805190915015610cf55780806020019051810190610cee9190614498565b5f806110c683612592565b9050610cee81608001518261016001516130f3565b600354604051632f458a1160e01b81526001600160601b03831660048201525f916001600160a01b031690632f458a1190602401610dc1565b6003546040516319fe3ef760e11b81526001600160601b03831660048201525f916001600160a01b0316906333fc7dee90602401610dc1565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660145b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610ddc573d5f803e3d5ffd5b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166010611175565b6003546040516346cad99560e11b81526001600160c01b031984166004820152602481018390525f916001600160a01b031690638d95b32a906044015b602060405180830381865afa158015611244573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cee91906140a3565b5f61127282612592565b610120015192915050565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600e611175565b604051631f849e6b60e11b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd6906112e4908690869060040161453d565b602060405180830381865af4158015610d68573d5f803e3d5ffd5b604051632255341b60e11b8152600481018290525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa6836906024016111a5565b611341613153565b6001545f906001600160a01b03166354f6127f61135d85612c65565b6040518263ffffffff1660e01b815260040161137b91815260200190565b5f60405180830381865afa158015611395573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526113bc91908101906141c4565b805190915015610cf55780806020019051810190610cee91906145aa565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa15801561142b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061144f919061466e565b604051629b7b3560e61b81526001600160a01b03848116600483015291909116906326decd4090602401602060405180830381865afa158015611494573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b229190614689565b6001545f9081906001600160a01b03166354f6127f6114d6856115c2565b6040518263ffffffff1660e01b81526004016114f491815260200190565b5f60405180830381865afa15801561150e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261153591908101906141c4565b805190915015610cf5575f8180602001905181019061155491906146a2565b905080604001516001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa158015611596573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115ba919061466e565b949350505050565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600b611175565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091526001545f906001600160a01b03166354f6127f61164285612908565b6040518263ffffffff1660e01b815260040161166091815260200190565b5f60405180830381865afa15801561167a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526116a191908101906141c4565b805190915015610cf55780806020019051810190610cee919061475c565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166013611175565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa15801561173c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611760919061466e565b60405163327e18a160e11b81526001600160a01b0385811660048301526001600160401b038516602483015291909116906364fc3142906044015b602060405180830381865afa1580156117b6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cee9190614689565b60035460405163380d295960e21b81525f916001600160a01b03169063e034a56490610dc190859060040161341a565b5f5460ff161561182d5760405163ae9eff1b60e01b815260040160405180910390fd5b5f80546001600160a01b038084166101009081026001600160a81b0319909316929092176001179283905560408051631a99b41b60e31b8152905192909304169163d4cda0d89160048083019260209291908290030181865afa158015611896573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118ba919061466e565b600180546001600160a01b0319166001600160a01b039283161790555f5460408051631b776b6960e21b8152905161010090920490921691636dddada49160048083019260209291908290030181865afa15801561191a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061193e919061466e565b600280546001600160a01b0319166001600160a01b039283161790555f5460408051630e0c586d60e01b8152905161010090920490921691630e0c586d9160048083019260209291908290030181865afa15801561199e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119c2919061466e565b600380546001600160a01b0319166001600160a01b039290921691909117905550565b6119ed6131aa565b6001545f906001600160a01b03166354f6127f611a098561127d565b6040518263ffffffff1660e01b8152600401611a2791815260200190565b5f60405180830381865afa158015611a41573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611a6891908101906141c4565b805190915015610cf55780806020019051810190610cee91906147e4565b600254604051630dd7db2160e31b81526001600160601b0384166004820152602481018390525f916001600160a01b031690636ebed90890604401611229565b600154604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b22906044015b602060405180830381865af4158015611b3c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b609190614394565b6040518263ffffffff1660e01b8152600401611b7e91815260200190565b602060405180830381865afa158015611b99573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cee919061415a565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600d611175565b6001545f906001600160a01b03166309648a9d610bb984612c65565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601b611175565b5f5460ff1615611c545760405163ae9eff1b60e01b815260040160405180910390fd5b611c5d3361180a565b565b60408051606080820183525f8083526020830152918101919091526001546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611cd0906001600160c01b031989169060040161341a565b602060405180830381865af4158015611ceb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d0f9190614394565b6040518263ffffffff1660e01b8152600401611d2d91815260200190565b5f60405180830381865afa158015611d47573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611d6e91908101906141c4565b805190915015610cf55780806020019051810190610cee9190614881565b600154604051638eb9000d60e01b81526001600160601b03831660048201525f916001600160a01b031690638eb9000d90602401610ae3565b6001545f906001600160a01b03166309648a9d610bb9846116bf565b6002546040516394b9929b60e01b81526001600160601b03831660048201525f916001600160a01b0316906394b9929b90602401610dc1565b6001545f9081906001600160a01b03166354f6127f611e38856115c2565b6040518263ffffffff1660e01b8152600401611e5691815260200190565b5f60405180830381865afa158015611e70573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611e9791908101906141c4565b805190915015610cf5575f81806020019051810190611eb691906146a2565b60400151949350505050565b604080516080810182525f808252602082018190528183018190526060820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015611f28573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b2291906140f3565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820181905260a082015260c0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af4158015611ff8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061201c9190614394565b6040518263ffffffff1660e01b815260040161203a91815260200190565b5f60405180830381865afa158015612054573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261207b91908101906141c4565b8051909150156120a157808060200190518101906120999190614939565b915050610b22565b5092915050565b5f805f6120b484610e7c565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015612111573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121359190614689565b156121b25773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612181573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121a59190614394565b60645b9250925050915091565b6122348160a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612201573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122259190614a22565b64ffffffffff90811691161090565b156122ab5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612280573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122a49190614394565b606e6121a8565b806060015163ffffffff16816080015163ffffffff16106123385773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561230d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123319190614394565b60786121a8565b6040810151600a6121a8565b5f8061234f83612592565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af41580156123ab573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123cf9190614689565b156123dc57505f92915050565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015612437573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061245b9190614689565b1561246857505f92915050565b6124eb816101a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156124b8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124dc9190614a22565b64ffffffffff90811691161190565b156124f857505f92915050565b61257c816101c0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612548573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061256c9190614a22565b64ffffffffff9081169116111590565b1561258957505f92915050565b50600192915050565b60408051610200810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820181905261010082015261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526001545f906001600160a01b03166354f6127f61262d856116bf565b6040518263ffffffff1660e01b815260040161264b91815260200190565b5f60405180830381865afa158015612665573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261268c91908101906141c4565b805190915015610cf55780806020019051810190610cee9190614a48565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156126fb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061271f919061466e565b60405163cd55e51b60e01b81526001600160a01b0385811660048301526001600160401b0385166024830152919091169063cd55e51b9060440161179b565b6127b6604051806101200160405280606081526020015f81526020015f81526020015f81526020015f63ffffffff1681526020015f63ffffffff1681526020015f151581526020015f15158152602001606081525090565b6001546040516355ee627560e01b81525f916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee62759061280c906001600160c01b031989169060040161341a565b602060405180830381865af4158015612827573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061284b9190614394565b6040518263ffffffff1660e01b815260040161286991815260200190565b5f60405180830381865afa158015612883573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526128aa91908101906141c4565b805190915015610cf55780806020019051810190610cee9190614bdb565b6002546040516336dc0d5360e21b81526001600160601b0384166004820152602481018390525f916001600160a01b03169063db70354c90604401611229565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166011611175565b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e0810182905261020081018290526102208101919091526001545f906001600160a01b03166354f6127f6129e08561114d565b6040518263ffffffff1660e01b81526004016129fe91815260200190565b5f60405180830381865afa158015612a18573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612a3f91908101906141c4565b805190915015610cf55780806020019051810190610cee9190614cd4565b5f73__$0f9396e6447a4be57af83e53f51d234633$__6359fad7ca84612a84856001614e4a565b6040516001600160e01b031960e085901b16815261ffff909216600483015262ffffff166024820152604401602060405180830381865af4158015612acb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cee9190614a22565b612b2a6040518060800160405280606081526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b6001545f906001600160a01b03166354f6127f612b46856115c2565b6040518263ffffffff1660e01b8152600401612b6491815260200190565b5f60405180830381865afa158015612b7e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612ba591908101906141c4565b805190915015610cf55780806020019051810190610cee91906146a2565b600154604051632867b75960e21b815264ffffffffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401611b21565b60035460405163f4809edd60e01b81526001600160601b0384166004820152602481018390525f916001600160a01b03169063f4809edd90604401610d4d565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601d611175565b5f73__$9e81531fe4994e01e99541f86b55500b4b$__639cc45a36612cb7846001614e65565b6040518263ffffffff1660e01b8152600401612cd591815260200190565b602060405180830381865af4158015612cf0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b229190614e78565b6001546040516355ee627560e01b81525f9182916001600160a01b03909116906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590612d6e906001600160c01b031989169060040161341a565b602060405180830381865af4158015612d89573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612dad9190614394565b6040518263ffffffff1660e01b8152600401612dcb91815260200190565b5f60405180830381865afa158015612de5573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612e0c91908101906141c4565b6001546040516355ee627560e01b81529192506001600160a01b0316906309648a9d9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611b21906001600160c01b031989169060040161341a565b6040805160a0810182525f808252602082018190529181018290526060808201526080810191909152600154604051632867b75960e21b815264ffffffffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401602060405180830381865af4158015612f04573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f289190614394565b6040518263ffffffff1660e01b8152600401612f4691815260200190565b5f60405180830381865afa158015612f60573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612f8791908101906141c4565b8051909150156120a157808060200190518101906120999190614e93565b60408051610100810182525f808252606060208301819052928201819052828201839052608082019290925260a0810182905260c0810182905260e0810191909152600154604051630f37f38f60e41b81526001600160401b03841660048201525f916001600160a01b0316906354f6127f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015613052573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906130769190614394565b6040518263ffffffff1660e01b815260040161309491815260200190565b5f60405180830381865afa1580156130ae573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526130d591908101906141c4565b805190915015610cf55780806020019051810190610cee9190614f4d565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401602060405180830381865af4158015611244573d5f803e3d5ffd5b6040518060c001604052805f6001600160601b0316815260200161318860405180604001604052805f81526020015f81525090565b81526060602082018190525f6040830181905290820181905260809091015290565b6040805161012081019091525f60e08201818152610100830191909152819081526020016131e960405180604001604052805f81526020015f81525090565b815260200161320960405180604001604052805f81526020015f81525090565b815260200161322960405180604001604052805f81526020015f81525090565b815260200161324960405180604001604052805f81526020015f81525090565b815260200161326960405180604001604052805f81526020015f81525090565b815260200161328960405180604001604052805f81526020015f81525090565b905290565b6001600160601b03811681146132a2575f80fd5b50565b5f602082840312156132b5575f80fd5b8135610cee8161328e565b5f602082840312156132d0575f80fd5b5035919050565b5f8151808452602084019350602083015f5b828110156133105781516001600160601b03168652602095860195909101906001016132e9565b5093949350505050565b602081528151151560208201526020820151151560408201525f6040830151613347606084018215159052565b50606083015160ff8116608084015250608083015160ff811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e0830151610100808401526115ba6101208401826132d7565b61ffff811681146132a2575f80fd5b5f80604083850312156133ca575f80fd5b82356133d58161328e565b915060208301356133e5816133aa565b809150509250929050565b5f8060408385031215613401575f80fd5b823561340c8161328e565b946020939093013593505050565b6001600160c01b031991909116815260200190565b5f8060408385031215613440575f80fd5b8235915060208301355f81900b81146133e5575f80fd5b6001600160c01b0319811681146132a2575f80fd5b5f6020828403121561347c575f80fd5b8135610cee81613457565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f602083015160e060408401526134e4610100840182613487565b90506040840151606084015263ffffffff6060850151166080840152608084015161351760a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e08501526135468282613487565b95945050505050565b602081526001600160401b0360c01b82511660208201526020820151151560408201525f60408301516080606084015261358c60a0840182613487565b905063ffffffff60608501511660808401528091505092915050565b5f80604083850312156135b9575f80fd5b823561340c81613457565b634e487b7160e01b5f52604160045260245ffd5b604051608081016001600160401b03811182821017156135fa576135fa6135c4565b60405290565b60405161010081016001600160401b03811182821017156135fa576135fa6135c4565b60405160e081016001600160401b03811182821017156135fa576135fa6135c4565b60405160c081016001600160401b03811182821017156135fa576135fa6135c4565b60405161020081016001600160401b03811182821017156135fa576135fa6135c4565b60405161012081016001600160401b03811182821017156135fa576135fa6135c4565b60405161024081016001600160401b03811182821017156135fa576135fa6135c4565b60405160a081016001600160401b03811182821017156135fa576135fa6135c4565b604051601f8201601f191681016001600160401b038111828210171561371a5761371a6135c4565b604052919050565b5f6001600160401b0382111561373a5761373a6135c4565b50601f01601f191660200190565b5f8060408385031215613759575f80fd5b82356137648161328e565b915060208301356001600160401b0381111561377e575f80fd5b8301601f8101851361378e575f80fd5b80356137a161379c82613722565b6136f2565b8181528660208385010111156137b5575f80fd5b816020840160208301375f602083830101528093505050509250929050565b602081526001600160601b0382511660208201525f6020830151613805604084018280518252602090810151910152565b50604083015160e06080840152613820610100840182613487565b905064ffffffffff60608501511660a084015264ffffffffff60808501511660c084015264ffffffffff60a08501511660e08401528091505092915050565b6001600160a01b03811681146132a2575f80fd5b5f60208284031215613883575f80fd5b8135610cee8161385f565b6001600160401b03811681146132a2575f80fd5b5f80604083850312156138b3575f80fd5b82356138be8161385f565b915060208301356133e58161388e565b815180518252602090810151908201526101c081016020838101518051604085015290810151606084015250604083015180516080840152602081015160a0840152506060830151805160c0840152602081015160e0840152506080830151805161010084015260208101516101208401525060a0830151805161014084015260208101516101608401525060c0830151805161018084015260208101516101a08401526120a1565b602081526001600160601b03825116602082015264ffffffffff60208301511660408201525f60408301516060808401526115ba6080840182613487565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f60408301516139f3606084018262ffffff169052565b50606083015162ffffff8116608084015250608083015160e060a0840152613a1f610100840182613487565b905060a0840151601f198483030160c0850152613a3c8282613487565b91505060c0840151613a5760e085018264ffffffffff169052565b509392505050565b60208152613a796020820183516001600160601b03169052565b5f6020830151613a9460408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c083015164ffffffffff811660e08401525060e0830151610200610100840152613b1a610220840182613487565b9050610100840151601f1984830301610120850152613b398282613487565b915050610120840151613b5361014085018261ffff169052565b5061014084015161ffff8116610160850152506101608401516001600160601b038116610180850152506101808401516001600160601b0381166101a0850152506101a084015164ffffffffff81166101c0850152506101c084015164ffffffffff81166101e0850152506101e084015164ffffffffff8116610200850152613a57565b602081525f82516101206020840152613bf4610140840182613487565b90506020840151604084015260408401516060840152606084015160808401526080840151613c2b60a085018263ffffffff169052565b5060a084015163ffffffff811660c08501525060c084015180151560e08501525060e084015180151561010085015250610100840151838203601f19016101208501526135468282613487565b81516001600160601b0316815261024081016020830151613ca460208401826001600160601b03169052565b506040830151613cbf60408401826001600160601b03169052565b506060830151613cda60608401826001600160601b03169052565b506080830151613cf560808401826001600160601b03169052565b5060a0830151613d1060a08401826001600160601b03169052565b5060c0830151613d2b60c08401826001600160601b03169052565b5060e0830151613d4660e08401826001600160601b03169052565b50610100830151613d636101008401826001600160601b03169052565b50610120830151613d806101208401826001600160601b03169052565b50610140830151613d9d6101408401826001600160601b03169052565b50610160830151613dba6101608401826001600160601b03169052565b50610180830151613dd76101808401826001600160601b03169052565b506101a0830151613df46101a08401826001600160601b03169052565b506101c0830151613e116101c08401826001600160601b03169052565b506101e0830151613e2e6101e08401826001600160601b03169052565b50610200830151613e4b6102008401826001600160601b03169052565b506102208301516120a16102208401826001600160601b03169052565b62ffffff811681146132a2575f80fd5b5f8060408385031215613e89575f80fd5b8235613e94816133aa565b915060208301356133e581613e68565b602081525f825160806020840152613ebf60a0840182613487565b60208501516001600160a01b0390811660408681019190915286015116606080860191909152850151848203601f190160808601529091506135468282613487565b64ffffffffff811681146132a2575f80fd5b5f8060408385031215613f24575f80fd5b8235613f2f8161328e565b915060208301356133e581613f01565b6020815261ffff82511660208201526001600160601b03602083015116604082015260018060a01b0360408301511660608201525f606083015160a06080840152613f8d60c0840182613487565b905064ffffffffff60808501511660a08401528091505092915050565b5f60208284031215613fba575f80fd5b8135610cee8161388e565b60208152613fdf6020820183516001600160601b03169052565b5f60208301516101006040840152613ffb610120840182613487565b9050604084015161401760608501826001600160601b03169052565b506060840151838203601f190160808501526140338282613487565b9150506080840151601f198483030160a08501526140518282613487565b91505060a084015161406c60c085018264ffffffffff169052565b5060c084015164ffffffffff811660e08501525060e0840151801515610100850152613a57565b805161409e8161328e565b919050565b5f602082840312156140b3575f80fd5b8151610cee8161328e565b60ff811681146132a2575f80fd5b805161409e816140be565b63ffffffff811681146132a2575f80fd5b805161409e816140d7565b5f6080828403128015614104575f80fd5b5061410d6135d8565b8251614118816140be565b81526020830151614128816140be565b6020820152604083015161413b816140d7565b6040820152606083015161414e816140d7565b60608201529392505050565b5f6020828403121561416a575f80fd5b8151610cee816140be565b5f82601f830112614184575f80fd5b8151602083015f61419761379c84613722565b90508281528583830111156141aa575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f602082840312156141d4575f80fd5b81516001600160401b038111156141e9575f80fd5b6115ba84828501614175565b8051801515811461409e575f80fd5b5f82601f830112614213575f80fd5b81516001600160401b0381111561422c5761422c6135c4565b8060051b61423c602082016136f2565b91825260208185018101929081019086841115614257575f80fd5b6020860192505b838310156142825782516142718161328e565b82526020928301929091019061425e565b9695505050505050565b5f6020828403121561429c575f80fd5b81516001600160401b038111156142b1575f80fd5b820161010081850312156142c3575f80fd5b6142cb613600565b6142d4826141f5565b81526142e2602083016141f5565b60208201526142f3604083016141f5565b6040820152614304606083016140cc565b6060820152614315608083016140cc565b608082015261432660a08301614093565b60a082015261433760c08301614093565b60c082015260e08201516001600160401b03811115614354575f80fd5b61436086828501614204565b60e083015250949350505050565b805161409e81613457565b5f60208284031215614389575f80fd5b8151610cee81613457565b5f602082840312156143a4575f80fd5b5051919050565b805161409e81613f01565b5f602082840312156143c6575f80fd5b81516001600160401b038111156143db575f80fd5b820160e081850312156143ec575f80fd5b6143f4613623565b6143fd82614093565b815260208201516001600160401b03811115614417575f80fd5b61442386828501614175565b6020830152506040828101519082015261443f606083016140e8565b6060820152614450608083016140e8565b608082015261446160a083016143ab565b60a082015260c08201516001600160401b0381111561447e575f80fd5b61448a86828501614175565b60c083015250949350505050565b5f602082840312156144a8575f80fd5b81516001600160401b038111156144bd575f80fd5b8201608081850312156144ce575f80fd5b6144d66135d8565b81516144e181613457565b81526144ef602083016141f5565b602082015260408201516001600160401b0381111561450c575f80fd5b61451886828501614175565b6040830152506060820151915061452e826140d7565b60608101919091529392505050565b6001600160601b0383168152604060208201525f6115ba6040830184613487565b5f6040828403121561456e575f80fd5b604080519081016001600160401b0381118282101715614590576145906135c4565b604052825181526020928301519281019290925250919050565b5f602082840312156145ba575f80fd5b81516001600160401b038111156145cf575f80fd5b820160e081850312156145e0575f80fd5b6145e8613645565b81516145f38161328e565b8152614602856020840161455e565b602082015260608201516001600160401b0381111561461f575f80fd5b61462b86828501614175565b604083015250608082015161463f81613f01565b606082015261465060a083016143ab565b608082015261466160c083016143ab565b60a0820152949350505050565b5f6020828403121561467e575f80fd5b8151610cee8161385f565b5f60208284031215614699575f80fd5b610cee826141f5565b5f602082840312156146b2575f80fd5b81516001600160401b038111156146c7575f80fd5b8201608081850312156146d8575f80fd5b6146e06135d8565b81516001600160401b038111156146f5575f80fd5b61470186828501614175565b82525060208201516147128161385f565b602082015260408201516147258161385f565b604082015260608201516001600160401b03811115614742575f80fd5b61474e86828501614175565b606083015250949350505050565b5f60e082840312801561476d575f80fd5b50614776613623565b82516147818161328e565b815261478f602084016141f5565b60208201526147a0604084016141f5565b60408201526147b1606084016141f5565b60608201526147c2608084016141f5565b608082015260a0838101519082015260c0928301519281019290925250919050565b5f6101c08284031280156147f6575f80fd5b506147ff613623565b614809848461455e565b8152614818846040850161455e565b602082015261482a846080850161455e565b604082015261483c8460c0850161455e565b606082015261484f84610100850161455e565b608082015261486284610140850161455e565b60a082015261487584610180850161455e565b60c08201529392505050565b5f60208284031215614891575f80fd5b81516001600160401b038111156148a6575f80fd5b8201606081850312156148b7575f80fd5b604051606081016001600160401b03811182821017156148d9576148d96135c4565b60405281516148e78161328e565b815260208201516148f781613f01565b602082015260408201516001600160401b03811115614914575f80fd5b61492086828501614175565b604083015250949350505050565b805161409e81613e68565b5f60208284031215614949575f80fd5b81516001600160401b0381111561495e575f80fd5b820160e0818503121561496f575f80fd5b614977613623565b61498082614093565b815261498e60208301614093565b602082015261499f6040830161492e565b60408201526149b06060830161492e565b606082015260808201516001600160401b038111156149cd575f80fd5b6149d986828501614175565b60808301525060a08201516001600160401b038111156149f7575f80fd5b614a0386828501614175565b60a083015250614a1560c083016143ab565b60c0820152949350505050565b5f60208284031215614a32575f80fd5b8151610cee81613f01565b805161409e816133aa565b5f60208284031215614a58575f80fd5b81516001600160401b03811115614a6d575f80fd5b82016102008185031215614a7f575f80fd5b614a87613667565b614a9082614093565b8152614a9e60208301614093565b6020820152614aaf6040830161436e565b6040820152614ac06060830161436e565b6060820152614ad160808301614093565b6080820152614ae260a08301614093565b60a0820152614af360c083016143ab565b60c082015260e08201516001600160401b03811115614b10575f80fd5b614b1c86828501614175565b60e0830152506101008201516001600160401b03811115614b3b575f80fd5b614b4786828501614175565b61010083015250614b5b6101208301614a3d565b610120820152614b6e6101408301614a3d565b610140820152614b816101608301614093565b610160820152614b946101808301614093565b610180820152614ba76101a083016143ab565b6101a0820152614bba6101c083016143ab565b6101c0820152614bcd6101e083016143ab565b6101e0820152949350505050565b5f60208284031215614beb575f80fd5b81516001600160401b03811115614c00575f80fd5b82016101208185031215614c12575f80fd5b614c1a61368a565b81516001600160401b03811115614c2f575f80fd5b614c3b86828501614175565b825250602082810151908201526040808301519082015260608083015190820152614c68608083016140e8565b6080820152614c7960a083016140e8565b60a0820152614c8a60c083016141f5565b60c0820152614c9b60e083016141f5565b60e08201526101008201516001600160401b03811115614cb9575f80fd5b614cc586828501614175565b61010083015250949350505050565b5f610240828403128015614ce6575f80fd5b50614cef6136ad565b614cf883614093565b8152614d0660208401614093565b6020820152614d1760408401614093565b6040820152614d2860608401614093565b6060820152614d3960808401614093565b6080820152614d4a60a08401614093565b60a0820152614d5b60c08401614093565b60c0820152614d6c60e08401614093565b60e0820152614d7e6101008401614093565b610100820152614d916101208401614093565b610120820152614da46101408401614093565b610140820152614db76101608401614093565b610160820152614dca6101808401614093565b610180820152614ddd6101a08401614093565b6101a0820152614df06101c08401614093565b6101c0820152614e036101e08401614093565b6101e0820152614e166102008401614093565b610200820152614e296102208401614093565b6102208201529392505050565b634e487b7160e01b5f52601160045260245ffd5b62ffffff8181168382160190811115610b2257610b22614e36565b80820180821115610b2257610b22614e36565b5f60208284031215614e88575f80fd5b8151610cee816133aa565b5f60208284031215614ea3575f80fd5b81516001600160401b03811115614eb8575f80fd5b820160a08185031215614ec9575f80fd5b614ed16136d0565b8151614edc816133aa565b81526020820151614eec8161328e565b60208201526040820151614eff8161385f565b604082015260608201516001600160401b03811115614f1c575f80fd5b614f2886828501614175565b60608301525060808201519150614f3e82613f01565b60808101919091529392505050565b5f60208284031215614f5d575f80fd5b81516001600160401b03811115614f72575f80fd5b82016101008185031215614f84575f80fd5b614f8c613600565b614f9582614093565b815260208201516001600160401b03811115614faf575f80fd5b614fbb86828501614175565b602083015250614fcd60408301614093565b604082015260608201516001600160401b03811115614fea575f80fd5b614ff686828501614175565b60608301525060808201516001600160401b03811115615014575f80fd5b61502086828501614175565b60808301525061503260a083016143ab565b60a082015261504360c083016143ab565b60c082015261505460e083016141f5565b60e082015294935050505056fea26469706673582212208f73d59293586e0ee34b6222ad507e34c39cfb55677a4c45b5a4418898e98c9864736f6c634300081a0033",
1083
1983
  "linkReferences": {
1084
- "contracts/types/DistributorType.sol": {
1984
+ "contracts/type/Amount.sol": {
1985
+ "AmountLib": [
1986
+ {
1987
+ "length": 20,
1988
+ "start": 12608
1989
+ }
1990
+ ]
1991
+ },
1992
+ "contracts/type/ClaimId.sol": {
1993
+ "ClaimIdLib": [
1994
+ {
1995
+ "length": 20,
1996
+ "start": 6952
1997
+ },
1998
+ {
1999
+ "length": 20,
2000
+ "start": 8165
2001
+ },
2002
+ {
2003
+ "length": 20,
2004
+ "start": 11449
2005
+ }
2006
+ ]
2007
+ },
2008
+ "contracts/type/DistributorType.sol": {
1085
2009
  "DistributorTypeLib": [
1086
2010
  {
1087
2011
  "length": 20,
1088
- "start": 6188
2012
+ "start": 10239
1089
2013
  }
1090
2014
  ]
1091
2015
  },
1092
- "contracts/types/NftId.sol": {
2016
+ "contracts/type/NftId.sol": {
1093
2017
  "NftIdLib": [
1094
2018
  {
1095
2019
  "length": 20,
1096
- "start": 289
2020
+ "start": 4469
2021
+ },
2022
+ {
2023
+ "length": 20,
2024
+ "start": 4584
2025
+ },
2026
+ {
2027
+ "length": 20,
2028
+ "start": 4773
2029
+ },
2030
+ {
2031
+ "length": 20,
2032
+ "start": 5610
1097
2033
  },
1098
2034
  {
1099
2035
  "length": 20,
1100
- "start": 3257
2036
+ "start": 5863
1101
2037
  },
1102
2038
  {
1103
2039
  "length": 20,
1104
- "start": 3597
2040
+ "start": 7141
1105
2041
  },
1106
2042
  {
1107
2043
  "length": 20,
1108
- "start": 3992
2044
+ "start": 7213
1109
2045
  },
1110
2046
  {
1111
2047
  "length": 20,
1112
- "start": 4037
2048
+ "start": 9112
1113
2049
  },
1114
2050
  {
1115
2051
  "length": 20,
1116
- "start": 4082
2052
+ "start": 10544
2053
+ },
2054
+ {
2055
+ "length": 20,
2056
+ "start": 11405
2057
+ }
2058
+ ]
2059
+ },
2060
+ "contracts/type/PayoutId.sol": {
2061
+ "PayoutIdLib": [
2062
+ {
2063
+ "length": 20,
2064
+ "start": 10885
1117
2065
  },
1118
2066
  {
1119
2067
  "length": 20,
1120
- "start": 6415
2068
+ "start": 11304
1121
2069
  },
1122
2070
  {
1123
2071
  "length": 20,
1124
- "start": 6670
2072
+ "start": 12017
1125
2073
  }
1126
2074
  ]
1127
2075
  },
1128
- "contracts/types/Referral.sol": {
2076
+ "contracts/type/Referral.sol": {
1129
2077
  "ReferralLib": [
1130
2078
  {
1131
2079
  "length": 20,
1132
- "start": 3017
2080
+ "start": 3836
1133
2081
  },
1134
2082
  {
1135
2083
  "length": 20,
1136
- "start": 3656
2084
+ "start": 4831
2085
+ }
2086
+ ]
2087
+ },
2088
+ "contracts/type/RequestId.sol": {
2089
+ "RequestIdLib": [
2090
+ {
2091
+ "length": 20,
2092
+ "start": 12351
1137
2093
  }
1138
2094
  ]
1139
2095
  },
1140
- "contracts/types/RiskId.sol": {
2096
+ "contracts/type/RiskId.sol": {
1141
2097
  "RiskIdLib": [
1142
2098
  {
1143
2099
  "length": 20,
1144
- "start": 4197
2100
+ "start": 7363
2101
+ },
2102
+ {
2103
+ "length": 20,
2104
+ "start": 11617
2105
+ },
2106
+ {
2107
+ "length": 20,
2108
+ "start": 11862
1145
2109
  }
1146
2110
  ]
1147
2111
  },
1148
- "contracts/types/Timestamp.sol": {
2112
+ "contracts/type/Timestamp.sol": {
1149
2113
  "TimestampLib": [
1150
2114
  {
1151
2115
  "length": 20,
1152
- "start": 5125
2116
+ "start": 8446
2117
+ },
2118
+ {
2119
+ "length": 20,
2120
+ "start": 8673
2121
+ },
2122
+ {
2123
+ "length": 20,
2124
+ "start": 9252
2125
+ },
2126
+ {
2127
+ "length": 20,
2128
+ "start": 9368
1153
2129
  },
1154
2130
  {
1155
2131
  "length": 20,
1156
- "start": 5356
2132
+ "start": 9512
1157
2133
  }
1158
2134
  ]
1159
2135
  },
1160
- "contracts/types/UFixed.sol": {
2136
+ "contracts/type/UFixed.sol": {
1161
2137
  "UFixedLib": [
1162
2138
  {
1163
2139
  "length": 20,
1164
- "start": 2805
2140
+ "start": 3653
1165
2141
  },
1166
2142
  {
1167
2143
  "length": 20,
1168
- "start": 3788
2144
+ "start": 4924
1169
2145
  },
1170
2146
  {
1171
2147
  "length": 20,
1172
- "start": 5226
2148
+ "start": 8545
1173
2149
  },
1174
2150
  {
1175
2151
  "length": 20,
1176
- "start": 5485
2152
+ "start": 8800
1177
2153
  },
1178
2154
  {
1179
2155
  "length": 20,
1180
- "start": 5628
2156
+ "start": 8941
1181
2157
  }
1182
2158
  ]
1183
2159
  }
1184
2160
  },
1185
2161
  "deployedLinkReferences": {
1186
- "contracts/types/DistributorType.sol": {
2162
+ "contracts/type/Amount.sol": {
2163
+ "AmountLib": [
2164
+ {
2165
+ "length": 20,
2166
+ "start": 12571
2167
+ }
2168
+ ]
2169
+ },
2170
+ "contracts/type/ClaimId.sol": {
2171
+ "ClaimIdLib": [
2172
+ {
2173
+ "length": 20,
2174
+ "start": 6915
2175
+ },
2176
+ {
2177
+ "length": 20,
2178
+ "start": 8128
2179
+ },
2180
+ {
2181
+ "length": 20,
2182
+ "start": 11412
2183
+ }
2184
+ ]
2185
+ },
2186
+ "contracts/type/DistributorType.sol": {
1187
2187
  "DistributorTypeLib": [
1188
2188
  {
1189
2189
  "length": 20,
1190
- "start": 4647
2190
+ "start": 10202
1191
2191
  }
1192
2192
  ]
1193
2193
  },
1194
- "contracts/types/NftId.sol": {
2194
+ "contracts/type/NftId.sol": {
1195
2195
  "NftIdLib": [
1196
2196
  {
1197
2197
  "length": 20,
1198
- "start": 1716
2198
+ "start": 4432
2199
+ },
2200
+ {
2201
+ "length": 20,
2202
+ "start": 4547
2203
+ },
2204
+ {
2205
+ "length": 20,
2206
+ "start": 4736
2207
+ },
2208
+ {
2209
+ "length": 20,
2210
+ "start": 5573
2211
+ },
2212
+ {
2213
+ "length": 20,
2214
+ "start": 5826
1199
2215
  },
1200
2216
  {
1201
2217
  "length": 20,
1202
- "start": 2056
2218
+ "start": 7104
1203
2219
  },
1204
2220
  {
1205
2221
  "length": 20,
1206
- "start": 2451
2222
+ "start": 7176
1207
2223
  },
1208
2224
  {
1209
2225
  "length": 20,
1210
- "start": 2496
2226
+ "start": 9075
1211
2227
  },
1212
2228
  {
1213
2229
  "length": 20,
1214
- "start": 2541
2230
+ "start": 10507
2231
+ },
2232
+ {
2233
+ "length": 20,
2234
+ "start": 11368
2235
+ }
2236
+ ]
2237
+ },
2238
+ "contracts/type/PayoutId.sol": {
2239
+ "PayoutIdLib": [
2240
+ {
2241
+ "length": 20,
2242
+ "start": 10848
1215
2243
  },
1216
2244
  {
1217
2245
  "length": 20,
1218
- "start": 4874
2246
+ "start": 11267
1219
2247
  },
1220
2248
  {
1221
2249
  "length": 20,
1222
- "start": 5129
2250
+ "start": 11980
1223
2251
  }
1224
2252
  ]
1225
2253
  },
1226
- "contracts/types/Referral.sol": {
2254
+ "contracts/type/Referral.sol": {
1227
2255
  "ReferralLib": [
1228
2256
  {
1229
2257
  "length": 20,
1230
- "start": 1476
2258
+ "start": 3799
1231
2259
  },
1232
2260
  {
1233
2261
  "length": 20,
1234
- "start": 2115
2262
+ "start": 4794
2263
+ }
2264
+ ]
2265
+ },
2266
+ "contracts/type/RequestId.sol": {
2267
+ "RequestIdLib": [
2268
+ {
2269
+ "length": 20,
2270
+ "start": 12314
1235
2271
  }
1236
2272
  ]
1237
2273
  },
1238
- "contracts/types/RiskId.sol": {
2274
+ "contracts/type/RiskId.sol": {
1239
2275
  "RiskIdLib": [
1240
2276
  {
1241
2277
  "length": 20,
1242
- "start": 2656
2278
+ "start": 7326
2279
+ },
2280
+ {
2281
+ "length": 20,
2282
+ "start": 11580
2283
+ },
2284
+ {
2285
+ "length": 20,
2286
+ "start": 11825
1243
2287
  }
1244
2288
  ]
1245
2289
  },
1246
- "contracts/types/Timestamp.sol": {
2290
+ "contracts/type/Timestamp.sol": {
1247
2291
  "TimestampLib": [
1248
2292
  {
1249
2293
  "length": 20,
1250
- "start": 3584
2294
+ "start": 8409
2295
+ },
2296
+ {
2297
+ "length": 20,
2298
+ "start": 8636
2299
+ },
2300
+ {
2301
+ "length": 20,
2302
+ "start": 9215
2303
+ },
2304
+ {
2305
+ "length": 20,
2306
+ "start": 9331
1251
2307
  },
1252
2308
  {
1253
2309
  "length": 20,
1254
- "start": 3815
2310
+ "start": 9475
1255
2311
  }
1256
2312
  ]
1257
2313
  },
1258
- "contracts/types/UFixed.sol": {
2314
+ "contracts/type/UFixed.sol": {
1259
2315
  "UFixedLib": [
1260
2316
  {
1261
2317
  "length": 20,
1262
- "start": 1264
2318
+ "start": 3616
1263
2319
  },
1264
2320
  {
1265
2321
  "length": 20,
1266
- "start": 2247
2322
+ "start": 4887
1267
2323
  },
1268
2324
  {
1269
2325
  "length": 20,
1270
- "start": 3685
2326
+ "start": 8508
1271
2327
  },
1272
2328
  {
1273
2329
  "length": 20,
1274
- "start": 3944
2330
+ "start": 8763
1275
2331
  },
1276
2332
  {
1277
2333
  "length": 20,
1278
- "start": 4087
2334
+ "start": 8904
1279
2335
  }
1280
2336
  ]
1281
2337
  }