@etherisc/gif-next 0.0.2-cddad6b-504 → 0.0.2-ce3fd5e-324

Sign up to get free protection for your applications and to get access to all the features.
Files changed (575) hide show
  1. package/README.md +218 -39
  2. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  3. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1376 -0
  4. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  5. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1556 -0
  6. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  7. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +780 -0
  8. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +1000 -0
  10. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  11. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +840 -0
  12. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  13. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +778 -0
  14. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  15. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +295 -1649
  16. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  17. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +616 -0
  18. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  19. package/artifacts/contracts/instance/Instance.sol/Instance.json +470 -1918
  20. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  21. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +1348 -0
  22. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
  23. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +124 -0
  24. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  25. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1569 -0
  26. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  27. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +979 -0
  28. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  29. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +656 -0
  30. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +2837 -0
  32. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  33. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +190 -0
  34. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  35. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +76 -158
  36. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  37. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  38. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +120 -249
  39. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  40. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +38 -13
  41. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  42. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +256 -0
  43. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  44. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +237 -0
  45. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  46. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  47. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  48. package/artifacts/contracts/instance/module/{access/IAccess.sol/IAccess.json → IComponents.sol/IComponents.json} +2 -2
  49. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  50. package/artifacts/contracts/instance/module/{distribution/IDistribution.sol → IDistribution.sol}/IDistribution.json +1 -1
  51. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  52. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  53. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  54. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  55. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  56. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/ISetup.sol/ISetup.json} +2 -2
  57. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  58. package/artifacts/contracts/instance/module/{treasury/ITreasury.sol → ITreasury.sol}/ITreasury.json +1 -1
  59. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  60. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1288 -0
  61. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  62. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +696 -0
  63. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  64. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +735 -0
  65. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  66. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +1095 -0
  67. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  68. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1077 -0
  69. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  70. package/artifacts/contracts/pool/Pool.sol/Pool.json +1407 -0
  71. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  72. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1622 -0
  73. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  74. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +708 -0
  75. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  76. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +918 -0
  77. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  78. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +648 -0
  79. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  80. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1376 -0
  81. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  82. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +748 -0
  83. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  84. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +493 -0
  85. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  86. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +743 -0
  87. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  88. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IPolicyService.sol/IPolicyService.json} +364 -343
  89. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  90. package/artifacts/contracts/{components/IPoolComponent.sol/IPoolComponent.json → product/IPricingService.sol/IPricingService.json} +283 -260
  91. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  92. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +861 -0
  93. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  94. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IProductService.sol/IProductService.json} +217 -215
  95. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  96. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1281 -0
  97. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  98. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +740 -0
  99. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  100. package/artifacts/contracts/product/PricingService.sol/PricingService.json +1004 -0
  101. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  102. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +688 -0
  103. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  104. package/artifacts/contracts/product/Product.sol/Product.json +1198 -0
  105. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
  106. package/artifacts/contracts/product/ProductService.sol/ProductService.json +864 -0
  107. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  108. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +640 -0
  109. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  110. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +199 -12
  111. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  112. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +485 -34
  113. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  114. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +858 -0
  115. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  116. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +52 -0
  117. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  118. package/artifacts/contracts/registry/Registry.sol/Registry.json +491 -105
  119. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  120. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  121. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  122. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1150 -0
  123. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  124. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +657 -0
  125. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  126. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +559 -0
  127. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  128. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +485 -0
  129. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  130. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  131. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  132. package/artifacts/contracts/shared/Component.sol/Component.json +873 -0
  133. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  134. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +631 -0
  135. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  136. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  137. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  138. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +636 -0
  139. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  140. package/artifacts/contracts/{instance/module/component/ComponentModule.sol/ComponentModule.json → shared/INftOwnable.sol/INftOwnable.json} +64 -56
  141. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  142. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +189 -0
  143. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  144. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +91 -37
  145. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  146. package/artifacts/contracts/{registry → shared}/IRegistryLinked.sol/IRegistryLinked.json +13 -2
  147. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  148. package/artifacts/contracts/{instance/service/IDistributionService.sol/IDistributionService.json → shared/IService.sol/IService.json} +162 -160
  149. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  150. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +16 -125
  151. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  152. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +238 -0
  153. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  154. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +302 -0
  155. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  156. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +569 -0
  157. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  158. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +245 -27
  159. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  160. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  161. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  162. package/artifacts/contracts/{registry/IChainNft.sol/IChainNft.json → shared/Service.sol/Service.json} +256 -220
  163. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  164. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +114 -0
  165. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  166. package/artifacts/contracts/shared/{Proxy.sol/ProxyWithProxyAdminGetter.json → UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json} +4 -4
  167. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  168. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +29 -115
  169. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  170. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +523 -0
  171. package/artifacts/contracts/staking/StakeingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  172. package/artifacts/contracts/staking/StakeingServiceManager.sol/StakingServiceManager.json +628 -0
  173. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  174. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +767 -0
  175. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  176. package/artifacts/contracts/{types → type}/AddressSet.sol/LibAddressSet.json +3 -3
  177. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  178. package/artifacts/contracts/type/Amount.sol/AmountLib.json +281 -0
  179. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  180. package/artifacts/contracts/{types → type}/Blocknumber.sol/BlocknumberLib.json +3 -3
  181. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  182. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  183. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  184. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  185. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  186. package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
  187. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  188. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  189. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  190. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +166 -0
  191. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  192. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  193. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  194. package/artifacts/contracts/{types → type}/ObjectType.sol/ObjectTypeLib.json +3 -3
  195. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  196. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  197. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  198. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  199. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  200. package/artifacts/contracts/{types → type}/RiskId.sol/RiskIdLib.json +5 -5
  201. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  202. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +156 -0
  203. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  204. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +124 -0
  205. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  206. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  207. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  208. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +280 -0
  209. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  210. package/artifacts/contracts/{types/ChainId.sol/ChainIdLib.json → type/UFixed.sol/MathLib.json} +4 -4
  211. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  212. package/artifacts/contracts/{types/UFixed.sol/UFixedMathLib.json → type/UFixed.sol/UFixedLib.json} +4 -4
  213. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  214. package/artifacts/contracts/type/Version.sol/VersionLib.json +177 -0
  215. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  216. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +49 -0
  217. package/contracts/distribution/Distribution.sol +285 -0
  218. package/contracts/distribution/DistributionService.sol +349 -0
  219. package/contracts/distribution/DistributionServiceManager.sol +51 -0
  220. package/contracts/distribution/IDistributionComponent.sol +71 -0
  221. package/contracts/distribution/IDistributionService.sol +87 -0
  222. package/contracts/instance/BundleManager.sol +126 -0
  223. package/contracts/instance/IInstance.sol +68 -44
  224. package/contracts/instance/IInstanceService.sol +73 -0
  225. package/contracts/instance/Instance.sol +214 -59
  226. package/contracts/instance/InstanceAccessManager.sol +543 -0
  227. package/contracts/instance/InstanceAuthorizationsLib.sol +308 -0
  228. package/contracts/instance/InstanceReader.sol +368 -0
  229. package/contracts/instance/InstanceService.sol +308 -0
  230. package/contracts/instance/InstanceServiceManager.sol +54 -0
  231. package/contracts/instance/InstanceStore.sol +211 -0
  232. package/contracts/instance/base/Cloneable.sol +51 -0
  233. package/contracts/instance/base/IKeyValueStore.sol +22 -19
  234. package/contracts/instance/base/ILifecycle.sol +4 -4
  235. package/contracts/instance/base/KeyValueStore.sol +61 -54
  236. package/contracts/instance/base/Lifecycle.sol +28 -8
  237. package/contracts/instance/base/ObjectManager.sol +82 -0
  238. package/contracts/instance/module/IAccess.sol +54 -0
  239. package/contracts/instance/module/IBundle.sol +23 -0
  240. package/contracts/instance/module/IComponents.sol +41 -0
  241. package/contracts/instance/module/IDistribution.sol +42 -0
  242. package/contracts/instance/module/IPolicy.sol +77 -0
  243. package/contracts/instance/module/IRisk.sol +11 -0
  244. package/contracts/instance/module/ISetup.sol +33 -0
  245. package/contracts/instance/module/ITreasury.sol +23 -0
  246. package/contracts/pool/BundleService.sol +382 -0
  247. package/contracts/pool/BundleServiceManager.sol +51 -0
  248. package/contracts/pool/IBundleService.sol +118 -0
  249. package/contracts/pool/IPoolComponent.sol +114 -0
  250. package/contracts/pool/IPoolService.sol +114 -0
  251. package/contracts/pool/Pool.sol +302 -0
  252. package/contracts/pool/PoolService.sol +403 -0
  253. package/contracts/pool/PoolServiceManager.sol +51 -0
  254. package/contracts/product/ApplicationService.sol +186 -0
  255. package/contracts/product/ApplicationServiceManager.sol +35 -0
  256. package/contracts/product/ClaimService.sol +437 -0
  257. package/contracts/product/ClaimServiceManager.sol +35 -0
  258. package/contracts/product/IApplicationService.sol +62 -0
  259. package/contracts/product/IClaimService.sol +90 -0
  260. package/contracts/product/IPolicyService.sol +80 -0
  261. package/contracts/product/IPricingService.sol +37 -0
  262. package/contracts/product/IProductComponent.sol +41 -0
  263. package/contracts/product/IProductService.sol +40 -0
  264. package/contracts/product/PolicyService.sol +376 -0
  265. package/contracts/product/PolicyServiceManager.sol +54 -0
  266. package/contracts/product/PricingService.sol +275 -0
  267. package/contracts/product/PricingServiceManager.sol +51 -0
  268. package/contracts/product/Product.sol +375 -0
  269. package/contracts/product/ProductService.sol +210 -0
  270. package/contracts/product/ProductServiceManager.sol +54 -0
  271. package/contracts/registry/ChainNft.sol +87 -36
  272. package/contracts/registry/IRegistry.sol +71 -27
  273. package/contracts/registry/IRegistryService.sol +66 -0
  274. package/contracts/registry/ITransferInterceptor.sol +7 -0
  275. package/contracts/registry/Registry.sol +372 -286
  276. package/contracts/registry/RegistryAccessManager.sol +216 -0
  277. package/contracts/registry/RegistryService.sol +285 -0
  278. package/contracts/registry/RegistryServiceManager.sol +60 -0
  279. package/contracts/registry/ReleaseManager.sol +328 -0
  280. package/contracts/registry/TokenRegistry.sol +116 -0
  281. package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +13 -0
  282. package/contracts/shared/Component.sol +271 -0
  283. package/contracts/shared/ComponentService.sol +150 -0
  284. package/contracts/shared/ERC165.sol +14 -8
  285. package/contracts/shared/IComponent.sol +90 -0
  286. package/contracts/shared/INftOwnable.sol +23 -0
  287. package/contracts/shared/IPolicyHolder.sol +40 -0
  288. package/contracts/shared/IRegisterable.sol +10 -19
  289. package/contracts/shared/IRegistryLinked.sol +11 -0
  290. package/contracts/shared/IService.sol +18 -0
  291. package/contracts/shared/IVersionable.sol +38 -37
  292. package/contracts/shared/NftOwnable.sol +118 -0
  293. package/contracts/shared/PolicyHolder.sol +94 -0
  294. package/contracts/shared/ProxyManager.sol +169 -0
  295. package/contracts/shared/Registerable.sol +54 -65
  296. package/contracts/shared/RegistryLinked.sol +43 -0
  297. package/contracts/shared/Service.sol +72 -0
  298. package/contracts/shared/TokenHandler.sol +35 -0
  299. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  300. package/contracts/shared/Versionable.sol +38 -68
  301. package/contracts/staking/IStakingService.sol +102 -0
  302. package/contracts/staking/StakeingServiceManager.sol +37 -0
  303. package/contracts/staking/StakingService.sol +166 -0
  304. package/contracts/type/Amount.sol +109 -0
  305. package/contracts/{types → type}/Blocknumber.sol +1 -0
  306. package/contracts/type/ClaimId.sol +75 -0
  307. package/contracts/type/DistributorType.sol +55 -0
  308. package/contracts/{types → type}/Fee.sol +19 -10
  309. package/contracts/{types → type}/Key32.sol +8 -3
  310. package/contracts/{types → type}/NftId.sol +8 -0
  311. package/contracts/type/NftIdSet.sol +62 -0
  312. package/contracts/{types → type}/ObjectType.sol +45 -14
  313. package/contracts/type/PayoutId.sol +82 -0
  314. package/contracts/type/Referral.sol +89 -0
  315. package/contracts/type/RoleId.sol +132 -0
  316. package/contracts/type/Seconds.sol +54 -0
  317. package/contracts/{types → type}/StateId.sol +12 -3
  318. package/contracts/{types → type}/Timestamp.sol +22 -13
  319. package/contracts/{types → type}/UFixed.sol +129 -12
  320. package/contracts/{types → type}/Version.sol +14 -1
  321. package/package.json +6 -5
  322. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  323. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -174
  324. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  325. package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -405
  326. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  327. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -174
  328. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  329. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -340
  330. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  331. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  332. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -370
  333. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  334. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -578
  335. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  336. package/artifacts/contracts/components/Product.sol/Product.json +0 -444
  337. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  338. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  339. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  340. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  341. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  342. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  343. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  344. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  345. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  346. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  347. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  348. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  349. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  350. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  351. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  352. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  353. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  354. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  355. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  356. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  357. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  358. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  359. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  360. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  361. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  362. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  363. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  364. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  365. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  366. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  367. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  368. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  369. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  370. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  371. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  372. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  373. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  374. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +0 -300
  375. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  376. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  377. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  378. package/artifacts/contracts/instance/base/IService.sol/IService.json +0 -300
  379. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  380. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.json +0 -376
  381. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  382. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  383. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +0 -300
  384. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  385. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  386. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  387. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  388. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  389. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  390. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -297
  391. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  392. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  393. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -297
  394. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  395. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  396. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  397. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  398. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -117
  399. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +0 -4
  400. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +0 -10
  401. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +0 -4
  402. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +0 -4
  403. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.json +0 -10
  404. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  405. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  406. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -284
  407. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  408. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -284
  409. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  410. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  411. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  412. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -144
  413. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  414. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -144
  415. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  416. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  417. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -113
  418. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  419. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -131
  420. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  421. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  422. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -511
  423. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  424. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  425. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  426. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -511
  427. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  428. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -531
  429. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  430. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -420
  431. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  432. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +0 -364
  433. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  434. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  435. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  436. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  437. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -543
  438. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  439. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -858
  440. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  441. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  442. package/artifacts/contracts/registry/RegistryUpgradeable.sol/RegistryUpgradeable.dbg.json +0 -4
  443. package/artifacts/contracts/registry/RegistryUpgradeable.sol/RegistryUpgradeable.json +0 -495
  444. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  445. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
  446. package/artifacts/contracts/shared/Proxy.sol/Proxy.dbg.json +0 -4
  447. package/artifacts/contracts/shared/Proxy.sol/Proxy.json +0 -178
  448. package/artifacts/contracts/shared/Proxy.sol/ProxyWithProxyAdminGetter.dbg.json +0 -4
  449. package/artifacts/contracts/shared/VersionableUpgradeable.sol/VersionableUpgradeable.dbg.json +0 -4
  450. package/artifacts/contracts/shared/VersionableUpgradeable.sol/VersionableUpgradeable.json +0 -187
  451. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +0 -4
  452. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +0 -405
  453. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  454. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  455. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  456. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -578
  457. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  458. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -575
  459. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  460. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -137
  461. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  462. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  463. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  464. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -379
  465. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  466. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -338
  467. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  468. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  469. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  470. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -206
  471. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  472. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -338
  473. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  474. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  475. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  476. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  477. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  478. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  479. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -111
  480. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  481. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  482. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  483. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  484. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  485. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +0 -4
  486. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.json +0 -99
  487. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  488. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  489. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -30
  490. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  491. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  492. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -236
  493. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  494. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  495. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -139
  496. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  497. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -30
  498. package/contracts/components/BaseComponent.sol +0 -94
  499. package/contracts/components/Distribution.sol +0 -132
  500. package/contracts/components/IBaseComponent.sol +0 -19
  501. package/contracts/components/IDistributionComponent.sol +0 -47
  502. package/contracts/components/IPoolComponent.sol +0 -71
  503. package/contracts/components/IProductComponent.sol +0 -38
  504. package/contracts/components/Pool.sol +0 -235
  505. package/contracts/components/Product.sol +0 -227
  506. package/contracts/experiment/errors/Require.sol +0 -38
  507. package/contracts/experiment/errors/Revert.sol +0 -44
  508. package/contracts/experiment/inheritance/A.sol +0 -53
  509. package/contracts/experiment/inheritance/B.sol +0 -28
  510. package/contracts/experiment/inheritance/C.sol +0 -34
  511. package/contracts/experiment/inheritance/IA.sol +0 -13
  512. package/contracts/experiment/inheritance/IB.sol +0 -10
  513. package/contracts/experiment/inheritance/IC.sol +0 -12
  514. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  515. package/contracts/experiment/statemachine/ISM.sol +0 -25
  516. package/contracts/experiment/statemachine/README.md +0 -112
  517. package/contracts/experiment/statemachine/SM.sol +0 -57
  518. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  519. package/contracts/experiment/types/TypeA.sol +0 -47
  520. package/contracts/experiment/types/TypeB.sol +0 -29
  521. package/contracts/instance/IInstanceLinked.sol +0 -8
  522. package/contracts/instance/base/ComponentServiceBase.sol +0 -42
  523. package/contracts/instance/base/IInstanceBase.sol +0 -22
  524. package/contracts/instance/base/IService.sol +0 -15
  525. package/contracts/instance/base/InstanceBase.sol +0 -91
  526. package/contracts/instance/base/ModuleBase.sol +0 -57
  527. package/contracts/instance/base/ServiceBase.sol +0 -37
  528. package/contracts/instance/module/access/Access.sol +0 -149
  529. package/contracts/instance/module/access/IAccess.sol +0 -53
  530. package/contracts/instance/module/bundle/BundleModule.sol +0 -134
  531. package/contracts/instance/module/bundle/IBundle.sol +0 -53
  532. package/contracts/instance/module/component/ComponentModule.sol +0 -70
  533. package/contracts/instance/module/component/IComponent.sol +0 -28
  534. package/contracts/instance/module/distribution/DistributionModule.sol +0 -17
  535. package/contracts/instance/module/distribution/IDistribution.sol +0 -10
  536. package/contracts/instance/module/policy/IPolicy.sol +0 -63
  537. package/contracts/instance/module/policy/PolicyModule.sol +0 -91
  538. package/contracts/instance/module/pool/IPoolModule.sol +0 -40
  539. package/contracts/instance/module/pool/PoolModule.sol +0 -90
  540. package/contracts/instance/module/risk/IRisk.sol +0 -26
  541. package/contracts/instance/module/risk/RiskModule.sol +0 -62
  542. package/contracts/instance/module/treasury/ITreasury.sol +0 -82
  543. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  544. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -138
  545. package/contracts/instance/service/ComponentOwnerService.sol +0 -157
  546. package/contracts/instance/service/DistributionService.sol +0 -59
  547. package/contracts/instance/service/IComponentOwnerService.sol +0 -22
  548. package/contracts/instance/service/IDistributionService.sol +0 -12
  549. package/contracts/instance/service/IPoolService.sol +0 -37
  550. package/contracts/instance/service/IProductService.sol +0 -107
  551. package/contracts/instance/service/PoolService.sol +0 -149
  552. package/contracts/instance/service/ProductService.sol +0 -509
  553. package/contracts/registry/IChainNft.sol +0 -21
  554. package/contracts/registry/IRegistryLinked.sol +0 -8
  555. package/contracts/registry/RegistryUpgradeable.sol +0 -416
  556. package/contracts/shared/IOwnable.sol +0 -6
  557. package/contracts/shared/Proxy.sol +0 -83
  558. package/contracts/shared/VersionableUpgradeable.sol +0 -108
  559. package/contracts/test/TestDistribution.sol +0 -21
  560. package/contracts/test/TestFee.sol +0 -25
  561. package/contracts/test/TestPool.sol +0 -25
  562. package/contracts/test/TestProduct.sol +0 -72
  563. package/contracts/test/TestRegisterable.sol +0 -19
  564. package/contracts/test/TestRoleId.sol +0 -14
  565. package/contracts/test/TestService.sol +0 -32
  566. package/contracts/test/TestToken.sol +0 -26
  567. package/contracts/test/TestVersion.sol +0 -44
  568. package/contracts/test/TestVersionable.sol +0 -17
  569. package/contracts/test/Usdc.sol +0 -26
  570. package/contracts/types/ChainId.sol +0 -38
  571. package/contracts/types/NftIdSet.sol +0 -60
  572. package/contracts/types/ReferralId.sol +0 -48
  573. package/contracts/types/RoleId.sol +0 -38
  574. /package/contracts/{types → type}/AddressSet.sol +0 -0
  575. /package/contracts/{types → type}/RiskId.sol +0 -0
@@ -0,0 +1,1150 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "RegistryService",
4
+ "sourceName": "contracts/registry/RegistryService.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": "NftId",
48
+ "name": "nftId",
49
+ "type": "uint96"
50
+ }
51
+ ],
52
+ "name": "ErrorNftOwnableAlreadyLinked",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "address",
59
+ "name": "contractAddress",
60
+ "type": "address"
61
+ }
62
+ ],
63
+ "name": "ErrorNftOwnableContractNotRegistered",
64
+ "type": "error"
65
+ },
66
+ {
67
+ "inputs": [],
68
+ "name": "ErrorNftOwnableInitialOwnerZero",
69
+ "type": "error"
70
+ },
71
+ {
72
+ "inputs": [
73
+ {
74
+ "internalType": "address",
75
+ "name": "account",
76
+ "type": "address"
77
+ }
78
+ ],
79
+ "name": "ErrorNftOwnableNotOwner",
80
+ "type": "error"
81
+ },
82
+ {
83
+ "inputs": [
84
+ {
85
+ "internalType": "address",
86
+ "name": "registryAddress",
87
+ "type": "address"
88
+ }
89
+ ],
90
+ "name": "ErrorNotRegistry",
91
+ "type": "error"
92
+ },
93
+ {
94
+ "inputs": [],
95
+ "name": "ErrorServiceNotImplemented",
96
+ "type": "error"
97
+ },
98
+ {
99
+ "inputs": [
100
+ {
101
+ "internalType": "address",
102
+ "name": "registerableAddress",
103
+ "type": "address"
104
+ }
105
+ ],
106
+ "name": "InvalidAddress",
107
+ "type": "error"
108
+ },
109
+ {
110
+ "inputs": [
111
+ {
112
+ "internalType": "address",
113
+ "name": "initialOwner",
114
+ "type": "address"
115
+ }
116
+ ],
117
+ "name": "InvalidInitialOwner",
118
+ "type": "error"
119
+ },
120
+ {
121
+ "inputs": [],
122
+ "name": "InvalidInitialization",
123
+ "type": "error"
124
+ },
125
+ {
126
+ "inputs": [],
127
+ "name": "NotDistribution",
128
+ "type": "error"
129
+ },
130
+ {
131
+ "inputs": [],
132
+ "name": "NotInitializing",
133
+ "type": "error"
134
+ },
135
+ {
136
+ "inputs": [],
137
+ "name": "NotInstance",
138
+ "type": "error"
139
+ },
140
+ {
141
+ "inputs": [],
142
+ "name": "NotPool",
143
+ "type": "error"
144
+ },
145
+ {
146
+ "inputs": [],
147
+ "name": "NotProduct",
148
+ "type": "error"
149
+ },
150
+ {
151
+ "inputs": [
152
+ {
153
+ "internalType": "address",
154
+ "name": "expectedOwner",
155
+ "type": "address"
156
+ }
157
+ ],
158
+ "name": "NotRegisterableOwner",
159
+ "type": "error"
160
+ },
161
+ {
162
+ "inputs": [],
163
+ "name": "NotRegistryOwner",
164
+ "type": "error"
165
+ },
166
+ {
167
+ "inputs": [],
168
+ "name": "NotService",
169
+ "type": "error"
170
+ },
171
+ {
172
+ "inputs": [],
173
+ "name": "RegisterableOwnerIsRegistered",
174
+ "type": "error"
175
+ },
176
+ {
177
+ "inputs": [],
178
+ "name": "RegisterableOwnerIsZero",
179
+ "type": "error"
180
+ },
181
+ {
182
+ "inputs": [],
183
+ "name": "SelfRegistration",
184
+ "type": "error"
185
+ },
186
+ {
187
+ "inputs": [
188
+ {
189
+ "internalType": "ObjectType",
190
+ "name": "expected",
191
+ "type": "uint8"
192
+ },
193
+ {
194
+ "internalType": "ObjectType",
195
+ "name": "found",
196
+ "type": "uint8"
197
+ }
198
+ ],
199
+ "name": "UnexpectedRegisterableType",
200
+ "type": "error"
201
+ },
202
+ {
203
+ "anonymous": false,
204
+ "inputs": [
205
+ {
206
+ "indexed": false,
207
+ "internalType": "address",
208
+ "name": "authority",
209
+ "type": "address"
210
+ }
211
+ ],
212
+ "name": "AuthorityUpdated",
213
+ "type": "event"
214
+ },
215
+ {
216
+ "anonymous": false,
217
+ "inputs": [
218
+ {
219
+ "indexed": false,
220
+ "internalType": "uint64",
221
+ "name": "version",
222
+ "type": "uint64"
223
+ }
224
+ ],
225
+ "name": "Initialized",
226
+ "type": "event"
227
+ },
228
+ {
229
+ "inputs": [],
230
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
231
+ "outputs": [
232
+ {
233
+ "internalType": "bytes32",
234
+ "name": "",
235
+ "type": "bytes32"
236
+ }
237
+ ],
238
+ "stateMutability": "view",
239
+ "type": "function"
240
+ },
241
+ {
242
+ "inputs": [],
243
+ "name": "REGISTERABLE_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": "REGISTRY_CREATION_CODE_HASH",
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
+ "name": "getDomain",
283
+ "outputs": [
284
+ {
285
+ "internalType": "ObjectType",
286
+ "name": "serviceDomain",
287
+ "type": "uint8"
288
+ }
289
+ ],
290
+ "stateMutability": "pure",
291
+ "type": "function"
292
+ },
293
+ {
294
+ "inputs": [],
295
+ "name": "getFunctionConfigs",
296
+ "outputs": [
297
+ {
298
+ "components": [
299
+ {
300
+ "internalType": "ObjectType",
301
+ "name": "serviceDomain",
302
+ "type": "uint8"
303
+ },
304
+ {
305
+ "internalType": "bytes4[]",
306
+ "name": "selectors",
307
+ "type": "bytes4[]"
308
+ }
309
+ ],
310
+ "internalType": "struct IRegistryService.FunctionConfig[]",
311
+ "name": "config",
312
+ "type": "tuple[]"
313
+ }
314
+ ],
315
+ "stateMutability": "pure",
316
+ "type": "function"
317
+ },
318
+ {
319
+ "inputs": [],
320
+ "name": "getInitialInfo",
321
+ "outputs": [
322
+ {
323
+ "components": [
324
+ {
325
+ "internalType": "NftId",
326
+ "name": "nftId",
327
+ "type": "uint96"
328
+ },
329
+ {
330
+ "internalType": "NftId",
331
+ "name": "parentNftId",
332
+ "type": "uint96"
333
+ },
334
+ {
335
+ "internalType": "ObjectType",
336
+ "name": "objectType",
337
+ "type": "uint8"
338
+ },
339
+ {
340
+ "internalType": "bool",
341
+ "name": "isInterceptor",
342
+ "type": "bool"
343
+ },
344
+ {
345
+ "internalType": "address",
346
+ "name": "objectAddress",
347
+ "type": "address"
348
+ },
349
+ {
350
+ "internalType": "address",
351
+ "name": "initialOwner",
352
+ "type": "address"
353
+ },
354
+ {
355
+ "internalType": "bytes",
356
+ "name": "data",
357
+ "type": "bytes"
358
+ }
359
+ ],
360
+ "internalType": "struct IRegistry.ObjectInfo",
361
+ "name": "info",
362
+ "type": "tuple"
363
+ }
364
+ ],
365
+ "stateMutability": "view",
366
+ "type": "function"
367
+ },
368
+ {
369
+ "inputs": [],
370
+ "name": "getNftId",
371
+ "outputs": [
372
+ {
373
+ "internalType": "NftId",
374
+ "name": "",
375
+ "type": "uint96"
376
+ }
377
+ ],
378
+ "stateMutability": "view",
379
+ "type": "function"
380
+ },
381
+ {
382
+ "inputs": [],
383
+ "name": "getOwner",
384
+ "outputs": [
385
+ {
386
+ "internalType": "address",
387
+ "name": "",
388
+ "type": "address"
389
+ }
390
+ ],
391
+ "stateMutability": "view",
392
+ "type": "function"
393
+ },
394
+ {
395
+ "inputs": [],
396
+ "name": "getRegistry",
397
+ "outputs": [
398
+ {
399
+ "internalType": "contract IRegistry",
400
+ "name": "",
401
+ "type": "address"
402
+ }
403
+ ],
404
+ "stateMutability": "view",
405
+ "type": "function"
406
+ },
407
+ {
408
+ "inputs": [],
409
+ "name": "getVersion",
410
+ "outputs": [
411
+ {
412
+ "internalType": "Version",
413
+ "name": "",
414
+ "type": "uint24"
415
+ }
416
+ ],
417
+ "stateMutability": "pure",
418
+ "type": "function"
419
+ },
420
+ {
421
+ "inputs": [],
422
+ "name": "initializeERC165",
423
+ "outputs": [],
424
+ "stateMutability": "nonpayable",
425
+ "type": "function"
426
+ },
427
+ {
428
+ "inputs": [
429
+ {
430
+ "internalType": "address",
431
+ "name": "initialOwner",
432
+ "type": "address"
433
+ },
434
+ {
435
+ "internalType": "address",
436
+ "name": "registryAddress",
437
+ "type": "address"
438
+ }
439
+ ],
440
+ "name": "initializeNftOwnable",
441
+ "outputs": [],
442
+ "stateMutability": "nonpayable",
443
+ "type": "function"
444
+ },
445
+ {
446
+ "inputs": [
447
+ {
448
+ "internalType": "address",
449
+ "name": "registryAddress",
450
+ "type": "address"
451
+ },
452
+ {
453
+ "internalType": "NftId",
454
+ "name": "parentNftId",
455
+ "type": "uint96"
456
+ },
457
+ {
458
+ "internalType": "ObjectType",
459
+ "name": "objectType",
460
+ "type": "uint8"
461
+ },
462
+ {
463
+ "internalType": "bool",
464
+ "name": "isInterceptor",
465
+ "type": "bool"
466
+ },
467
+ {
468
+ "internalType": "address",
469
+ "name": "initialOwner",
470
+ "type": "address"
471
+ },
472
+ {
473
+ "internalType": "bytes",
474
+ "name": "registryData",
475
+ "type": "bytes"
476
+ }
477
+ ],
478
+ "name": "initializeRegisterable",
479
+ "outputs": [],
480
+ "stateMutability": "nonpayable",
481
+ "type": "function"
482
+ },
483
+ {
484
+ "inputs": [
485
+ {
486
+ "internalType": "address",
487
+ "name": "registryAddress",
488
+ "type": "address"
489
+ }
490
+ ],
491
+ "name": "initializeRegistryLinked",
492
+ "outputs": [],
493
+ "stateMutability": "nonpayable",
494
+ "type": "function"
495
+ },
496
+ {
497
+ "inputs": [
498
+ {
499
+ "internalType": "address",
500
+ "name": "registry",
501
+ "type": "address"
502
+ },
503
+ {
504
+ "internalType": "address",
505
+ "name": "authority",
506
+ "type": "address"
507
+ },
508
+ {
509
+ "internalType": "address",
510
+ "name": "initialOwner",
511
+ "type": "address"
512
+ }
513
+ ],
514
+ "name": "initializeService",
515
+ "outputs": [],
516
+ "stateMutability": "nonpayable",
517
+ "type": "function"
518
+ },
519
+ {
520
+ "inputs": [
521
+ {
522
+ "internalType": "address",
523
+ "name": "activatedBy",
524
+ "type": "address"
525
+ },
526
+ {
527
+ "internalType": "bytes",
528
+ "name": "data",
529
+ "type": "bytes"
530
+ }
531
+ ],
532
+ "name": "initializeVersionable",
533
+ "outputs": [],
534
+ "stateMutability": "nonpayable",
535
+ "type": "function"
536
+ },
537
+ {
538
+ "inputs": [],
539
+ "name": "isConsumingScheduledOp",
540
+ "outputs": [
541
+ {
542
+ "internalType": "bytes4",
543
+ "name": "",
544
+ "type": "bytes4"
545
+ }
546
+ ],
547
+ "stateMutability": "view",
548
+ "type": "function"
549
+ },
550
+ {
551
+ "inputs": [],
552
+ "name": "linkToRegisteredNftId",
553
+ "outputs": [],
554
+ "stateMutability": "nonpayable",
555
+ "type": "function"
556
+ },
557
+ {
558
+ "inputs": [
559
+ {
560
+ "components": [
561
+ {
562
+ "internalType": "NftId",
563
+ "name": "nftId",
564
+ "type": "uint96"
565
+ },
566
+ {
567
+ "internalType": "NftId",
568
+ "name": "parentNftId",
569
+ "type": "uint96"
570
+ },
571
+ {
572
+ "internalType": "ObjectType",
573
+ "name": "objectType",
574
+ "type": "uint8"
575
+ },
576
+ {
577
+ "internalType": "bool",
578
+ "name": "isInterceptor",
579
+ "type": "bool"
580
+ },
581
+ {
582
+ "internalType": "address",
583
+ "name": "objectAddress",
584
+ "type": "address"
585
+ },
586
+ {
587
+ "internalType": "address",
588
+ "name": "initialOwner",
589
+ "type": "address"
590
+ },
591
+ {
592
+ "internalType": "bytes",
593
+ "name": "data",
594
+ "type": "bytes"
595
+ }
596
+ ],
597
+ "internalType": "struct IRegistry.ObjectInfo",
598
+ "name": "info",
599
+ "type": "tuple"
600
+ }
601
+ ],
602
+ "name": "registerBundle",
603
+ "outputs": [
604
+ {
605
+ "internalType": "NftId",
606
+ "name": "nftId",
607
+ "type": "uint96"
608
+ }
609
+ ],
610
+ "stateMutability": "nonpayable",
611
+ "type": "function"
612
+ },
613
+ {
614
+ "inputs": [
615
+ {
616
+ "internalType": "contract IComponent",
617
+ "name": "distribution",
618
+ "type": "address"
619
+ },
620
+ {
621
+ "internalType": "address",
622
+ "name": "owner",
623
+ "type": "address"
624
+ }
625
+ ],
626
+ "name": "registerDistribution",
627
+ "outputs": [
628
+ {
629
+ "components": [
630
+ {
631
+ "internalType": "NftId",
632
+ "name": "nftId",
633
+ "type": "uint96"
634
+ },
635
+ {
636
+ "internalType": "NftId",
637
+ "name": "parentNftId",
638
+ "type": "uint96"
639
+ },
640
+ {
641
+ "internalType": "ObjectType",
642
+ "name": "objectType",
643
+ "type": "uint8"
644
+ },
645
+ {
646
+ "internalType": "bool",
647
+ "name": "isInterceptor",
648
+ "type": "bool"
649
+ },
650
+ {
651
+ "internalType": "address",
652
+ "name": "objectAddress",
653
+ "type": "address"
654
+ },
655
+ {
656
+ "internalType": "address",
657
+ "name": "initialOwner",
658
+ "type": "address"
659
+ },
660
+ {
661
+ "internalType": "bytes",
662
+ "name": "data",
663
+ "type": "bytes"
664
+ }
665
+ ],
666
+ "internalType": "struct IRegistry.ObjectInfo",
667
+ "name": "info",
668
+ "type": "tuple"
669
+ }
670
+ ],
671
+ "stateMutability": "nonpayable",
672
+ "type": "function"
673
+ },
674
+ {
675
+ "inputs": [
676
+ {
677
+ "components": [
678
+ {
679
+ "internalType": "NftId",
680
+ "name": "nftId",
681
+ "type": "uint96"
682
+ },
683
+ {
684
+ "internalType": "NftId",
685
+ "name": "parentNftId",
686
+ "type": "uint96"
687
+ },
688
+ {
689
+ "internalType": "ObjectType",
690
+ "name": "objectType",
691
+ "type": "uint8"
692
+ },
693
+ {
694
+ "internalType": "bool",
695
+ "name": "isInterceptor",
696
+ "type": "bool"
697
+ },
698
+ {
699
+ "internalType": "address",
700
+ "name": "objectAddress",
701
+ "type": "address"
702
+ },
703
+ {
704
+ "internalType": "address",
705
+ "name": "initialOwner",
706
+ "type": "address"
707
+ },
708
+ {
709
+ "internalType": "bytes",
710
+ "name": "data",
711
+ "type": "bytes"
712
+ }
713
+ ],
714
+ "internalType": "struct IRegistry.ObjectInfo",
715
+ "name": "info",
716
+ "type": "tuple"
717
+ }
718
+ ],
719
+ "name": "registerDistributor",
720
+ "outputs": [
721
+ {
722
+ "internalType": "NftId",
723
+ "name": "nftId",
724
+ "type": "uint96"
725
+ }
726
+ ],
727
+ "stateMutability": "nonpayable",
728
+ "type": "function"
729
+ },
730
+ {
731
+ "inputs": [
732
+ {
733
+ "internalType": "contract IRegisterable",
734
+ "name": "instance",
735
+ "type": "address"
736
+ },
737
+ {
738
+ "internalType": "address",
739
+ "name": "owner",
740
+ "type": "address"
741
+ }
742
+ ],
743
+ "name": "registerInstance",
744
+ "outputs": [
745
+ {
746
+ "components": [
747
+ {
748
+ "internalType": "NftId",
749
+ "name": "nftId",
750
+ "type": "uint96"
751
+ },
752
+ {
753
+ "internalType": "NftId",
754
+ "name": "parentNftId",
755
+ "type": "uint96"
756
+ },
757
+ {
758
+ "internalType": "ObjectType",
759
+ "name": "objectType",
760
+ "type": "uint8"
761
+ },
762
+ {
763
+ "internalType": "bool",
764
+ "name": "isInterceptor",
765
+ "type": "bool"
766
+ },
767
+ {
768
+ "internalType": "address",
769
+ "name": "objectAddress",
770
+ "type": "address"
771
+ },
772
+ {
773
+ "internalType": "address",
774
+ "name": "initialOwner",
775
+ "type": "address"
776
+ },
777
+ {
778
+ "internalType": "bytes",
779
+ "name": "data",
780
+ "type": "bytes"
781
+ }
782
+ ],
783
+ "internalType": "struct IRegistry.ObjectInfo",
784
+ "name": "info",
785
+ "type": "tuple"
786
+ }
787
+ ],
788
+ "stateMutability": "nonpayable",
789
+ "type": "function"
790
+ },
791
+ {
792
+ "inputs": [
793
+ {
794
+ "internalType": "bytes4",
795
+ "name": "interfaceId",
796
+ "type": "bytes4"
797
+ }
798
+ ],
799
+ "name": "registerInterface",
800
+ "outputs": [],
801
+ "stateMutability": "nonpayable",
802
+ "type": "function"
803
+ },
804
+ {
805
+ "inputs": [
806
+ {
807
+ "components": [
808
+ {
809
+ "internalType": "NftId",
810
+ "name": "nftId",
811
+ "type": "uint96"
812
+ },
813
+ {
814
+ "internalType": "NftId",
815
+ "name": "parentNftId",
816
+ "type": "uint96"
817
+ },
818
+ {
819
+ "internalType": "ObjectType",
820
+ "name": "objectType",
821
+ "type": "uint8"
822
+ },
823
+ {
824
+ "internalType": "bool",
825
+ "name": "isInterceptor",
826
+ "type": "bool"
827
+ },
828
+ {
829
+ "internalType": "address",
830
+ "name": "objectAddress",
831
+ "type": "address"
832
+ },
833
+ {
834
+ "internalType": "address",
835
+ "name": "initialOwner",
836
+ "type": "address"
837
+ },
838
+ {
839
+ "internalType": "bytes",
840
+ "name": "data",
841
+ "type": "bytes"
842
+ }
843
+ ],
844
+ "internalType": "struct IRegistry.ObjectInfo",
845
+ "name": "info",
846
+ "type": "tuple"
847
+ }
848
+ ],
849
+ "name": "registerPolicy",
850
+ "outputs": [
851
+ {
852
+ "internalType": "NftId",
853
+ "name": "nftId",
854
+ "type": "uint96"
855
+ }
856
+ ],
857
+ "stateMutability": "nonpayable",
858
+ "type": "function"
859
+ },
860
+ {
861
+ "inputs": [
862
+ {
863
+ "internalType": "contract IComponent",
864
+ "name": "pool",
865
+ "type": "address"
866
+ },
867
+ {
868
+ "internalType": "address",
869
+ "name": "owner",
870
+ "type": "address"
871
+ }
872
+ ],
873
+ "name": "registerPool",
874
+ "outputs": [
875
+ {
876
+ "components": [
877
+ {
878
+ "internalType": "NftId",
879
+ "name": "nftId",
880
+ "type": "uint96"
881
+ },
882
+ {
883
+ "internalType": "NftId",
884
+ "name": "parentNftId",
885
+ "type": "uint96"
886
+ },
887
+ {
888
+ "internalType": "ObjectType",
889
+ "name": "objectType",
890
+ "type": "uint8"
891
+ },
892
+ {
893
+ "internalType": "bool",
894
+ "name": "isInterceptor",
895
+ "type": "bool"
896
+ },
897
+ {
898
+ "internalType": "address",
899
+ "name": "objectAddress",
900
+ "type": "address"
901
+ },
902
+ {
903
+ "internalType": "address",
904
+ "name": "initialOwner",
905
+ "type": "address"
906
+ },
907
+ {
908
+ "internalType": "bytes",
909
+ "name": "data",
910
+ "type": "bytes"
911
+ }
912
+ ],
913
+ "internalType": "struct IRegistry.ObjectInfo",
914
+ "name": "info",
915
+ "type": "tuple"
916
+ }
917
+ ],
918
+ "stateMutability": "nonpayable",
919
+ "type": "function"
920
+ },
921
+ {
922
+ "inputs": [
923
+ {
924
+ "internalType": "contract IComponent",
925
+ "name": "product",
926
+ "type": "address"
927
+ },
928
+ {
929
+ "internalType": "address",
930
+ "name": "owner",
931
+ "type": "address"
932
+ }
933
+ ],
934
+ "name": "registerProduct",
935
+ "outputs": [
936
+ {
937
+ "components": [
938
+ {
939
+ "internalType": "NftId",
940
+ "name": "nftId",
941
+ "type": "uint96"
942
+ },
943
+ {
944
+ "internalType": "NftId",
945
+ "name": "parentNftId",
946
+ "type": "uint96"
947
+ },
948
+ {
949
+ "internalType": "ObjectType",
950
+ "name": "objectType",
951
+ "type": "uint8"
952
+ },
953
+ {
954
+ "internalType": "bool",
955
+ "name": "isInterceptor",
956
+ "type": "bool"
957
+ },
958
+ {
959
+ "internalType": "address",
960
+ "name": "objectAddress",
961
+ "type": "address"
962
+ },
963
+ {
964
+ "internalType": "address",
965
+ "name": "initialOwner",
966
+ "type": "address"
967
+ },
968
+ {
969
+ "internalType": "bytes",
970
+ "name": "data",
971
+ "type": "bytes"
972
+ }
973
+ ],
974
+ "internalType": "struct IRegistry.ObjectInfo",
975
+ "name": "info",
976
+ "type": "tuple"
977
+ }
978
+ ],
979
+ "stateMutability": "nonpayable",
980
+ "type": "function"
981
+ },
982
+ {
983
+ "inputs": [
984
+ {
985
+ "components": [
986
+ {
987
+ "internalType": "NftId",
988
+ "name": "nftId",
989
+ "type": "uint96"
990
+ },
991
+ {
992
+ "internalType": "NftId",
993
+ "name": "parentNftId",
994
+ "type": "uint96"
995
+ },
996
+ {
997
+ "internalType": "ObjectType",
998
+ "name": "objectType",
999
+ "type": "uint8"
1000
+ },
1001
+ {
1002
+ "internalType": "bool",
1003
+ "name": "isInterceptor",
1004
+ "type": "bool"
1005
+ },
1006
+ {
1007
+ "internalType": "address",
1008
+ "name": "objectAddress",
1009
+ "type": "address"
1010
+ },
1011
+ {
1012
+ "internalType": "address",
1013
+ "name": "initialOwner",
1014
+ "type": "address"
1015
+ },
1016
+ {
1017
+ "internalType": "bytes",
1018
+ "name": "data",
1019
+ "type": "bytes"
1020
+ }
1021
+ ],
1022
+ "internalType": "struct IRegistry.ObjectInfo",
1023
+ "name": "info",
1024
+ "type": "tuple"
1025
+ }
1026
+ ],
1027
+ "name": "registerStake",
1028
+ "outputs": [
1029
+ {
1030
+ "internalType": "NftId",
1031
+ "name": "nftId",
1032
+ "type": "uint96"
1033
+ }
1034
+ ],
1035
+ "stateMutability": "nonpayable",
1036
+ "type": "function"
1037
+ },
1038
+ {
1039
+ "inputs": [
1040
+ {
1041
+ "internalType": "address",
1042
+ "name": "newAuthority",
1043
+ "type": "address"
1044
+ }
1045
+ ],
1046
+ "name": "setAuthority",
1047
+ "outputs": [],
1048
+ "stateMutability": "nonpayable",
1049
+ "type": "function"
1050
+ },
1051
+ {
1052
+ "inputs": [
1053
+ {
1054
+ "internalType": "bytes4",
1055
+ "name": "interfaceId",
1056
+ "type": "bytes4"
1057
+ }
1058
+ ],
1059
+ "name": "supportsInterface",
1060
+ "outputs": [
1061
+ {
1062
+ "internalType": "bool",
1063
+ "name": "",
1064
+ "type": "bool"
1065
+ }
1066
+ ],
1067
+ "stateMutability": "view",
1068
+ "type": "function"
1069
+ },
1070
+ {
1071
+ "inputs": [
1072
+ {
1073
+ "internalType": "bytes",
1074
+ "name": "data",
1075
+ "type": "bytes"
1076
+ }
1077
+ ],
1078
+ "name": "upgradeVersionable",
1079
+ "outputs": [],
1080
+ "stateMutability": "nonpayable",
1081
+ "type": "function"
1082
+ }
1083
+ ],
1084
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b612eb880620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c8063644c45e01161010f5780638fbc2d81116100a2578063c13de99711610071578063c13de99714610452578063c2bf08c814610467578063ed841d0c1461047a578063f7c34ee01461048257600080fd5b80638fbc2d8114610413578063ada9652e14610426578063b68d18091461043b578063bf7e214f1461044a57600080fd5b80638105cc7f116100de5780638105cc7f146103d0578063893d20e8146103e35780638e32e979146103eb5780638fb36037146103fe57600080fd5b8063644c45e014610379578063675393bf146103975780637286e5e5146103aa5780637a9e5e4b146103bd57600080fd5b806327bb7a331161018757806357a8fba71161015657806357a8fba7146103035780635ab1bd531461032e5780635c992fed146103535780635d9662891461036657600080fd5b806327bb7a33146102c2578063329d6e74146102d557806336fc697e146102e857806349bb9e4b146102f057600080fd5b80630fec111c116101c35780630fec111c14610268578063138461e0146102705780631eff4b221461027a578063214cdb80146102af57600080fd5b806301ffc9a7146101ea578063026bc43b1461022c5780630d8e6e2c1461024c575b600080fd5b6102176101f83660046123fb565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023f61023a366004612451565b610495565b60405161022391906124da565b610254610633565b60405162ffffff9091168152602001610223565b61023f6106bd565b6102786107de565b005b6102a17f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b6102786102bd3660046123fb565b6109e5565b6102786102d03660046126a3565b610a12565b6102786102e336600461273b565b610ab7565b610278610c04565b6102786102fe36600461276f565b610c4a565b6103166103113660046127be565b610d49565b6040516001600160601b039091168152602001610223565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b6103166103613660046127be565b610dd8565b61023f610374366004612451565b610dee565b600080516020612e23833981519152546001600160601b0316610316565b6102786103a5366004612890565b610f2e565b61023f6103b8366004612451565b611041565b6102786103cb366004612890565b6110ee565b6103166103de3660046127be565b611171565b61033b611187565b6102786103f93660046128ad565b6112be565b6104066114f7565b60405161022391906128f8565b61023f610421366004612451565b61152f565b6102a1600080516020612e2383398151915281565b60405160288152602001610223565b61033b6115dc565b61045a6115f8565b604051610223919061290d565b6103166104753660046127be565b611c45565b6102a1600081565b610278610490366004612451565b611c5b565b61049d6123bd565b6104aa335b600036611cd2565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906104dd9063425ec80560e01b906004016128f8565b602060405180830381865afa1580156104fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051e91906129c5565b61053b57604051636795c76360e01b815260040160405180910390fd5b6105488360465b84611dd8565b905061055c6001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b815260040161058791906124da565b6020604051808303816000875af11580156105a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ca91906129ed565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192600092919082900301818387803b15801561061557600080fd5b505af1158015610629573d6000803e3d6000fd5b5050505092915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610694573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b89190612a0a565b905090565b6106c56123bd565b6040805160e081018252600081527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116602084015260ff600160601b8204811694840194909452600160681b90049092161515606082015230608082015260a0810161073a611187565b6001600160a01b0316815260200182600101805461075790612a2f565b80601f016020809104026020016040519081016040528092919081815260200182805461078390612a2f565b80156107d05780601f106107a5576101008083540402835291602001916107d0565b820191906000526020600020905b8154815290600101906020018083116107b357829003601f168201915b505050505081525091505090565b6000600080516020612e2383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561084d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061087191906129c5565b156108a25780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306108b56001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156108fd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061092191906129c5565b6109495760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610899565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa15801561099d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c191906129ed565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6109ed611fc8565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610a1a611fc8565b610a248287611c5b565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301610aad8382612aaf565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610ad9610633565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610b19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b3d9190612b6e565b600080516020612e638339815191528054600160401b900460ff1680610b70575080546001600160401b03808416911610155b15610b8e5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610bb883612001565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610c0c611fc8565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080516020612e638339815191528054600160401b810460ff1615906001600160401b0316600081158015610c7d5750825b90506000826001600160401b03166001148015610c995750303b155b905081158015610ca7575080155b15610cc55760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610cef57845460ff60401b1916600160401b1785555b610cf98787612009565b8315610d4057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000610d54336104a2565b610d5f82607a612128565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610d8f9085906004016124da565b6020604051808303816000875af1158015610dae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dd291906129ed565b92915050565b6000610de3336104a2565b610d5f8260d3612128565b610df66123bd565b610dff336104a2565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790610e329063058d03e760e21b906004016128f8565b602060405180830381865afa158015610e4f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e7391906129c5565b610e9057604051637a71998760e01b815260040160405180910390fd5b610e9b83606e610542565b9050610eaf6001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610eda91906124da565b6020604051808303816000875af1158015610ef9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1d91906129ed565b6001600160601b0316815292915050565b610f36611fc8565b806001600160a01b03163b600003610f6c5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610899565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a790610fb290630a3888e560e31b906004016128f8565b602060405180830381865afa925050508015610feb575060408051601f3d908101601f19168201909252610fe8918101906129c5565b60015b6110135760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610899565b8061103c5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610899565b505b50565b6110496123bd565b611052336104a2565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061108590630d02010f60e31b906004016128f8565b602060405180830381865afa1580156110a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110c691906129c5565b6110e357604051636f61f64160e01b815260040160405180910390fd5b610e9b83608c610542565b336110f76115dc565b6001600160a01b0316816001600160a01b0316146111325760405162d1953b60e31b81526001600160a01b0382166004820152602401610899565b816001600160a01b03163b600003611168576040516361798f2f60e11b81526001600160a01b0383166004820152602401610899565b61103c8261222e565b600061117c336104a2565b610d5f826050612128565b600080600080516020612e2383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156111f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061121b91906129c5565b156112a8576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561127e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112a29190612ba2565b91505090565b54600160601b90046001600160a01b0316919050565b6112c6611fc8565b61134683846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611308573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061132c91906129ed565b603c60008560405180602001604052806000815250610a12565b6001600160a01b038216156113635761135e8261228f565b6114d2565b60006113776001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156113d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113fb9190612bca565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611440573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114649190612ba2565b90506114d0816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114cb9190612ba2565b61228f565b505b6114e2634a531f3360e01b6109e5565b6114f263b68d180960e01b6109e5565b505050565b600080516020612e43833981519152805460009190600160a01b900460ff166115215760006112a2565b638fb3603760e01b91505090565b6115376123bd565b611540336104a2565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061157390637895d0ed60e01b906004016128f8565b602060405180830381865afa158015611590573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115b491906129c5565b6115d1576040516308707e3160e41b815260040160405180910390fd5b610e9b836078610542565b600080516020612e43833981519152546001600160a01b031690565b6040805160098082526101408201909252606091816020015b60408051808201909152600081526060602082015281526020019060019003908161161157905050905061164360d390565b8160008151811061165657611656612be7565b60209081029190910181015160ff9290921690915260408051600080825292810190915290508160008151811061168f5761168f612be7565b6020026020010151602001819052506116a660d290565b816001815181106116b9576116b9612be7565b602090810291909101015160ff9190911690526040805160018082528183019092529081602001602082028036833701905050816001815181106116ff576116ff612be7565b602002602001015160200181905250635c992fed60e01b8160018151811061172957611729612be7565b60200260200101516020015160008151811061174757611747612be7565b6001600160e01b03199092166020928302919091019091015261176860d490565b8160028151811061177b5761177b612be7565b60209081029190910181015160ff92909216909152604080516000815291820190528151829060029081106117b2576117b2612be7565b6020026020010151602001819052506117c9606e90565b816003815181106117dc576117dc612be7565b602090810291909101015160ff91909116905260408051600180825281830190925290816020016020820280368337019050508160038151811061182257611822612be7565b602002602001015160200181905250635d96628960e01b8160038151811061184c5761184c612be7565b60200260200101516020015160008151811061186a5761186a612be7565b6001600160e01b03199092166020928302919091019091015261188b608c90565b8160048151811061189e5761189e612be7565b602090810291909101015160ff9190911690526040805160018082528183019092529081602001602082028036833701905050816004815181106118e4576118e4612be7565b602002602001015160200181905250637286e5e560e01b8160048151811061190e5761190e612be7565b60200260200101516020015160008151811061192c5761192c612be7565b6001600160e01b03199092166020928302919091019091015261194d60dc90565b8160058151811061196057611960612be7565b602090810291909101015160ff9190911690526040805160018082528183019092529081602001602082028036833701905050816005815181106119a6576119a6612be7565b60200260200101516020018190525063c2bf08c860e01b816005815181106119d0576119d0612be7565b6020026020010151602001516000815181106119ee576119ee612be7565b6001600160e01b031990921660209283029190910190910152611a0f60e690565b81600681518110611a2257611a22612be7565b60209081029190910181015160ff9290921690915260408051600081529182019052815182906006908110611a5957611a59612be7565b602002602001015160200181905250611a70607890565b81600781518110611a8357611a83612be7565b602090810291909101015160ff91909116905260408051600280825260608201909252908160200160208202803683370190505081600781518110611aca57611aca612be7565b602002602001015160200181905250638fbc2d8160e01b81600781518110611af457611af4612be7565b602002602001015160200151600081518110611b1257611b12612be7565b6001600160e01b03199092166020928302919091019091015280516357a8fba760e01b9082906007908110611b4957611b49612be7565b602002602001015160200151600181518110611b6757611b67612be7565b6001600160e01b031990921660209283029190910190910152611b88604690565b81600881518110611b9b57611b9b612be7565b602090810291909101015160ff919091169052604080516001808252818301909252908160200160208202803683370190505081600881518110611be157611be1612be7565b60200260200101516020018190525063026bc43b60e01b81600881518110611c0b57611c0b612be7565b602002602001015160200151600081518110611c2957611c29612be7565b6001600160e01b03199092166020928302919091019091015290565b6000611c50336104a2565b610d5f8260dc612128565b611c63611fc8565b611c6c81610f2e565b611c74610c04565b6001600160a01b038216611c9b5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020612e2383398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020612e43833981519152600080611d0d611cef6115dc565b8730611cff600460008a8c612bfd565b611d0891612c27565b6122a0565b9150915081611dd05763ffffffff811615611dad57825460ff60a01b1916600160a01b178355611d3b6115dc565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611d6a93929190612c57565b600060405180830381600087803b158015611d8457600080fd5b505af1158015611d98573d6000803e3d6000fd5b5050845460ff60a01b1916855550611dd09050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610899565b505050505050565b611de06123bd565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611e1e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e469190810190612cdc565b6001600160a01b0385166080820152604081015190915060ff848116911614611e95576040808201519051632208245760e11b815260ff80861660048301529091166024820152604401610899565b60a08101516001600160a01b0380821690841614611ed15760405163dfc430cb60e01b81526001600160a01b0384166004820152602401610899565b846001600160a01b0316816001600160a01b031603611f03576040516317faf4db60e11b815260040160405180910390fd5b6001600160a01b038116611f2a57604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611f7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fa291906129c5565b15611fc057604051637142ceb360e11b815260040160405180910390fd5b509392505050565b600080516020612e6383398151915254600160401b900460ff16611fff57604051631afcd79f60e31b815260040160405180910390fd5b565b6101e5611fc8565b600080516020612e638339815191528054600160401b810460ff1615906001600160401b031660008115801561203c5750825b90506000826001600160401b031660011480156120585750303b155b905081158015612066575080155b156120845760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156120ae57845460ff60401b1916600160401b1785555b600080878060200190518101906120c59190612d9f565b915091506120d482828b6112be565b6120e463aa745bc360e01b6109e5565b50508315610d4057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610d37565b60006080830152604082015160ff82811691161461216c576040808301519051632208245760e11b815260ff80841660048301529091166024820152604401610899565b60a08201516001600160a01b03811661219857604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156121ec573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061221091906129c5565b156114f257604051637142ceb360e11b815260040160405180910390fd5b600080516020612e4383398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b612297611fc8565b61103e816123ac565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161230f9190612dce565b600060405180830381855afa9150503d806000811461234a576040519150601f19603f3d011682016040523d82523d6000602084013e61234f565b606091505b509150915081156123a157604081511061238157808060200190518101906123779190612dea565b90945092506123a1565b60208151106123a1578080602001905181019061239e91906129c5565b93505b505094509492505050565b6123b4611fc8565b61103e8161222e565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60006020828403121561240d57600080fd5b81356001600160e01b03198116811461242557600080fd5b9392505050565b6001600160a01b038116811461103e57600080fd5b803561244c8161242c565b919050565b6000806040838503121561246457600080fd5b823561246f8161242c565b9150602083013561247f8161242c565b809150509250929050565b60005b838110156124a557818101518382015260200161248d565b50506000910152565b600081518084526124c681602086016020860161248a565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161254360c08401826001600160a01b03169052565b5060c083015160e08084015261255d6101008401826124ae565b949350505050565b6001600160601b038116811461103e57600080fd5b803561244c81612565565b60ff8116811461103e57600080fd5b803561244c81612585565b801515811461103e57600080fd5b803561244c8161259f565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156125f0576125f06125b8565b60405290565b604051601f8201601f191681016001600160401b038111828210171561261e5761261e6125b8565b604052919050565b60006001600160401b0382111561263f5761263f6125b8565b50601f01601f191660200190565b600082601f83011261265e57600080fd5b813561267161266c82612626565b6125f6565b81815284602083860101111561268657600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c087890312156126bc57600080fd5b86356126c78161242c565b955060208701356126d781612565565b945060408701356126e781612585565b935060608701356126f78161259f565b925060808701356127078161242c565b915060a08701356001600160401b0381111561272257600080fd5b61272e89828a0161264d565b9150509295509295509295565b60006020828403121561274d57600080fd5b81356001600160401b0381111561276357600080fd5b61255d8482850161264d565b6000806040838503121561278257600080fd5b823561278d8161242c565b915060208301356001600160401b038111156127a857600080fd5b6127b48582860161264d565b9150509250929050565b6000602082840312156127d057600080fd5b81356001600160401b03808211156127e757600080fd5b9083019060e082860312156127fb57600080fd5b6128036125ce565b61280c8361257a565b815261281a6020840161257a565b602082015261282b60408401612594565b604082015261283c606084016125ad565b606082015261284d60808401612441565b608082015261285e60a08401612441565b60a082015260c08301358281111561287557600080fd5b6128818782860161264d565b60c08301525095945050505050565b6000602082840312156128a257600080fd5b81356124258161242c565b6000806000606084860312156128c257600080fd5b83356128cd8161242c565b925060208401356128dd8161242c565b915060408401356128ed8161242c565b809150509250925092565b6001600160e01b031991909116815260200190565b60006020808301818452808551808352604092508286019150828160051b8701018488016000805b848110156129ab57898403603f190186528251805160ff168552880151888501889052805188860181905290890190839060608701905b808310156129965783516001600160e01b0319168252928b019260019290920191908b019061296c565b50978a01979550505091870191600101612935565b50919998505050505050505050565b805161244c8161259f565b6000602082840312156129d757600080fd5b81516124258161259f565b805161244c81612565565b6000602082840312156129ff57600080fd5b815161242581612565565b600060208284031215612a1c57600080fd5b815162ffffff8116811461242557600080fd5b600181811c90821680612a4357607f821691505b602082108103612a6357634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156114f257600081815260208120601f850160051c81016020861015612a905750805b601f850160051c820191505b81811015611dd057828155600101612a9c565b81516001600160401b03811115612ac857612ac86125b8565b612adc81612ad68454612a2f565b84612a69565b602080601f831160018114612b115760008415612af95750858301515b600019600386901b1c1916600185901b178555611dd0565b600085815260208120601f198616915b82811015612b4057888601518255948401946001909101908401612b21565b5085821015612b5e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215612b8057600080fd5b81516001600160401b038116811461242557600080fd5b805161244c8161242c565b600060208284031215612bb457600080fd5b81516124258161242c565b805161244c81612585565b600060208284031215612bdc57600080fd5b815161242581612585565b634e487b7160e01b600052603260045260246000fd5b60008085851115612c0d57600080fd5b83861115612c1a57600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015612c4f5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f830112612ca857600080fd5b8151612cb661266c82612626565b818152846020838601011115612ccb57600080fd5b61255d82602083016020870161248a565b600060208284031215612cee57600080fd5b81516001600160401b0380821115612d0557600080fd5b9083019060e08286031215612d1957600080fd5b612d216125ce565b612d2a836129e2565b8152612d38602084016129e2565b6020820152612d4960408401612bbf565b6040820152612d5a606084016129ba565b6060820152612d6b60808401612b97565b6080820152612d7c60a08401612b97565b60a082015260c083015182811115612d9357600080fd5b61288187828601612c97565b60008060408385031215612db257600080fd5b8251612dbd8161242c565b602084015190925061247f8161242c565b60008251612de081846020870161248a565b9190910192915050565b60008060408385031215612dfd57600080fd5b8251612e088161259f565b602084015190925063ffffffff8116811461247f57600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a264697066735822122083f0aab218856d65fdeb9ef82f39cda652302e0a556fdcb94e1d9586069358c964736f6c63430008140033",
1085
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101e55760003560e01c8063644c45e01161010f5780638fbc2d81116100a2578063c13de99711610071578063c13de99714610452578063c2bf08c814610467578063ed841d0c1461047a578063f7c34ee01461048257600080fd5b80638fbc2d8114610413578063ada9652e14610426578063b68d18091461043b578063bf7e214f1461044a57600080fd5b80638105cc7f116100de5780638105cc7f146103d0578063893d20e8146103e35780638e32e979146103eb5780638fb36037146103fe57600080fd5b8063644c45e014610379578063675393bf146103975780637286e5e5146103aa5780637a9e5e4b146103bd57600080fd5b806327bb7a331161018757806357a8fba71161015657806357a8fba7146103035780635ab1bd531461032e5780635c992fed146103535780635d9662891461036657600080fd5b806327bb7a33146102c2578063329d6e74146102d557806336fc697e146102e857806349bb9e4b146102f057600080fd5b80630fec111c116101c35780630fec111c14610268578063138461e0146102705780631eff4b221461027a578063214cdb80146102af57600080fd5b806301ffc9a7146101ea578063026bc43b1461022c5780630d8e6e2c1461024c575b600080fd5b6102176101f83660046123fb565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023f61023a366004612451565b610495565b60405161022391906124da565b610254610633565b60405162ffffff9091168152602001610223565b61023f6106bd565b6102786107de565b005b6102a17f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b6102786102bd3660046123fb565b6109e5565b6102786102d03660046126a3565b610a12565b6102786102e336600461273b565b610ab7565b610278610c04565b6102786102fe36600461276f565b610c4a565b6103166103113660046127be565b610d49565b6040516001600160601b039091168152602001610223565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b6103166103613660046127be565b610dd8565b61023f610374366004612451565b610dee565b600080516020612e23833981519152546001600160601b0316610316565b6102786103a5366004612890565b610f2e565b61023f6103b8366004612451565b611041565b6102786103cb366004612890565b6110ee565b6103166103de3660046127be565b611171565b61033b611187565b6102786103f93660046128ad565b6112be565b6104066114f7565b60405161022391906128f8565b61023f610421366004612451565b61152f565b6102a1600080516020612e2383398151915281565b60405160288152602001610223565b61033b6115dc565b61045a6115f8565b604051610223919061290d565b6103166104753660046127be565b611c45565b6102a1600081565b610278610490366004612451565b611c5b565b61049d6123bd565b6104aa335b600036611cd2565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906104dd9063425ec80560e01b906004016128f8565b602060405180830381865afa1580156104fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051e91906129c5565b61053b57604051636795c76360e01b815260040160405180910390fd5b6105488360465b84611dd8565b905061055c6001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b815260040161058791906124da565b6020604051808303816000875af11580156105a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ca91906129ed565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192600092919082900301818387803b15801561061557600080fd5b505af1158015610629573d6000803e3d6000fd5b5050505092915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610694573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b89190612a0a565b905090565b6106c56123bd565b6040805160e081018252600081527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116602084015260ff600160601b8204811694840194909452600160681b90049092161515606082015230608082015260a0810161073a611187565b6001600160a01b0316815260200182600101805461075790612a2f565b80601f016020809104026020016040519081016040528092919081815260200182805461078390612a2f565b80156107d05780601f106107a5576101008083540402835291602001916107d0565b820191906000526020600020905b8154815290600101906020018083116107b357829003601f168201915b505050505081525091505090565b6000600080516020612e2383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561084d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061087191906129c5565b156108a25780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306108b56001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156108fd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061092191906129c5565b6109495760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610899565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa15801561099d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c191906129ed565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6109ed611fc8565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610a1a611fc8565b610a248287611c5b565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301610aad8382612aaf565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610ad9610633565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610b19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b3d9190612b6e565b600080516020612e638339815191528054600160401b900460ff1680610b70575080546001600160401b03808416911610155b15610b8e5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610bb883612001565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610c0c611fc8565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080516020612e638339815191528054600160401b810460ff1615906001600160401b0316600081158015610c7d5750825b90506000826001600160401b03166001148015610c995750303b155b905081158015610ca7575080155b15610cc55760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610cef57845460ff60401b1916600160401b1785555b610cf98787612009565b8315610d4057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000610d54336104a2565b610d5f82607a612128565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610d8f9085906004016124da565b6020604051808303816000875af1158015610dae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dd291906129ed565b92915050565b6000610de3336104a2565b610d5f8260d3612128565b610df66123bd565b610dff336104a2565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790610e329063058d03e760e21b906004016128f8565b602060405180830381865afa158015610e4f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e7391906129c5565b610e9057604051637a71998760e01b815260040160405180910390fd5b610e9b83606e610542565b9050610eaf6001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610eda91906124da565b6020604051808303816000875af1158015610ef9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1d91906129ed565b6001600160601b0316815292915050565b610f36611fc8565b806001600160a01b03163b600003610f6c5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610899565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a790610fb290630a3888e560e31b906004016128f8565b602060405180830381865afa925050508015610feb575060408051601f3d908101601f19168201909252610fe8918101906129c5565b60015b6110135760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610899565b8061103c5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610899565b505b50565b6110496123bd565b611052336104a2565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061108590630d02010f60e31b906004016128f8565b602060405180830381865afa1580156110a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110c691906129c5565b6110e357604051636f61f64160e01b815260040160405180910390fd5b610e9b83608c610542565b336110f76115dc565b6001600160a01b0316816001600160a01b0316146111325760405162d1953b60e31b81526001600160a01b0382166004820152602401610899565b816001600160a01b03163b600003611168576040516361798f2f60e11b81526001600160a01b0383166004820152602401610899565b61103c8261222e565b600061117c336104a2565b610d5f826050612128565b600080600080516020612e2383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156111f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061121b91906129c5565b156112a8576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561127e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112a29190612ba2565b91505090565b54600160601b90046001600160a01b0316919050565b6112c6611fc8565b61134683846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611308573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061132c91906129ed565b603c60008560405180602001604052806000815250610a12565b6001600160a01b038216156113635761135e8261228f565b6114d2565b60006113776001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156113d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113fb9190612bca565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611440573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114649190612ba2565b90506114d0816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114cb9190612ba2565b61228f565b505b6114e2634a531f3360e01b6109e5565b6114f263b68d180960e01b6109e5565b505050565b600080516020612e43833981519152805460009190600160a01b900460ff166115215760006112a2565b638fb3603760e01b91505090565b6115376123bd565b611540336104a2565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061157390637895d0ed60e01b906004016128f8565b602060405180830381865afa158015611590573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115b491906129c5565b6115d1576040516308707e3160e41b815260040160405180910390fd5b610e9b836078610542565b600080516020612e43833981519152546001600160a01b031690565b6040805160098082526101408201909252606091816020015b60408051808201909152600081526060602082015281526020019060019003908161161157905050905061164360d390565b8160008151811061165657611656612be7565b60209081029190910181015160ff9290921690915260408051600080825292810190915290508160008151811061168f5761168f612be7565b6020026020010151602001819052506116a660d290565b816001815181106116b9576116b9612be7565b602090810291909101015160ff9190911690526040805160018082528183019092529081602001602082028036833701905050816001815181106116ff576116ff612be7565b602002602001015160200181905250635c992fed60e01b8160018151811061172957611729612be7565b60200260200101516020015160008151811061174757611747612be7565b6001600160e01b03199092166020928302919091019091015261176860d490565b8160028151811061177b5761177b612be7565b60209081029190910181015160ff92909216909152604080516000815291820190528151829060029081106117b2576117b2612be7565b6020026020010151602001819052506117c9606e90565b816003815181106117dc576117dc612be7565b602090810291909101015160ff91909116905260408051600180825281830190925290816020016020820280368337019050508160038151811061182257611822612be7565b602002602001015160200181905250635d96628960e01b8160038151811061184c5761184c612be7565b60200260200101516020015160008151811061186a5761186a612be7565b6001600160e01b03199092166020928302919091019091015261188b608c90565b8160048151811061189e5761189e612be7565b602090810291909101015160ff9190911690526040805160018082528183019092529081602001602082028036833701905050816004815181106118e4576118e4612be7565b602002602001015160200181905250637286e5e560e01b8160048151811061190e5761190e612be7565b60200260200101516020015160008151811061192c5761192c612be7565b6001600160e01b03199092166020928302919091019091015261194d60dc90565b8160058151811061196057611960612be7565b602090810291909101015160ff9190911690526040805160018082528183019092529081602001602082028036833701905050816005815181106119a6576119a6612be7565b60200260200101516020018190525063c2bf08c860e01b816005815181106119d0576119d0612be7565b6020026020010151602001516000815181106119ee576119ee612be7565b6001600160e01b031990921660209283029190910190910152611a0f60e690565b81600681518110611a2257611a22612be7565b60209081029190910181015160ff9290921690915260408051600081529182019052815182906006908110611a5957611a59612be7565b602002602001015160200181905250611a70607890565b81600781518110611a8357611a83612be7565b602090810291909101015160ff91909116905260408051600280825260608201909252908160200160208202803683370190505081600781518110611aca57611aca612be7565b602002602001015160200181905250638fbc2d8160e01b81600781518110611af457611af4612be7565b602002602001015160200151600081518110611b1257611b12612be7565b6001600160e01b03199092166020928302919091019091015280516357a8fba760e01b9082906007908110611b4957611b49612be7565b602002602001015160200151600181518110611b6757611b67612be7565b6001600160e01b031990921660209283029190910190910152611b88604690565b81600881518110611b9b57611b9b612be7565b602090810291909101015160ff919091169052604080516001808252818301909252908160200160208202803683370190505081600881518110611be157611be1612be7565b60200260200101516020018190525063026bc43b60e01b81600881518110611c0b57611c0b612be7565b602002602001015160200151600081518110611c2957611c29612be7565b6001600160e01b03199092166020928302919091019091015290565b6000611c50336104a2565b610d5f8260dc612128565b611c63611fc8565b611c6c81610f2e565b611c74610c04565b6001600160a01b038216611c9b5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020612e2383398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020612e43833981519152600080611d0d611cef6115dc565b8730611cff600460008a8c612bfd565b611d0891612c27565b6122a0565b9150915081611dd05763ffffffff811615611dad57825460ff60a01b1916600160a01b178355611d3b6115dc565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611d6a93929190612c57565b600060405180830381600087803b158015611d8457600080fd5b505af1158015611d98573d6000803e3d6000fd5b5050845460ff60a01b1916855550611dd09050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610899565b505050505050565b611de06123bd565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611e1e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e469190810190612cdc565b6001600160a01b0385166080820152604081015190915060ff848116911614611e95576040808201519051632208245760e11b815260ff80861660048301529091166024820152604401610899565b60a08101516001600160a01b0380821690841614611ed15760405163dfc430cb60e01b81526001600160a01b0384166004820152602401610899565b846001600160a01b0316816001600160a01b031603611f03576040516317faf4db60e11b815260040160405180910390fd5b6001600160a01b038116611f2a57604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611f7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fa291906129c5565b15611fc057604051637142ceb360e11b815260040160405180910390fd5b509392505050565b600080516020612e6383398151915254600160401b900460ff16611fff57604051631afcd79f60e31b815260040160405180910390fd5b565b6101e5611fc8565b600080516020612e638339815191528054600160401b810460ff1615906001600160401b031660008115801561203c5750825b90506000826001600160401b031660011480156120585750303b155b905081158015612066575080155b156120845760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156120ae57845460ff60401b1916600160401b1785555b600080878060200190518101906120c59190612d9f565b915091506120d482828b6112be565b6120e463aa745bc360e01b6109e5565b50508315610d4057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610d37565b60006080830152604082015160ff82811691161461216c576040808301519051632208245760e11b815260ff80841660048301529091166024820152604401610899565b60a08201516001600160a01b03811661219857604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156121ec573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061221091906129c5565b156114f257604051637142ceb360e11b815260040160405180910390fd5b600080516020612e4383398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b612297611fc8565b61103e816123ac565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161230f9190612dce565b600060405180830381855afa9150503d806000811461234a576040519150601f19603f3d011682016040523d82523d6000602084013e61234f565b606091505b509150915081156123a157604081511061238157808060200190518101906123779190612dea565b90945092506123a1565b60208151106123a1578080602001905181019061239e91906129c5565b93505b505094509492505050565b6123b4611fc8565b61103e8161222e565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60006020828403121561240d57600080fd5b81356001600160e01b03198116811461242557600080fd5b9392505050565b6001600160a01b038116811461103e57600080fd5b803561244c8161242c565b919050565b6000806040838503121561246457600080fd5b823561246f8161242c565b9150602083013561247f8161242c565b809150509250929050565b60005b838110156124a557818101518382015260200161248d565b50506000910152565b600081518084526124c681602086016020860161248a565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161254360c08401826001600160a01b03169052565b5060c083015160e08084015261255d6101008401826124ae565b949350505050565b6001600160601b038116811461103e57600080fd5b803561244c81612565565b60ff8116811461103e57600080fd5b803561244c81612585565b801515811461103e57600080fd5b803561244c8161259f565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156125f0576125f06125b8565b60405290565b604051601f8201601f191681016001600160401b038111828210171561261e5761261e6125b8565b604052919050565b60006001600160401b0382111561263f5761263f6125b8565b50601f01601f191660200190565b600082601f83011261265e57600080fd5b813561267161266c82612626565b6125f6565b81815284602083860101111561268657600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c087890312156126bc57600080fd5b86356126c78161242c565b955060208701356126d781612565565b945060408701356126e781612585565b935060608701356126f78161259f565b925060808701356127078161242c565b915060a08701356001600160401b0381111561272257600080fd5b61272e89828a0161264d565b9150509295509295509295565b60006020828403121561274d57600080fd5b81356001600160401b0381111561276357600080fd5b61255d8482850161264d565b6000806040838503121561278257600080fd5b823561278d8161242c565b915060208301356001600160401b038111156127a857600080fd5b6127b48582860161264d565b9150509250929050565b6000602082840312156127d057600080fd5b81356001600160401b03808211156127e757600080fd5b9083019060e082860312156127fb57600080fd5b6128036125ce565b61280c8361257a565b815261281a6020840161257a565b602082015261282b60408401612594565b604082015261283c606084016125ad565b606082015261284d60808401612441565b608082015261285e60a08401612441565b60a082015260c08301358281111561287557600080fd5b6128818782860161264d565b60c08301525095945050505050565b6000602082840312156128a257600080fd5b81356124258161242c565b6000806000606084860312156128c257600080fd5b83356128cd8161242c565b925060208401356128dd8161242c565b915060408401356128ed8161242c565b809150509250925092565b6001600160e01b031991909116815260200190565b60006020808301818452808551808352604092508286019150828160051b8701018488016000805b848110156129ab57898403603f190186528251805160ff168552880151888501889052805188860181905290890190839060608701905b808310156129965783516001600160e01b0319168252928b019260019290920191908b019061296c565b50978a01979550505091870191600101612935565b50919998505050505050505050565b805161244c8161259f565b6000602082840312156129d757600080fd5b81516124258161259f565b805161244c81612565565b6000602082840312156129ff57600080fd5b815161242581612565565b600060208284031215612a1c57600080fd5b815162ffffff8116811461242557600080fd5b600181811c90821680612a4357607f821691505b602082108103612a6357634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156114f257600081815260208120601f850160051c81016020861015612a905750805b601f850160051c820191505b81811015611dd057828155600101612a9c565b81516001600160401b03811115612ac857612ac86125b8565b612adc81612ad68454612a2f565b84612a69565b602080601f831160018114612b115760008415612af95750858301515b600019600386901b1c1916600185901b178555611dd0565b600085815260208120601f198616915b82811015612b4057888601518255948401946001909101908401612b21565b5085821015612b5e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215612b8057600080fd5b81516001600160401b038116811461242557600080fd5b805161244c8161242c565b600060208284031215612bb457600080fd5b81516124258161242c565b805161244c81612585565b600060208284031215612bdc57600080fd5b815161242581612585565b634e487b7160e01b600052603260045260246000fd5b60008085851115612c0d57600080fd5b83861115612c1a57600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015612c4f5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f830112612ca857600080fd5b8151612cb661266c82612626565b818152846020838601011115612ccb57600080fd5b61255d82602083016020870161248a565b600060208284031215612cee57600080fd5b81516001600160401b0380821115612d0557600080fd5b9083019060e08286031215612d1957600080fd5b612d216125ce565b612d2a836129e2565b8152612d38602084016129e2565b6020820152612d4960408401612bbf565b6040820152612d5a606084016129ba565b6060820152612d6b60808401612b97565b6080820152612d7c60a08401612b97565b60a082015260c083015182811115612d9357600080fd5b61288187828601612c97565b60008060408385031215612db257600080fd5b8251612dbd8161242c565b602084015190925061247f8161242c565b60008251612de081846020870161248a565b9190910192915050565b60008060408385031215612dfd57600080fd5b8251612e088161259f565b602084015190925063ffffffff8116811461247f57600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a264697066735822122083f0aab218856d65fdeb9ef82f39cda652302e0a556fdcb94e1d9586069358c964736f6c63430008140033",
1086
+ "linkReferences": {
1087
+ "contracts/type/NftId.sol": {
1088
+ "NftIdLib": [
1089
+ {
1090
+ "length": 20,
1091
+ "start": 2297
1092
+ },
1093
+ {
1094
+ "length": 20,
1095
+ "start": 4771
1096
+ }
1097
+ ]
1098
+ },
1099
+ "contracts/type/Version.sol": {
1100
+ "VersionLib": [
1101
+ {
1102
+ "length": 20,
1103
+ "start": 1856
1104
+ },
1105
+ {
1106
+ "length": 20,
1107
+ "start": 2975
1108
+ }
1109
+ ],
1110
+ "VersionPartLib": [
1111
+ {
1112
+ "length": 20,
1113
+ "start": 5251
1114
+ }
1115
+ ]
1116
+ }
1117
+ },
1118
+ "deployedLinkReferences": {
1119
+ "contracts/type/NftId.sol": {
1120
+ "NftIdLib": [
1121
+ {
1122
+ "length": 20,
1123
+ "start": 2067
1124
+ },
1125
+ {
1126
+ "length": 20,
1127
+ "start": 4541
1128
+ }
1129
+ ]
1130
+ },
1131
+ "contracts/type/Version.sol": {
1132
+ "VersionLib": [
1133
+ {
1134
+ "length": 20,
1135
+ "start": 1626
1136
+ },
1137
+ {
1138
+ "length": 20,
1139
+ "start": 2745
1140
+ }
1141
+ ],
1142
+ "VersionPartLib": [
1143
+ {
1144
+ "length": 20,
1145
+ "start": 5021
1146
+ }
1147
+ ]
1148
+ }
1149
+ }
1150
+ }