@etherisc/gif-next 0.0.2-be8b468-276 → 0.0.2-bfb44e0-483

Sign up to get free protection for your applications and to get access to all the features.
Files changed (293) hide show
  1. package/README.md +136 -2
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +897 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +972 -209
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → components/IComponent.sol/IComponent.json} +191 -152
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +752 -6
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +676 -31
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +661 -5
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +875 -299
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +695 -180
  18. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +1 -1
  19. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +1 -1
  20. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +1 -1
  21. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  22. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  23. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  24. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  26. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  28. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  29. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  30. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  31. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
  32. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +2 -2
  33. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
  34. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
  35. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
  36. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
  37. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  38. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  39. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  40. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +764 -0
  41. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  42. package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → Cloneable.sol/Cloneable.json} +86 -2
  43. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  44. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +2056 -113
  45. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  46. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +214 -20
  47. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  48. package/artifacts/contracts/instance/Instance.sol/Instance.json +559 -752
  49. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  50. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +211 -144
  51. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  52. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +179 -76
  53. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  54. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +550 -77
  55. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  56. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +194 -32
  57. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  58. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +261 -0
  59. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  60. package/artifacts/contracts/{shared/RegisterableUpgradable.sol/RegisterableUpgradable.json → instance/base/ComponentService.sol/ComponentService.json} +321 -9
  61. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  62. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  63. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  64. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +2 -2
  65. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  66. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +2 -2
  67. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  68. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +59 -16
  69. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  70. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  71. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  72. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  73. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  74. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  75. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  76. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +1117 -0
  77. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  78. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1318 -0
  79. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  80. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +586 -0
  81. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  82. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +576 -41
  83. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  84. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +198 -24
  85. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  86. package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IApplicationService.sol/IApplicationService.json} +223 -51
  87. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  88. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +798 -0
  89. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  90. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +229 -19
  91. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  92. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +784 -0
  93. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  94. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +34 -83
  95. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  96. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +44 -246
  97. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  98. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1378 -0
  99. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  100. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +642 -0
  101. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  102. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +957 -0
  103. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  104. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +574 -0
  105. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  106. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +1007 -0
  107. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  108. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +574 -0
  109. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  110. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
  111. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  112. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +208 -224
  113. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  114. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +240 -94
  115. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  116. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  117. package/artifacts/contracts/registry/Registry.sol/Registry.json +222 -330
  118. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  119. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  120. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  121. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +221 -107
  122. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  123. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +181 -105
  124. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  125. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
  126. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  127. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +150 -29
  128. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  129. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  130. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  131. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  132. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +37 -0
  133. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  134. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
  135. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  136. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +18 -5
  137. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  138. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +69 -0
  139. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  140. package/artifacts/contracts/shared/IService.sol/IService.json +32 -19
  141. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  142. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -2
  143. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  144. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +156 -11
  145. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  146. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +269 -0
  147. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  148. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +156 -6
  149. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  150. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +152 -11
  151. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  152. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +105 -0
  153. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  154. package/artifacts/contracts/shared/Service.sol/Service.json +178 -19
  155. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  156. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  157. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  158. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  159. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -2
  160. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  161. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  162. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +152 -11
  163. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  164. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +2 -2
  165. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  166. package/artifacts/contracts/test/TestService.sol/TestService.json +196 -37
  167. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  168. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  169. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  170. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -8
  171. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  172. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  173. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  174. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  175. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  176. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
  177. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  178. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  179. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  180. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  181. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
  182. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  183. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  184. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  185. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  186. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  187. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  188. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +2 -2
  189. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  190. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  191. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  192. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  193. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  194. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  195. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  196. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  197. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  198. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  199. package/contracts/components/Component.sol +236 -0
  200. package/contracts/components/Distribution.sol +198 -66
  201. package/contracts/components/IComponent.sol +50 -0
  202. package/contracts/components/IDistributionComponent.sol +58 -4
  203. package/contracts/components/IPoolComponent.sol +54 -29
  204. package/contracts/components/IProductComponent.sol +7 -3
  205. package/contracts/components/Pool.sol +153 -157
  206. package/contracts/components/Product.sol +109 -128
  207. package/contracts/instance/BundleManager.sol +125 -0
  208. package/contracts/instance/Cloneable.sol +46 -0
  209. package/contracts/instance/IInstance.sol +63 -10
  210. package/contracts/instance/IInstanceService.sol +33 -4
  211. package/contracts/instance/Instance.sol +104 -266
  212. package/contracts/instance/InstanceAccessManager.sol +87 -78
  213. package/contracts/instance/InstanceReader.sol +29 -26
  214. package/contracts/instance/InstanceService.sol +361 -90
  215. package/contracts/instance/InstanceServiceManager.sol +10 -12
  216. package/contracts/instance/ObjectManager.sol +84 -0
  217. package/contracts/instance/base/ComponentService.sol +134 -0
  218. package/contracts/instance/module/IAccess.sol +27 -18
  219. package/contracts/instance/module/IBundle.sol +1 -0
  220. package/contracts/instance/module/ISetup.sol +7 -3
  221. package/contracts/instance/service/ApplicationService.sol +268 -0
  222. package/contracts/instance/service/BundleService.sol +298 -0
  223. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  224. package/contracts/instance/service/DistributionService.sol +214 -36
  225. package/contracts/instance/service/DistributionServiceManager.sol +10 -12
  226. package/contracts/instance/service/IApplicationService.sol +82 -0
  227. package/contracts/instance/service/IBundleService.sol +54 -0
  228. package/contracts/instance/service/IDistributionService.sol +53 -0
  229. package/contracts/instance/service/IPolicyService.sol +88 -0
  230. package/contracts/instance/service/IPoolService.sol +6 -23
  231. package/contracts/instance/service/IProductService.sol +6 -73
  232. package/contracts/instance/service/PolicyService.sol +524 -0
  233. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  234. package/contracts/instance/service/PoolService.sol +109 -0
  235. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  236. package/contracts/instance/service/ProductService.sol +233 -0
  237. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  238. package/contracts/registry/ChainNft.sol +1 -1
  239. package/contracts/registry/IRegistry.sol +38 -33
  240. package/contracts/registry/IRegistryService.sol +45 -13
  241. package/contracts/registry/Registry.sol +223 -250
  242. package/contracts/registry/RegistryAccessManager.sol +216 -0
  243. package/contracts/registry/RegistryService.sol +86 -224
  244. package/contracts/registry/RegistryServiceManager.sol +18 -36
  245. package/contracts/registry/ReleaseManager.sol +332 -0
  246. package/contracts/registry/TokenRegistry.sol +11 -9
  247. package/contracts/shared/ERC165.sol +12 -11
  248. package/contracts/shared/INftOwnable.sol +12 -6
  249. package/contracts/shared/IPolicyHolder.sol +26 -0
  250. package/contracts/shared/IRegisterable.sol +4 -6
  251. package/contracts/shared/IRegistryLinked.sol +15 -0
  252. package/contracts/shared/IService.sol +2 -1
  253. package/contracts/shared/IVersionable.sol +2 -2
  254. package/contracts/shared/NftOwnable.sol +114 -60
  255. package/contracts/shared/PolicyHolder.sol +81 -0
  256. package/contracts/shared/ProxyManager.sol +6 -5
  257. package/contracts/shared/Registerable.sol +15 -24
  258. package/contracts/shared/RegistryLinked.sol +64 -0
  259. package/contracts/shared/Service.sol +19 -13
  260. package/contracts/shared/Versionable.sol +3 -2
  261. package/contracts/test/TestRegisterable.sol +1 -1
  262. package/contracts/test/TestService.sol +4 -3
  263. package/contracts/types/DistributorType.sol +2 -2
  264. package/contracts/types/NftIdSet.sol +26 -24
  265. package/contracts/types/ObjectType.sol +6 -2
  266. package/contracts/types/RoleId.sol +10 -8
  267. package/package.json +3 -3
  268. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  269. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -327
  270. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  271. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -280
  272. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  273. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  274. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
  275. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  276. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  277. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  278. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  279. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  280. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  281. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  282. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  283. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  284. package/contracts/components/BaseComponent.sol +0 -91
  285. package/contracts/components/IBaseComponent.sol +0 -25
  286. package/contracts/instance/AccessManagedSimple.sol +0 -115
  287. package/contracts/instance/AccessManagerSimple.sol +0 -692
  288. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  289. package/contracts/instance/base/ComponentServiceBase.sol +0 -39
  290. package/contracts/instance/base/IInstanceBase.sol +0 -23
  291. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  292. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  293. package/contracts/shared/RegisterableUpgradable.sol +0 -16
@@ -30,6 +30,11 @@
30
30
  "name": "ErrorContractNotRegistered",
31
31
  "type": "error"
32
32
  },
33
+ {
34
+ "inputs": [],
35
+ "name": "ErrorInitialOwnerZero",
36
+ "type": "error"
37
+ },
33
38
  {
34
39
  "inputs": [
35
40
  {
@@ -118,11 +123,6 @@
118
123
  "internalType": "struct IRegistry.ObjectInfo",
119
124
  "name": "",
120
125
  "type": "tuple"
121
- },
122
- {
123
- "internalType": "bytes",
124
- "name": "data",
125
- "type": "bytes"
126
126
  }
127
127
  ],
128
128
  "stateMutability": "view",
@@ -167,6 +167,19 @@
167
167
  "stateMutability": "view",
168
168
  "type": "function"
169
169
  },
170
+ {
171
+ "inputs": [],
172
+ "name": "getRegistryAddress",
173
+ "outputs": [
174
+ {
175
+ "internalType": "address",
176
+ "name": "",
177
+ "type": "address"
178
+ }
179
+ ],
180
+ "stateMutability": "view",
181
+ "type": "function"
182
+ },
170
183
  {
171
184
  "inputs": [],
172
185
  "name": "linkToRegisteredNftId",
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/6a944234dbcb12d19e28b7af6bc3708a.json"
4
+ }
@@ -0,0 +1,69 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "IRegistryLinked",
4
+ "sourceName": "contracts/shared/IRegistryLinked.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "registryAddress",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "ErrorNotRegistry",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [],
19
+ "name": "ErrorRegistryAddressZero",
20
+ "type": "error"
21
+ },
22
+ {
23
+ "inputs": [
24
+ {
25
+ "internalType": "address",
26
+ "name": "registry",
27
+ "type": "address"
28
+ }
29
+ ],
30
+ "name": "ErrorRegistryAlreadyInitialized",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [],
35
+ "name": "ErrorRegistryNotInitialized",
36
+ "type": "error"
37
+ },
38
+ {
39
+ "inputs": [],
40
+ "name": "getRegistry",
41
+ "outputs": [
42
+ {
43
+ "internalType": "contract IRegistry",
44
+ "name": "",
45
+ "type": "address"
46
+ }
47
+ ],
48
+ "stateMutability": "view",
49
+ "type": "function"
50
+ },
51
+ {
52
+ "inputs": [],
53
+ "name": "getRegistryAddress",
54
+ "outputs": [
55
+ {
56
+ "internalType": "address",
57
+ "name": "",
58
+ "type": "address"
59
+ }
60
+ ],
61
+ "stateMutability": "view",
62
+ "type": "function"
63
+ }
64
+ ],
65
+ "bytecode": "0x",
66
+ "deployedBytecode": "0x",
67
+ "linkReferences": {},
68
+ "deployedLinkReferences": {}
69
+ }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/4bd804babe2bdd0c8ebdc4e9aded367a.json"
3
+ "buildInfo": "../../../build-info/6a944234dbcb12d19e28b7af6bc3708a.json"
4
4
  }
@@ -30,6 +30,11 @@
30
30
  "name": "ErrorContractNotRegistered",
31
31
  "type": "error"
32
32
  },
33
+ {
34
+ "inputs": [],
35
+ "name": "ErrorInitialOwnerZero",
36
+ "type": "error"
37
+ },
33
38
  {
34
39
  "inputs": [
35
40
  {
@@ -98,6 +103,19 @@
98
103
  "name": "LogVersionableInitialized",
99
104
  "type": "event"
100
105
  },
106
+ {
107
+ "inputs": [],
108
+ "name": "getDomain",
109
+ "outputs": [
110
+ {
111
+ "internalType": "ObjectType",
112
+ "name": "serviceDomain",
113
+ "type": "uint8"
114
+ }
115
+ ],
116
+ "stateMutability": "pure",
117
+ "type": "function"
118
+ },
101
119
  {
102
120
  "inputs": [],
103
121
  "name": "getInitialInfo",
@@ -143,11 +161,6 @@
143
161
  "internalType": "struct IRegistry.ObjectInfo",
144
162
  "name": "",
145
163
  "type": "tuple"
146
- },
147
- {
148
- "internalType": "bytes",
149
- "name": "data",
150
- "type": "bytes"
151
164
  }
152
165
  ],
153
166
  "stateMutability": "view",
@@ -181,25 +194,25 @@
181
194
  },
182
195
  {
183
196
  "inputs": [],
184
- "name": "getName",
197
+ "name": "getNftId",
185
198
  "outputs": [
186
199
  {
187
- "internalType": "string",
188
- "name": "name",
189
- "type": "string"
200
+ "internalType": "NftId",
201
+ "name": "",
202
+ "type": "uint96"
190
203
  }
191
204
  ],
192
- "stateMutability": "pure",
205
+ "stateMutability": "view",
193
206
  "type": "function"
194
207
  },
195
208
  {
196
209
  "inputs": [],
197
- "name": "getNftId",
210
+ "name": "getOwner",
198
211
  "outputs": [
199
212
  {
200
- "internalType": "NftId",
213
+ "internalType": "address",
201
214
  "name": "",
202
- "type": "uint96"
215
+ "type": "address"
203
216
  }
204
217
  ],
205
218
  "stateMutability": "view",
@@ -207,10 +220,10 @@
207
220
  },
208
221
  {
209
222
  "inputs": [],
210
- "name": "getOwner",
223
+ "name": "getRegistry",
211
224
  "outputs": [
212
225
  {
213
- "internalType": "address",
226
+ "internalType": "contract IRegistry",
214
227
  "name": "",
215
228
  "type": "address"
216
229
  }
@@ -220,10 +233,10 @@
220
233
  },
221
234
  {
222
235
  "inputs": [],
223
- "name": "getRegistry",
236
+ "name": "getRegistryAddress",
224
237
  "outputs": [
225
238
  {
226
- "internalType": "contract IRegistry",
239
+ "internalType": "address",
227
240
  "name": "",
228
241
  "type": "address"
229
242
  }
@@ -340,7 +353,7 @@
340
353
  "type": "bytes"
341
354
  }
342
355
  ],
343
- "name": "initialize",
356
+ "name": "initializeVersionable",
344
357
  "outputs": [],
345
358
  "stateMutability": "nonpayable",
346
359
  "type": "function"
@@ -408,7 +421,7 @@
408
421
  "type": "bytes"
409
422
  }
410
423
  ],
411
- "name": "upgrade",
424
+ "name": "upgradeVersionable",
412
425
  "outputs": [],
413
426
  "stateMutability": "nonpayable",
414
427
  "type": "function"
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/4bd804babe2bdd0c8ebdc4e9aded367a.json"
3
+ "buildInfo": "../../../build-info/6a944234dbcb12d19e28b7af6bc3708a.json"
4
4
  }
@@ -150,7 +150,7 @@
150
150
  "type": "bytes"
151
151
  }
152
152
  ],
153
- "name": "initialize",
153
+ "name": "initializeVersionable",
154
154
  "outputs": [],
155
155
  "stateMutability": "nonpayable",
156
156
  "type": "function"
@@ -192,7 +192,7 @@
192
192
  "type": "bytes"
193
193
  }
194
194
  ],
195
- "name": "upgrade",
195
+ "name": "upgradeVersionable",
196
196
  "outputs": [],
197
197
  "stateMutability": "nonpayable",
198
198
  "type": "function"
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/4bd804babe2bdd0c8ebdc4e9aded367a.json"
3
+ "buildInfo": "../../../build-info/6a944234dbcb12d19e28b7af6bc3708a.json"
4
4
  }
@@ -3,11 +3,6 @@
3
3
  "contractName": "NftOwnable",
4
4
  "sourceName": "contracts/shared/NftOwnable.sol",
5
5
  "abi": [
6
- {
7
- "inputs": [],
8
- "stateMutability": "nonpayable",
9
- "type": "constructor"
10
- },
11
6
  {
12
7
  "inputs": [
13
8
  {
@@ -35,6 +30,11 @@
35
30
  "name": "ErrorContractNotRegistered",
36
31
  "type": "error"
37
32
  },
33
+ {
34
+ "inputs": [],
35
+ "name": "ErrorInitialOwnerZero",
36
+ "type": "error"
37
+ },
38
38
  {
39
39
  "inputs": [
40
40
  {
@@ -78,6 +78,55 @@
78
78
  "name": "ErrorRegistryNotInitialized",
79
79
  "type": "error"
80
80
  },
81
+ {
82
+ "inputs": [],
83
+ "name": "InvalidInitialization",
84
+ "type": "error"
85
+ },
86
+ {
87
+ "inputs": [],
88
+ "name": "NotInitializing",
89
+ "type": "error"
90
+ },
91
+ {
92
+ "anonymous": false,
93
+ "inputs": [
94
+ {
95
+ "indexed": false,
96
+ "internalType": "uint64",
97
+ "name": "version",
98
+ "type": "uint64"
99
+ }
100
+ ],
101
+ "name": "Initialized",
102
+ "type": "event"
103
+ },
104
+ {
105
+ "inputs": [],
106
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
107
+ "outputs": [
108
+ {
109
+ "internalType": "bytes32",
110
+ "name": "",
111
+ "type": "bytes32"
112
+ }
113
+ ],
114
+ "stateMutability": "view",
115
+ "type": "function"
116
+ },
117
+ {
118
+ "inputs": [],
119
+ "name": "getInitialOwner",
120
+ "outputs": [
121
+ {
122
+ "internalType": "address",
123
+ "name": "",
124
+ "type": "address"
125
+ }
126
+ ],
127
+ "stateMutability": "view",
128
+ "type": "function"
129
+ },
81
130
  {
82
131
  "inputs": [],
83
132
  "name": "getNftId",
@@ -117,26 +166,122 @@
117
166
  "stateMutability": "view",
118
167
  "type": "function"
119
168
  },
169
+ {
170
+ "inputs": [],
171
+ "name": "getRegistryAddress",
172
+ "outputs": [
173
+ {
174
+ "internalType": "address",
175
+ "name": "",
176
+ "type": "address"
177
+ }
178
+ ],
179
+ "stateMutability": "view",
180
+ "type": "function"
181
+ },
182
+ {
183
+ "inputs": [],
184
+ "name": "initializeERC165",
185
+ "outputs": [],
186
+ "stateMutability": "nonpayable",
187
+ "type": "function"
188
+ },
189
+ {
190
+ "inputs": [
191
+ {
192
+ "internalType": "address",
193
+ "name": "initialOwner",
194
+ "type": "address"
195
+ },
196
+ {
197
+ "internalType": "address",
198
+ "name": "registryAddress",
199
+ "type": "address"
200
+ }
201
+ ],
202
+ "name": "initializeNftOwnable",
203
+ "outputs": [],
204
+ "stateMutability": "nonpayable",
205
+ "type": "function"
206
+ },
207
+ {
208
+ "inputs": [
209
+ {
210
+ "internalType": "address",
211
+ "name": "initialOwner",
212
+ "type": "address"
213
+ }
214
+ ],
215
+ "name": "initializeOwner",
216
+ "outputs": [],
217
+ "stateMutability": "nonpayable",
218
+ "type": "function"
219
+ },
220
+ {
221
+ "inputs": [
222
+ {
223
+ "internalType": "address",
224
+ "name": "registryAddress",
225
+ "type": "address"
226
+ }
227
+ ],
228
+ "name": "initializeRegistryLinked",
229
+ "outputs": [],
230
+ "stateMutability": "nonpayable",
231
+ "type": "function"
232
+ },
120
233
  {
121
234
  "inputs": [],
122
235
  "name": "linkToRegisteredNftId",
123
236
  "outputs": [],
124
237
  "stateMutability": "nonpayable",
125
238
  "type": "function"
239
+ },
240
+ {
241
+ "inputs": [
242
+ {
243
+ "internalType": "bytes4",
244
+ "name": "interfaceId",
245
+ "type": "bytes4"
246
+ }
247
+ ],
248
+ "name": "registerInterface",
249
+ "outputs": [],
250
+ "stateMutability": "nonpayable",
251
+ "type": "function"
252
+ },
253
+ {
254
+ "inputs": [
255
+ {
256
+ "internalType": "bytes4",
257
+ "name": "interfaceId",
258
+ "type": "bytes4"
259
+ }
260
+ ],
261
+ "name": "supportsInterface",
262
+ "outputs": [
263
+ {
264
+ "internalType": "bool",
265
+ "name": "",
266
+ "type": "bool"
267
+ }
268
+ ],
269
+ "stateMutability": "view",
270
+ "type": "function"
126
271
  }
127
272
  ],
128
- "bytecode": "0x608060405234801561001057600080fd5b50600180546001600160a01b031916331790556104a7806100326000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c8063138461e0146100515780635ab1bd531461005b578063644c45e014610085578063893d20e8146100b0575b600080fd5b6100596100b8565b005b6000546001600160a01b03165b6040516001600160a01b0390911681526020015b60405180910390f35b600054600160a01b90046001600160601b03166040516001600160601b03909116815260200161007c565b6100686102da565b6000546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561011a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061013e91906103f6565b15610185576000546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6000546001600160a01b03166101ae5760405163cf29926160e01b815260040160405180910390fd5b60005460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156101f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061021b91906103f6565b610243576040516372657a5160e01b81526001600160a01b038216600482015260240161017c565b600054604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa15801561028d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102b1919061041f565b600060146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b600080546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561033d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061036191906103f6565b156103e657600054604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa1580156103bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103e19190610448565b905090565b506001546001600160a01b031690565b60006020828403121561040857600080fd5b8151801515811461041857600080fd5b9392505050565b60006020828403121561043157600080fd5b81516001600160601b038116811461041857600080fd5b60006020828403121561045a57600080fd5b81516001600160a01b038116811461041857600080fdfea2646970667358221220aafd42e4e4c7c8c25aa6c7b6f2197ded876bdf9e2a5440f715dc1d07d61d108664736f6c63430008140033",
129
- "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c8063138461e0146100515780635ab1bd531461005b578063644c45e014610085578063893d20e8146100b0575b600080fd5b6100596100b8565b005b6000546001600160a01b03165b6040516001600160a01b0390911681526020015b60405180910390f35b600054600160a01b90046001600160601b03166040516001600160601b03909116815260200161007c565b6100686102da565b6000546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561011a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061013e91906103f6565b15610185576000546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6000546001600160a01b03166101ae5760405163cf29926160e01b815260040160405180910390fd5b60005460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156101f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061021b91906103f6565b610243576040516372657a5160e01b81526001600160a01b038216600482015260240161017c565b600054604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa15801561028d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102b1919061041f565b600060146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b600080546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561033d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061036191906103f6565b156103e657600054604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa1580156103bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103e19190610448565b905090565b506001546001600160a01b031690565b60006020828403121561040857600080fd5b8151801515811461041857600080fd5b9392505050565b60006020828403121561043157600080fd5b81516001600160601b038116811461041857600080fd5b60006020828403121561045a57600080fd5b81516001600160a01b038116811461041857600080fdfea2646970667358221220aafd42e4e4c7c8c25aa6c7b6f2197ded876bdf9e2a5440f715dc1d07d61d108664736f6c63430008140033",
273
+ "bytecode": "0x608060405234801561001057600080fd5b50610ae4806100206000396000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c8063675393bf1161008c578063ada9652e11610066578063ada9652e146101b6578063f21de1e81461013b578063f7c34ee0146101d9578063fb2cb101146101ec57600080fd5b8063675393bf14610188578063893d20e81461019b5780638c5f36bb146101a357600080fd5b806301ffc9a7146100d4578063138461e014610116578063214cdb801461012057806336fc697e146101335780635ab1bd531461013b578063644c45e014610160575b600080fd5b6101016100e236600461098a565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61011e6101f4565b005b61011e61012e36600461098a565b610447565b61011e610474565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161010d565b600080516020610a8f833981519152546040516001600160601b03909116815260200161010d565b61011e6101963660046109d0565b6104ba565b6101486104ce565b61011e6101b13660046109d0565b610605565b6101cb600080516020610a8f83398151915281565b60405190815260200161010d565b61011e6101e73660046109ed565b61072d565b610148610763565b6000600080516020610a8f83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610263573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102879190610a26565b156102c95760015481546040516316322c0f60e31b81526001600160a01b0390921660048301526001600160601b031660248201526044015b60405180910390fd5b60006102dd6001546001600160a01b031690565b6001600160a01b0316036103045760405163cf29926160e01b815260040160405180910390fd5b306103176001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561035f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103839190610a26565b6103ab576040516372657a5160e01b81526001600160a01b03821660048201526024016102c0565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa1580156103ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104239190610a48565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b61044f610779565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61047c610779565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6104c2610779565b6104cb816107c4565b50565b600080600080516020610a8f83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561053e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105629190610a26565b156105ef576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156105c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e99190610a71565b91505090565b54600160601b90046001600160a01b0316919050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff1660008115801561064b5750825b905060008267ffffffffffffffff1660011480156106685750303b155b905081158015610676575080155b156106945760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156106be57845460ff60401b1916600160401b1785555b6106c786610925565b6106cf610474565b6106df631fdea09d60e31b610447565b831561072557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b610735610779565b61073e82610925565b610747816104ba565b61074f610474565b61075f631fdea09d60e31b610447565b5050565b6000600080516020610a8f8339815191526105ef565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166107c257604051631afcd79f60e31b815260040160405180910390fd5b565b6001546001600160a01b0316156107fd5760015460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024016102c0565b6001600160a01b0381166108245760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b60000361085a5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016102c0565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156108d4575060408051601f3d908101601f191682019092526108d191810190610a26565b60015b6108fc5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016102c0565b8061075f5760405163fdeac91f60e01b81526001600160a01b03831660048201526024016102c0565b61092d610779565b6001600160a01b038116610954576040516352e2d0c160e01b815260040160405180910390fd5b600080516020610a8f83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b60006020828403121561099c57600080fd5b81356001600160e01b0319811681146109b457600080fd5b9392505050565b6001600160a01b03811681146104cb57600080fd5b6000602082840312156109e257600080fd5b81356109b4816109bb565b60008060408385031215610a0057600080fd5b8235610a0b816109bb565b91506020830135610a1b816109bb565b809150509250929050565b600060208284031215610a3857600080fd5b815180151581146109b457600080fd5b600060208284031215610a5a57600080fd5b81516001600160601b03811681146109b457600080fd5b600060208284031215610a8357600080fd5b81516109b4816109bb56fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a26469706673582212200c67f31b7c1d81d942560b8b6f6902e293fc9f6a7196afbe9e3e31cf101fd54264736f6c63430008140033",
274
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100cf5760003560e01c8063675393bf1161008c578063ada9652e11610066578063ada9652e146101b6578063f21de1e81461013b578063f7c34ee0146101d9578063fb2cb101146101ec57600080fd5b8063675393bf14610188578063893d20e81461019b5780638c5f36bb146101a357600080fd5b806301ffc9a7146100d4578063138461e014610116578063214cdb801461012057806336fc697e146101335780635ab1bd531461013b578063644c45e014610160575b600080fd5b6101016100e236600461098a565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61011e6101f4565b005b61011e61012e36600461098a565b610447565b61011e610474565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161010d565b600080516020610a8f833981519152546040516001600160601b03909116815260200161010d565b61011e6101963660046109d0565b6104ba565b6101486104ce565b61011e6101b13660046109d0565b610605565b6101cb600080516020610a8f83398151915281565b60405190815260200161010d565b61011e6101e73660046109ed565b61072d565b610148610763565b6000600080516020610a8f83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610263573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102879190610a26565b156102c95760015481546040516316322c0f60e31b81526001600160a01b0390921660048301526001600160601b031660248201526044015b60405180910390fd5b60006102dd6001546001600160a01b031690565b6001600160a01b0316036103045760405163cf29926160e01b815260040160405180910390fd5b306103176001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561035f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103839190610a26565b6103ab576040516372657a5160e01b81526001600160a01b03821660048201526024016102c0565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa1580156103ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104239190610a48565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b61044f610779565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61047c610779565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6104c2610779565b6104cb816107c4565b50565b600080600080516020610a8f83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561053e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105629190610a26565b156105ef576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156105c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e99190610a71565b91505090565b54600160601b90046001600160a01b0316919050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff1660008115801561064b5750825b905060008267ffffffffffffffff1660011480156106685750303b155b905081158015610676575080155b156106945760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156106be57845460ff60401b1916600160401b1785555b6106c786610925565b6106cf610474565b6106df631fdea09d60e31b610447565b831561072557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b610735610779565b61073e82610925565b610747816104ba565b61074f610474565b61075f631fdea09d60e31b610447565b5050565b6000600080516020610a8f8339815191526105ef565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166107c257604051631afcd79f60e31b815260040160405180910390fd5b565b6001546001600160a01b0316156107fd5760015460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024016102c0565b6001600160a01b0381166108245760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b60000361085a5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016102c0565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156108d4575060408051601f3d908101601f191682019092526108d191810190610a26565b60015b6108fc5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016102c0565b8061075f5760405163fdeac91f60e01b81526001600160a01b03831660048201526024016102c0565b61092d610779565b6001600160a01b038116610954576040516352e2d0c160e01b815260040160405180910390fd5b600080516020610a8f83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b60006020828403121561099c57600080fd5b81356001600160e01b0319811681146109b457600080fd5b9392505050565b6001600160a01b03811681146104cb57600080fd5b6000602082840312156109e257600080fd5b81356109b4816109bb565b60008060408385031215610a0057600080fd5b8235610a0b816109bb565b91506020830135610a1b816109bb565b809150509250929050565b600060208284031215610a3857600080fd5b815180151581146109b457600080fd5b600060208284031215610a5a57600080fd5b81516001600160601b03811681146109b457600080fd5b600060208284031215610a8357600080fd5b81516109b4816109bb56fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a26469706673582212200c67f31b7c1d81d942560b8b6f6902e293fc9f6a7196afbe9e3e31cf101fd54264736f6c63430008140033",
130
275
  "linkReferences": {
131
276
  "contracts/types/NftId.sol": {
132
277
  "NftIdLib": [
133
278
  {
134
279
  "length": 20,
135
- "start": 274
280
+ "start": 585
136
281
  },
137
282
  {
138
283
  "length": 20,
139
- "start": 821
284
+ "start": 1316
140
285
  }
141
286
  ]
142
287
  }
@@ -146,11 +291,11 @@
146
291
  "NftIdLib": [
147
292
  {
148
293
  "length": 20,
149
- "start": 224
294
+ "start": 553
150
295
  },
151
296
  {
152
297
  "length": 20,
153
- "start": 771
298
+ "start": 1284
154
299
  }
155
300
  ]
156
301
  }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/6a944234dbcb12d19e28b7af6bc3708a.json"
4
+ }