@etherisc/gif-next 0.0.2-d96b9e1-825 → 0.0.2-d9e8211-569

Sign up to get free protection for your applications and to get access to all the features.
Files changed (721) hide show
  1. package/README.md +309 -21
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1253 -0
  4. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  5. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1206 -0
  6. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  7. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +358 -0
  8. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  9. package/artifacts/contracts/{instance/module/access → authorization}/IAccess.sol/IAccess.json +1 -1
  10. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1032 -0
  12. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +258 -0
  14. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +290 -0
  16. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  17. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +148 -0
  18. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +390 -0
  20. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +190 -0
  22. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  23. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1342 -0
  24. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +410 -0
  26. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1012 -0
  28. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1400 -0
  30. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +787 -0
  32. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +906 -0
  34. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +932 -0
  36. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  37. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1411 -0
  38. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  39. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1171 -0
  40. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  41. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1517 -0
  42. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  43. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +1978 -0
  44. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  45. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +703 -0
  46. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  47. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +280 -1494
  48. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  49. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +757 -0
  50. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  51. package/artifacts/contracts/instance/Instance.sol/Instance.json +394 -1735
  52. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  53. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1626 -0
  54. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  55. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +601 -0
  56. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  57. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1850 -0
  58. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  59. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1048 -0
  60. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  61. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +683 -0
  62. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  63. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3587 -0
  64. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  65. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  66. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  67. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +137 -0
  68. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  69. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  70. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  71. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +182 -0
  72. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  73. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +181 -0
  74. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  75. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +129 -0
  76. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  77. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  78. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  79. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/IComponents.sol/IComponents.json} +2 -2
  80. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  81. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.json +10 -0
  82. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  83. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  84. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  85. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  86. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  87. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  88. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  89. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +979 -0
  90. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  91. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +418 -0
  92. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  93. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  94. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  95. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +765 -0
  96. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  97. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +675 -0
  98. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  99. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +871 -0
  100. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  101. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +922 -0
  102. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  103. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +679 -0
  104. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  105. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1248 -0
  106. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  107. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +410 -0
  108. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  109. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1362 -0
  110. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  111. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +771 -0
  112. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  113. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +907 -0
  114. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  115. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +909 -0
  116. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  117. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1198 -0
  118. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  119. package/artifacts/contracts/pool/Pool.sol/Pool.json +1034 -0
  120. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  121. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1469 -0
  122. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  123. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +695 -0
  124. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  125. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +732 -0
  126. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  127. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +667 -0
  128. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  129. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1096 -0
  130. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  131. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +410 -0
  132. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  133. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1325 -0
  134. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  135. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +775 -0
  136. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  137. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IApplicationService.sol/IApplicationService.json} +259 -219
  138. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  139. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +886 -0
  140. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  141. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +785 -0
  142. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  143. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +549 -0
  144. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  145. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +948 -0
  146. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  147. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IRiskService.sol/IRiskService.json} +202 -178
  148. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  149. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1104 -0
  150. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  151. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +715 -0
  152. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  153. package/artifacts/contracts/product/PricingService.sol/PricingService.json +860 -0
  154. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  155. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +715 -0
  156. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  157. package/artifacts/contracts/product/Product.sol/Product.json +1054 -0
  158. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  159. package/artifacts/contracts/product/RiskService.sol/RiskService.json +583 -0
  160. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  161. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +651 -0
  162. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  163. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +242 -12
  164. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  165. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +924 -119
  166. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  167. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +940 -0
  168. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  169. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +52 -0
  170. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  171. package/artifacts/contracts/registry/Registry.sol/Registry.json +1343 -220
  172. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  173. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1861 -0
  174. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  175. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1340 -0
  176. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  177. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +670 -0
  178. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  179. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +164 -0
  180. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  181. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1169 -0
  182. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  183. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +214 -0
  184. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  185. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +661 -0
  186. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  187. package/artifacts/contracts/shared/Component.sol/Component.json +685 -0
  188. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  189. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1568 -0
  190. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  191. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +753 -0
  192. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  193. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +427 -0
  194. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  195. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +605 -0
  196. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  197. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1033 -0
  198. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  199. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +700 -0
  200. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  201. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +104 -141
  202. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  203. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -6
  204. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  205. package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/INftOwnable.sol/INftOwnable.json} +37 -80
  206. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  207. package/artifacts/contracts/{components/BaseComponent.sol/BaseComponent.json → shared/IPolicyHolder.sol/IPolicyHolder.json} +75 -84
  208. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  209. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +91 -31
  210. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  211. package/artifacts/contracts/{registry → shared}/IRegistryLinked.sol/IRegistryLinked.json +13 -2
  212. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  213. package/artifacts/contracts/{instance/base/InstanceBase.sol/InstanceBase.json → shared/IService.sol/IService.json} +163 -143
  214. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
  215. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
  216. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  217. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  218. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  219. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +793 -0
  220. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  221. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +497 -0
  222. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  223. package/artifacts/contracts/{experiment/statemachine/ISM.sol/ISM.json → shared/Lifecycle.sol/Lifecycle.json} +54 -45
  224. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  225. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  226. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  227. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +193 -0
  228. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  229. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +188 -0
  230. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  231. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +170 -27
  232. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  233. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
  234. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  235. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → shared/Service.sol/Service.json} +197 -166
  236. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  237. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +469 -0
  238. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  239. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +108 -0
  240. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  241. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1438 -0
  242. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  243. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1035 -0
  244. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  245. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +440 -0
  246. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  247. package/artifacts/contracts/staking/Staking.sol/Staking.json +1828 -0
  248. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  249. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +164 -0
  250. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  251. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +714 -0
  252. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  253. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +592 -0
  254. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  255. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1231 -0
  256. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  257. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +667 -0
  258. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  259. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2242 -0
  260. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  261. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +607 -0
  262. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  263. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  264. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  265. package/artifacts/contracts/type/Amount.sol/AmountLib.json +374 -0
  266. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  267. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  268. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  269. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  270. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  271. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  272. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  273. package/artifacts/contracts/type/Fee.sol/FeeLib.json +317 -0
  274. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  275. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  276. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  277. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +209 -0
  278. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  279. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  280. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  281. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +239 -0
  282. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  283. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  284. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  285. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  286. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  287. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  288. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  289. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +86 -0
  290. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  291. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +369 -0
  292. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  293. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +246 -0
  294. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  295. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  296. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  297. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  298. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  299. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +92 -0
  300. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  301. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  302. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  303. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  304. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  305. package/artifacts/contracts/type/UFixed.sol/MathLib.json +16 -0
  306. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  307. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +535 -0
  308. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  309. package/artifacts/contracts/type/Version.sol/VersionLib.json +177 -0
  310. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  311. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +68 -0
  312. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  313. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +55 -0
  314. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  315. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +566 -0
  316. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  317. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  318. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  319. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +78 -0
  320. package/contracts/authorization/AccessAdmin.sol +589 -0
  321. package/contracts/authorization/AccessManagerCloneable.sol +16 -0
  322. package/contracts/authorization/Authorization.sol +217 -0
  323. package/contracts/authorization/IAccess.sol +48 -0
  324. package/contracts/authorization/IAccessAdmin.sol +136 -0
  325. package/contracts/authorization/IAuthorization.sol +54 -0
  326. package/contracts/authorization/IModuleAuthorization.sol +21 -0
  327. package/contracts/authorization/IServiceAuthorization.sol +38 -0
  328. package/contracts/authorization/ModuleAuthorization.sol +78 -0
  329. package/contracts/authorization/ServiceAuthorization.sol +90 -0
  330. package/contracts/distribution/BasicDistribution.sol +138 -0
  331. package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
  332. package/contracts/distribution/Distribution.sol +295 -0
  333. package/contracts/distribution/DistributionService.sol +336 -0
  334. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  335. package/contracts/distribution/IDistributionComponent.sol +52 -0
  336. package/contracts/distribution/IDistributionService.sol +101 -0
  337. package/contracts/examples/unpermissioned/SimpleDistribution.sol +50 -0
  338. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  339. package/contracts/examples/unpermissioned/SimplePool.sol +76 -0
  340. package/contracts/examples/unpermissioned/SimpleProduct.sol +351 -0
  341. package/contracts/instance/BundleSet.sol +126 -0
  342. package/contracts/instance/IInstance.sol +57 -46
  343. package/contracts/instance/IInstanceService.sol +92 -0
  344. package/contracts/instance/Instance.sol +215 -54
  345. package/contracts/instance/InstanceAdmin.sol +285 -0
  346. package/contracts/instance/InstanceAuthorizationV3.sol +204 -0
  347. package/contracts/instance/InstanceReader.sol +430 -0
  348. package/contracts/instance/InstanceService.sol +467 -0
  349. package/contracts/instance/InstanceServiceManager.sol +40 -0
  350. package/contracts/instance/InstanceStore.sol +287 -0
  351. package/contracts/instance/base/BalanceStore.sol +123 -0
  352. package/contracts/instance/base/Cloneable.sol +28 -0
  353. package/contracts/instance/base/ObjectCounter.sol +21 -0
  354. package/contracts/instance/base/ObjectLifecycle.sol +111 -0
  355. package/contracts/instance/base/ObjectSet.sol +79 -0
  356. package/contracts/instance/module/IAccess.sol +46 -0
  357. package/contracts/instance/module/IBundle.sol +20 -0
  358. package/contracts/instance/module/IComponents.sol +46 -0
  359. package/contracts/instance/module/IDistribution.sol +41 -0
  360. package/contracts/instance/module/IPolicy.sol +84 -0
  361. package/contracts/instance/module/IRisk.sol +11 -0
  362. package/contracts/{test/TestToken.sol → mock/Dip.sol} +6 -6
  363. package/contracts/oracle/BasicOracle.sol +48 -0
  364. package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
  365. package/contracts/oracle/IOracle.sol +36 -0
  366. package/contracts/oracle/IOracleComponent.sol +33 -0
  367. package/contracts/oracle/IOracleService.sol +65 -0
  368. package/contracts/oracle/Oracle.sol +167 -0
  369. package/contracts/oracle/OracleService.sol +279 -0
  370. package/contracts/oracle/OracleServiceManager.sol +39 -0
  371. package/contracts/pool/BasicPool.sol +166 -0
  372. package/contracts/pool/BasicPoolAuthorization.sol +58 -0
  373. package/contracts/pool/BundleService.sol +438 -0
  374. package/contracts/pool/BundleServiceManager.sol +39 -0
  375. package/contracts/pool/IBundleService.sol +134 -0
  376. package/contracts/pool/IPoolComponent.sol +58 -0
  377. package/contracts/pool/IPoolService.sol +160 -0
  378. package/contracts/pool/Pool.sol +326 -0
  379. package/contracts/pool/PoolService.sol +509 -0
  380. package/contracts/pool/PoolServiceManager.sol +39 -0
  381. package/contracts/product/ApplicationService.sol +248 -0
  382. package/contracts/product/ApplicationServiceManager.sol +38 -0
  383. package/contracts/product/BasicProduct.sol +53 -0
  384. package/contracts/product/BasicProductAuthorization.sol +43 -0
  385. package/contracts/product/ClaimService.sol +487 -0
  386. package/contracts/product/ClaimServiceManager.sol +38 -0
  387. package/contracts/product/IApplicationService.sol +63 -0
  388. package/contracts/product/IClaimService.sol +122 -0
  389. package/contracts/product/IPolicyService.sol +73 -0
  390. package/contracts/product/IPricingService.sol +39 -0
  391. package/contracts/product/IProductComponent.sol +39 -0
  392. package/contracts/product/IRiskService.sol +33 -0
  393. package/contracts/product/PolicyService.sol +573 -0
  394. package/contracts/product/PolicyServiceManager.sol +39 -0
  395. package/contracts/product/PricingService.sol +301 -0
  396. package/contracts/product/PricingServiceManager.sol +39 -0
  397. package/contracts/product/Product.sol +425 -0
  398. package/contracts/product/RiskService.sol +97 -0
  399. package/contracts/product/RiskServiceManager.sol +39 -0
  400. package/contracts/registry/ChainNft.sol +131 -40
  401. package/contracts/registry/IRegistry.sol +140 -29
  402. package/contracts/registry/IRegistryService.sol +69 -0
  403. package/contracts/registry/ITransferInterceptor.sol +7 -0
  404. package/contracts/registry/Registry.sol +603 -282
  405. package/contracts/registry/RegistryAdmin.sol +464 -0
  406. package/contracts/registry/RegistryService.sol +252 -0
  407. package/contracts/registry/RegistryServiceManager.sol +53 -0
  408. package/contracts/registry/ReleaseLifecycle.sol +27 -0
  409. package/contracts/registry/ReleaseRegistry.sol +491 -0
  410. package/contracts/registry/ServiceAuthorizationV3.sol +199 -0
  411. package/contracts/registry/TokenRegistry.sol +315 -0
  412. package/contracts/shared/Component.sol +268 -0
  413. package/contracts/shared/ComponentService.sol +641 -0
  414. package/contracts/shared/ComponentServiceManager.sol +35 -0
  415. package/contracts/shared/ComponentVerifyingService.sol +117 -0
  416. package/contracts/shared/IComponent.sol +70 -0
  417. package/contracts/shared/IComponentService.sol +108 -0
  418. package/contracts/shared/IInstanceLinkedComponent.sol +49 -0
  419. package/contracts/shared/IKeyValueStore.sol +54 -0
  420. package/contracts/{instance/base → shared}/ILifecycle.sol +4 -5
  421. package/contracts/shared/INftOwnable.sol +23 -0
  422. package/contracts/shared/IPolicyHolder.sol +36 -0
  423. package/contracts/shared/IRegisterable.sol +10 -19
  424. package/contracts/shared/IRegistryLinked.sol +11 -0
  425. package/contracts/shared/IService.sol +25 -0
  426. package/contracts/shared/InitializableCustom.sol +177 -0
  427. package/contracts/shared/InitializableERC165.sol +27 -0
  428. package/contracts/shared/InstanceLinkedComponent.sol +172 -0
  429. package/contracts/shared/KeyValueStore.sol +131 -0
  430. package/contracts/shared/Lifecycle.sol +77 -0
  431. package/contracts/shared/NftIdSet.sol +65 -0
  432. package/contracts/shared/NftOwnable.sol +107 -0
  433. package/contracts/shared/PolicyHolder.sol +56 -0
  434. package/contracts/shared/Registerable.sol +54 -65
  435. package/contracts/shared/RegistryLinked.sol +44 -0
  436. package/contracts/shared/Service.sol +82 -0
  437. package/contracts/shared/TokenHandler.sol +139 -0
  438. package/contracts/shared/TokenHandlerDeployerLib.sol +12 -0
  439. package/contracts/staking/IStaking.sol +168 -0
  440. package/contracts/staking/IStakingService.sol +160 -0
  441. package/contracts/staking/StakeManagerLib.sol +224 -0
  442. package/contracts/staking/Staking.sol +498 -0
  443. package/contracts/staking/StakingLifecycle.sol +23 -0
  444. package/contracts/staking/StakingManager.sol +50 -0
  445. package/contracts/staking/StakingReader.sol +183 -0
  446. package/contracts/staking/StakingService.sol +407 -0
  447. package/contracts/staking/StakingServiceManager.sol +44 -0
  448. package/contracts/staking/StakingStore.sol +605 -0
  449. package/contracts/staking/TargetManagerLib.sol +211 -0
  450. package/contracts/{types → type}/AddressSet.sol +1 -1
  451. package/contracts/type/Amount.sol +135 -0
  452. package/contracts/{types → type}/Blocknumber.sol +27 -3
  453. package/contracts/type/ClaimId.sol +75 -0
  454. package/contracts/type/DistributorType.sol +55 -0
  455. package/contracts/type/Fee.sol +66 -0
  456. package/contracts/{types → type}/Key32.sol +8 -3
  457. package/contracts/{types → type}/NftId.sol +21 -15
  458. package/contracts/type/NftIdSet.sol +62 -0
  459. package/contracts/type/ObjectType.sol +275 -0
  460. package/contracts/type/PayoutId.sol +82 -0
  461. package/contracts/type/Referral.sol +90 -0
  462. package/contracts/type/RequestId.sol +75 -0
  463. package/contracts/type/RiskId.sol +43 -0
  464. package/contracts/type/RoleId.sol +174 -0
  465. package/contracts/type/Seconds.sol +101 -0
  466. package/contracts/type/Selector.sol +102 -0
  467. package/contracts/{types → type}/StateId.sol +40 -5
  468. package/contracts/type/String.sol +53 -0
  469. package/contracts/{types → type}/Timestamp.sol +38 -15
  470. package/contracts/type/UFixed.sol +351 -0
  471. package/contracts/{types → type}/Version.sol +17 -2
  472. package/contracts/upgradeability/IVersionable.sol +53 -0
  473. package/contracts/upgradeability/ProxyManager.sol +198 -0
  474. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +14 -0
  475. package/contracts/upgradeability/Versionable.sol +59 -0
  476. package/package.json +14 -7
  477. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  478. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  479. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  480. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -356
  481. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  482. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -279
  483. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  484. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -387
  485. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  486. package/artifacts/contracts/components/Product.sol/Product.json +0 -305
  487. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  488. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  489. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  490. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  491. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  492. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  493. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  494. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  495. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  496. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  497. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  498. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  499. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  500. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  501. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  502. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  503. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  504. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  505. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  506. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  507. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  508. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  509. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  510. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  511. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  512. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  513. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  514. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  515. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  516. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  517. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  518. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  519. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  520. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  521. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  522. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  523. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +0 -300
  524. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  525. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -63
  526. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  527. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  528. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  529. package/artifacts/contracts/instance/base/IService.sol/IService.json +0 -300
  530. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  531. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  532. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -692
  533. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  534. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  535. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  536. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  537. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +0 -300
  538. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  539. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  540. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  541. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  542. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  543. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  544. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -296
  545. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  546. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  547. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -296
  548. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +0 -4
  549. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +0 -10
  550. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +0 -4
  551. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.json +0 -10
  552. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +0 -4
  553. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.json +0 -10
  554. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  555. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -188
  556. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  557. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  558. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  559. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -188
  560. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  561. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  562. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -261
  563. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  564. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -261
  565. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  566. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  567. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  568. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -149
  569. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  570. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -149
  571. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  572. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  573. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -10
  574. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  575. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -10
  576. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  577. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.json +0 -10
  578. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  579. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -533
  580. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  581. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  582. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  583. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -533
  584. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  585. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -491
  586. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  587. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  588. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  589. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  590. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -471
  591. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  592. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -673
  593. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  594. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -452
  595. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  596. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  597. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  598. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  599. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
  600. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  601. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -164
  602. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  603. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -164
  604. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  605. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  606. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  607. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -387
  608. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  609. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -393
  610. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  611. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -137
  612. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  613. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -82
  614. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  615. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -379
  616. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  617. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -338
  618. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  619. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  620. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  621. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -206
  622. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  623. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  624. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  625. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  626. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  627. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  628. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  629. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -218
  630. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  631. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -111
  632. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  633. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  634. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  635. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  636. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  637. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  638. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  639. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  640. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  641. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -236
  642. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  643. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -453
  644. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  645. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -139
  646. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  647. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -30
  648. package/contracts/components/BaseComponent.sol +0 -88
  649. package/contracts/components/IBaseComponent.sol +0 -19
  650. package/contracts/components/IPoolComponent.sol +0 -57
  651. package/contracts/components/IProductComponent.sol +0 -19
  652. package/contracts/components/Pool.sol +0 -174
  653. package/contracts/components/Product.sol +0 -117
  654. package/contracts/experiment/errors/Require.sol +0 -38
  655. package/contracts/experiment/errors/Revert.sol +0 -44
  656. package/contracts/experiment/inheritance/A.sol +0 -53
  657. package/contracts/experiment/inheritance/B.sol +0 -28
  658. package/contracts/experiment/inheritance/C.sol +0 -34
  659. package/contracts/experiment/inheritance/IA.sol +0 -13
  660. package/contracts/experiment/inheritance/IB.sol +0 -10
  661. package/contracts/experiment/inheritance/IC.sol +0 -12
  662. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  663. package/contracts/experiment/statemachine/ISM.sol +0 -25
  664. package/contracts/experiment/statemachine/README.md +0 -112
  665. package/contracts/experiment/statemachine/SM.sol +0 -57
  666. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  667. package/contracts/experiment/types/TypeA.sol +0 -47
  668. package/contracts/experiment/types/TypeB.sol +0 -29
  669. package/contracts/instance/IInstanceLinked.sol +0 -8
  670. package/contracts/instance/base/ComponentServiceBase.sol +0 -42
  671. package/contracts/instance/base/IInstanceBase.sol +0 -14
  672. package/contracts/instance/base/IKeyValueStore.sol +0 -49
  673. package/contracts/instance/base/IService.sol +0 -15
  674. package/contracts/instance/base/InstanceBase.sol +0 -80
  675. package/contracts/instance/base/KeyValueStore.sol +0 -147
  676. package/contracts/instance/base/Lifecycle.sol +0 -95
  677. package/contracts/instance/base/ModuleBase.sol +0 -52
  678. package/contracts/instance/base/ServiceBase.sol +0 -37
  679. package/contracts/instance/module/access/Access.sol +0 -149
  680. package/contracts/instance/module/access/IAccess.sol +0 -53
  681. package/contracts/instance/module/bundle/BundleModule.sol +0 -136
  682. package/contracts/instance/module/bundle/IBundle.sol +0 -58
  683. package/contracts/instance/module/compensation/CompensationModule.sol +0 -8
  684. package/contracts/instance/module/compensation/ICompensation.sol +0 -10
  685. package/contracts/instance/module/component/ComponentModule.sol +0 -95
  686. package/contracts/instance/module/component/IComponent.sol +0 -53
  687. package/contracts/instance/module/policy/IPolicy.sol +0 -60
  688. package/contracts/instance/module/policy/PolicyModule.sol +0 -76
  689. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  690. package/contracts/instance/module/pool/PoolModule.sol +0 -87
  691. package/contracts/instance/module/risk/IRisk.sol +0 -10
  692. package/contracts/instance/module/risk/RiskModule.sol +0 -8
  693. package/contracts/instance/module/treasury/ITreasury.sol +0 -103
  694. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  695. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -152
  696. package/contracts/instance/service/ComponentOwnerService.sol +0 -170
  697. package/contracts/instance/service/IComponentOwnerService.sol +0 -22
  698. package/contracts/instance/service/IPoolService.sol +0 -30
  699. package/contracts/instance/service/IProductService.sol +0 -58
  700. package/contracts/instance/service/PoolService.sol +0 -123
  701. package/contracts/instance/service/ProductService.sol +0 -354
  702. package/contracts/registry/IChainNft.sol +0 -21
  703. package/contracts/registry/IRegistryLinked.sol +0 -8
  704. package/contracts/shared/ERC165.sol +0 -21
  705. package/contracts/shared/IOwnable.sol +0 -6
  706. package/contracts/shared/IVersionable.sol +0 -52
  707. package/contracts/shared/Versionable.sol +0 -89
  708. package/contracts/test/TestFee.sol +0 -25
  709. package/contracts/test/TestPool.sol +0 -22
  710. package/contracts/test/TestProduct.sol +0 -44
  711. package/contracts/test/TestRegisterable.sol +0 -19
  712. package/contracts/test/TestRoleId.sol +0 -14
  713. package/contracts/test/TestService.sol +0 -32
  714. package/contracts/test/TestVersion.sol +0 -44
  715. package/contracts/test/TestVersionable.sol +0 -17
  716. package/contracts/types/ChainId.sol +0 -38
  717. package/contracts/types/Fee.sol +0 -51
  718. package/contracts/types/NftIdSet.sol +0 -60
  719. package/contracts/types/ObjectType.sol +0 -115
  720. package/contracts/types/RoleId.sol +0 -36
  721. package/contracts/types/UFixed.sol +0 -206
@@ -0,0 +1,1850 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "InstanceReader",
4
+ "sourceName": "contracts/instance/InstanceReader.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "ErrorInstanceReaderAlreadyInitialized",
9
+ "type": "error"
10
+ },
11
+ {
12
+ "inputs": [],
13
+ "name": "ErrorInstanceReaderInstanceAddressZero",
14
+ "type": "error"
15
+ },
16
+ {
17
+ "inputs": [
18
+ {
19
+ "internalType": "NftId",
20
+ "name": "targetNftId",
21
+ "type": "uint96"
22
+ }
23
+ ],
24
+ "name": "getBalanceAmount",
25
+ "outputs": [
26
+ {
27
+ "internalType": "Amount",
28
+ "name": "",
29
+ "type": "uint96"
30
+ }
31
+ ],
32
+ "stateMutability": "view",
33
+ "type": "function"
34
+ },
35
+ {
36
+ "inputs": [
37
+ {
38
+ "internalType": "NftId",
39
+ "name": "bundleNftId",
40
+ "type": "uint96"
41
+ }
42
+ ],
43
+ "name": "getBundleInfo",
44
+ "outputs": [
45
+ {
46
+ "components": [
47
+ {
48
+ "internalType": "NftId",
49
+ "name": "poolNftId",
50
+ "type": "uint96"
51
+ },
52
+ {
53
+ "components": [
54
+ {
55
+ "internalType": "UFixed",
56
+ "name": "fractionalFee",
57
+ "type": "uint256"
58
+ },
59
+ {
60
+ "internalType": "uint256",
61
+ "name": "fixedFee",
62
+ "type": "uint256"
63
+ }
64
+ ],
65
+ "internalType": "struct Fee",
66
+ "name": "fee",
67
+ "type": "tuple"
68
+ },
69
+ {
70
+ "internalType": "bytes",
71
+ "name": "filter",
72
+ "type": "bytes"
73
+ },
74
+ {
75
+ "internalType": "Timestamp",
76
+ "name": "activatedAt",
77
+ "type": "uint40"
78
+ },
79
+ {
80
+ "internalType": "Timestamp",
81
+ "name": "expiredAt",
82
+ "type": "uint40"
83
+ },
84
+ {
85
+ "internalType": "Timestamp",
86
+ "name": "closedAt",
87
+ "type": "uint40"
88
+ }
89
+ ],
90
+ "internalType": "struct IBundle.BundleInfo",
91
+ "name": "info",
92
+ "type": "tuple"
93
+ }
94
+ ],
95
+ "stateMutability": "view",
96
+ "type": "function"
97
+ },
98
+ {
99
+ "inputs": [
100
+ {
101
+ "internalType": "NftId",
102
+ "name": "bundleNftId",
103
+ "type": "uint96"
104
+ }
105
+ ],
106
+ "name": "getBundleState",
107
+ "outputs": [
108
+ {
109
+ "internalType": "StateId",
110
+ "name": "state",
111
+ "type": "uint8"
112
+ }
113
+ ],
114
+ "stateMutability": "view",
115
+ "type": "function"
116
+ },
117
+ {
118
+ "inputs": [
119
+ {
120
+ "internalType": "NftId",
121
+ "name": "policyNftId",
122
+ "type": "uint96"
123
+ },
124
+ {
125
+ "internalType": "ClaimId",
126
+ "name": "claimId",
127
+ "type": "uint16"
128
+ }
129
+ ],
130
+ "name": "getClaimInfo",
131
+ "outputs": [
132
+ {
133
+ "components": [
134
+ {
135
+ "internalType": "Amount",
136
+ "name": "claimAmount",
137
+ "type": "uint96"
138
+ },
139
+ {
140
+ "internalType": "Amount",
141
+ "name": "paidAmount",
142
+ "type": "uint96"
143
+ },
144
+ {
145
+ "internalType": "uint8",
146
+ "name": "payoutsCount",
147
+ "type": "uint8"
148
+ },
149
+ {
150
+ "internalType": "uint8",
151
+ "name": "openPayoutsCount",
152
+ "type": "uint8"
153
+ },
154
+ {
155
+ "internalType": "bytes",
156
+ "name": "submissionData",
157
+ "type": "bytes"
158
+ },
159
+ {
160
+ "internalType": "bytes",
161
+ "name": "processData",
162
+ "type": "bytes"
163
+ },
164
+ {
165
+ "internalType": "Timestamp",
166
+ "name": "closedAt",
167
+ "type": "uint40"
168
+ }
169
+ ],
170
+ "internalType": "struct IPolicy.ClaimInfo",
171
+ "name": "info",
172
+ "type": "tuple"
173
+ }
174
+ ],
175
+ "stateMutability": "view",
176
+ "type": "function"
177
+ },
178
+ {
179
+ "inputs": [
180
+ {
181
+ "internalType": "NftId",
182
+ "name": "policyNftId",
183
+ "type": "uint96"
184
+ },
185
+ {
186
+ "internalType": "ClaimId",
187
+ "name": "claimId",
188
+ "type": "uint16"
189
+ }
190
+ ],
191
+ "name": "getClaimState",
192
+ "outputs": [
193
+ {
194
+ "internalType": "StateId",
195
+ "name": "state",
196
+ "type": "uint8"
197
+ }
198
+ ],
199
+ "stateMutability": "view",
200
+ "type": "function"
201
+ },
202
+ {
203
+ "inputs": [
204
+ {
205
+ "internalType": "NftId",
206
+ "name": "componentNftId",
207
+ "type": "uint96"
208
+ }
209
+ ],
210
+ "name": "getComponentInfo",
211
+ "outputs": [
212
+ {
213
+ "components": [
214
+ {
215
+ "internalType": "string",
216
+ "name": "name",
217
+ "type": "string"
218
+ },
219
+ {
220
+ "internalType": "NftId",
221
+ "name": "productNftId",
222
+ "type": "uint96"
223
+ },
224
+ {
225
+ "internalType": "contract IERC20Metadata",
226
+ "name": "token",
227
+ "type": "address"
228
+ },
229
+ {
230
+ "internalType": "contract TokenHandler",
231
+ "name": "tokenHandler",
232
+ "type": "address"
233
+ },
234
+ {
235
+ "internalType": "address",
236
+ "name": "wallet",
237
+ "type": "address"
238
+ },
239
+ {
240
+ "internalType": "bytes",
241
+ "name": "data",
242
+ "type": "bytes"
243
+ }
244
+ ],
245
+ "internalType": "struct IComponents.ComponentInfo",
246
+ "name": "info",
247
+ "type": "tuple"
248
+ }
249
+ ],
250
+ "stateMutability": "view",
251
+ "type": "function"
252
+ },
253
+ {
254
+ "inputs": [
255
+ {
256
+ "internalType": "ReferralId",
257
+ "name": "referralId",
258
+ "type": "bytes8"
259
+ }
260
+ ],
261
+ "name": "getDiscountPercentage",
262
+ "outputs": [
263
+ {
264
+ "internalType": "UFixed",
265
+ "name": "discountPercentage",
266
+ "type": "uint256"
267
+ },
268
+ {
269
+ "internalType": "ReferralStatus",
270
+ "name": "status",
271
+ "type": "uint8"
272
+ }
273
+ ],
274
+ "stateMutability": "view",
275
+ "type": "function"
276
+ },
277
+ {
278
+ "inputs": [
279
+ {
280
+ "internalType": "NftId",
281
+ "name": "distributorNftId",
282
+ "type": "uint96"
283
+ }
284
+ ],
285
+ "name": "getDistributorInfo",
286
+ "outputs": [
287
+ {
288
+ "components": [
289
+ {
290
+ "internalType": "DistributorType",
291
+ "name": "distributorType",
292
+ "type": "bytes8"
293
+ },
294
+ {
295
+ "internalType": "bool",
296
+ "name": "active",
297
+ "type": "bool"
298
+ },
299
+ {
300
+ "internalType": "bytes",
301
+ "name": "data",
302
+ "type": "bytes"
303
+ },
304
+ {
305
+ "internalType": "uint32",
306
+ "name": "numPoliciesSold",
307
+ "type": "uint32"
308
+ }
309
+ ],
310
+ "internalType": "struct IDistribution.DistributorInfo",
311
+ "name": "info",
312
+ "type": "tuple"
313
+ }
314
+ ],
315
+ "stateMutability": "view",
316
+ "type": "function"
317
+ },
318
+ {
319
+ "inputs": [
320
+ {
321
+ "internalType": "DistributorType",
322
+ "name": "distributorType",
323
+ "type": "bytes8"
324
+ }
325
+ ],
326
+ "name": "getDistributorTypeInfo",
327
+ "outputs": [
328
+ {
329
+ "components": [
330
+ {
331
+ "internalType": "string",
332
+ "name": "name",
333
+ "type": "string"
334
+ },
335
+ {
336
+ "internalType": "UFixed",
337
+ "name": "minDiscountPercentage",
338
+ "type": "uint256"
339
+ },
340
+ {
341
+ "internalType": "UFixed",
342
+ "name": "maxDiscountPercentage",
343
+ "type": "uint256"
344
+ },
345
+ {
346
+ "internalType": "UFixed",
347
+ "name": "commissionPercentage",
348
+ "type": "uint256"
349
+ },
350
+ {
351
+ "internalType": "uint32",
352
+ "name": "maxReferralCount",
353
+ "type": "uint32"
354
+ },
355
+ {
356
+ "internalType": "uint32",
357
+ "name": "maxReferralLifetime",
358
+ "type": "uint32"
359
+ },
360
+ {
361
+ "internalType": "bool",
362
+ "name": "allowSelfReferrals",
363
+ "type": "bool"
364
+ },
365
+ {
366
+ "internalType": "bool",
367
+ "name": "allowRenewals",
368
+ "type": "bool"
369
+ },
370
+ {
371
+ "internalType": "bytes",
372
+ "name": "data",
373
+ "type": "bytes"
374
+ }
375
+ ],
376
+ "internalType": "struct IDistribution.DistributorTypeInfo",
377
+ "name": "info",
378
+ "type": "tuple"
379
+ }
380
+ ],
381
+ "stateMutability": "view",
382
+ "type": "function"
383
+ },
384
+ {
385
+ "inputs": [
386
+ {
387
+ "internalType": "NftId",
388
+ "name": "targetNftId",
389
+ "type": "uint96"
390
+ }
391
+ ],
392
+ "name": "getFeeAmount",
393
+ "outputs": [
394
+ {
395
+ "internalType": "Amount",
396
+ "name": "",
397
+ "type": "uint96"
398
+ }
399
+ ],
400
+ "stateMutability": "view",
401
+ "type": "function"
402
+ },
403
+ {
404
+ "inputs": [],
405
+ "name": "getInstance",
406
+ "outputs": [
407
+ {
408
+ "internalType": "contract IInstance",
409
+ "name": "instance",
410
+ "type": "address"
411
+ }
412
+ ],
413
+ "stateMutability": "view",
414
+ "type": "function"
415
+ },
416
+ {
417
+ "inputs": [],
418
+ "name": "getInstanceStore",
419
+ "outputs": [
420
+ {
421
+ "internalType": "contract IKeyValueStore",
422
+ "name": "store",
423
+ "type": "address"
424
+ }
425
+ ],
426
+ "stateMutability": "view",
427
+ "type": "function"
428
+ },
429
+ {
430
+ "inputs": [
431
+ {
432
+ "internalType": "NftId",
433
+ "name": "targetNftId",
434
+ "type": "uint96"
435
+ }
436
+ ],
437
+ "name": "getLockedAmount",
438
+ "outputs": [
439
+ {
440
+ "internalType": "Amount",
441
+ "name": "",
442
+ "type": "uint96"
443
+ }
444
+ ],
445
+ "stateMutability": "view",
446
+ "type": "function"
447
+ },
448
+ {
449
+ "inputs": [
450
+ {
451
+ "internalType": "Key32",
452
+ "name": "key",
453
+ "type": "bytes32"
454
+ }
455
+ ],
456
+ "name": "getMetadata",
457
+ "outputs": [
458
+ {
459
+ "components": [
460
+ {
461
+ "internalType": "ObjectType",
462
+ "name": "objectType",
463
+ "type": "uint8"
464
+ },
465
+ {
466
+ "internalType": "StateId",
467
+ "name": "state",
468
+ "type": "uint8"
469
+ },
470
+ {
471
+ "internalType": "Blocknumber",
472
+ "name": "updatedIn",
473
+ "type": "uint32"
474
+ },
475
+ {
476
+ "internalType": "Blocknumber",
477
+ "name": "createdIn",
478
+ "type": "uint32"
479
+ }
480
+ ],
481
+ "internalType": "struct IKeyValueStore.Metadata",
482
+ "name": "metadata",
483
+ "type": "tuple"
484
+ }
485
+ ],
486
+ "stateMutability": "view",
487
+ "type": "function"
488
+ },
489
+ {
490
+ "inputs": [
491
+ {
492
+ "internalType": "NftId",
493
+ "name": "policyNftId",
494
+ "type": "uint96"
495
+ },
496
+ {
497
+ "internalType": "PayoutId",
498
+ "name": "payoutId",
499
+ "type": "uint24"
500
+ }
501
+ ],
502
+ "name": "getPayoutInfo",
503
+ "outputs": [
504
+ {
505
+ "components": [
506
+ {
507
+ "internalType": "ClaimId",
508
+ "name": "claimId",
509
+ "type": "uint16"
510
+ },
511
+ {
512
+ "internalType": "Amount",
513
+ "name": "amount",
514
+ "type": "uint96"
515
+ },
516
+ {
517
+ "internalType": "address",
518
+ "name": "beneficiary",
519
+ "type": "address"
520
+ },
521
+ {
522
+ "internalType": "bytes",
523
+ "name": "data",
524
+ "type": "bytes"
525
+ },
526
+ {
527
+ "internalType": "Timestamp",
528
+ "name": "paidAt",
529
+ "type": "uint40"
530
+ }
531
+ ],
532
+ "internalType": "struct IPolicy.PayoutInfo",
533
+ "name": "info",
534
+ "type": "tuple"
535
+ }
536
+ ],
537
+ "stateMutability": "view",
538
+ "type": "function"
539
+ },
540
+ {
541
+ "inputs": [
542
+ {
543
+ "internalType": "NftId",
544
+ "name": "policyNftId",
545
+ "type": "uint96"
546
+ },
547
+ {
548
+ "internalType": "PayoutId",
549
+ "name": "payoutId",
550
+ "type": "uint24"
551
+ }
552
+ ],
553
+ "name": "getPayoutState",
554
+ "outputs": [
555
+ {
556
+ "internalType": "StateId",
557
+ "name": "state",
558
+ "type": "uint8"
559
+ }
560
+ ],
561
+ "stateMutability": "view",
562
+ "type": "function"
563
+ },
564
+ {
565
+ "inputs": [
566
+ {
567
+ "internalType": "NftId",
568
+ "name": "policyNftId",
569
+ "type": "uint96"
570
+ }
571
+ ],
572
+ "name": "getPolicyInfo",
573
+ "outputs": [
574
+ {
575
+ "components": [
576
+ {
577
+ "internalType": "NftId",
578
+ "name": "productNftId",
579
+ "type": "uint96"
580
+ },
581
+ {
582
+ "internalType": "NftId",
583
+ "name": "bundleNftId",
584
+ "type": "uint96"
585
+ },
586
+ {
587
+ "internalType": "ReferralId",
588
+ "name": "referralId",
589
+ "type": "bytes8"
590
+ },
591
+ {
592
+ "internalType": "RiskId",
593
+ "name": "riskId",
594
+ "type": "bytes8"
595
+ },
596
+ {
597
+ "internalType": "Amount",
598
+ "name": "sumInsuredAmount",
599
+ "type": "uint96"
600
+ },
601
+ {
602
+ "internalType": "Amount",
603
+ "name": "premiumAmount",
604
+ "type": "uint96"
605
+ },
606
+ {
607
+ "internalType": "Seconds",
608
+ "name": "lifetime",
609
+ "type": "uint40"
610
+ },
611
+ {
612
+ "internalType": "bytes",
613
+ "name": "applicationData",
614
+ "type": "bytes"
615
+ },
616
+ {
617
+ "internalType": "bytes",
618
+ "name": "processData",
619
+ "type": "bytes"
620
+ },
621
+ {
622
+ "internalType": "uint16",
623
+ "name": "claimsCount",
624
+ "type": "uint16"
625
+ },
626
+ {
627
+ "internalType": "uint16",
628
+ "name": "openClaimsCount",
629
+ "type": "uint16"
630
+ },
631
+ {
632
+ "internalType": "Amount",
633
+ "name": "claimAmount",
634
+ "type": "uint96"
635
+ },
636
+ {
637
+ "internalType": "Amount",
638
+ "name": "payoutAmount",
639
+ "type": "uint96"
640
+ },
641
+ {
642
+ "internalType": "Timestamp",
643
+ "name": "activatedAt",
644
+ "type": "uint40"
645
+ },
646
+ {
647
+ "internalType": "Timestamp",
648
+ "name": "expiredAt",
649
+ "type": "uint40"
650
+ },
651
+ {
652
+ "internalType": "Timestamp",
653
+ "name": "closedAt",
654
+ "type": "uint40"
655
+ }
656
+ ],
657
+ "internalType": "struct IPolicy.PolicyInfo",
658
+ "name": "info",
659
+ "type": "tuple"
660
+ }
661
+ ],
662
+ "stateMutability": "view",
663
+ "type": "function"
664
+ },
665
+ {
666
+ "inputs": [
667
+ {
668
+ "internalType": "NftId",
669
+ "name": "policyNftId",
670
+ "type": "uint96"
671
+ }
672
+ ],
673
+ "name": "getPolicyState",
674
+ "outputs": [
675
+ {
676
+ "internalType": "StateId",
677
+ "name": "state",
678
+ "type": "uint8"
679
+ }
680
+ ],
681
+ "stateMutability": "view",
682
+ "type": "function"
683
+ },
684
+ {
685
+ "inputs": [
686
+ {
687
+ "internalType": "NftId",
688
+ "name": "poolNftId",
689
+ "type": "uint96"
690
+ }
691
+ ],
692
+ "name": "getPoolInfo",
693
+ "outputs": [
694
+ {
695
+ "components": [
696
+ {
697
+ "internalType": "Amount",
698
+ "name": "maxBalanceAmount",
699
+ "type": "uint96"
700
+ },
701
+ {
702
+ "internalType": "RoleId",
703
+ "name": "bundleOwnerRole",
704
+ "type": "uint64"
705
+ },
706
+ {
707
+ "internalType": "bool",
708
+ "name": "isInterceptingBundleTransfers",
709
+ "type": "bool"
710
+ },
711
+ {
712
+ "internalType": "bool",
713
+ "name": "isExternallyManaged",
714
+ "type": "bool"
715
+ },
716
+ {
717
+ "internalType": "bool",
718
+ "name": "isVerifyingApplications",
719
+ "type": "bool"
720
+ },
721
+ {
722
+ "internalType": "UFixed",
723
+ "name": "collateralizationLevel",
724
+ "type": "uint256"
725
+ },
726
+ {
727
+ "internalType": "UFixed",
728
+ "name": "retentionLevel",
729
+ "type": "uint256"
730
+ }
731
+ ],
732
+ "internalType": "struct IComponents.PoolInfo",
733
+ "name": "info",
734
+ "type": "tuple"
735
+ }
736
+ ],
737
+ "stateMutability": "view",
738
+ "type": "function"
739
+ },
740
+ {
741
+ "inputs": [
742
+ {
743
+ "internalType": "NftId",
744
+ "name": "policyNftId",
745
+ "type": "uint96"
746
+ }
747
+ ],
748
+ "name": "getPremiumInfo",
749
+ "outputs": [
750
+ {
751
+ "components": [
752
+ {
753
+ "internalType": "Amount",
754
+ "name": "productFeeAmount",
755
+ "type": "uint96"
756
+ },
757
+ {
758
+ "internalType": "Amount",
759
+ "name": "distributionFeeAndCommissionAmount",
760
+ "type": "uint96"
761
+ },
762
+ {
763
+ "internalType": "Amount",
764
+ "name": "poolPremiumAndFeeAmount",
765
+ "type": "uint96"
766
+ },
767
+ {
768
+ "internalType": "Amount",
769
+ "name": "netPremiumAmount",
770
+ "type": "uint96"
771
+ },
772
+ {
773
+ "internalType": "Amount",
774
+ "name": "fullPremiumAmount",
775
+ "type": "uint96"
776
+ },
777
+ {
778
+ "internalType": "Amount",
779
+ "name": "premiumAmount",
780
+ "type": "uint96"
781
+ },
782
+ {
783
+ "internalType": "Amount",
784
+ "name": "productFeeFixAmount",
785
+ "type": "uint96"
786
+ },
787
+ {
788
+ "internalType": "Amount",
789
+ "name": "poolFeeFixAmount",
790
+ "type": "uint96"
791
+ },
792
+ {
793
+ "internalType": "Amount",
794
+ "name": "bundleFeeFixAmount",
795
+ "type": "uint96"
796
+ },
797
+ {
798
+ "internalType": "Amount",
799
+ "name": "distributionFeeFixAmount",
800
+ "type": "uint96"
801
+ },
802
+ {
803
+ "internalType": "Amount",
804
+ "name": "productFeeVarAmount",
805
+ "type": "uint96"
806
+ },
807
+ {
808
+ "internalType": "Amount",
809
+ "name": "poolFeeVarAmount",
810
+ "type": "uint96"
811
+ },
812
+ {
813
+ "internalType": "Amount",
814
+ "name": "bundleFeeVarAmount",
815
+ "type": "uint96"
816
+ },
817
+ {
818
+ "internalType": "Amount",
819
+ "name": "distributionFeeVarAmount",
820
+ "type": "uint96"
821
+ },
822
+ {
823
+ "internalType": "Amount",
824
+ "name": "distributionOwnerFeeFixAmount",
825
+ "type": "uint96"
826
+ },
827
+ {
828
+ "internalType": "Amount",
829
+ "name": "distributionOwnerFeeVarAmount",
830
+ "type": "uint96"
831
+ },
832
+ {
833
+ "internalType": "Amount",
834
+ "name": "commissionAmount",
835
+ "type": "uint96"
836
+ },
837
+ {
838
+ "internalType": "Amount",
839
+ "name": "discountAmount",
840
+ "type": "uint96"
841
+ }
842
+ ],
843
+ "internalType": "struct IPolicy.PremiumInfo",
844
+ "name": "info",
845
+ "type": "tuple"
846
+ }
847
+ ],
848
+ "stateMutability": "view",
849
+ "type": "function"
850
+ },
851
+ {
852
+ "inputs": [
853
+ {
854
+ "internalType": "NftId",
855
+ "name": "policyNftId",
856
+ "type": "uint96"
857
+ }
858
+ ],
859
+ "name": "getPremiumInfoState",
860
+ "outputs": [
861
+ {
862
+ "internalType": "StateId",
863
+ "name": "state",
864
+ "type": "uint8"
865
+ }
866
+ ],
867
+ "stateMutability": "view",
868
+ "type": "function"
869
+ },
870
+ {
871
+ "inputs": [
872
+ {
873
+ "internalType": "NftId",
874
+ "name": "productNftId",
875
+ "type": "uint96"
876
+ }
877
+ ],
878
+ "name": "getProductInfo",
879
+ "outputs": [
880
+ {
881
+ "components": [
882
+ {
883
+ "internalType": "NftId",
884
+ "name": "distributionNftId",
885
+ "type": "uint96"
886
+ },
887
+ {
888
+ "internalType": "NftId",
889
+ "name": "poolNftId",
890
+ "type": "uint96"
891
+ },
892
+ {
893
+ "components": [
894
+ {
895
+ "internalType": "UFixed",
896
+ "name": "fractionalFee",
897
+ "type": "uint256"
898
+ },
899
+ {
900
+ "internalType": "uint256",
901
+ "name": "fixedFee",
902
+ "type": "uint256"
903
+ }
904
+ ],
905
+ "internalType": "struct Fee",
906
+ "name": "productFee",
907
+ "type": "tuple"
908
+ },
909
+ {
910
+ "components": [
911
+ {
912
+ "internalType": "UFixed",
913
+ "name": "fractionalFee",
914
+ "type": "uint256"
915
+ },
916
+ {
917
+ "internalType": "uint256",
918
+ "name": "fixedFee",
919
+ "type": "uint256"
920
+ }
921
+ ],
922
+ "internalType": "struct Fee",
923
+ "name": "processingFee",
924
+ "type": "tuple"
925
+ },
926
+ {
927
+ "components": [
928
+ {
929
+ "internalType": "UFixed",
930
+ "name": "fractionalFee",
931
+ "type": "uint256"
932
+ },
933
+ {
934
+ "internalType": "uint256",
935
+ "name": "fixedFee",
936
+ "type": "uint256"
937
+ }
938
+ ],
939
+ "internalType": "struct Fee",
940
+ "name": "distributionFee",
941
+ "type": "tuple"
942
+ },
943
+ {
944
+ "components": [
945
+ {
946
+ "internalType": "UFixed",
947
+ "name": "fractionalFee",
948
+ "type": "uint256"
949
+ },
950
+ {
951
+ "internalType": "uint256",
952
+ "name": "fixedFee",
953
+ "type": "uint256"
954
+ }
955
+ ],
956
+ "internalType": "struct Fee",
957
+ "name": "minDistributionOwnerFee",
958
+ "type": "tuple"
959
+ },
960
+ {
961
+ "components": [
962
+ {
963
+ "internalType": "UFixed",
964
+ "name": "fractionalFee",
965
+ "type": "uint256"
966
+ },
967
+ {
968
+ "internalType": "uint256",
969
+ "name": "fixedFee",
970
+ "type": "uint256"
971
+ }
972
+ ],
973
+ "internalType": "struct Fee",
974
+ "name": "poolFee",
975
+ "type": "tuple"
976
+ },
977
+ {
978
+ "components": [
979
+ {
980
+ "internalType": "UFixed",
981
+ "name": "fractionalFee",
982
+ "type": "uint256"
983
+ },
984
+ {
985
+ "internalType": "uint256",
986
+ "name": "fixedFee",
987
+ "type": "uint256"
988
+ }
989
+ ],
990
+ "internalType": "struct Fee",
991
+ "name": "stakingFee",
992
+ "type": "tuple"
993
+ },
994
+ {
995
+ "components": [
996
+ {
997
+ "internalType": "UFixed",
998
+ "name": "fractionalFee",
999
+ "type": "uint256"
1000
+ },
1001
+ {
1002
+ "internalType": "uint256",
1003
+ "name": "fixedFee",
1004
+ "type": "uint256"
1005
+ }
1006
+ ],
1007
+ "internalType": "struct Fee",
1008
+ "name": "performanceFee",
1009
+ "type": "tuple"
1010
+ }
1011
+ ],
1012
+ "internalType": "struct IComponents.ProductInfo",
1013
+ "name": "info",
1014
+ "type": "tuple"
1015
+ }
1016
+ ],
1017
+ "stateMutability": "view",
1018
+ "type": "function"
1019
+ },
1020
+ {
1021
+ "inputs": [
1022
+ {
1023
+ "internalType": "ReferralId",
1024
+ "name": "referralId",
1025
+ "type": "bytes8"
1026
+ }
1027
+ ],
1028
+ "name": "getReferralInfo",
1029
+ "outputs": [
1030
+ {
1031
+ "components": [
1032
+ {
1033
+ "internalType": "NftId",
1034
+ "name": "distributorNftId",
1035
+ "type": "uint96"
1036
+ },
1037
+ {
1038
+ "internalType": "string",
1039
+ "name": "referralCode",
1040
+ "type": "string"
1041
+ },
1042
+ {
1043
+ "internalType": "UFixed",
1044
+ "name": "discountPercentage",
1045
+ "type": "uint256"
1046
+ },
1047
+ {
1048
+ "internalType": "uint32",
1049
+ "name": "maxReferrals",
1050
+ "type": "uint32"
1051
+ },
1052
+ {
1053
+ "internalType": "uint32",
1054
+ "name": "usedReferrals",
1055
+ "type": "uint32"
1056
+ },
1057
+ {
1058
+ "internalType": "Timestamp",
1059
+ "name": "expiryAt",
1060
+ "type": "uint40"
1061
+ },
1062
+ {
1063
+ "internalType": "bytes",
1064
+ "name": "data",
1065
+ "type": "bytes"
1066
+ }
1067
+ ],
1068
+ "internalType": "struct IDistribution.ReferralInfo",
1069
+ "name": "info",
1070
+ "type": "tuple"
1071
+ }
1072
+ ],
1073
+ "stateMutability": "view",
1074
+ "type": "function"
1075
+ },
1076
+ {
1077
+ "inputs": [
1078
+ {
1079
+ "internalType": "RequestId",
1080
+ "name": "requestId",
1081
+ "type": "uint64"
1082
+ }
1083
+ ],
1084
+ "name": "getRequestInfo",
1085
+ "outputs": [
1086
+ {
1087
+ "components": [
1088
+ {
1089
+ "internalType": "NftId",
1090
+ "name": "requesterNftId",
1091
+ "type": "uint96"
1092
+ },
1093
+ {
1094
+ "internalType": "string",
1095
+ "name": "callbackMethodName",
1096
+ "type": "string"
1097
+ },
1098
+ {
1099
+ "internalType": "NftId",
1100
+ "name": "oracleNftId",
1101
+ "type": "uint96"
1102
+ },
1103
+ {
1104
+ "internalType": "bytes",
1105
+ "name": "requestData",
1106
+ "type": "bytes"
1107
+ },
1108
+ {
1109
+ "internalType": "bytes",
1110
+ "name": "responseData",
1111
+ "type": "bytes"
1112
+ },
1113
+ {
1114
+ "internalType": "Timestamp",
1115
+ "name": "respondedAt",
1116
+ "type": "uint40"
1117
+ },
1118
+ {
1119
+ "internalType": "Timestamp",
1120
+ "name": "expiredAt",
1121
+ "type": "uint40"
1122
+ },
1123
+ {
1124
+ "internalType": "bool",
1125
+ "name": "isCancelled",
1126
+ "type": "bool"
1127
+ }
1128
+ ],
1129
+ "internalType": "struct IOracle.RequestInfo",
1130
+ "name": "requestInfo",
1131
+ "type": "tuple"
1132
+ }
1133
+ ],
1134
+ "stateMutability": "view",
1135
+ "type": "function"
1136
+ },
1137
+ {
1138
+ "inputs": [
1139
+ {
1140
+ "internalType": "RiskId",
1141
+ "name": "riskId",
1142
+ "type": "bytes8"
1143
+ }
1144
+ ],
1145
+ "name": "getRiskInfo",
1146
+ "outputs": [
1147
+ {
1148
+ "components": [
1149
+ {
1150
+ "internalType": "NftId",
1151
+ "name": "productNftId",
1152
+ "type": "uint96"
1153
+ },
1154
+ {
1155
+ "internalType": "bytes",
1156
+ "name": "data",
1157
+ "type": "bytes"
1158
+ }
1159
+ ],
1160
+ "internalType": "struct IRisk.RiskInfo",
1161
+ "name": "info",
1162
+ "type": "tuple"
1163
+ }
1164
+ ],
1165
+ "stateMutability": "view",
1166
+ "type": "function"
1167
+ },
1168
+ {
1169
+ "inputs": [
1170
+ {
1171
+ "internalType": "Key32",
1172
+ "name": "key",
1173
+ "type": "bytes32"
1174
+ }
1175
+ ],
1176
+ "name": "getState",
1177
+ "outputs": [
1178
+ {
1179
+ "internalType": "StateId",
1180
+ "name": "state",
1181
+ "type": "uint8"
1182
+ }
1183
+ ],
1184
+ "stateMutability": "view",
1185
+ "type": "function"
1186
+ },
1187
+ {
1188
+ "inputs": [
1189
+ {
1190
+ "internalType": "NftId",
1191
+ "name": "componentNftId",
1192
+ "type": "uint96"
1193
+ }
1194
+ ],
1195
+ "name": "getTokenHandler",
1196
+ "outputs": [
1197
+ {
1198
+ "internalType": "address",
1199
+ "name": "tokenHandler",
1200
+ "type": "address"
1201
+ }
1202
+ ],
1203
+ "stateMutability": "view",
1204
+ "type": "function"
1205
+ },
1206
+ {
1207
+ "inputs": [
1208
+ {
1209
+ "internalType": "address",
1210
+ "name": "account",
1211
+ "type": "address"
1212
+ },
1213
+ {
1214
+ "internalType": "RoleId",
1215
+ "name": "roleId",
1216
+ "type": "uint64"
1217
+ }
1218
+ ],
1219
+ "name": "hasAdminRole",
1220
+ "outputs": [
1221
+ {
1222
+ "internalType": "bool",
1223
+ "name": "isMember",
1224
+ "type": "bool"
1225
+ }
1226
+ ],
1227
+ "stateMutability": "view",
1228
+ "type": "function"
1229
+ },
1230
+ {
1231
+ "inputs": [
1232
+ {
1233
+ "internalType": "address",
1234
+ "name": "account",
1235
+ "type": "address"
1236
+ },
1237
+ {
1238
+ "internalType": "RoleId",
1239
+ "name": "roleId",
1240
+ "type": "uint64"
1241
+ }
1242
+ ],
1243
+ "name": "hasRole",
1244
+ "outputs": [
1245
+ {
1246
+ "internalType": "bool",
1247
+ "name": "isMember",
1248
+ "type": "bool"
1249
+ }
1250
+ ],
1251
+ "stateMutability": "view",
1252
+ "type": "function"
1253
+ },
1254
+ {
1255
+ "inputs": [],
1256
+ "name": "initialize",
1257
+ "outputs": [],
1258
+ "stateMutability": "nonpayable",
1259
+ "type": "function"
1260
+ },
1261
+ {
1262
+ "inputs": [
1263
+ {
1264
+ "internalType": "address",
1265
+ "name": "instanceAddress",
1266
+ "type": "address"
1267
+ }
1268
+ ],
1269
+ "name": "initializeWithInstance",
1270
+ "outputs": [],
1271
+ "stateMutability": "nonpayable",
1272
+ "type": "function"
1273
+ },
1274
+ {
1275
+ "inputs": [
1276
+ {
1277
+ "internalType": "address",
1278
+ "name": "target",
1279
+ "type": "address"
1280
+ }
1281
+ ],
1282
+ "name": "isTargetLocked",
1283
+ "outputs": [
1284
+ {
1285
+ "internalType": "bool",
1286
+ "name": "",
1287
+ "type": "bool"
1288
+ }
1289
+ ],
1290
+ "stateMutability": "view",
1291
+ "type": "function"
1292
+ },
1293
+ {
1294
+ "inputs": [
1295
+ {
1296
+ "internalType": "NftId",
1297
+ "name": "policyNftId",
1298
+ "type": "uint96"
1299
+ }
1300
+ ],
1301
+ "name": "policyIsCloseable",
1302
+ "outputs": [
1303
+ {
1304
+ "internalType": "bool",
1305
+ "name": "isCloseable",
1306
+ "type": "bool"
1307
+ }
1308
+ ],
1309
+ "stateMutability": "view",
1310
+ "type": "function"
1311
+ },
1312
+ {
1313
+ "inputs": [
1314
+ {
1315
+ "internalType": "NftId",
1316
+ "name": "poolNftId",
1317
+ "type": "uint96"
1318
+ }
1319
+ ],
1320
+ "name": "toBundleKey",
1321
+ "outputs": [
1322
+ {
1323
+ "internalType": "Key32",
1324
+ "name": "",
1325
+ "type": "bytes32"
1326
+ }
1327
+ ],
1328
+ "stateMutability": "pure",
1329
+ "type": "function"
1330
+ },
1331
+ {
1332
+ "inputs": [
1333
+ {
1334
+ "internalType": "NftId",
1335
+ "name": "componentNftId",
1336
+ "type": "uint96"
1337
+ }
1338
+ ],
1339
+ "name": "toComponentKey",
1340
+ "outputs": [
1341
+ {
1342
+ "internalType": "Key32",
1343
+ "name": "",
1344
+ "type": "bytes32"
1345
+ }
1346
+ ],
1347
+ "stateMutability": "pure",
1348
+ "type": "function"
1349
+ },
1350
+ {
1351
+ "inputs": [
1352
+ {
1353
+ "internalType": "NftId",
1354
+ "name": "distributionNftId",
1355
+ "type": "uint96"
1356
+ }
1357
+ ],
1358
+ "name": "toDistributionKey",
1359
+ "outputs": [
1360
+ {
1361
+ "internalType": "Key32",
1362
+ "name": "",
1363
+ "type": "bytes32"
1364
+ }
1365
+ ],
1366
+ "stateMutability": "pure",
1367
+ "type": "function"
1368
+ },
1369
+ {
1370
+ "inputs": [
1371
+ {
1372
+ "internalType": "NftId",
1373
+ "name": "distributorNftId",
1374
+ "type": "uint96"
1375
+ }
1376
+ ],
1377
+ "name": "toDistributorKey",
1378
+ "outputs": [
1379
+ {
1380
+ "internalType": "Key32",
1381
+ "name": "",
1382
+ "type": "bytes32"
1383
+ }
1384
+ ],
1385
+ "stateMutability": "pure",
1386
+ "type": "function"
1387
+ },
1388
+ {
1389
+ "inputs": [
1390
+ {
1391
+ "internalType": "UFixed",
1392
+ "name": "value",
1393
+ "type": "uint256"
1394
+ }
1395
+ ],
1396
+ "name": "toInt",
1397
+ "outputs": [
1398
+ {
1399
+ "internalType": "uint256",
1400
+ "name": "",
1401
+ "type": "uint256"
1402
+ }
1403
+ ],
1404
+ "stateMutability": "pure",
1405
+ "type": "function"
1406
+ },
1407
+ {
1408
+ "inputs": [
1409
+ {
1410
+ "internalType": "NftId",
1411
+ "name": "policyNftId",
1412
+ "type": "uint96"
1413
+ }
1414
+ ],
1415
+ "name": "toPolicyKey",
1416
+ "outputs": [
1417
+ {
1418
+ "internalType": "Key32",
1419
+ "name": "",
1420
+ "type": "bytes32"
1421
+ }
1422
+ ],
1423
+ "stateMutability": "pure",
1424
+ "type": "function"
1425
+ },
1426
+ {
1427
+ "inputs": [
1428
+ {
1429
+ "internalType": "NftId",
1430
+ "name": "poolNftId",
1431
+ "type": "uint96"
1432
+ }
1433
+ ],
1434
+ "name": "toPoolKey",
1435
+ "outputs": [
1436
+ {
1437
+ "internalType": "Key32",
1438
+ "name": "",
1439
+ "type": "bytes32"
1440
+ }
1441
+ ],
1442
+ "stateMutability": "pure",
1443
+ "type": "function"
1444
+ },
1445
+ {
1446
+ "inputs": [
1447
+ {
1448
+ "internalType": "NftId",
1449
+ "name": "policyNftId",
1450
+ "type": "uint96"
1451
+ }
1452
+ ],
1453
+ "name": "toPremiumKey",
1454
+ "outputs": [
1455
+ {
1456
+ "internalType": "Key32",
1457
+ "name": "",
1458
+ "type": "bytes32"
1459
+ }
1460
+ ],
1461
+ "stateMutability": "pure",
1462
+ "type": "function"
1463
+ },
1464
+ {
1465
+ "inputs": [
1466
+ {
1467
+ "internalType": "NftId",
1468
+ "name": "productNftId",
1469
+ "type": "uint96"
1470
+ }
1471
+ ],
1472
+ "name": "toProductKey",
1473
+ "outputs": [
1474
+ {
1475
+ "internalType": "Key32",
1476
+ "name": "",
1477
+ "type": "bytes32"
1478
+ }
1479
+ ],
1480
+ "stateMutability": "pure",
1481
+ "type": "function"
1482
+ },
1483
+ {
1484
+ "inputs": [
1485
+ {
1486
+ "internalType": "NftId",
1487
+ "name": "distributionNftId",
1488
+ "type": "uint96"
1489
+ },
1490
+ {
1491
+ "internalType": "string",
1492
+ "name": "referralCode",
1493
+ "type": "string"
1494
+ }
1495
+ ],
1496
+ "name": "toReferralId",
1497
+ "outputs": [
1498
+ {
1499
+ "internalType": "ReferralId",
1500
+ "name": "referralId",
1501
+ "type": "bytes8"
1502
+ }
1503
+ ],
1504
+ "stateMutability": "pure",
1505
+ "type": "function"
1506
+ },
1507
+ {
1508
+ "inputs": [
1509
+ {
1510
+ "internalType": "uint256",
1511
+ "name": "value",
1512
+ "type": "uint256"
1513
+ },
1514
+ {
1515
+ "internalType": "int8",
1516
+ "name": "exp",
1517
+ "type": "int8"
1518
+ }
1519
+ ],
1520
+ "name": "toUFixed",
1521
+ "outputs": [
1522
+ {
1523
+ "internalType": "UFixed",
1524
+ "name": "",
1525
+ "type": "uint256"
1526
+ }
1527
+ ],
1528
+ "stateMutability": "pure",
1529
+ "type": "function"
1530
+ }
1531
+ ],
1532
+ "bytecode": "0x60806040525f805460ff191690553480156017575f80fd5b50614280806100255f395ff3fe608060405234801561000f575f80fd5b506004361061026b575f3560e01c806378ae93501161014b578063b82d7ef5116100bf578063dd26287a11610084578063dd26287a14610696578063de7b5d14146106a9578063e444c3df146106be578063f0ea17c3146106de578063f7f318d3146106fe578063febe92af14610711575f80fd5b8063b82d7ef514610608578063bd7d9d8514610632578063cd55e51b14610652578063d06458c614610665578063d4cda0d814610685575f80fd5b8063887b1fa911610110578063887b1fa91461051b5780638eb9000d1461053b5780639096a1f31461054e578063a310e2a314610561578063a5961b4c1461058c578063a7ef3d21146105e8575f80fd5b806378ae9350146104c75780637bfd3217146104da5780637d8f1e81146104ed5780637e54602a146105005780638129fc1c14610513575f80fd5b806339bb60cd116101e257806357f80bbf116101a757806357f80bbf146104465780635da894021461046657806364eb3a9b1461047957806364fc31421461048c5780636791f7ab1461049f57806375d357df146104b4575f80fd5b806339bb60cd146103b45780633f093cd6146103d457806344aa6836146104005780634793b4ab146104135780634fb784f514610433575f80fd5b80631d3be477116102335780631d3be47714610318578063228e42ec1461033857806326decd401461034b57806327b1d7921461036e57806334bd5be31461038e57806335898f5d146103a1575f80fd5b80630232ca491461026f57806309648a9d1461029f57806309c5844f146102c45780630b5d931c146102d75780631488c845146102f7575b5f80fd5b61028261027d3660046126d9565b610731565b6040516001600160601b0390911681526020015b60405180910390f35b6102b26102ad3660046126f4565b6107ab565b60405160ff9091168152602001610296565b6102b26102d23660046126d9565b610820565b6102ea6102e53660046126d9565b610899565b604051610296919061270b565b61030a6103053660046127ed565b610947565b604051908152602001610296565b61032b610326366004612835565b6109c3565b604051610296919061287e565b6102826103463660046126d9565b610b07565b61035e61035936600461292c565b610b40565b6040519015158152602001610296565b61038161037c3660046126d9565b610c1e565b6040516102969190612947565b61030a61039c3660046126d9565b610cdb565b61030a6103af3660046126d9565b610d72565b6103c76103c23660046129a0565b610d9e565b60405161029691906129d3565b6103e76103e2366004612be4565b610eed565b6040516001600160c01b03199091168152602001610296565b61030a61040e3660046126f4565b610f67565b6104266104213660046126d9565b610fa1565b6040516102969190612c70565b61030a6104413660046126d9565b611042565b6104596104543660046126d9565b61106e565b6040516102969190612cfb565b6102b26104743660046129a0565b61113f565b61030a6104873660046126d9565b611237565b61035e61049a366004612d7c565b611263565b6104b26104ad36600461292c565b611352565b005b61035e6104c23660046126d9565b611425565b6102b26104d5366004612db7565b6116a6565b61030a6104e83660046126d9565b611705565b6102b26104fb3660046126d9565b611731565b61030a61050e3660046126d9565b61174d565b6104b2611779565b61052e610529366004612835565b6117a7565b6040516102969190612de3565b6102826105493660046126d9565b6118c8565b6102b261055c3660046126d9565b611901565b61057461056f3660046126d9565b61191d565b6040516001600160a01b039091168152602001610296565b61059f61059a3660046126f4565b6119c5565b60405161029691905f60808201905060ff835116825260ff602084015116602083015263ffffffff604084015116604083015263ffffffff606084015116606083015292915050565b6105fb6105f6366004612db7565b611a4f565b6040516102969190612e18565b61061b610616366004612835565b611b9c565b6040805192835260ff909116602083015201610296565b6106456106403660046126d9565b611e38565b6040516102969190612ebe565b61035e610660366004612d7c565b611f50565b610678610673366004612835565b612004565b6040516102969190613036565b6001546001600160a01b0316610574565b61030a6106a43660046126d9565b612169565b5f5461010090046001600160a01b0316610574565b6106d16106cc3660046126d9565b612195565b60405161029691906130d7565b6106f16106ec3660046126d9565b6122be565b60405161029691906132c7565b61030a61070c3660046126d9565b612387565b61072461071f366004613351565b6123b3565b604051610296919061336c565b600154604051630232ca4960e01b81526001600160601b03831660048201525f916001600160a01b031690630232ca49906024015b602060405180830381865afa158015610781573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a5919061344a565b92915050565b60015460405163296586d360e21b8152600481018390525f916001600160a01b03169063a5961b4c90602401608060405180830381865afa1580156107f2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610816919061349a565b6020015192915050565b6001545f906001600160a01b03166309648a9d61083c84610cdb565b6040518263ffffffff1660e01b815260040161085a91815260200190565b602060405180830381865afa158015610875573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a59190613501565b6108a1612561565b6001545f906001600160a01b03166354f6127f6108bd85611705565b6040518263ffffffff1660e01b81526004016108db91815260200190565b5f60405180830381865afa1580156108f5573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261091c919081019061356b565b805190915015610941578080602001905181019061093a91906135cb565b9392505050565b50919050565b604051631488c84560e01b8152600481018390525f82810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af415801561099f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061093a919061368c565b6040805160e0810182525f8082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590602401602060405180830381865af4158015610a66573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a8a919061368c565b6040518263ffffffff1660e01b8152600401610aa891815260200190565b5f60405180830381865afa158015610ac2573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610ae9919081019061356b565b805190915015610941578080602001905181019061093a91906136c0565b6001546040516308a390bb60e21b81526001600160601b03831660048201525f916001600160a01b03169063228e42ec90602401610766565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b91573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb591906137a2565b604051629b7b3560e61b81526001600160a01b03848116600483015291909116906326decd4090602401602060405180830381865afa158015610bfa573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a591906137cc565b604080516080810182525f808252602082018190526060928201839052918101919091526001545f906001600160a01b03166354f6127f610c5e8561174d565b6040518263ffffffff1660e01b8152600401610c7c91815260200190565b5f60405180830381865afa158015610c96573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610cbd919081019061356b565b805190915015610941578080602001905181019061093a91906137f0565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660165b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610d4e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a5919061368c565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600e610d03565b6040805160a0810182525f808252602082018190529181018290526060808201526080810191909152600154604051635927341160e01b815262ffffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__90635927341190604401602060405180830381865af4158015610e3d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e61919061368c565b6040518263ffffffff1660e01b8152600401610e7f91815260200190565b5f60405180830381865afa158015610e99573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610ec0919081019061356b565b805190915015610ee65780806020019051810190610ede91906138ab565b9150506107a5565b5092915050565b604051631f849e6b60e11b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd690610f289086908690600401613965565b602060405180830381865af4158015610f43573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061093a9190613986565b604051632255341b60e11b8152600481018290525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401610d33565b610fa961266b565b6001545f906001600160a01b03166354f6127f610fc585612387565b6040518263ffffffff1660e01b8152600401610fe391815260200190565b5f60405180830381865afa158015610ffd573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611024919081019061356b565b805190915015610941578080602001905181019061093a91906139a1565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600b610d03565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091526001545f906001600160a01b03166354f6127f6110c285612169565b6040518263ffffffff1660e01b81526004016110e091815260200190565b5f60405180830381865afa1580156110fa573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611121919081019061356b565b805190915015610941578080602001905181019061093a9190613a65565b600154604051635927341160e01b815262ffffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__906359273411906044015b602060405180830381865af41580156111b6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111da919061368c565b6040518263ffffffff1660e01b81526004016111f891815260200190565b602060405180830381865afa158015611213573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061093a9190613501565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166015610d03565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112b4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112d891906137a2565b60405163327e18a160e11b81526001600160a01b0385811660048301526001600160401b038516602483015291909116906364fc3142906044015b602060405180830381865afa15801561132e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061093a91906137cc565b5f5460ff16156113755760405163ae9eff1b60e01b815260040160405180910390fd5b5f80546001600160a01b038084166101009081026001600160a81b0319909316929092176001179283905560408051631a99b41b60e31b8152905192909304169163d4cda0d89160048083019260209291908290030181865afa1580156113de573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061140291906137a2565b600180546001600160a01b0319166001600160a01b039290921691909117905550565b5f8061143083611e38565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af415801561148c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114b091906137cc565b156114bd57505f92915050565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015611518573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061153c91906137cc565b1561154957505f92915050565b6101e0810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af41580156115a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115c891906137cc565b156115d557505f92915050565b61014081015161ffff16156115ec57505f92915050565b6115ff8161016001518260800151612501565b1561160d5750600192915050565b61169073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611657573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061167b9190613aef565b826101c0015164ffffffffff90811691161090565b1561169d57505f92915050565b50600192915050565b600154604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b229060440161119b565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600c610d03565b6001545f906001600160a01b03166309648a9d61083c84612387565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601d610d03565b5f5460ff161561179c5760405163ae9eff1b60e01b815260040160405180910390fd5b6117a533611352565b565b604080518082019091525f8152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590602401602060405180830381865af4158015611827573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061184b919061368c565b6040518263ffffffff1660e01b815260040161186991815260200190565b5f60405180830381865afa158015611883573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526118aa919081019061356b565b805190915015610941578080602001905181019061093a9190613b0a565b600154604051638eb9000d60e01b81526001600160601b03831660048201525f916001600160a01b031690638eb9000d90602401610766565b6001545f906001600160a01b03166309648a9d61083c84611237565b6001545f9081906001600160a01b03166354f6127f61193b85611042565b6040518263ffffffff1660e01b815260040161195991815260200190565b5f60405180830381865afa158015611973573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261199a919081019061356b565b805190915015610941575f818060200190518101906119b99190613b87565b60600151949350505050565b604080516080810182525f808252602082018190528183018190526060820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015611a2b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a5919061349a565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820181905260a082015260c0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af4158015611afb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b1f919061368c565b6040518263ffffffff1660e01b8152600401611b3d91815260200190565b5f60405180830381865afa158015611b57573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611b7e919081019061356b565b805190915015610ee65780806020019051810190610ede9190613c5f565b5f805f611ba8846109c3565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015611c05573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c2991906137cc565b15611ca65773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611c75573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c99919061368c565b60645b9250925050915091565b611d288160a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611cf5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d199190613aef565b64ffffffffff90811691161090565b15611d9f5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611d74573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d98919061368c565b606e611c9c565b806060015163ffffffff16816080015163ffffffff1610611e2c5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611e01573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e25919061368c565b6078611c9c565b6040810151600a611c9c565b60408051610200810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820181905261010082015261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526001545f906001600160a01b03166354f6127f611ed385611237565b6040518263ffffffff1660e01b8152600401611ef191815260200190565b5f60405180830381865afa158015611f0b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611f32919081019061356b565b805190915015610941578080602001905181019061093a9190613d48565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611fa1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fc591906137a2565b60405163cd55e51b60e01b81526001600160a01b0385811660048301526001600160401b0385166024830152919091169063cd55e51b90604401611313565b61205c604051806101200160405280606081526020015f81526020015f81526020015f81526020015f63ffffffff1681526020015f63ffffffff1681526020015f151581526020015f15158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590602401602060405180830381865af41580156120c8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120ec919061368c565b6040518263ffffffff1660e01b815260040161210a91815260200190565b5f60405180830381865afa158015612124573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261214b919081019061356b565b805190915015610941578080602001905181019061093a9190613edb565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600f610d03565b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e0810182905261020081018290526102208101919091526001545f906001600160a01b03166354f6127f61224185610cdb565b6040518263ffffffff1660e01b815260040161225f91815260200190565b5f60405180830381865afa158015612279573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526122a0919081019061356b565b805190915015610941578080602001905181019061093a9190613fd4565b6040805160c08101825260608082525f602083018190529282018390528082018390526080820183905260a08201526001549091906001600160a01b03166354f6127f61230a85611042565b6040518263ffffffff1660e01b815260040161232891815260200190565b5f60405180830381865afa158015612342573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612369919081019061356b565b805190915015610941578080602001905181019061093a9190613b87565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601f610d03565b60408051610100810182525f808252606060208301819052928201819052828201839052608082019290925260a0810182905260c0810182905260e0810191909152600154604051630f37f38f60e41b81526001600160401b03841660048201525f916001600160a01b0316906354f6127f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015612460573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612484919061368c565b6040518263ffffffff1660e01b81526004016124a291815260200190565b5f60405180830381865afa1580156124bc573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526124e3919081019061356b565b805190915015610941578080602001905181019061093a9190614136565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af415801561132e573d5f803e3d5ffd5b6040518061012001604052805f6001600160601b031681526020015f6001600160601b031681526020016125a660405180604001604052805f81526020015f81525090565b81526020016125c660405180604001604052805f81526020015f81525090565b81526020016125e660405180604001604052805f81526020015f81525090565b815260200161260660405180604001604052805f81526020015f81525090565b815260200161262660405180604001604052805f81526020015f81525090565b815260200161264660405180604001604052805f81526020015f81525090565b815260200161266660405180604001604052805f81526020015f81525090565b905290565b6040518060c001604052805f6001600160601b031681526020016126a060405180604001604052805f81526020015f81525090565b81526060602082018190525f6040830181905290820181905260809091015290565b6001600160601b03811681146126d6575f80fd5b50565b5f602082840312156126e9575f80fd5b813561093a816126c2565b5f60208284031215612704575f80fd5b5035919050565b81516001600160601b03168152602080830151610200830191612738908401826001600160601b03169052565b506040830151612755604084018280518252602090810151910152565b50606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a0830151805161010084015260208101516101208401525060c0830151805161014084015260208101516101608401525060e0830151805161018084015260208101516101a08401525061010083015180516101c084015260208101516101e0840152610ee6565b5f80604083850312156127fe575f80fd5b8235915060208301355f81900b8114612815575f80fd5b809150509250929050565b6001600160c01b0319811681146126d6575f80fd5b5f60208284031215612845575f80fd5b813561093a81612820565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f602083015160e060408401526128ad610100840182612850565b90506040840151606084015263ffffffff606085015116608084015260808401516128e060a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e085015261290f8282612850565b95945050505050565b6001600160a01b03811681146126d6575f80fd5b5f6020828403121561293c575f80fd5b813561093a81612918565b602081526001600160401b0360c01b82511660208201526020820151151560408201525f60408301516080606084015261298460a0840182612850565b905063ffffffff60608501511660808401528091505092915050565b5f80604083850312156129b1575f80fd5b82356129bc816126c2565b9150602083013562ffffff81168114612815575f80fd5b6020815261ffff82511660208201526001600160601b03602083015116604082015260018060a01b0360408301511660608201525f606083015160a06080840152612a2160c0840182612850565b905064ffffffffff60808501511660a08401528091505092915050565b634e487b7160e01b5f52604160045260245ffd5b604051608081016001600160401b0381118282101715612a7457612a74612a3e565b60405290565b604080519081016001600160401b0381118282101715612a7457612a74612a3e565b60405161012081016001600160401b0381118282101715612a7457612a74612a3e565b60405160e081016001600160401b0381118282101715612a7457612a74612a3e565b60405160a081016001600160401b0381118282101715612a7457612a74612a3e565b60405160c081016001600160401b0381118282101715612a7457612a74612a3e565b60405161020081016001600160401b0381118282101715612a7457612a74612a3e565b60405161024081016001600160401b0381118282101715612a7457612a74612a3e565b60405161010081016001600160401b0381118282101715612a7457612a74612a3e565b604051601f8201601f191681016001600160401b0381118282101715612bb657612bb6612a3e565b604052919050565b5f6001600160401b03821115612bd657612bd6612a3e565b50601f01601f191660200190565b5f8060408385031215612bf5575f80fd5b8235612c00816126c2565b915060208301356001600160401b03811115612c1a575f80fd5b8301601f81018513612c2a575f80fd5b8035612c3d612c3882612bbe565b612b8e565b818152866020838501011115612c51575f80fd5b816020840160208301375f602083830101528093505050509250929050565b602081526001600160601b0382511660208201525f6020830151612ca1604084018280518252602090810151910152565b50604083015160e06080840152612cbc610100840182612850565b905064ffffffffff60608501511660a084015264ffffffffff60808501511660c084015264ffffffffff60a08501511660e08401528091505092915050565b5f60e0820190506001600160601b0383511682526001600160401b0360208401511660208301526040830151151560408301526060830151151560608301526080830151612d4d608084018215159052565b5060a083015160a083015260c083015160c083015292915050565b6001600160401b03811681146126d6575f80fd5b5f8060408385031215612d8d575f80fd5b8235612d9881612918565b9150602083013561281581612d68565b61ffff811681146126d6575f80fd5b5f8060408385031215612dc8575f80fd5b8235612dd3816126c2565b9150602083013561281581612da8565b602081526001600160601b0382511660208201525f6020830151604080840152612e106060840182612850565b949350505050565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f6040830151612e54606084018260ff169052565b50606083015160ff8116608084015250608083015160e060a0840152612e7e610100840182612850565b905060a0840151601f198483030160c0850152612e9b8282612850565b91505060c0840151612eb660e085018264ffffffffff169052565b509392505050565b60208152612ed86020820183516001600160601b03169052565b5f6020830151612ef360408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c083015164ffffffffff811660e08401525060e0830151610200610100840152612f79610220840182612850565b9050610100840151601f1984830301610120850152612f988282612850565b915050610120840151612fb261014085018261ffff169052565b5061014084015161ffff8116610160850152506101608401516001600160601b038116610180850152506101808401516001600160601b0381166101a0850152506101a084015164ffffffffff81166101c0850152506101c084015164ffffffffff81166101e0850152506101e084015164ffffffffff8116610200850152612eb6565b602081525f82516101206020840152613053610140840182612850565b9050602084015160408401526040840151606084015260608401516080840152608084015161308a60a085018263ffffffff169052565b5060a084015163ffffffff811660c08501525060c084015180151560e08501525060e084015180151561010085015250610100840151838203601f190161012085015261290f8282612850565b81516001600160601b031681526102408101602083015161310360208401826001600160601b03169052565b50604083015161311e60408401826001600160601b03169052565b50606083015161313960608401826001600160601b03169052565b50608083015161315460808401826001600160601b03169052565b5060a083015161316f60a08401826001600160601b03169052565b5060c083015161318a60c08401826001600160601b03169052565b5060e08301516131a560e08401826001600160601b03169052565b506101008301516131c26101008401826001600160601b03169052565b506101208301516131df6101208401826001600160601b03169052565b506101408301516131fc6101408401826001600160601b03169052565b506101608301516132196101608401826001600160601b03169052565b506101808301516132366101808401826001600160601b03169052565b506101a08301516132536101a08401826001600160601b03169052565b506101c08301516132706101c08401826001600160601b03169052565b506101e083015161328d6101e08401826001600160601b03169052565b506102008301516132aa6102008401826001600160601b03169052565b50610220830151610ee66102208401826001600160601b03169052565b602081525f825160c060208401526132e260e0840182612850565b90506001600160601b03602085015116604084015260018060a01b03604085015116606084015260018060a01b036060850151166080840152608084015161333560a08501826001600160a01b03169052565b5060a0840151838203601f190160c085015261290f8282612850565b5f60208284031215613361575f80fd5b813561093a81612d68565b602081526133866020820183516001600160601b03169052565b5f602083015161010060408401526133a2610120840182612850565b905060408401516133be60608501826001600160601b03169052565b506060840151838203601f190160808501526133da8282612850565b9150506080840151601f198483030160a08501526133f88282612850565b91505060a084015161341360c085018264ffffffffff169052565b5060c084015164ffffffffff811660e08501525060e0840151801515610100850152612eb6565b8051613445816126c2565b919050565b5f6020828403121561345a575f80fd5b815161093a816126c2565b60ff811681146126d6575f80fd5b805161344581613465565b63ffffffff811681146126d6575f80fd5b80516134458161347e565b5f60808284031280156134ab575f80fd5b506134b4612a52565b82516134bf81613465565b815260208301516134cf81613465565b602082015260408301516134e28161347e565b604082015260608301516134f58161347e565b60608201529392505050565b5f60208284031215613511575f80fd5b815161093a81613465565b5f82601f83011261352b575f80fd5b8151602083015f61353e612c3884612bbe565b9050828152858383011115613551575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f6020828403121561357b575f80fd5b81516001600160401b03811115613590575f80fd5b612e108482850161351c565b5f604082840312156135ac575f80fd5b6135b4612a7a565b825181526020928301519281019290925250919050565b5f6102008284031280156135dd575f80fd5b506135e6612a9c565b6135ef8361343a565b81526135fd6020840161343a565b602082015261360f846040850161359c565b6040820152613621846080850161359c565b60608201526136338460c0850161359c565b608082015261364684610100850161359c565b60a082015261365984610140850161359c565b60c082015261366c84610180850161359c565b60e082015261367f846101c0850161359c565b6101008201529392505050565b5f6020828403121561369c575f80fd5b5051919050565b64ffffffffff811681146126d6575f80fd5b8051613445816136a3565b5f602082840312156136d0575f80fd5b81516001600160401b038111156136e5575f80fd5b820160e081850312156136f6575f80fd5b6136fe612abf565b6137078261343a565b815260208201516001600160401b03811115613721575f80fd5b61372d8682850161351c565b602083015250604082810151908201526137496060830161348f565b606082015261375a6080830161348f565b608082015261376b60a083016136b5565b60a082015260c08201516001600160401b03811115613788575f80fd5b6137948682850161351c565b60c083015250949350505050565b5f602082840312156137b2575f80fd5b815161093a81612918565b80518015158114613445575f80fd5b5f602082840312156137dc575f80fd5b61093a826137bd565b805161344581612820565b5f60208284031215613800575f80fd5b81516001600160401b03811115613815575f80fd5b820160808185031215613826575f80fd5b61382e612a52565b815161383981612820565b8152613847602083016137bd565b602082015260408201516001600160401b03811115613864575f80fd5b6138708682850161351c565b604083015250606082015191506138868261347e565b60608101919091529392505050565b805161344581612da8565b805161344581612918565b5f602082840312156138bb575f80fd5b81516001600160401b038111156138d0575f80fd5b820160a081850312156138e1575f80fd5b6138e9612ae1565b81516138f481612da8565b81526020820151613904816126c2565b6020820152604082015161391781612918565b604082015260608201516001600160401b03811115613934575f80fd5b6139408682850161351c565b60608301525060808201519150613956826136a3565b60808101919091529392505050565b6001600160601b0383168152604060208201525f612e106040830184612850565b5f60208284031215613996575f80fd5b815161093a81612820565b5f602082840312156139b1575f80fd5b81516001600160401b038111156139c6575f80fd5b820160e081850312156139d7575f80fd5b6139df612b03565b81516139ea816126c2565b81526139f9856020840161359c565b602082015260608201516001600160401b03811115613a16575f80fd5b613a228682850161351c565b6040830152506080820151613a36816136a3565b6060820152613a4760a083016136b5565b6080820152613a5860c083016136b5565b60a0820152949350505050565b5f60e0828403128015613a76575f80fd5b50613a7f612abf565b8251613a8a816126c2565b81526020830151613a9a81612d68565b6020820152613aab604084016137bd565b6040820152613abc606084016137bd565b6060820152613acd608084016137bd565b608082015260a0838101519082015260c0928301519281019290925250919050565b5f60208284031215613aff575f80fd5b815161093a816136a3565b5f60208284031215613b1a575f80fd5b81516001600160401b03811115613b2f575f80fd5b820160408185031215613b40575f80fd5b613b48612a7a565b8151613b53816126c2565b815260208201516001600160401b03811115613b6d575f80fd5b613b798682850161351c565b602083015250949350505050565b5f60208284031215613b97575f80fd5b81516001600160401b03811115613bac575f80fd5b820160c08185031215613bbd575f80fd5b613bc5612b03565b81516001600160401b03811115613bda575f80fd5b613be68682850161351c565b825250613bf56020830161343a565b6020820152613c06604083016138a0565b6040820152613c17606083016138a0565b6060820152613c28608083016138a0565b608082015260a08201516001600160401b03811115613c45575f80fd5b613c518682850161351c565b60a083015250949350505050565b5f60208284031215613c6f575f80fd5b81516001600160401b03811115613c84575f80fd5b820160e08185031215613c95575f80fd5b613c9d612abf565b613ca68261343a565b8152613cb46020830161343a565b6020820152613cc560408301613473565b6040820152613cd660608301613473565b606082015260808201516001600160401b03811115613cf3575f80fd5b613cff8682850161351c565b60808301525060a08201516001600160401b03811115613d1d575f80fd5b613d298682850161351c565b60a083015250613d3b60c083016136b5565b60c0820152949350505050565b5f60208284031215613d58575f80fd5b81516001600160401b03811115613d6d575f80fd5b82016102008185031215613d7f575f80fd5b613d87612b25565b613d908261343a565b8152613d9e6020830161343a565b6020820152613daf604083016137e5565b6040820152613dc0606083016137e5565b6060820152613dd16080830161343a565b6080820152613de260a0830161343a565b60a0820152613df360c083016136b5565b60c082015260e08201516001600160401b03811115613e10575f80fd5b613e1c8682850161351c565b60e0830152506101008201516001600160401b03811115613e3b575f80fd5b613e478682850161351c565b61010083015250613e5b6101208301613895565b610120820152613e6e6101408301613895565b610140820152613e81610160830161343a565b610160820152613e94610180830161343a565b610180820152613ea76101a083016136b5565b6101a0820152613eba6101c083016136b5565b6101c0820152613ecd6101e083016136b5565b6101e0820152949350505050565b5f60208284031215613eeb575f80fd5b81516001600160401b03811115613f00575f80fd5b82016101208185031215613f12575f80fd5b613f1a612a9c565b81516001600160401b03811115613f2f575f80fd5b613f3b8682850161351c565b825250602082810151908201526040808301519082015260608083015190820152613f686080830161348f565b6080820152613f7960a0830161348f565b60a0820152613f8a60c083016137bd565b60c0820152613f9b60e083016137bd565b60e08201526101008201516001600160401b03811115613fb9575f80fd5b613fc58682850161351c565b61010083015250949350505050565b5f610240828403128015613fe6575f80fd5b50613fef612b48565b613ff88361343a565b81526140066020840161343a565b60208201526140176040840161343a565b60408201526140286060840161343a565b60608201526140396080840161343a565b608082015261404a60a0840161343a565b60a082015261405b60c0840161343a565b60c082015261406c60e0840161343a565b60e082015261407e610100840161343a565b610100820152614091610120840161343a565b6101208201526140a4610140840161343a565b6101408201526140b7610160840161343a565b6101608201526140ca610180840161343a565b6101808201526140dd6101a0840161343a565b6101a08201526140f06101c0840161343a565b6101c08201526141036101e0840161343a565b6101e0820152614116610200840161343a565b610200820152614129610220840161343a565b6102208201529392505050565b5f60208284031215614146575f80fd5b81516001600160401b0381111561415b575f80fd5b8201610100818503121561416d575f80fd5b614175612b6b565b61417e8261343a565b815260208201516001600160401b03811115614198575f80fd5b6141a48682850161351c565b6020830152506141b66040830161343a565b604082015260608201516001600160401b038111156141d3575f80fd5b6141df8682850161351c565b60608301525060808201516001600160401b038111156141fd575f80fd5b6142098682850161351c565b60808301525061421b60a083016136b5565b60a082015261422c60c083016136b5565b60c082015261423d60e083016137bd565b60e082015294935050505056fea26469706673582212205500ea7692b671d19df029bc0b1e17b464952578029d1073fccefde74ef78b5764736f6c634300081a0033",
1533
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b506004361061026b575f3560e01c806378ae93501161014b578063b82d7ef5116100bf578063dd26287a11610084578063dd26287a14610696578063de7b5d14146106a9578063e444c3df146106be578063f0ea17c3146106de578063f7f318d3146106fe578063febe92af14610711575f80fd5b8063b82d7ef514610608578063bd7d9d8514610632578063cd55e51b14610652578063d06458c614610665578063d4cda0d814610685575f80fd5b8063887b1fa911610110578063887b1fa91461051b5780638eb9000d1461053b5780639096a1f31461054e578063a310e2a314610561578063a5961b4c1461058c578063a7ef3d21146105e8575f80fd5b806378ae9350146104c75780637bfd3217146104da5780637d8f1e81146104ed5780637e54602a146105005780638129fc1c14610513575f80fd5b806339bb60cd116101e257806357f80bbf116101a757806357f80bbf146104465780635da894021461046657806364eb3a9b1461047957806364fc31421461048c5780636791f7ab1461049f57806375d357df146104b4575f80fd5b806339bb60cd146103b45780633f093cd6146103d457806344aa6836146104005780634793b4ab146104135780634fb784f514610433575f80fd5b80631d3be477116102335780631d3be47714610318578063228e42ec1461033857806326decd401461034b57806327b1d7921461036e57806334bd5be31461038e57806335898f5d146103a1575f80fd5b80630232ca491461026f57806309648a9d1461029f57806309c5844f146102c45780630b5d931c146102d75780631488c845146102f7575b5f80fd5b61028261027d3660046126d9565b610731565b6040516001600160601b0390911681526020015b60405180910390f35b6102b26102ad3660046126f4565b6107ab565b60405160ff9091168152602001610296565b6102b26102d23660046126d9565b610820565b6102ea6102e53660046126d9565b610899565b604051610296919061270b565b61030a6103053660046127ed565b610947565b604051908152602001610296565b61032b610326366004612835565b6109c3565b604051610296919061287e565b6102826103463660046126d9565b610b07565b61035e61035936600461292c565b610b40565b6040519015158152602001610296565b61038161037c3660046126d9565b610c1e565b6040516102969190612947565b61030a61039c3660046126d9565b610cdb565b61030a6103af3660046126d9565b610d72565b6103c76103c23660046129a0565b610d9e565b60405161029691906129d3565b6103e76103e2366004612be4565b610eed565b6040516001600160c01b03199091168152602001610296565b61030a61040e3660046126f4565b610f67565b6104266104213660046126d9565b610fa1565b6040516102969190612c70565b61030a6104413660046126d9565b611042565b6104596104543660046126d9565b61106e565b6040516102969190612cfb565b6102b26104743660046129a0565b61113f565b61030a6104873660046126d9565b611237565b61035e61049a366004612d7c565b611263565b6104b26104ad36600461292c565b611352565b005b61035e6104c23660046126d9565b611425565b6102b26104d5366004612db7565b6116a6565b61030a6104e83660046126d9565b611705565b6102b26104fb3660046126d9565b611731565b61030a61050e3660046126d9565b61174d565b6104b2611779565b61052e610529366004612835565b6117a7565b6040516102969190612de3565b6102826105493660046126d9565b6118c8565b6102b261055c3660046126d9565b611901565b61057461056f3660046126d9565b61191d565b6040516001600160a01b039091168152602001610296565b61059f61059a3660046126f4565b6119c5565b60405161029691905f60808201905060ff835116825260ff602084015116602083015263ffffffff604084015116604083015263ffffffff606084015116606083015292915050565b6105fb6105f6366004612db7565b611a4f565b6040516102969190612e18565b61061b610616366004612835565b611b9c565b6040805192835260ff909116602083015201610296565b6106456106403660046126d9565b611e38565b6040516102969190612ebe565b61035e610660366004612d7c565b611f50565b610678610673366004612835565b612004565b6040516102969190613036565b6001546001600160a01b0316610574565b61030a6106a43660046126d9565b612169565b5f5461010090046001600160a01b0316610574565b6106d16106cc3660046126d9565b612195565b60405161029691906130d7565b6106f16106ec3660046126d9565b6122be565b60405161029691906132c7565b61030a61070c3660046126d9565b612387565b61072461071f366004613351565b6123b3565b604051610296919061336c565b600154604051630232ca4960e01b81526001600160601b03831660048201525f916001600160a01b031690630232ca49906024015b602060405180830381865afa158015610781573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a5919061344a565b92915050565b60015460405163296586d360e21b8152600481018390525f916001600160a01b03169063a5961b4c90602401608060405180830381865afa1580156107f2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610816919061349a565b6020015192915050565b6001545f906001600160a01b03166309648a9d61083c84610cdb565b6040518263ffffffff1660e01b815260040161085a91815260200190565b602060405180830381865afa158015610875573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a59190613501565b6108a1612561565b6001545f906001600160a01b03166354f6127f6108bd85611705565b6040518263ffffffff1660e01b81526004016108db91815260200190565b5f60405180830381865afa1580156108f5573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261091c919081019061356b565b805190915015610941578080602001905181019061093a91906135cb565b9392505050565b50919050565b604051631488c84560e01b8152600481018390525f82810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af415801561099f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061093a919061368c565b6040805160e0810182525f8082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590602401602060405180830381865af4158015610a66573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a8a919061368c565b6040518263ffffffff1660e01b8152600401610aa891815260200190565b5f60405180830381865afa158015610ac2573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610ae9919081019061356b565b805190915015610941578080602001905181019061093a91906136c0565b6001546040516308a390bb60e21b81526001600160601b03831660048201525f916001600160a01b03169063228e42ec90602401610766565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b91573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb591906137a2565b604051629b7b3560e61b81526001600160a01b03848116600483015291909116906326decd4090602401602060405180830381865afa158015610bfa573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a591906137cc565b604080516080810182525f808252602082018190526060928201839052918101919091526001545f906001600160a01b03166354f6127f610c5e8561174d565b6040518263ffffffff1660e01b8152600401610c7c91815260200190565b5f60405180830381865afa158015610c96573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610cbd919081019061356b565b805190915015610941578080602001905181019061093a91906137f0565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660165b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610d4e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a5919061368c565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600e610d03565b6040805160a0810182525f808252602082018190529181018290526060808201526080810191909152600154604051635927341160e01b815262ffffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__90635927341190604401602060405180830381865af4158015610e3d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e61919061368c565b6040518263ffffffff1660e01b8152600401610e7f91815260200190565b5f60405180830381865afa158015610e99573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610ec0919081019061356b565b805190915015610ee65780806020019051810190610ede91906138ab565b9150506107a5565b5092915050565b604051631f849e6b60e11b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd690610f289086908690600401613965565b602060405180830381865af4158015610f43573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061093a9190613986565b604051632255341b60e11b8152600481018290525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401610d33565b610fa961266b565b6001545f906001600160a01b03166354f6127f610fc585612387565b6040518263ffffffff1660e01b8152600401610fe391815260200190565b5f60405180830381865afa158015610ffd573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611024919081019061356b565b805190915015610941578080602001905181019061093a91906139a1565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600b610d03565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091526001545f906001600160a01b03166354f6127f6110c285612169565b6040518263ffffffff1660e01b81526004016110e091815260200190565b5f60405180830381865afa1580156110fa573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611121919081019061356b565b805190915015610941578080602001905181019061093a9190613a65565b600154604051635927341160e01b815262ffffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__906359273411906044015b602060405180830381865af41580156111b6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111da919061368c565b6040518263ffffffff1660e01b81526004016111f891815260200190565b602060405180830381865afa158015611213573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061093a9190613501565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166015610d03565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112b4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112d891906137a2565b60405163327e18a160e11b81526001600160a01b0385811660048301526001600160401b038516602483015291909116906364fc3142906044015b602060405180830381865afa15801561132e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061093a91906137cc565b5f5460ff16156113755760405163ae9eff1b60e01b815260040160405180910390fd5b5f80546001600160a01b038084166101009081026001600160a81b0319909316929092176001179283905560408051631a99b41b60e31b8152905192909304169163d4cda0d89160048083019260209291908290030181865afa1580156113de573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061140291906137a2565b600180546001600160a01b0319166001600160a01b039290921691909117905550565b5f8061143083611e38565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af415801561148c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114b091906137cc565b156114bd57505f92915050565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015611518573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061153c91906137cc565b1561154957505f92915050565b6101e0810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af41580156115a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115c891906137cc565b156115d557505f92915050565b61014081015161ffff16156115ec57505f92915050565b6115ff8161016001518260800151612501565b1561160d5750600192915050565b61169073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611657573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061167b9190613aef565b826101c0015164ffffffffff90811691161090565b1561169d57505f92915050565b50600192915050565b600154604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b229060440161119b565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600c610d03565b6001545f906001600160a01b03166309648a9d61083c84612387565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601d610d03565b5f5460ff161561179c5760405163ae9eff1b60e01b815260040160405180910390fd5b6117a533611352565b565b604080518082019091525f8152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590602401602060405180830381865af4158015611827573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061184b919061368c565b6040518263ffffffff1660e01b815260040161186991815260200190565b5f60405180830381865afa158015611883573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526118aa919081019061356b565b805190915015610941578080602001905181019061093a9190613b0a565b600154604051638eb9000d60e01b81526001600160601b03831660048201525f916001600160a01b031690638eb9000d90602401610766565b6001545f906001600160a01b03166309648a9d61083c84611237565b6001545f9081906001600160a01b03166354f6127f61193b85611042565b6040518263ffffffff1660e01b815260040161195991815260200190565b5f60405180830381865afa158015611973573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261199a919081019061356b565b805190915015610941575f818060200190518101906119b99190613b87565b60600151949350505050565b604080516080810182525f808252602082018190528183018190526060820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015611a2b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a5919061349a565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820181905260a082015260c0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af4158015611afb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b1f919061368c565b6040518263ffffffff1660e01b8152600401611b3d91815260200190565b5f60405180830381865afa158015611b57573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611b7e919081019061356b565b805190915015610ee65780806020019051810190610ede9190613c5f565b5f805f611ba8846109c3565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015611c05573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c2991906137cc565b15611ca65773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611c75573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c99919061368c565b60645b9250925050915091565b611d288160a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611cf5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d199190613aef565b64ffffffffff90811691161090565b15611d9f5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611d74573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d98919061368c565b606e611c9c565b806060015163ffffffff16816080015163ffffffff1610611e2c5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611e01573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e25919061368c565b6078611c9c565b6040810151600a611c9c565b60408051610200810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820181905261010082015261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526001545f906001600160a01b03166354f6127f611ed385611237565b6040518263ffffffff1660e01b8152600401611ef191815260200190565b5f60405180830381865afa158015611f0b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611f32919081019061356b565b805190915015610941578080602001905181019061093a9190613d48565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611fa1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fc591906137a2565b60405163cd55e51b60e01b81526001600160a01b0385811660048301526001600160401b0385166024830152919091169063cd55e51b90604401611313565b61205c604051806101200160405280606081526020015f81526020015f81526020015f81526020015f63ffffffff1681526020015f63ffffffff1681526020015f151581526020015f15158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590602401602060405180830381865af41580156120c8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120ec919061368c565b6040518263ffffffff1660e01b815260040161210a91815260200190565b5f60405180830381865afa158015612124573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261214b919081019061356b565b805190915015610941578080602001905181019061093a9190613edb565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600f610d03565b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e0810182905261020081018290526102208101919091526001545f906001600160a01b03166354f6127f61224185610cdb565b6040518263ffffffff1660e01b815260040161225f91815260200190565b5f60405180830381865afa158015612279573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526122a0919081019061356b565b805190915015610941578080602001905181019061093a9190613fd4565b6040805160c08101825260608082525f602083018190529282018390528082018390526080820183905260a08201526001549091906001600160a01b03166354f6127f61230a85611042565b6040518263ffffffff1660e01b815260040161232891815260200190565b5f60405180830381865afa158015612342573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612369919081019061356b565b805190915015610941578080602001905181019061093a9190613b87565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601f610d03565b60408051610100810182525f808252606060208301819052928201819052828201839052608082019290925260a0810182905260c0810182905260e0810191909152600154604051630f37f38f60e41b81526001600160401b03841660048201525f916001600160a01b0316906354f6127f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015612460573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612484919061368c565b6040518263ffffffff1660e01b81526004016124a291815260200190565b5f60405180830381865afa1580156124bc573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526124e3919081019061356b565b805190915015610941578080602001905181019061093a9190614136565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af415801561132e573d5f803e3d5ffd5b6040518061012001604052805f6001600160601b031681526020015f6001600160601b031681526020016125a660405180604001604052805f81526020015f81525090565b81526020016125c660405180604001604052805f81526020015f81525090565b81526020016125e660405180604001604052805f81526020015f81525090565b815260200161260660405180604001604052805f81526020015f81525090565b815260200161262660405180604001604052805f81526020015f81525090565b815260200161264660405180604001604052805f81526020015f81525090565b815260200161266660405180604001604052805f81526020015f81525090565b905290565b6040518060c001604052805f6001600160601b031681526020016126a060405180604001604052805f81526020015f81525090565b81526060602082018190525f6040830181905290820181905260809091015290565b6001600160601b03811681146126d6575f80fd5b50565b5f602082840312156126e9575f80fd5b813561093a816126c2565b5f60208284031215612704575f80fd5b5035919050565b81516001600160601b03168152602080830151610200830191612738908401826001600160601b03169052565b506040830151612755604084018280518252602090810151910152565b50606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a0830151805161010084015260208101516101208401525060c0830151805161014084015260208101516101608401525060e0830151805161018084015260208101516101a08401525061010083015180516101c084015260208101516101e0840152610ee6565b5f80604083850312156127fe575f80fd5b8235915060208301355f81900b8114612815575f80fd5b809150509250929050565b6001600160c01b0319811681146126d6575f80fd5b5f60208284031215612845575f80fd5b813561093a81612820565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f602083015160e060408401526128ad610100840182612850565b90506040840151606084015263ffffffff606085015116608084015260808401516128e060a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e085015261290f8282612850565b95945050505050565b6001600160a01b03811681146126d6575f80fd5b5f6020828403121561293c575f80fd5b813561093a81612918565b602081526001600160401b0360c01b82511660208201526020820151151560408201525f60408301516080606084015261298460a0840182612850565b905063ffffffff60608501511660808401528091505092915050565b5f80604083850312156129b1575f80fd5b82356129bc816126c2565b9150602083013562ffffff81168114612815575f80fd5b6020815261ffff82511660208201526001600160601b03602083015116604082015260018060a01b0360408301511660608201525f606083015160a06080840152612a2160c0840182612850565b905064ffffffffff60808501511660a08401528091505092915050565b634e487b7160e01b5f52604160045260245ffd5b604051608081016001600160401b0381118282101715612a7457612a74612a3e565b60405290565b604080519081016001600160401b0381118282101715612a7457612a74612a3e565b60405161012081016001600160401b0381118282101715612a7457612a74612a3e565b60405160e081016001600160401b0381118282101715612a7457612a74612a3e565b60405160a081016001600160401b0381118282101715612a7457612a74612a3e565b60405160c081016001600160401b0381118282101715612a7457612a74612a3e565b60405161020081016001600160401b0381118282101715612a7457612a74612a3e565b60405161024081016001600160401b0381118282101715612a7457612a74612a3e565b60405161010081016001600160401b0381118282101715612a7457612a74612a3e565b604051601f8201601f191681016001600160401b0381118282101715612bb657612bb6612a3e565b604052919050565b5f6001600160401b03821115612bd657612bd6612a3e565b50601f01601f191660200190565b5f8060408385031215612bf5575f80fd5b8235612c00816126c2565b915060208301356001600160401b03811115612c1a575f80fd5b8301601f81018513612c2a575f80fd5b8035612c3d612c3882612bbe565b612b8e565b818152866020838501011115612c51575f80fd5b816020840160208301375f602083830101528093505050509250929050565b602081526001600160601b0382511660208201525f6020830151612ca1604084018280518252602090810151910152565b50604083015160e06080840152612cbc610100840182612850565b905064ffffffffff60608501511660a084015264ffffffffff60808501511660c084015264ffffffffff60a08501511660e08401528091505092915050565b5f60e0820190506001600160601b0383511682526001600160401b0360208401511660208301526040830151151560408301526060830151151560608301526080830151612d4d608084018215159052565b5060a083015160a083015260c083015160c083015292915050565b6001600160401b03811681146126d6575f80fd5b5f8060408385031215612d8d575f80fd5b8235612d9881612918565b9150602083013561281581612d68565b61ffff811681146126d6575f80fd5b5f8060408385031215612dc8575f80fd5b8235612dd3816126c2565b9150602083013561281581612da8565b602081526001600160601b0382511660208201525f6020830151604080840152612e106060840182612850565b949350505050565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f6040830151612e54606084018260ff169052565b50606083015160ff8116608084015250608083015160e060a0840152612e7e610100840182612850565b905060a0840151601f198483030160c0850152612e9b8282612850565b91505060c0840151612eb660e085018264ffffffffff169052565b509392505050565b60208152612ed86020820183516001600160601b03169052565b5f6020830151612ef360408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c083015164ffffffffff811660e08401525060e0830151610200610100840152612f79610220840182612850565b9050610100840151601f1984830301610120850152612f988282612850565b915050610120840151612fb261014085018261ffff169052565b5061014084015161ffff8116610160850152506101608401516001600160601b038116610180850152506101808401516001600160601b0381166101a0850152506101a084015164ffffffffff81166101c0850152506101c084015164ffffffffff81166101e0850152506101e084015164ffffffffff8116610200850152612eb6565b602081525f82516101206020840152613053610140840182612850565b9050602084015160408401526040840151606084015260608401516080840152608084015161308a60a085018263ffffffff169052565b5060a084015163ffffffff811660c08501525060c084015180151560e08501525060e084015180151561010085015250610100840151838203601f190161012085015261290f8282612850565b81516001600160601b031681526102408101602083015161310360208401826001600160601b03169052565b50604083015161311e60408401826001600160601b03169052565b50606083015161313960608401826001600160601b03169052565b50608083015161315460808401826001600160601b03169052565b5060a083015161316f60a08401826001600160601b03169052565b5060c083015161318a60c08401826001600160601b03169052565b5060e08301516131a560e08401826001600160601b03169052565b506101008301516131c26101008401826001600160601b03169052565b506101208301516131df6101208401826001600160601b03169052565b506101408301516131fc6101408401826001600160601b03169052565b506101608301516132196101608401826001600160601b03169052565b506101808301516132366101808401826001600160601b03169052565b506101a08301516132536101a08401826001600160601b03169052565b506101c08301516132706101c08401826001600160601b03169052565b506101e083015161328d6101e08401826001600160601b03169052565b506102008301516132aa6102008401826001600160601b03169052565b50610220830151610ee66102208401826001600160601b03169052565b602081525f825160c060208401526132e260e0840182612850565b90506001600160601b03602085015116604084015260018060a01b03604085015116606084015260018060a01b036060850151166080840152608084015161333560a08501826001600160a01b03169052565b5060a0840151838203601f190160c085015261290f8282612850565b5f60208284031215613361575f80fd5b813561093a81612d68565b602081526133866020820183516001600160601b03169052565b5f602083015161010060408401526133a2610120840182612850565b905060408401516133be60608501826001600160601b03169052565b506060840151838203601f190160808501526133da8282612850565b9150506080840151601f198483030160a08501526133f88282612850565b91505060a084015161341360c085018264ffffffffff169052565b5060c084015164ffffffffff811660e08501525060e0840151801515610100850152612eb6565b8051613445816126c2565b919050565b5f6020828403121561345a575f80fd5b815161093a816126c2565b60ff811681146126d6575f80fd5b805161344581613465565b63ffffffff811681146126d6575f80fd5b80516134458161347e565b5f60808284031280156134ab575f80fd5b506134b4612a52565b82516134bf81613465565b815260208301516134cf81613465565b602082015260408301516134e28161347e565b604082015260608301516134f58161347e565b60608201529392505050565b5f60208284031215613511575f80fd5b815161093a81613465565b5f82601f83011261352b575f80fd5b8151602083015f61353e612c3884612bbe565b9050828152858383011115613551575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f6020828403121561357b575f80fd5b81516001600160401b03811115613590575f80fd5b612e108482850161351c565b5f604082840312156135ac575f80fd5b6135b4612a7a565b825181526020928301519281019290925250919050565b5f6102008284031280156135dd575f80fd5b506135e6612a9c565b6135ef8361343a565b81526135fd6020840161343a565b602082015261360f846040850161359c565b6040820152613621846080850161359c565b60608201526136338460c0850161359c565b608082015261364684610100850161359c565b60a082015261365984610140850161359c565b60c082015261366c84610180850161359c565b60e082015261367f846101c0850161359c565b6101008201529392505050565b5f6020828403121561369c575f80fd5b5051919050565b64ffffffffff811681146126d6575f80fd5b8051613445816136a3565b5f602082840312156136d0575f80fd5b81516001600160401b038111156136e5575f80fd5b820160e081850312156136f6575f80fd5b6136fe612abf565b6137078261343a565b815260208201516001600160401b03811115613721575f80fd5b61372d8682850161351c565b602083015250604082810151908201526137496060830161348f565b606082015261375a6080830161348f565b608082015261376b60a083016136b5565b60a082015260c08201516001600160401b03811115613788575f80fd5b6137948682850161351c565b60c083015250949350505050565b5f602082840312156137b2575f80fd5b815161093a81612918565b80518015158114613445575f80fd5b5f602082840312156137dc575f80fd5b61093a826137bd565b805161344581612820565b5f60208284031215613800575f80fd5b81516001600160401b03811115613815575f80fd5b820160808185031215613826575f80fd5b61382e612a52565b815161383981612820565b8152613847602083016137bd565b602082015260408201516001600160401b03811115613864575f80fd5b6138708682850161351c565b604083015250606082015191506138868261347e565b60608101919091529392505050565b805161344581612da8565b805161344581612918565b5f602082840312156138bb575f80fd5b81516001600160401b038111156138d0575f80fd5b820160a081850312156138e1575f80fd5b6138e9612ae1565b81516138f481612da8565b81526020820151613904816126c2565b6020820152604082015161391781612918565b604082015260608201516001600160401b03811115613934575f80fd5b6139408682850161351c565b60608301525060808201519150613956826136a3565b60808101919091529392505050565b6001600160601b0383168152604060208201525f612e106040830184612850565b5f60208284031215613996575f80fd5b815161093a81612820565b5f602082840312156139b1575f80fd5b81516001600160401b038111156139c6575f80fd5b820160e081850312156139d7575f80fd5b6139df612b03565b81516139ea816126c2565b81526139f9856020840161359c565b602082015260608201516001600160401b03811115613a16575f80fd5b613a228682850161351c565b6040830152506080820151613a36816136a3565b6060820152613a4760a083016136b5565b6080820152613a5860c083016136b5565b60a0820152949350505050565b5f60e0828403128015613a76575f80fd5b50613a7f612abf565b8251613a8a816126c2565b81526020830151613a9a81612d68565b6020820152613aab604084016137bd565b6040820152613abc606084016137bd565b6060820152613acd608084016137bd565b608082015260a0838101519082015260c0928301519281019290925250919050565b5f60208284031215613aff575f80fd5b815161093a816136a3565b5f60208284031215613b1a575f80fd5b81516001600160401b03811115613b2f575f80fd5b820160408185031215613b40575f80fd5b613b48612a7a565b8151613b53816126c2565b815260208201516001600160401b03811115613b6d575f80fd5b613b798682850161351c565b602083015250949350505050565b5f60208284031215613b97575f80fd5b81516001600160401b03811115613bac575f80fd5b820160c08185031215613bbd575f80fd5b613bc5612b03565b81516001600160401b03811115613bda575f80fd5b613be68682850161351c565b825250613bf56020830161343a565b6020820152613c06604083016138a0565b6040820152613c17606083016138a0565b6060820152613c28608083016138a0565b608082015260a08201516001600160401b03811115613c45575f80fd5b613c518682850161351c565b60a083015250949350505050565b5f60208284031215613c6f575f80fd5b81516001600160401b03811115613c84575f80fd5b820160e08185031215613c95575f80fd5b613c9d612abf565b613ca68261343a565b8152613cb46020830161343a565b6020820152613cc560408301613473565b6040820152613cd660608301613473565b606082015260808201516001600160401b03811115613cf3575f80fd5b613cff8682850161351c565b60808301525060a08201516001600160401b03811115613d1d575f80fd5b613d298682850161351c565b60a083015250613d3b60c083016136b5565b60c0820152949350505050565b5f60208284031215613d58575f80fd5b81516001600160401b03811115613d6d575f80fd5b82016102008185031215613d7f575f80fd5b613d87612b25565b613d908261343a565b8152613d9e6020830161343a565b6020820152613daf604083016137e5565b6040820152613dc0606083016137e5565b6060820152613dd16080830161343a565b6080820152613de260a0830161343a565b60a0820152613df360c083016136b5565b60c082015260e08201516001600160401b03811115613e10575f80fd5b613e1c8682850161351c565b60e0830152506101008201516001600160401b03811115613e3b575f80fd5b613e478682850161351c565b61010083015250613e5b6101208301613895565b610120820152613e6e6101408301613895565b610140820152613e81610160830161343a565b610160820152613e94610180830161343a565b610180820152613ea76101a083016136b5565b6101a0820152613eba6101c083016136b5565b6101c0820152613ecd6101e083016136b5565b6101e0820152949350505050565b5f60208284031215613eeb575f80fd5b81516001600160401b03811115613f00575f80fd5b82016101208185031215613f12575f80fd5b613f1a612a9c565b81516001600160401b03811115613f2f575f80fd5b613f3b8682850161351c565b825250602082810151908201526040808301519082015260608083015190820152613f686080830161348f565b6080820152613f7960a0830161348f565b60a0820152613f8a60c083016137bd565b60c0820152613f9b60e083016137bd565b60e08201526101008201516001600160401b03811115613fb9575f80fd5b613fc58682850161351c565b61010083015250949350505050565b5f610240828403128015613fe6575f80fd5b50613fef612b48565b613ff88361343a565b81526140066020840161343a565b60208201526140176040840161343a565b60408201526140286060840161343a565b60608201526140396080840161343a565b608082015261404a60a0840161343a565b60a082015261405b60c0840161343a565b60c082015261406c60e0840161343a565b60e082015261407e610100840161343a565b610100820152614091610120840161343a565b6101208201526140a4610140840161343a565b6101408201526140b7610160840161343a565b6101608201526140ca610180840161343a565b6101808201526140dd6101a0840161343a565b6101a08201526140f06101c0840161343a565b6101c08201526141036101e0840161343a565b6101e0820152614116610200840161343a565b610200820152614129610220840161343a565b6102208201529392505050565b5f60208284031215614146575f80fd5b81516001600160401b0381111561415b575f80fd5b8201610100818503121561416d575f80fd5b614175612b6b565b61417e8261343a565b815260208201516001600160401b03811115614198575f80fd5b6141a48682850161351c565b6020830152506141b66040830161343a565b604082015260608201516001600160401b038111156141d3575f80fd5b6141df8682850161351c565b60608301525060808201516001600160401b038111156141fd575f80fd5b6142098682850161351c565b60808301525061421b60a083016136b5565b60a082015261422c60c083016136b5565b60c082015261423d60e083016137bd565b60e082015294935050505056fea26469706673582212205500ea7692b671d19df029bc0b1e17b464952578029d1073fccefde74ef78b5764736f6c634300081a0033",
1534
+ "linkReferences": {
1535
+ "contracts/type/Amount.sol": {
1536
+ "AmountLib": [
1537
+ {
1538
+ "length": 20,
1539
+ "start": 9550
1540
+ }
1541
+ ]
1542
+ },
1543
+ "contracts/type/ClaimId.sol": {
1544
+ "ClaimIdLib": [
1545
+ {
1546
+ "length": 20,
1547
+ "start": 5896
1548
+ },
1549
+ {
1550
+ "length": 20,
1551
+ "start": 6888
1552
+ }
1553
+ ]
1554
+ },
1555
+ "contracts/type/DistributorType.sol": {
1556
+ "DistributorTypeLib": [
1557
+ {
1558
+ "length": 20,
1559
+ "start": 8373
1560
+ }
1561
+ ]
1562
+ },
1563
+ "contracts/type/NftId.sol": {
1564
+ "NftIdLib": [
1565
+ {
1566
+ "length": 20,
1567
+ "start": 3331
1568
+ },
1569
+ {
1570
+ "length": 20,
1571
+ "start": 3482
1572
+ },
1573
+ {
1574
+ "length": 20,
1575
+ "start": 4202
1576
+ },
1577
+ {
1578
+ "length": 20,
1579
+ "start": 4703
1580
+ },
1581
+ {
1582
+ "length": 20,
1583
+ "start": 5241
1584
+ },
1585
+ {
1586
+ "length": 20,
1587
+ "start": 5933
1588
+ },
1589
+ {
1590
+ "length": 20,
1591
+ "start": 6005
1592
+ },
1593
+ {
1594
+ "length": 20,
1595
+ "start": 8593
1596
+ },
1597
+ {
1598
+ "length": 20,
1599
+ "start": 9135
1600
+ }
1601
+ ]
1602
+ },
1603
+ "contracts/type/PayoutId.sol": {
1604
+ "PayoutIdLib": [
1605
+ {
1606
+ "length": 20,
1607
+ "start": 3626
1608
+ },
1609
+ {
1610
+ "length": 20,
1611
+ "start": 4514
1612
+ }
1613
+ ]
1614
+ },
1615
+ "contracts/type/Referral.sol": {
1616
+ "ReferralLib": [
1617
+ {
1618
+ "length": 20,
1619
+ "start": 2643
1620
+ },
1621
+ {
1622
+ "length": 20,
1623
+ "start": 3875
1624
+ }
1625
+ ]
1626
+ },
1627
+ "contracts/type/RequestId.sol": {
1628
+ "RequestIdLib": [
1629
+ {
1630
+ "length": 20,
1631
+ "start": 9293
1632
+ }
1633
+ ]
1634
+ },
1635
+ "contracts/type/RiskId.sol": {
1636
+ "RiskIdLib": [
1637
+ {
1638
+ "length": 20,
1639
+ "start": 6164
1640
+ }
1641
+ ]
1642
+ },
1643
+ "contracts/type/Timestamp.sol": {
1644
+ "TimestampLib": [
1645
+ {
1646
+ "length": 20,
1647
+ "start": 5381
1648
+ },
1649
+ {
1650
+ "length": 20,
1651
+ "start": 5521
1652
+ },
1653
+ {
1654
+ "length": 20,
1655
+ "start": 5687
1656
+ },
1657
+ {
1658
+ "length": 20,
1659
+ "start": 7154
1660
+ },
1661
+ {
1662
+ "length": 20,
1663
+ "start": 7381
1664
+ }
1665
+ ]
1666
+ },
1667
+ "contracts/type/UFixed.sol": {
1668
+ "UFixedLib": [
1669
+ {
1670
+ "length": 20,
1671
+ "start": 2444
1672
+ },
1673
+ {
1674
+ "length": 20,
1675
+ "start": 4004
1676
+ },
1677
+ {
1678
+ "length": 20,
1679
+ "start": 7253
1680
+ },
1681
+ {
1682
+ "length": 20,
1683
+ "start": 7508
1684
+ },
1685
+ {
1686
+ "length": 20,
1687
+ "start": 7649
1688
+ }
1689
+ ]
1690
+ }
1691
+ },
1692
+ "deployedLinkReferences": {
1693
+ "contracts/type/Amount.sol": {
1694
+ "AmountLib": [
1695
+ {
1696
+ "length": 20,
1697
+ "start": 9513
1698
+ }
1699
+ ]
1700
+ },
1701
+ "contracts/type/ClaimId.sol": {
1702
+ "ClaimIdLib": [
1703
+ {
1704
+ "length": 20,
1705
+ "start": 5859
1706
+ },
1707
+ {
1708
+ "length": 20,
1709
+ "start": 6851
1710
+ }
1711
+ ]
1712
+ },
1713
+ "contracts/type/DistributorType.sol": {
1714
+ "DistributorTypeLib": [
1715
+ {
1716
+ "length": 20,
1717
+ "start": 8336
1718
+ }
1719
+ ]
1720
+ },
1721
+ "contracts/type/NftId.sol": {
1722
+ "NftIdLib": [
1723
+ {
1724
+ "length": 20,
1725
+ "start": 3294
1726
+ },
1727
+ {
1728
+ "length": 20,
1729
+ "start": 3445
1730
+ },
1731
+ {
1732
+ "length": 20,
1733
+ "start": 4165
1734
+ },
1735
+ {
1736
+ "length": 20,
1737
+ "start": 4666
1738
+ },
1739
+ {
1740
+ "length": 20,
1741
+ "start": 5204
1742
+ },
1743
+ {
1744
+ "length": 20,
1745
+ "start": 5896
1746
+ },
1747
+ {
1748
+ "length": 20,
1749
+ "start": 5968
1750
+ },
1751
+ {
1752
+ "length": 20,
1753
+ "start": 8556
1754
+ },
1755
+ {
1756
+ "length": 20,
1757
+ "start": 9098
1758
+ }
1759
+ ]
1760
+ },
1761
+ "contracts/type/PayoutId.sol": {
1762
+ "PayoutIdLib": [
1763
+ {
1764
+ "length": 20,
1765
+ "start": 3589
1766
+ },
1767
+ {
1768
+ "length": 20,
1769
+ "start": 4477
1770
+ }
1771
+ ]
1772
+ },
1773
+ "contracts/type/Referral.sol": {
1774
+ "ReferralLib": [
1775
+ {
1776
+ "length": 20,
1777
+ "start": 2606
1778
+ },
1779
+ {
1780
+ "length": 20,
1781
+ "start": 3838
1782
+ }
1783
+ ]
1784
+ },
1785
+ "contracts/type/RequestId.sol": {
1786
+ "RequestIdLib": [
1787
+ {
1788
+ "length": 20,
1789
+ "start": 9256
1790
+ }
1791
+ ]
1792
+ },
1793
+ "contracts/type/RiskId.sol": {
1794
+ "RiskIdLib": [
1795
+ {
1796
+ "length": 20,
1797
+ "start": 6127
1798
+ }
1799
+ ]
1800
+ },
1801
+ "contracts/type/Timestamp.sol": {
1802
+ "TimestampLib": [
1803
+ {
1804
+ "length": 20,
1805
+ "start": 5344
1806
+ },
1807
+ {
1808
+ "length": 20,
1809
+ "start": 5484
1810
+ },
1811
+ {
1812
+ "length": 20,
1813
+ "start": 5650
1814
+ },
1815
+ {
1816
+ "length": 20,
1817
+ "start": 7117
1818
+ },
1819
+ {
1820
+ "length": 20,
1821
+ "start": 7344
1822
+ }
1823
+ ]
1824
+ },
1825
+ "contracts/type/UFixed.sol": {
1826
+ "UFixedLib": [
1827
+ {
1828
+ "length": 20,
1829
+ "start": 2407
1830
+ },
1831
+ {
1832
+ "length": 20,
1833
+ "start": 3967
1834
+ },
1835
+ {
1836
+ "length": 20,
1837
+ "start": 7216
1838
+ },
1839
+ {
1840
+ "length": 20,
1841
+ "start": 7471
1842
+ },
1843
+ {
1844
+ "length": 20,
1845
+ "start": 7612
1846
+ }
1847
+ ]
1848
+ }
1849
+ }
1850
+ }