@etherisc/gif-next 0.0.2-bdd64e2-180 → 0.0.2-be8b3db-650

Sign up to get free protection for your applications and to get access to all the features.
Files changed (374) hide show
  1. package/README.md +136 -2
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +814 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +871 -240
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → components/IComponent.sol/IComponent.json} +177 -176
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +684 -37
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +745 -58
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +564 -9
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +774 -309
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +601 -237
  18. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  19. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +783 -0
  20. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  21. package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → Cloneable.sol/Cloneable.json} +86 -2
  22. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  23. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1769 -242
  24. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  25. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +194 -165
  26. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  27. package/artifacts/contracts/instance/Instance.sol/Instance.json +892 -1240
  28. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  29. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +211 -144
  30. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  31. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +133 -237
  32. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  33. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +428 -273
  34. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  35. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +302 -101
  36. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  37. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +261 -0
  38. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  39. package/artifacts/contracts/{shared/RegisterableUpgradable.sol/RegisterableUpgradable.json → instance/base/ComponentService.sol/ComponentService.json} +236 -126
  40. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  41. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  42. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +40 -10
  44. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  45. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
  46. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  47. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +59 -16
  48. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  49. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  50. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  51. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  52. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  53. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  54. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  55. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  56. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  57. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +968 -0
  58. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  59. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +665 -0
  60. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  61. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1093 -0
  62. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  63. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +661 -0
  64. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  65. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +754 -0
  66. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  67. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +637 -0
  68. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  69. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1251 -184
  70. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  71. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +440 -75
  72. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  73. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +556 -0
  74. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  75. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +630 -0
  76. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  77. package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IClaimService.sol/IClaimService.json} +150 -207
  78. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  79. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +727 -160
  80. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  81. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +540 -0
  82. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  83. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +84 -217
  84. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +47 -414
  86. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  87. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1021 -0
  88. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  89. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +689 -0
  90. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  91. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +294 -274
  92. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  93. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +300 -95
  94. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  95. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +777 -0
  96. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  97. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +649 -0
  98. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  99. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  100. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  101. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +208 -224
  102. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  103. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +243 -206
  104. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  105. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  106. package/artifacts/contracts/registry/Registry.sol/Registry.json +222 -330
  107. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  108. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  109. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  110. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +235 -295
  111. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  112. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +295 -150
  113. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  114. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
  115. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  116. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +141 -53
  117. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  118. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  119. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  120. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  121. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +40 -29
  122. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  123. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
  124. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  125. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +21 -34
  126. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  127. package/artifacts/contracts/{experiment/inheritance/IB.sol/IB.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +18 -20
  128. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  129. package/artifacts/contracts/shared/IService.sol/IService.json +31 -183
  130. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  131. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  132. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  133. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +120 -27
  134. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  135. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
  136. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  137. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +294 -61
  138. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  139. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +129 -51
  140. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  141. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
  142. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  143. package/artifacts/contracts/shared/Service.sol/Service.json +127 -170
  144. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  145. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
  146. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  147. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  148. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  149. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  150. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  151. package/artifacts/contracts/test/TestFee.sol/TestFee.json +2 -2
  152. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  153. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +129 -51
  154. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  155. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +2 -2
  156. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  157. package/artifacts/contracts/test/TestService.sol/TestService.json +148 -227
  158. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  159. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  160. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  161. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  162. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -190
  163. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  164. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  165. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  166. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  167. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  168. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  169. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -0
  170. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  171. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
  172. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  173. package/artifacts/contracts/types/Fee.sol/FeeLib.json +2 -2
  174. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  175. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  176. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  177. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
  178. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  179. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  180. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  181. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  182. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  183. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  184. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +100 -0
  185. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  186. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
  187. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  188. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  189. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  190. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  191. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  192. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  193. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  194. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  195. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  196. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +25 -7
  197. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  198. package/artifacts/contracts/types/UFixed.sol/MathLib.json +2 -2
  199. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  200. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
  201. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  202. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  203. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  204. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
  205. package/contracts/components/Component.sol +241 -0
  206. package/contracts/components/Distribution.sol +197 -83
  207. package/contracts/components/IComponent.sol +74 -0
  208. package/contracts/components/IDistributionComponent.sol +43 -18
  209. package/contracts/components/IPoolComponent.sol +88 -37
  210. package/contracts/components/IProductComponent.sol +10 -5
  211. package/contracts/components/Pool.sol +214 -162
  212. package/contracts/components/Product.sol +130 -134
  213. package/contracts/instance/BundleManager.sol +127 -0
  214. package/contracts/instance/Cloneable.sol +46 -0
  215. package/contracts/instance/IInstance.sol +64 -10
  216. package/contracts/instance/IInstanceService.sol +34 -4
  217. package/contracts/instance/Instance.sol +119 -267
  218. package/contracts/instance/InstanceAccessManager.sol +87 -78
  219. package/contracts/instance/InstanceReader.sol +16 -28
  220. package/contracts/instance/InstanceService.sol +404 -97
  221. package/contracts/instance/InstanceServiceManager.sol +11 -13
  222. package/contracts/instance/ObjectManager.sol +84 -0
  223. package/contracts/instance/base/ComponentService.sol +134 -0
  224. package/contracts/instance/base/KeyValueStore.sol +5 -2
  225. package/contracts/instance/base/Lifecycle.sol +11 -2
  226. package/contracts/instance/module/IAccess.sol +27 -18
  227. package/contracts/instance/module/IBundle.sol +2 -1
  228. package/contracts/instance/module/IComponents.sol +35 -0
  229. package/contracts/instance/module/IDistribution.sol +2 -0
  230. package/contracts/instance/module/IPolicy.sol +30 -3
  231. package/contracts/instance/module/ISetup.sol +9 -20
  232. package/contracts/instance/service/ApplicationService.sol +350 -0
  233. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  234. package/contracts/instance/service/BundleService.sol +336 -0
  235. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  236. package/contracts/instance/service/ClaimService.sol +151 -0
  237. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  238. package/contracts/instance/service/DistributionService.sol +391 -46
  239. package/contracts/instance/service/DistributionServiceManager.sol +11 -13
  240. package/contracts/instance/service/IApplicationService.sol +82 -0
  241. package/contracts/instance/service/IBundleService.sol +62 -0
  242. package/contracts/instance/service/IClaimService.sol +61 -0
  243. package/contracts/instance/service/IDistributionService.sol +86 -0
  244. package/contracts/instance/service/IPolicyService.sol +72 -0
  245. package/contracts/instance/service/IPoolService.sol +21 -23
  246. package/contracts/instance/service/IProductService.sol +6 -73
  247. package/contracts/instance/service/PolicyService.sol +403 -0
  248. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  249. package/contracts/instance/service/PoolService.sol +96 -144
  250. package/contracts/instance/service/PoolServiceManager.sol +11 -13
  251. package/contracts/instance/service/ProductService.sol +233 -0
  252. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  253. package/contracts/registry/ChainNft.sol +5 -1
  254. package/contracts/registry/IRegistry.sol +38 -33
  255. package/contracts/registry/IRegistryService.sol +47 -13
  256. package/contracts/registry/Registry.sol +222 -249
  257. package/contracts/registry/RegistryAccessManager.sol +216 -0
  258. package/contracts/registry/RegistryService.sol +113 -229
  259. package/contracts/registry/RegistryServiceManager.sol +21 -39
  260. package/contracts/registry/ReleaseManager.sol +322 -0
  261. package/contracts/registry/TokenRegistry.sol +22 -17
  262. package/contracts/shared/ERC165.sol +14 -12
  263. package/contracts/shared/INftOwnable.sol +11 -10
  264. package/contracts/shared/IPolicyHolder.sol +26 -0
  265. package/contracts/shared/IRegisterable.sol +4 -6
  266. package/contracts/shared/IRegistryLinked.sol +12 -0
  267. package/contracts/shared/IService.sol +4 -1
  268. package/contracts/shared/IVersionable.sol +4 -47
  269. package/contracts/shared/NftOwnable.sol +67 -83
  270. package/contracts/shared/PolicyHolder.sol +81 -0
  271. package/contracts/shared/ProxyManager.sol +100 -25
  272. package/contracts/shared/Registerable.sol +16 -32
  273. package/contracts/shared/RegistryLinked.sol +48 -0
  274. package/contracts/shared/Service.sol +26 -22
  275. package/contracts/shared/TokenHandler.sol +11 -5
  276. package/contracts/shared/Versionable.sol +4 -92
  277. package/contracts/test/TestRegisterable.sol +1 -1
  278. package/contracts/test/TestService.sol +4 -3
  279. package/contracts/types/Blocknumber.sol +1 -0
  280. package/contracts/types/ClaimId.sol +52 -0
  281. package/contracts/types/DistributorType.sol +2 -2
  282. package/contracts/types/Fee.sol +1 -0
  283. package/contracts/types/NftId.sol +8 -0
  284. package/contracts/types/NftIdSet.sol +26 -24
  285. package/contracts/types/ObjectType.sol +10 -5
  286. package/contracts/types/PayoutId.sol +54 -0
  287. package/contracts/types/Referral.sol +4 -0
  288. package/contracts/types/RoleId.sol +19 -13
  289. package/contracts/types/Seconds.sol +54 -0
  290. package/contracts/types/StateId.sol +1 -0
  291. package/contracts/types/Timestamp.sol +13 -13
  292. package/contracts/types/UFixed.sol +1 -0
  293. package/contracts/types/Version.sol +1 -0
  294. package/package.json +3 -3
  295. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  296. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -327
  297. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  298. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -280
  299. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  300. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  301. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  302. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  303. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  304. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  305. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  306. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  307. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  308. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  309. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  310. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  311. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  312. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  313. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  314. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  315. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  316. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  317. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  318. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  319. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  320. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  321. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  322. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  323. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  324. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  325. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  326. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  327. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  328. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  329. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  330. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  331. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  332. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  333. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  334. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  335. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  336. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  337. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  338. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  339. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  340. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
  341. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  342. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  343. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  344. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  345. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  346. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  347. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  348. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  349. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  350. package/contracts/components/BaseComponent.sol +0 -91
  351. package/contracts/components/IBaseComponent.sol +0 -25
  352. package/contracts/experiment/cloning/Cloner.sol +0 -47
  353. package/contracts/experiment/errors/Require.sol +0 -38
  354. package/contracts/experiment/errors/Revert.sol +0 -44
  355. package/contracts/experiment/inheritance/A.sol +0 -53
  356. package/contracts/experiment/inheritance/B.sol +0 -28
  357. package/contracts/experiment/inheritance/C.sol +0 -34
  358. package/contracts/experiment/inheritance/IA.sol +0 -13
  359. package/contracts/experiment/inheritance/IB.sol +0 -10
  360. package/contracts/experiment/inheritance/IC.sol +0 -12
  361. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  362. package/contracts/experiment/statemachine/ISM.sol +0 -25
  363. package/contracts/experiment/statemachine/SM.sol +0 -57
  364. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  365. package/contracts/experiment/types/TypeA.sol +0 -47
  366. package/contracts/experiment/types/TypeB.sol +0 -29
  367. package/contracts/instance/AccessManagedSimple.sol +0 -115
  368. package/contracts/instance/AccessManagerSimple.sol +0 -692
  369. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  370. package/contracts/instance/base/ComponentServiceBase.sol +0 -41
  371. package/contracts/instance/base/IInstanceBase.sol +0 -23
  372. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  373. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  374. package/contracts/shared/RegisterableUpgradable.sol +0 -16
@@ -0,0 +1,783 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "BundleManager",
4
+ "sourceName": "contracts/instance/BundleManager.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": "registry",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "CloneableRegistryInvalid",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "NftId",
59
+ "name": "bundleNftId",
60
+ "type": "uint96"
61
+ },
62
+ {
63
+ "internalType": "NftId",
64
+ "name": "policyNftId",
65
+ "type": "uint96"
66
+ }
67
+ ],
68
+ "name": "ErrorBundleManagerBundleLocked",
69
+ "type": "error"
70
+ },
71
+ {
72
+ "inputs": [
73
+ {
74
+ "internalType": "NftId",
75
+ "name": "bundleNftId",
76
+ "type": "uint96"
77
+ }
78
+ ],
79
+ "name": "ErrorBundleManagerBundleNotRegistered",
80
+ "type": "error"
81
+ },
82
+ {
83
+ "inputs": [
84
+ {
85
+ "internalType": "NftId",
86
+ "name": "bundleNftId",
87
+ "type": "uint96"
88
+ }
89
+ ],
90
+ "name": "ErrorBundleManagerBundleUnknown",
91
+ "type": "error"
92
+ },
93
+ {
94
+ "inputs": [
95
+ {
96
+ "internalType": "NftId",
97
+ "name": "policyNftId",
98
+ "type": "uint96"
99
+ }
100
+ ],
101
+ "name": "ErrorBundleManagerPolicyAlreadyActivated",
102
+ "type": "error"
103
+ },
104
+ {
105
+ "inputs": [
106
+ {
107
+ "internalType": "NftId",
108
+ "name": "policyNftId",
109
+ "type": "uint96"
110
+ }
111
+ ],
112
+ "name": "ErrorBundleManagerPolicyNotCloseable",
113
+ "type": "error"
114
+ },
115
+ {
116
+ "inputs": [
117
+ {
118
+ "internalType": "NftId",
119
+ "name": "policyNftId",
120
+ "type": "uint96"
121
+ },
122
+ {
123
+ "internalType": "uint256",
124
+ "name": "openClaimsCount",
125
+ "type": "uint256"
126
+ }
127
+ ],
128
+ "name": "ErrorBundleManagerPolicyWithOpenClaims",
129
+ "type": "error"
130
+ },
131
+ {
132
+ "inputs": [
133
+ {
134
+ "internalType": "NftId",
135
+ "name": "componentNftId",
136
+ "type": "uint96"
137
+ },
138
+ {
139
+ "internalType": "NftId",
140
+ "name": "objectNftId",
141
+ "type": "uint96"
142
+ }
143
+ ],
144
+ "name": "ErrorObjectManagerAlreadyAdded",
145
+ "type": "error"
146
+ },
147
+ {
148
+ "inputs": [
149
+ {
150
+ "internalType": "NftId",
151
+ "name": "instanceNftId",
152
+ "type": "uint96"
153
+ }
154
+ ],
155
+ "name": "ErrorObjectManagerNftIdInvalid",
156
+ "type": "error"
157
+ },
158
+ {
159
+ "inputs": [],
160
+ "name": "InvalidInitialization",
161
+ "type": "error"
162
+ },
163
+ {
164
+ "inputs": [],
165
+ "name": "NotInitializing",
166
+ "type": "error"
167
+ },
168
+ {
169
+ "anonymous": false,
170
+ "inputs": [
171
+ {
172
+ "indexed": false,
173
+ "internalType": "address",
174
+ "name": "authority",
175
+ "type": "address"
176
+ }
177
+ ],
178
+ "name": "AuthorityUpdated",
179
+ "type": "event"
180
+ },
181
+ {
182
+ "anonymous": false,
183
+ "inputs": [
184
+ {
185
+ "indexed": false,
186
+ "internalType": "address",
187
+ "name": "authority",
188
+ "type": "address"
189
+ },
190
+ {
191
+ "indexed": false,
192
+ "internalType": "address",
193
+ "name": "registry",
194
+ "type": "address"
195
+ }
196
+ ],
197
+ "name": "CloneableInitialized",
198
+ "type": "event"
199
+ },
200
+ {
201
+ "anonymous": false,
202
+ "inputs": [
203
+ {
204
+ "indexed": false,
205
+ "internalType": "uint64",
206
+ "name": "version",
207
+ "type": "uint64"
208
+ }
209
+ ],
210
+ "name": "Initialized",
211
+ "type": "event"
212
+ },
213
+ {
214
+ "anonymous": false,
215
+ "inputs": [
216
+ {
217
+ "indexed": false,
218
+ "internalType": "NftId",
219
+ "name": "poolNftId",
220
+ "type": "uint96"
221
+ },
222
+ {
223
+ "indexed": false,
224
+ "internalType": "NftId",
225
+ "name": "bundleNftId",
226
+ "type": "uint96"
227
+ }
228
+ ],
229
+ "name": "LogBundleManagerBundleAdded",
230
+ "type": "event"
231
+ },
232
+ {
233
+ "anonymous": false,
234
+ "inputs": [
235
+ {
236
+ "indexed": false,
237
+ "internalType": "NftId",
238
+ "name": "poolNftId",
239
+ "type": "uint96"
240
+ },
241
+ {
242
+ "indexed": false,
243
+ "internalType": "NftId",
244
+ "name": "bundleNftId",
245
+ "type": "uint96"
246
+ }
247
+ ],
248
+ "name": "LogBundleManagerBundleClosed",
249
+ "type": "event"
250
+ },
251
+ {
252
+ "anonymous": false,
253
+ "inputs": [
254
+ {
255
+ "indexed": false,
256
+ "internalType": "NftId",
257
+ "name": "poolNftId",
258
+ "type": "uint96"
259
+ },
260
+ {
261
+ "indexed": false,
262
+ "internalType": "NftId",
263
+ "name": "bundleNftId",
264
+ "type": "uint96"
265
+ }
266
+ ],
267
+ "name": "LogBundleManagerBundleLocked",
268
+ "type": "event"
269
+ },
270
+ {
271
+ "anonymous": false,
272
+ "inputs": [
273
+ {
274
+ "indexed": false,
275
+ "internalType": "NftId",
276
+ "name": "poolNftId",
277
+ "type": "uint96"
278
+ },
279
+ {
280
+ "indexed": false,
281
+ "internalType": "NftId",
282
+ "name": "bundleNftId",
283
+ "type": "uint96"
284
+ }
285
+ ],
286
+ "name": "LogBundleManagerBundleUnlocked",
287
+ "type": "event"
288
+ },
289
+ {
290
+ "anonymous": false,
291
+ "inputs": [
292
+ {
293
+ "indexed": false,
294
+ "internalType": "NftId",
295
+ "name": "bundleNftId",
296
+ "type": "uint96"
297
+ },
298
+ {
299
+ "indexed": false,
300
+ "internalType": "NftId",
301
+ "name": "policyNftId",
302
+ "type": "uint96"
303
+ }
304
+ ],
305
+ "name": "LogBundleManagerPolicyLinked",
306
+ "type": "event"
307
+ },
308
+ {
309
+ "anonymous": false,
310
+ "inputs": [
311
+ {
312
+ "indexed": false,
313
+ "internalType": "NftId",
314
+ "name": "bundleNftId",
315
+ "type": "uint96"
316
+ },
317
+ {
318
+ "indexed": false,
319
+ "internalType": "NftId",
320
+ "name": "policyNftId",
321
+ "type": "uint96"
322
+ }
323
+ ],
324
+ "name": "LogBundleManagerPolicyUnlinked",
325
+ "type": "event"
326
+ },
327
+ {
328
+ "anonymous": false,
329
+ "inputs": [
330
+ {
331
+ "indexed": false,
332
+ "internalType": "address",
333
+ "name": "instance",
334
+ "type": "address"
335
+ }
336
+ ],
337
+ "name": "LogObjectManagerInitialized",
338
+ "type": "event"
339
+ },
340
+ {
341
+ "inputs": [
342
+ {
343
+ "internalType": "NftId",
344
+ "name": "poolNftId",
345
+ "type": "uint96"
346
+ }
347
+ ],
348
+ "name": "activeBundles",
349
+ "outputs": [
350
+ {
351
+ "internalType": "uint256",
352
+ "name": "",
353
+ "type": "uint256"
354
+ }
355
+ ],
356
+ "stateMutability": "view",
357
+ "type": "function"
358
+ },
359
+ {
360
+ "inputs": [
361
+ {
362
+ "internalType": "NftId",
363
+ "name": "bundleNftId",
364
+ "type": "uint96"
365
+ }
366
+ ],
367
+ "name": "activePolicies",
368
+ "outputs": [
369
+ {
370
+ "internalType": "uint256",
371
+ "name": "",
372
+ "type": "uint256"
373
+ }
374
+ ],
375
+ "stateMutability": "view",
376
+ "type": "function"
377
+ },
378
+ {
379
+ "inputs": [
380
+ {
381
+ "internalType": "NftId",
382
+ "name": "bundleNftId",
383
+ "type": "uint96"
384
+ }
385
+ ],
386
+ "name": "add",
387
+ "outputs": [],
388
+ "stateMutability": "nonpayable",
389
+ "type": "function"
390
+ },
391
+ {
392
+ "inputs": [],
393
+ "name": "authority",
394
+ "outputs": [
395
+ {
396
+ "internalType": "address",
397
+ "name": "",
398
+ "type": "address"
399
+ }
400
+ ],
401
+ "stateMutability": "view",
402
+ "type": "function"
403
+ },
404
+ {
405
+ "inputs": [
406
+ {
407
+ "internalType": "NftId",
408
+ "name": "poolNftId",
409
+ "type": "uint96"
410
+ }
411
+ ],
412
+ "name": "bundles",
413
+ "outputs": [
414
+ {
415
+ "internalType": "uint256",
416
+ "name": "",
417
+ "type": "uint256"
418
+ }
419
+ ],
420
+ "stateMutability": "view",
421
+ "type": "function"
422
+ },
423
+ {
424
+ "inputs": [
425
+ {
426
+ "internalType": "NftId",
427
+ "name": "poolNftId",
428
+ "type": "uint96"
429
+ },
430
+ {
431
+ "internalType": "uint256",
432
+ "name": "idx",
433
+ "type": "uint256"
434
+ }
435
+ ],
436
+ "name": "getActiveBundleNftId",
437
+ "outputs": [
438
+ {
439
+ "internalType": "NftId",
440
+ "name": "bundleNftId",
441
+ "type": "uint96"
442
+ }
443
+ ],
444
+ "stateMutability": "view",
445
+ "type": "function"
446
+ },
447
+ {
448
+ "inputs": [
449
+ {
450
+ "internalType": "NftId",
451
+ "name": "bundleNftId",
452
+ "type": "uint96"
453
+ },
454
+ {
455
+ "internalType": "uint256",
456
+ "name": "idx",
457
+ "type": "uint256"
458
+ }
459
+ ],
460
+ "name": "getActivePolicy",
461
+ "outputs": [
462
+ {
463
+ "internalType": "NftId",
464
+ "name": "policyNftId",
465
+ "type": "uint96"
466
+ }
467
+ ],
468
+ "stateMutability": "view",
469
+ "type": "function"
470
+ },
471
+ {
472
+ "inputs": [
473
+ {
474
+ "internalType": "NftId",
475
+ "name": "poolNftId",
476
+ "type": "uint96"
477
+ },
478
+ {
479
+ "internalType": "uint256",
480
+ "name": "idx",
481
+ "type": "uint256"
482
+ }
483
+ ],
484
+ "name": "getBundleNftId",
485
+ "outputs": [
486
+ {
487
+ "internalType": "NftId",
488
+ "name": "bundleNftId",
489
+ "type": "uint96"
490
+ }
491
+ ],
492
+ "stateMutability": "view",
493
+ "type": "function"
494
+ },
495
+ {
496
+ "inputs": [],
497
+ "name": "getInstance",
498
+ "outputs": [
499
+ {
500
+ "internalType": "contract IInstance",
501
+ "name": "",
502
+ "type": "address"
503
+ }
504
+ ],
505
+ "stateMutability": "view",
506
+ "type": "function"
507
+ },
508
+ {
509
+ "inputs": [],
510
+ "name": "getRegistry",
511
+ "outputs": [
512
+ {
513
+ "internalType": "contract IRegistry",
514
+ "name": "",
515
+ "type": "address"
516
+ }
517
+ ],
518
+ "stateMutability": "view",
519
+ "type": "function"
520
+ },
521
+ {
522
+ "inputs": [
523
+ {
524
+ "internalType": "address",
525
+ "name": "authority",
526
+ "type": "address"
527
+ },
528
+ {
529
+ "internalType": "address",
530
+ "name": "registry",
531
+ "type": "address"
532
+ }
533
+ ],
534
+ "name": "initialize",
535
+ "outputs": [],
536
+ "stateMutability": "nonpayable",
537
+ "type": "function"
538
+ },
539
+ {
540
+ "inputs": [
541
+ {
542
+ "internalType": "address",
543
+ "name": "authority",
544
+ "type": "address"
545
+ },
546
+ {
547
+ "internalType": "address",
548
+ "name": "registry",
549
+ "type": "address"
550
+ },
551
+ {
552
+ "internalType": "address",
553
+ "name": "instance",
554
+ "type": "address"
555
+ }
556
+ ],
557
+ "name": "initialize",
558
+ "outputs": [],
559
+ "stateMutability": "nonpayable",
560
+ "type": "function"
561
+ },
562
+ {
563
+ "inputs": [],
564
+ "name": "isConsumingScheduledOp",
565
+ "outputs": [
566
+ {
567
+ "internalType": "bytes4",
568
+ "name": "",
569
+ "type": "bytes4"
570
+ }
571
+ ],
572
+ "stateMutability": "view",
573
+ "type": "function"
574
+ },
575
+ {
576
+ "inputs": [
577
+ {
578
+ "internalType": "NftId",
579
+ "name": "policyNftId",
580
+ "type": "uint96"
581
+ }
582
+ ],
583
+ "name": "linkPolicy",
584
+ "outputs": [],
585
+ "stateMutability": "nonpayable",
586
+ "type": "function"
587
+ },
588
+ {
589
+ "inputs": [
590
+ {
591
+ "internalType": "NftId",
592
+ "name": "bundleNftId",
593
+ "type": "uint96"
594
+ }
595
+ ],
596
+ "name": "lock",
597
+ "outputs": [],
598
+ "stateMutability": "nonpayable",
599
+ "type": "function"
600
+ },
601
+ {
602
+ "inputs": [
603
+ {
604
+ "internalType": "address",
605
+ "name": "newAuthority",
606
+ "type": "address"
607
+ }
608
+ ],
609
+ "name": "setAuthority",
610
+ "outputs": [],
611
+ "stateMutability": "nonpayable",
612
+ "type": "function"
613
+ },
614
+ {
615
+ "inputs": [
616
+ {
617
+ "internalType": "NftId",
618
+ "name": "policyNftId",
619
+ "type": "uint96"
620
+ }
621
+ ],
622
+ "name": "unlinkPolicy",
623
+ "outputs": [],
624
+ "stateMutability": "nonpayable",
625
+ "type": "function"
626
+ },
627
+ {
628
+ "inputs": [
629
+ {
630
+ "internalType": "NftId",
631
+ "name": "bundleNftId",
632
+ "type": "uint96"
633
+ }
634
+ ],
635
+ "name": "unlock",
636
+ "outputs": [],
637
+ "stateMutability": "nonpayable",
638
+ "type": "function"
639
+ }
640
+ ],
641
+ "bytecode": "0x608060405234801561001057600080fd5b50600080546001600160a01b0319169055611f30806100306000396000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c80638fb36037116100a2578063bf7e214f11610071578063bf7e214f1461025f578063c0c53b8b14610267578063db70354c1461027a578063dbacaaaf1461028d578063de7b5d14146102a057600080fd5b80638fb360371461020557806394b9929b146102265780639a8fe67814610239578063b5346af51461024c57600080fd5b8063485cc955116100e9578063485cc9551461017c5780635ab1bd531461018f5780636ebed908146101b45780637a9e5e4b146101df5780638de1d14e146101f257600080fd5b806306fa45651461011b5780630cc7e6141461013057806313ab148d1461014357806345983a8a14610169575b600080fd5b61012e61012936600461186f565b6102b1565b005b61012e61013e36600461186f565b6103f8565b61015661015136600461186f565b6106fa565b6040519081526020015b60405180910390f35b61015661017736600461186f565b61070b565b61012e61018a3660046118a1565b610797565b6000546001600160a01b03165b6040516001600160a01b039091168152602001610160565b6101c76101c23660046118da565b610939565b6040516001600160601b039091168152602001610160565b61012e6101ed366004611906565b61094c565b61012e61020036600461186f565b6109d3565b61020d610bb3565b6040516001600160e01b03199091168152602001610160565b61015661023436600461186f565b610bec565b61012e61024736600461186f565b610bf7565b61012e61025a36600461186f565b610ef3565b61019c61102e565b61012e610275366004611923565b61104a565b6101c76102883660046118da565b6110a2565b6101c761029b3660046118da565b6110ae565b6003546001600160a01b031661019c565b6102be335b600036611141565b600354604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610308573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061032c919061196e565b604051634793b4ab60e01b81526001600160601b03841660048201526001600160a01b039190911690634793b4ab90602401600060405180830381865afa15801561037b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526103a39190810190611b0f565b5190506103b08183611247565b604080516001600160601b038084168252841660208201527f8481dca68853151d9f39783b09bf4144fd4fadcbf056b07e508ca3f873f2b89891015b60405180910390a15050565b610401336102b6565b600354604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa15801561044b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061046f919061196e565b60405163bd7d9d8560e01b81526001600160601b03841660048201526001600160a01b03919091169063bd7d9d8590602401600060405180830381865afa1580156104be573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526104e69190810190611c21565b6020015190506000600360009054906101000a90046001600160a01b03166001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610541573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610565919061196e565b604051634793b4ab60e01b81526001600160601b03841660048201526001600160a01b039190911690634793b4ab90602401600060405180830381865afa1580156105b4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526105dc9190810190611b0f565b5190506105e981836112ca565b61061e57604051635f73b3b960e11b81526001600160601b038084166004830152841660248201526044015b60405180910390fd5b6001600160601b0382166000908152600460208190526040918290209151631461054360e31b815273__$0dc988b1672de335b826773df9015af2da$__9263a3082a1892610680928891019182526001600160601b0316602082015260400190565b60006040518083038186803b15801561069857600080fd5b505af41580156106ac573d6000803e3d6000fd5b5050604080516001600160601b038087168252871660208201527f5cb68c560151617390da8ac6298cbe334b6a6e27a8bdea1f03a939de82a59b2a93500190505b60405180910390a1505050565b60006107058261136d565b92915050565b6001600160601b03811660009081526004602081905260408083209051638b6233dd60e01b81529182015273__$0dc988b1672de335b826773df9015af2da$__90638b6233dd906024015b602060405180830381865af4158015610773573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107059190611d8e565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff166000811580156107dd5750825b905060008267ffffffffffffffff1660011480156107fa5750303b155b905081158015610808575080155b156108265760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561085057845460ff60401b1916600160401b1785555b610859876113be565b856001600160a01b03163b60000361088f5760405163071669cf60e21b81526001600160a01b0387166004820152602401610615565b600080546001600160a01b0319166001600160a01b0388811691821790925560408051928a16835260208301919091527fa6804c76412ae2d729353ed187a48b0b95177ee5c111049b80878fd127224412910160405180910390a1831561093057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b600061094583836113d2565b9392505050565b3361095561102e565b6001600160a01b0316816001600160a01b0316146109905760405162d1953b60e31b81526001600160a01b0382166004820152602401610615565b816001600160a01b03163b6000036109c6576040516361798f2f60e11b81526001600160a01b0383166004820152602401610615565b6109cf8261142a565b5050565b6109dc336102b6565b600354604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610a26573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4a919061196e565b604051634793b4ab60e01b81526001600160601b03841660048201526001600160a01b039190911690634793b4ab90602401600060405180830381865afa158015610a99573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ac19190810190611b0f565b51604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015610b1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b419190611db7565b15610b6957604051620852e560e41b81526001600160601b0383166004820152602401610615565b610b738183611484565b604080516001600160601b038084168252841660208201527f559277c2e6b13df1c45b0a6a50bea96df5fc3499ee767963594bdd7cb5cc103591016103ec565b600080516020611edb833981519152805460009190600160a01b900460ff16610bdd576000610be6565b638fb3603760e01b5b91505090565b60006107058261158c565b610c00336102b6565b600354604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610c4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c6e919061196e565b60405163bd7d9d8560e01b81526001600160601b03841660048201526001600160a01b03919091169063bd7d9d8590602401600060405180830381865afa158015610cbd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ce59190810190611c21565b602080820151600354604080516302cd307160e01b8152905194955091936000936001600160a01b03909216926302cd30719260048083019391928290030181865afa158015610d39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d5d919061196e565b604051634793b4ab60e01b81526001600160601b03841660048201526001600160a01b039190911690634793b4ab90602401600060405180830381865afa158015610dac573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610dd49190810190611b0f565b519050610de181836115dd565b610e09576040516352500dd960e01b81526001600160601b0383166004820152602401610615565b6001600160601b038216600090815260046020819052604091829020915163539eabab60e11b815273__$0dc988b1672de335b826773df9015af2da$__9263a73d575692610e6b928991019182526001600160601b0316602082015260400190565b60006040518083038186803b158015610e8357600080fd5b505af4158015610e97573d6000803e3d6000fd5b505050507fb0b509518a18f79abc72ff294f3a785a37721a790e8f0f53d8b991dac386102d836020015185604051610ee59291906001600160601b0392831681529116602082015260400190565b60405180910390a150505050565b610efc336102b6565b600354604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610f46573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f6a919061196e565b604051634793b4ab60e01b81526001600160601b03841660048201526001600160a01b039190911690634793b4ab90602401600060405180830381865afa158015610fb9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610fe19190810190611b0f565b519050610fee818361163f565b604080516001600160601b038084168252841660208201527fb153f926e58e76caa7d661713867b8f1bbfcbda82504931fab2dccc2610a98dd91016103ec565b600080516020611edb833981519152546001600160a01b031690565b6110548383610797565b600380546001600160a01b0319166001600160a01b0383169081179091556040519081527fe89455dcb69bf4efd41cbb10c8064808f360b87b03ae8c96349c71f4934ffa0f906020016106ed565b6000610945838361169a565b6001600160601b0382166000908152600460208190526040808320905163e797d89960e01b8152918201526024810183905273__$0dc988b1672de335b826773df9015af2da$__9063e797d899906044015b602060405180830381865af415801561111d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109459190611dd2565b600080516020611edb83398151915260008061117c61115e61102e565b873061116e600460008a8c611def565b61117791611e19565b6116f2565b915091508161123f5763ffffffff81161561121c57825460ff60a01b1916600160a01b1783556111aa61102e565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016111d993929190611e49565b600060405180830381600087803b1580156111f357600080fd5b505af1158015611207573d6000803e3d6000fd5b5050845460ff60a01b191685555061123f9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610615565b505050505050565b6001600160601b03828116600090815260016020526040908190209051631461054360e31b81526004810191909152908216602482015273__$0dc988b1672de335b826773df9015af2da$__9063a3082a18906044015b60006040518083038186803b1580156112b657600080fd5b505af415801561123f573d6000803e3d6000fd5b6001600160601b0382166000908152600160205260408082209051632bfdd6b960e01b815273__$0dc988b1672de335b826773df9015af2da$__91632bfdd6b99161132c919086906004019182526001600160601b0316602082015260400190565b602060405180830381865af4158015611349573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109459190611db7565b6001600160601b0381166000908152600260205260408082209051638b6233dd60e01b8152600481019190915273__$0dc988b1672de335b826773df9015af2da$__90638b6233dd90602401610756565b6113c66117fe565b6113cf81611849565b50565b6001600160601b038216600090815260016020526040808220905163e797d89960e01b815260048101919091526024810183905273__$0dc988b1672de335b826773df9015af2da$__9063e797d89990604401611100565b600080516020611edb83398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020016103ec565b6001600160601b0382811660009081526002602090815260408083206001909252918290209151631461054360e31b81526004810182905292841660248401529173__$0dc988b1672de335b826773df9015af2da$__9063a3082a189060440160006040518083038186803b1580156114fc57600080fd5b505af4158015611510573d6000803e3d6000fd5b5050604051631461054360e31b8152600481018490526001600160601b038616602482015273__$0dc988b1672de335b826773df9015af2da$__925063a3082a18915060440160006040518083038186803b15801561156e57600080fd5b505af4158015611582573d6000803e3d6000fd5b5050505050505050565b6001600160601b0381166000908152600160205260408082209051638b6233dd60e01b8152600481019190915273__$0dc988b1672de335b826773df9015af2da$__90638b6233dd90602401610756565b6001600160601b0382166000908152600260205260408082209051632bfdd6b960e01b815273__$0dc988b1672de335b826773df9015af2da$__91632bfdd6b99161132c919086906004019182526001600160601b0316602082015260400190565b6001600160601b0382811660009081526001602052604090819020905163539eabab60e11b81526004810191909152908216602482015273__$0dc988b1672de335b826773df9015af2da$__9063a73d57569060440161129e565b6001600160601b038216600090815260026020526040808220905163e797d89960e01b815260048101919091526024810183905273__$0dc988b1672de335b826773df9015af2da$__9063e797d89990604401611100565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516117619190611e89565b600060405180830381855afa9150503d806000811461179c576040519150601f19603f3d011682016040523d82523d6000602084013e6117a1565b606091505b509150915081156117f35760408151106117d357808060200190518101906117c99190611ea5565b90945092506117f3565b60208151106117f357808060200190518101906117f09190611db7565b93505b505094509492505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661184757604051631afcd79f60e31b815260040160405180910390fd5b565b6118516117fe565b6113cf8161142a565b6001600160601b03811681146113cf57600080fd5b60006020828403121561188157600080fd5b81356109458161185a565b6001600160a01b03811681146113cf57600080fd5b600080604083850312156118b457600080fd5b82356118bf8161188c565b915060208301356118cf8161188c565b809150509250929050565b600080604083850312156118ed57600080fd5b82356118f88161185a565b946020939093013593505050565b60006020828403121561191857600080fd5b81356109458161188c565b60008060006060848603121561193857600080fd5b83356119438161188c565b925060208401356119538161188c565b915060408401356119638161188c565b809150509250925092565b60006020828403121561198057600080fd5b81516109458161188c565b634e487b7160e01b600052604160045260246000fd5b604051610120810167ffffffffffffffff811182821017156119c5576119c561198b565b60405290565b604051610200810167ffffffffffffffff811182821017156119c5576119c561198b565b80516119fa8161185a565b919050565b600060408284031215611a1157600080fd5b6040516040810181811067ffffffffffffffff82111715611a3457611a3461198b565b604052825181526020928301519281019290925250919050565b60005b83811015611a69578181015183820152602001611a51565b50506000910152565b600082601f830112611a8357600080fd5b815167ffffffffffffffff80821115611a9e57611a9e61198b565b604051601f8301601f19908116603f01168101908282118183101715611ac657611ac661198b565b81604052838152866020858801011115611adf57600080fd5b611af0846020830160208901611a4e565b9695505050505050565b805164ffffffffff811681146119fa57600080fd5b600060208284031215611b2157600080fd5b815167ffffffffffffffff80821115611b3957600080fd5b908301906101408286031215611b4e57600080fd5b611b566119a1565b611b5f836119ef565b8152611b6e86602085016119ff565b6020820152606083015182811115611b8557600080fd5b611b9187828601611a72565b6040830152506080830151606082015260a0830151608082015260c083015160a0820152611bc160e08401611afa565b60c08201526101009150611bd6828401611afa565b60e0820152611be86101208401611afa565b91810191909152949350505050565b80516001600160c01b0319811681146119fa57600080fd5b805161ffff811681146119fa57600080fd5b600060208284031215611c3357600080fd5b815167ffffffffffffffff80821115611c4b57600080fd5b908301906102008286031215611c6057600080fd5b611c686119cb565b611c71836119ef565b8152611c7f602084016119ef565b6020820152611c9060408401611bf7565b6040820152611ca160608401611bf7565b60608201526080830151608082015260a083015160a082015260c083015160c0820152611cd060e08401611afa565b60e08201526101008084015183811115611ce957600080fd5b611cf588828701611a72565b8284015250506101208084015183811115611d0f57600080fd5b611d1b88828701611a72565b8284015250506101409150611d31828401611c0f565b828201526101609150611d45828401611c0f565b82820152610180915081830151828201526101a09150611d66828401611afa565b828201526101c09150611d7a828401611afa565b828201526101e09150611be8828401611afa565b600060208284031215611da057600080fd5b5051919050565b805180151581146119fa57600080fd5b600060208284031215611dc957600080fd5b61094582611da7565b600060208284031215611de457600080fd5b81516109458161185a565b60008085851115611dff57600080fd5b83861115611e0c57600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015611e415780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b60008251611e9b818460208701611a4e565b9190910192915050565b60008060408385031215611eb857600080fd5b611ec183611da7565b9150602083015163ffffffff811681146118cf57600080fdfef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212208636e413e8434df1051628917992b098075a7d79893621fef1a1c9a3596ec0f564736f6c63430008140033",
642
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101165760003560e01c80638fb36037116100a2578063bf7e214f11610071578063bf7e214f1461025f578063c0c53b8b14610267578063db70354c1461027a578063dbacaaaf1461028d578063de7b5d14146102a057600080fd5b80638fb360371461020557806394b9929b146102265780639a8fe67814610239578063b5346af51461024c57600080fd5b8063485cc955116100e9578063485cc9551461017c5780635ab1bd531461018f5780636ebed908146101b45780637a9e5e4b146101df5780638de1d14e146101f257600080fd5b806306fa45651461011b5780630cc7e6141461013057806313ab148d1461014357806345983a8a14610169575b600080fd5b61012e61012936600461186f565b6102b1565b005b61012e61013e36600461186f565b6103f8565b61015661015136600461186f565b6106fa565b6040519081526020015b60405180910390f35b61015661017736600461186f565b61070b565b61012e61018a3660046118a1565b610797565b6000546001600160a01b03165b6040516001600160a01b039091168152602001610160565b6101c76101c23660046118da565b610939565b6040516001600160601b039091168152602001610160565b61012e6101ed366004611906565b61094c565b61012e61020036600461186f565b6109d3565b61020d610bb3565b6040516001600160e01b03199091168152602001610160565b61015661023436600461186f565b610bec565b61012e61024736600461186f565b610bf7565b61012e61025a36600461186f565b610ef3565b61019c61102e565b61012e610275366004611923565b61104a565b6101c76102883660046118da565b6110a2565b6101c761029b3660046118da565b6110ae565b6003546001600160a01b031661019c565b6102be335b600036611141565b600354604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610308573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061032c919061196e565b604051634793b4ab60e01b81526001600160601b03841660048201526001600160a01b039190911690634793b4ab90602401600060405180830381865afa15801561037b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526103a39190810190611b0f565b5190506103b08183611247565b604080516001600160601b038084168252841660208201527f8481dca68853151d9f39783b09bf4144fd4fadcbf056b07e508ca3f873f2b89891015b60405180910390a15050565b610401336102b6565b600354604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa15801561044b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061046f919061196e565b60405163bd7d9d8560e01b81526001600160601b03841660048201526001600160a01b03919091169063bd7d9d8590602401600060405180830381865afa1580156104be573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526104e69190810190611c21565b6020015190506000600360009054906101000a90046001600160a01b03166001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610541573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610565919061196e565b604051634793b4ab60e01b81526001600160601b03841660048201526001600160a01b039190911690634793b4ab90602401600060405180830381865afa1580156105b4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526105dc9190810190611b0f565b5190506105e981836112ca565b61061e57604051635f73b3b960e11b81526001600160601b038084166004830152841660248201526044015b60405180910390fd5b6001600160601b0382166000908152600460208190526040918290209151631461054360e31b815273__$0dc988b1672de335b826773df9015af2da$__9263a3082a1892610680928891019182526001600160601b0316602082015260400190565b60006040518083038186803b15801561069857600080fd5b505af41580156106ac573d6000803e3d6000fd5b5050604080516001600160601b038087168252871660208201527f5cb68c560151617390da8ac6298cbe334b6a6e27a8bdea1f03a939de82a59b2a93500190505b60405180910390a1505050565b60006107058261136d565b92915050565b6001600160601b03811660009081526004602081905260408083209051638b6233dd60e01b81529182015273__$0dc988b1672de335b826773df9015af2da$__90638b6233dd906024015b602060405180830381865af4158015610773573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107059190611d8e565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff166000811580156107dd5750825b905060008267ffffffffffffffff1660011480156107fa5750303b155b905081158015610808575080155b156108265760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561085057845460ff60401b1916600160401b1785555b610859876113be565b856001600160a01b03163b60000361088f5760405163071669cf60e21b81526001600160a01b0387166004820152602401610615565b600080546001600160a01b0319166001600160a01b0388811691821790925560408051928a16835260208301919091527fa6804c76412ae2d729353ed187a48b0b95177ee5c111049b80878fd127224412910160405180910390a1831561093057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b600061094583836113d2565b9392505050565b3361095561102e565b6001600160a01b0316816001600160a01b0316146109905760405162d1953b60e31b81526001600160a01b0382166004820152602401610615565b816001600160a01b03163b6000036109c6576040516361798f2f60e11b81526001600160a01b0383166004820152602401610615565b6109cf8261142a565b5050565b6109dc336102b6565b600354604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610a26573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4a919061196e565b604051634793b4ab60e01b81526001600160601b03841660048201526001600160a01b039190911690634793b4ab90602401600060405180830381865afa158015610a99573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ac19190810190611b0f565b51604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015610b1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b419190611db7565b15610b6957604051620852e560e41b81526001600160601b0383166004820152602401610615565b610b738183611484565b604080516001600160601b038084168252841660208201527f559277c2e6b13df1c45b0a6a50bea96df5fc3499ee767963594bdd7cb5cc103591016103ec565b600080516020611edb833981519152805460009190600160a01b900460ff16610bdd576000610be6565b638fb3603760e01b5b91505090565b60006107058261158c565b610c00336102b6565b600354604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610c4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c6e919061196e565b60405163bd7d9d8560e01b81526001600160601b03841660048201526001600160a01b03919091169063bd7d9d8590602401600060405180830381865afa158015610cbd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ce59190810190611c21565b602080820151600354604080516302cd307160e01b8152905194955091936000936001600160a01b03909216926302cd30719260048083019391928290030181865afa158015610d39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d5d919061196e565b604051634793b4ab60e01b81526001600160601b03841660048201526001600160a01b039190911690634793b4ab90602401600060405180830381865afa158015610dac573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610dd49190810190611b0f565b519050610de181836115dd565b610e09576040516352500dd960e01b81526001600160601b0383166004820152602401610615565b6001600160601b038216600090815260046020819052604091829020915163539eabab60e11b815273__$0dc988b1672de335b826773df9015af2da$__9263a73d575692610e6b928991019182526001600160601b0316602082015260400190565b60006040518083038186803b158015610e8357600080fd5b505af4158015610e97573d6000803e3d6000fd5b505050507fb0b509518a18f79abc72ff294f3a785a37721a790e8f0f53d8b991dac386102d836020015185604051610ee59291906001600160601b0392831681529116602082015260400190565b60405180910390a150505050565b610efc336102b6565b600354604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610f46573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f6a919061196e565b604051634793b4ab60e01b81526001600160601b03841660048201526001600160a01b039190911690634793b4ab90602401600060405180830381865afa158015610fb9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610fe19190810190611b0f565b519050610fee818361163f565b604080516001600160601b038084168252841660208201527fb153f926e58e76caa7d661713867b8f1bbfcbda82504931fab2dccc2610a98dd91016103ec565b600080516020611edb833981519152546001600160a01b031690565b6110548383610797565b600380546001600160a01b0319166001600160a01b0383169081179091556040519081527fe89455dcb69bf4efd41cbb10c8064808f360b87b03ae8c96349c71f4934ffa0f906020016106ed565b6000610945838361169a565b6001600160601b0382166000908152600460208190526040808320905163e797d89960e01b8152918201526024810183905273__$0dc988b1672de335b826773df9015af2da$__9063e797d899906044015b602060405180830381865af415801561111d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109459190611dd2565b600080516020611edb83398151915260008061117c61115e61102e565b873061116e600460008a8c611def565b61117791611e19565b6116f2565b915091508161123f5763ffffffff81161561121c57825460ff60a01b1916600160a01b1783556111aa61102e565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016111d993929190611e49565b600060405180830381600087803b1580156111f357600080fd5b505af1158015611207573d6000803e3d6000fd5b5050845460ff60a01b191685555061123f9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610615565b505050505050565b6001600160601b03828116600090815260016020526040908190209051631461054360e31b81526004810191909152908216602482015273__$0dc988b1672de335b826773df9015af2da$__9063a3082a18906044015b60006040518083038186803b1580156112b657600080fd5b505af415801561123f573d6000803e3d6000fd5b6001600160601b0382166000908152600160205260408082209051632bfdd6b960e01b815273__$0dc988b1672de335b826773df9015af2da$__91632bfdd6b99161132c919086906004019182526001600160601b0316602082015260400190565b602060405180830381865af4158015611349573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109459190611db7565b6001600160601b0381166000908152600260205260408082209051638b6233dd60e01b8152600481019190915273__$0dc988b1672de335b826773df9015af2da$__90638b6233dd90602401610756565b6113c66117fe565b6113cf81611849565b50565b6001600160601b038216600090815260016020526040808220905163e797d89960e01b815260048101919091526024810183905273__$0dc988b1672de335b826773df9015af2da$__9063e797d89990604401611100565b600080516020611edb83398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020016103ec565b6001600160601b0382811660009081526002602090815260408083206001909252918290209151631461054360e31b81526004810182905292841660248401529173__$0dc988b1672de335b826773df9015af2da$__9063a3082a189060440160006040518083038186803b1580156114fc57600080fd5b505af4158015611510573d6000803e3d6000fd5b5050604051631461054360e31b8152600481018490526001600160601b038616602482015273__$0dc988b1672de335b826773df9015af2da$__925063a3082a18915060440160006040518083038186803b15801561156e57600080fd5b505af4158015611582573d6000803e3d6000fd5b5050505050505050565b6001600160601b0381166000908152600160205260408082209051638b6233dd60e01b8152600481019190915273__$0dc988b1672de335b826773df9015af2da$__90638b6233dd90602401610756565b6001600160601b0382166000908152600260205260408082209051632bfdd6b960e01b815273__$0dc988b1672de335b826773df9015af2da$__91632bfdd6b99161132c919086906004019182526001600160601b0316602082015260400190565b6001600160601b0382811660009081526001602052604090819020905163539eabab60e11b81526004810191909152908216602482015273__$0dc988b1672de335b826773df9015af2da$__9063a73d57569060440161129e565b6001600160601b038216600090815260026020526040808220905163e797d89960e01b815260048101919091526024810183905273__$0dc988b1672de335b826773df9015af2da$__9063e797d89990604401611100565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516117619190611e89565b600060405180830381855afa9150503d806000811461179c576040519150601f19603f3d011682016040523d82523d6000602084013e6117a1565b606091505b509150915081156117f35760408151106117d357808060200190518101906117c99190611ea5565b90945092506117f3565b60208151106117f357808060200190518101906117f09190611db7565b93505b505094509492505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661184757604051631afcd79f60e31b815260040160405180910390fd5b565b6118516117fe565b6113cf8161142a565b6001600160601b03811681146113cf57600080fd5b60006020828403121561188157600080fd5b81356109458161185a565b6001600160a01b03811681146113cf57600080fd5b600080604083850312156118b457600080fd5b82356118bf8161188c565b915060208301356118cf8161188c565b809150509250929050565b600080604083850312156118ed57600080fd5b82356118f88161185a565b946020939093013593505050565b60006020828403121561191857600080fd5b81356109458161188c565b60008060006060848603121561193857600080fd5b83356119438161188c565b925060208401356119538161188c565b915060408401356119638161188c565b809150509250925092565b60006020828403121561198057600080fd5b81516109458161188c565b634e487b7160e01b600052604160045260246000fd5b604051610120810167ffffffffffffffff811182821017156119c5576119c561198b565b60405290565b604051610200810167ffffffffffffffff811182821017156119c5576119c561198b565b80516119fa8161185a565b919050565b600060408284031215611a1157600080fd5b6040516040810181811067ffffffffffffffff82111715611a3457611a3461198b565b604052825181526020928301519281019290925250919050565b60005b83811015611a69578181015183820152602001611a51565b50506000910152565b600082601f830112611a8357600080fd5b815167ffffffffffffffff80821115611a9e57611a9e61198b565b604051601f8301601f19908116603f01168101908282118183101715611ac657611ac661198b565b81604052838152866020858801011115611adf57600080fd5b611af0846020830160208901611a4e565b9695505050505050565b805164ffffffffff811681146119fa57600080fd5b600060208284031215611b2157600080fd5b815167ffffffffffffffff80821115611b3957600080fd5b908301906101408286031215611b4e57600080fd5b611b566119a1565b611b5f836119ef565b8152611b6e86602085016119ff565b6020820152606083015182811115611b8557600080fd5b611b9187828601611a72565b6040830152506080830151606082015260a0830151608082015260c083015160a0820152611bc160e08401611afa565b60c08201526101009150611bd6828401611afa565b60e0820152611be86101208401611afa565b91810191909152949350505050565b80516001600160c01b0319811681146119fa57600080fd5b805161ffff811681146119fa57600080fd5b600060208284031215611c3357600080fd5b815167ffffffffffffffff80821115611c4b57600080fd5b908301906102008286031215611c6057600080fd5b611c686119cb565b611c71836119ef565b8152611c7f602084016119ef565b6020820152611c9060408401611bf7565b6040820152611ca160608401611bf7565b60608201526080830151608082015260a083015160a082015260c083015160c0820152611cd060e08401611afa565b60e08201526101008084015183811115611ce957600080fd5b611cf588828701611a72565b8284015250506101208084015183811115611d0f57600080fd5b611d1b88828701611a72565b8284015250506101409150611d31828401611c0f565b828201526101609150611d45828401611c0f565b82820152610180915081830151828201526101a09150611d66828401611afa565b828201526101c09150611d7a828401611afa565b828201526101e09150611be8828401611afa565b600060208284031215611da057600080fd5b5051919050565b805180151581146119fa57600080fd5b600060208284031215611dc957600080fd5b61094582611da7565b600060208284031215611de457600080fd5b81516109458161185a565b60008085851115611dff57600080fd5b83861115611e0c57600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015611e415780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b60008251611e9b818460208701611a4e565b9190910192915050565b60008060408385031215611eb857600080fd5b611ec183611da7565b9150602083015163ffffffff811681146118cf57600080fdfef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212208636e413e8434df1051628917992b098075a7d79893621fef1a1c9a3596ec0f564736f6c63430008140033",
643
+ "linkReferences": {
644
+ "contracts/types/NftId.sol": {
645
+ "NftIdLib": [
646
+ {
647
+ "length": 20,
648
+ "start": 2835
649
+ }
650
+ ]
651
+ },
652
+ "contracts/types/NftIdSet.sol": {
653
+ "LibNftIdSet": [
654
+ {
655
+ "length": 20,
656
+ "start": 1656
657
+ },
658
+ {
659
+ "length": 20,
660
+ "start": 1896
661
+ },
662
+ {
663
+ "length": 20,
664
+ "start": 3683
665
+ },
666
+ {
667
+ "length": 20,
668
+ "start": 4370
669
+ },
670
+ {
671
+ "length": 20,
672
+ "start": 4784
673
+ },
674
+ {
675
+ "length": 20,
676
+ "start": 4897
677
+ },
678
+ {
679
+ "length": 20,
680
+ "start": 5068
681
+ },
682
+ {
683
+ "length": 20,
684
+ "start": 5176
685
+ },
686
+ {
687
+ "length": 20,
688
+ "start": 5367
689
+ },
690
+ {
691
+ "length": 20,
692
+ "start": 5479
693
+ },
694
+ {
695
+ "length": 20,
696
+ "start": 5611
697
+ },
698
+ {
699
+ "length": 20,
700
+ "start": 5684
701
+ },
702
+ {
703
+ "length": 20,
704
+ "start": 5800
705
+ },
706
+ {
707
+ "length": 20,
708
+ "start": 5888
709
+ }
710
+ ]
711
+ }
712
+ },
713
+ "deployedLinkReferences": {
714
+ "contracts/types/NftId.sol": {
715
+ "NftIdLib": [
716
+ {
717
+ "length": 20,
718
+ "start": 2787
719
+ }
720
+ ]
721
+ },
722
+ "contracts/types/NftIdSet.sol": {
723
+ "LibNftIdSet": [
724
+ {
725
+ "length": 20,
726
+ "start": 1608
727
+ },
728
+ {
729
+ "length": 20,
730
+ "start": 1848
731
+ },
732
+ {
733
+ "length": 20,
734
+ "start": 3635
735
+ },
736
+ {
737
+ "length": 20,
738
+ "start": 4322
739
+ },
740
+ {
741
+ "length": 20,
742
+ "start": 4736
743
+ },
744
+ {
745
+ "length": 20,
746
+ "start": 4849
747
+ },
748
+ {
749
+ "length": 20,
750
+ "start": 5020
751
+ },
752
+ {
753
+ "length": 20,
754
+ "start": 5128
755
+ },
756
+ {
757
+ "length": 20,
758
+ "start": 5319
759
+ },
760
+ {
761
+ "length": 20,
762
+ "start": 5431
763
+ },
764
+ {
765
+ "length": 20,
766
+ "start": 5563
767
+ },
768
+ {
769
+ "length": 20,
770
+ "start": 5636
771
+ },
772
+ {
773
+ "length": 20,
774
+ "start": 5752
775
+ },
776
+ {
777
+ "length": 20,
778
+ "start": 5840
779
+ }
780
+ ]
781
+ }
782
+ }
783
+ }