@etherisc/gif-next 0.0.2-d02cb80-460 → 0.0.2-d086e6d-456

Sign up to get free protection for your applications and to get access to all the features.
Files changed (381) hide show
  1. package/README.md +78 -1
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +842 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +853 -296
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/components/{BaseComponent.sol/BaseComponent.json → IComponent.sol/IComponent.json} +225 -89
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +848 -31
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +846 -57
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +682 -9
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +725 -316
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +524 -240
  18. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +1 -1
  19. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +15 -15
  20. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  21. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +69 -79
  22. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +1 -1
  23. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +5 -0
  24. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  25. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1038 -395
  26. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +290 -220
  28. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  29. package/artifacts/contracts/instance/Instance.sol/Instance.json +1038 -784
  30. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  31. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +432 -186
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  33. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +137 -270
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +448 -418
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +303 -138
  38. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
  39. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +11 -40
  40. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  41. package/artifacts/contracts/instance/base/{ComponentServiceBase.sol/ComponentServiceBase.json → ComponentService.sol/ComponentService.json} +278 -157
  42. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  44. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  45. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +40 -10
  46. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  47. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
  48. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  49. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +61 -67
  50. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  51. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  52. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  53. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  54. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  55. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  56. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  57. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  58. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  59. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +1058 -0
  60. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  61. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +665 -0
  62. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +1 -1
  63. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +625 -290
  64. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  65. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +356 -79
  66. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  67. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +844 -0
  68. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  69. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +637 -0
  70. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1385 -247
  72. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  73. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +450 -73
  74. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  75. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +646 -0
  76. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +1 -1
  77. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +278 -264
  78. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  79. package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IClaimService.sol/IClaimService.json} +227 -194
  80. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +791 -134
  82. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  83. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +216 -250
  84. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +502 -133
  86. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  87. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +95 -157
  88. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +1 -1
  89. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +474 -347
  90. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  91. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +321 -96
  92. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  93. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +801 -255
  94. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  95. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +307 -78
  96. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  97. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +308 -209
  98. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
  99. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +305 -76
  100. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  101. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  102. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  103. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +244 -133
  104. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  105. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +158 -215
  106. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  107. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  108. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  109. package/artifacts/contracts/registry/Registry.sol/Registry.json +257 -235
  110. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  111. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  112. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  113. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +202 -318
  114. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  115. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +298 -145
  116. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  117. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
  118. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  119. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +141 -53
  120. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  121. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  122. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  123. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  124. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +40 -29
  125. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  126. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
  127. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  128. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +21 -34
  129. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  130. package/artifacts/contracts/{experiment/inheritance/IB.sol/IB.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +18 -20
  131. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  132. package/artifacts/contracts/shared/IService.sol/IService.json +95 -157
  133. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  134. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  135. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  136. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +120 -27
  137. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  138. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
  139. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  140. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +294 -61
  141. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  142. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +129 -51
  143. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  144. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
  145. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  146. package/artifacts/contracts/shared/Service.sol/Service.json +195 -148
  147. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  148. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
  149. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  150. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  151. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  152. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  153. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  154. package/artifacts/contracts/test/TestFee.sol/TestFee.json +2 -2
  155. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  156. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +129 -51
  157. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  158. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +6 -6
  159. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  160. package/artifacts/contracts/test/TestService.sol/TestService.json +213 -202
  161. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  162. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  163. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  164. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  165. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -190
  166. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  167. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  168. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +4 -0
  169. package/artifacts/contracts/types/Amount.sol/AmountLib.json +161 -0
  170. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  171. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  172. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  173. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  174. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -0
  175. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  176. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
  177. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  178. package/artifacts/contracts/types/Fee.sol/FeeLib.json +40 -9
  179. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  180. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  181. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  182. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
  183. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  184. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +2 -2
  185. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  186. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  187. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  188. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  189. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +100 -0
  190. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  191. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
  192. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  193. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  194. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  195. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  196. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  197. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  198. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  199. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  200. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +25 -7
  202. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  203. package/artifacts/contracts/types/UFixed.sol/MathLib.json +2 -2
  204. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  205. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
  206. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  207. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  208. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  209. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
  210. package/contracts/components/Component.sol +253 -0
  211. package/contracts/components/Distribution.sol +200 -83
  212. package/contracts/components/IComponent.sol +76 -0
  213. package/contracts/components/IDistributionComponent.sol +44 -17
  214. package/contracts/components/IPoolComponent.sol +88 -41
  215. package/contracts/components/IProductComponent.sol +10 -5
  216. package/contracts/components/Pool.sol +217 -185
  217. package/contracts/components/Product.sol +125 -124
  218. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +2 -12
  219. package/contracts/instance/BundleManager.sol +14 -16
  220. package/contracts/instance/Cloneable.sol +7 -2
  221. package/contracts/instance/IInstance.sol +52 -14
  222. package/contracts/instance/IInstanceService.sol +39 -9
  223. package/contracts/instance/Instance.sol +126 -75
  224. package/contracts/instance/InstanceAccessManager.sol +383 -166
  225. package/contracts/instance/InstanceReader.sol +10 -34
  226. package/contracts/instance/InstanceService.sol +312 -128
  227. package/contracts/instance/InstanceServiceManager.sol +6 -9
  228. package/contracts/instance/ObjectManager.sol +10 -29
  229. package/contracts/instance/base/ComponentService.sol +136 -0
  230. package/contracts/instance/base/KeyValueStore.sol +13 -5
  231. package/contracts/instance/base/Lifecycle.sol +11 -2
  232. package/contracts/instance/module/IAccess.sol +23 -17
  233. package/contracts/instance/module/IBundle.sol +8 -5
  234. package/contracts/instance/module/IComponents.sol +41 -0
  235. package/contracts/instance/module/IDistribution.sol +2 -0
  236. package/contracts/instance/module/IPolicy.sol +30 -3
  237. package/contracts/instance/module/ISetup.sol +7 -20
  238. package/contracts/instance/service/ApplicationService.sol +350 -0
  239. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  240. package/contracts/instance/service/BundleService.sol +239 -68
  241. package/contracts/instance/service/BundleServiceManager.sol +6 -9
  242. package/contracts/instance/service/ClaimService.sol +151 -0
  243. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  244. package/contracts/instance/service/DistributionService.sol +367 -50
  245. package/contracts/instance/service/DistributionServiceManager.sol +7 -10
  246. package/contracts/instance/service/IApplicationService.sol +82 -0
  247. package/contracts/instance/service/IBundleService.sol +67 -19
  248. package/contracts/instance/service/IClaimService.sol +61 -0
  249. package/contracts/instance/service/IDistributionService.sol +86 -0
  250. package/contracts/instance/service/IPolicyService.sol +34 -49
  251. package/contracts/instance/service/IPoolService.sol +82 -3
  252. package/contracts/instance/service/PolicyService.sol +199 -347
  253. package/contracts/instance/service/PolicyServiceManager.sol +2 -2
  254. package/contracts/instance/service/PoolService.sol +264 -45
  255. package/contracts/instance/service/PoolServiceManager.sol +6 -9
  256. package/contracts/instance/service/ProductService.sol +93 -56
  257. package/contracts/instance/service/ProductServiceManager.sol +2 -2
  258. package/contracts/registry/ChainNft.sol +9 -1
  259. package/contracts/registry/IRegistry.sol +39 -19
  260. package/contracts/registry/IRegistryService.sol +31 -13
  261. package/contracts/registry/ITransferInterceptor.sol +1 -0
  262. package/contracts/registry/Registry.sol +243 -224
  263. package/contracts/registry/RegistryAccessManager.sol +216 -0
  264. package/contracts/registry/RegistryService.sol +100 -173
  265. package/contracts/registry/RegistryServiceManager.sol +21 -39
  266. package/contracts/registry/ReleaseManager.sol +322 -0
  267. package/contracts/registry/TokenRegistry.sol +22 -17
  268. package/contracts/shared/ERC165.sol +14 -12
  269. package/contracts/shared/INftOwnable.sol +11 -10
  270. package/contracts/shared/IPolicyHolder.sol +26 -0
  271. package/contracts/shared/IRegisterable.sol +4 -6
  272. package/contracts/shared/IRegistryLinked.sol +12 -0
  273. package/contracts/shared/IService.sol +8 -2
  274. package/contracts/shared/IVersionable.sol +4 -47
  275. package/contracts/shared/NftOwnable.sol +66 -80
  276. package/contracts/shared/PolicyHolder.sol +81 -0
  277. package/contracts/shared/ProxyManager.sol +100 -25
  278. package/contracts/shared/Registerable.sol +16 -32
  279. package/contracts/shared/RegistryLinked.sol +48 -0
  280. package/contracts/shared/Service.sol +30 -22
  281. package/contracts/shared/TokenHandler.sol +11 -5
  282. package/contracts/shared/Versionable.sol +4 -92
  283. package/contracts/test/TestRegisterable.sol +1 -1
  284. package/contracts/test/TestService.sol +4 -3
  285. package/contracts/types/Amount.sol +60 -0
  286. package/contracts/types/Blocknumber.sol +1 -0
  287. package/contracts/types/ClaimId.sol +52 -0
  288. package/contracts/types/DistributorType.sol +2 -2
  289. package/contracts/types/Fee.sol +13 -5
  290. package/contracts/types/NftId.sol +8 -0
  291. package/contracts/types/ObjectType.sol +10 -5
  292. package/contracts/types/PayoutId.sol +54 -0
  293. package/contracts/types/Referral.sol +4 -0
  294. package/contracts/types/RoleId.sol +19 -15
  295. package/contracts/types/Seconds.sol +54 -0
  296. package/contracts/types/StateId.sol +1 -0
  297. package/contracts/types/Timestamp.sol +13 -13
  298. package/contracts/types/UFixed.sol +1 -0
  299. package/contracts/types/Version.sol +1 -0
  300. package/package.json +3 -3
  301. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  302. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  303. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -384
  304. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  305. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  306. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  307. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  308. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  309. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  310. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  311. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  312. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  313. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  314. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  315. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  316. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  317. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  318. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  319. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  320. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  321. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  322. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  323. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  324. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  325. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  326. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  327. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  328. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  329. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  330. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  331. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  332. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  333. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  334. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  335. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  336. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  337. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  338. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  339. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  340. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  341. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  342. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  343. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  344. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  345. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  346. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.json +0 -448
  347. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  348. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +0 -763
  349. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  350. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  351. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  352. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  353. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  354. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  355. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  356. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
  357. package/contracts/components/BaseComponent.sol +0 -145
  358. package/contracts/components/IBaseComponent.sol +0 -32
  359. package/contracts/experiment/cloning/Cloner.sol +0 -47
  360. package/contracts/experiment/errors/Require.sol +0 -38
  361. package/contracts/experiment/errors/Revert.sol +0 -44
  362. package/contracts/experiment/inheritance/A.sol +0 -53
  363. package/contracts/experiment/inheritance/B.sol +0 -28
  364. package/contracts/experiment/inheritance/C.sol +0 -34
  365. package/contracts/experiment/inheritance/IA.sol +0 -13
  366. package/contracts/experiment/inheritance/IB.sol +0 -10
  367. package/contracts/experiment/inheritance/IC.sol +0 -12
  368. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  369. package/contracts/experiment/statemachine/ISM.sol +0 -25
  370. package/contracts/experiment/statemachine/SM.sol +0 -57
  371. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  372. package/contracts/experiment/types/TypeA.sol +0 -47
  373. package/contracts/experiment/types/TypeB.sol +0 -29
  374. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  375. package/contracts/instance/IInstanceBase.sol +0 -26
  376. package/contracts/instance/InstanceBase.sol +0 -41
  377. package/contracts/instance/base/ComponentServiceBase.sol +0 -72
  378. package/contracts/instance/base/IInstanceBase.sol +0 -23
  379. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  380. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  381. package/contracts/shared/RegisterableUpgradable.sol +0 -16
@@ -0,0 +1,844 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "ClaimService",
4
+ "sourceName": "contracts/instance/service/ClaimService.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "caller",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "address",
48
+ "name": "component",
49
+ "type": "address"
50
+ },
51
+ {
52
+ "internalType": "NftId",
53
+ "name": "nftId",
54
+ "type": "uint96"
55
+ }
56
+ ],
57
+ "name": "ErrorComponentServiceAlreadyRegistered",
58
+ "type": "error"
59
+ },
60
+ {
61
+ "inputs": [
62
+ {
63
+ "internalType": "address",
64
+ "name": "component",
65
+ "type": "address"
66
+ }
67
+ ],
68
+ "name": "ErrorComponentServiceComponentLocked",
69
+ "type": "error"
70
+ },
71
+ {
72
+ "inputs": [
73
+ {
74
+ "internalType": "NftId",
75
+ "name": "instanceNftId",
76
+ "type": "uint96"
77
+ },
78
+ {
79
+ "internalType": "RoleId",
80
+ "name": "requiredRole",
81
+ "type": "uint64"
82
+ },
83
+ {
84
+ "internalType": "address",
85
+ "name": "sender",
86
+ "type": "address"
87
+ }
88
+ ],
89
+ "name": "ErrorComponentServiceExpectedRoleMissing",
90
+ "type": "error"
91
+ },
92
+ {
93
+ "inputs": [
94
+ {
95
+ "internalType": "address",
96
+ "name": "component",
97
+ "type": "address"
98
+ },
99
+ {
100
+ "internalType": "ObjectType",
101
+ "name": "requiredType",
102
+ "type": "uint8"
103
+ },
104
+ {
105
+ "internalType": "ObjectType",
106
+ "name": "componentType",
107
+ "type": "uint8"
108
+ }
109
+ ],
110
+ "name": "ErrorComponentServiceInvalidType",
111
+ "type": "error"
112
+ },
113
+ {
114
+ "inputs": [
115
+ {
116
+ "internalType": "address",
117
+ "name": "component",
118
+ "type": "address"
119
+ }
120
+ ],
121
+ "name": "ErrorComponentServiceNotComponent",
122
+ "type": "error"
123
+ },
124
+ {
125
+ "inputs": [
126
+ {
127
+ "internalType": "address",
128
+ "name": "component",
129
+ "type": "address"
130
+ },
131
+ {
132
+ "internalType": "address",
133
+ "name": "initialOwner",
134
+ "type": "address"
135
+ },
136
+ {
137
+ "internalType": "address",
138
+ "name": "sender",
139
+ "type": "address"
140
+ }
141
+ ],
142
+ "name": "ErrorComponentServiceSenderNotOwner",
143
+ "type": "error"
144
+ },
145
+ {
146
+ "inputs": [
147
+ {
148
+ "internalType": "address",
149
+ "name": "caller",
150
+ "type": "address"
151
+ }
152
+ ],
153
+ "name": "ErrorIServiceCallerUnknown",
154
+ "type": "error"
155
+ },
156
+ {
157
+ "inputs": [
158
+ {
159
+ "internalType": "NftId",
160
+ "name": "nftId",
161
+ "type": "uint96"
162
+ }
163
+ ],
164
+ "name": "ErrorNftOwnableAlreadyLinked",
165
+ "type": "error"
166
+ },
167
+ {
168
+ "inputs": [
169
+ {
170
+ "internalType": "address",
171
+ "name": "contractAddress",
172
+ "type": "address"
173
+ }
174
+ ],
175
+ "name": "ErrorNftOwnableContractNotRegistered",
176
+ "type": "error"
177
+ },
178
+ {
179
+ "inputs": [],
180
+ "name": "ErrorNftOwnableInitialOwnerZero",
181
+ "type": "error"
182
+ },
183
+ {
184
+ "inputs": [
185
+ {
186
+ "internalType": "address",
187
+ "name": "account",
188
+ "type": "address"
189
+ }
190
+ ],
191
+ "name": "ErrorNftOwnableNotOwner",
192
+ "type": "error"
193
+ },
194
+ {
195
+ "inputs": [
196
+ {
197
+ "internalType": "address",
198
+ "name": "registryAddress",
199
+ "type": "address"
200
+ }
201
+ ],
202
+ "name": "ErrorNotRegistry",
203
+ "type": "error"
204
+ },
205
+ {
206
+ "inputs": [],
207
+ "name": "InvalidInitialization",
208
+ "type": "error"
209
+ },
210
+ {
211
+ "inputs": [],
212
+ "name": "NotInitializing",
213
+ "type": "error"
214
+ },
215
+ {
216
+ "anonymous": false,
217
+ "inputs": [
218
+ {
219
+ "indexed": false,
220
+ "internalType": "address",
221
+ "name": "authority",
222
+ "type": "address"
223
+ }
224
+ ],
225
+ "name": "AuthorityUpdated",
226
+ "type": "event"
227
+ },
228
+ {
229
+ "anonymous": false,
230
+ "inputs": [
231
+ {
232
+ "indexed": false,
233
+ "internalType": "uint64",
234
+ "name": "version",
235
+ "type": "uint64"
236
+ }
237
+ ],
238
+ "name": "Initialized",
239
+ "type": "event"
240
+ },
241
+ {
242
+ "inputs": [],
243
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
244
+ "outputs": [
245
+ {
246
+ "internalType": "bytes32",
247
+ "name": "",
248
+ "type": "bytes32"
249
+ }
250
+ ],
251
+ "stateMutability": "view",
252
+ "type": "function"
253
+ },
254
+ {
255
+ "inputs": [],
256
+ "name": "REGISTERABLE_LOCATION_V1",
257
+ "outputs": [
258
+ {
259
+ "internalType": "bytes32",
260
+ "name": "",
261
+ "type": "bytes32"
262
+ }
263
+ ],
264
+ "stateMutability": "view",
265
+ "type": "function"
266
+ },
267
+ {
268
+ "inputs": [],
269
+ "name": "authority",
270
+ "outputs": [
271
+ {
272
+ "internalType": "address",
273
+ "name": "",
274
+ "type": "address"
275
+ }
276
+ ],
277
+ "stateMutability": "view",
278
+ "type": "function"
279
+ },
280
+ {
281
+ "inputs": [
282
+ {
283
+ "internalType": "NftId",
284
+ "name": "policyNftId",
285
+ "type": "uint96"
286
+ },
287
+ {
288
+ "internalType": "ClaimId",
289
+ "name": "claimId",
290
+ "type": "uint16"
291
+ }
292
+ ],
293
+ "name": "closeClaim",
294
+ "outputs": [],
295
+ "stateMutability": "nonpayable",
296
+ "type": "function"
297
+ },
298
+ {
299
+ "inputs": [
300
+ {
301
+ "internalType": "NftId",
302
+ "name": "policyNftId",
303
+ "type": "uint96"
304
+ },
305
+ {
306
+ "internalType": "ClaimId",
307
+ "name": "claimId",
308
+ "type": "uint16"
309
+ },
310
+ {
311
+ "internalType": "uint256",
312
+ "name": "claimAmount",
313
+ "type": "uint256"
314
+ }
315
+ ],
316
+ "name": "confirmClaim",
317
+ "outputs": [],
318
+ "stateMutability": "nonpayable",
319
+ "type": "function"
320
+ },
321
+ {
322
+ "inputs": [
323
+ {
324
+ "internalType": "NftId",
325
+ "name": "policyNftId",
326
+ "type": "uint96"
327
+ },
328
+ {
329
+ "internalType": "uint256",
330
+ "name": "claimAmount",
331
+ "type": "uint256"
332
+ },
333
+ {
334
+ "internalType": "bytes",
335
+ "name": "claimData",
336
+ "type": "bytes"
337
+ }
338
+ ],
339
+ "name": "createClaim",
340
+ "outputs": [
341
+ {
342
+ "internalType": "ClaimId",
343
+ "name": "",
344
+ "type": "uint16"
345
+ }
346
+ ],
347
+ "stateMutability": "nonpayable",
348
+ "type": "function"
349
+ },
350
+ {
351
+ "inputs": [
352
+ {
353
+ "internalType": "NftId",
354
+ "name": "policyNftId",
355
+ "type": "uint96"
356
+ },
357
+ {
358
+ "internalType": "ClaimId",
359
+ "name": "claimId",
360
+ "type": "uint16"
361
+ },
362
+ {
363
+ "internalType": "uint256",
364
+ "name": "payoutAmount",
365
+ "type": "uint256"
366
+ },
367
+ {
368
+ "internalType": "bytes",
369
+ "name": "payoutData",
370
+ "type": "bytes"
371
+ }
372
+ ],
373
+ "name": "createPayout",
374
+ "outputs": [
375
+ {
376
+ "internalType": "PayoutId",
377
+ "name": "payoutId",
378
+ "type": "uint24"
379
+ }
380
+ ],
381
+ "stateMutability": "nonpayable",
382
+ "type": "function"
383
+ },
384
+ {
385
+ "inputs": [
386
+ {
387
+ "internalType": "NftId",
388
+ "name": "policyNftId",
389
+ "type": "uint96"
390
+ },
391
+ {
392
+ "internalType": "ClaimId",
393
+ "name": "claimId",
394
+ "type": "uint16"
395
+ }
396
+ ],
397
+ "name": "declineClaim",
398
+ "outputs": [],
399
+ "stateMutability": "nonpayable",
400
+ "type": "function"
401
+ },
402
+ {
403
+ "inputs": [],
404
+ "name": "getDomain",
405
+ "outputs": [
406
+ {
407
+ "internalType": "ObjectType",
408
+ "name": "",
409
+ "type": "uint8"
410
+ }
411
+ ],
412
+ "stateMutability": "pure",
413
+ "type": "function"
414
+ },
415
+ {
416
+ "inputs": [],
417
+ "name": "getInitialInfo",
418
+ "outputs": [
419
+ {
420
+ "components": [
421
+ {
422
+ "internalType": "NftId",
423
+ "name": "nftId",
424
+ "type": "uint96"
425
+ },
426
+ {
427
+ "internalType": "NftId",
428
+ "name": "parentNftId",
429
+ "type": "uint96"
430
+ },
431
+ {
432
+ "internalType": "ObjectType",
433
+ "name": "objectType",
434
+ "type": "uint8"
435
+ },
436
+ {
437
+ "internalType": "bool",
438
+ "name": "isInterceptor",
439
+ "type": "bool"
440
+ },
441
+ {
442
+ "internalType": "address",
443
+ "name": "objectAddress",
444
+ "type": "address"
445
+ },
446
+ {
447
+ "internalType": "address",
448
+ "name": "initialOwner",
449
+ "type": "address"
450
+ },
451
+ {
452
+ "internalType": "bytes",
453
+ "name": "data",
454
+ "type": "bytes"
455
+ }
456
+ ],
457
+ "internalType": "struct IRegistry.ObjectInfo",
458
+ "name": "info",
459
+ "type": "tuple"
460
+ }
461
+ ],
462
+ "stateMutability": "view",
463
+ "type": "function"
464
+ },
465
+ {
466
+ "inputs": [],
467
+ "name": "getInstanceService",
468
+ "outputs": [
469
+ {
470
+ "internalType": "contract InstanceService",
471
+ "name": "",
472
+ "type": "address"
473
+ }
474
+ ],
475
+ "stateMutability": "view",
476
+ "type": "function"
477
+ },
478
+ {
479
+ "inputs": [],
480
+ "name": "getMajorVersion",
481
+ "outputs": [
482
+ {
483
+ "internalType": "VersionPart",
484
+ "name": "majorVersion",
485
+ "type": "uint8"
486
+ }
487
+ ],
488
+ "stateMutability": "view",
489
+ "type": "function"
490
+ },
491
+ {
492
+ "inputs": [],
493
+ "name": "getNftId",
494
+ "outputs": [
495
+ {
496
+ "internalType": "NftId",
497
+ "name": "",
498
+ "type": "uint96"
499
+ }
500
+ ],
501
+ "stateMutability": "view",
502
+ "type": "function"
503
+ },
504
+ {
505
+ "inputs": [],
506
+ "name": "getOwner",
507
+ "outputs": [
508
+ {
509
+ "internalType": "address",
510
+ "name": "",
511
+ "type": "address"
512
+ }
513
+ ],
514
+ "stateMutability": "view",
515
+ "type": "function"
516
+ },
517
+ {
518
+ "inputs": [],
519
+ "name": "getRegistry",
520
+ "outputs": [
521
+ {
522
+ "internalType": "contract IRegistry",
523
+ "name": "",
524
+ "type": "address"
525
+ }
526
+ ],
527
+ "stateMutability": "view",
528
+ "type": "function"
529
+ },
530
+ {
531
+ "inputs": [],
532
+ "name": "getRegistryAddress",
533
+ "outputs": [
534
+ {
535
+ "internalType": "address",
536
+ "name": "",
537
+ "type": "address"
538
+ }
539
+ ],
540
+ "stateMutability": "view",
541
+ "type": "function"
542
+ },
543
+ {
544
+ "inputs": [],
545
+ "name": "getRegistryService",
546
+ "outputs": [
547
+ {
548
+ "internalType": "contract IRegistryService",
549
+ "name": "",
550
+ "type": "address"
551
+ }
552
+ ],
553
+ "stateMutability": "view",
554
+ "type": "function"
555
+ },
556
+ {
557
+ "inputs": [],
558
+ "name": "getVersion",
559
+ "outputs": [
560
+ {
561
+ "internalType": "Version",
562
+ "name": "",
563
+ "type": "uint24"
564
+ }
565
+ ],
566
+ "stateMutability": "pure",
567
+ "type": "function"
568
+ },
569
+ {
570
+ "inputs": [],
571
+ "name": "initializeERC165",
572
+ "outputs": [],
573
+ "stateMutability": "nonpayable",
574
+ "type": "function"
575
+ },
576
+ {
577
+ "inputs": [
578
+ {
579
+ "internalType": "address",
580
+ "name": "initialOwner",
581
+ "type": "address"
582
+ },
583
+ {
584
+ "internalType": "address",
585
+ "name": "registryAddress",
586
+ "type": "address"
587
+ }
588
+ ],
589
+ "name": "initializeNftOwnable",
590
+ "outputs": [],
591
+ "stateMutability": "nonpayable",
592
+ "type": "function"
593
+ },
594
+ {
595
+ "inputs": [
596
+ {
597
+ "internalType": "address",
598
+ "name": "registryAddress",
599
+ "type": "address"
600
+ },
601
+ {
602
+ "internalType": "NftId",
603
+ "name": "parentNftId",
604
+ "type": "uint96"
605
+ },
606
+ {
607
+ "internalType": "ObjectType",
608
+ "name": "objectType",
609
+ "type": "uint8"
610
+ },
611
+ {
612
+ "internalType": "bool",
613
+ "name": "isInterceptor",
614
+ "type": "bool"
615
+ },
616
+ {
617
+ "internalType": "address",
618
+ "name": "initialOwner",
619
+ "type": "address"
620
+ },
621
+ {
622
+ "internalType": "bytes",
623
+ "name": "registryData",
624
+ "type": "bytes"
625
+ }
626
+ ],
627
+ "name": "initializeRegisterable",
628
+ "outputs": [],
629
+ "stateMutability": "nonpayable",
630
+ "type": "function"
631
+ },
632
+ {
633
+ "inputs": [
634
+ {
635
+ "internalType": "address",
636
+ "name": "registryAddress",
637
+ "type": "address"
638
+ }
639
+ ],
640
+ "name": "initializeRegistryLinked",
641
+ "outputs": [],
642
+ "stateMutability": "nonpayable",
643
+ "type": "function"
644
+ },
645
+ {
646
+ "inputs": [
647
+ {
648
+ "internalType": "address",
649
+ "name": "registry",
650
+ "type": "address"
651
+ },
652
+ {
653
+ "internalType": "address",
654
+ "name": "initialOwner",
655
+ "type": "address"
656
+ }
657
+ ],
658
+ "name": "initializeService",
659
+ "outputs": [],
660
+ "stateMutability": "nonpayable",
661
+ "type": "function"
662
+ },
663
+ {
664
+ "inputs": [
665
+ {
666
+ "internalType": "address",
667
+ "name": "activatedBy",
668
+ "type": "address"
669
+ },
670
+ {
671
+ "internalType": "bytes",
672
+ "name": "data",
673
+ "type": "bytes"
674
+ }
675
+ ],
676
+ "name": "initializeVersionable",
677
+ "outputs": [],
678
+ "stateMutability": "nonpayable",
679
+ "type": "function"
680
+ },
681
+ {
682
+ "inputs": [],
683
+ "name": "isConsumingScheduledOp",
684
+ "outputs": [
685
+ {
686
+ "internalType": "bytes4",
687
+ "name": "",
688
+ "type": "bytes4"
689
+ }
690
+ ],
691
+ "stateMutability": "view",
692
+ "type": "function"
693
+ },
694
+ {
695
+ "inputs": [],
696
+ "name": "linkToRegisteredNftId",
697
+ "outputs": [],
698
+ "stateMutability": "nonpayable",
699
+ "type": "function"
700
+ },
701
+ {
702
+ "inputs": [
703
+ {
704
+ "internalType": "NftId",
705
+ "name": "policyNftId",
706
+ "type": "uint96"
707
+ },
708
+ {
709
+ "internalType": "PayoutId",
710
+ "name": "payoutId",
711
+ "type": "uint24"
712
+ }
713
+ ],
714
+ "name": "payoutExecuted",
715
+ "outputs": [],
716
+ "stateMutability": "nonpayable",
717
+ "type": "function"
718
+ },
719
+ {
720
+ "inputs": [
721
+ {
722
+ "internalType": "bytes4",
723
+ "name": "interfaceId",
724
+ "type": "bytes4"
725
+ }
726
+ ],
727
+ "name": "registerInterface",
728
+ "outputs": [],
729
+ "stateMutability": "nonpayable",
730
+ "type": "function"
731
+ },
732
+ {
733
+ "inputs": [
734
+ {
735
+ "internalType": "address",
736
+ "name": "newAuthority",
737
+ "type": "address"
738
+ }
739
+ ],
740
+ "name": "setAuthority",
741
+ "outputs": [],
742
+ "stateMutability": "nonpayable",
743
+ "type": "function"
744
+ },
745
+ {
746
+ "inputs": [
747
+ {
748
+ "internalType": "bytes4",
749
+ "name": "interfaceId",
750
+ "type": "bytes4"
751
+ }
752
+ ],
753
+ "name": "supportsInterface",
754
+ "outputs": [
755
+ {
756
+ "internalType": "bool",
757
+ "name": "",
758
+ "type": "bool"
759
+ }
760
+ ],
761
+ "stateMutability": "view",
762
+ "type": "function"
763
+ },
764
+ {
765
+ "inputs": [
766
+ {
767
+ "internalType": "bytes",
768
+ "name": "data",
769
+ "type": "bytes"
770
+ }
771
+ ],
772
+ "name": "upgradeVersionable",
773
+ "outputs": [],
774
+ "stateMutability": "nonpayable",
775
+ "type": "function"
776
+ }
777
+ ],
778
+ "bytecode": "0x608060405234801561001057600080fd5b5061001961001e565b6100d0565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161561006e5760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b03908116146100cd5780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b611b25806100df6000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c80637211bedd1161010f578063caf4e3d4116100a2578063ea86657211610071578063ea86657214610449578063f21de1e814610302578063f7c34ee01461045c578063fc20e6f41461046f57600080fd5b8063caf4e3d414610423578063cc9fc59a1461042b578063cde749f414610433578063e10b60671461043b57600080fd5b80639e14822a116100de5780639e14822a146103c8578063ada9652e146103db578063b68d1809146103f0578063bf7e214f1461040557600080fd5b80637211bedd146103625780637a9e5e4b1461038c578063893d20e81461039f5780638fb36037146103a757600080fd5b806327bb7a33116101875780634a7d34cb116101565780634a7d34cb146101ea5780635ab1bd5314610302578063644c45e014610327578063675393bf1461034f57600080fd5b806327bb7a33146102c1578063329d6e74146102d457806336fc697e146102e757806349bb9e4b146102ef57600080fd5b80630fec111c116101c35780630fec111c1461025c578063138461e0146102715780631eff4b2214610279578063214cdb80146102ae57600080fd5b806301a57efc146101ea57806301ffc9a7146101fe5780630d8e6e2c14610240575b600080fd5b6101fc6101f8366004611372565b5050565b005b61022b61020c3660046113a7565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610248610488565b60405162ffffff9091168152602001610237565b610264610512565b604051610237919061141e565b6101fc6106c1565b6102a07f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610237565b6101fc6102bc3660046113a7565b6108c8565b6101fc6102cf36600461157d565b6108f5565b6101fc6102e2366004611615565b610981565b6101fc610ace565b6101fc6102fd366004611649565b610b14565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610237565b600080516020611a90833981519152546040516001600160601b039091168152602001610237565b6101fc61035d366004611698565b610c13565b6103796103703660046116b5565b60009392505050565b60405161ffff9091168152602001610237565b6101fc61039a366004611698565b610d1f565b61030f610db9565b6103af610ef0565b6040516001600160e01b03199091168152602001610237565b6101fc6103d636600461170d565b505050565b6102a0600080516020611a9083398151915281565b60d45b60405160ff9091168152602001610237565b600080516020611ab0833981519152546001600160a01b031661030f565b61030f610f28565b61030f610fc5565b6103f3610fef565b6101fc6101f836600461175c565b6101fc610457366004611795565b611066565b6101fc61046a366004611795565b61110e565b61024861047d3660046117c3565b600095945050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156104e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050d919061185f565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b909104161515918101919091526001820180549192916060840191906105bd9061187c565b80601f01602080910402602001604051908101604052809291908181526020018280546105e99061187c565b80156106365780601f1061060b57610100808354040283529160200191610636565b820191906000526020600020905b81548152906001019060200180831161061957829003601f168201915b50505050508152505090506040518060e00160405280610654600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016106a5610db9565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020611a9083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610730573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075491906118b6565b156107855780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306107986001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156107e0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080491906118b6565b61082c5760405163b9304b0d60e01b81526001600160a01b038216600482015260240161077c565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610880573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a491906118d3565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6108d0611185565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6108fd611185565b610907828761110e565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101610977838261193e565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6109a3610488565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156109e3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a0791906119fd565b600080516020611ad08339815191528054600160401b900460ff1680610a3a575080546001600160401b03808416911610155b15610a585760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610a82836111be565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610ad6611185565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080516020611ad08339815191528054600160401b810460ff1615906001600160401b0316600081158015610b475750825b90506000826001600160401b03166001148015610b635750303b155b905081158015610b71575080155b15610b8f5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610bb957845460ff60401b1916600160401b1785555b610bc387876111c6565b8315610c0a57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610c1b611185565b806001600160a01b03163b600003610c515760405163fdeac91f60e01b81526001600160a01b038216600482015260240161077c565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015610ccb575060408051601f3d908101601f19168201909252610cc8918101906118b6565b60015b610cf35760405163fdeac91f60e01b81526001600160a01b038216600482015260240161077c565b806101f85760405163fdeac91f60e01b81526001600160a01b038316600482015260240161077c565b50565b33610d3f600080516020611ab0833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610d7a5760405162d1953b60e31b81526001600160a01b038216600482015260240161077c565b816001600160a01b03163b600003610db0576040516361798f2f60e11b81526001600160a01b038316600482015260240161077c565b6101f8826112e5565b600080600080516020611a9083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610e29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e4d91906118b6565b15610eda576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610eb0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed49190611a26565b91505090565b54600160601b90046001600160a01b0316919050565b600080516020611ab0833981519152805460009190600160a01b900460ff16610f1a576000610ed4565b638fb3603760e01b91505090565b600080610f3d6001546001600160a01b031690565b6001600160a01b031663d39e604360285b610f56610fef565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015610f9b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fbf9190611a26565b92915050565b600080610fda6001546001600160a01b031690565b6001600160a01b031663d39e60436046610f4e565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015611042573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050d9190611a43565b61106e611185565b6110ee82836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110d491906118d3565b603c600085604051806020016040528060008152506108f5565b6110fe634a531f3360e01b6108c8565b6101f8637b6a51fd60e01b6108c8565b611116611185565b61111f81610c13565b611127610ace565b6001600160a01b03821661114e5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020611a9083398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020611ad083398151915254600160401b900460ff166111bc57604051631afcd79f60e31b815260040160405180910390fd5b565b6101e5611185565b600080516020611ad08339815191528054600160401b810460ff1615906001600160401b03166000811580156111f95750825b90506000826001600160401b031660011480156112155750303b155b905081158015611223575080155b156112415760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561126b57845460ff60401b1916600160401b1785555b600080878060200190518101906112829190611a60565b9092509050611291828a611066565b6112a163baf6f05360e01b6108c8565b50508315610c0a57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610c01565b600080516020611ab083398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6001600160601b0381168114610d1c57600080fd5b803561ffff8116811461136d57600080fd5b919050565b6000806040838503121561138557600080fd5b823561139081611346565b915061139e6020840161135b565b90509250929050565b6000602082840312156113b957600080fd5b81356001600160e01b0319811681146113d157600080fd5b9392505050565b6000815180845260005b818110156113fe576020818501810151868301820152016113e2565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161148760c08401826001600160a01b03169052565b5060c083015160e0808401526114a16101008401826113d8565b949350505050565b6001600160a01b0381168114610d1c57600080fd5b60ff81168114610d1c57600080fd5b8015158114610d1c57600080fd5b634e487b7160e01b600052604160045260246000fd5b600082601f83011261150257600080fd5b81356001600160401b038082111561151c5761151c6114db565b604051601f8301601f19908116603f01168101908282118183101715611544576115446114db565b8160405283815286602085880101111561155d57600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060008060008060c0878903121561159657600080fd5b86356115a1816114a9565b955060208701356115b181611346565b945060408701356115c1816114be565b935060608701356115d1816114cd565b925060808701356115e1816114a9565b915060a08701356001600160401b038111156115fc57600080fd5b61160889828a016114f1565b9150509295509295509295565b60006020828403121561162757600080fd5b81356001600160401b0381111561163d57600080fd5b6114a1848285016114f1565b6000806040838503121561165c57600080fd5b8235611667816114a9565b915060208301356001600160401b0381111561168257600080fd5b61168e858286016114f1565b9150509250929050565b6000602082840312156116aa57600080fd5b81356113d1816114a9565b6000806000606084860312156116ca57600080fd5b83356116d581611346565b92506020840135915060408401356001600160401b038111156116f757600080fd5b611703868287016114f1565b9150509250925092565b60008060006060848603121561172257600080fd5b833561172d81611346565b925061173b6020850161135b565b9150604084013590509250925092565b62ffffff81168114610d1c57600080fd5b6000806040838503121561176f57600080fd5b823561177a81611346565b9150602083013561178a8161174b565b809150509250929050565b600080604083850312156117a857600080fd5b82356117b3816114a9565b9150602083013561178a816114a9565b6000806000806000608086880312156117db57600080fd5b85356117e681611346565b94506117f46020870161135b565b93506040860135925060608601356001600160401b038082111561181757600080fd5b818801915088601f83011261182b57600080fd5b81358181111561183a57600080fd5b89602082850101111561184c57600080fd5b9699959850939650602001949392505050565b60006020828403121561187157600080fd5b81516113d18161174b565b600181811c9082168061189057607f821691505b6020821081036118b057634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156118c857600080fd5b81516113d1816114cd565b6000602082840312156118e557600080fd5b81516113d181611346565b601f8211156103d657600081815260208120601f850160051c810160208610156119175750805b601f850160051c820191505b8181101561193657828155600101611923565b505050505050565b81516001600160401b03811115611957576119576114db565b61196b81611965845461187c565b846118f0565b602080601f8311600181146119a057600084156119885750858301515b600019600386901b1c1916600185901b178555611936565b600085815260208120601f198616915b828110156119cf578886015182559484019460019091019084016119b0565b50858210156119ed5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215611a0f57600080fd5b81516001600160401b03811681146113d157600080fd5b600060208284031215611a3857600080fd5b81516113d1816114a9565b600060208284031215611a5557600080fd5b81516113d1816114be565b60008060408385031215611a7357600080fd5b8251611a7e816114a9565b602084015190925061178a816114a956fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a264697066735822122020cd09c741ec6d80db7cc95c2e9c4478115bb1a8bb4c4ae571c3665bbda116d264736f6c63430008140033",
779
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101e55760003560e01c80637211bedd1161010f578063caf4e3d4116100a2578063ea86657211610071578063ea86657214610449578063f21de1e814610302578063f7c34ee01461045c578063fc20e6f41461046f57600080fd5b8063caf4e3d414610423578063cc9fc59a1461042b578063cde749f414610433578063e10b60671461043b57600080fd5b80639e14822a116100de5780639e14822a146103c8578063ada9652e146103db578063b68d1809146103f0578063bf7e214f1461040557600080fd5b80637211bedd146103625780637a9e5e4b1461038c578063893d20e81461039f5780638fb36037146103a757600080fd5b806327bb7a33116101875780634a7d34cb116101565780634a7d34cb146101ea5780635ab1bd5314610302578063644c45e014610327578063675393bf1461034f57600080fd5b806327bb7a33146102c1578063329d6e74146102d457806336fc697e146102e757806349bb9e4b146102ef57600080fd5b80630fec111c116101c35780630fec111c1461025c578063138461e0146102715780631eff4b2214610279578063214cdb80146102ae57600080fd5b806301a57efc146101ea57806301ffc9a7146101fe5780630d8e6e2c14610240575b600080fd5b6101fc6101f8366004611372565b5050565b005b61022b61020c3660046113a7565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610248610488565b60405162ffffff9091168152602001610237565b610264610512565b604051610237919061141e565b6101fc6106c1565b6102a07f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610237565b6101fc6102bc3660046113a7565b6108c8565b6101fc6102cf36600461157d565b6108f5565b6101fc6102e2366004611615565b610981565b6101fc610ace565b6101fc6102fd366004611649565b610b14565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610237565b600080516020611a90833981519152546040516001600160601b039091168152602001610237565b6101fc61035d366004611698565b610c13565b6103796103703660046116b5565b60009392505050565b60405161ffff9091168152602001610237565b6101fc61039a366004611698565b610d1f565b61030f610db9565b6103af610ef0565b6040516001600160e01b03199091168152602001610237565b6101fc6103d636600461170d565b505050565b6102a0600080516020611a9083398151915281565b60d45b60405160ff9091168152602001610237565b600080516020611ab0833981519152546001600160a01b031661030f565b61030f610f28565b61030f610fc5565b6103f3610fef565b6101fc6101f836600461175c565b6101fc610457366004611795565b611066565b6101fc61046a366004611795565b61110e565b61024861047d3660046117c3565b600095945050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156104e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050d919061185f565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b909104161515918101919091526001820180549192916060840191906105bd9061187c565b80601f01602080910402602001604051908101604052809291908181526020018280546105e99061187c565b80156106365780601f1061060b57610100808354040283529160200191610636565b820191906000526020600020905b81548152906001019060200180831161061957829003601f168201915b50505050508152505090506040518060e00160405280610654600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016106a5610db9565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020611a9083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610730573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075491906118b6565b156107855780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306107986001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156107e0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080491906118b6565b61082c5760405163b9304b0d60e01b81526001600160a01b038216600482015260240161077c565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610880573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a491906118d3565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6108d0611185565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6108fd611185565b610907828761110e565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101610977838261193e565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6109a3610488565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156109e3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a0791906119fd565b600080516020611ad08339815191528054600160401b900460ff1680610a3a575080546001600160401b03808416911610155b15610a585760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610a82836111be565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610ad6611185565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080516020611ad08339815191528054600160401b810460ff1615906001600160401b0316600081158015610b475750825b90506000826001600160401b03166001148015610b635750303b155b905081158015610b71575080155b15610b8f5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610bb957845460ff60401b1916600160401b1785555b610bc387876111c6565b8315610c0a57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610c1b611185565b806001600160a01b03163b600003610c515760405163fdeac91f60e01b81526001600160a01b038216600482015260240161077c565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015610ccb575060408051601f3d908101601f19168201909252610cc8918101906118b6565b60015b610cf35760405163fdeac91f60e01b81526001600160a01b038216600482015260240161077c565b806101f85760405163fdeac91f60e01b81526001600160a01b038316600482015260240161077c565b50565b33610d3f600080516020611ab0833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610d7a5760405162d1953b60e31b81526001600160a01b038216600482015260240161077c565b816001600160a01b03163b600003610db0576040516361798f2f60e11b81526001600160a01b038316600482015260240161077c565b6101f8826112e5565b600080600080516020611a9083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610e29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e4d91906118b6565b15610eda576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610eb0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed49190611a26565b91505090565b54600160601b90046001600160a01b0316919050565b600080516020611ab0833981519152805460009190600160a01b900460ff16610f1a576000610ed4565b638fb3603760e01b91505090565b600080610f3d6001546001600160a01b031690565b6001600160a01b031663d39e604360285b610f56610fef565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015610f9b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fbf9190611a26565b92915050565b600080610fda6001546001600160a01b031690565b6001600160a01b031663d39e60436046610f4e565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015611042573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050d9190611a43565b61106e611185565b6110ee82836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110d491906118d3565b603c600085604051806020016040528060008152506108f5565b6110fe634a531f3360e01b6108c8565b6101f8637b6a51fd60e01b6108c8565b611116611185565b61111f81610c13565b611127610ace565b6001600160a01b03821661114e5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020611a9083398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020611ad083398151915254600160401b900460ff166111bc57604051631afcd79f60e31b815260040160405180910390fd5b565b6101e5611185565b600080516020611ad08339815191528054600160401b810460ff1615906001600160401b03166000811580156111f95750825b90506000826001600160401b031660011480156112155750303b155b905081158015611223575080155b156112415760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561126b57845460ff60401b1916600160401b1785555b600080878060200190518101906112829190611a60565b9092509050611291828a611066565b6112a163baf6f05360e01b6108c8565b50508315610c0a57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610c01565b600080516020611ab083398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6001600160601b0381168114610d1c57600080fd5b803561ffff8116811461136d57600080fd5b919050565b6000806040838503121561138557600080fd5b823561139081611346565b915061139e6020840161135b565b90509250929050565b6000602082840312156113b957600080fd5b81356001600160e01b0319811681146113d157600080fd5b9392505050565b6000815180845260005b818110156113fe576020818501810151868301820152016113e2565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161148760c08401826001600160a01b03169052565b5060c083015160e0808401526114a16101008401826113d8565b949350505050565b6001600160a01b0381168114610d1c57600080fd5b60ff81168114610d1c57600080fd5b8015158114610d1c57600080fd5b634e487b7160e01b600052604160045260246000fd5b600082601f83011261150257600080fd5b81356001600160401b038082111561151c5761151c6114db565b604051601f8301601f19908116603f01168101908282118183101715611544576115446114db565b8160405283815286602085880101111561155d57600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060008060008060c0878903121561159657600080fd5b86356115a1816114a9565b955060208701356115b181611346565b945060408701356115c1816114be565b935060608701356115d1816114cd565b925060808701356115e1816114a9565b915060a08701356001600160401b038111156115fc57600080fd5b61160889828a016114f1565b9150509295509295509295565b60006020828403121561162757600080fd5b81356001600160401b0381111561163d57600080fd5b6114a1848285016114f1565b6000806040838503121561165c57600080fd5b8235611667816114a9565b915060208301356001600160401b0381111561168257600080fd5b61168e858286016114f1565b9150509250929050565b6000602082840312156116aa57600080fd5b81356113d1816114a9565b6000806000606084860312156116ca57600080fd5b83356116d581611346565b92506020840135915060408401356001600160401b038111156116f757600080fd5b611703868287016114f1565b9150509250925092565b60008060006060848603121561172257600080fd5b833561172d81611346565b925061173b6020850161135b565b9150604084013590509250925092565b62ffffff81168114610d1c57600080fd5b6000806040838503121561176f57600080fd5b823561177a81611346565b9150602083013561178a8161174b565b809150509250929050565b600080604083850312156117a857600080fd5b82356117b3816114a9565b9150602083013561178a816114a9565b6000806000806000608086880312156117db57600080fd5b85356117e681611346565b94506117f46020870161135b565b93506040860135925060608601356001600160401b038082111561181757600080fd5b818801915088601f83011261182b57600080fd5b81358181111561183a57600080fd5b89602082850101111561184c57600080fd5b9699959850939650602001949392505050565b60006020828403121561187157600080fd5b81516113d18161174b565b600181811c9082168061189057607f821691505b6020821081036118b057634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156118c857600080fd5b81516113d1816114cd565b6000602082840312156118e557600080fd5b81516113d181611346565b601f8211156103d657600081815260208120601f850160051c810160208610156119175750805b601f850160051c820191505b8181101561193657828155600101611923565b505050505050565b81516001600160401b03811115611957576119576114db565b61196b81611965845461187c565b846118f0565b602080601f8311600181146119a057600084156119885750858301515b600019600386901b1c1916600185901b178555611936565b600085815260208120601f198616915b828110156119cf578886015182559484019460019091019084016119b0565b50858210156119ed5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215611a0f57600080fd5b81516001600160401b03811681146113d157600080fd5b600060208284031215611a3857600080fd5b81516113d1816114a9565b600060208284031215611a5557600080fd5b81516113d1816114be565b60008060408385031215611a7357600080fd5b8251611a7e816114a9565b602084015190925061178a816114a956fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a264697066735822122020cd09c741ec6d80db7cc95c2e9c4478115bb1a8bb4c4ae571c3665bbda116d264736f6c63430008140033",
780
+ "linkReferences": {
781
+ "contracts/types/NftId.sol": {
782
+ "NftIdLib": [
783
+ {
784
+ "length": 20,
785
+ "start": 2005
786
+ },
787
+ {
788
+ "length": 20,
789
+ "start": 3790
790
+ }
791
+ ]
792
+ },
793
+ "contracts/types/Version.sol": {
794
+ "VersionLib": [
795
+ {
796
+ "length": 20,
797
+ "start": 1422
798
+ },
799
+ {
800
+ "length": 20,
801
+ "start": 2658
802
+ }
803
+ ],
804
+ "VersionPartLib": [
805
+ {
806
+ "length": 20,
807
+ "start": 4327
808
+ }
809
+ ]
810
+ }
811
+ },
812
+ "deployedLinkReferences": {
813
+ "contracts/types/NftId.sol": {
814
+ "NftIdLib": [
815
+ {
816
+ "length": 20,
817
+ "start": 1782
818
+ },
819
+ {
820
+ "length": 20,
821
+ "start": 3567
822
+ }
823
+ ]
824
+ },
825
+ "contracts/types/Version.sol": {
826
+ "VersionLib": [
827
+ {
828
+ "length": 20,
829
+ "start": 1199
830
+ },
831
+ {
832
+ "length": 20,
833
+ "start": 2435
834
+ }
835
+ ],
836
+ "VersionPartLib": [
837
+ {
838
+ "length": 20,
839
+ "start": 4104
840
+ }
841
+ ]
842
+ }
843
+ }
844
+ }