@etherisc/gif-next 0.0.2-f7d1200-068 → 0.0.2-f7fa064-035

Sign up to get free protection for your applications and to get access to all the features.
Files changed (448) hide show
  1. package/README.md +5 -2
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +105 -65
  4. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  5. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  6. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +67 -11
  7. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
  8. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
  9. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +60 -32
  10. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  11. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +40 -3
  12. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  13. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +19 -0
  14. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.json +1196 -0
  16. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  17. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +68 -5
  18. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  19. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +157 -273
  20. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  21. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +82 -22
  22. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  23. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +91 -239
  24. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  25. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +190 -292
  26. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  27. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +107 -123
  28. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  29. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +78 -92
  30. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  31. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +78 -62
  32. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  33. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  34. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  35. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1519 -0
  36. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  37. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +470 -0
  38. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  39. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2072 -0
  40. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +470 -0
  42. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  44. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  45. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1471 -0
  46. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  47. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1231 -0
  48. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  49. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1573 -0
  50. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  51. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2095 -0
  52. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  53. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +2 -2
  54. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  55. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +53 -31
  56. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  57. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +31 -86
  58. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  59. package/artifacts/contracts/instance/Instance.sol/Instance.json +56 -123
  60. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  61. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +166 -139
  62. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  63. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +57 -97
  64. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  65. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +446 -81
  66. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  67. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +80 -245
  68. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  69. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +75 -87
  70. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  71. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +335 -126
  72. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  73. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  74. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  75. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  76. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  77. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  78. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +46 -5
  79. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  80. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +2 -2
  81. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  82. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  83. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  84. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  85. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  86. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  87. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  88. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  89. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +131 -247
  90. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  91. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +84 -24
  92. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  93. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  94. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +66 -80
  95. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  96. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +43 -9
  97. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  98. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +79 -227
  99. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  100. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +91 -159
  101. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  102. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +75 -83
  103. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  104. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +102 -254
  105. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  106. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +82 -22
  107. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  108. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +172 -228
  109. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  110. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +114 -110
  111. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  112. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +53 -31
  113. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  114. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +91 -77
  115. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  116. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +221 -151
  117. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  118. package/artifacts/contracts/pool/Pool.sol/Pool.json +102 -241
  119. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  120. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +299 -374
  121. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  122. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +93 -125
  123. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  124. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +76 -168
  125. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  126. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +72 -92
  127. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  128. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +136 -243
  129. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  130. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +82 -22
  131. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  132. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +282 -190
  133. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  134. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +116 -104
  135. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  136. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +34 -0
  137. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  138. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +161 -7
  139. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  140. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +144 -35
  141. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  142. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +114 -85
  143. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  144. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +124 -97
  145. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  146. package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +31 -2
  147. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  148. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +231 -264
  149. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  150. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +107 -119
  151. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  152. package/artifacts/contracts/product/PricingService.sol/PricingService.json +199 -309
  153. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  154. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +96 -120
  155. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  156. package/artifacts/contracts/product/Product.sol/Product.json +136 -243
  157. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  158. package/artifacts/contracts/product/RiskService.sol/RiskService.json +622 -0
  159. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  160. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +694 -0
  161. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  162. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  163. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  164. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +286 -34
  165. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  166. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +114 -35
  167. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  168. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  169. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  170. package/artifacts/contracts/registry/Registry.sol/Registry.json +492 -95
  171. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  172. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +283 -143
  173. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  174. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +78 -284
  175. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  176. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +67 -75
  177. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  178. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +47 -6
  179. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  180. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +129 -221
  181. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  182. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +66 -8
  183. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  184. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +2 -2
  185. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  186. package/artifacts/contracts/shared/Component.sol/Component.json +68 -201
  187. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  188. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +355 -299
  189. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  190. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +122 -128
  191. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
  192. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +47 -112
  193. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  194. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +92 -0
  195. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  196. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +55 -54
  197. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  198. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +321 -19
  199. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  200. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +66 -80
  201. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  202. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +36 -0
  203. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  204. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +36 -0
  205. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  206. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +16 -0
  207. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  208. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +15 -47
  209. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  210. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +29 -0
  211. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  212. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  213. package/artifacts/contracts/shared/IService.sol/IService.json +29 -0
  214. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  215. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +2 -22
  216. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  217. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +79 -227
  218. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  219. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +42 -1
  220. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  221. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -1
  222. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  223. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  224. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  225. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +22 -57
  226. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  227. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +19 -141
  228. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  229. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +58 -89
  230. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  231. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  232. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  233. package/artifacts/contracts/shared/Service.sol/Service.json +47 -112
  234. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  235. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +288 -16
  236. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  237. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +108 -0
  238. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  239. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +82 -55
  240. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  241. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +29 -21
  242. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +1 -1
  243. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +63 -93
  244. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  245. package/artifacts/contracts/staking/Staking.sol/Staking.json +167 -270
  246. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
  247. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +46 -5
  248. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  249. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +100 -97
  250. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  251. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +6 -11
  252. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  253. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +71 -165
  254. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  255. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +71 -79
  256. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  257. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +169 -128
  258. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  259. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +54 -23
  260. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  261. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  262. package/artifacts/contracts/type/Amount.sol/AmountLib.json +32 -8
  263. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  264. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  265. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  266. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  267. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  268. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  269. package/artifacts/contracts/type/Fee.sol/FeeLib.json +2 -2
  270. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  271. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  272. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  273. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +2 -2
  274. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  275. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  276. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  277. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +2 -2
  278. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  279. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  280. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  281. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  282. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  283. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  284. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  285. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +60 -4
  286. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  287. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +2 -2
  288. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  289. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +26 -2
  290. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  291. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  292. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  293. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  294. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  295. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  296. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +2 -2
  297. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +1 -1
  298. package/artifacts/contracts/type/UFixed.sol/MathLib.json +2 -2
  299. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  300. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +15 -2
  301. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  302. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  303. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  304. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  305. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +55 -70
  306. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  307. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  308. package/contracts/authorization/AccessAdmin.sol +64 -59
  309. package/contracts/authorization/Authorization.sol +111 -40
  310. package/contracts/authorization/IAccess.sol +1 -0
  311. package/contracts/authorization/IAccessAdmin.sol +4 -3
  312. package/contracts/authorization/IAuthorization.sol +13 -7
  313. package/contracts/authorization/IServiceAuthorization.sol +3 -1
  314. package/contracts/authorization/ReleaseAccessManager.sol +38 -0
  315. package/contracts/authorization/ServiceAuthorization.sol +26 -10
  316. package/contracts/distribution/BasicDistribution.sol +2 -1
  317. package/contracts/distribution/Distribution.sol +7 -17
  318. package/contracts/distribution/DistributionService.sol +84 -65
  319. package/contracts/distribution/DistributionServiceManager.sol +6 -6
  320. package/contracts/distribution/IDistributionComponent.sol +1 -1
  321. package/contracts/distribution/IDistributionService.sol +9 -5
  322. package/contracts/examples/fire/DamageLevel.sol +59 -0
  323. package/contracts/examples/fire/FirePool.sol +73 -0
  324. package/contracts/examples/fire/FirePoolAuthorization.sol +34 -0
  325. package/contracts/examples/fire/FireProduct.sol +415 -0
  326. package/contracts/examples/fire/FireProductAuthorization.sol +44 -0
  327. package/contracts/examples/fire/FireUSD.sol +26 -0
  328. package/contracts/examples/unpermissioned/SimpleDistribution.sol +50 -0
  329. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  330. package/contracts/examples/unpermissioned/SimplePool.sol +76 -0
  331. package/contracts/examples/unpermissioned/SimpleProduct.sol +351 -0
  332. package/contracts/instance/IInstance.sol +10 -30
  333. package/contracts/instance/IInstanceService.sol +2 -23
  334. package/contracts/instance/Instance.sol +29 -51
  335. package/contracts/instance/InstanceAdmin.sol +43 -32
  336. package/contracts/instance/InstanceAuthorizationV3.sol +11 -21
  337. package/contracts/instance/InstanceReader.sol +106 -19
  338. package/contracts/instance/InstanceService.sol +75 -104
  339. package/contracts/instance/InstanceServiceManager.sol +6 -7
  340. package/contracts/instance/InstanceStore.sol +11 -1
  341. package/contracts/instance/base/ObjectLifecycle.sol +8 -1
  342. package/contracts/instance/module/IComponents.sol +10 -5
  343. package/contracts/instance/module/IPolicy.sol +23 -23
  344. package/contracts/oracle/BasicOracle.sol +0 -1
  345. package/contracts/oracle/IOracleService.sol +2 -1
  346. package/contracts/oracle/Oracle.sol +6 -16
  347. package/contracts/oracle/OracleService.sol +47 -34
  348. package/contracts/oracle/OracleServiceManager.sol +6 -6
  349. package/contracts/pool/BasicPool.sol +14 -26
  350. package/contracts/pool/BasicPoolAuthorization.sol +0 -1
  351. package/contracts/pool/BundleService.sol +93 -50
  352. package/contracts/pool/BundleServiceManager.sol +6 -6
  353. package/contracts/pool/IBundleService.sol +11 -3
  354. package/contracts/pool/IPoolComponent.sol +18 -8
  355. package/contracts/pool/IPoolService.sol +49 -31
  356. package/contracts/pool/Pool.sol +53 -51
  357. package/contracts/pool/PoolService.sol +159 -174
  358. package/contracts/pool/PoolServiceManager.sol +4 -4
  359. package/contracts/product/ApplicationService.sol +59 -30
  360. package/contracts/product/ApplicationServiceManager.sol +4 -4
  361. package/contracts/product/BasicProduct.sol +7 -6
  362. package/contracts/product/BasicProductAuthorization.sol +0 -1
  363. package/contracts/product/ClaimService.sol +309 -121
  364. package/contracts/product/ClaimServiceManager.sol +4 -4
  365. package/contracts/product/IApplicationService.sol +1 -0
  366. package/contracts/product/IClaimService.sol +30 -7
  367. package/contracts/product/IPolicyService.sol +21 -26
  368. package/contracts/product/IPricingService.sol +10 -10
  369. package/contracts/product/IProductComponent.sol +23 -4
  370. package/contracts/product/{IProductService.sol → IRiskService.sol} +1 -1
  371. package/contracts/product/PolicyService.sol +309 -174
  372. package/contracts/product/PolicyServiceManager.sol +4 -4
  373. package/contracts/product/PricingService.sol +54 -54
  374. package/contracts/product/PricingServiceManager.sol +3 -3
  375. package/contracts/product/Product.sol +117 -73
  376. package/contracts/product/{ProductService.sol → RiskService.sol} +7 -10
  377. package/contracts/product/RiskServiceManager.sol +39 -0
  378. package/contracts/registry/ChainNft.sol +68 -38
  379. package/contracts/registry/IRegistry.sol +55 -18
  380. package/contracts/registry/IRegistryService.sol +5 -12
  381. package/contracts/registry/ITransferInterceptor.sol +1 -2
  382. package/contracts/registry/Registry.sol +342 -201
  383. package/contracts/registry/RegistryAdmin.sol +134 -51
  384. package/contracts/registry/RegistryService.sol +35 -46
  385. package/contracts/registry/RegistryServiceManager.sol +2 -2
  386. package/contracts/registry/ReleaseLifecycle.sol +6 -3
  387. package/contracts/registry/ReleaseRegistry.sol +204 -188
  388. package/contracts/registry/ServiceAuthorizationV3.sol +16 -22
  389. package/contracts/shared/Component.sol +36 -52
  390. package/contracts/shared/ComponentService.sol +246 -151
  391. package/contracts/shared/ComponentServiceManager.sol +8 -5
  392. package/contracts/shared/ComponentVerifyingService.sol +23 -14
  393. package/contracts/shared/ContractLib.sol +38 -0
  394. package/contracts/shared/IComponent.sol +6 -3
  395. package/contracts/shared/IComponentService.sol +25 -13
  396. package/contracts/shared/IInstanceLinkedComponent.sol +2 -17
  397. package/contracts/shared/ILifecycle.sol +3 -1
  398. package/contracts/shared/INftOwnable.sol +2 -0
  399. package/contracts/shared/IPolicyHolder.sol +12 -22
  400. package/contracts/shared/IRegisterable.sol +11 -0
  401. package/contracts/shared/InitializableERC165.sol +2 -2
  402. package/contracts/shared/InstanceLinkedComponent.sol +72 -31
  403. package/contracts/shared/KeyValueStore.sol +1 -1
  404. package/contracts/shared/Lifecycle.sol +15 -4
  405. package/contracts/shared/NftOwnable.sol +27 -7
  406. package/contracts/shared/PolicyHolder.sol +15 -52
  407. package/contracts/shared/Registerable.sol +19 -9
  408. package/contracts/shared/RegistryLinked.sol +3 -2
  409. package/contracts/shared/Service.sol +20 -18
  410. package/contracts/shared/TokenHandler.sol +99 -22
  411. package/contracts/shared/TokenHandlerDeployerLib.sol +12 -0
  412. package/contracts/staking/IStaking.sol +2 -1
  413. package/contracts/staking/IStakingService.sol +0 -3
  414. package/contracts/staking/StakeManagerLib.sol +18 -25
  415. package/contracts/staking/Staking.sol +13 -32
  416. package/contracts/staking/StakingManager.sol +8 -6
  417. package/contracts/staking/StakingReader.sol +12 -5
  418. package/contracts/staking/StakingService.sol +17 -17
  419. package/contracts/staking/StakingServiceManager.sol +2 -2
  420. package/contracts/staking/TargetManagerLib.sol +7 -3
  421. package/contracts/type/Amount.sol +15 -0
  422. package/contracts/type/ClaimId.sol +6 -1
  423. package/contracts/type/NftId.sol +1 -0
  424. package/contracts/type/ObjectType.sol +16 -11
  425. package/contracts/type/PayoutId.sol +10 -10
  426. package/contracts/type/RiskId.sol +15 -1
  427. package/contracts/type/RoleId.sol +0 -12
  428. package/contracts/type/Seconds.sol +8 -0
  429. package/contracts/type/StateId.sol +15 -1
  430. package/contracts/type/UFixed.sol +4 -0
  431. package/contracts/upgradeability/ProxyManager.sol +68 -34
  432. package/contracts/upgradeability/Versionable.sol +2 -2
  433. package/package.json +3 -2
  434. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +0 -4
  435. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +0 -290
  436. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +0 -4
  437. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +0 -390
  438. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  439. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  440. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -708
  441. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  442. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -702
  443. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
  444. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
  445. package/contracts/authorization/IModuleAuthorization.sol +0 -21
  446. package/contracts/authorization/ModuleAuthorization.sol +0 -78
  447. package/contracts/product/ProductServiceManager.sol +0 -39
  448. package/contracts/shared/InitializableCustom.sol +0 -177
@@ -30,6 +30,22 @@
30
30
  "name": "ErrorNftOwnableInitialOwnerZero",
31
31
  "type": "error"
32
32
  },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "NftId",
37
+ "name": "nftId",
38
+ "type": "uint96"
39
+ },
40
+ {
41
+ "internalType": "ObjectType",
42
+ "name": "expectedObjectType",
43
+ "type": "uint8"
44
+ }
45
+ ],
46
+ "name": "ErrorNftOwnableInvalidType",
47
+ "type": "error"
48
+ },
33
49
  {
34
50
  "inputs": [
35
51
  {
@@ -127,44 +143,6 @@
127
143
  "stateMutability": "view",
128
144
  "type": "function"
129
145
  },
130
- {
131
- "inputs": [],
132
- "name": "initializeERC165",
133
- "outputs": [],
134
- "stateMutability": "nonpayable",
135
- "type": "function"
136
- },
137
- {
138
- "inputs": [
139
- {
140
- "internalType": "address",
141
- "name": "initialOwner",
142
- "type": "address"
143
- },
144
- {
145
- "internalType": "address",
146
- "name": "registryAddress",
147
- "type": "address"
148
- }
149
- ],
150
- "name": "initializeNftOwnable",
151
- "outputs": [],
152
- "stateMutability": "nonpayable",
153
- "type": "function"
154
- },
155
- {
156
- "inputs": [
157
- {
158
- "internalType": "address",
159
- "name": "registryAddress",
160
- "type": "address"
161
- }
162
- ],
163
- "name": "initializeRegistryLinked",
164
- "outputs": [],
165
- "stateMutability": "nonpayable",
166
- "type": "function"
167
- },
168
146
  {
169
147
  "inputs": [],
170
148
  "name": "linkToRegisteredNftId",
@@ -178,19 +156,6 @@
178
156
  "stateMutability": "nonpayable",
179
157
  "type": "function"
180
158
  },
181
- {
182
- "inputs": [
183
- {
184
- "internalType": "bytes4",
185
- "name": "interfaceId",
186
- "type": "bytes4"
187
- }
188
- ],
189
- "name": "registerInterface",
190
- "outputs": [],
191
- "stateMutability": "nonpayable",
192
- "type": "function"
193
- },
194
159
  {
195
160
  "inputs": [
196
161
  {
@@ -211,18 +176,18 @@
211
176
  "type": "function"
212
177
  }
213
178
  ],
214
- "bytecode": "0x6080604052348015600e575f80fd5b5061087b8061001c5f395ff3fe608060405234801561000f575f80fd5b506004361061009b575f3560e01c8063644c45e011610063578063644c45e014610142578063675393bf1461015f578063893d20e814610172578063ada9652e1461017a578063f7c34ee01461019c575f80fd5b806301ffc9a71461009f578063138461e0146100e0578063214cdb801461010057806336fc697e146101155780635ab1bd531461011d575b5f80fd5b6100cb6100ad366004610731565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6100e86101af565b6040516001600160601b0390911681526020016100d7565b61011361010e366004610731565b6101be565b005b6101136101ea565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016100d7565b5f80516020610826833981519152546001600160601b03166100e8565b61011361016d366004610773565b61022f565b61012a610341565b61018e5f8051602061082683398151915281565b6040519081526020016100d7565b6101136101aa36600461078e565b610472565b5f6101b9306104e8565b905090565b6101c66106e1565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b6101f26106e1565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6102376106e1565b806001600160a01b03163b5f036102715760405163fdeac91f60e01b81526001600160a01b03821660048201526024015b60405180910390fd5b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526318788cbb60e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156102eb575060408051601f3d908101601f191682019092526102e8918101906107c5565b60015b6103135760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610268565b8061033c5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610268565b505b50565b5f805f8051602061082683398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156103ad573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103d191906107c5565b1561045c576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610432573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061045691906107e4565b91505090565b54600160601b90046001600160a01b0316919050565b61047a6106e1565b6104838161022f565b61048b6101ea565b6001600160a01b0382166104b25760405163f17ef42d60e01b815260040160405180910390fd5b505f8051602061082683398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b5f805f8051602061082683398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610554573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061057891906107c5565b156105a45780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610268565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156105f6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061061a91906107c5565b6106425760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610268565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa158015610694573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106b891906107ff565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff1661072f57604051631afcd79f60e31b815260040160405180910390fd5b565b5f60208284031215610741575f80fd5b81356001600160e01b031981168114610758575f80fd5b9392505050565b6001600160a01b038116811461033e575f80fd5b5f60208284031215610783575f80fd5b81356107588161075f565b5f806040838503121561079f575f80fd5b82356107aa8161075f565b915060208301356107ba8161075f565b809150509250929050565b5f602082840312156107d5575f80fd5b81518015158114610758575f80fd5b5f602082840312156107f4575f80fd5b81516107588161075f565b5f6020828403121561080f575f80fd5b81516001600160601b0381168114610758575f80fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a264697066735822122087d635203a3955f46cf9f0bf4025ad043e1884a12ea35fc9494a4d9d002b033164736f6c634300081a0033",
215
- "deployedBytecode": "0x608060405234801561000f575f80fd5b506004361061009b575f3560e01c8063644c45e011610063578063644c45e014610142578063675393bf1461015f578063893d20e814610172578063ada9652e1461017a578063f7c34ee01461019c575f80fd5b806301ffc9a71461009f578063138461e0146100e0578063214cdb801461010057806336fc697e146101155780635ab1bd531461011d575b5f80fd5b6100cb6100ad366004610731565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6100e86101af565b6040516001600160601b0390911681526020016100d7565b61011361010e366004610731565b6101be565b005b6101136101ea565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016100d7565b5f80516020610826833981519152546001600160601b03166100e8565b61011361016d366004610773565b61022f565b61012a610341565b61018e5f8051602061082683398151915281565b6040519081526020016100d7565b6101136101aa36600461078e565b610472565b5f6101b9306104e8565b905090565b6101c66106e1565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b6101f26106e1565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6102376106e1565b806001600160a01b03163b5f036102715760405163fdeac91f60e01b81526001600160a01b03821660048201526024015b60405180910390fd5b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526318788cbb60e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156102eb575060408051601f3d908101601f191682019092526102e8918101906107c5565b60015b6103135760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610268565b8061033c5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610268565b505b50565b5f805f8051602061082683398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156103ad573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103d191906107c5565b1561045c576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610432573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061045691906107e4565b91505090565b54600160601b90046001600160a01b0316919050565b61047a6106e1565b6104838161022f565b61048b6101ea565b6001600160a01b0382166104b25760405163f17ef42d60e01b815260040160405180910390fd5b505f8051602061082683398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b5f805f8051602061082683398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610554573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061057891906107c5565b156105a45780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610268565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156105f6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061061a91906107c5565b6106425760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610268565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa158015610694573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106b891906107ff565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff1661072f57604051631afcd79f60e31b815260040160405180910390fd5b565b5f60208284031215610741575f80fd5b81356001600160e01b031981168114610758575f80fd5b9392505050565b6001600160a01b038116811461033e575f80fd5b5f60208284031215610783575f80fd5b81356107588161075f565b5f806040838503121561079f575f80fd5b82356107aa8161075f565b915060208301356107ba8161075f565b809150509250929050565b5f602082840312156107d5575f80fd5b81518015158114610758575f80fd5b5f602082840312156107f4575f80fd5b81516107588161075f565b5f6020828403121561080f575f80fd5b81516001600160601b0381168114610758575f80fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a264697066735822122087d635203a3955f46cf9f0bf4025ad043e1884a12ea35fc9494a4d9d002b033164736f6c634300081a0033",
179
+ "bytecode": "0x6080604052348015600e575f80fd5b5061055e8061001c5f395ff3fe608060405234801561000f575f80fd5b5060043610610060575f3560e01c806301ffc9a714610064578063138461e0146100a55780635ab1bd53146100c5578063644c45e0146100ea578063893d20e814610107578063ada9652e1461010f575b5f80fd5b61009061007236600461046f565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6100ad610131565b6040516001600160601b03909116815260200161009c565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161009c565b5f80516020610509833981519152546001600160601b03166100ad565b6100d2610140565b6101235f8051602061050983398151915281565b60405190815260200161009c565b5f61013b30610271565b905090565b5f805f8051602061050983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156101ac573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101d0919061049d565b1561025b576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610231573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061025591906104bc565b91505090565b54600160601b90046001600160a01b0316919050565b5f805f8051602061050983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156102dd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610301919061049d565b156103325780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015610384573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103a8919061049d565b6103d05760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610329565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015610422573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061044691906104e2565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f6020828403121561047f575f80fd5b81356001600160e01b031981168114610496575f80fd5b9392505050565b5f602082840312156104ad575f80fd5b81518015158114610496575f80fd5b5f602082840312156104cc575f80fd5b81516001600160a01b0381168114610496575f80fd5b5f602082840312156104f2575f80fd5b81516001600160601b0381168114610496575f80fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a264697066735822122038078c22ce152a8d352036706292ee67bd96cab32f1ad0a3c6d23702918a0ab164736f6c634300081a0033",
180
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610060575f3560e01c806301ffc9a714610064578063138461e0146100a55780635ab1bd53146100c5578063644c45e0146100ea578063893d20e814610107578063ada9652e1461010f575b5f80fd5b61009061007236600461046f565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6100ad610131565b6040516001600160601b03909116815260200161009c565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161009c565b5f80516020610509833981519152546001600160601b03166100ad565b6100d2610140565b6101235f8051602061050983398151915281565b60405190815260200161009c565b5f61013b30610271565b905090565b5f805f8051602061050983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156101ac573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101d0919061049d565b1561025b576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610231573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061025591906104bc565b91505090565b54600160601b90046001600160a01b0316919050565b5f805f8051602061050983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156102dd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610301919061049d565b156103325780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015610384573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103a8919061049d565b6103d05760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610329565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015610422573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061044691906104e2565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f6020828403121561047f575f80fd5b81356001600160e01b031981168114610496575f80fd5b9392505050565b5f602082840312156104ad575f80fd5b81518015158114610496575f80fd5b5f602082840312156104cc575f80fd5b81516001600160a01b0381168114610496575f80fd5b5f602082840312156104f2575f80fd5b81516001600160601b0381168114610496575f80fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a264697066735822122038078c22ce152a8d352036706292ee67bd96cab32f1ad0a3c6d23702918a0ab164736f6c634300081a0033",
216
181
  "linkReferences": {
217
182
  "contracts/type/NftId.sol": {
218
183
  "NftIdLib": [
219
184
  {
220
185
  "length": 20,
221
- "start": 913
186
+ "start": 400
222
187
  },
223
188
  {
224
189
  "length": 20,
225
- "start": 1336
190
+ "start": 705
226
191
  }
227
192
  ]
228
193
  }
@@ -232,11 +197,11 @@
232
197
  "NftIdLib": [
233
198
  {
234
199
  "length": 20,
235
- "start": 885
200
+ "start": 372
236
201
  },
237
202
  {
238
203
  "length": 20,
239
- "start": 1308
204
+ "start": 677
240
205
  }
241
206
  ]
242
207
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/c608b94968337cdea2af76c47fb35ed7.json"
3
+ "buildInfo": "../../../build-info/e5a8cf4867fca2685a5a66bdebb5843e.json"
4
4
  }
@@ -37,19 +37,6 @@
37
37
  "name": "Initialized",
38
38
  "type": "event"
39
39
  },
40
- {
41
- "inputs": [],
42
- "name": "POLICY_HOLDER_STORAGE_LOCATION_V1",
43
- "outputs": [
44
- {
45
- "internalType": "bytes32",
46
- "name": "",
47
- "type": "bytes32"
48
- }
49
- ],
50
- "stateMutability": "view",
51
- "type": "function"
52
- },
53
40
  {
54
41
  "inputs": [
55
42
  {
@@ -73,30 +60,6 @@
73
60
  "stateMutability": "nonpayable",
74
61
  "type": "function"
75
62
  },
76
- {
77
- "inputs": [
78
- {
79
- "internalType": "NftId",
80
- "name": "policyNftId",
81
- "type": "uint96"
82
- },
83
- {
84
- "internalType": "PayoutId",
85
- "name": "payoutId",
86
- "type": "uint24"
87
- }
88
- ],
89
- "name": "getBeneficiary",
90
- "outputs": [
91
- {
92
- "internalType": "address",
93
- "name": "beneficiary",
94
- "type": "address"
95
- }
96
- ],
97
- "stateMutability": "view",
98
- "type": "function"
99
- },
100
63
  {
101
64
  "inputs": [],
102
65
  "name": "getRegistry",
@@ -110,44 +73,6 @@
110
73
  "stateMutability": "view",
111
74
  "type": "function"
112
75
  },
113
- {
114
- "inputs": [],
115
- "name": "initializeERC165",
116
- "outputs": [],
117
- "stateMutability": "nonpayable",
118
- "type": "function"
119
- },
120
- {
121
- "inputs": [
122
- {
123
- "internalType": "address",
124
- "name": "registryAddress",
125
- "type": "address"
126
- },
127
- {
128
- "internalType": "address",
129
- "name": "beneficiaryDefault",
130
- "type": "address"
131
- }
132
- ],
133
- "name": "initializePolicyHolder",
134
- "outputs": [],
135
- "stateMutability": "nonpayable",
136
- "type": "function"
137
- },
138
- {
139
- "inputs": [
140
- {
141
- "internalType": "address",
142
- "name": "registryAddress",
143
- "type": "address"
144
- }
145
- ],
146
- "name": "initializeRegistryLinked",
147
- "outputs": [],
148
- "stateMutability": "nonpayable",
149
- "type": "function"
150
- },
151
76
  {
152
77
  "inputs": [
153
78
  {
@@ -192,17 +117,17 @@
192
117
  {
193
118
  "internalType": "PayoutId",
194
119
  "name": "payoutId",
195
- "type": "uint24"
196
- },
197
- {
198
- "internalType": "address",
199
- "name": "beneficiary",
200
- "type": "address"
120
+ "type": "uint40"
201
121
  },
202
122
  {
203
123
  "internalType": "Amount",
204
124
  "name": "amount",
205
125
  "type": "uint96"
126
+ },
127
+ {
128
+ "internalType": "address",
129
+ "name": "beneficiary",
130
+ "type": "address"
206
131
  }
207
132
  ],
208
133
  "name": "payoutExecuted",
@@ -216,6 +141,11 @@
216
141
  "internalType": "NftId",
217
142
  "name": "policyNftId",
218
143
  "type": "uint96"
144
+ },
145
+ {
146
+ "internalType": "Timestamp",
147
+ "name": "activatedAt",
148
+ "type": "uint40"
219
149
  }
220
150
  ],
221
151
  "name": "policyActivated",
@@ -229,40 +159,14 @@
229
159
  "internalType": "NftId",
230
160
  "name": "policyNftId",
231
161
  "type": "uint96"
232
- }
233
- ],
234
- "name": "policyExpired",
235
- "outputs": [],
236
- "stateMutability": "nonpayable",
237
- "type": "function"
238
- },
239
- {
240
- "inputs": [
241
- {
242
- "internalType": "bytes4",
243
- "name": "interfaceId",
244
- "type": "bytes4"
245
- }
246
- ],
247
- "name": "registerInterface",
248
- "outputs": [],
249
- "stateMutability": "nonpayable",
250
- "type": "function"
251
- },
252
- {
253
- "inputs": [
254
- {
255
- "internalType": "NftId",
256
- "name": "requestingPolicyNftId",
257
- "type": "uint96"
258
162
  },
259
163
  {
260
- "internalType": "Amount",
261
- "name": "requestedPayoutAmount",
262
- "type": "uint96"
164
+ "internalType": "Timestamp",
165
+ "name": "expiredAt",
166
+ "type": "uint40"
263
167
  }
264
168
  ],
265
- "name": "requestPayout",
169
+ "name": "policyExpired",
266
170
  "outputs": [],
267
171
  "stateMutability": "nonpayable",
268
172
  "type": "function"
@@ -287,34 +191,8 @@
287
191
  "type": "function"
288
192
  }
289
193
  ],
290
- "bytecode": "0x6080604052348015600e575f80fd5b5061090a8061001c5f395ff3fe608060405234801561000f575f80fd5b50600436106100e5575f3560e01c80636bcd7cfd11610088578063b8ab37f411610063578063b8ab37f414610226578063b95a75801461023a578063c642e0de1461024d578063d0030d43146101e0575f80fd5b80636bcd7cfd146101ce5780636e75a77d146101e0578063b414004e146101f1575f80fd5b8063214cdb80116100c3578063214cdb801461018d57806336fc697e146101a25780635ab1bd53146101aa578063675393bf146101bb575f80fd5b806301ffc9a7146100e9578063117d328c1461012a578063150b7a0214610155575b5f80fd5b6101156100f736600461062b565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61013d61013836600461067d565b610260565b6040516001600160a01b039091168152602001610121565b6101746101633660046106cf565b630a85bd0160e11b95945050505050565b6040516001600160e01b03199091168152602001610121565b6101a061019b36600461062b565b610402565b005b6101a061042e565b6001546001600160a01b031661013d565b6101a06101c9366004610764565b610473565b6101a06101dc36600461077d565b5050565b6101a06101ee3660046107a9565b50565b6102187f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0081565b604051908152602001610121565b6101a06102343660046107c4565b50505050565b6101a061024836600461081b565b610580565b6101a061025b36600461084c565b505050565b6001600160601b0382165f9081527f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f006020908152604080832062ffffff851684529091529020546001600160a01b03168015801561032f57506040516302985c6160e01b815262ffffff8316600482015273__$0f9396e6447a4be57af83e53f51d234633$__906302985c6190602401602060405180830381865af415801561030b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061032f919061089a565b156103fc577f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f006001600160601b0384165f90815260209182526040808220815163bc1b392d60e01b81529151909373__$0f9396e6447a4be57af83e53f51d234633$__9263bc1b392d92600480830193928290030181865af41580156103b7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103db91906108b9565b62ffffff16815260208101919091526040015f20546001600160a01b031690505b92915050565b61040a6105db565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b6104366105db565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61047b6105db565b806001600160a01b03163b5f036104b55760405163fdeac91f60e01b81526001600160a01b03821660048201526024015b60405180910390fd5b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526318788cbb60e11b60048201526301ffc9a790602401602060405180830381865afa92505050801561052f575060408051601f3d908101601f1916820190925261052c9181019061089a565b60015b6105575760405163fdeac91f60e01b81526001600160a01b03821660048201526024016104ac565b806101dc5760405163fdeac91f60e01b81526001600160a01b03831660048201526024016104ac565b6105886105db565b61059182610473565b7f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0180546001600160a01b0319166001600160a01b0383161790556101dc63ba2f336560e01b610402565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff1661062957604051631afcd79f60e31b815260040160405180910390fd5b565b5f6020828403121561063b575f80fd5b81356001600160e01b031981168114610652575f80fd5b9392505050565b6001600160601b03811681146101ee575f80fd5b62ffffff811681146101ee575f80fd5b5f806040838503121561068e575f80fd5b823561069981610659565b915060208301356106a98161066d565b809150509250929050565b80356001600160a01b03811681146106ca575f80fd5b919050565b5f805f805f608086880312156106e3575f80fd5b6106ec866106b4565b94506106fa602087016106b4565b935060408601359250606086013567ffffffffffffffff81111561071c575f80fd5b8601601f8101881361072c575f80fd5b803567ffffffffffffffff811115610742575f80fd5b886020828401011115610753575f80fd5b959894975092955050506020019190565b5f60208284031215610774575f80fd5b610652826106b4565b5f806040838503121561078e575f80fd5b823561079981610659565b915060208301356106a981610659565b5f602082840312156107b9575f80fd5b813561065281610659565b5f805f80608085870312156107d7575f80fd5b84356107e281610659565b935060208501356107f28161066d565b9250610800604086016106b4565b9150606085013561081081610659565b939692955090935050565b5f806040838503121561082c575f80fd5b610835836106b4565b9150610843602084016106b4565b90509250929050565b5f805f6060848603121561085e575f80fd5b833561086981610659565b9250602084013561ffff8116811461087f575f80fd5b9150604084013561088f81610659565b809150509250925092565b5f602082840312156108aa575f80fd5b81518015158114610652575f80fd5b5f602082840312156108c9575f80fd5b81516106528161066d56fea2646970667358221220917df7e0bc9f83aa0908c40c8ac15105910094c5601a1bb14f8432eab67b777f64736f6c634300081a0033",
291
- "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106100e5575f3560e01c80636bcd7cfd11610088578063b8ab37f411610063578063b8ab37f414610226578063b95a75801461023a578063c642e0de1461024d578063d0030d43146101e0575f80fd5b80636bcd7cfd146101ce5780636e75a77d146101e0578063b414004e146101f1575f80fd5b8063214cdb80116100c3578063214cdb801461018d57806336fc697e146101a25780635ab1bd53146101aa578063675393bf146101bb575f80fd5b806301ffc9a7146100e9578063117d328c1461012a578063150b7a0214610155575b5f80fd5b6101156100f736600461062b565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61013d61013836600461067d565b610260565b6040516001600160a01b039091168152602001610121565b6101746101633660046106cf565b630a85bd0160e11b95945050505050565b6040516001600160e01b03199091168152602001610121565b6101a061019b36600461062b565b610402565b005b6101a061042e565b6001546001600160a01b031661013d565b6101a06101c9366004610764565b610473565b6101a06101dc36600461077d565b5050565b6101a06101ee3660046107a9565b50565b6102187f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0081565b604051908152602001610121565b6101a06102343660046107c4565b50505050565b6101a061024836600461081b565b610580565b6101a061025b36600461084c565b505050565b6001600160601b0382165f9081527f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f006020908152604080832062ffffff851684529091529020546001600160a01b03168015801561032f57506040516302985c6160e01b815262ffffff8316600482015273__$0f9396e6447a4be57af83e53f51d234633$__906302985c6190602401602060405180830381865af415801561030b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061032f919061089a565b156103fc577f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f006001600160601b0384165f90815260209182526040808220815163bc1b392d60e01b81529151909373__$0f9396e6447a4be57af83e53f51d234633$__9263bc1b392d92600480830193928290030181865af41580156103b7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103db91906108b9565b62ffffff16815260208101919091526040015f20546001600160a01b031690505b92915050565b61040a6105db565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b6104366105db565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61047b6105db565b806001600160a01b03163b5f036104b55760405163fdeac91f60e01b81526001600160a01b03821660048201526024015b60405180910390fd5b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526318788cbb60e11b60048201526301ffc9a790602401602060405180830381865afa92505050801561052f575060408051601f3d908101601f1916820190925261052c9181019061089a565b60015b6105575760405163fdeac91f60e01b81526001600160a01b03821660048201526024016104ac565b806101dc5760405163fdeac91f60e01b81526001600160a01b03831660048201526024016104ac565b6105886105db565b61059182610473565b7f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0180546001600160a01b0319166001600160a01b0383161790556101dc63ba2f336560e01b610402565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff1661062957604051631afcd79f60e31b815260040160405180910390fd5b565b5f6020828403121561063b575f80fd5b81356001600160e01b031981168114610652575f80fd5b9392505050565b6001600160601b03811681146101ee575f80fd5b62ffffff811681146101ee575f80fd5b5f806040838503121561068e575f80fd5b823561069981610659565b915060208301356106a98161066d565b809150509250929050565b80356001600160a01b03811681146106ca575f80fd5b919050565b5f805f805f608086880312156106e3575f80fd5b6106ec866106b4565b94506106fa602087016106b4565b935060408601359250606086013567ffffffffffffffff81111561071c575f80fd5b8601601f8101881361072c575f80fd5b803567ffffffffffffffff811115610742575f80fd5b886020828401011115610753575f80fd5b959894975092955050506020019190565b5f60208284031215610774575f80fd5b610652826106b4565b5f806040838503121561078e575f80fd5b823561079981610659565b915060208301356106a981610659565b5f602082840312156107b9575f80fd5b813561065281610659565b5f805f80608085870312156107d7575f80fd5b84356107e281610659565b935060208501356107f28161066d565b9250610800604086016106b4565b9150606085013561081081610659565b939692955090935050565b5f806040838503121561082c575f80fd5b610835836106b4565b9150610843602084016106b4565b90509250929050565b5f805f6060848603121561085e575f80fd5b833561086981610659565b9250602084013561ffff8116811461087f575f80fd5b9150604084013561088f81610659565b809150509250925092565b5f602082840312156108aa575f80fd5b81518015158114610652575f80fd5b5f602082840312156108c9575f80fd5b81516106528161066d56fea2646970667358221220917df7e0bc9f83aa0908c40c8ac15105910094c5601a1bb14f8432eab67b777f64736f6c634300081a0033",
292
- "linkReferences": {
293
- "contracts/type/PayoutId.sol": {
294
- "PayoutIdLib": [
295
- {
296
- "length": 20,
297
- "start": 751
298
- },
299
- {
300
- "length": 20,
301
- "start": 923
302
- }
303
- ]
304
- }
305
- },
306
- "deployedLinkReferences": {
307
- "contracts/type/PayoutId.sol": {
308
- "PayoutIdLib": [
309
- {
310
- "length": 20,
311
- "start": 723
312
- },
313
- {
314
- "length": 20,
315
- "start": 895
316
- }
317
- ]
318
- }
319
- }
194
+ "bytecode": "0x6080604052348015600e575f80fd5b5061036b8061001c5f395ff3fe608060405234801561000f575f80fd5b506004361061007a575f3560e01c80635ab1bd53116100585780635ab1bd531461010b57806362782d9f146100f75780638bfaca2d14610126578063c642e0de1461013a575f80fd5b806301ffc9a71461007e578063150b7a02146100bf5780632f9ae114146100f7575b5f80fd5b6100aa61008c36600461014d565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6100de6100cd366004610196565b630a85bd0160e11b95945050505050565b6040516001600160e01b031990911681526020016100b6565b610109610105366004610259565b5050565b005b6001546040516001600160a01b0390911681526020016100b6565b610109610134366004610290565b50505050565b6101096101483660046102e7565b505050565b5f6020828403121561015d575f80fd5b81356001600160e01b031981168114610174575f80fd5b9392505050565b80356001600160a01b0381168114610191575f80fd5b919050565b5f805f805f608086880312156101aa575f80fd5b6101b38661017b565b94506101c16020870161017b565b935060408601359250606086013567ffffffffffffffff8111156101e3575f80fd5b8601601f810188136101f3575f80fd5b803567ffffffffffffffff811115610209575f80fd5b88602082840101111561021a575f80fd5b959894975092955050506020019190565b6bffffffffffffffffffffffff81168114610244575f80fd5b50565b64ffffffffff81168114610244575f80fd5b5f806040838503121561026a575f80fd5b82356102758161022b565b9150602083013561028581610247565b809150509250929050565b5f805f80608085870312156102a3575f80fd5b84356102ae8161022b565b935060208501356102be81610247565b925060408501356102ce8161022b565b91506102dc6060860161017b565b905092959194509250565b5f805f606084860312156102f9575f80fd5b83356103048161022b565b9250602084013561ffff8116811461031a575f80fd5b9150604084013561032a8161022b565b80915050925092509256fea2646970667358221220a9ddd8db2b1ab51f1126a72e88945ba254de483b8a803014a27a2c09e7c2808964736f6c634300081a0033",
195
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b506004361061007a575f3560e01c80635ab1bd53116100585780635ab1bd531461010b57806362782d9f146100f75780638bfaca2d14610126578063c642e0de1461013a575f80fd5b806301ffc9a71461007e578063150b7a02146100bf5780632f9ae114146100f7575b5f80fd5b6100aa61008c36600461014d565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6100de6100cd366004610196565b630a85bd0160e11b95945050505050565b6040516001600160e01b031990911681526020016100b6565b610109610105366004610259565b5050565b005b6001546040516001600160a01b0390911681526020016100b6565b610109610134366004610290565b50505050565b6101096101483660046102e7565b505050565b5f6020828403121561015d575f80fd5b81356001600160e01b031981168114610174575f80fd5b9392505050565b80356001600160a01b0381168114610191575f80fd5b919050565b5f805f805f608086880312156101aa575f80fd5b6101b38661017b565b94506101c16020870161017b565b935060408601359250606086013567ffffffffffffffff8111156101e3575f80fd5b8601601f810188136101f3575f80fd5b803567ffffffffffffffff811115610209575f80fd5b88602082840101111561021a575f80fd5b959894975092955050506020019190565b6bffffffffffffffffffffffff81168114610244575f80fd5b50565b64ffffffffff81168114610244575f80fd5b5f806040838503121561026a575f80fd5b82356102758161022b565b9150602083013561028581610247565b809150509250929050565b5f805f80608085870312156102a3575f80fd5b84356102ae8161022b565b935060208501356102be81610247565b925060408501356102ce8161022b565b91506102dc6060860161017b565b905092959194509250565b5f805f606084860312156102f9575f80fd5b83356103048161022b565b9250602084013561ffff8116811461031a575f80fd5b9150604084013561032a8161022b565b80915050925092509256fea2646970667358221220a9ddd8db2b1ab51f1126a72e88945ba254de483b8a803014a27a2c09e7c2808964736f6c634300081a0033",
196
+ "linkReferences": {},
197
+ "deployedLinkReferences": {}
320
198
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/c608b94968337cdea2af76c47fb35ed7.json"
3
+ "buildInfo": "../../../build-info/e5a8cf4867fca2685a5a66bdebb5843e.json"
4
4
  }
@@ -30,6 +30,22 @@
30
30
  "name": "ErrorNftOwnableInitialOwnerZero",
31
31
  "type": "error"
32
32
  },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "NftId",
37
+ "name": "nftId",
38
+ "type": "uint96"
39
+ },
40
+ {
41
+ "internalType": "ObjectType",
42
+ "name": "expectedObjectType",
43
+ "type": "uint8"
44
+ }
45
+ ],
46
+ "name": "ErrorNftOwnableInvalidType",
47
+ "type": "error"
48
+ },
33
49
  {
34
50
  "inputs": [
35
51
  {
@@ -75,6 +91,19 @@
75
91
  "name": "Initialized",
76
92
  "type": "event"
77
93
  },
94
+ {
95
+ "inputs": [],
96
+ "name": "GIF_RELEASE",
97
+ "outputs": [
98
+ {
99
+ "internalType": "uint256",
100
+ "name": "",
101
+ "type": "uint256"
102
+ }
103
+ ],
104
+ "stateMutability": "view",
105
+ "type": "function"
106
+ },
78
107
  {
79
108
  "inputs": [],
80
109
  "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
@@ -192,78 +221,15 @@
192
221
  },
193
222
  {
194
223
  "inputs": [],
195
- "name": "initializeERC165",
196
- "outputs": [],
197
- "stateMutability": "nonpayable",
198
- "type": "function"
199
- },
200
- {
201
- "inputs": [
202
- {
203
- "internalType": "address",
204
- "name": "initialOwner",
205
- "type": "address"
206
- },
207
- {
208
- "internalType": "address",
209
- "name": "registryAddress",
210
- "type": "address"
211
- }
212
- ],
213
- "name": "initializeNftOwnable",
214
- "outputs": [],
215
- "stateMutability": "nonpayable",
216
- "type": "function"
217
- },
218
- {
219
- "inputs": [
220
- {
221
- "internalType": "address",
222
- "name": "registryAddress",
223
- "type": "address"
224
- },
225
- {
226
- "internalType": "NftId",
227
- "name": "parentNftId",
228
- "type": "uint96"
229
- },
224
+ "name": "getRelease",
225
+ "outputs": [
230
226
  {
231
- "internalType": "ObjectType",
232
- "name": "objectType",
227
+ "internalType": "VersionPart",
228
+ "name": "release",
233
229
  "type": "uint8"
234
- },
235
- {
236
- "internalType": "bool",
237
- "name": "isInterceptor",
238
- "type": "bool"
239
- },
240
- {
241
- "internalType": "address",
242
- "name": "initialOwner",
243
- "type": "address"
244
- },
245
- {
246
- "internalType": "bytes",
247
- "name": "registryData",
248
- "type": "bytes"
249
230
  }
250
231
  ],
251
- "name": "initializeRegisterable",
252
- "outputs": [],
253
- "stateMutability": "nonpayable",
254
- "type": "function"
255
- },
256
- {
257
- "inputs": [
258
- {
259
- "internalType": "address",
260
- "name": "registryAddress",
261
- "type": "address"
262
- }
263
- ],
264
- "name": "initializeRegistryLinked",
265
- "outputs": [],
266
- "stateMutability": "nonpayable",
232
+ "stateMutability": "pure",
267
233
  "type": "function"
268
234
  },
269
235
  {
@@ -279,19 +245,6 @@
279
245
  "stateMutability": "nonpayable",
280
246
  "type": "function"
281
247
  },
282
- {
283
- "inputs": [
284
- {
285
- "internalType": "bytes4",
286
- "name": "interfaceId",
287
- "type": "bytes4"
288
- }
289
- ],
290
- "name": "registerInterface",
291
- "outputs": [],
292
- "stateMutability": "nonpayable",
293
- "type": "function"
294
- },
295
248
  {
296
249
  "inputs": [
297
250
  {
@@ -312,22 +265,30 @@
312
265
  "type": "function"
313
266
  }
314
267
  ],
315
- "bytecode": "0x6080604052348015600e575f80fd5b50610e968061001c5f395ff3fe608060405234801561000f575f80fd5b50600436106100cb575f3560e01c806336fc697e11610088578063675393bf11610063578063675393bf146101ec578063893d20e8146101ff578063ada9652e14610207578063f7c34ee01461021b575f80fd5b806336fc697e146101a25780635ab1bd53146101aa578063644c45e0146101cf575f80fd5b806301ffc9a7146100cf5780630fec111c14610110578063138461e0146101255780631eff4b2214610145578063214cdb801461017a57806327bb7a331461018f575b5f80fd5b6100fb6100dd366004610a13565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61011861022e565b6040516101079190610a6f565b61012d6103ec565b6040516001600160601b039091168152602001610107565b61016c7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610107565b61018d610188366004610a13565b6103fb565b005b61018d61019d366004610b4c565b610427565b61018d6104cc565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610107565b5f80516020610e41833981519152546001600160601b031661012d565b61018d6101fa366004610c5e565b610511565b6101b7610623565b61016c5f80516020610e4183398151915281565b61018d610229366004610c79565b610754565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156102de573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103029190610cb0565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161034a610623565b6001600160a01b0316815260200182600101805461036790610ccb565b80601f016020809104026020016040519081016040528092919081815260200182805461039390610ccb565b80156103de5780601f106103b5576101008083540402835291602001916103de565b820191905f5260205f20905b8154815290600101906020018083116103c157829003601f168201915b505050505081525091505090565b5f6103f6306107ca565b905090565b6104036109c3565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b61042f6109c3565b6104398287610754565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016104c28382610d4f565b5050505050505050565b6104d46109c3565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6105196109c3565b806001600160a01b03163b5f036105535760405163fdeac91f60e01b81526001600160a01b03821660048201526024015b60405180910390fd5b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526318788cbb60e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156105cd575060408051601f3d908101601f191682019092526105ca91810190610e0a565b60015b6105f55760405163fdeac91f60e01b81526001600160a01b038216600482015260240161054a565b8061061e5760405163fdeac91f60e01b81526001600160a01b038316600482015260240161054a565b505b50565b5f805f80516020610e4183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561068f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106b39190610e0a565b1561073e576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610714573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107389190610e25565b91505090565b54600160601b90046001600160a01b0316919050565b61075c6109c3565b61076581610511565b61076d6104cc565b6001600160a01b0382166107945760405163f17ef42d60e01b815260040160405180910390fd5b505f80516020610e4183398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b5f805f80516020610e4183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610836573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061085a9190610e0a565b156108865780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161054a565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156108d8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108fc9190610e0a565b6109245760405163b9304b0d60e01b81526001600160a01b038416600482015260240161054a565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa158015610976573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061099a9190610cb0565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff16610a1157604051631afcd79f60e31b815260040160405180910390fd5b565b5f60208284031215610a23575f80fd5b81356001600160e01b031981168114610a3a575f80fd5b9392505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151610ab7608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152610afb610100840182610a41565b949350505050565b6001600160a01b0381168114610620575f80fd5b6001600160601b0381168114610620575f80fd5b8015158114610620575f80fd5b634e487b7160e01b5f52604160045260245ffd5b5f805f805f8060c08789031215610b61575f80fd5b8635610b6c81610b03565b95506020870135610b7c81610b17565b9450604087013560ff81168114610b91575f80fd5b93506060870135610ba181610b2b565b92506080870135610bb181610b03565b915060a087013567ffffffffffffffff811115610bcc575f80fd5b8701601f81018913610bdc575f80fd5b803567ffffffffffffffff811115610bf657610bf6610b38565b604051601f8201601f19908116603f0116810167ffffffffffffffff81118282101715610c2557610c25610b38565b6040528181528282016020018b1015610c3c575f80fd5b816020840160208301375f602083830101528093505050509295509295509295565b5f60208284031215610c6e575f80fd5b8135610a3a81610b03565b5f8060408385031215610c8a575f80fd5b8235610c9581610b03565b91506020830135610ca581610b03565b809150509250929050565b5f60208284031215610cc0575f80fd5b8151610a3a81610b17565b600181811c90821680610cdf57607f821691505b602082108103610cfd57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610d4a57805f5260205f20601f840160051c81016020851015610d285750805b601f840160051c820191505b81811015610d47575f8155600101610d34565b50505b505050565b815167ffffffffffffffff811115610d6957610d69610b38565b610d7d81610d778454610ccb565b84610d03565b6020601f821160018114610daf575f8315610d985750848201515b5f19600385901b1c1916600184901b178455610d47565b5f84815260208120601f198516915b82811015610dde5787850151825560209485019460019092019101610dbe565b5084821015610dfb57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f60208284031215610e1a575f80fd5b8151610a3a81610b2b565b5f60208284031215610e35575f80fd5b8151610a3a81610b0356fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a2646970667358221220a7653ae7d5c7ca8d938e6cd7a1f26dd000755e512ca4a0bca9175ded631d254064736f6c634300081a0033",
316
- "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106100cb575f3560e01c806336fc697e11610088578063675393bf11610063578063675393bf146101ec578063893d20e8146101ff578063ada9652e14610207578063f7c34ee01461021b575f80fd5b806336fc697e146101a25780635ab1bd53146101aa578063644c45e0146101cf575f80fd5b806301ffc9a7146100cf5780630fec111c14610110578063138461e0146101255780631eff4b2214610145578063214cdb801461017a57806327bb7a331461018f575b5f80fd5b6100fb6100dd366004610a13565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61011861022e565b6040516101079190610a6f565b61012d6103ec565b6040516001600160601b039091168152602001610107565b61016c7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610107565b61018d610188366004610a13565b6103fb565b005b61018d61019d366004610b4c565b610427565b61018d6104cc565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610107565b5f80516020610e41833981519152546001600160601b031661012d565b61018d6101fa366004610c5e565b610511565b6101b7610623565b61016c5f80516020610e4183398151915281565b61018d610229366004610c79565b610754565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156102de573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103029190610cb0565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161034a610623565b6001600160a01b0316815260200182600101805461036790610ccb565b80601f016020809104026020016040519081016040528092919081815260200182805461039390610ccb565b80156103de5780601f106103b5576101008083540402835291602001916103de565b820191905f5260205f20905b8154815290600101906020018083116103c157829003601f168201915b505050505081525091505090565b5f6103f6306107ca565b905090565b6104036109c3565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b61042f6109c3565b6104398287610754565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016104c28382610d4f565b5050505050505050565b6104d46109c3565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6105196109c3565b806001600160a01b03163b5f036105535760405163fdeac91f60e01b81526001600160a01b03821660048201526024015b60405180910390fd5b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526318788cbb60e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156105cd575060408051601f3d908101601f191682019092526105ca91810190610e0a565b60015b6105f55760405163fdeac91f60e01b81526001600160a01b038216600482015260240161054a565b8061061e5760405163fdeac91f60e01b81526001600160a01b038316600482015260240161054a565b505b50565b5f805f80516020610e4183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561068f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106b39190610e0a565b1561073e576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610714573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107389190610e25565b91505090565b54600160601b90046001600160a01b0316919050565b61075c6109c3565b61076581610511565b61076d6104cc565b6001600160a01b0382166107945760405163f17ef42d60e01b815260040160405180910390fd5b505f80516020610e4183398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b5f805f80516020610e4183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610836573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061085a9190610e0a565b156108865780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161054a565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156108d8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108fc9190610e0a565b6109245760405163b9304b0d60e01b81526001600160a01b038416600482015260240161054a565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa158015610976573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061099a9190610cb0565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff16610a1157604051631afcd79f60e31b815260040160405180910390fd5b565b5f60208284031215610a23575f80fd5b81356001600160e01b031981168114610a3a575f80fd5b9392505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151610ab7608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152610afb610100840182610a41565b949350505050565b6001600160a01b0381168114610620575f80fd5b6001600160601b0381168114610620575f80fd5b8015158114610620575f80fd5b634e487b7160e01b5f52604160045260245ffd5b5f805f805f8060c08789031215610b61575f80fd5b8635610b6c81610b03565b95506020870135610b7c81610b17565b9450604087013560ff81168114610b91575f80fd5b93506060870135610ba181610b2b565b92506080870135610bb181610b03565b915060a087013567ffffffffffffffff811115610bcc575f80fd5b8701601f81018913610bdc575f80fd5b803567ffffffffffffffff811115610bf657610bf6610b38565b604051601f8201601f19908116603f0116810167ffffffffffffffff81118282101715610c2557610c25610b38565b6040528181528282016020018b1015610c3c575f80fd5b816020840160208301375f602083830101528093505050509295509295509295565b5f60208284031215610c6e575f80fd5b8135610a3a81610b03565b5f8060408385031215610c8a575f80fd5b8235610c9581610b03565b91506020830135610ca581610b03565b809150509250929050565b5f60208284031215610cc0575f80fd5b8151610a3a81610b17565b600181811c90821680610cdf57607f821691505b602082108103610cfd57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610d4a57805f5260205f20601f840160051c81016020851015610d285750805b601f840160051c820191505b81811015610d47575f8155600101610d34565b50505b505050565b815167ffffffffffffffff811115610d6957610d69610b38565b610d7d81610d778454610ccb565b84610d03565b6020601f821160018114610daf575f8315610d985750848201515b5f19600385901b1c1916600184901b178455610d47565b5f84815260208120601f198516915b82811015610dde5787850151825560209485019460019092019101610dbe565b5084821015610dfb57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f60208284031215610e1a575f80fd5b8151610a3a81610b2b565b5f60208284031215610e35575f80fd5b8151610a3a81610b0356fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a2646970667358221220a7653ae7d5c7ca8d938e6cd7a1f26dd000755e512ca4a0bca9175ded631d254064736f6c634300081a0033",
268
+ "bytecode": "0x6080604052348015600e575f80fd5b506109438061001c5f395ff3fe608060405234801561000f575f80fd5b506004361061009b575f3560e01c8063644c45e011610063578063644c45e01461016f57806376b707b71461018c5780638899278a146101a6578063893d20e8146101ae578063ada9652e146101b6575f80fd5b806301ffc9a71461009f5780630fec111c146100e0578063138461e0146100f55780631eff4b22146101155780635ab1bd531461014a575b5f80fd5b6100cb6100ad36600461073a565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6100e86101ca565b6040516100d79190610796565b6100fd610388565b6040516001600160601b0390911681526020016100d7565b61013c7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016100d7565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016100d7565b5f805160206108ee833981519152546001600160601b03166100fd565b610194610397565b60405160ff90911681526020016100d7565b61013c600381565b61015761040b565b61013c5f805160206108ee83398151915281565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561027a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061029e919061082a565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016102e661040b565b6001600160a01b0316815260200182600101805461030390610850565b80601f016020809104026020016040519081016040528092919081815260200182805461032f90610850565b801561037a5780601f106103515761010080835404028352916020019161037a565b820191905f5260205f20905b81548152906001019060200180831161035d57829003601f168201915b505050505081525091505090565b5f6103923061053c565b905090565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156103e7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103929190610888565b5f805f805160206108ee83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610477573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061049b91906108a8565b15610526576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156104fc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061052091906108c7565b91505090565b54600160601b90046001600160a01b0316919050565b5f805f805160206108ee83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156105a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105cc91906108a8565b156105fd5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561064f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061067391906108a8565b61069b5760405163b9304b0d60e01b81526001600160a01b03841660048201526024016105f4565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa1580156106ed573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610711919061082a565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f6020828403121561074a575f80fd5b81356001600160e01b031981168114610761575f80fd5b9392505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516107de608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152610822610100840182610768565b949350505050565b5f6020828403121561083a575f80fd5b81516001600160601b0381168114610761575f80fd5b600181811c9082168061086457607f821691505b60208210810361088257634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610898575f80fd5b815160ff81168114610761575f80fd5b5f602082840312156108b8575f80fd5b81518015158114610761575f80fd5b5f602082840312156108d7575f80fd5b81516001600160a01b0381168114610761575f80fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a2646970667358221220452d9a1d571b6cba9f6fb2c2d9a9e589b26e580a785ca06e7dc79eaf1e878ace64736f6c634300081a0033",
269
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b506004361061009b575f3560e01c8063644c45e011610063578063644c45e01461016f57806376b707b71461018c5780638899278a146101a6578063893d20e8146101ae578063ada9652e146101b6575f80fd5b806301ffc9a71461009f5780630fec111c146100e0578063138461e0146100f55780631eff4b22146101155780635ab1bd531461014a575b5f80fd5b6100cb6100ad36600461073a565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6100e86101ca565b6040516100d79190610796565b6100fd610388565b6040516001600160601b0390911681526020016100d7565b61013c7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016100d7565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016100d7565b5f805160206108ee833981519152546001600160601b03166100fd565b610194610397565b60405160ff90911681526020016100d7565b61013c600381565b61015761040b565b61013c5f805160206108ee83398151915281565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561027a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061029e919061082a565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016102e661040b565b6001600160a01b0316815260200182600101805461030390610850565b80601f016020809104026020016040519081016040528092919081815260200182805461032f90610850565b801561037a5780601f106103515761010080835404028352916020019161037a565b820191905f5260205f20905b81548152906001019060200180831161035d57829003601f168201915b505050505081525091505090565b5f6103923061053c565b905090565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156103e7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103929190610888565b5f805f805160206108ee83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610477573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061049b91906108a8565b15610526576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156104fc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061052091906108c7565b91505090565b54600160601b90046001600160a01b0316919050565b5f805f805160206108ee83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156105a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105cc91906108a8565b156105fd5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561064f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061067391906108a8565b61069b5760405163b9304b0d60e01b81526001600160a01b03841660048201526024016105f4565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa1580156106ed573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610711919061082a565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f6020828403121561074a575f80fd5b81356001600160e01b031981168114610761575f80fd5b9392505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516107de608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152610822610100840182610768565b949350505050565b5f6020828403121561083a575f80fd5b81516001600160601b0381168114610761575f80fd5b600181811c9082168061086457607f821691505b60208210810361088257634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215610898575f80fd5b815160ff81168114610761575f80fd5b5f602082840312156108b8575f80fd5b81518015158114610761575f80fd5b5f602082840312156108d7575f80fd5b81516001600160a01b0381168114610761575f80fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a2646970667358221220452d9a1d571b6cba9f6fb2c2d9a9e589b26e580a785ca06e7dc79eaf1e878ace64736f6c634300081a0033",
317
270
  "linkReferences": {
318
271
  "contracts/type/NftId.sol": {
319
272
  "NftIdLib": [
320
273
  {
321
274
  "length": 20,
322
- "start": 693
275
+ "start": 593
323
276
  },
324
277
  {
325
278
  "length": 20,
326
- "start": 1651
279
+ "start": 1115
327
280
  },
328
281
  {
329
282
  "length": 20,
330
- "start": 2074
283
+ "start": 1420
284
+ }
285
+ ]
286
+ },
287
+ "contracts/type/Version.sol": {
288
+ "VersionPartLib": [
289
+ {
290
+ "length": 20,
291
+ "start": 971
331
292
  }
332
293
  ]
333
294
  }
@@ -337,15 +298,23 @@
337
298
  "NftIdLib": [
338
299
  {
339
300
  "length": 20,
340
- "start": 665
301
+ "start": 565
341
302
  },
342
303
  {
343
304
  "length": 20,
344
- "start": 1623
305
+ "start": 1087
345
306
  },
346
307
  {
347
308
  "length": 20,
348
- "start": 2046
309
+ "start": 1392
310
+ }
311
+ ]
312
+ },
313
+ "contracts/type/Version.sol": {
314
+ "VersionPartLib": [
315
+ {
316
+ "length": 20,
317
+ "start": 943
349
318
  }
350
319
  ]
351
320
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/c608b94968337cdea2af76c47fb35ed7.json"
3
+ "buildInfo": "../../../build-info/e5a8cf4867fca2685a5a66bdebb5843e.json"
4
4
  }