@etherisc/gif-next 0.0.2-e922e07-736 → 0.0.2-e964d24-516

Sign up to get free protection for your applications and to get access to all the features.
Files changed (423) hide show
  1. package/README.md +6 -83
  2. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  3. package/artifacts/contracts/{components → distribution}/Distribution.sol/Distribution.json +129 -14
  4. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  5. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1556 -0
  6. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  7. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +780 -0
  8. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/{components → distribution}/IDistributionComponent.sol/IDistributionComponent.json +203 -14
  10. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  11. package/artifacts/contracts/{instance/service → distribution}/IDistributionService.sol/IDistributionService.json +110 -283
  12. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  13. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +68 -54
  14. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +1 -1
  15. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +5 -0
  16. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  17. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +309 -2078
  18. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  19. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +183 -76
  20. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  21. package/artifacts/contracts/instance/Instance.sol/Instance.json +434 -2823
  22. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  23. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +493 -129
  24. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
  25. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +124 -0
  26. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  27. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +406 -192
  28. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  29. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +224 -291
  30. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  31. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +45 -82
  32. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  33. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +2788 -0
  34. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
  35. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +8 -13
  36. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  37. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  38. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  39. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +44 -14
  40. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  41. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +38 -13
  42. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  43. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +56 -73
  44. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  45. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  46. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  47. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  48. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  49. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  50. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  51. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  52. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  53. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1288 -0
  54. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  55. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +696 -0
  56. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  57. package/artifacts/contracts/{instance/service → pool}/IBundleService.sol/IBundleService.json +291 -189
  58. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  59. package/artifacts/contracts/{components → pool}/IPoolComponent.sol/IPoolComponent.json +231 -165
  60. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  61. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1077 -0
  62. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  63. package/artifacts/contracts/{components → pool}/Pool.sol/Pool.json +160 -204
  64. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  65. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1622 -0
  66. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  67. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +708 -0
  68. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  69. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +918 -0
  70. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  71. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +648 -0
  72. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  73. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1376 -0
  74. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  75. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +748 -0
  76. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  77. package/artifacts/contracts/{instance/service/IClaimService.sol/IClaimService.json → product/IApplicationService.sol/IApplicationService.json} +184 -100
  78. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  79. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +743 -0
  80. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  81. package/artifacts/contracts/{instance/service → product}/IPolicyService.sol/IPolicyService.json +211 -100
  82. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  83. package/artifacts/contracts/{instance/service/IApplicationService.sol/IApplicationService.json → product/IPricingService.sol/IPricingService.json} +120 -166
  84. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  85. package/artifacts/contracts/{components → product}/IProductComponent.sol/IProductComponent.json +210 -21
  86. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  87. package/artifacts/contracts/{instance/service → product}/IProductService.sol/IProductService.json +86 -28
  88. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  89. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1281 -0
  90. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  91. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +740 -0
  92. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  93. package/artifacts/contracts/product/PricingService.sol/PricingService.json +1004 -0
  94. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  95. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +688 -0
  96. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  97. package/artifacts/contracts/{components → product}/Product.sol/Product.json +121 -22
  98. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
  99. package/artifacts/contracts/product/ProductService.sol/ProductService.json +864 -0
  100. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  101. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +640 -0
  102. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  103. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  104. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  105. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +19 -0
  106. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  107. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +5 -37
  108. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  109. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  110. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  111. package/artifacts/contracts/registry/Registry.sol/Registry.json +35 -16
  112. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +1 -1
  113. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +4 -4
  114. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  115. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +26 -53
  116. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  117. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +27 -40
  118. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
  119. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +30 -18
  120. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  121. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +14 -27
  122. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  123. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  124. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  125. package/artifacts/contracts/{components → shared}/Component.sol/Component.json +106 -7
  126. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  127. package/artifacts/contracts/{instance/base → shared}/ComponentService.sol/ComponentService.json +114 -35
  128. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  129. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  130. package/artifacts/contracts/{components → shared}/IComponent.sol/IComponent.json +196 -7
  131. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  132. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +0 -13
  133. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  134. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +69 -9
  135. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  136. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +0 -13
  137. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  138. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -13
  139. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  140. package/artifacts/contracts/shared/IService.sol/IService.json +85 -27
  141. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  142. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  143. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +8 -21
  144. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  145. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +80 -26
  146. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  147. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +20 -33
  148. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  149. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +8 -21
  150. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  151. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  152. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  153. package/artifacts/contracts/shared/Service.sol/Service.json +91 -28
  154. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  155. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +24 -6
  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/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  160. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +523 -0
  161. package/artifacts/contracts/staking/StakeingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  162. package/artifacts/contracts/staking/StakeingServiceManager.sol/StakingServiceManager.json +628 -0
  163. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  164. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +767 -0
  165. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  166. package/artifacts/contracts/{types → type}/AddressSet.sol/LibAddressSet.json +3 -3
  167. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  168. package/artifacts/contracts/type/Amount.sol/AmountLib.json +281 -0
  169. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  170. package/artifacts/contracts/{types → type}/Blocknumber.sol/BlocknumberLib.json +3 -3
  171. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  172. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  173. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  174. package/artifacts/contracts/{types → type}/DistributorType.sol/DistributorTypeLib.json +5 -5
  175. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  176. package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
  177. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  178. package/artifacts/contracts/{types → type}/Key32.sol/Key32Lib.json +3 -3
  179. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  180. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +166 -0
  181. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  182. package/artifacts/contracts/{types → type}/NftIdSet.sol/LibNftIdSet.json +3 -3
  183. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  184. package/artifacts/contracts/{types → type}/ObjectType.sol/ObjectTypeLib.json +3 -3
  185. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  186. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  187. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  188. package/artifacts/contracts/{types → type}/Referral.sol/ReferralLib.json +5 -5
  189. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  190. package/artifacts/contracts/{types → type}/RiskId.sol/RiskIdLib.json +5 -5
  191. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  192. package/artifacts/contracts/{types → type}/RoleId.sol/RoleIdLib.json +5 -5
  193. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  194. package/artifacts/contracts/{types → type}/Seconds.sol/SecondsLib.json +3 -3
  195. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  196. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  197. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  198. package/artifacts/contracts/{types → type}/Timestamp.sol/TimestampLib.json +20 -7
  199. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  200. package/artifacts/contracts/{types → type}/UFixed.sol/MathLib.json +3 -3
  201. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  202. package/artifacts/contracts/{types → type}/UFixed.sol/UFixedLib.json +3 -3
  203. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  204. package/artifacts/contracts/{types → type}/Version.sol/VersionLib.json +3 -3
  205. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  206. package/artifacts/contracts/{types → type}/Version.sol/VersionPartLib.json +3 -3
  207. package/contracts/{components → distribution}/Distribution.sol +21 -16
  208. package/contracts/distribution/DistributionService.sol +348 -0
  209. package/contracts/{instance/service → distribution}/DistributionServiceManager.sol +5 -5
  210. package/contracts/{components → distribution}/IDistributionComponent.sol +7 -7
  211. package/contracts/{instance/service → distribution}/IDistributionService.sol +19 -30
  212. package/contracts/instance/BundleManager.sol +13 -12
  213. package/contracts/instance/Cloneable.sol +7 -2
  214. package/contracts/instance/IInstance.sol +48 -63
  215. package/contracts/instance/IInstanceService.sol +31 -17
  216. package/contracts/instance/Instance.sol +131 -193
  217. package/contracts/instance/InstanceAccessManager.sol +405 -161
  218. package/contracts/instance/InstanceAuthorizationsLib.sol +308 -0
  219. package/contracts/instance/InstanceReader.sol +101 -26
  220. package/contracts/instance/InstanceService.sol +173 -354
  221. package/contracts/instance/InstanceServiceManager.sol +1 -1
  222. package/contracts/instance/InstanceStore.sol +211 -0
  223. package/contracts/instance/ObjectManager.sol +9 -11
  224. package/contracts/instance/base/IKeyValueStore.sol +5 -5
  225. package/contracts/instance/base/ILifecycle.sol +3 -3
  226. package/contracts/instance/base/KeyValueStore.sol +18 -41
  227. package/contracts/instance/base/Lifecycle.sol +27 -7
  228. package/contracts/instance/module/IAccess.sol +23 -16
  229. package/contracts/instance/module/IBundle.sol +10 -8
  230. package/contracts/instance/module/IComponents.sol +41 -0
  231. package/contracts/instance/module/IDistribution.sol +7 -6
  232. package/contracts/instance/module/IPolicy.sol +19 -14
  233. package/contracts/instance/module/IRisk.sol +1 -1
  234. package/contracts/instance/module/ISetup.sol +5 -18
  235. package/contracts/instance/module/ITreasury.sol +2 -2
  236. package/contracts/pool/BundleService.sol +382 -0
  237. package/contracts/{instance/service → pool}/BundleServiceManager.sol +5 -5
  238. package/contracts/pool/IBundleService.sol +118 -0
  239. package/contracts/{components → pool}/IPoolComponent.sol +19 -56
  240. package/contracts/pool/IPoolService.sol +114 -0
  241. package/contracts/{components → pool}/Pool.sol +62 -138
  242. package/contracts/pool/PoolService.sol +403 -0
  243. package/contracts/{instance/service → pool}/PoolServiceManager.sol +5 -5
  244. package/contracts/product/ApplicationService.sol +186 -0
  245. package/contracts/{instance/service → product}/ApplicationServiceManager.sol +2 -2
  246. package/contracts/product/ClaimService.sol +437 -0
  247. package/contracts/{instance/service → product}/ClaimServiceManager.sol +2 -2
  248. package/contracts/{instance/service → product}/IApplicationService.sol +14 -34
  249. package/contracts/product/IClaimService.sol +90 -0
  250. package/contracts/{instance/service → product}/IPolicyService.sol +34 -26
  251. package/contracts/product/IPricingService.sol +37 -0
  252. package/contracts/{components → product}/IProductComponent.sol +11 -10
  253. package/contracts/{instance/service → product}/IProductService.sol +10 -10
  254. package/contracts/product/PolicyService.sol +376 -0
  255. package/contracts/{instance/service → product}/PolicyServiceManager.sol +5 -5
  256. package/contracts/product/PricingService.sol +275 -0
  257. package/contracts/product/PricingServiceManager.sol +51 -0
  258. package/contracts/{components → product}/Product.sol +160 -74
  259. package/contracts/product/ProductService.sol +210 -0
  260. package/contracts/{instance/service → product}/ProductServiceManager.sol +5 -5
  261. package/contracts/registry/ChainNft.sol +8 -0
  262. package/contracts/registry/IRegistry.sol +6 -4
  263. package/contracts/registry/IRegistryService.sol +6 -7
  264. package/contracts/registry/ITransferInterceptor.sol +1 -0
  265. package/contracts/registry/Registry.sol +26 -23
  266. package/contracts/registry/RegistryAccessManager.sol +1 -1
  267. package/contracts/registry/RegistryService.sol +33 -31
  268. package/contracts/registry/RegistryServiceManager.sol +0 -2
  269. package/contracts/registry/ReleaseManager.sol +24 -22
  270. package/contracts/registry/TokenRegistry.sol +2 -2
  271. package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +13 -0
  272. package/contracts/{components → shared}/Component.sol +68 -18
  273. package/contracts/shared/ComponentService.sol +150 -0
  274. package/contracts/{components → shared}/IComponent.sol +28 -6
  275. package/contracts/shared/INftOwnable.sol +1 -1
  276. package/contracts/shared/IPolicyHolder.sol +24 -10
  277. package/contracts/shared/IRegistryLinked.sol +0 -1
  278. package/contracts/shared/IService.sol +6 -6
  279. package/contracts/shared/IVersionable.sol +1 -1
  280. package/contracts/shared/NftOwnable.sol +1 -3
  281. package/contracts/shared/PolicyHolder.sol +31 -18
  282. package/contracts/shared/ProxyManager.sol +3 -3
  283. package/contracts/shared/Registerable.sol +12 -11
  284. package/contracts/shared/RegistryLinked.sol +0 -5
  285. package/contracts/shared/Service.sol +23 -9
  286. package/contracts/shared/TokenHandler.sol +14 -6
  287. package/contracts/shared/Versionable.sol +1 -1
  288. package/contracts/staking/IStakingService.sol +102 -0
  289. package/contracts/staking/StakeingServiceManager.sol +37 -0
  290. package/contracts/staking/StakingService.sol +166 -0
  291. package/contracts/type/Amount.sol +109 -0
  292. package/contracts/{types → type}/Blocknumber.sol +1 -0
  293. package/contracts/{types → type}/ClaimId.sol +25 -2
  294. package/contracts/{types → type}/Fee.sol +17 -8
  295. package/contracts/{types → type}/NftId.sol +8 -0
  296. package/contracts/{types → type}/NftIdSet.sol +1 -1
  297. package/contracts/{types → type}/ObjectType.sol +10 -5
  298. package/contracts/{types → type}/PayoutId.sol +33 -5
  299. package/contracts/{types → type}/RoleId.sol +6 -4
  300. package/contracts/{types → type}/StateId.sol +7 -2
  301. package/contracts/{types → type}/Timestamp.sol +6 -0
  302. package/contracts/{types → type}/UFixed.sol +1 -0
  303. package/contracts/{types → type}/Version.sol +1 -0
  304. package/package.json +1 -1
  305. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  306. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  307. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
  308. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  309. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  310. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  311. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  312. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  313. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
  314. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +0 -4
  315. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +0 -968
  316. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +0 -4
  317. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +0 -665
  318. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  319. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1096
  320. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  321. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -661
  322. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +0 -4
  323. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +0 -754
  324. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +0 -4
  325. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +0 -637
  326. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  327. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -1724
  328. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  329. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -801
  330. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +0 -4
  331. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  332. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +0 -4
  333. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  334. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  335. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  336. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +0 -347
  337. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  338. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  339. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1021
  340. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  341. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -689
  342. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  343. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -727
  344. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  345. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -649
  346. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  347. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -777
  348. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  349. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -649
  350. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  351. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  352. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  353. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  354. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  355. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -383
  356. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  357. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  358. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  359. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -521
  360. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  361. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  362. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  363. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  364. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  365. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -104
  366. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  367. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  368. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  369. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  370. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  371. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  372. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +0 -4
  373. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +0 -100
  374. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  375. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  376. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  377. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  378. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  379. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  380. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  381. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  382. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  383. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  384. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +0 -4
  385. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +0 -100
  386. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  387. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  388. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  389. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +0 -4
  390. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  391. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  392. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  393. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  394. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  395. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  396. package/contracts/instance/base/ComponentService.sol +0 -134
  397. package/contracts/instance/service/ApplicationService.sol +0 -349
  398. package/contracts/instance/service/BundleService.sol +0 -299
  399. package/contracts/instance/service/ClaimService.sol +0 -151
  400. package/contracts/instance/service/DistributionService.sol +0 -450
  401. package/contracts/instance/service/IBundleService.sol +0 -55
  402. package/contracts/instance/service/IClaimService.sol +0 -61
  403. package/contracts/instance/service/IPoolService.sol +0 -20
  404. package/contracts/instance/service/PolicyService.sol +0 -394
  405. package/contracts/instance/service/PoolService.sol +0 -109
  406. package/contracts/instance/service/ProductService.sol +0 -233
  407. package/contracts/shared/ContractDeployerLib.sol +0 -72
  408. package/contracts/test/TestFee.sol +0 -25
  409. package/contracts/test/TestRegisterable.sol +0 -18
  410. package/contracts/test/TestRoleId.sol +0 -14
  411. package/contracts/test/TestService.sol +0 -25
  412. package/contracts/test/TestToken.sol +0 -26
  413. package/contracts/test/TestVersion.sol +0 -44
  414. package/contracts/test/TestVersionable.sol +0 -17
  415. package/contracts/test/Usdc.sol +0 -26
  416. package/contracts/types/ChainId.sol +0 -38
  417. package/contracts/types/NumberId.sol +0 -52
  418. /package/contracts/{types → type}/AddressSet.sol +0 -0
  419. /package/contracts/{types → type}/DistributorType.sol +0 -0
  420. /package/contracts/{types → type}/Key32.sol +0 -0
  421. /package/contracts/{types → type}/Referral.sol +0 -0
  422. /package/contracts/{types → type}/RiskId.sol +0 -0
  423. /package/contracts/{types → type}/Seconds.sol +0 -0
@@ -1,116 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "TestRoleId",
4
- "sourceName": "contracts/test/TestRoleId.sol",
5
- "abi": [
6
- {
7
- "inputs": [],
8
- "name": "getPoolOwnerRole",
9
- "outputs": [
10
- {
11
- "internalType": "RoleId",
12
- "name": "",
13
- "type": "uint64"
14
- }
15
- ],
16
- "stateMutability": "pure",
17
- "type": "function"
18
- },
19
- {
20
- "inputs": [],
21
- "name": "getPoolOwnerRoleName",
22
- "outputs": [
23
- {
24
- "internalType": "string",
25
- "name": "",
26
- "type": "string"
27
- }
28
- ],
29
- "stateMutability": "pure",
30
- "type": "function"
31
- },
32
- {
33
- "inputs": [],
34
- "name": "getProductOwnerRole",
35
- "outputs": [
36
- {
37
- "internalType": "RoleId",
38
- "name": "",
39
- "type": "uint64"
40
- }
41
- ],
42
- "stateMutability": "pure",
43
- "type": "function"
44
- },
45
- {
46
- "inputs": [],
47
- "name": "getProductOwnerRoleName",
48
- "outputs": [
49
- {
50
- "internalType": "string",
51
- "name": "",
52
- "type": "string"
53
- }
54
- ],
55
- "stateMutability": "pure",
56
- "type": "function"
57
- },
58
- {
59
- "inputs": [
60
- {
61
- "internalType": "uint256",
62
- "name": "roleNum",
63
- "type": "uint256"
64
- }
65
- ],
66
- "name": "getRole",
67
- "outputs": [
68
- {
69
- "internalType": "RoleId",
70
- "name": "",
71
- "type": "uint64"
72
- }
73
- ],
74
- "stateMutability": "pure",
75
- "type": "function"
76
- }
77
- ],
78
- "bytecode": "0x608060405234801561001057600080fd5b5061032e806100206000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80631fa8a7301461005c5780635312fdc214610082578063775a404814610095578063b844f20e1461009d578063c4ce6e5b146100b2575b600080fd5b6100646100ba565b60405167ffffffffffffffff90911681526020015b60405180910390f35b610064610090366004610260565b6100c9565b610064610146565b6100a5610150565b6040516100799190610279565b6100a561017f565b60006100c46101ab565b905090565b6040516368aebf7b60e01b81526004810182905260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af415801561011c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061014091906102c7565b92915050565b60006100c4610224565b60606100c460408051808201909152601081526f50726f647563744f776e6572526f6c6560801b602082015290565b60606100c460408051808201909152600d81526c506f6f6c4f776e6572526f6c6560981b602082015290565b6040516368aebf7b60e01b815261012c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015610200573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100c491906102c7565b6040516368aebf7b60e01b8152610190600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016101e3565b60006020828403121561027257600080fd5b5035919050565b600060208083528351808285015260005b818110156102a65785810183015185820160400152820161028a565b506000604082860101526040601f19601f8301168501019250505092915050565b6000602082840312156102d957600080fd5b815167ffffffffffffffff811681146102f157600080fd5b939250505056fea264697066735822122002606735f1504d2afdda3834a08af6a4e1ec7c2f49ae620f6c3c1baa9ad40c5564736f6c63430008140033",
79
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100575760003560e01c80631fa8a7301461005c5780635312fdc214610082578063775a404814610095578063b844f20e1461009d578063c4ce6e5b146100b2575b600080fd5b6100646100ba565b60405167ffffffffffffffff90911681526020015b60405180910390f35b610064610090366004610260565b6100c9565b610064610146565b6100a5610150565b6040516100799190610279565b6100a561017f565b60006100c46101ab565b905090565b6040516368aebf7b60e01b81526004810182905260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af415801561011c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061014091906102c7565b92915050565b60006100c4610224565b60606100c460408051808201909152601081526f50726f647563744f776e6572526f6c6560801b602082015290565b60606100c460408051808201909152600d81526c506f6f6c4f776e6572526f6c6560981b602082015290565b6040516368aebf7b60e01b815261012c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015610200573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100c491906102c7565b6040516368aebf7b60e01b8152610190600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016101e3565b60006020828403121561027257600080fd5b5035919050565b600060208083528351808285015260005b818110156102a65785810183015185820160400152820161028a565b506000604082860101526040601f19601f8301168501019250505092915050565b6000602082840312156102d957600080fd5b815167ffffffffffffffff811681146102f157600080fd5b939250505056fea264697066735822122002606735f1504d2afdda3834a08af6a4e1ec7c2f49ae620f6c3c1baa9ad40c5564736f6c63430008140033",
80
- "linkReferences": {
81
- "contracts/types/RoleId.sol": {
82
- "RoleIdLib": [
83
- {
84
- "length": 20,
85
- "start": 258
86
- },
87
- {
88
- "length": 20,
89
- "start": 485
90
- },
91
- {
92
- "length": 20,
93
- "start": 606
94
- }
95
- ]
96
- }
97
- },
98
- "deployedLinkReferences": {
99
- "contracts/types/RoleId.sol": {
100
- "RoleIdLib": [
101
- {
102
- "length": 20,
103
- "start": 226
104
- },
105
- {
106
- "length": 20,
107
- "start": 453
108
- },
109
- {
110
- "length": 20,
111
- "start": 574
112
- }
113
- ]
114
- }
115
- }
116
- }
@@ -1,4 +0,0 @@
1
- {
2
- "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/6de31a9fa359724de841ac23a6f4e434.json"
4
- }
@@ -1,521 +0,0 @@
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": "caller",
32
- "type": "address"
33
- }
34
- ],
35
- "name": "ErrorIServiceCallerUnknown",
36
- "type": "error"
37
- },
38
- {
39
- "inputs": [
40
- {
41
- "internalType": "NftId",
42
- "name": "nftId",
43
- "type": "uint96"
44
- }
45
- ],
46
- "name": "ErrorNftOwnableAlreadyLinked",
47
- "type": "error"
48
- },
49
- {
50
- "inputs": [
51
- {
52
- "internalType": "address",
53
- "name": "contractAddress",
54
- "type": "address"
55
- }
56
- ],
57
- "name": "ErrorNftOwnableContractNotRegistered",
58
- "type": "error"
59
- },
60
- {
61
- "inputs": [],
62
- "name": "ErrorNftOwnableInitialOwnerZero",
63
- "type": "error"
64
- },
65
- {
66
- "inputs": [
67
- {
68
- "internalType": "address",
69
- "name": "account",
70
- "type": "address"
71
- }
72
- ],
73
- "name": "ErrorNftOwnableNotOwner",
74
- "type": "error"
75
- },
76
- {
77
- "inputs": [
78
- {
79
- "internalType": "address",
80
- "name": "registryAddress",
81
- "type": "address"
82
- }
83
- ],
84
- "name": "ErrorNotRegistry",
85
- "type": "error"
86
- },
87
- {
88
- "inputs": [],
89
- "name": "InvalidInitialization",
90
- "type": "error"
91
- },
92
- {
93
- "inputs": [],
94
- "name": "NotInitializing",
95
- "type": "error"
96
- },
97
- {
98
- "anonymous": false,
99
- "inputs": [
100
- {
101
- "indexed": false,
102
- "internalType": "uint64",
103
- "name": "version",
104
- "type": "uint64"
105
- }
106
- ],
107
- "name": "Initialized",
108
- "type": "event"
109
- },
110
- {
111
- "inputs": [],
112
- "name": "NAME",
113
- "outputs": [
114
- {
115
- "internalType": "string",
116
- "name": "",
117
- "type": "string"
118
- }
119
- ],
120
- "stateMutability": "view",
121
- "type": "function"
122
- },
123
- {
124
- "inputs": [],
125
- "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
126
- "outputs": [
127
- {
128
- "internalType": "bytes32",
129
- "name": "",
130
- "type": "bytes32"
131
- }
132
- ],
133
- "stateMutability": "view",
134
- "type": "function"
135
- },
136
- {
137
- "inputs": [],
138
- "name": "REGISTERABLE_LOCATION_V1",
139
- "outputs": [
140
- {
141
- "internalType": "bytes32",
142
- "name": "",
143
- "type": "bytes32"
144
- }
145
- ],
146
- "stateMutability": "view",
147
- "type": "function"
148
- },
149
- {
150
- "inputs": [],
151
- "name": "getDomain",
152
- "outputs": [
153
- {
154
- "internalType": "ObjectType",
155
- "name": "",
156
- "type": "uint8"
157
- }
158
- ],
159
- "stateMutability": "pure",
160
- "type": "function"
161
- },
162
- {
163
- "inputs": [],
164
- "name": "getInitialInfo",
165
- "outputs": [
166
- {
167
- "components": [
168
- {
169
- "internalType": "NftId",
170
- "name": "nftId",
171
- "type": "uint96"
172
- },
173
- {
174
- "internalType": "NftId",
175
- "name": "parentNftId",
176
- "type": "uint96"
177
- },
178
- {
179
- "internalType": "ObjectType",
180
- "name": "objectType",
181
- "type": "uint8"
182
- },
183
- {
184
- "internalType": "bool",
185
- "name": "isInterceptor",
186
- "type": "bool"
187
- },
188
- {
189
- "internalType": "address",
190
- "name": "objectAddress",
191
- "type": "address"
192
- },
193
- {
194
- "internalType": "address",
195
- "name": "initialOwner",
196
- "type": "address"
197
- },
198
- {
199
- "internalType": "bytes",
200
- "name": "data",
201
- "type": "bytes"
202
- }
203
- ],
204
- "internalType": "struct IRegistry.ObjectInfo",
205
- "name": "info",
206
- "type": "tuple"
207
- }
208
- ],
209
- "stateMutability": "view",
210
- "type": "function"
211
- },
212
- {
213
- "inputs": [],
214
- "name": "getMajorVersion",
215
- "outputs": [
216
- {
217
- "internalType": "VersionPart",
218
- "name": "majorVersion",
219
- "type": "uint8"
220
- }
221
- ],
222
- "stateMutability": "view",
223
- "type": "function"
224
- },
225
- {
226
- "inputs": [],
227
- "name": "getNftId",
228
- "outputs": [
229
- {
230
- "internalType": "NftId",
231
- "name": "",
232
- "type": "uint96"
233
- }
234
- ],
235
- "stateMutability": "view",
236
- "type": "function"
237
- },
238
- {
239
- "inputs": [],
240
- "name": "getOwner",
241
- "outputs": [
242
- {
243
- "internalType": "address",
244
- "name": "",
245
- "type": "address"
246
- }
247
- ],
248
- "stateMutability": "view",
249
- "type": "function"
250
- },
251
- {
252
- "inputs": [],
253
- "name": "getRegistry",
254
- "outputs": [
255
- {
256
- "internalType": "contract IRegistry",
257
- "name": "",
258
- "type": "address"
259
- }
260
- ],
261
- "stateMutability": "view",
262
- "type": "function"
263
- },
264
- {
265
- "inputs": [],
266
- "name": "getRegistryAddress",
267
- "outputs": [
268
- {
269
- "internalType": "address",
270
- "name": "",
271
- "type": "address"
272
- }
273
- ],
274
- "stateMutability": "view",
275
- "type": "function"
276
- },
277
- {
278
- "inputs": [],
279
- "name": "getVersion",
280
- "outputs": [
281
- {
282
- "internalType": "Version",
283
- "name": "",
284
- "type": "uint24"
285
- }
286
- ],
287
- "stateMutability": "pure",
288
- "type": "function"
289
- },
290
- {
291
- "inputs": [],
292
- "name": "initializeERC165",
293
- "outputs": [],
294
- "stateMutability": "nonpayable",
295
- "type": "function"
296
- },
297
- {
298
- "inputs": [
299
- {
300
- "internalType": "address",
301
- "name": "initialOwner",
302
- "type": "address"
303
- },
304
- {
305
- "internalType": "address",
306
- "name": "registryAddress",
307
- "type": "address"
308
- }
309
- ],
310
- "name": "initializeNftOwnable",
311
- "outputs": [],
312
- "stateMutability": "nonpayable",
313
- "type": "function"
314
- },
315
- {
316
- "inputs": [
317
- {
318
- "internalType": "address",
319
- "name": "registryAddress",
320
- "type": "address"
321
- },
322
- {
323
- "internalType": "NftId",
324
- "name": "parentNftId",
325
- "type": "uint96"
326
- },
327
- {
328
- "internalType": "ObjectType",
329
- "name": "objectType",
330
- "type": "uint8"
331
- },
332
- {
333
- "internalType": "bool",
334
- "name": "isInterceptor",
335
- "type": "bool"
336
- },
337
- {
338
- "internalType": "address",
339
- "name": "initialOwner",
340
- "type": "address"
341
- },
342
- {
343
- "internalType": "bytes",
344
- "name": "registryData",
345
- "type": "bytes"
346
- }
347
- ],
348
- "name": "initializeRegisterable",
349
- "outputs": [],
350
- "stateMutability": "nonpayable",
351
- "type": "function"
352
- },
353
- {
354
- "inputs": [
355
- {
356
- "internalType": "address",
357
- "name": "registryAddress",
358
- "type": "address"
359
- }
360
- ],
361
- "name": "initializeRegistryLinked",
362
- "outputs": [],
363
- "stateMutability": "nonpayable",
364
- "type": "function"
365
- },
366
- {
367
- "inputs": [
368
- {
369
- "internalType": "address",
370
- "name": "registry",
371
- "type": "address"
372
- },
373
- {
374
- "internalType": "address",
375
- "name": "initialOwner",
376
- "type": "address"
377
- }
378
- ],
379
- "name": "initializeService",
380
- "outputs": [],
381
- "stateMutability": "nonpayable",
382
- "type": "function"
383
- },
384
- {
385
- "inputs": [
386
- {
387
- "internalType": "address",
388
- "name": "activatedBy",
389
- "type": "address"
390
- },
391
- {
392
- "internalType": "bytes",
393
- "name": "data",
394
- "type": "bytes"
395
- }
396
- ],
397
- "name": "initializeVersionable",
398
- "outputs": [],
399
- "stateMutability": "nonpayable",
400
- "type": "function"
401
- },
402
- {
403
- "inputs": [],
404
- "name": "linkToRegisteredNftId",
405
- "outputs": [],
406
- "stateMutability": "nonpayable",
407
- "type": "function"
408
- },
409
- {
410
- "inputs": [
411
- {
412
- "internalType": "bytes4",
413
- "name": "interfaceId",
414
- "type": "bytes4"
415
- }
416
- ],
417
- "name": "registerInterface",
418
- "outputs": [],
419
- "stateMutability": "nonpayable",
420
- "type": "function"
421
- },
422
- {
423
- "inputs": [
424
- {
425
- "internalType": "bytes4",
426
- "name": "interfaceId",
427
- "type": "bytes4"
428
- }
429
- ],
430
- "name": "supportsInterface",
431
- "outputs": [
432
- {
433
- "internalType": "bool",
434
- "name": "",
435
- "type": "bool"
436
- }
437
- ],
438
- "stateMutability": "view",
439
- "type": "function"
440
- },
441
- {
442
- "inputs": [
443
- {
444
- "internalType": "bytes",
445
- "name": "data",
446
- "type": "bytes"
447
- }
448
- ],
449
- "name": "upgradeVersionable",
450
- "outputs": [],
451
- "stateMutability": "nonpayable",
452
- "type": "function"
453
- }
454
- ],
455
- "bytecode": "0x60806040523480156200001157600080fd5b5060405162001bf238038062001bf28339810160408190526200003491620004ff565b6200003e62000053565b6200004a838262000107565b50505062000703565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000a45760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001045780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b62000111620001b2565b6200019c82836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000155573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200017b919062000549565b603c600085604051806020016040528060008152506200020360201b60201c565b620001ae637b6a51fd60e01b620002a2565b5050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff166200020157604051631afcd79f60e31b815260040160405180910390fd5b565b6200020d620001b2565b620002198287620002d1565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d01000000000000000000000000008615150217815590506001810162000298838262000613565b5050505050505050565b620002ac620001b2565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b620002db620001b2565b620002e6816200036a565b620002f062000482565b6001600160a01b038216620003185760405163f17ef42d60e01b815260040160405180910390fd5b507f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0080546001600160601b03166c010000000000000000000000006001600160a01b0390931692909202919091179055565b62000374620001b2565b806001600160a01b03163b600003620003b05760405163fdeac91f60e01b81526001600160a01b03821660048201526024015b60405180910390fd5b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156200042d575060408051601f3d908101601f191682019092526200042a91810190620006df565b60015b620004575760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620003a7565b80620001ae5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620003a7565b6200048c620001b2565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b80516001600160a01b0381168114620004e257600080fd5b919050565b80516001600160601b0381168114620004e257600080fd5b6000806000606084860312156200051557600080fd5b6200052084620004ca565b92506200053060208501620004e7565b91506200054060408501620004ca565b90509250925092565b6000602082840312156200055c57600080fd5b6200056782620004e7565b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200059957607f821691505b602082108103620005ba57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200060e57600081815260208120601f850160051c81016020861015620005e95750805b601f850160051c820191505b818110156200060a57828155600101620005f5565b5050505b505050565b81516001600160401b038111156200062f576200062f6200056e565b620006478162000640845462000584565b84620005c0565b602080601f8311600181146200067f5760008415620006665750858301515b600019600386901b1c1916600185901b1785556200060a565b600085815260208120601f198616915b82811015620006b0578886015182559484019460019091019084016200068f565b5085821015620006cf5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215620006f257600080fd5b815180151581146200056757600080fd5b6114df80620007136000396000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c80635ab1bd53116100b8578063ada9652e1161007c578063ada9652e146102e1578063b68d1809146102f6578063cde749f41461030b578063ea86657214610313578063f21de1e814610242578063f7c34ee01461032657600080fd5b80635ab1bd5314610242578063644c45e014610267578063675393bf1461028f578063893d20e8146102a2578063a3f4df7e146102aa57600080fd5b8063214cdb80116100ff578063214cdb80146101ee57806327bb7a3314610201578063329d6e741461021457806336fc697e1461022757806349bb9e4b1461022f57600080fd5b806301ffc9a71461013c5780630d8e6e2c1461017e5780630fec111c1461019a578063138461e0146101af5780631eff4b22146101b9575b600080fd5b61016961014a366004610f0a565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610186610339565b60405162ffffff9091168152602001610175565b6101a26103c3565b6040516101759190610f81565b6101b7610572565b005b6101e07f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610175565b6101b76101fc366004610f0a565b610779565b6101b761020f3660046110f6565b6107a6565b6101b761022236600461118f565b610832565b6101b7610994565b6101b761023d3660046111c4565b6109da565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610175565b60008051602061148a833981519152546040516001600160601b039091168152602001610175565b6101b761029d366004611214565b610aec565b61024f610bfa565b6102d46040518060400160405280600b81526020016a546573745365727669636560a81b81525081565b6040516101759190611231565b6101e060008051602061148a83398151915281565b606e5b60405160ff9091168152602001610175565b6102f9610d31565b6101b7610321366004611244565b610da8565b6101b7610334366004611244565b610e40565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561039a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103be919061127d565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b9091041615159181019190915260018201805491929160608401919061046e906112a2565b80601f016020809104026020016040519081016040528092919081815260200182805461049a906112a2565b80156104e75780601f106104bc576101008083540402835291602001916104e7565b820191906000526020600020905b8154815290600101906020018083116104ca57829003601f168201915b50505050508152505090506040518060e00160405280610505600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610556610bfa565b6001600160a01b03168152602001826060015181525091505090565b600060008051602061148a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156105e1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060591906112dc565b156106365780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306106496001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610691573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b591906112dc565b6106dd5760405163b9304b0d60e01b81526001600160a01b038216600482015260240161062d565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610731573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075591906112f9565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b610781610eb7565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6107ae610eb7565b6107b88287610e40565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016108288382611365565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610854610339565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610894573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108b89190611425565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b900460ff16806108fe5750805467ffffffffffffffff808416911610155b1561091c5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff191667ffffffffffffffff831617600160401b17815561094783610f02565b805460ff60401b1916815560405167ffffffffffffffff831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b61099c610eb7565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff16600081158015610a205750825b905060008267ffffffffffffffff166001148015610a3d5750303b155b905081158015610a4b575080155b15610a695760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610a9357845460ff60401b1916600160401b1785555b610a9d8787610f02565b8315610ae357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b610af4610eb7565b806001600160a01b03163b600003610b2a5760405163fdeac91f60e01b81526001600160a01b038216600482015260240161062d565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015610ba4575060408051601f3d908101601f19168201909252610ba1918101906112dc565b60015b610bcc5760405163fdeac91f60e01b81526001600160a01b038216600482015260240161062d565b80610bf55760405163fdeac91f60e01b81526001600160a01b038316600482015260240161062d565b505b50565b60008060008051602061148a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610c6a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c8e91906112dc565b15610d1b576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610cf1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d15919061144f565b91505090565b54600160601b90046001600160a01b0316919050565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015610d84573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103be919061146c565b610db0610eb7565b610e3082836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610df2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e1691906112f9565b603c600085604051806020016040528060008152506107a6565b610bf5637b6a51fd60e01b610779565b610e48610eb7565b610e5181610aec565b610e59610994565b6001600160a01b038216610e805760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061148a83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16610f0057604051631afcd79f60e31b815260040160405180910390fd5b565b610137610eb7565b600060208284031215610f1c57600080fd5b81356001600160e01b031981168114610f3457600080fd5b9392505050565b6000815180845260005b81811015610f6157602081850181015186830182015201610f45565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151610fea60c08401826001600160a01b03169052565b5060c083015160e080840152611004610100840182610f3b565b949350505050565b6001600160a01b0381168114610bf757600080fd5b6001600160601b0381168114610bf757600080fd5b60ff81168114610bf757600080fd5b8015158114610bf757600080fd5b634e487b7160e01b600052604160045260246000fd5b600082601f83011261107a57600080fd5b813567ffffffffffffffff8082111561109557611095611053565b604051601f8301601f19908116603f011681019082821181831017156110bd576110bd611053565b816040528381528660208588010111156110d657600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060008060008060c0878903121561110f57600080fd5b863561111a8161100c565b9550602087013561112a81611021565b9450604087013561113a81611036565b9350606087013561114a81611045565b9250608087013561115a8161100c565b915060a087013567ffffffffffffffff81111561117657600080fd5b61118289828a01611069565b9150509295509295509295565b6000602082840312156111a157600080fd5b813567ffffffffffffffff8111156111b857600080fd5b61100484828501611069565b600080604083850312156111d757600080fd5b82356111e28161100c565b9150602083013567ffffffffffffffff8111156111fe57600080fd5b61120a85828601611069565b9150509250929050565b60006020828403121561122657600080fd5b8135610f348161100c565b602081526000610f346020830184610f3b565b6000806040838503121561125757600080fd5b82356112628161100c565b915060208301356112728161100c565b809150509250929050565b60006020828403121561128f57600080fd5b815162ffffff81168114610f3457600080fd5b600181811c908216806112b657607f821691505b6020821081036112d657634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156112ee57600080fd5b8151610f3481611045565b60006020828403121561130b57600080fd5b8151610f3481611021565b601f82111561136057600081815260208120601f850160051c8101602086101561133d5750805b601f850160051c820191505b8181101561135c57828155600101611349565b5050505b505050565b815167ffffffffffffffff81111561137f5761137f611053565b6113938161138d84546112a2565b84611316565b602080601f8311600181146113c857600084156113b05750858301515b600019600386901b1c1916600185901b17855561135c565b600085815260208120601f198616915b828110156113f7578886015182559484019460019091019084016113d8565b50858210156114155787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561143757600080fd5b815167ffffffffffffffff81168114610f3457600080fd5b60006020828403121561146157600080fd5b8151610f348161100c565b60006020828403121561147e57600080fd5b8151610f348161103656fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a2646970667358221220cdee5b4e09423681d15f6baf14457e980470fc7b4462d774f2e683a6e9b3bb3964736f6c63430008140033",
456
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101375760003560e01c80635ab1bd53116100b8578063ada9652e1161007c578063ada9652e146102e1578063b68d1809146102f6578063cde749f41461030b578063ea86657214610313578063f21de1e814610242578063f7c34ee01461032657600080fd5b80635ab1bd5314610242578063644c45e014610267578063675393bf1461028f578063893d20e8146102a2578063a3f4df7e146102aa57600080fd5b8063214cdb80116100ff578063214cdb80146101ee57806327bb7a3314610201578063329d6e741461021457806336fc697e1461022757806349bb9e4b1461022f57600080fd5b806301ffc9a71461013c5780630d8e6e2c1461017e5780630fec111c1461019a578063138461e0146101af5780631eff4b22146101b9575b600080fd5b61016961014a366004610f0a565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610186610339565b60405162ffffff9091168152602001610175565b6101a26103c3565b6040516101759190610f81565b6101b7610572565b005b6101e07f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610175565b6101b76101fc366004610f0a565b610779565b6101b761020f3660046110f6565b6107a6565b6101b761022236600461118f565b610832565b6101b7610994565b6101b761023d3660046111c4565b6109da565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610175565b60008051602061148a833981519152546040516001600160601b039091168152602001610175565b6101b761029d366004611214565b610aec565b61024f610bfa565b6102d46040518060400160405280600b81526020016a546573745365727669636560a81b81525081565b6040516101759190611231565b6101e060008051602061148a83398151915281565b606e5b60405160ff9091168152602001610175565b6102f9610d31565b6101b7610321366004611244565b610da8565b6101b7610334366004611244565b610e40565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561039a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103be919061127d565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b9091041615159181019190915260018201805491929160608401919061046e906112a2565b80601f016020809104026020016040519081016040528092919081815260200182805461049a906112a2565b80156104e75780601f106104bc576101008083540402835291602001916104e7565b820191906000526020600020905b8154815290600101906020018083116104ca57829003601f168201915b50505050508152505090506040518060e00160405280610505600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610556610bfa565b6001600160a01b03168152602001826060015181525091505090565b600060008051602061148a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156105e1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060591906112dc565b156106365780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306106496001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610691573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b591906112dc565b6106dd5760405163b9304b0d60e01b81526001600160a01b038216600482015260240161062d565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610731573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075591906112f9565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b610781610eb7565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6107ae610eb7565b6107b88287610e40565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016108288382611365565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610854610339565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610894573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108b89190611425565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b900460ff16806108fe5750805467ffffffffffffffff808416911610155b1561091c5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff191667ffffffffffffffff831617600160401b17815561094783610f02565b805460ff60401b1916815560405167ffffffffffffffff831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b61099c610eb7565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff16600081158015610a205750825b905060008267ffffffffffffffff166001148015610a3d5750303b155b905081158015610a4b575080155b15610a695760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610a9357845460ff60401b1916600160401b1785555b610a9d8787610f02565b8315610ae357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b610af4610eb7565b806001600160a01b03163b600003610b2a5760405163fdeac91f60e01b81526001600160a01b038216600482015260240161062d565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015610ba4575060408051601f3d908101601f19168201909252610ba1918101906112dc565b60015b610bcc5760405163fdeac91f60e01b81526001600160a01b038216600482015260240161062d565b80610bf55760405163fdeac91f60e01b81526001600160a01b038316600482015260240161062d565b505b50565b60008060008051602061148a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610c6a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c8e91906112dc565b15610d1b576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610cf1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d15919061144f565b91505090565b54600160601b90046001600160a01b0316919050565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015610d84573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103be919061146c565b610db0610eb7565b610e3082836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610df2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e1691906112f9565b603c600085604051806020016040528060008152506107a6565b610bf5637b6a51fd60e01b610779565b610e48610eb7565b610e5181610aec565b610e59610994565b6001600160a01b038216610e805760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061148a83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16610f0057604051631afcd79f60e31b815260040160405180910390fd5b565b610137610eb7565b600060208284031215610f1c57600080fd5b81356001600160e01b031981168114610f3457600080fd5b9392505050565b6000815180845260005b81811015610f6157602081850181015186830182015201610f45565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151610fea60c08401826001600160a01b03169052565b5060c083015160e080840152611004610100840182610f3b565b949350505050565b6001600160a01b0381168114610bf757600080fd5b6001600160601b0381168114610bf757600080fd5b60ff81168114610bf757600080fd5b8015158114610bf757600080fd5b634e487b7160e01b600052604160045260246000fd5b600082601f83011261107a57600080fd5b813567ffffffffffffffff8082111561109557611095611053565b604051601f8301601f19908116603f011681019082821181831017156110bd576110bd611053565b816040528381528660208588010111156110d657600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060008060008060c0878903121561110f57600080fd5b863561111a8161100c565b9550602087013561112a81611021565b9450604087013561113a81611036565b9350606087013561114a81611045565b9250608087013561115a8161100c565b915060a087013567ffffffffffffffff81111561117657600080fd5b61118289828a01611069565b9150509295509295509295565b6000602082840312156111a157600080fd5b813567ffffffffffffffff8111156111b857600080fd5b61100484828501611069565b600080604083850312156111d757600080fd5b82356111e28161100c565b9150602083013567ffffffffffffffff8111156111fe57600080fd5b61120a85828601611069565b9150509250929050565b60006020828403121561122657600080fd5b8135610f348161100c565b602081526000610f346020830184610f3b565b6000806040838503121561125757600080fd5b82356112628161100c565b915060208301356112728161100c565b809150509250929050565b60006020828403121561128f57600080fd5b815162ffffff81168114610f3457600080fd5b600181811c908216806112b657607f821691505b6020821081036112d657634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156112ee57600080fd5b8151610f3481611045565b60006020828403121561130b57600080fd5b8151610f3481611021565b601f82111561136057600081815260208120601f850160051c8101602086101561133d5750805b601f850160051c820191505b8181101561135c57828155600101611349565b5050505b505050565b815167ffffffffffffffff81111561137f5761137f611053565b6113938161138d84546112a2565b84611316565b602080601f8311600181146113c857600084156113b05750858301515b600019600386901b1c1916600185901b17855561135c565b600085815260208120601f198616915b828110156113f7578886015182559484019460019091019084016113d8565b50858210156114155787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561143757600080fd5b815167ffffffffffffffff81168114610f3457600080fd5b60006020828403121561146157600080fd5b8151610f348161100c565b60006020828403121561147e57600080fd5b8151610f348161103656fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a2646970667358221220cdee5b4e09423681d15f6baf14457e980470fc7b4462d774f2e683a6e9b3bb3964736f6c63430008140033",
457
- "linkReferences": {
458
- "contracts/types/NftId.sol": {
459
- "NftIdLib": [
460
- {
461
- "length": 20,
462
- "start": 3258
463
- },
464
- {
465
- "length": 20,
466
- "start": 4931
467
- }
468
- ]
469
- },
470
- "contracts/types/Version.sol": {
471
- "VersionLib": [
472
- {
473
- "length": 20,
474
- "start": 2675
475
- },
476
- {
477
- "length": 20,
478
- "start": 3911
479
- }
480
- ],
481
- "VersionPartLib": [
482
- {
483
- "length": 20,
484
- "start": 5213
485
- }
486
- ]
487
- }
488
- },
489
- "deployedLinkReferences": {
490
- "contracts/types/NftId.sol": {
491
- "NftIdLib": [
492
- {
493
- "length": 20,
494
- "start": 1447
495
- },
496
- {
497
- "length": 20,
498
- "start": 3120
499
- }
500
- ]
501
- },
502
- "contracts/types/Version.sol": {
503
- "VersionLib": [
504
- {
505
- "length": 20,
506
- "start": 864
507
- },
508
- {
509
- "length": 20,
510
- "start": 2100
511
- }
512
- ],
513
- "VersionPartLib": [
514
- {
515
- "length": 20,
516
- "start": 3402
517
- }
518
- ]
519
- }
520
- }
521
- }