@etherisc/gif-next 0.0.2-f619be3-760 → 0.0.2-f626d92-602

Sign up to get free protection for your applications and to get access to all the features.
Files changed (474) hide show
  1. package/README.md +324 -22
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
  3. package/artifacts/contracts/components/Component.sol/Component.json +672 -35
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +1329 -0
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/components/IComponent.sol/IComponent.json +605 -0
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +969 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +1064 -0
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +830 -0
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +1180 -132
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +977 -156
  18. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  19. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  20. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  21. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +778 -0
  22. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  23. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +190 -0
  24. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  25. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1698 -810
  26. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  27. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +633 -0
  28. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  29. package/artifacts/contracts/instance/Instance.sol/Instance.json +2413 -849
  30. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +1330 -0
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  33. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1289 -0
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1179 -0
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +741 -0
  38. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  39. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +256 -0
  40. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  41. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +607 -0
  42. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  43. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +429 -0
  44. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  45. package/artifacts/contracts/instance/{lifecycle/ILifecycle.sol/ILifecycleModule.json → base/ILifecycle.sol/ILifecycle.json} +10 -77
  46. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  47. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +532 -0
  48. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  49. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +194 -0
  50. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  51. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +237 -0
  52. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  53. package/artifacts/contracts/instance/{access/IAccess.sol/IAccess.json → module/IBundle.sol/IBundle.json} +2 -2
  54. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  55. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  56. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  57. package/artifacts/contracts/instance/{component/IComponent.sol/IComponent.json → module/IDistribution.sol/IDistribution.json} +2 -2
  58. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  59. package/artifacts/contracts/instance/{policy → module}/IPolicy.sol/IPolicy.json +1 -1
  60. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  61. package/artifacts/contracts/instance/{pool/IPoolModule.sol/IPool.json → module/IRisk.sol/IRisk.json} +2 -2
  62. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  63. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.json +10 -0
  64. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  65. package/artifacts/contracts/instance/{treasury → module}/ITreasury.sol/ITreasury.json +1 -1
  66. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  67. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +1039 -0
  68. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  69. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +673 -0
  70. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  71. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1231 -0
  72. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  73. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +721 -0
  74. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  75. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +817 -0
  76. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  77. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +641 -0
  78. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  79. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1798 -0
  80. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  81. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +805 -0
  82. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  83. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +622 -0
  84. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  85. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +659 -0
  86. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  87. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +475 -0
  88. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  89. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +1090 -0
  90. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  91. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +606 -0
  92. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
  93. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +844 -0
  94. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
  95. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +450 -0
  96. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  97. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1092 -0
  98. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  99. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +697 -0
  100. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  101. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +1237 -0
  102. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  103. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +661 -0
  104. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  105. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +840 -0
  106. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  107. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +653 -0
  108. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  109. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +252 -2
  110. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  111. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +595 -27
  112. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  113. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +866 -0
  114. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  115. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +52 -0
  116. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  117. package/artifacts/contracts/registry/Registry.sol/Registry.json +652 -50
  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 +4 -0
  121. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1158 -0
  122. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  123. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +670 -0
  124. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  125. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +559 -0
  126. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  127. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +498 -0
  128. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  129. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  130. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +4 -0
  131. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +73 -0
  132. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  133. package/artifacts/contracts/{registry/Registry.sol/Registerable.json → shared/INftOwnable.sol/INftOwnable.json} +46 -74
  134. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  135. package/artifacts/contracts/{instance/product/IProductService.sol/IProductService.json → shared/IPolicyHolder.sol/IPolicyHolder.json} +68 -66
  136. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +4 -0
  137. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +188 -0
  138. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  139. package/artifacts/contracts/{registry/IRegistry.sol → shared/IRegistryLinked.sol}/IRegistryLinked.json +18 -19
  140. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  141. package/artifacts/contracts/{instance/component/ComponentModule.sol/ComponentModule.json → shared/IService.sol/IService.json} +168 -132
  142. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +4 -0
  143. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +55 -0
  144. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  145. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +251 -0
  146. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  147. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
  148. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  149. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +582 -0
  150. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +4 -0
  151. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +352 -0
  152. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  153. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
  154. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  155. package/artifacts/contracts/{registry/IChainNft.sol/IChainNft.json → shared/Service.sol/Service.json} +261 -217
  156. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  157. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
  158. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  159. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  160. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +4 -0
  161. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +78 -0
  162. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +4 -0
  163. package/artifacts/contracts/test/TestFee.sol/TestFee.json +119 -0
  164. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +4 -0
  165. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +383 -0
  166. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +4 -0
  167. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +116 -0
  168. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +4 -0
  169. package/artifacts/contracts/test/TestService.sol/TestService.json +596 -0
  170. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +4 -0
  171. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +376 -0
  172. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +4 -0
  173. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +218 -0
  174. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +4 -0
  175. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +104 -0
  176. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +4 -0
  177. package/artifacts/contracts/test/Usdc.sol/USDC.json +376 -0
  178. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  179. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +10 -0
  180. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +4 -0
  181. package/artifacts/contracts/types/Amount.sol/AmountLib.json +161 -0
  182. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  183. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  184. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  185. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  186. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -0
  187. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  188. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  189. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +4 -0
  190. package/artifacts/contracts/types/Fee.sol/FeeLib.json +288 -0
  191. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +4 -0
  192. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +125 -0
  193. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  194. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +78 -4
  195. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  196. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +33 -0
  197. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  198. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  199. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  200. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  201. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  202. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +100 -0
  203. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  204. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +142 -0
  205. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
  206. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
  207. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +4 -0
  208. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +156 -0
  209. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  210. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  211. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  212. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  213. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  214. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +97 -4
  215. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  216. package/artifacts/contracts/{experiment/types/TypeB.sol/TypeBLib.json → types/UFixed.sol/MathLib.json} +4 -4
  217. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  218. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +479 -0
  219. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +4 -0
  220. package/artifacts/contracts/types/Version.sol/VersionLib.json +177 -0
  221. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +4 -0
  222. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +49 -0
  223. package/contracts/components/Component.sol +227 -51
  224. package/contracts/components/Distribution.sol +280 -0
  225. package/contracts/components/IComponent.sol +76 -0
  226. package/contracts/components/IDistributionComponent.sol +71 -0
  227. package/contracts/components/IPoolComponent.sol +113 -0
  228. package/contracts/components/IProductComponent.sol +40 -0
  229. package/contracts/components/Pool.sol +281 -30
  230. package/contracts/components/Product.sol +252 -48
  231. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
  232. package/contracts/instance/BundleManager.sol +127 -0
  233. package/contracts/instance/Cloneable.sol +51 -0
  234. package/contracts/instance/IInstance.sol +95 -22
  235. package/contracts/instance/IInstanceService.sol +72 -0
  236. package/contracts/instance/Instance.sol +306 -51
  237. package/contracts/instance/InstanceAccessManager.sol +527 -0
  238. package/contracts/instance/InstanceReader.sol +291 -0
  239. package/contracts/instance/InstanceService.sol +495 -0
  240. package/contracts/instance/InstanceServiceManager.sol +54 -0
  241. package/contracts/instance/ObjectManager.sol +82 -0
  242. package/contracts/instance/base/ComponentService.sol +121 -0
  243. package/contracts/instance/base/IKeyValueStore.sol +49 -0
  244. package/contracts/instance/base/ILifecycle.sol +30 -0
  245. package/contracts/instance/base/KeyValueStore.sol +180 -0
  246. package/contracts/instance/base/Lifecycle.sol +109 -0
  247. package/contracts/instance/module/IAccess.sol +54 -0
  248. package/contracts/instance/module/IBundle.sol +23 -0
  249. package/contracts/instance/module/IComponents.sol +41 -0
  250. package/contracts/instance/module/IDistribution.sol +41 -0
  251. package/contracts/instance/module/IPolicy.sol +72 -0
  252. package/contracts/instance/module/IRisk.sol +11 -0
  253. package/contracts/instance/module/ISetup.sol +33 -0
  254. package/contracts/instance/module/ITreasury.sol +23 -0
  255. package/contracts/instance/service/ApplicationService.sol +350 -0
  256. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  257. package/contracts/instance/service/BundleService.sol +431 -0
  258. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  259. package/contracts/instance/service/ClaimService.sol +151 -0
  260. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  261. package/contracts/instance/service/DistributionService.sol +435 -0
  262. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  263. package/contracts/instance/service/IApplicationService.sol +82 -0
  264. package/contracts/instance/service/IBundleService.sol +93 -0
  265. package/contracts/instance/service/IClaimService.sol +61 -0
  266. package/contracts/instance/service/IDistributionService.sol +99 -0
  267. package/contracts/instance/service/IPolicyService.sol +72 -0
  268. package/contracts/instance/service/IPoolService.sol +99 -0
  269. package/contracts/instance/service/IProductService.sol +40 -0
  270. package/contracts/instance/service/PolicyService.sol +362 -0
  271. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  272. package/contracts/instance/service/PoolService.sol +303 -0
  273. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  274. package/contracts/instance/service/ProductService.sol +210 -0
  275. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  276. package/contracts/registry/ChainNft.sol +137 -62
  277. package/contracts/registry/IRegistry.sol +75 -41
  278. package/contracts/registry/IRegistryService.sol +68 -0
  279. package/contracts/registry/ITransferInterceptor.sol +7 -0
  280. package/contracts/registry/Registry.sol +413 -128
  281. package/contracts/registry/RegistryAccessManager.sol +216 -0
  282. package/contracts/registry/RegistryService.sol +282 -0
  283. package/contracts/registry/RegistryServiceManager.sol +62 -0
  284. package/contracts/registry/ReleaseManager.sol +324 -0
  285. package/contracts/registry/TokenRegistry.sol +116 -0
  286. package/contracts/shared/ContractDeployerLib.sol +72 -0
  287. package/contracts/shared/ERC165.sol +27 -0
  288. package/contracts/shared/INftOwnable.sol +23 -0
  289. package/contracts/shared/IPolicyHolder.sol +26 -0
  290. package/contracts/shared/IRegisterable.sol +15 -0
  291. package/contracts/shared/IRegistryLinked.sol +12 -0
  292. package/contracts/shared/IService.sol +16 -0
  293. package/contracts/shared/IVersionable.sol +53 -0
  294. package/contracts/shared/NftOwnable.sol +120 -0
  295. package/contracts/shared/PolicyHolder.sol +81 -0
  296. package/contracts/shared/ProxyManager.sol +169 -0
  297. package/contracts/shared/Registerable.sol +74 -0
  298. package/contracts/shared/RegistryLinked.sol +48 -0
  299. package/contracts/shared/Service.sol +72 -0
  300. package/contracts/shared/TokenHandler.sol +33 -0
  301. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  302. package/contracts/shared/Versionable.sol +59 -0
  303. package/contracts/test/TestFee.sol +25 -0
  304. package/contracts/test/TestRegisterable.sol +18 -0
  305. package/contracts/test/TestRoleId.sol +14 -0
  306. package/contracts/test/TestService.sol +25 -0
  307. package/contracts/{mock/Dip.sol → test/TestToken.sol} +5 -5
  308. package/contracts/test/TestVersion.sol +44 -0
  309. package/contracts/test/TestVersionable.sol +17 -0
  310. package/contracts/{mock → test}/Usdc.sol +1 -1
  311. package/contracts/types/AddressSet.sol +58 -0
  312. package/contracts/types/Amount.sol +60 -0
  313. package/contracts/types/Blocknumber.sol +1 -0
  314. package/contracts/types/ClaimId.sol +52 -0
  315. package/contracts/types/DistributorType.sol +55 -0
  316. package/contracts/types/Fee.sol +52 -20
  317. package/contracts/types/Key32.sol +50 -0
  318. package/contracts/types/NftId.sol +30 -1
  319. package/contracts/types/NftIdSet.sol +62 -0
  320. package/contracts/types/NumberId.sol +52 -0
  321. package/contracts/types/ObjectType.sol +65 -15
  322. package/contracts/types/PayoutId.sol +54 -0
  323. package/contracts/types/Referral.sol +89 -0
  324. package/contracts/types/RiskId.sol +43 -0
  325. package/contracts/types/RoleId.sol +97 -0
  326. package/contracts/types/Seconds.sol +54 -0
  327. package/contracts/types/StateId.sol +19 -4
  328. package/contracts/types/Timestamp.sol +31 -6
  329. package/contracts/types/UFixed.sol +139 -23
  330. package/contracts/types/Version.sol +108 -0
  331. package/package.json +11 -5
  332. package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +0 -4
  333. package/artifacts/contracts/components/Component.sol/InstanceLinked.json +0 -35
  334. package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +0 -4
  335. package/artifacts/contracts/components/IPool.sol/IPoolComponent.json +0 -255
  336. package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +0 -4
  337. package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +0 -74
  338. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  339. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  340. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  341. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  342. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  343. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  344. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  345. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  346. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  347. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  348. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  349. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  350. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  351. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  352. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  353. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  354. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  355. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  356. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  357. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  358. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  359. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  360. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  361. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  362. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  363. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  364. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  365. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  366. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  367. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  368. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  369. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  370. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  371. package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +0 -4
  372. package/artifacts/contracts/instance/access/Access.sol/AccessModule.json +0 -400
  373. package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +0 -4
  374. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +0 -4
  375. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.json +0 -35
  376. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +0 -4
  377. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.json +0 -50
  378. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  379. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.json +0 -336
  380. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  381. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +0 -4
  382. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +0 -202
  383. package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +0 -4
  384. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +0 -4
  385. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +0 -205
  386. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  387. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +0 -217
  388. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +0 -4
  389. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +0 -141
  390. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +0 -4
  391. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.json +0 -24
  392. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  393. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.json +0 -134
  394. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycleModule.dbg.json +0 -4
  395. package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.dbg.json +0 -4
  396. package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.json +0 -221
  397. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  398. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  399. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.json +0 -254
  400. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  401. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +0 -254
  402. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  403. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  404. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.json +0 -129
  405. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  406. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.json +0 -155
  407. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +0 -4
  408. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.json +0 -75
  409. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +0 -4
  410. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +0 -4
  411. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.json +0 -75
  412. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +0 -4
  413. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +0 -196
  414. package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  415. package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  416. package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.json +0 -490
  417. package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  418. package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.json +0 -45
  419. package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  420. package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.json +0 -490
  421. package/artifacts/contracts/mock/Dip.sol/DIP.dbg.json +0 -4
  422. package/artifacts/contracts/mock/Dip.sol/DIP.json +0 -338
  423. package/artifacts/contracts/mock/TestPool.sol/TestPool.dbg.json +0 -4
  424. package/artifacts/contracts/mock/TestPool.sol/TestPool.json +0 -294
  425. package/artifacts/contracts/mock/TestProduct.sol/TestProduct.dbg.json +0 -4
  426. package/artifacts/contracts/mock/TestProduct.sol/TestProduct.json +0 -384
  427. package/artifacts/contracts/mock/Usdc.sol/USDC.dbg.json +0 -4
  428. package/artifacts/contracts/mock/Usdc.sol/USDC.json +0 -338
  429. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  430. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +0 -4
  431. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.json +0 -24
  432. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +0 -4
  433. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +0 -166
  434. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +0 -4
  435. package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +0 -4
  436. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +0 -4
  437. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +0 -60
  438. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  439. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -479
  440. package/contracts/components/IPool.sol +0 -15
  441. package/contracts/components/IProduct.sol +0 -16
  442. package/contracts/experiment/errors/Require.sol +0 -38
  443. package/contracts/experiment/errors/Revert.sol +0 -44
  444. package/contracts/experiment/inheritance/A.sol +0 -53
  445. package/contracts/experiment/inheritance/B.sol +0 -28
  446. package/contracts/experiment/inheritance/C.sol +0 -34
  447. package/contracts/experiment/inheritance/IA.sol +0 -13
  448. package/contracts/experiment/inheritance/IB.sol +0 -10
  449. package/contracts/experiment/inheritance/IC.sol +0 -12
  450. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  451. package/contracts/experiment/statemachine/ISM.sol +0 -25
  452. package/contracts/experiment/statemachine/README.md +0 -112
  453. package/contracts/experiment/statemachine/SM.sol +0 -57
  454. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  455. package/contracts/experiment/types/TypeA.sol +0 -47
  456. package/contracts/experiment/types/TypeB.sol +0 -29
  457. package/contracts/instance/access/Access.sol +0 -165
  458. package/contracts/instance/access/IAccess.sol +0 -63
  459. package/contracts/instance/component/ComponentModule.sol +0 -274
  460. package/contracts/instance/component/IComponent.sol +0 -74
  461. package/contracts/instance/lifecycle/ILifecycle.sol +0 -47
  462. package/contracts/instance/lifecycle/LifecycleModule.sol +0 -88
  463. package/contracts/instance/policy/IPolicy.sol +0 -50
  464. package/contracts/instance/policy/PolicyModule.sol +0 -114
  465. package/contracts/instance/pool/IPoolModule.sol +0 -23
  466. package/contracts/instance/pool/PoolModule.sol +0 -81
  467. package/contracts/instance/product/IProductService.sol +0 -36
  468. package/contracts/instance/product/ProductService.sol +0 -136
  469. package/contracts/instance/treasury/ITreasury.sol +0 -91
  470. package/contracts/instance/treasury/TokenHandler.sol +0 -24
  471. package/contracts/instance/treasury/TreasuryModule.sol +0 -168
  472. package/contracts/mock/TestPool.sol +0 -16
  473. package/contracts/mock/TestProduct.sol +0 -39
  474. package/contracts/registry/IChainNft.sol +0 -21
@@ -0,0 +1,596 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "TestService",
4
+ "sourceName": "contracts/test/TestService.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "registry",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "NftId",
15
+ "name": "registryNftId",
16
+ "type": "uint96"
17
+ },
18
+ {
19
+ "internalType": "address",
20
+ "name": "initialOwner",
21
+ "type": "address"
22
+ }
23
+ ],
24
+ "stateMutability": "nonpayable",
25
+ "type": "constructor"
26
+ },
27
+ {
28
+ "inputs": [
29
+ {
30
+ "internalType": "address",
31
+ "name": "authority",
32
+ "type": "address"
33
+ }
34
+ ],
35
+ "name": "AccessManagedInvalidAuthority",
36
+ "type": "error"
37
+ },
38
+ {
39
+ "inputs": [
40
+ {
41
+ "internalType": "address",
42
+ "name": "caller",
43
+ "type": "address"
44
+ },
45
+ {
46
+ "internalType": "uint32",
47
+ "name": "delay",
48
+ "type": "uint32"
49
+ }
50
+ ],
51
+ "name": "AccessManagedRequiredDelay",
52
+ "type": "error"
53
+ },
54
+ {
55
+ "inputs": [
56
+ {
57
+ "internalType": "address",
58
+ "name": "caller",
59
+ "type": "address"
60
+ }
61
+ ],
62
+ "name": "AccessManagedUnauthorized",
63
+ "type": "error"
64
+ },
65
+ {
66
+ "inputs": [
67
+ {
68
+ "internalType": "NftId",
69
+ "name": "nftId",
70
+ "type": "uint96"
71
+ }
72
+ ],
73
+ "name": "ErrorNftOwnableAlreadyLinked",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [
78
+ {
79
+ "internalType": "address",
80
+ "name": "contractAddress",
81
+ "type": "address"
82
+ }
83
+ ],
84
+ "name": "ErrorNftOwnableContractNotRegistered",
85
+ "type": "error"
86
+ },
87
+ {
88
+ "inputs": [],
89
+ "name": "ErrorNftOwnableInitialOwnerZero",
90
+ "type": "error"
91
+ },
92
+ {
93
+ "inputs": [
94
+ {
95
+ "internalType": "address",
96
+ "name": "account",
97
+ "type": "address"
98
+ }
99
+ ],
100
+ "name": "ErrorNftOwnableNotOwner",
101
+ "type": "error"
102
+ },
103
+ {
104
+ "inputs": [
105
+ {
106
+ "internalType": "address",
107
+ "name": "registryAddress",
108
+ "type": "address"
109
+ }
110
+ ],
111
+ "name": "ErrorNotRegistry",
112
+ "type": "error"
113
+ },
114
+ {
115
+ "inputs": [],
116
+ "name": "InvalidInitialization",
117
+ "type": "error"
118
+ },
119
+ {
120
+ "inputs": [],
121
+ "name": "NotInitializing",
122
+ "type": "error"
123
+ },
124
+ {
125
+ "anonymous": false,
126
+ "inputs": [
127
+ {
128
+ "indexed": false,
129
+ "internalType": "address",
130
+ "name": "authority",
131
+ "type": "address"
132
+ }
133
+ ],
134
+ "name": "AuthorityUpdated",
135
+ "type": "event"
136
+ },
137
+ {
138
+ "anonymous": false,
139
+ "inputs": [
140
+ {
141
+ "indexed": false,
142
+ "internalType": "uint64",
143
+ "name": "version",
144
+ "type": "uint64"
145
+ }
146
+ ],
147
+ "name": "Initialized",
148
+ "type": "event"
149
+ },
150
+ {
151
+ "inputs": [],
152
+ "name": "NAME",
153
+ "outputs": [
154
+ {
155
+ "internalType": "string",
156
+ "name": "",
157
+ "type": "string"
158
+ }
159
+ ],
160
+ "stateMutability": "view",
161
+ "type": "function"
162
+ },
163
+ {
164
+ "inputs": [],
165
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
166
+ "outputs": [
167
+ {
168
+ "internalType": "bytes32",
169
+ "name": "",
170
+ "type": "bytes32"
171
+ }
172
+ ],
173
+ "stateMutability": "view",
174
+ "type": "function"
175
+ },
176
+ {
177
+ "inputs": [],
178
+ "name": "REGISTERABLE_LOCATION_V1",
179
+ "outputs": [
180
+ {
181
+ "internalType": "bytes32",
182
+ "name": "",
183
+ "type": "bytes32"
184
+ }
185
+ ],
186
+ "stateMutability": "view",
187
+ "type": "function"
188
+ },
189
+ {
190
+ "inputs": [],
191
+ "name": "authority",
192
+ "outputs": [
193
+ {
194
+ "internalType": "address",
195
+ "name": "",
196
+ "type": "address"
197
+ }
198
+ ],
199
+ "stateMutability": "view",
200
+ "type": "function"
201
+ },
202
+ {
203
+ "inputs": [],
204
+ "name": "getDomain",
205
+ "outputs": [
206
+ {
207
+ "internalType": "ObjectType",
208
+ "name": "",
209
+ "type": "uint8"
210
+ }
211
+ ],
212
+ "stateMutability": "pure",
213
+ "type": "function"
214
+ },
215
+ {
216
+ "inputs": [],
217
+ "name": "getInitialInfo",
218
+ "outputs": [
219
+ {
220
+ "components": [
221
+ {
222
+ "internalType": "NftId",
223
+ "name": "nftId",
224
+ "type": "uint96"
225
+ },
226
+ {
227
+ "internalType": "NftId",
228
+ "name": "parentNftId",
229
+ "type": "uint96"
230
+ },
231
+ {
232
+ "internalType": "ObjectType",
233
+ "name": "objectType",
234
+ "type": "uint8"
235
+ },
236
+ {
237
+ "internalType": "bool",
238
+ "name": "isInterceptor",
239
+ "type": "bool"
240
+ },
241
+ {
242
+ "internalType": "address",
243
+ "name": "objectAddress",
244
+ "type": "address"
245
+ },
246
+ {
247
+ "internalType": "address",
248
+ "name": "initialOwner",
249
+ "type": "address"
250
+ },
251
+ {
252
+ "internalType": "bytes",
253
+ "name": "data",
254
+ "type": "bytes"
255
+ }
256
+ ],
257
+ "internalType": "struct IRegistry.ObjectInfo",
258
+ "name": "info",
259
+ "type": "tuple"
260
+ }
261
+ ],
262
+ "stateMutability": "view",
263
+ "type": "function"
264
+ },
265
+ {
266
+ "inputs": [],
267
+ "name": "getNftId",
268
+ "outputs": [
269
+ {
270
+ "internalType": "NftId",
271
+ "name": "",
272
+ "type": "uint96"
273
+ }
274
+ ],
275
+ "stateMutability": "view",
276
+ "type": "function"
277
+ },
278
+ {
279
+ "inputs": [],
280
+ "name": "getOwner",
281
+ "outputs": [
282
+ {
283
+ "internalType": "address",
284
+ "name": "",
285
+ "type": "address"
286
+ }
287
+ ],
288
+ "stateMutability": "view",
289
+ "type": "function"
290
+ },
291
+ {
292
+ "inputs": [],
293
+ "name": "getRegistry",
294
+ "outputs": [
295
+ {
296
+ "internalType": "contract IRegistry",
297
+ "name": "",
298
+ "type": "address"
299
+ }
300
+ ],
301
+ "stateMutability": "view",
302
+ "type": "function"
303
+ },
304
+ {
305
+ "inputs": [],
306
+ "name": "getRegistryAddress",
307
+ "outputs": [
308
+ {
309
+ "internalType": "address",
310
+ "name": "",
311
+ "type": "address"
312
+ }
313
+ ],
314
+ "stateMutability": "view",
315
+ "type": "function"
316
+ },
317
+ {
318
+ "inputs": [],
319
+ "name": "getVersion",
320
+ "outputs": [
321
+ {
322
+ "internalType": "Version",
323
+ "name": "",
324
+ "type": "uint24"
325
+ }
326
+ ],
327
+ "stateMutability": "pure",
328
+ "type": "function"
329
+ },
330
+ {
331
+ "inputs": [],
332
+ "name": "initializeERC165",
333
+ "outputs": [],
334
+ "stateMutability": "nonpayable",
335
+ "type": "function"
336
+ },
337
+ {
338
+ "inputs": [
339
+ {
340
+ "internalType": "address",
341
+ "name": "initialOwner",
342
+ "type": "address"
343
+ },
344
+ {
345
+ "internalType": "address",
346
+ "name": "registryAddress",
347
+ "type": "address"
348
+ }
349
+ ],
350
+ "name": "initializeNftOwnable",
351
+ "outputs": [],
352
+ "stateMutability": "nonpayable",
353
+ "type": "function"
354
+ },
355
+ {
356
+ "inputs": [
357
+ {
358
+ "internalType": "address",
359
+ "name": "registryAddress",
360
+ "type": "address"
361
+ },
362
+ {
363
+ "internalType": "NftId",
364
+ "name": "parentNftId",
365
+ "type": "uint96"
366
+ },
367
+ {
368
+ "internalType": "ObjectType",
369
+ "name": "objectType",
370
+ "type": "uint8"
371
+ },
372
+ {
373
+ "internalType": "bool",
374
+ "name": "isInterceptor",
375
+ "type": "bool"
376
+ },
377
+ {
378
+ "internalType": "address",
379
+ "name": "initialOwner",
380
+ "type": "address"
381
+ },
382
+ {
383
+ "internalType": "bytes",
384
+ "name": "registryData",
385
+ "type": "bytes"
386
+ }
387
+ ],
388
+ "name": "initializeRegisterable",
389
+ "outputs": [],
390
+ "stateMutability": "nonpayable",
391
+ "type": "function"
392
+ },
393
+ {
394
+ "inputs": [
395
+ {
396
+ "internalType": "address",
397
+ "name": "registryAddress",
398
+ "type": "address"
399
+ }
400
+ ],
401
+ "name": "initializeRegistryLinked",
402
+ "outputs": [],
403
+ "stateMutability": "nonpayable",
404
+ "type": "function"
405
+ },
406
+ {
407
+ "inputs": [
408
+ {
409
+ "internalType": "address",
410
+ "name": "registry",
411
+ "type": "address"
412
+ },
413
+ {
414
+ "internalType": "address",
415
+ "name": "authority",
416
+ "type": "address"
417
+ },
418
+ {
419
+ "internalType": "address",
420
+ "name": "initialOwner",
421
+ "type": "address"
422
+ }
423
+ ],
424
+ "name": "initializeService",
425
+ "outputs": [],
426
+ "stateMutability": "nonpayable",
427
+ "type": "function"
428
+ },
429
+ {
430
+ "inputs": [
431
+ {
432
+ "internalType": "address",
433
+ "name": "activatedBy",
434
+ "type": "address"
435
+ },
436
+ {
437
+ "internalType": "bytes",
438
+ "name": "data",
439
+ "type": "bytes"
440
+ }
441
+ ],
442
+ "name": "initializeVersionable",
443
+ "outputs": [],
444
+ "stateMutability": "nonpayable",
445
+ "type": "function"
446
+ },
447
+ {
448
+ "inputs": [],
449
+ "name": "isConsumingScheduledOp",
450
+ "outputs": [
451
+ {
452
+ "internalType": "bytes4",
453
+ "name": "",
454
+ "type": "bytes4"
455
+ }
456
+ ],
457
+ "stateMutability": "view",
458
+ "type": "function"
459
+ },
460
+ {
461
+ "inputs": [],
462
+ "name": "linkToRegisteredNftId",
463
+ "outputs": [],
464
+ "stateMutability": "nonpayable",
465
+ "type": "function"
466
+ },
467
+ {
468
+ "inputs": [
469
+ {
470
+ "internalType": "bytes4",
471
+ "name": "interfaceId",
472
+ "type": "bytes4"
473
+ }
474
+ ],
475
+ "name": "registerInterface",
476
+ "outputs": [],
477
+ "stateMutability": "nonpayable",
478
+ "type": "function"
479
+ },
480
+ {
481
+ "inputs": [
482
+ {
483
+ "internalType": "address",
484
+ "name": "newAuthority",
485
+ "type": "address"
486
+ }
487
+ ],
488
+ "name": "setAuthority",
489
+ "outputs": [],
490
+ "stateMutability": "nonpayable",
491
+ "type": "function"
492
+ },
493
+ {
494
+ "inputs": [
495
+ {
496
+ "internalType": "bytes4",
497
+ "name": "interfaceId",
498
+ "type": "bytes4"
499
+ }
500
+ ],
501
+ "name": "supportsInterface",
502
+ "outputs": [
503
+ {
504
+ "internalType": "bool",
505
+ "name": "",
506
+ "type": "bool"
507
+ }
508
+ ],
509
+ "stateMutability": "view",
510
+ "type": "function"
511
+ },
512
+ {
513
+ "inputs": [
514
+ {
515
+ "internalType": "bytes",
516
+ "name": "data",
517
+ "type": "bytes"
518
+ }
519
+ ],
520
+ "name": "upgradeVersionable",
521
+ "outputs": [],
522
+ "stateMutability": "nonpayable",
523
+ "type": "function"
524
+ }
525
+ ],
526
+ "bytecode": "0x60806040523480156200001157600080fd5b50604051620021c4380380620021c4833981016040819052620000349162000751565b6200003e62000055565b6200004c8360008362000109565b50505062000997565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000a65760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001065780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6200011362000363565b6200019e83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000157573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200017d91906200079b565b603c60008560405180602001604052806000815250620003b460201b60201c565b6001600160a01b03821615620001bf57620001b98262000453565b6200033a565b6000620001d46001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af415801562000235573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200025b9190620007c0565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015620002a1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002c79190620007e5565b905062000338816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200030c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003329190620007e5565b62000453565b505b6200034c634a531f3360e01b62000468565b6200035e63b68d180960e01b62000468565b505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff16620003b257604051631afcd79f60e31b815260040160405180910390fd5b565b620003be62000363565b620003ca828762000497565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d010000000000000000000000000086151502178155905060018101620004498382620008a7565b5050505050505050565b6200045d62000363565b620001068162000530565b6200047262000363565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b620004a162000363565b620004ac8162000545565b620004b662000661565b6001600160a01b038216620004de5760405163f17ef42d60e01b815260040160405180910390fd5b507f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0080546001600160601b03166c010000000000000000000000006001600160a01b0390931692909202919091179055565b6200053a62000363565b6200010681620006a9565b6200054f62000363565b806001600160a01b03163b6000036200058b5760405163fdeac91f60e01b81526001600160a01b03821660048201526024015b60405180910390fd5b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa92505050801562000608575060408051601f3d908101601f19168201909252620006059181019062000973565b60015b620006325760405163fdeac91f60e01b81526001600160a01b038216600482015260240162000582565b806200065d5760405163fdeac91f60e01b81526001600160a01b038316600482015260240162000582565b5050565b6200066b62000363565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b7ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a0080546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b80516001600160a01b03811681146200073457600080fd5b919050565b80516001600160601b03811681146200073457600080fd5b6000806000606084860312156200076757600080fd5b62000772846200071c565b9250620007826020850162000739565b915062000792604085016200071c565b90509250925092565b600060208284031215620007ae57600080fd5b620007b98262000739565b9392505050565b600060208284031215620007d357600080fd5b815160ff81168114620007b957600080fd5b600060208284031215620007f857600080fd5b620007b9826200071c565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200082e57607f821691505b6020821081036200084f57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200035e57600081815260208120601f850160051c810160208610156200087e5750805b601f850160051c820191505b818110156200089f578281556001016200088a565b505050505050565b81516001600160401b03811115620008c357620008c362000803565b620008db81620008d4845462000819565b8462000855565b602080601f831160018114620009135760008415620008fa5750858301515b600019600386901b1c1916600185901b1785556200089f565b600085815260208120601f198616915b82811015620009445788860151825594840194600190910190840162000923565b5085821015620009635787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200098657600080fd5b81518015158114620007b957600080fd5b61181d80620009a76000396000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c8063644c45e0116100c3578063a3f4df7e1161007c578063a3f4df7e14610307578063ada9652e1461033e578063b68d180914610353578063bf7e214f14610362578063f21de1e814610258578063f7c34ee01461038057600080fd5b8063644c45e01461027d578063675393bf146102a55780637a9e5e4b146102b8578063893d20e8146102cb5780638e32e979146102d35780638fb36037146102e657600080fd5b8063214cdb8011610115578063214cdb801461020457806327bb7a3314610217578063329d6e741461022a57806336fc697e1461023d57806349bb9e4b146102455780635ab1bd531461025857600080fd5b806301ffc9a7146101525780630d8e6e2c146101945780630fec111c146101b0578063138461e0146101c55780631eff4b22146101cf575b600080fd5b61017f6101603660046111de565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61019c610393565b60405162ffffff909116815260200161018b565b6101b861041d565b60405161018b9190611255565b6101cd6105cc565b005b6101f67f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161018b565b6101cd6102123660046111de565b6107d3565b6101cd6102253660046113ca565b610800565b6101cd610238366004611463565b61088c565b6101cd6109ee565b6101cd610253366004611498565b610a34565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161018b565b6000805160206117a8833981519152546040516001600160601b03909116815260200161018b565b6101cd6102b33660046114e8565b610b46565b6101cd6102c63660046114e8565b610c54565b610265610cee565b6101cd6102e1366004611505565b610e25565b6102ee61105e565b6040516001600160e01b0319909116815260200161018b565b6103316040518060400160405280600b81526020016a546573745365727669636560a81b81525081565b60405161018b9190611550565b6101f66000805160206117a883398151915281565b604051606e815260200161018b565b6000805160206117c8833981519152546001600160a01b0316610265565b6101cd61038e366004611563565b611096565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156103f4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610418919061159c565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b909104161515918101919091526001820180549192916060840191906104c8906115c1565b80601f01602080910402602001604051908101604052809291908181526020018280546104f4906115c1565b80156105415780601f1061051657610100808354040283529160200191610541565b820191906000526020600020905b81548152906001019060200180831161052457829003601f168201915b50505050508152505090506040518060e0016040528061055f600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016105b0610cee565b6001600160a01b03168152602001826060015181525091505090565b60006000805160206117a883398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561063b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061065f91906115fb565b156106905780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306106a36001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156106eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061070f91906115fb565b6107375760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610687565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa15801561078b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107af9190611618565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6107db61110d565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61080861110d565b6108128287611096565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016108828382611683565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6108ae610393565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156108ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109129190611743565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b900460ff16806109585750805467ffffffffffffffff808416911610155b156109765760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff191667ffffffffffffffff831617600160401b1781556109a183611158565b805460ff60401b1916815560405167ffffffffffffffff831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b6109f661110d565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff16600081158015610a7a5750825b905060008267ffffffffffffffff166001148015610a975750303b155b905081158015610aa5575080155b15610ac35760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610aed57845460ff60401b1916600160401b1785555b610af78787611158565b8315610b3d57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b610b4e61110d565b806001600160a01b03163b600003610b845760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610687565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015610bfe575060408051601f3d908101601f19168201909252610bfb918101906115fb565b60015b610c265760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610687565b80610c4f5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610687565b505b50565b33610c746000805160206117c8833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610caf5760405162d1953b60e31b81526001600160a01b0382166004820152602401610687565b816001600160a01b03163b600003610ce5576040516361798f2f60e11b81526001600160a01b0383166004820152602401610687565b610c4f82611160565b6000806000805160206117a883398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610d5e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d8291906115fb565b15610e0f576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610de5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e09919061176d565b91505090565b54600160601b90046001600160a01b0316919050565b610e2d61110d565b610ead83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e6f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e939190611618565b603c60008560405180602001604052806000815250610800565b6001600160a01b03821615610eca57610ec5826111c1565b611039565b6000610ede6001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015610f3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f62919061178a565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015610fa7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fcb919061176d565b9050611037816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561100e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611032919061176d565b6111c1565b505b611049634a531f3360e01b6107d3565b61105963b68d180960e01b6107d3565b505050565b6000805160206117c8833981519152805460009190600160a01b900460ff16611088576000610e09565b638fb3603760e01b91505090565b61109e61110d565b6110a781610b46565b6110af6109ee565b6001600160a01b0382166110d65760405163f17ef42d60e01b815260040160405180910390fd5b506000805160206117a883398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661115657604051631afcd79f60e31b815260040160405180910390fd5b565b61014d61110d565b6000805160206117c883398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6111c961110d565b610c51816111d561110d565b610c5181611160565b6000602082840312156111f057600080fd5b81356001600160e01b03198116811461120857600080fd5b9392505050565b6000815180845260005b8181101561123557602081850181015186830182015201611219565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516112be60c08401826001600160a01b03169052565b5060c083015160e0808401526112d861010084018261120f565b949350505050565b6001600160a01b0381168114610c5157600080fd5b6001600160601b0381168114610c5157600080fd5b60ff81168114610c5157600080fd5b8015158114610c5157600080fd5b634e487b7160e01b600052604160045260246000fd5b600082601f83011261134e57600080fd5b813567ffffffffffffffff8082111561136957611369611327565b604051601f8301601f19908116603f0116810190828211818310171561139157611391611327565b816040528381528660208588010111156113aa57600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060008060008060c087890312156113e357600080fd5b86356113ee816112e0565b955060208701356113fe816112f5565b9450604087013561140e8161130a565b9350606087013561141e81611319565b9250608087013561142e816112e0565b915060a087013567ffffffffffffffff81111561144a57600080fd5b61145689828a0161133d565b9150509295509295509295565b60006020828403121561147557600080fd5b813567ffffffffffffffff81111561148c57600080fd5b6112d88482850161133d565b600080604083850312156114ab57600080fd5b82356114b6816112e0565b9150602083013567ffffffffffffffff8111156114d257600080fd5b6114de8582860161133d565b9150509250929050565b6000602082840312156114fa57600080fd5b8135611208816112e0565b60008060006060848603121561151a57600080fd5b8335611525816112e0565b92506020840135611535816112e0565b91506040840135611545816112e0565b809150509250925092565b602081526000611208602083018461120f565b6000806040838503121561157657600080fd5b8235611581816112e0565b91506020830135611591816112e0565b809150509250929050565b6000602082840312156115ae57600080fd5b815162ffffff8116811461120857600080fd5b600181811c908216806115d557607f821691505b6020821081036115f557634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561160d57600080fd5b815161120881611319565b60006020828403121561162a57600080fd5b8151611208816112f5565b601f82111561105957600081815260208120601f850160051c8101602086101561165c5750805b601f850160051c820191505b8181101561167b57828155600101611668565b505050505050565b815167ffffffffffffffff81111561169d5761169d611327565b6116b1816116ab84546115c1565b84611635565b602080601f8311600181146116e657600084156116ce5750858301515b600019600386901b1c1916600185901b17855561167b565b600085815260208120601f198616915b82811015611715578886015182559484019460019091019084016116f6565b50858210156117335787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561175557600080fd5b815167ffffffffffffffff8116811461120857600080fd5b60006020828403121561177f57600080fd5b8151611208816112e0565b60006020828403121561179c57600080fd5b81516112088161130a56fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220c0144e7af80e833263a8edb556a2586ddd62bc150b3534ffbc0d40e9aaa0201364736f6c63430008140033",
527
+ "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061014d5760003560e01c8063644c45e0116100c3578063a3f4df7e1161007c578063a3f4df7e14610307578063ada9652e1461033e578063b68d180914610353578063bf7e214f14610362578063f21de1e814610258578063f7c34ee01461038057600080fd5b8063644c45e01461027d578063675393bf146102a55780637a9e5e4b146102b8578063893d20e8146102cb5780638e32e979146102d35780638fb36037146102e657600080fd5b8063214cdb8011610115578063214cdb801461020457806327bb7a3314610217578063329d6e741461022a57806336fc697e1461023d57806349bb9e4b146102455780635ab1bd531461025857600080fd5b806301ffc9a7146101525780630d8e6e2c146101945780630fec111c146101b0578063138461e0146101c55780631eff4b22146101cf575b600080fd5b61017f6101603660046111de565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61019c610393565b60405162ffffff909116815260200161018b565b6101b861041d565b60405161018b9190611255565b6101cd6105cc565b005b6101f67f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161018b565b6101cd6102123660046111de565b6107d3565b6101cd6102253660046113ca565b610800565b6101cd610238366004611463565b61088c565b6101cd6109ee565b6101cd610253366004611498565b610a34565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161018b565b6000805160206117a8833981519152546040516001600160601b03909116815260200161018b565b6101cd6102b33660046114e8565b610b46565b6101cd6102c63660046114e8565b610c54565b610265610cee565b6101cd6102e1366004611505565b610e25565b6102ee61105e565b6040516001600160e01b0319909116815260200161018b565b6103316040518060400160405280600b81526020016a546573745365727669636560a81b81525081565b60405161018b9190611550565b6101f66000805160206117a883398151915281565b604051606e815260200161018b565b6000805160206117c8833981519152546001600160a01b0316610265565b6101cd61038e366004611563565b611096565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156103f4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610418919061159c565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b909104161515918101919091526001820180549192916060840191906104c8906115c1565b80601f01602080910402602001604051908101604052809291908181526020018280546104f4906115c1565b80156105415780601f1061051657610100808354040283529160200191610541565b820191906000526020600020905b81548152906001019060200180831161052457829003601f168201915b50505050508152505090506040518060e0016040528061055f600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016105b0610cee565b6001600160a01b03168152602001826060015181525091505090565b60006000805160206117a883398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561063b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061065f91906115fb565b156106905780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306106a36001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156106eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061070f91906115fb565b6107375760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610687565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa15801561078b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107af9190611618565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6107db61110d565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61080861110d565b6108128287611096565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016108828382611683565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6108ae610393565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156108ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109129190611743565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b900460ff16806109585750805467ffffffffffffffff808416911610155b156109765760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff191667ffffffffffffffff831617600160401b1781556109a183611158565b805460ff60401b1916815560405167ffffffffffffffff831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b6109f661110d565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff16600081158015610a7a5750825b905060008267ffffffffffffffff166001148015610a975750303b155b905081158015610aa5575080155b15610ac35760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610aed57845460ff60401b1916600160401b1785555b610af78787611158565b8315610b3d57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b610b4e61110d565b806001600160a01b03163b600003610b845760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610687565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015610bfe575060408051601f3d908101601f19168201909252610bfb918101906115fb565b60015b610c265760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610687565b80610c4f5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610687565b505b50565b33610c746000805160206117c8833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610caf5760405162d1953b60e31b81526001600160a01b0382166004820152602401610687565b816001600160a01b03163b600003610ce5576040516361798f2f60e11b81526001600160a01b0383166004820152602401610687565b610c4f82611160565b6000806000805160206117a883398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610d5e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d8291906115fb565b15610e0f576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610de5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e09919061176d565b91505090565b54600160601b90046001600160a01b0316919050565b610e2d61110d565b610ead83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e6f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e939190611618565b603c60008560405180602001604052806000815250610800565b6001600160a01b03821615610eca57610ec5826111c1565b611039565b6000610ede6001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015610f3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f62919061178a565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015610fa7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fcb919061176d565b9050611037816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561100e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611032919061176d565b6111c1565b505b611049634a531f3360e01b6107d3565b61105963b68d180960e01b6107d3565b505050565b6000805160206117c8833981519152805460009190600160a01b900460ff16611088576000610e09565b638fb3603760e01b91505090565b61109e61110d565b6110a781610b46565b6110af6109ee565b6001600160a01b0382166110d65760405163f17ef42d60e01b815260040160405180910390fd5b506000805160206117a883398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661115657604051631afcd79f60e31b815260040160405180910390fd5b565b61014d61110d565b6000805160206117c883398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6111c961110d565b610c51816111d561110d565b610c5181611160565b6000602082840312156111f057600080fd5b81356001600160e01b03198116811461120857600080fd5b9392505050565b6000815180845260005b8181101561123557602081850181015186830182015201611219565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516112be60c08401826001600160a01b03169052565b5060c083015160e0808401526112d861010084018261120f565b949350505050565b6001600160a01b0381168114610c5157600080fd5b6001600160601b0381168114610c5157600080fd5b60ff81168114610c5157600080fd5b8015158114610c5157600080fd5b634e487b7160e01b600052604160045260246000fd5b600082601f83011261134e57600080fd5b813567ffffffffffffffff8082111561136957611369611327565b604051601f8301601f19908116603f0116810190828211818310171561139157611391611327565b816040528381528660208588010111156113aa57600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060008060008060c087890312156113e357600080fd5b86356113ee816112e0565b955060208701356113fe816112f5565b9450604087013561140e8161130a565b9350606087013561141e81611319565b9250608087013561142e816112e0565b915060a087013567ffffffffffffffff81111561144a57600080fd5b61145689828a0161133d565b9150509295509295509295565b60006020828403121561147557600080fd5b813567ffffffffffffffff81111561148c57600080fd5b6112d88482850161133d565b600080604083850312156114ab57600080fd5b82356114b6816112e0565b9150602083013567ffffffffffffffff8111156114d257600080fd5b6114de8582860161133d565b9150509250929050565b6000602082840312156114fa57600080fd5b8135611208816112e0565b60008060006060848603121561151a57600080fd5b8335611525816112e0565b92506020840135611535816112e0565b91506040840135611545816112e0565b809150509250925092565b602081526000611208602083018461120f565b6000806040838503121561157657600080fd5b8235611581816112e0565b91506020830135611591816112e0565b809150509250929050565b6000602082840312156115ae57600080fd5b815162ffffff8116811461120857600080fd5b600181811c908216806115d557607f821691505b6020821081036115f557634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561160d57600080fd5b815161120881611319565b60006020828403121561162a57600080fd5b8151611208816112f5565b601f82111561105957600081815260208120601f850160051c8101602086101561165c5750805b601f850160051c820191505b8181101561167b57828155600101611668565b505050505050565b815167ffffffffffffffff81111561169d5761169d611327565b6116b1816116ab84546115c1565b84611635565b602080601f8311600181146116e657600084156116ce5750858301515b600019600386901b1c1916600185901b17855561167b565b600085815260208120601f198616915b82811015611715578886015182559484019460019091019084016116f6565b50858210156117335787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561175557600080fd5b815167ffffffffffffffff8116811461120857600080fd5b60006020828403121561177f57600080fd5b8151611208816112e0565b60006020828403121561179c57600080fd5b81516112088161130a56fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220c0144e7af80e833263a8edb556a2586ddd62bc150b3534ffbc0d40e9aaa0201364736f6c63430008140033",
528
+ "linkReferences": {
529
+ "contracts/types/NftId.sol": {
530
+ "NftIdLib": [
531
+ {
532
+ "length": 20,
533
+ "start": 4008
534
+ },
535
+ {
536
+ "length": 20,
537
+ "start": 5835
538
+ }
539
+ ]
540
+ },
541
+ "contracts/types/Version.sol": {
542
+ "VersionLib": [
543
+ {
544
+ "length": 20,
545
+ "start": 3425
546
+ },
547
+ {
548
+ "length": 20,
549
+ "start": 4661
550
+ }
551
+ ],
552
+ "VersionPartLib": [
553
+ {
554
+ "length": 20,
555
+ "start": 506
556
+ },
557
+ {
558
+ "length": 20,
559
+ "start": 6315
560
+ }
561
+ ]
562
+ }
563
+ },
564
+ "deployedLinkReferences": {
565
+ "contracts/types/NftId.sol": {
566
+ "NftIdLib": [
567
+ {
568
+ "length": 20,
569
+ "start": 1537
570
+ },
571
+ {
572
+ "length": 20,
573
+ "start": 3364
574
+ }
575
+ ]
576
+ },
577
+ "contracts/types/Version.sol": {
578
+ "VersionLib": [
579
+ {
580
+ "length": 20,
581
+ "start": 954
582
+ },
583
+ {
584
+ "length": 20,
585
+ "start": 2190
586
+ }
587
+ ],
588
+ "VersionPartLib": [
589
+ {
590
+ "length": 20,
591
+ "start": 3844
592
+ }
593
+ ]
594
+ }
595
+ }
596
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/a217c5bb40d255ef67cb8b4d687de7f1.json"
4
+ }