@etherisc/gif-next 0.0.2-d911522 → 0.0.2-d9bed37-033

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