@etherisc/gif-next 0.0.2-d96b9e1-825 → 0.0.2-d9d5e42-801

Sign up to get free protection for your applications and to get access to all the features.
Files changed (779) hide show
  1. package/README.md +383 -21
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1046 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +752 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +814 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1664 -0
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1289 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1403 -0
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +790 -0
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  17. package/artifacts/contracts/{instance/module/access → authorization}/IAccess.sol/IAccess.json +1 -1
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1372 -0
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +455 -0
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +397 -0
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +646 -0
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1225 -0
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +805 -0
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +930 -0
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1665 -0
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +912 -0
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  37. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +829 -0
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  39. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +1100 -0
  40. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1461 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +805 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2018 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +805 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  51. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1404 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +805 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1152 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1628 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +805 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2405 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +805 -0
  66. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  67. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  68. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  69. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +577 -1316
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  71. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +990 -0
  72. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/Instance.sol/Instance.json +670 -1539
  74. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  75. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2349 -0
  76. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  77. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +902 -0
  78. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  79. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +2646 -0
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  81. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1236 -0
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  83. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +734 -0
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  85. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3784 -0
  86. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  87. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +853 -0
  88. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  89. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  90. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  91. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +137 -0
  92. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  93. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  94. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  96. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  98. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  99. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  100. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  101. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  102. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  103. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/IComponents.sol/IComponents.json} +2 -2
  104. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  105. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.json +10 -0
  106. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  107. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  108. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  109. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  110. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  111. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  112. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  113. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +938 -0
  114. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  115. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +810 -0
  116. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  117. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  118. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  119. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +753 -0
  120. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  121. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +733 -0
  122. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  123. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +854 -0
  124. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  125. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1013 -0
  126. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  127. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +772 -0
  128. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  129. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1231 -0
  130. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  131. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +805 -0
  132. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  133. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1293 -0
  134. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  135. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +832 -0
  136. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  137. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +880 -0
  138. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  139. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +886 -0
  140. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  141. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1230 -0
  142. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  143. package/artifacts/contracts/pool/Pool.sol/Pool.json +1006 -0
  144. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  145. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +546 -0
  146. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  147. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1614 -0
  148. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  149. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +828 -0
  150. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  151. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +871 -0
  152. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  153. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +752 -0
  154. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  155. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1140 -0
  156. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  157. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +805 -0
  158. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  159. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1512 -0
  160. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  161. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +856 -0
  162. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  163. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +639 -0
  164. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  165. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1064 -0
  166. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  167. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +981 -0
  168. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  169. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +623 -0
  170. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  171. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +997 -0
  172. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  173. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IRiskService.sol/IRiskService.json} +233 -230
  174. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  175. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1341 -0
  176. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  177. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  178. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  179. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +812 -0
  180. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  181. package/artifacts/contracts/product/PricingService.sol/PricingService.json +903 -0
  182. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  183. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +776 -0
  184. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  185. package/artifacts/contracts/product/Product.sol/Product.json +1098 -0
  186. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  187. package/artifacts/contracts/product/RiskService.sol/RiskService.json +688 -0
  188. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  189. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +736 -0
  190. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  191. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +242 -12
  192. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  193. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +1024 -119
  194. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  195. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +1043 -0
  196. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  197. package/artifacts/contracts/{instance/IInstanceLinked.sol/IInstanceLinked.json → registry/IRelease.sol/IRelease.json} +6 -6
  198. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  199. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +39 -0
  200. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  201. package/artifacts/contracts/registry/Registry.sol/Registry.json +1450 -219
  202. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  203. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2147 -0
  204. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  205. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1053 -0
  206. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  207. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1269 -0
  208. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  209. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +735 -0
  210. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  211. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
  212. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  213. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  214. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  215. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1389 -0
  216. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  217. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +683 -0
  218. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  219. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +661 -0
  220. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  221. package/artifacts/contracts/shared/Component.sol/Component.json +686 -0
  222. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  223. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1487 -0
  224. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  225. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +816 -0
  226. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  229. package/artifacts/contracts/shared/{IOwnable.sol/IOwnable.json → ContractLib.sol/IInstanceAdminHelper.json} +5 -5
  230. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  231. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  232. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  233. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  234. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  235. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +611 -0
  236. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  237. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1127 -0
  238. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  239. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +688 -0
  240. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  241. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +140 -141
  242. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  243. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  244. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  245. package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/INftOwnable.sol/INftOwnable.json} +47 -74
  246. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  247. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
  248. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  249. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +229 -21
  250. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  251. package/artifacts/contracts/{registry → shared}/IRegistryLinked.sol/IRegistryLinked.json +13 -2
  252. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  253. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → shared/IService.sol/IService.json} +198 -163
  254. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  255. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  256. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  257. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +776 -0
  258. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  259. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  260. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  261. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  262. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  263. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  264. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  265. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +209 -0
  266. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  267. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
  268. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  269. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +275 -18
  270. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  271. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
  272. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  273. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → shared/Service.sol/Service.json} +248 -171
  274. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  275. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +723 -0
  276. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  277. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  278. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  279. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  280. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  281. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1617 -0
  282. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  283. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1167 -0
  284. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  285. package/artifacts/contracts/staking/Staking.sol/Staking.json +2025 -0
  286. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  287. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +469 -0
  288. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  289. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  290. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  291. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +804 -0
  292. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +616 -0
  294. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  295. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1396 -0
  296. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  297. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +744 -0
  298. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  299. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2297 -0
  300. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  301. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +617 -0
  302. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  303. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  304. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  305. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  306. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  307. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  308. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  309. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  310. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  311. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  312. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  313. package/artifacts/contracts/type/Fee.sol/FeeLib.json +373 -0
  314. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  315. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  316. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  317. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  318. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  319. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  320. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  321. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  322. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  323. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +241 -0
  324. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  325. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  326. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  327. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  328. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  329. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  330. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  331. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +204 -0
  332. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  333. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +254 -0
  334. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  335. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +265 -0
  336. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  337. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  338. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  339. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  340. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  341. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  342. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  343. package/artifacts/contracts/type/String.sol/StrLib.json +180 -0
  344. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  345. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  346. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  347. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +572 -0
  348. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  349. package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
  350. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  351. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +167 -0
  352. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  353. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +55 -0
  354. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  355. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +618 -0
  356. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  357. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +142 -0
  358. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  359. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +78 -0
  360. package/contracts/accounting/AccountingService.sol +274 -0
  361. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  362. package/contracts/accounting/IAccountingService.sol +47 -0
  363. package/contracts/authorization/AccessAdmin.sol +780 -0
  364. package/contracts/authorization/AccessAdminLib.sol +396 -0
  365. package/contracts/authorization/AccessManagerCloneable.sol +158 -0
  366. package/contracts/authorization/Authorization.sol +174 -0
  367. package/contracts/authorization/IAccess.sol +67 -0
  368. package/contracts/authorization/IAccessAdmin.sol +144 -0
  369. package/contracts/authorization/IAuthorization.sol +27 -0
  370. package/contracts/authorization/IServiceAuthorization.sol +78 -0
  371. package/contracts/authorization/ServiceAuthorization.sol +320 -0
  372. package/contracts/distribution/BasicDistribution.sol +141 -0
  373. package/contracts/distribution/BasicDistributionAuthorization.sol +67 -0
  374. package/contracts/distribution/Distribution.sol +247 -0
  375. package/contracts/distribution/DistributionService.sol +435 -0
  376. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  377. package/contracts/distribution/IDistributionComponent.sol +45 -0
  378. package/contracts/distribution/IDistributionService.sol +109 -0
  379. package/contracts/examples/fire/DamageLevel.sol +59 -0
  380. package/contracts/examples/fire/FirePool.sol +86 -0
  381. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  382. package/contracts/examples/fire/FireProduct.sol +433 -0
  383. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  384. package/contracts/examples/fire/FireUSD.sol +26 -0
  385. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  386. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  387. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  388. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  389. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  390. package/contracts/examples/unpermissioned/SimpleProduct.sol +373 -0
  391. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  392. package/contracts/instance/BundleSet.sol +130 -0
  393. package/contracts/instance/IInstance.sol +138 -45
  394. package/contracts/instance/IInstanceService.sol +113 -0
  395. package/contracts/instance/Instance.sol +332 -54
  396. package/contracts/instance/InstanceAdmin.sol +383 -0
  397. package/contracts/instance/InstanceAuthorizationV3.sol +266 -0
  398. package/contracts/instance/InstanceReader.sol +632 -0
  399. package/contracts/instance/InstanceService.sol +512 -0
  400. package/contracts/instance/InstanceServiceManager.sol +39 -0
  401. package/contracts/instance/InstanceStore.sol +298 -0
  402. package/contracts/instance/RiskSet.sol +118 -0
  403. package/contracts/instance/base/BalanceStore.sol +121 -0
  404. package/contracts/instance/base/Cloneable.sol +28 -0
  405. package/contracts/instance/base/ObjectCounter.sol +20 -0
  406. package/contracts/instance/base/ObjectLifecycle.sol +113 -0
  407. package/contracts/instance/base/ObjectSet.sol +77 -0
  408. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  409. package/contracts/instance/module/IBundle.sol +21 -0
  410. package/contracts/instance/module/IComponents.sol +62 -0
  411. package/contracts/instance/module/IDistribution.sol +54 -0
  412. package/contracts/instance/module/IPolicy.sol +105 -0
  413. package/contracts/instance/module/IRisk.sol +16 -0
  414. package/contracts/{test/TestToken.sol → mock/Dip.sol} +6 -6
  415. package/contracts/oracle/BasicOracle.sol +45 -0
  416. package/contracts/oracle/BasicOracleAuthorization.sol +53 -0
  417. package/contracts/oracle/IOracle.sol +41 -0
  418. package/contracts/oracle/IOracleComponent.sol +33 -0
  419. package/contracts/oracle/IOracleService.sol +66 -0
  420. package/contracts/oracle/Oracle.sol +154 -0
  421. package/contracts/oracle/OracleService.sol +310 -0
  422. package/contracts/oracle/OracleServiceManager.sol +39 -0
  423. package/contracts/pool/BasicPool.sol +173 -0
  424. package/contracts/pool/BasicPoolAuthorization.sol +82 -0
  425. package/contracts/pool/BundleService.sol +394 -0
  426. package/contracts/pool/BundleServiceManager.sol +39 -0
  427. package/contracts/pool/IBundleService.sol +115 -0
  428. package/contracts/pool/IPoolComponent.sol +62 -0
  429. package/contracts/pool/IPoolService.sol +165 -0
  430. package/contracts/pool/Pool.sol +343 -0
  431. package/contracts/pool/PoolLib.sol +356 -0
  432. package/contracts/pool/PoolService.sol +589 -0
  433. package/contracts/pool/PoolServiceManager.sol +39 -0
  434. package/contracts/product/ApplicationService.sol +299 -0
  435. package/contracts/product/ApplicationServiceManager.sol +38 -0
  436. package/contracts/product/BasicProduct.sol +49 -0
  437. package/contracts/product/BasicProductAuthorization.sol +63 -0
  438. package/contracts/product/ClaimService.sol +631 -0
  439. package/contracts/product/ClaimServiceManager.sol +38 -0
  440. package/contracts/product/IApplicationService.sol +69 -0
  441. package/contracts/product/IClaimService.sol +135 -0
  442. package/contracts/product/IPolicyService.sol +94 -0
  443. package/contracts/product/IPricingService.sol +40 -0
  444. package/contracts/product/IProductComponent.sol +62 -0
  445. package/contracts/product/IRiskService.sol +33 -0
  446. package/contracts/product/PolicyService.sol +637 -0
  447. package/contracts/product/PolicyServiceLib.sol +139 -0
  448. package/contracts/product/PolicyServiceManager.sol +39 -0
  449. package/contracts/product/PricingService.sol +306 -0
  450. package/contracts/product/PricingServiceManager.sol +39 -0
  451. package/contracts/product/Product.sol +469 -0
  452. package/contracts/product/RiskService.sol +157 -0
  453. package/contracts/product/RiskServiceManager.sol +39 -0
  454. package/contracts/registry/ChainNft.sol +130 -40
  455. package/contracts/registry/IRegistry.sol +142 -29
  456. package/contracts/registry/IRegistryService.sol +62 -0
  457. package/contracts/registry/IRelease.sol +29 -0
  458. package/contracts/registry/ITransferInterceptor.sol +6 -0
  459. package/contracts/registry/Registry.sol +631 -282
  460. package/contracts/registry/RegistryAdmin.sol +188 -0
  461. package/contracts/registry/RegistryAuthorization.sol +284 -0
  462. package/contracts/registry/RegistryService.sol +241 -0
  463. package/contracts/registry/RegistryServiceManager.sol +53 -0
  464. package/contracts/registry/ReleaseAdmin.sol +195 -0
  465. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  466. package/contracts/registry/ReleaseRegistry.sol +520 -0
  467. package/contracts/registry/ServiceAuthorizationV3.sol +345 -0
  468. package/contracts/registry/TokenRegistry.sol +314 -0
  469. package/contracts/shared/Component.sol +210 -0
  470. package/contracts/shared/ComponentService.sol +678 -0
  471. package/contracts/shared/ComponentServiceManager.sol +38 -0
  472. package/contracts/shared/ContractLib.sol +311 -0
  473. package/contracts/shared/IComponent.sol +58 -0
  474. package/contracts/shared/IComponentService.sol +110 -0
  475. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  476. package/contracts/shared/IKeyValueStore.sol +54 -0
  477. package/contracts/{instance/base → shared}/ILifecycle.sol +6 -5
  478. package/contracts/shared/INftOwnable.sol +25 -0
  479. package/contracts/shared/IPolicyHolder.sol +35 -0
  480. package/contracts/shared/IRegisterable.sol +31 -19
  481. package/contracts/shared/IRegistryLinked.sol +11 -0
  482. package/contracts/shared/IService.sol +23 -0
  483. package/contracts/shared/InitializableERC165.sol +35 -0
  484. package/contracts/shared/InstanceLinkedComponent.sol +194 -0
  485. package/contracts/shared/KeyValueStore.sol +131 -0
  486. package/contracts/shared/Lifecycle.sol +88 -0
  487. package/contracts/shared/NftIdSet.sol +65 -0
  488. package/contracts/shared/NftOwnable.sol +127 -0
  489. package/contracts/shared/PolicyHolder.sol +63 -0
  490. package/contracts/shared/Registerable.sol +80 -60
  491. package/contracts/shared/RegistryLinked.sol +38 -0
  492. package/contracts/shared/Service.sol +67 -0
  493. package/contracts/shared/TokenHandler.sol +342 -0
  494. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  495. package/contracts/staking/IStaking.sol +195 -0
  496. package/contracts/staking/IStakingService.sol +170 -0
  497. package/contracts/staking/Staking.sol +605 -0
  498. package/contracts/staking/StakingLib.sol +281 -0
  499. package/contracts/staking/StakingLifecycle.sol +23 -0
  500. package/contracts/staking/StakingManager.sol +52 -0
  501. package/contracts/staking/StakingReader.sol +199 -0
  502. package/contracts/staking/StakingService.sol +468 -0
  503. package/contracts/staking/StakingServiceManager.sol +45 -0
  504. package/contracts/staking/StakingStore.sol +606 -0
  505. package/contracts/staking/TargetManagerLib.sol +211 -0
  506. package/contracts/{types → type}/AddressSet.sol +1 -1
  507. package/contracts/type/Amount.sol +150 -0
  508. package/contracts/{types → type}/Blocknumber.sol +27 -3
  509. package/contracts/type/ClaimId.sol +80 -0
  510. package/contracts/type/DistributorType.sol +55 -0
  511. package/contracts/type/Fee.sol +66 -0
  512. package/contracts/{types → type}/Key32.sol +10 -5
  513. package/contracts/type/Key32Set.sol +62 -0
  514. package/contracts/{types → type}/NftId.sol +28 -15
  515. package/contracts/type/NftIdSet.sol +62 -0
  516. package/contracts/type/ObjectType.sol +307 -0
  517. package/contracts/type/PayoutId.sol +82 -0
  518. package/contracts/type/Referral.sol +90 -0
  519. package/contracts/type/RequestId.sol +75 -0
  520. package/contracts/type/RiskId.sol +75 -0
  521. package/contracts/type/RoleId.sol +180 -0
  522. package/contracts/type/Seconds.sol +105 -0
  523. package/contracts/type/Selector.sol +107 -0
  524. package/contracts/{types → type}/StateId.sol +53 -5
  525. package/contracts/type/String.sol +65 -0
  526. package/contracts/{types → type}/Timestamp.sol +37 -19
  527. package/contracts/{types → type}/UFixed.sol +90 -34
  528. package/contracts/type/Version.sol +159 -0
  529. package/contracts/upgradeability/IVersionable.sol +53 -0
  530. package/contracts/upgradeability/ProxyManager.sol +234 -0
  531. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +20 -0
  532. package/contracts/upgradeability/Versionable.sol +62 -0
  533. package/package.json +16 -8
  534. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  535. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -174
  536. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  537. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  538. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -356
  539. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  540. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -279
  541. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  542. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -387
  543. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  544. package/artifacts/contracts/components/Product.sol/Product.json +0 -305
  545. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  546. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  547. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  548. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  549. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  550. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  551. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  552. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  553. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  554. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  555. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  556. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  557. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  558. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  559. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  560. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  561. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  562. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  563. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  564. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  565. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  566. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  567. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  568. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  569. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  570. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  571. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  572. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  573. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  574. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  575. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  576. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  577. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  578. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  579. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  580. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  581. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +0 -300
  582. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  583. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -63
  584. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  585. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  586. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  587. package/artifacts/contracts/instance/base/IService.sol/IService.json +0 -300
  588. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  589. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.json +0 -326
  590. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  591. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -692
  592. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  593. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  594. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  595. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  596. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +0 -300
  597. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  598. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  599. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  600. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  601. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  602. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  603. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -296
  604. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  605. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  606. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -296
  607. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +0 -4
  608. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +0 -10
  609. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +0 -4
  610. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.json +0 -10
  611. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +0 -4
  612. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.json +0 -10
  613. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  614. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -188
  615. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  616. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  617. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  618. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -188
  619. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  620. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  621. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -261
  622. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  623. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -261
  624. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  625. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  626. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  627. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -149
  628. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  629. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -149
  630. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  631. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  632. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -10
  633. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  634. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -10
  635. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  636. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.json +0 -10
  637. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  638. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -533
  639. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  640. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  641. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  642. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -533
  643. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  644. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -491
  645. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  646. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  647. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  648. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  649. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -471
  650. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  651. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -673
  652. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  653. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -452
  654. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  655. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  656. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  657. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  658. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  659. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -164
  660. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  661. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -164
  662. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  663. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  664. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  665. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -387
  666. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  667. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -393
  668. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  669. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -137
  670. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  671. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -82
  672. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  673. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -379
  674. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  675. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -338
  676. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  677. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  678. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  679. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -206
  680. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  681. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  682. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  683. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  684. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  685. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  686. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  687. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -218
  688. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  689. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -111
  690. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  691. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  692. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  693. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  694. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  695. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  696. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  697. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  698. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  699. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -236
  700. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  701. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -453
  702. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  703. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -139
  704. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  705. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -30
  706. package/contracts/components/BaseComponent.sol +0 -88
  707. package/contracts/components/IBaseComponent.sol +0 -19
  708. package/contracts/components/IPoolComponent.sol +0 -57
  709. package/contracts/components/IProductComponent.sol +0 -19
  710. package/contracts/components/Pool.sol +0 -174
  711. package/contracts/components/Product.sol +0 -117
  712. package/contracts/experiment/errors/Require.sol +0 -38
  713. package/contracts/experiment/errors/Revert.sol +0 -44
  714. package/contracts/experiment/inheritance/A.sol +0 -53
  715. package/contracts/experiment/inheritance/B.sol +0 -28
  716. package/contracts/experiment/inheritance/C.sol +0 -34
  717. package/contracts/experiment/inheritance/IA.sol +0 -13
  718. package/contracts/experiment/inheritance/IB.sol +0 -10
  719. package/contracts/experiment/inheritance/IC.sol +0 -12
  720. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  721. package/contracts/experiment/statemachine/ISM.sol +0 -25
  722. package/contracts/experiment/statemachine/README.md +0 -112
  723. package/contracts/experiment/statemachine/SM.sol +0 -57
  724. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  725. package/contracts/experiment/types/TypeA.sol +0 -47
  726. package/contracts/experiment/types/TypeB.sol +0 -29
  727. package/contracts/instance/IInstanceLinked.sol +0 -8
  728. package/contracts/instance/base/ComponentServiceBase.sol +0 -42
  729. package/contracts/instance/base/IInstanceBase.sol +0 -14
  730. package/contracts/instance/base/IKeyValueStore.sol +0 -49
  731. package/contracts/instance/base/IService.sol +0 -15
  732. package/contracts/instance/base/InstanceBase.sol +0 -80
  733. package/contracts/instance/base/KeyValueStore.sol +0 -147
  734. package/contracts/instance/base/Lifecycle.sol +0 -95
  735. package/contracts/instance/base/ModuleBase.sol +0 -52
  736. package/contracts/instance/base/ServiceBase.sol +0 -37
  737. package/contracts/instance/module/access/Access.sol +0 -149
  738. package/contracts/instance/module/access/IAccess.sol +0 -53
  739. package/contracts/instance/module/bundle/BundleModule.sol +0 -136
  740. package/contracts/instance/module/bundle/IBundle.sol +0 -58
  741. package/contracts/instance/module/compensation/CompensationModule.sol +0 -8
  742. package/contracts/instance/module/compensation/ICompensation.sol +0 -10
  743. package/contracts/instance/module/component/ComponentModule.sol +0 -95
  744. package/contracts/instance/module/component/IComponent.sol +0 -53
  745. package/contracts/instance/module/policy/IPolicy.sol +0 -60
  746. package/contracts/instance/module/policy/PolicyModule.sol +0 -76
  747. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  748. package/contracts/instance/module/pool/PoolModule.sol +0 -87
  749. package/contracts/instance/module/risk/IRisk.sol +0 -10
  750. package/contracts/instance/module/risk/RiskModule.sol +0 -8
  751. package/contracts/instance/module/treasury/ITreasury.sol +0 -103
  752. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  753. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -152
  754. package/contracts/instance/service/ComponentOwnerService.sol +0 -170
  755. package/contracts/instance/service/IComponentOwnerService.sol +0 -22
  756. package/contracts/instance/service/IPoolService.sol +0 -30
  757. package/contracts/instance/service/IProductService.sol +0 -58
  758. package/contracts/instance/service/PoolService.sol +0 -123
  759. package/contracts/instance/service/ProductService.sol +0 -354
  760. package/contracts/registry/IChainNft.sol +0 -21
  761. package/contracts/registry/IRegistryLinked.sol +0 -8
  762. package/contracts/shared/ERC165.sol +0 -21
  763. package/contracts/shared/IOwnable.sol +0 -6
  764. package/contracts/shared/IVersionable.sol +0 -52
  765. package/contracts/shared/Versionable.sol +0 -89
  766. package/contracts/test/TestFee.sol +0 -25
  767. package/contracts/test/TestPool.sol +0 -22
  768. package/contracts/test/TestProduct.sol +0 -44
  769. package/contracts/test/TestRegisterable.sol +0 -19
  770. package/contracts/test/TestRoleId.sol +0 -14
  771. package/contracts/test/TestService.sol +0 -32
  772. package/contracts/test/TestVersion.sol +0 -44
  773. package/contracts/test/TestVersionable.sol +0 -17
  774. package/contracts/types/ChainId.sol +0 -38
  775. package/contracts/types/Fee.sol +0 -51
  776. package/contracts/types/NftIdSet.sol +0 -60
  777. package/contracts/types/ObjectType.sol +0 -115
  778. package/contracts/types/RoleId.sol +0 -36
  779. package/contracts/types/Version.sol +0 -95
@@ -1,393 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "TestProduct",
4
- "sourceName": "contracts/test/TestProduct.sol",
5
- "abi": [
6
- {
7
- "inputs": [
8
- {
9
- "internalType": "address",
10
- "name": "registry",
11
- "type": "address"
12
- },
13
- {
14
- "internalType": "NftId",
15
- "name": "instanceNftid",
16
- "type": "uint96"
17
- },
18
- {
19
- "internalType": "address",
20
- "name": "token",
21
- "type": "address"
22
- },
23
- {
24
- "internalType": "address",
25
- "name": "pool",
26
- "type": "address"
27
- }
28
- ],
29
- "stateMutability": "nonpayable",
30
- "type": "constructor"
31
- },
32
- {
33
- "anonymous": false,
34
- "inputs": [
35
- {
36
- "indexed": false,
37
- "internalType": "address",
38
- "name": "sender",
39
- "type": "address"
40
- }
41
- ],
42
- "name": "LogTestProductSender",
43
- "type": "event"
44
- },
45
- {
46
- "inputs": [
47
- {
48
- "internalType": "uint256",
49
- "name": "sumInsuredAmount",
50
- "type": "uint256"
51
- },
52
- {
53
- "internalType": "uint256",
54
- "name": "premiumAmount",
55
- "type": "uint256"
56
- },
57
- {
58
- "internalType": "uint256",
59
- "name": "lifetime",
60
- "type": "uint256"
61
- },
62
- {
63
- "internalType": "NftId",
64
- "name": "bundleNftId",
65
- "type": "uint96"
66
- }
67
- ],
68
- "name": "applyForPolicy",
69
- "outputs": [
70
- {
71
- "internalType": "NftId",
72
- "name": "nftId",
73
- "type": "uint96"
74
- }
75
- ],
76
- "stateMutability": "nonpayable",
77
- "type": "function"
78
- },
79
- {
80
- "inputs": [
81
- {
82
- "internalType": "NftId",
83
- "name": "nftId",
84
- "type": "uint96"
85
- },
86
- {
87
- "internalType": "Timestamp",
88
- "name": "activateAt",
89
- "type": "uint40"
90
- }
91
- ],
92
- "name": "collectPremium",
93
- "outputs": [],
94
- "stateMutability": "nonpayable",
95
- "type": "function"
96
- },
97
- {
98
- "inputs": [],
99
- "name": "getData",
100
- "outputs": [
101
- {
102
- "internalType": "bytes",
103
- "name": "data",
104
- "type": "bytes"
105
- }
106
- ],
107
- "stateMutability": "view",
108
- "type": "function"
109
- },
110
- {
111
- "inputs": [],
112
- "name": "getInstance",
113
- "outputs": [
114
- {
115
- "internalType": "contract IInstance",
116
- "name": "instance",
117
- "type": "address"
118
- }
119
- ],
120
- "stateMutability": "view",
121
- "type": "function"
122
- },
123
- {
124
- "inputs": [],
125
- "name": "getNftId",
126
- "outputs": [
127
- {
128
- "internalType": "NftId",
129
- "name": "nftId",
130
- "type": "uint96"
131
- }
132
- ],
133
- "stateMutability": "view",
134
- "type": "function"
135
- },
136
- {
137
- "inputs": [],
138
- "name": "getOwner",
139
- "outputs": [
140
- {
141
- "internalType": "address",
142
- "name": "owner",
143
- "type": "address"
144
- }
145
- ],
146
- "stateMutability": "view",
147
- "type": "function"
148
- },
149
- {
150
- "inputs": [],
151
- "name": "getParentNftId",
152
- "outputs": [
153
- {
154
- "internalType": "NftId",
155
- "name": "nftId",
156
- "type": "uint96"
157
- }
158
- ],
159
- "stateMutability": "view",
160
- "type": "function"
161
- },
162
- {
163
- "inputs": [],
164
- "name": "getPolicyFee",
165
- "outputs": [
166
- {
167
- "components": [
168
- {
169
- "internalType": "UFixed",
170
- "name": "fractionalFee",
171
- "type": "uint256"
172
- },
173
- {
174
- "internalType": "uint256",
175
- "name": "fixedFee",
176
- "type": "uint256"
177
- }
178
- ],
179
- "internalType": "struct Fee",
180
- "name": "policyFee",
181
- "type": "tuple"
182
- }
183
- ],
184
- "stateMutability": "view",
185
- "type": "function"
186
- },
187
- {
188
- "inputs": [],
189
- "name": "getPoolNftId",
190
- "outputs": [
191
- {
192
- "internalType": "NftId",
193
- "name": "poolNftId",
194
- "type": "uint96"
195
- }
196
- ],
197
- "stateMutability": "view",
198
- "type": "function"
199
- },
200
- {
201
- "inputs": [],
202
- "name": "getProcessingFee",
203
- "outputs": [
204
- {
205
- "components": [
206
- {
207
- "internalType": "UFixed",
208
- "name": "fractionalFee",
209
- "type": "uint256"
210
- },
211
- {
212
- "internalType": "uint256",
213
- "name": "fixedFee",
214
- "type": "uint256"
215
- }
216
- ],
217
- "internalType": "struct Fee",
218
- "name": "processingFee",
219
- "type": "tuple"
220
- }
221
- ],
222
- "stateMutability": "view",
223
- "type": "function"
224
- },
225
- {
226
- "inputs": [],
227
- "name": "getRegistry",
228
- "outputs": [
229
- {
230
- "internalType": "contract IRegistry",
231
- "name": "registry",
232
- "type": "address"
233
- }
234
- ],
235
- "stateMutability": "view",
236
- "type": "function"
237
- },
238
- {
239
- "inputs": [],
240
- "name": "getToken",
241
- "outputs": [
242
- {
243
- "internalType": "contract IERC20Metadata",
244
- "name": "token",
245
- "type": "address"
246
- }
247
- ],
248
- "stateMutability": "view",
249
- "type": "function"
250
- },
251
- {
252
- "inputs": [],
253
- "name": "getType",
254
- "outputs": [
255
- {
256
- "internalType": "ObjectType",
257
- "name": "",
258
- "type": "uint8"
259
- }
260
- ],
261
- "stateMutability": "pure",
262
- "type": "function"
263
- },
264
- {
265
- "inputs": [],
266
- "name": "getWallet",
267
- "outputs": [
268
- {
269
- "internalType": "address",
270
- "name": "walletAddress",
271
- "type": "address"
272
- }
273
- ],
274
- "stateMutability": "view",
275
- "type": "function"
276
- },
277
- {
278
- "inputs": [],
279
- "name": "lock",
280
- "outputs": [],
281
- "stateMutability": "nonpayable",
282
- "type": "function"
283
- },
284
- {
285
- "inputs": [],
286
- "name": "register",
287
- "outputs": [
288
- {
289
- "internalType": "NftId",
290
- "name": "componentId",
291
- "type": "uint96"
292
- }
293
- ],
294
- "stateMutability": "nonpayable",
295
- "type": "function"
296
- },
297
- {
298
- "inputs": [
299
- {
300
- "components": [
301
- {
302
- "internalType": "UFixed",
303
- "name": "fractionalFee",
304
- "type": "uint256"
305
- },
306
- {
307
- "internalType": "uint256",
308
- "name": "fixedFee",
309
- "type": "uint256"
310
- }
311
- ],
312
- "internalType": "struct Fee",
313
- "name": "policyFee",
314
- "type": "tuple"
315
- },
316
- {
317
- "components": [
318
- {
319
- "internalType": "UFixed",
320
- "name": "fractionalFee",
321
- "type": "uint256"
322
- },
323
- {
324
- "internalType": "uint256",
325
- "name": "fixedFee",
326
- "type": "uint256"
327
- }
328
- ],
329
- "internalType": "struct Fee",
330
- "name": "processingFee",
331
- "type": "tuple"
332
- }
333
- ],
334
- "name": "setFees",
335
- "outputs": [],
336
- "stateMutability": "nonpayable",
337
- "type": "function"
338
- },
339
- {
340
- "inputs": [
341
- {
342
- "internalType": "bytes4",
343
- "name": "interfaceId",
344
- "type": "bytes4"
345
- }
346
- ],
347
- "name": "supportsInterface",
348
- "outputs": [
349
- {
350
- "internalType": "bool",
351
- "name": "",
352
- "type": "bool"
353
- }
354
- ],
355
- "stateMutability": "view",
356
- "type": "function"
357
- },
358
- {
359
- "inputs": [
360
- {
361
- "internalType": "NftId",
362
- "name": "nftId",
363
- "type": "uint96"
364
- },
365
- {
366
- "internalType": "bool",
367
- "name": "requirePremiumPayment",
368
- "type": "bool"
369
- },
370
- {
371
- "internalType": "Timestamp",
372
- "name": "activateAt",
373
- "type": "uint40"
374
- }
375
- ],
376
- "name": "underwrite",
377
- "outputs": [],
378
- "stateMutability": "nonpayable",
379
- "type": "function"
380
- },
381
- {
382
- "inputs": [],
383
- "name": "unlock",
384
- "outputs": [],
385
- "stateMutability": "nonpayable",
386
- "type": "function"
387
- }
388
- ],
389
- "bytecode": "0x60e06040523480156200001157600080fd5b5060405162002ecc38038062002ecc8339818101604052810190620000379190620008c7565b838383838383838282620000717f01ffc9a7000000000000000000000000000000000000000000000000000000006200079960201b60201c565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620000e3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000da906200099a565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff168152505060805173ffffffffffffffffffffffffffffffffffffffff166301ffc9a77f06ecd8ef000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b8152600401620001749190620009f9565b602060405180830381865afa15801562000192573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001b8919062000a53565b620001fa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001f19062000ad5565b60405180910390fd5b806bffffffffffffffffffffffff1660a0816bffffffffffffffffffffffff168152505060805173ffffffffffffffffffffffffffffffffffffffff1663e74d052f60a0516040518263ffffffff1660e01b81526004016200025d919062000b3a565b602060405180830381865afa1580156200027b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002a1919062000a53565b620002e3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002da9062000bcd565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff1681525050620003487f3bf74c8e000000000000000000000000000000000000000000000000000000006200079960201b60201c565b5050600060805173ffffffffffffffffffffffffffffffffffffffff1663a48f42e0846040518263ffffffff1660e01b815260040162000389919062000b3a565b600060405180830381865afa158015620003a7573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190620003d2919062000e86565b90508060600151600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166301ffc9a77f8de54b9b000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b8152600401620004969190620009f9565b602060405180830381865afa158015620004b4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004da919062000a53565b6200051c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005139062000f01565b60405180910390fd5b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200058a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005b0919062000f68565b600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555030600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634288121d6040518163ffffffff1660e01b8152600401602060405180830381865afa158015620006e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200070a919062000fdf565b600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050505050505062001011565b6001600080837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620008468262000819565b9050919050565b620008588162000839565b81146200086457600080fd5b50565b60008151905062000878816200084d565b92915050565b60006bffffffffffffffffffffffff82169050919050565b620008a1816200087e565b8114620008ad57600080fd5b50565b600081519050620008c18162000896565b92915050565b60008060008060808587031215620008e457620008e36200080f565b5b6000620008f48782880162000867565b94505060206200090787828801620008b0565b93505060406200091a8782880162000867565b92505060606200092d8782880162000867565b91505092959194509250565b600082825260208201905092915050565b7f4552524f523a5247422d3031303a52454749535452595f5a45524f0000000000600082015250565b600062000982601b8362000939565b91506200098f826200094a565b602082019050919050565b60006020820190508181036000830152620009b58162000973565b9050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b620009f381620009bc565b82525050565b600060208201905062000a106000830184620009e8565b92915050565b60008115159050919050565b62000a2d8162000a16565b811462000a3957600080fd5b50565b60008151905062000a4d8162000a22565b92915050565b60006020828403121562000a6c5762000a6b6200080f565b5b600062000a7c8482850162000a3c565b91505092915050565b7f4552524f523a5247422d3031313a4e4f545f5245474953545259000000000000600082015250565b600062000abd601a8362000939565b915062000aca8262000a85565b602082019050919050565b6000602082019050818103600083015262000af08162000aae565b9050919050565b6000819050919050565b600062000b2262000b1c62000b16846200087e565b62000af7565b6200087e565b9050919050565b62000b348162000b01565b82525050565b600060208201905062000b51600083018462000b29565b92915050565b7f4552524f523a5247422d3031323a504152454e545f4e4f545f5245474953544560008201527f5245440000000000000000000000000000000000000000000000000000000000602082015250565b600062000bb560238362000939565b915062000bc28262000b57565b604082019050919050565b6000602082019050818103600083015262000be88162000ba6565b9050919050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b62000c3f8262000bf4565b810181811067ffffffffffffffff8211171562000c615762000c6062000c05565b5b80604052505050565b600062000c7662000805565b905062000c84828262000c34565b919050565b600080fd5b600060ff82169050919050565b62000ca68162000c8e565b811462000cb257600080fd5b50565b60008151905062000cc68162000c9b565b92915050565b600080fd5b600080fd5b600067ffffffffffffffff82111562000cf45762000cf362000c05565b5b62000cff8262000bf4565b9050602081019050919050565b60005b8381101562000d2c57808201518184015260208101905062000d0f565b60008484015250505050565b600062000d4f62000d498462000cd6565b62000c6a565b90508281526020810184848401111562000d6e5762000d6d62000cd1565b5b62000d7b84828562000d0c565b509392505050565b600082601f83011262000d9b5762000d9a62000ccc565b5b815162000dad84826020860162000d38565b91505092915050565b600060c0828403121562000dcf5762000dce62000bef565b5b62000ddb60c062000c6a565b9050600062000ded84828501620008b0565b600083015250602062000e0384828501620008b0565b602083015250604062000e198482850162000cb5565b604083015250606062000e2f8482850162000867565b606083015250608062000e458482850162000867565b60808301525060a082015167ffffffffffffffff81111562000e6c5762000e6b62000c89565b5b62000e7a8482850162000d83565b60a08301525092915050565b60006020828403121562000e9f5762000e9e6200080f565b5b600082015167ffffffffffffffff81111562000ec05762000ebf62000814565b5b62000ece8482850162000db6565b91505092915050565b50565b600062000ee960008362000939565b915062000ef68262000ed7565b600082019050919050565b6000602082019050818103600083015262000f1c8162000eda565b9050919050565b600062000f308262000839565b9050919050565b62000f428162000f23565b811462000f4e57600080fd5b50565b60008151905062000f628162000f37565b92915050565b60006020828403121562000f815762000f806200080f565b5b600062000f918482850162000f51565b91505092915050565b600062000fa78262000839565b9050919050565b62000fb98162000f9a565b811462000fc557600080fd5b50565b60008151905062000fd98162000fae565b92915050565b60006020828403121562000ff85762000ff76200080f565b5b6000620010088482850162000fc8565b91505092915050565b60805160a05160c051611e616200106b60003960006109b6015260006107b40152600081816104b001528181610527015281816106c7015281816107f3015281816108620152818161090401526109df0152611e616000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c8063644c45e0116100ad578063bc74aab011610071578063bc74aab0146102eb578063daafed4014610309578063de7b5d1414610327578063f83d08ba14610345578063ff47c73b1461034f5761012c565b8063644c45e01461026d578063893d20e81461028b578063a69df4b5146102a9578063b6b412ba146102b3578063bbfbbfba146102cf5761012c565b806321df0da7116100f457806321df0da7146101d957806331b62a3b146101f75780633bc5de30146102155780635ab1bd5314610233578063630361f6146102515761012c565b806301ffc9a714610131578063132996041461016157806315dae03e1461017f5780631aa3a0081461019d5780631bdd6b76146101bb575b600080fd5b61014b600480360381019061014691906111ef565b61037f565b6040516101589190611237565b60405180910390f35b6101696103e6565b6040516101769190611293565b60405180910390f35b610187610410565b60405161019491906112f6565b60405180910390f35b6101a561041f565b6040516101b2919061135a565b60405180910390f35b6101c36106c3565b6040516101d0919061135a565b60405180910390f35b6101e1610786565b6040516101ee91906113ca565b60405180910390f35b6101ff6107b0565b60405161020c919061135a565b60405180910390f35b61021d6107d8565b60405161022a9190611475565b60405180910390f35b61023b6107ef565b60405161024891906114b8565b60405180910390f35b61026b60048036038101906102669190611568565b610817565b005b61027561085e565b604051610282919061135a565b60405180910390f35b6102936108ff565b6040516102a09190611293565b60405180910390f35b6102b1610a7e565b005b6102cd60048036038101906102c891906116ed565b610b82565b005b6102e960048036038101906102e4919061172d565b610c8a565b005b6102f3610c98565b60405161030091906117dc565b60405180910390f35b610311610d4d565b60405161031e91906117dc565b60405180910390f35b61032f610e02565b60405161033c9190611818565b60405180910390f35b61034d610e2c565b005b61036960048036038101906103649190611833565b610f30565b604051610376919061135a565b60405180910390f35b6000806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600061041a610f49565b905090565b60006104296108ff565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610496576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161048d906118d1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1603610525576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161051c9061193d565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663c3c5a547600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b81526004016105a09190611293565b602060405180830381865afa1580156105bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e19190611972565b610620576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161061790611a11565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b815260040161067b9190611a52565b6020604051808303816000875af115801561069a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106be9190611a82565b905090565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d272ac1e600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b81526004016107409190611293565b602060405180830381865afa15801561075d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107819190611a82565b905090565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b606060405180602001604052806000815250905090565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b7fb00037f8426b35b13d3428bd0d8bb6059e05f90d0da23ee636f827aee1718e48336040516108469190611293565b60405180910390a1610859838383610f5a565b505050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d272ac1e306040518263ffffffff1660e01b81526004016108b99190611293565b602060405180830381865afa1580156108d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108fa9190611a82565b905090565b6000807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d272ac1e306040518263ffffffff1660e01b815260040161095b9190611293565b602060405180830381865afa158015610978573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061099c9190611a82565b90506109af816109aa610ff0565b610ff5565b156109dd577f0000000000000000000000000000000000000000000000000000000000000000915050610a7b565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663df33330b826040518263ffffffff1660e01b8152600401610a36919061135a565b602060405180830381865afa158015610a53573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a779190611adb565b9150505b90565b610a866108ff565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610af3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aea90611b54565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f6c493c306040518263ffffffff1660e01b8152600401610b4e9190611a52565b600060405180830381600087803b158015610b6857600080fd5b505af1158015610b7c573d6000803e3d6000fd5b50505050565b610b8a6108ff565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610bf7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bee90611b54565b60405180910390fd5b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b6b412ba83836040518363ffffffff1660e01b8152600401610c54929190611b74565b600060405180830381600087803b158015610c6e57600080fd5b505af1158015610c82573d6000803e3d6000fd5b505050505050565b610c94828261101e565b5050565b610ca061116e565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634fd077f5610ce661085e565b6040518263ffffffff1660e01b8152600401610d02919061135a565b61012060405180830381865afa158015610d20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d449190611d0a565b60a00151905090565b610d5561116e565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634fd077f5610d9b61085e565b6040518263ffffffff1660e01b8152600401610db7919061135a565b61012060405180830381865afa158015610dd5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610df99190611d0a565b60c00151905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610e346108ff565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ea1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9890611b54565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f435f5a7306040518263ffffffff1660e01b8152600401610efc9190611a52565b600060405180830381600087803b158015610f1657600080fd5b505af1158015610f2a573d6000803e3d6000fd5b50505050565b6000610f3f33868686866110b1565b9050949350505050565b6000610f556064611164565b905090565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663630361f68484846040518463ffffffff1660e01b8152600401610fb993929190611d69565b600060405180830381600087803b158015610fd357600080fd5b505af1158015610fe7573d6000803e3d6000fd5b50505050505050565b600090565b6000816bffffffffffffffffffffffff16836bffffffffffffffffffffffff1614905092915050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663bbfbbfba83836040518363ffffffff1660e01b815260040161107b929190611da0565b600060405180830381600087803b15801561109557600080fd5b505af11580156110a9573d6000803e3d6000fd5b505050505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b18ebd3c87878787876040518663ffffffff1660e01b8152600401611116959493929190611dd8565b6020604051808303816000875af1158015611135573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111599190611a82565b905095945050505050565b6000819050919050565b604051806040016040528060008152602001600081525090565b6000604051905090565b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6111cc81611197565b81146111d757600080fd5b50565b6000813590506111e9816111c3565b92915050565b60006020828403121561120557611204611192565b5b6000611213848285016111da565b91505092915050565b60008115159050919050565b6112318161121c565b82525050565b600060208201905061124c6000830184611228565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061127d82611252565b9050919050565b61128d81611272565b82525050565b60006020820190506112a86000830184611284565b92915050565b600060ff82169050919050565b6000819050919050565b60006112e06112db6112d6846112ae565b6112bb565b6112ae565b9050919050565b6112f0816112c5565b82525050565b600060208201905061130b60008301846112e7565b92915050565b60006bffffffffffffffffffffffff82169050919050565b600061134461133f61133a84611311565b6112bb565b611311565b9050919050565b61135481611329565b82525050565b600060208201905061136f600083018461134b565b92915050565b600061139061138b61138684611252565b6112bb565b611252565b9050919050565b60006113a282611375565b9050919050565b60006113b482611397565b9050919050565b6113c4816113a9565b82525050565b60006020820190506113df60008301846113bb565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561141f578082015181840152602081019050611404565b60008484015250505050565b6000601f19601f8301169050919050565b6000611447826113e5565b61145181856113f0565b9350611461818560208601611401565b61146a8161142b565b840191505092915050565b6000602082019050818103600083015261148f818461143c565b905092915050565b60006114a282611397565b9050919050565b6114b281611497565b82525050565b60006020820190506114cd60008301846114a9565b92915050565b6114dc81611311565b81146114e757600080fd5b50565b6000813590506114f9816114d3565b92915050565b6115088161121c565b811461151357600080fd5b50565b600081359050611525816114ff565b92915050565b600064ffffffffff82169050919050565b6115458161152b565b811461155057600080fd5b50565b6000813590506115628161153c565b92915050565b60008060006060848603121561158157611580611192565b5b600061158f868287016114ea565b93505060206115a086828701611516565b92505060406115b186828701611553565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6115f88261142b565b810181811067ffffffffffffffff82111715611617576116166115c0565b5b80604052505050565b600061162a611188565b905061163682826115ef565b919050565b6000819050919050565b61164e8161163b565b811461165957600080fd5b50565b60008135905061166b81611645565b92915050565b61167a8161163b565b811461168557600080fd5b50565b60008135905061169781611671565b92915050565b6000604082840312156116b3576116b26115bb565b5b6116bd6040611620565b905060006116cd8482850161165c565b60008301525060206116e184828501611688565b60208301525092915050565b6000806080838503121561170457611703611192565b5b60006117128582860161169d565b92505060406117238582860161169d565b9150509250929050565b6000806040838503121561174457611743611192565b5b6000611752858286016114ea565b925050602061176385828601611553565b9150509250929050565b600061178861178361177e8461163b565b6112bb565b61163b565b9050919050565b6117988161176d565b82525050565b6117a78161163b565b82525050565b6040820160008201516117c3600085018261178f565b5060208201516117d6602085018261179e565b50505050565b60006040820190506117f160008301846117ad565b92915050565b600061180282611397565b9050919050565b611812816117f7565b82525050565b600060208201905061182d6000830184611809565b92915050565b6000806000806080858703121561184d5761184c611192565b5b600061185b87828801611688565b945050602061186c87828801611688565b935050604061187d87828801611688565b925050606061188e878288016114ea565b91505092959194509250565b600082825260208201905092915050565b50565b60006118bb60008361189a565b91506118c6826118ab565b600082019050919050565b600060208201905081810360008301526118ea816118ae565b9050919050565b7f4552524f523a434f422d3030313a52454749535452595f5a45524f0000000000600082015250565b6000611927601b8361189a565b9150611932826118f1565b602082019050919050565b600060208201905081810360008301526119568161191a565b9050919050565b60008151905061196c816114ff565b92915050565b60006020828403121561198857611987611192565b5b60006119968482850161195d565b91505092915050565b7f4552524f523a434f423a494e5354414e43455f4e4f545f52454749535445524560008201527f4400000000000000000000000000000000000000000000000000000000000000602082015250565b60006119fb60218361189a565b9150611a068261199f565b604082019050919050565b60006020820190508181036000830152611a2a816119ee565b9050919050565b6000611a3c82611397565b9050919050565b611a4c81611a31565b82525050565b6000602082019050611a676000830184611a43565b92915050565b600081519050611a7c816114d3565b92915050565b600060208284031215611a9857611a97611192565b5b6000611aa684828501611a6d565b91505092915050565b611ab881611272565b8114611ac357600080fd5b50565b600081519050611ad581611aaf565b92915050565b600060208284031215611af157611af0611192565b5b6000611aff84828501611ac6565b91505092915050565b7f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000600082015250565b6000611b3e60178361189a565b9150611b4982611b08565b602082019050919050565b60006020820190508181036000830152611b6d81611b31565b9050919050565b6000608082019050611b8960008301856117ad565b611b9660408301846117ad565b9392505050565b6000611ba882611272565b9050919050565b611bb881611b9d565b8114611bc357600080fd5b50565b600081519050611bd581611baf565b92915050565b600081519050611bea81611645565b92915050565b600081519050611bff81611671565b92915050565b600060408284031215611c1b57611c1a6115bb565b5b611c256040611620565b90506000611c3584828501611bdb565b6000830152506020611c4984828501611bf0565b60208301525092915050565b60006101208284031215611c6c57611c6b6115bb565b5b611c7660e0611620565b90506000611c8684828501611a6d565b6000830152506020611c9a84828501611a6d565b6020830152506040611cae84828501611a6d565b6040830152506060611cc284828501611bc6565b6060830152506080611cd684828501611ac6565b60808301525060a0611cea84828501611c05565b60a08301525060e0611cfe84828501611c05565b60c08301525092915050565b60006101208284031215611d2157611d20611192565b5b6000611d2f84828501611c55565b91505092915050565b6000611d53611d4e611d498461152b565b6112bb565b61152b565b9050919050565b611d6381611d38565b82525050565b6000606082019050611d7e600083018661134b565b611d8b6020830185611228565b611d986040830184611d5a565b949350505050565b6000604082019050611db5600083018561134b565b611dc26020830184611d5a565b9392505050565b611dd28161163b565b82525050565b600060a082019050611ded6000830188611284565b611dfa6020830187611dc9565b611e076040830186611dc9565b611e146060830185611dc9565b611e21608083018461134b565b969550505050505056fea26469706673582212204e7df5bf944b0ad7b27316380f5c8a3584332f8cdace8ccf4ab2869b56ece97864736f6c63430008140033",
390
- "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061012c5760003560e01c8063644c45e0116100ad578063bc74aab011610071578063bc74aab0146102eb578063daafed4014610309578063de7b5d1414610327578063f83d08ba14610345578063ff47c73b1461034f5761012c565b8063644c45e01461026d578063893d20e81461028b578063a69df4b5146102a9578063b6b412ba146102b3578063bbfbbfba146102cf5761012c565b806321df0da7116100f457806321df0da7146101d957806331b62a3b146101f75780633bc5de30146102155780635ab1bd5314610233578063630361f6146102515761012c565b806301ffc9a714610131578063132996041461016157806315dae03e1461017f5780631aa3a0081461019d5780631bdd6b76146101bb575b600080fd5b61014b600480360381019061014691906111ef565b61037f565b6040516101589190611237565b60405180910390f35b6101696103e6565b6040516101769190611293565b60405180910390f35b610187610410565b60405161019491906112f6565b60405180910390f35b6101a561041f565b6040516101b2919061135a565b60405180910390f35b6101c36106c3565b6040516101d0919061135a565b60405180910390f35b6101e1610786565b6040516101ee91906113ca565b60405180910390f35b6101ff6107b0565b60405161020c919061135a565b60405180910390f35b61021d6107d8565b60405161022a9190611475565b60405180910390f35b61023b6107ef565b60405161024891906114b8565b60405180910390f35b61026b60048036038101906102669190611568565b610817565b005b61027561085e565b604051610282919061135a565b60405180910390f35b6102936108ff565b6040516102a09190611293565b60405180910390f35b6102b1610a7e565b005b6102cd60048036038101906102c891906116ed565b610b82565b005b6102e960048036038101906102e4919061172d565b610c8a565b005b6102f3610c98565b60405161030091906117dc565b60405180910390f35b610311610d4d565b60405161031e91906117dc565b60405180910390f35b61032f610e02565b60405161033c9190611818565b60405180910390f35b61034d610e2c565b005b61036960048036038101906103649190611833565b610f30565b604051610376919061135a565b60405180910390f35b6000806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600061041a610f49565b905090565b60006104296108ff565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610496576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161048d906118d1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1603610525576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161051c9061193d565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663c3c5a547600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b81526004016105a09190611293565b602060405180830381865afa1580156105bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e19190611972565b610620576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161061790611a11565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b815260040161067b9190611a52565b6020604051808303816000875af115801561069a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106be9190611a82565b905090565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d272ac1e600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b81526004016107409190611293565b602060405180830381865afa15801561075d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107819190611a82565b905090565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b606060405180602001604052806000815250905090565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b7fb00037f8426b35b13d3428bd0d8bb6059e05f90d0da23ee636f827aee1718e48336040516108469190611293565b60405180910390a1610859838383610f5a565b505050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d272ac1e306040518263ffffffff1660e01b81526004016108b99190611293565b602060405180830381865afa1580156108d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108fa9190611a82565b905090565b6000807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d272ac1e306040518263ffffffff1660e01b815260040161095b9190611293565b602060405180830381865afa158015610978573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061099c9190611a82565b90506109af816109aa610ff0565b610ff5565b156109dd577f0000000000000000000000000000000000000000000000000000000000000000915050610a7b565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663df33330b826040518263ffffffff1660e01b8152600401610a36919061135a565b602060405180830381865afa158015610a53573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a779190611adb565b9150505b90565b610a866108ff565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610af3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aea90611b54565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f6c493c306040518263ffffffff1660e01b8152600401610b4e9190611a52565b600060405180830381600087803b158015610b6857600080fd5b505af1158015610b7c573d6000803e3d6000fd5b50505050565b610b8a6108ff565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610bf7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bee90611b54565b60405180910390fd5b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b6b412ba83836040518363ffffffff1660e01b8152600401610c54929190611b74565b600060405180830381600087803b158015610c6e57600080fd5b505af1158015610c82573d6000803e3d6000fd5b505050505050565b610c94828261101e565b5050565b610ca061116e565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634fd077f5610ce661085e565b6040518263ffffffff1660e01b8152600401610d02919061135a565b61012060405180830381865afa158015610d20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d449190611d0a565b60a00151905090565b610d5561116e565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634fd077f5610d9b61085e565b6040518263ffffffff1660e01b8152600401610db7919061135a565b61012060405180830381865afa158015610dd5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610df99190611d0a565b60c00151905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610e346108ff565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ea1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9890611b54565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f435f5a7306040518263ffffffff1660e01b8152600401610efc9190611a52565b600060405180830381600087803b158015610f1657600080fd5b505af1158015610f2a573d6000803e3d6000fd5b50505050565b6000610f3f33868686866110b1565b9050949350505050565b6000610f556064611164565b905090565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663630361f68484846040518463ffffffff1660e01b8152600401610fb993929190611d69565b600060405180830381600087803b158015610fd357600080fd5b505af1158015610fe7573d6000803e3d6000fd5b50505050505050565b600090565b6000816bffffffffffffffffffffffff16836bffffffffffffffffffffffff1614905092915050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663bbfbbfba83836040518363ffffffff1660e01b815260040161107b929190611da0565b600060405180830381600087803b15801561109557600080fd5b505af11580156110a9573d6000803e3d6000fd5b505050505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b18ebd3c87878787876040518663ffffffff1660e01b8152600401611116959493929190611dd8565b6020604051808303816000875af1158015611135573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111599190611a82565b905095945050505050565b6000819050919050565b604051806040016040528060008152602001600081525090565b6000604051905090565b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6111cc81611197565b81146111d757600080fd5b50565b6000813590506111e9816111c3565b92915050565b60006020828403121561120557611204611192565b5b6000611213848285016111da565b91505092915050565b60008115159050919050565b6112318161121c565b82525050565b600060208201905061124c6000830184611228565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061127d82611252565b9050919050565b61128d81611272565b82525050565b60006020820190506112a86000830184611284565b92915050565b600060ff82169050919050565b6000819050919050565b60006112e06112db6112d6846112ae565b6112bb565b6112ae565b9050919050565b6112f0816112c5565b82525050565b600060208201905061130b60008301846112e7565b92915050565b60006bffffffffffffffffffffffff82169050919050565b600061134461133f61133a84611311565b6112bb565b611311565b9050919050565b61135481611329565b82525050565b600060208201905061136f600083018461134b565b92915050565b600061139061138b61138684611252565b6112bb565b611252565b9050919050565b60006113a282611375565b9050919050565b60006113b482611397565b9050919050565b6113c4816113a9565b82525050565b60006020820190506113df60008301846113bb565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561141f578082015181840152602081019050611404565b60008484015250505050565b6000601f19601f8301169050919050565b6000611447826113e5565b61145181856113f0565b9350611461818560208601611401565b61146a8161142b565b840191505092915050565b6000602082019050818103600083015261148f818461143c565b905092915050565b60006114a282611397565b9050919050565b6114b281611497565b82525050565b60006020820190506114cd60008301846114a9565b92915050565b6114dc81611311565b81146114e757600080fd5b50565b6000813590506114f9816114d3565b92915050565b6115088161121c565b811461151357600080fd5b50565b600081359050611525816114ff565b92915050565b600064ffffffffff82169050919050565b6115458161152b565b811461155057600080fd5b50565b6000813590506115628161153c565b92915050565b60008060006060848603121561158157611580611192565b5b600061158f868287016114ea565b93505060206115a086828701611516565b92505060406115b186828701611553565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6115f88261142b565b810181811067ffffffffffffffff82111715611617576116166115c0565b5b80604052505050565b600061162a611188565b905061163682826115ef565b919050565b6000819050919050565b61164e8161163b565b811461165957600080fd5b50565b60008135905061166b81611645565b92915050565b61167a8161163b565b811461168557600080fd5b50565b60008135905061169781611671565b92915050565b6000604082840312156116b3576116b26115bb565b5b6116bd6040611620565b905060006116cd8482850161165c565b60008301525060206116e184828501611688565b60208301525092915050565b6000806080838503121561170457611703611192565b5b60006117128582860161169d565b92505060406117238582860161169d565b9150509250929050565b6000806040838503121561174457611743611192565b5b6000611752858286016114ea565b925050602061176385828601611553565b9150509250929050565b600061178861178361177e8461163b565b6112bb565b61163b565b9050919050565b6117988161176d565b82525050565b6117a78161163b565b82525050565b6040820160008201516117c3600085018261178f565b5060208201516117d6602085018261179e565b50505050565b60006040820190506117f160008301846117ad565b92915050565b600061180282611397565b9050919050565b611812816117f7565b82525050565b600060208201905061182d6000830184611809565b92915050565b6000806000806080858703121561184d5761184c611192565b5b600061185b87828801611688565b945050602061186c87828801611688565b935050604061187d87828801611688565b925050606061188e878288016114ea565b91505092959194509250565b600082825260208201905092915050565b50565b60006118bb60008361189a565b91506118c6826118ab565b600082019050919050565b600060208201905081810360008301526118ea816118ae565b9050919050565b7f4552524f523a434f422d3030313a52454749535452595f5a45524f0000000000600082015250565b6000611927601b8361189a565b9150611932826118f1565b602082019050919050565b600060208201905081810360008301526119568161191a565b9050919050565b60008151905061196c816114ff565b92915050565b60006020828403121561198857611987611192565b5b60006119968482850161195d565b91505092915050565b7f4552524f523a434f423a494e5354414e43455f4e4f545f52454749535445524560008201527f4400000000000000000000000000000000000000000000000000000000000000602082015250565b60006119fb60218361189a565b9150611a068261199f565b604082019050919050565b60006020820190508181036000830152611a2a816119ee565b9050919050565b6000611a3c82611397565b9050919050565b611a4c81611a31565b82525050565b6000602082019050611a676000830184611a43565b92915050565b600081519050611a7c816114d3565b92915050565b600060208284031215611a9857611a97611192565b5b6000611aa684828501611a6d565b91505092915050565b611ab881611272565b8114611ac357600080fd5b50565b600081519050611ad581611aaf565b92915050565b600060208284031215611af157611af0611192565b5b6000611aff84828501611ac6565b91505092915050565b7f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000600082015250565b6000611b3e60178361189a565b9150611b4982611b08565b602082019050919050565b60006020820190508181036000830152611b6d81611b31565b9050919050565b6000608082019050611b8960008301856117ad565b611b9660408301846117ad565b9392505050565b6000611ba882611272565b9050919050565b611bb881611b9d565b8114611bc357600080fd5b50565b600081519050611bd581611baf565b92915050565b600081519050611bea81611645565b92915050565b600081519050611bff81611671565b92915050565b600060408284031215611c1b57611c1a6115bb565b5b611c256040611620565b90506000611c3584828501611bdb565b6000830152506020611c4984828501611bf0565b60208301525092915050565b60006101208284031215611c6c57611c6b6115bb565b5b611c7660e0611620565b90506000611c8684828501611a6d565b6000830152506020611c9a84828501611a6d565b6020830152506040611cae84828501611a6d565b6040830152506060611cc284828501611bc6565b6060830152506080611cd684828501611ac6565b60808301525060a0611cea84828501611c05565b60a08301525060e0611cfe84828501611c05565b60c08301525092915050565b60006101208284031215611d2157611d20611192565b5b6000611d2f84828501611c55565b91505092915050565b6000611d53611d4e611d498461152b565b6112bb565b61152b565b9050919050565b611d6381611d38565b82525050565b6000606082019050611d7e600083018661134b565b611d8b6020830185611228565b611d986040830184611d5a565b949350505050565b6000604082019050611db5600083018561134b565b611dc26020830184611d5a565b9392505050565b611dd28161163b565b82525050565b600060a082019050611ded6000830188611284565b611dfa6020830187611dc9565b611e076040830186611dc9565b611e146060830185611dc9565b611e21608083018461134b565b969550505050505056fea26469706673582212204e7df5bf944b0ad7b27316380f5c8a3584332f8cdace8ccf4ab2869b56ece97864736f6c63430008140033",
391
- "linkReferences": {},
392
- "deployedLinkReferences": {}
393
- }
@@ -1,4 +0,0 @@
1
- {
2
- "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/746f2ad7b0d888e05db828a61f6d5e10.json"
4
- }
@@ -1,137 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "TestRegisterable",
4
- "sourceName": "contracts/test/TestRegisterable.sol",
5
- "abi": [
6
- {
7
- "inputs": [
8
- {
9
- "internalType": "address",
10
- "name": "registry",
11
- "type": "address"
12
- },
13
- {
14
- "internalType": "NftId",
15
- "name": "registryNftId",
16
- "type": "uint96"
17
- }
18
- ],
19
- "stateMutability": "nonpayable",
20
- "type": "constructor"
21
- },
22
- {
23
- "inputs": [],
24
- "name": "getData",
25
- "outputs": [
26
- {
27
- "internalType": "bytes",
28
- "name": "data",
29
- "type": "bytes"
30
- }
31
- ],
32
- "stateMutability": "view",
33
- "type": "function"
34
- },
35
- {
36
- "inputs": [],
37
- "name": "getNftId",
38
- "outputs": [
39
- {
40
- "internalType": "NftId",
41
- "name": "nftId",
42
- "type": "uint96"
43
- }
44
- ],
45
- "stateMutability": "view",
46
- "type": "function"
47
- },
48
- {
49
- "inputs": [],
50
- "name": "getOwner",
51
- "outputs": [
52
- {
53
- "internalType": "address",
54
- "name": "owner",
55
- "type": "address"
56
- }
57
- ],
58
- "stateMutability": "view",
59
- "type": "function"
60
- },
61
- {
62
- "inputs": [],
63
- "name": "getParentNftId",
64
- "outputs": [
65
- {
66
- "internalType": "NftId",
67
- "name": "nftId",
68
- "type": "uint96"
69
- }
70
- ],
71
- "stateMutability": "view",
72
- "type": "function"
73
- },
74
- {
75
- "inputs": [],
76
- "name": "getRegistry",
77
- "outputs": [
78
- {
79
- "internalType": "contract IRegistry",
80
- "name": "registry",
81
- "type": "address"
82
- }
83
- ],
84
- "stateMutability": "view",
85
- "type": "function"
86
- },
87
- {
88
- "inputs": [],
89
- "name": "getType",
90
- "outputs": [
91
- {
92
- "internalType": "ObjectType",
93
- "name": "",
94
- "type": "uint8"
95
- }
96
- ],
97
- "stateMutability": "pure",
98
- "type": "function"
99
- },
100
- {
101
- "inputs": [],
102
- "name": "register",
103
- "outputs": [
104
- {
105
- "internalType": "NftId",
106
- "name": "nftId",
107
- "type": "uint96"
108
- }
109
- ],
110
- "stateMutability": "nonpayable",
111
- "type": "function"
112
- },
113
- {
114
- "inputs": [
115
- {
116
- "internalType": "bytes4",
117
- "name": "interfaceId",
118
- "type": "bytes4"
119
- }
120
- ],
121
- "name": "supportsInterface",
122
- "outputs": [
123
- {
124
- "internalType": "bool",
125
- "name": "",
126
- "type": "bool"
127
- }
128
- ],
129
- "stateMutability": "view",
130
- "type": "function"
131
- }
132
- ],
133
- "bytecode": "0x60e06040523480156200001157600080fd5b506040516200120a3803806200120a83398181016040528101906200003791906200046a565b81816200006a7f01ffc9a7000000000000000000000000000000000000000000000000000000006200034b60201b60201c565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620000dc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000d39062000512565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff168152505060805173ffffffffffffffffffffffffffffffffffffffff166301ffc9a77f06ecd8ef000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b81526004016200016d919062000571565b602060405180830381865afa1580156200018b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001b19190620005cb565b620001f3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001ea906200064d565b60405180910390fd5b806bffffffffffffffffffffffff1660a0816bffffffffffffffffffffffff168152505060805173ffffffffffffffffffffffffffffffffffffffff1663e74d052f60a0516040518263ffffffff1660e01b8152600401620002569190620006b2565b602060405180830381865afa15801562000274573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200029a9190620005cb565b620002dc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002d39062000745565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff1681525050620003417f3bf74c8e000000000000000000000000000000000000000000000000000000006200034b60201b60201c565b5050505062000767565b6001600080837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620003e982620003bc565b9050919050565b620003fb81620003dc565b81146200040757600080fd5b50565b6000815190506200041b81620003f0565b92915050565b60006bffffffffffffffffffffffff82169050919050565b620004448162000421565b81146200045057600080fd5b50565b600081519050620004648162000439565b92915050565b60008060408385031215620004845762000483620003b7565b5b600062000494858286016200040a565b9250506020620004a78582860162000453565b9150509250929050565b600082825260208201905092915050565b7f4552524f523a5247422d3031303a52454749535452595f5a45524f0000000000600082015250565b6000620004fa601b83620004b1565b91506200050782620004c2565b602082019050919050565b600060208201905081810360008301526200052d81620004eb565b9050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6200056b8162000534565b82525050565b600060208201905062000588600083018462000560565b92915050565b60008115159050919050565b620005a5816200058e565b8114620005b157600080fd5b50565b600081519050620005c5816200059a565b92915050565b600060208284031215620005e457620005e3620003b7565b5b6000620005f484828501620005b4565b91505092915050565b7f4552524f523a5247422d3031313a4e4f545f5245474953545259000000000000600082015250565b600062000635601a83620004b1565b91506200064282620005fd565b602082019050919050565b60006020820190508181036000830152620006688162000626565b9050919050565b6000819050919050565b60006200069a620006946200068e8462000421565b6200066f565b62000421565b9050919050565b620006ac8162000679565b82525050565b6000602082019050620006c96000830184620006a1565b92915050565b7f4552524f523a5247422d3031323a504152454e545f4e4f545f5245474953544560008201527f5245440000000000000000000000000000000000000000000000000000000000602082015250565b60006200072d602383620004b1565b91506200073a82620006cf565b604082019050919050565b6000602082019050818103600083015262000760816200071e565b9050919050565b60805160a05160c051610a57620007b360003960006104dc0152600061032101526000818161027e01528181610360015281816103880152818161042a01526105050152610a576000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c80633bc5de301161005b5780633bc5de30146101175780635ab1bd5314610135578063644c45e014610153578063893d20e81461017157610088565b806301ffc9a71461008d57806315dae03e146100bd5780631aa3a008146100db57806331b62a3b146100f9575b600080fd5b6100a760048036038101906100a2919061064a565b61018f565b6040516100b49190610692565b60405180910390f35b6100c56101f6565b6040516100d291906106f5565b60405180910390f35b6100e3610205565b6040516100f09190610759565b60405180910390f35b61010161031d565b60405161010e9190610759565b60405180910390f35b61011f610345565b60405161012c9190610804565b60405180910390f35b61013d61035c565b60405161014a919061089b565b60405180910390f35b61015b610384565b6040516101689190610759565b60405180910390f35b610179610425565b60405161018691906108d7565b60405180910390f35b6000806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b60006102006105a4565b905090565b600061020f610425565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461027c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102739061094f565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b81526004016102d591906108d7565b6020604051808303816000875af11580156102f4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610318919061099b565b905090565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b606060405180602001604052806000815250905090565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d272ac1e306040518263ffffffff1660e01b81526004016103df91906108d7565b602060405180830381865afa1580156103fc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610420919061099b565b905090565b6000807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d272ac1e306040518263ffffffff1660e01b815260040161048191906108d7565b602060405180830381865afa15801561049e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104c2919061099b565b90506104d5816104d06105b5565b6105ba565b15610503577f00000000000000000000000000000000000000000000000000000000000000009150506105a1565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663df33330b826040518263ffffffff1660e01b815260040161055c9190610759565b602060405180830381865afa158015610579573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061059d91906109f4565b9150505b90565b60006105b0601e6105e3565b905090565b600090565b6000816bffffffffffffffffffffffff16836bffffffffffffffffffffffff1614905092915050565b6000819050919050565b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b610627816105f2565b811461063257600080fd5b50565b6000813590506106448161061e565b92915050565b6000602082840312156106605761065f6105ed565b5b600061066e84828501610635565b91505092915050565b60008115159050919050565b61068c81610677565b82525050565b60006020820190506106a76000830184610683565b92915050565b600060ff82169050919050565b6000819050919050565b60006106df6106da6106d5846106ad565b6106ba565b6106ad565b9050919050565b6106ef816106c4565b82525050565b600060208201905061070a60008301846106e6565b92915050565b60006bffffffffffffffffffffffff82169050919050565b600061074361073e61073984610710565b6106ba565b610710565b9050919050565b61075381610728565b82525050565b600060208201905061076e600083018461074a565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156107ae578082015181840152602081019050610793565b60008484015250505050565b6000601f19601f8301169050919050565b60006107d682610774565b6107e0818561077f565b93506107f0818560208601610790565b6107f9816107ba565b840191505092915050565b6000602082019050818103600083015261081e81846107cb565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061086161085c61085784610826565b6106ba565b610826565b9050919050565b600061087382610846565b9050919050565b600061088582610868565b9050919050565b6108958161087a565b82525050565b60006020820190506108b0600083018461088c565b92915050565b60006108c182610826565b9050919050565b6108d1816108b6565b82525050565b60006020820190506108ec60008301846108c8565b92915050565b600082825260208201905092915050565b7f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000600082015250565b60006109396017836108f2565b915061094482610903565b602082019050919050565b600060208201905081810360008301526109688161092c565b9050919050565b61097881610710565b811461098357600080fd5b50565b6000815190506109958161096f565b92915050565b6000602082840312156109b1576109b06105ed565b5b60006109bf84828501610986565b91505092915050565b6109d1816108b6565b81146109dc57600080fd5b50565b6000815190506109ee816109c8565b92915050565b600060208284031215610a0a57610a096105ed565b5b6000610a18848285016109df565b9150509291505056fea26469706673582212203df923036544800315507b926042712b6a27e08795968fb78a39f186fdf5eea464736f6c63430008140033",
134
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100885760003560e01c80633bc5de301161005b5780633bc5de30146101175780635ab1bd5314610135578063644c45e014610153578063893d20e81461017157610088565b806301ffc9a71461008d57806315dae03e146100bd5780631aa3a008146100db57806331b62a3b146100f9575b600080fd5b6100a760048036038101906100a2919061064a565b61018f565b6040516100b49190610692565b60405180910390f35b6100c56101f6565b6040516100d291906106f5565b60405180910390f35b6100e3610205565b6040516100f09190610759565b60405180910390f35b61010161031d565b60405161010e9190610759565b60405180910390f35b61011f610345565b60405161012c9190610804565b60405180910390f35b61013d61035c565b60405161014a919061089b565b60405180910390f35b61015b610384565b6040516101689190610759565b60405180910390f35b610179610425565b60405161018691906108d7565b60405180910390f35b6000806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b60006102006105a4565b905090565b600061020f610425565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461027c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102739061094f565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b81526004016102d591906108d7565b6020604051808303816000875af11580156102f4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610318919061099b565b905090565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b606060405180602001604052806000815250905090565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d272ac1e306040518263ffffffff1660e01b81526004016103df91906108d7565b602060405180830381865afa1580156103fc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610420919061099b565b905090565b6000807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d272ac1e306040518263ffffffff1660e01b815260040161048191906108d7565b602060405180830381865afa15801561049e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104c2919061099b565b90506104d5816104d06105b5565b6105ba565b15610503577f00000000000000000000000000000000000000000000000000000000000000009150506105a1565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663df33330b826040518263ffffffff1660e01b815260040161055c9190610759565b602060405180830381865afa158015610579573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061059d91906109f4565b9150505b90565b60006105b0601e6105e3565b905090565b600090565b6000816bffffffffffffffffffffffff16836bffffffffffffffffffffffff1614905092915050565b6000819050919050565b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b610627816105f2565b811461063257600080fd5b50565b6000813590506106448161061e565b92915050565b6000602082840312156106605761065f6105ed565b5b600061066e84828501610635565b91505092915050565b60008115159050919050565b61068c81610677565b82525050565b60006020820190506106a76000830184610683565b92915050565b600060ff82169050919050565b6000819050919050565b60006106df6106da6106d5846106ad565b6106ba565b6106ad565b9050919050565b6106ef816106c4565b82525050565b600060208201905061070a60008301846106e6565b92915050565b60006bffffffffffffffffffffffff82169050919050565b600061074361073e61073984610710565b6106ba565b610710565b9050919050565b61075381610728565b82525050565b600060208201905061076e600083018461074a565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156107ae578082015181840152602081019050610793565b60008484015250505050565b6000601f19601f8301169050919050565b60006107d682610774565b6107e0818561077f565b93506107f0818560208601610790565b6107f9816107ba565b840191505092915050565b6000602082019050818103600083015261081e81846107cb565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061086161085c61085784610826565b6106ba565b610826565b9050919050565b600061087382610846565b9050919050565b600061088582610868565b9050919050565b6108958161087a565b82525050565b60006020820190506108b0600083018461088c565b92915050565b60006108c182610826565b9050919050565b6108d1816108b6565b82525050565b60006020820190506108ec60008301846108c8565b92915050565b600082825260208201905092915050565b7f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000600082015250565b60006109396017836108f2565b915061094482610903565b602082019050919050565b600060208201905081810360008301526109688161092c565b9050919050565b61097881610710565b811461098357600080fd5b50565b6000815190506109958161096f565b92915050565b6000602082840312156109b1576109b06105ed565b5b60006109bf84828501610986565b91505092915050565b6109d1816108b6565b81146109dc57600080fd5b50565b6000815190506109ee816109c8565b92915050565b600060208284031215610a0a57610a096105ed565b5b6000610a18848285016109df565b9150509291505056fea26469706673582212203df923036544800315507b926042712b6a27e08795968fb78a39f186fdf5eea464736f6c63430008140033",
135
- "linkReferences": {},
136
- "deployedLinkReferences": {}
137
- }
@@ -1,4 +0,0 @@
1
- {
2
- "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/746f2ad7b0d888e05db828a61f6d5e10.json"
4
- }