@etherisc/gif-next 0.0.2-fe77319 → 0.0.2-ff8087d-237

Sign up to get free protection for your applications and to get access to all the features.
Files changed (422) hide show
  1. package/README.md +359 -8
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
  3. package/artifacts/contracts/components/Component.sol/Component.json +727 -33
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +1376 -0
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/components/IComponent.sol/IComponent.json +636 -0
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +1000 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +1095 -0
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +861 -0
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +1281 -69
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +1064 -79
  18. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  19. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  20. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  21. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +778 -0
  22. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  23. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +190 -0
  24. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  25. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +2365 -529
  26. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  27. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +600 -0
  28. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  29. package/artifacts/contracts/instance/Instance.sol/Instance.json +2965 -581
  30. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +1330 -0
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  33. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1569 -0
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1099 -0
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +724 -0
  38. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  39. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +256 -0
  40. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  41. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +631 -0
  42. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  43. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +429 -0
  44. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  45. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.json +115 -0
  46. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  47. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +532 -0
  48. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  49. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +194 -0
  50. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  51. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +237 -0
  52. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  53. package/artifacts/contracts/instance/{access/IAccess.sol/IAccess.json → module/IBundle.sol/IBundle.json} +2 -2
  54. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  55. package/artifacts/contracts/instance/{component/IComponent.sol/IComponent.json → module/IComponents.sol/IComponents.json} +2 -2
  56. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  57. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.json +10 -0
  58. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  59. package/artifacts/contracts/instance/{policy → module}/IPolicy.sol/IPolicy.json +1 -1
  60. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  61. package/artifacts/contracts/instance/{pool/IPoolModule.sol/IPool.json → module/IRisk.sol/IRisk.json} +2 -2
  62. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  63. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.json +10 -0
  64. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  65. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +10 -0
  66. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  67. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +1124 -0
  68. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  69. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +688 -0
  70. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  71. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1283 -0
  72. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  73. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +696 -0
  74. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  75. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +1384 -0
  76. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  77. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +752 -0
  78. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  79. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1847 -0
  80. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  81. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +816 -0
  82. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  83. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +619 -0
  84. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  85. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +730 -0
  86. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  87. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +743 -0
  88. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  89. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +1059 -0
  90. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  91. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +651 -0
  92. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
  93. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +1077 -0
  94. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
  95. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +442 -0
  96. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  97. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1281 -0
  98. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  99. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +740 -0
  100. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  101. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +1622 -0
  102. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  103. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +708 -0
  104. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  105. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +864 -0
  106. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  107. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +640 -0
  108. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +4 -0
  109. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +784 -0
  110. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  111. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +559 -74
  112. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  113. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +858 -0
  114. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  115. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +52 -0
  116. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  117. package/artifacts/contracts/registry/Registry.sol/Registry.json +646 -77
  118. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  119. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  120. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  121. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1150 -0
  122. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  123. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +657 -0
  124. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  125. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +559 -0
  126. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  127. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +485 -0
  128. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  129. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  130. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +4 -0
  131. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +73 -0
  132. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  133. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +125 -0
  134. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  135. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +189 -0
  136. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +4 -0
  137. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +175 -0
  138. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  139. package/artifacts/contracts/{instance/access/IAccess.sol/IAccessCheckRole.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +11 -11
  140. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  141. package/artifacts/contracts/shared/IService.sol/IService.json +327 -0
  142. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +4 -0
  143. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +55 -0
  144. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  145. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +238 -0
  146. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  147. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +302 -0
  148. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  149. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +569 -0
  150. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +4 -0
  151. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +339 -0
  152. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  153. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  154. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  155. package/artifacts/contracts/shared/Service.sol/Service.json +488 -0
  156. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  157. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +114 -0
  158. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  159. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  160. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +4 -0
  161. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +78 -0
  162. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +4 -0
  163. package/artifacts/contracts/test/TestFee.sol/TestFee.json +119 -0
  164. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +4 -0
  165. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +370 -0
  166. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +4 -0
  167. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +116 -0
  168. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +4 -0
  169. package/artifacts/contracts/test/TestService.sol/TestService.json +588 -0
  170. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +4 -0
  171. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +376 -0
  172. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +4 -0
  173. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +218 -0
  174. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +4 -0
  175. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +104 -0
  176. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +4 -0
  177. package/artifacts/contracts/test/Usdc.sol/USDC.json +376 -0
  178. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  179. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +10 -0
  180. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +4 -0
  181. package/artifacts/contracts/types/Amount.sol/AmountLib.json +281 -0
  182. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  183. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +174 -0
  184. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +4 -0
  185. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +10 -0
  186. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  187. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +179 -0
  188. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  189. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  190. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +4 -0
  191. package/artifacts/contracts/types/Fee.sol/FeeLib.json +312 -0
  192. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +4 -0
  193. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +125 -0
  194. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +4 -0
  195. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +166 -0
  196. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  197. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +33 -0
  198. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  199. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  200. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  201. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +92 -0
  202. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  203. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +209 -0
  204. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  205. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +142 -0
  206. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
  207. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
  208. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +4 -0
  209. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +156 -0
  210. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  211. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  212. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +4 -0
  213. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +92 -0
  214. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +4 -0
  215. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +280 -0
  216. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  217. package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
  218. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  219. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +479 -0
  220. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +4 -0
  221. package/artifacts/contracts/types/Version.sol/VersionLib.json +177 -0
  222. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +4 -0
  223. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +49 -0
  224. package/contracts/components/Component.sol +250 -40
  225. package/contracts/components/Distribution.sol +285 -0
  226. package/contracts/components/IComponent.sol +90 -0
  227. package/contracts/components/IDistributionComponent.sol +71 -0
  228. package/contracts/components/IPoolComponent.sol +114 -0
  229. package/contracts/components/IProductComponent.sol +41 -0
  230. package/contracts/components/Pool.sol +291 -18
  231. package/contracts/components/Product.sol +340 -33
  232. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
  233. package/contracts/instance/BundleManager.sol +126 -0
  234. package/contracts/instance/Cloneable.sol +51 -0
  235. package/contracts/instance/IInstance.sol +99 -15
  236. package/contracts/instance/IInstanceService.sol +63 -0
  237. package/contracts/instance/Instance.sol +297 -42
  238. package/contracts/instance/InstanceAccessManager.sol +527 -0
  239. package/contracts/instance/InstanceReader.sol +366 -0
  240. package/contracts/instance/InstanceService.sol +484 -0
  241. package/contracts/instance/InstanceServiceManager.sol +54 -0
  242. package/contracts/instance/ObjectManager.sol +82 -0
  243. package/contracts/instance/base/ComponentService.sol +130 -0
  244. package/contracts/instance/base/IKeyValueStore.sol +49 -0
  245. package/contracts/instance/base/ILifecycle.sol +30 -0
  246. package/contracts/instance/base/KeyValueStore.sol +149 -0
  247. package/contracts/instance/base/Lifecycle.sol +120 -0
  248. package/contracts/instance/module/IAccess.sol +54 -0
  249. package/contracts/instance/module/IBundle.sol +23 -0
  250. package/contracts/instance/module/IComponents.sol +41 -0
  251. package/contracts/instance/module/IDistribution.sol +42 -0
  252. package/contracts/instance/module/IPolicy.sol +77 -0
  253. package/contracts/instance/module/IRisk.sol +11 -0
  254. package/contracts/instance/module/ISetup.sol +33 -0
  255. package/contracts/instance/module/ITreasury.sol +23 -0
  256. package/contracts/instance/service/ApplicationService.sol +356 -0
  257. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  258. package/contracts/instance/service/BundleService.sol +385 -0
  259. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  260. package/contracts/instance/service/ClaimService.sol +443 -0
  261. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  262. package/contracts/instance/service/DistributionService.sol +432 -0
  263. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  264. package/contracts/instance/service/IApplicationService.sol +79 -0
  265. package/contracts/instance/service/IBundleService.sol +118 -0
  266. package/contracts/instance/service/IClaimService.sol +90 -0
  267. package/contracts/instance/service/IDistributionService.sol +101 -0
  268. package/contracts/instance/service/IPolicyService.sol +80 -0
  269. package/contracts/instance/service/IPoolService.sol +114 -0
  270. package/contracts/instance/service/IProductService.sol +40 -0
  271. package/contracts/instance/service/PolicyService.sol +372 -0
  272. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  273. package/contracts/instance/service/PoolService.sol +403 -0
  274. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  275. package/contracts/instance/service/ProductService.sol +210 -0
  276. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  277. package/contracts/registry/ChainNft.sol +210 -0
  278. package/contracts/registry/IRegistry.sol +87 -52
  279. package/contracts/registry/IRegistryService.sol +66 -0
  280. package/contracts/registry/ITransferInterceptor.sol +7 -0
  281. package/contracts/registry/Registry.sol +399 -129
  282. package/contracts/registry/RegistryAccessManager.sol +216 -0
  283. package/contracts/registry/RegistryService.sol +282 -0
  284. package/contracts/registry/RegistryServiceManager.sol +62 -0
  285. package/contracts/registry/ReleaseManager.sol +324 -0
  286. package/contracts/registry/TokenRegistry.sol +116 -0
  287. package/contracts/shared/ContractDeployerLib.sol +72 -0
  288. package/contracts/shared/ERC165.sol +27 -0
  289. package/contracts/shared/INftOwnable.sol +23 -0
  290. package/contracts/shared/IPolicyHolder.sol +40 -0
  291. package/contracts/shared/IRegisterable.sol +15 -0
  292. package/contracts/shared/IRegistryLinked.sol +11 -0
  293. package/contracts/shared/IService.sol +18 -0
  294. package/contracts/shared/IVersionable.sol +53 -0
  295. package/contracts/shared/NftOwnable.sol +118 -0
  296. package/contracts/shared/PolicyHolder.sol +94 -0
  297. package/contracts/shared/ProxyManager.sol +169 -0
  298. package/contracts/shared/Registerable.sol +75 -0
  299. package/contracts/shared/RegistryLinked.sol +43 -0
  300. package/contracts/shared/Service.sol +72 -0
  301. package/contracts/shared/TokenHandler.sol +35 -0
  302. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  303. package/contracts/shared/Versionable.sol +59 -0
  304. package/contracts/test/TestFee.sol +25 -0
  305. package/contracts/test/TestRegisterable.sol +18 -0
  306. package/contracts/test/TestRoleId.sol +14 -0
  307. package/contracts/test/TestService.sol +25 -0
  308. package/contracts/test/TestToken.sol +26 -0
  309. package/contracts/test/TestVersion.sol +44 -0
  310. package/contracts/test/TestVersionable.sol +17 -0
  311. package/contracts/test/Usdc.sol +26 -0
  312. package/contracts/types/AddressSet.sol +58 -0
  313. package/contracts/types/Amount.sol +109 -0
  314. package/contracts/types/Blocknumber.sol +119 -0
  315. package/contracts/types/ChainId.sol +38 -0
  316. package/contracts/types/ClaimId.sol +75 -0
  317. package/contracts/types/DistributorType.sol +55 -0
  318. package/contracts/types/Fee.sol +65 -0
  319. package/contracts/types/Key32.sol +50 -0
  320. package/contracts/types/NftId.sol +80 -0
  321. package/contracts/types/NftIdSet.sol +62 -0
  322. package/contracts/types/NumberId.sol +52 -0
  323. package/contracts/types/ObjectType.sol +157 -0
  324. package/contracts/types/PayoutId.sol +82 -0
  325. package/contracts/types/Referral.sol +89 -0
  326. package/contracts/types/RiskId.sol +43 -0
  327. package/contracts/types/RoleId.sol +97 -0
  328. package/contracts/types/Seconds.sol +54 -0
  329. package/contracts/types/StateId.sol +110 -0
  330. package/contracts/types/Timestamp.sol +132 -0
  331. package/contracts/types/UFixed.sol +326 -0
  332. package/contracts/types/Version.sol +108 -0
  333. package/package.json +21 -6
  334. package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +0 -4
  335. package/artifacts/contracts/components/Component.sol/InstanceLinked.json +0 -35
  336. package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +0 -4
  337. package/artifacts/contracts/components/IPool.sol/IPoolComponent.json +0 -179
  338. package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +0 -4
  339. package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +0 -192
  340. package/artifacts/contracts/experiment/A.sol/A.dbg.json +0 -4
  341. package/artifacts/contracts/experiment/A.sol/A.json +0 -128
  342. package/artifacts/contracts/experiment/A.sol/AShared.dbg.json +0 -4
  343. package/artifacts/contracts/experiment/A.sol/AShared.json +0 -42
  344. package/artifacts/contracts/experiment/B.sol/B.dbg.json +0 -4
  345. package/artifacts/contracts/experiment/B.sol/B.json +0 -76
  346. package/artifacts/contracts/experiment/C.sol/C.dbg.json +0 -4
  347. package/artifacts/contracts/experiment/C.sol/C.json +0 -89
  348. package/artifacts/contracts/experiment/IA.sol/IA.dbg.json +0 -4
  349. package/artifacts/contracts/experiment/IA.sol/IA.json +0 -128
  350. package/artifacts/contracts/experiment/IA.sol/ISharedA.dbg.json +0 -4
  351. package/artifacts/contracts/experiment/IA.sol/ISharedA.json +0 -37
  352. package/artifacts/contracts/experiment/IB.sol/IB.dbg.json +0 -4
  353. package/artifacts/contracts/experiment/IB.sol/IB.json +0 -50
  354. package/artifacts/contracts/experiment/IC.sol/IC.dbg.json +0 -4
  355. package/artifacts/contracts/experiment/IC.sol/IC.json +0 -63
  356. package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +0 -4
  357. package/artifacts/contracts/instance/access/Access.sol/AccessModule.json +0 -400
  358. package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +0 -4
  359. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +0 -4
  360. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +0 -4
  361. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.json +0 -50
  362. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  363. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.json +0 -336
  364. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  365. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.json +0 -327
  366. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +0 -4
  367. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +0 -105
  368. package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +0 -4
  369. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +0 -4
  370. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +0 -179
  371. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  372. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +0 -245
  373. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +0 -4
  374. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +0 -94
  375. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +0 -4
  376. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.json +0 -24
  377. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  378. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  379. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.json +0 -231
  380. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  381. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +0 -231
  382. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  383. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  384. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.json +0 -149
  385. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  386. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.json +0 -162
  387. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +0 -4
  388. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.json +0 -75
  389. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +0 -4
  390. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.json +0 -114
  391. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +0 -4
  392. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.json +0 -75
  393. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +0 -4
  394. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +0 -125
  395. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +0 -4
  396. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.json +0 -24
  397. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +0 -4
  398. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +0 -166
  399. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +0 -4
  400. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.json +0 -49
  401. package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +0 -4
  402. package/artifacts/contracts/registry/Registry.sol/Registerable.json +0 -166
  403. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +0 -4
  404. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +0 -60
  405. package/contracts/components/IPool.sol +0 -9
  406. package/contracts/components/IProduct.sol +0 -11
  407. package/contracts/experiment/A.sol +0 -56
  408. package/contracts/experiment/B.sol +0 -23
  409. package/contracts/experiment/C.sol +0 -28
  410. package/contracts/experiment/IA.sol +0 -18
  411. package/contracts/experiment/IB.sol +0 -9
  412. package/contracts/experiment/IC.sol +0 -11
  413. package/contracts/instance/access/Access.sol +0 -218
  414. package/contracts/instance/access/IAccess.sol +0 -83
  415. package/contracts/instance/component/ComponentModule.sol +0 -259
  416. package/contracts/instance/component/IComponent.sol +0 -94
  417. package/contracts/instance/policy/IPolicy.sol +0 -66
  418. package/contracts/instance/policy/PolicyModule.sol +0 -106
  419. package/contracts/instance/pool/IPoolModule.sol +0 -40
  420. package/contracts/instance/pool/PoolModule.sol +0 -83
  421. package/contracts/instance/product/IProductService.sol +0 -45
  422. package/contracts/instance/product/ProductService.sol +0 -105
@@ -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": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b612e5780620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c8063644c45e01161010f5780638fbc2d81116100a2578063c13de99711610071578063c13de99714610452578063c2bf08c814610467578063ed841d0c1461047a578063f7c34ee01461048257600080fd5b80638fbc2d8114610413578063ada9652e14610426578063b68d18091461043b578063bf7e214f1461044a57600080fd5b80638105cc7f116100de5780638105cc7f146103d0578063893d20e8146103e35780638e32e979146103eb5780638fb36037146103fe57600080fd5b8063644c45e014610379578063675393bf146103975780637286e5e5146103aa5780637a9e5e4b146103bd57600080fd5b806327bb7a331161018757806357a8fba71161015657806357a8fba7146103035780635ab1bd531461032e5780635c992fed146103535780635d9662891461036657600080fd5b806327bb7a33146102c2578063329d6e74146102d557806336fc697e146102e857806349bb9e4b146102f057600080fd5b80630fec111c116101c35780630fec111c14610268578063138461e0146102705780631eff4b221461027a578063214cdb80146102af57600080fd5b806301ffc9a7146101ea578063026bc43b1461022c5780630d8e6e2c1461024c575b600080fd5b6102176101f836600461239a565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023f61023a3660046123f0565b610495565b6040516102239190612479565b610254610633565b60405162ffffff9091168152602001610223565b61023f6106bd565b6102786107de565b005b6102a17f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b6102786102bd36600461239a565b6109e5565b6102786102d0366004612642565b610a12565b6102786102e33660046126da565b610ab7565b610278610c04565b6102786102fe36600461270e565b610c4a565b61031661031136600461275d565b610d49565b6040516001600160601b039091168152602001610223565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b61031661036136600461275d565b610dd8565b61023f6103743660046123f0565b610dee565b600080516020612dc2833981519152546001600160601b0316610316565b6102786103a536600461282f565b610f2e565b61023f6103b83660046123f0565b611041565b6102786103cb36600461282f565b6110ee565b6103166103de36600461275d565b611171565b61033b611187565b6102786103f936600461284c565b6112be565b6104066114f7565b6040516102239190612897565b61023f6104213660046123f0565b61152f565b6102a1600080516020612dc283398151915281565b60405160288152602001610223565b61033b6115dc565b61045a6115f8565b60405161022391906128ac565b61031661047536600461275d565b611be4565b6102a1600081565b6102786104903660046123f0565b611bfa565b61049d61235c565b6104aa335b600036611c71565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906104dd906358bc0faf60e11b90600401612897565b602060405180830381865afa1580156104fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051e9190612964565b61053b57604051636795c76360e01b815260040160405180910390fd5b6105488360465b84611d77565b905061055c6001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016105879190612479565b6020604051808303816000875af11580156105a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ca919061298c565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192600092919082900301818387803b15801561061557600080fd5b505af1158015610629573d6000803e3d6000fd5b5050505092915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610694573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b891906129a9565b905090565b6106c561235c565b6040805160e081018252600081527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116602084015260ff600160601b8204811694840194909452600160681b90049092161515606082015230608082015260a0810161073a611187565b6001600160a01b03168152602001826001018054610757906129ce565b80601f0160208091040260200160405190810160405280929190818152602001828054610783906129ce565b80156107d05780601f106107a5576101008083540402835291602001916107d0565b820191906000526020600020905b8154815290600101906020018083116107b357829003601f168201915b505050505081525091505090565b6000600080516020612dc283398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561084d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108719190612964565b156108a25780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306108b56001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156108fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109219190612964565b6109495760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610899565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa15801561099d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c1919061298c565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6109ed611f67565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610a1a611f67565b610a248287611bfa565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301610aad8382612a4e565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610ad9610633565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610b19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b3d9190612b0d565b600080516020612e028339815191528054600160401b900460ff1680610b70575080546001600160401b03808416911610155b15610b8e5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610bb883611fa0565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610c0c611f67565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080516020612e028339815191528054600160401b810460ff1615906001600160401b0316600081158015610c7d5750825b90506000826001600160401b03166001148015610c995750303b155b905081158015610ca7575080155b15610cc55760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610cef57845460ff60401b1916600160401b1785555b610cf98787611fa8565b8315610d4057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000610d54336104a2565b610d5f82607a6120c7565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610d8f908590600401612479565b6020604051808303816000875af1158015610dae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dd2919061298c565b92915050565b6000610de3336104a2565b610d5f8260d36120c7565b610df661235c565b610dff336104a2565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790610e329063058d03e760e21b90600401612897565b602060405180830381865afa158015610e4f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e739190612964565b610e9057604051637a71998760e01b815260040160405180910390fd5b610e9b83606e610542565b9050610eaf6001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610eda9190612479565b6020604051808303816000875af1158015610ef9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1d919061298c565b6001600160601b0316815292915050565b610f36611f67565b806001600160a01b03163b600003610f6c5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610899565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a790610fb290630a3888e560e31b90600401612897565b602060405180830381865afa925050508015610feb575060408051601f3d908101601f19168201909252610fe891810190612964565b60015b6110135760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610899565b8061103c5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610899565b505b50565b61104961235c565b611052336104a2565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061108590630d02010f60e31b90600401612897565b602060405180830381865afa1580156110a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110c69190612964565b6110e357604051636f61f64160e01b815260040160405180910390fd5b610e9b83608c610542565b336110f76115dc565b6001600160a01b0316816001600160a01b0316146111325760405162d1953b60e31b81526001600160a01b0382166004820152602401610899565b816001600160a01b03163b600003611168576040516361798f2f60e11b81526001600160a01b0383166004820152602401610899565b61103c826121cd565b600061117c336104a2565b610d5f8260506120c7565b600080600080516020612dc283398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156111f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061121b9190612964565b156112a8576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561127e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112a29190612b41565b91505090565b54600160601b90046001600160a01b0316919050565b6112c6611f67565b61134683846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611308573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061132c919061298c565b603c60008560405180602001604052806000815250610a12565b6001600160a01b038216156113635761135e8261222e565b6114d2565b60006113776001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af41580156113d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113fb9190612b69565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611440573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114649190612b41565b90506114d0816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114cb9190612b41565b61222e565b505b6114e2634a531f3360e01b6109e5565b6114f263b68d180960e01b6109e5565b505050565b600080516020612de2833981519152805460009190600160a01b900460ff166115215760006112a2565b638fb3603760e01b91505090565b61153761235c565b611540336104a2565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061157390637895d0ed60e01b90600401612897565b602060405180830381865afa158015611590573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115b49190612964565b6115d1576040516308707e3160e41b815260040160405180910390fd5b610e9b836078610542565b600080516020612de2833981519152546001600160a01b031690565b6040805160088082526101208201909252606091816020015b60408051808201909152600081526060602082015281526020019060019003908161161157905050905061164360d390565b8160008151811061165657611656612b86565b60209081029190910181015160ff9290921690915260408051600080825292810190915290508160008151811061168f5761168f612b86565b6020026020010151602001819052506116a660d290565b816001815181106116b9576116b9612b86565b602090810291909101015160ff9190911690526040805160018082528183019092529081602001602082028036833701905050816001815181106116ff576116ff612b86565b602002602001015160200181905250635c992fed60e01b8160018151811061172957611729612b86565b60200260200101516020015160008151811061174757611747612b86565b6001600160e01b03199092166020928302919091019091015261176860d490565b8160028151811061177b5761177b612b86565b60209081029190910181015160ff92909216909152604080516000815291820190528151829060029081106117b2576117b2612b86565b6020026020010151602001819052506117c9606e90565b816003815181106117dc576117dc612b86565b602090810291909101015160ff91909116905260408051600180825281830190925290816020016020820280368337019050508160038151811061182257611822612b86565b602002602001015160200181905250635d96628960e01b8160038151811061184c5761184c612b86565b60200260200101516020015160008151811061186a5761186a612b86565b6001600160e01b03199092166020928302919091019091015261188b608c90565b8160048151811061189e5761189e612b86565b602090810291909101015160ff9190911690526040805160018082528183019092529081602001602082028036833701905050816004815181106118e4576118e4612b86565b602002602001015160200181905250637286e5e560e01b8160048151811061190e5761190e612b86565b60200260200101516020015160008151811061192c5761192c612b86565b6001600160e01b03199092166020928302919091019091015261194d60dc90565b8160058151811061196057611960612b86565b602090810291909101015160ff9190911690526040805160018082528183019092529081602001602082028036833701905050816005815181106119a6576119a6612b86565b60200260200101516020018190525063c2bf08c860e01b816005815181106119d0576119d0612b86565b6020026020010151602001516000815181106119ee576119ee612b86565b6001600160e01b031990921660209283029190910190910152611a0f607890565b81600681518110611a2257611a22612b86565b602090810291909101015160ff91909116905260408051600280825260608201909252908160200160208202803683370190505081600681518110611a6957611a69612b86565b602002602001015160200181905250638fbc2d8160e01b81600681518110611a9357611a93612b86565b602002602001015160200151600081518110611ab157611ab1612b86565b6001600160e01b03199092166020928302919091019091015280516357a8fba760e01b9082906006908110611ae857611ae8612b86565b602002602001015160200151600181518110611b0657611b06612b86565b6001600160e01b031990921660209283029190910190910152611b27604690565b81600781518110611b3a57611b3a612b86565b602090810291909101015160ff919091169052604080516001808252818301909252908160200160208202803683370190505081600781518110611b8057611b80612b86565b60200260200101516020018190525063026bc43b60e01b81600781518110611baa57611baa612b86565b602002602001015160200151600081518110611bc857611bc8612b86565b6001600160e01b03199092166020928302919091019091015290565b6000611bef336104a2565b610d5f8260dc6120c7565b611c02611f67565b611c0b81610f2e565b611c13610c04565b6001600160a01b038216611c3a5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020612dc283398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020612de2833981519152600080611cac611c8e6115dc565b8730611c9e600460008a8c612b9c565b611ca791612bc6565b61223f565b9150915081611d6f5763ffffffff811615611d4c57825460ff60a01b1916600160a01b178355611cda6115dc565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611d0993929190612bf6565b600060405180830381600087803b158015611d2357600080fd5b505af1158015611d37573d6000803e3d6000fd5b5050845460ff60a01b1916855550611d6f9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610899565b505050505050565b611d7f61235c565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611dbd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611de59190810190612c7b565b6001600160a01b0385166080820152604081015190915060ff848116911614611e34576040808201519051632208245760e11b815260ff80861660048301529091166024820152604401610899565b60a08101516001600160a01b0380821690841614611e705760405163dfc430cb60e01b81526001600160a01b0384166004820152602401610899565b846001600160a01b0316816001600160a01b031603611ea2576040516317faf4db60e11b815260040160405180910390fd5b6001600160a01b038116611ec957604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611f1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f419190612964565b15611f5f57604051637142ceb360e11b815260040160405180910390fd5b509392505050565b600080516020612e0283398151915254600160401b900460ff16611f9e57604051631afcd79f60e31b815260040160405180910390fd5b565b6101e5611f67565b600080516020612e028339815191528054600160401b810460ff1615906001600160401b0316600081158015611fdb5750825b90506000826001600160401b03166001148015611ff75750303b155b905081158015612005575080155b156120235760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561204d57845460ff60401b1916600160401b1785555b600080878060200190518101906120649190612d3e565b9150915061207382828b6112be565b61208363aa745bc360e01b6109e5565b50508315610d4057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610d37565b60006080830152604082015160ff82811691161461210b576040808301519051632208245760e11b815260ff80841660048301529091166024820152604401610899565b60a08201516001600160a01b03811661213757604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561218b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121af9190612964565b156114f257604051637142ceb360e11b815260040160405180910390fd5b600080516020612de283398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b612236611f67565b61103e8161234b565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516122ae9190612d6d565b600060405180830381855afa9150503d80600081146122e9576040519150601f19603f3d011682016040523d82523d6000602084013e6122ee565b606091505b5091509150811561234057604081511061232057808060200190518101906123169190612d89565b9094509250612340565b6020815110612340578080602001905181019061233d9190612964565b93505b505094509492505050565b612353611f67565b61103e816121cd565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6000602082840312156123ac57600080fd5b81356001600160e01b0319811681146123c457600080fd5b9392505050565b6001600160a01b038116811461103e57600080fd5b80356123eb816123cb565b919050565b6000806040838503121561240357600080fd5b823561240e816123cb565b9150602083013561241e816123cb565b809150509250929050565b60005b8381101561244457818101518382015260200161242c565b50506000910152565b60008151808452612465816020860160208601612429565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516124e260c08401826001600160a01b03169052565b5060c083015160e0808401526124fc61010084018261244d565b949350505050565b6001600160601b038116811461103e57600080fd5b80356123eb81612504565b60ff8116811461103e57600080fd5b80356123eb81612524565b801515811461103e57600080fd5b80356123eb8161253e565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b038111828210171561258f5761258f612557565b60405290565b604051601f8201601f191681016001600160401b03811182821017156125bd576125bd612557565b604052919050565b60006001600160401b038211156125de576125de612557565b50601f01601f191660200190565b600082601f8301126125fd57600080fd5b813561261061260b826125c5565b612595565b81815284602083860101111561262557600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c0878903121561265b57600080fd5b8635612666816123cb565b9550602087013561267681612504565b9450604087013561268681612524565b935060608701356126968161253e565b925060808701356126a6816123cb565b915060a08701356001600160401b038111156126c157600080fd5b6126cd89828a016125ec565b9150509295509295509295565b6000602082840312156126ec57600080fd5b81356001600160401b0381111561270257600080fd5b6124fc848285016125ec565b6000806040838503121561272157600080fd5b823561272c816123cb565b915060208301356001600160401b0381111561274757600080fd5b612753858286016125ec565b9150509250929050565b60006020828403121561276f57600080fd5b81356001600160401b038082111561278657600080fd5b9083019060e0828603121561279a57600080fd5b6127a261256d565b6127ab83612519565b81526127b960208401612519565b60208201526127ca60408401612533565b60408201526127db6060840161254c565b60608201526127ec608084016123e0565b60808201526127fd60a084016123e0565b60a082015260c08301358281111561281457600080fd5b612820878286016125ec565b60c08301525095945050505050565b60006020828403121561284157600080fd5b81356123c4816123cb565b60008060006060848603121561286157600080fd5b833561286c816123cb565b9250602084013561287c816123cb565b9150604084013561288c816123cb565b809150509250925092565b6001600160e01b031991909116815260200190565b60006020808301818452808551808352604092508286019150828160051b8701018488016000805b8481101561294a57898403603f190186528251805160ff168552880151888501889052805188860181905290890190839060608701905b808310156129355783516001600160e01b0319168252928b019260019290920191908b019061290b565b50978a019795505050918701916001016128d4565b50919998505050505050505050565b80516123eb8161253e565b60006020828403121561297657600080fd5b81516123c48161253e565b80516123eb81612504565b60006020828403121561299e57600080fd5b81516123c481612504565b6000602082840312156129bb57600080fd5b815162ffffff811681146123c457600080fd5b600181811c908216806129e257607f821691505b602082108103612a0257634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156114f257600081815260208120601f850160051c81016020861015612a2f5750805b601f850160051c820191505b81811015611d6f57828155600101612a3b565b81516001600160401b03811115612a6757612a67612557565b612a7b81612a7584546129ce565b84612a08565b602080601f831160018114612ab05760008415612a985750858301515b600019600386901b1c1916600185901b178555611d6f565b600085815260208120601f198616915b82811015612adf57888601518255948401946001909101908401612ac0565b5085821015612afd5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215612b1f57600080fd5b81516001600160401b03811681146123c457600080fd5b80516123eb816123cb565b600060208284031215612b5357600080fd5b81516123c4816123cb565b80516123eb81612524565b600060208284031215612b7b57600080fd5b81516123c481612524565b634e487b7160e01b600052603260045260246000fd5b60008085851115612bac57600080fd5b83861115612bb957600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015612bee5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f830112612c4757600080fd5b8151612c5561260b826125c5565b818152846020838601011115612c6a57600080fd5b6124fc826020830160208701612429565b600060208284031215612c8d57600080fd5b81516001600160401b0380821115612ca457600080fd5b9083019060e08286031215612cb857600080fd5b612cc061256d565b612cc983612981565b8152612cd760208401612981565b6020820152612ce860408401612b5e565b6040820152612cf960608401612959565b6060820152612d0a60808401612b36565b6080820152612d1b60a08401612b36565b60a082015260c083015182811115612d3257600080fd5b61282087828601612c36565b60008060408385031215612d5157600080fd5b8251612d5c816123cb565b602084015190925061241e816123cb565b60008251612d7f818460208701612429565b9190910192915050565b60008060408385031215612d9c57600080fd5b8251612da78161253e565b602084015190925063ffffffff8116811461241e57600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a264697066735822122034130fcf4492e8ee9db528f34a467e332b2b8d80e46e419a32b6fd62a2ed933f64736f6c63430008140033",
1085
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101e55760003560e01c8063644c45e01161010f5780638fbc2d81116100a2578063c13de99711610071578063c13de99714610452578063c2bf08c814610467578063ed841d0c1461047a578063f7c34ee01461048257600080fd5b80638fbc2d8114610413578063ada9652e14610426578063b68d18091461043b578063bf7e214f1461044a57600080fd5b80638105cc7f116100de5780638105cc7f146103d0578063893d20e8146103e35780638e32e979146103eb5780638fb36037146103fe57600080fd5b8063644c45e014610379578063675393bf146103975780637286e5e5146103aa5780637a9e5e4b146103bd57600080fd5b806327bb7a331161018757806357a8fba71161015657806357a8fba7146103035780635ab1bd531461032e5780635c992fed146103535780635d9662891461036657600080fd5b806327bb7a33146102c2578063329d6e74146102d557806336fc697e146102e857806349bb9e4b146102f057600080fd5b80630fec111c116101c35780630fec111c14610268578063138461e0146102705780631eff4b221461027a578063214cdb80146102af57600080fd5b806301ffc9a7146101ea578063026bc43b1461022c5780630d8e6e2c1461024c575b600080fd5b6102176101f836600461239a565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023f61023a3660046123f0565b610495565b6040516102239190612479565b610254610633565b60405162ffffff9091168152602001610223565b61023f6106bd565b6102786107de565b005b6102a17f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b6102786102bd36600461239a565b6109e5565b6102786102d0366004612642565b610a12565b6102786102e33660046126da565b610ab7565b610278610c04565b6102786102fe36600461270e565b610c4a565b61031661031136600461275d565b610d49565b6040516001600160601b039091168152602001610223565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b61031661036136600461275d565b610dd8565b61023f6103743660046123f0565b610dee565b600080516020612dc2833981519152546001600160601b0316610316565b6102786103a536600461282f565b610f2e565b61023f6103b83660046123f0565b611041565b6102786103cb36600461282f565b6110ee565b6103166103de36600461275d565b611171565b61033b611187565b6102786103f936600461284c565b6112be565b6104066114f7565b6040516102239190612897565b61023f6104213660046123f0565b61152f565b6102a1600080516020612dc283398151915281565b60405160288152602001610223565b61033b6115dc565b61045a6115f8565b60405161022391906128ac565b61031661047536600461275d565b611be4565b6102a1600081565b6102786104903660046123f0565b611bfa565b61049d61235c565b6104aa335b600036611c71565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906104dd906358bc0faf60e11b90600401612897565b602060405180830381865afa1580156104fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051e9190612964565b61053b57604051636795c76360e01b815260040160405180910390fd5b6105488360465b84611d77565b905061055c6001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016105879190612479565b6020604051808303816000875af11580156105a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ca919061298c565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192600092919082900301818387803b15801561061557600080fd5b505af1158015610629573d6000803e3d6000fd5b5050505092915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610694573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b891906129a9565b905090565b6106c561235c565b6040805160e081018252600081527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116602084015260ff600160601b8204811694840194909452600160681b90049092161515606082015230608082015260a0810161073a611187565b6001600160a01b03168152602001826001018054610757906129ce565b80601f0160208091040260200160405190810160405280929190818152602001828054610783906129ce565b80156107d05780601f106107a5576101008083540402835291602001916107d0565b820191906000526020600020905b8154815290600101906020018083116107b357829003601f168201915b505050505081525091505090565b6000600080516020612dc283398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561084d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108719190612964565b156108a25780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306108b56001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156108fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109219190612964565b6109495760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610899565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa15801561099d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c1919061298c565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6109ed611f67565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610a1a611f67565b610a248287611bfa565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301610aad8382612a4e565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610ad9610633565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610b19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b3d9190612b0d565b600080516020612e028339815191528054600160401b900460ff1680610b70575080546001600160401b03808416911610155b15610b8e5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610bb883611fa0565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610c0c611f67565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080516020612e028339815191528054600160401b810460ff1615906001600160401b0316600081158015610c7d5750825b90506000826001600160401b03166001148015610c995750303b155b905081158015610ca7575080155b15610cc55760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610cef57845460ff60401b1916600160401b1785555b610cf98787611fa8565b8315610d4057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000610d54336104a2565b610d5f82607a6120c7565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610d8f908590600401612479565b6020604051808303816000875af1158015610dae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dd2919061298c565b92915050565b6000610de3336104a2565b610d5f8260d36120c7565b610df661235c565b610dff336104a2565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790610e329063058d03e760e21b90600401612897565b602060405180830381865afa158015610e4f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e739190612964565b610e9057604051637a71998760e01b815260040160405180910390fd5b610e9b83606e610542565b9050610eaf6001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610eda9190612479565b6020604051808303816000875af1158015610ef9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1d919061298c565b6001600160601b0316815292915050565b610f36611f67565b806001600160a01b03163b600003610f6c5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610899565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a790610fb290630a3888e560e31b90600401612897565b602060405180830381865afa925050508015610feb575060408051601f3d908101601f19168201909252610fe891810190612964565b60015b6110135760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610899565b8061103c5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610899565b505b50565b61104961235c565b611052336104a2565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061108590630d02010f60e31b90600401612897565b602060405180830381865afa1580156110a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110c69190612964565b6110e357604051636f61f64160e01b815260040160405180910390fd5b610e9b83608c610542565b336110f76115dc565b6001600160a01b0316816001600160a01b0316146111325760405162d1953b60e31b81526001600160a01b0382166004820152602401610899565b816001600160a01b03163b600003611168576040516361798f2f60e11b81526001600160a01b0383166004820152602401610899565b61103c826121cd565b600061117c336104a2565b610d5f8260506120c7565b600080600080516020612dc283398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156111f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061121b9190612964565b156112a8576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561127e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112a29190612b41565b91505090565b54600160601b90046001600160a01b0316919050565b6112c6611f67565b61134683846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611308573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061132c919061298c565b603c60008560405180602001604052806000815250610a12565b6001600160a01b038216156113635761135e8261222e565b6114d2565b60006113776001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af41580156113d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113fb9190612b69565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611440573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114649190612b41565b90506114d0816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114cb9190612b41565b61222e565b505b6114e2634a531f3360e01b6109e5565b6114f263b68d180960e01b6109e5565b505050565b600080516020612de2833981519152805460009190600160a01b900460ff166115215760006112a2565b638fb3603760e01b91505090565b61153761235c565b611540336104a2565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061157390637895d0ed60e01b90600401612897565b602060405180830381865afa158015611590573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115b49190612964565b6115d1576040516308707e3160e41b815260040160405180910390fd5b610e9b836078610542565b600080516020612de2833981519152546001600160a01b031690565b6040805160088082526101208201909252606091816020015b60408051808201909152600081526060602082015281526020019060019003908161161157905050905061164360d390565b8160008151811061165657611656612b86565b60209081029190910181015160ff9290921690915260408051600080825292810190915290508160008151811061168f5761168f612b86565b6020026020010151602001819052506116a660d290565b816001815181106116b9576116b9612b86565b602090810291909101015160ff9190911690526040805160018082528183019092529081602001602082028036833701905050816001815181106116ff576116ff612b86565b602002602001015160200181905250635c992fed60e01b8160018151811061172957611729612b86565b60200260200101516020015160008151811061174757611747612b86565b6001600160e01b03199092166020928302919091019091015261176860d490565b8160028151811061177b5761177b612b86565b60209081029190910181015160ff92909216909152604080516000815291820190528151829060029081106117b2576117b2612b86565b6020026020010151602001819052506117c9606e90565b816003815181106117dc576117dc612b86565b602090810291909101015160ff91909116905260408051600180825281830190925290816020016020820280368337019050508160038151811061182257611822612b86565b602002602001015160200181905250635d96628960e01b8160038151811061184c5761184c612b86565b60200260200101516020015160008151811061186a5761186a612b86565b6001600160e01b03199092166020928302919091019091015261188b608c90565b8160048151811061189e5761189e612b86565b602090810291909101015160ff9190911690526040805160018082528183019092529081602001602082028036833701905050816004815181106118e4576118e4612b86565b602002602001015160200181905250637286e5e560e01b8160048151811061190e5761190e612b86565b60200260200101516020015160008151811061192c5761192c612b86565b6001600160e01b03199092166020928302919091019091015261194d60dc90565b8160058151811061196057611960612b86565b602090810291909101015160ff9190911690526040805160018082528183019092529081602001602082028036833701905050816005815181106119a6576119a6612b86565b60200260200101516020018190525063c2bf08c860e01b816005815181106119d0576119d0612b86565b6020026020010151602001516000815181106119ee576119ee612b86565b6001600160e01b031990921660209283029190910190910152611a0f607890565b81600681518110611a2257611a22612b86565b602090810291909101015160ff91909116905260408051600280825260608201909252908160200160208202803683370190505081600681518110611a6957611a69612b86565b602002602001015160200181905250638fbc2d8160e01b81600681518110611a9357611a93612b86565b602002602001015160200151600081518110611ab157611ab1612b86565b6001600160e01b03199092166020928302919091019091015280516357a8fba760e01b9082906006908110611ae857611ae8612b86565b602002602001015160200151600181518110611b0657611b06612b86565b6001600160e01b031990921660209283029190910190910152611b27604690565b81600781518110611b3a57611b3a612b86565b602090810291909101015160ff919091169052604080516001808252818301909252908160200160208202803683370190505081600781518110611b8057611b80612b86565b60200260200101516020018190525063026bc43b60e01b81600781518110611baa57611baa612b86565b602002602001015160200151600081518110611bc857611bc8612b86565b6001600160e01b03199092166020928302919091019091015290565b6000611bef336104a2565b610d5f8260dc6120c7565b611c02611f67565b611c0b81610f2e565b611c13610c04565b6001600160a01b038216611c3a5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020612dc283398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020612de2833981519152600080611cac611c8e6115dc565b8730611c9e600460008a8c612b9c565b611ca791612bc6565b61223f565b9150915081611d6f5763ffffffff811615611d4c57825460ff60a01b1916600160a01b178355611cda6115dc565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611d0993929190612bf6565b600060405180830381600087803b158015611d2357600080fd5b505af1158015611d37573d6000803e3d6000fd5b5050845460ff60a01b1916855550611d6f9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610899565b505050505050565b611d7f61235c565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611dbd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611de59190810190612c7b565b6001600160a01b0385166080820152604081015190915060ff848116911614611e34576040808201519051632208245760e11b815260ff80861660048301529091166024820152604401610899565b60a08101516001600160a01b0380821690841614611e705760405163dfc430cb60e01b81526001600160a01b0384166004820152602401610899565b846001600160a01b0316816001600160a01b031603611ea2576040516317faf4db60e11b815260040160405180910390fd5b6001600160a01b038116611ec957604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611f1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f419190612964565b15611f5f57604051637142ceb360e11b815260040160405180910390fd5b509392505050565b600080516020612e0283398151915254600160401b900460ff16611f9e57604051631afcd79f60e31b815260040160405180910390fd5b565b6101e5611f67565b600080516020612e028339815191528054600160401b810460ff1615906001600160401b0316600081158015611fdb5750825b90506000826001600160401b03166001148015611ff75750303b155b905081158015612005575080155b156120235760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561204d57845460ff60401b1916600160401b1785555b600080878060200190518101906120649190612d3e565b9150915061207382828b6112be565b61208363aa745bc360e01b6109e5565b50508315610d4057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610d37565b60006080830152604082015160ff82811691161461210b576040808301519051632208245760e11b815260ff80841660048301529091166024820152604401610899565b60a08201516001600160a01b03811661213757604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561218b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121af9190612964565b156114f257604051637142ceb360e11b815260040160405180910390fd5b600080516020612de283398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b612236611f67565b61103e8161234b565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516122ae9190612d6d565b600060405180830381855afa9150503d80600081146122e9576040519150601f19603f3d011682016040523d82523d6000602084013e6122ee565b606091505b5091509150811561234057604081511061232057808060200190518101906123169190612d89565b9094509250612340565b6020815110612340578080602001905181019061233d9190612964565b93505b505094509492505050565b612353611f67565b61103e816121cd565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6000602082840312156123ac57600080fd5b81356001600160e01b0319811681146123c457600080fd5b9392505050565b6001600160a01b038116811461103e57600080fd5b80356123eb816123cb565b919050565b6000806040838503121561240357600080fd5b823561240e816123cb565b9150602083013561241e816123cb565b809150509250929050565b60005b8381101561244457818101518382015260200161242c565b50506000910152565b60008151808452612465816020860160208601612429565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516124e260c08401826001600160a01b03169052565b5060c083015160e0808401526124fc61010084018261244d565b949350505050565b6001600160601b038116811461103e57600080fd5b80356123eb81612504565b60ff8116811461103e57600080fd5b80356123eb81612524565b801515811461103e57600080fd5b80356123eb8161253e565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b038111828210171561258f5761258f612557565b60405290565b604051601f8201601f191681016001600160401b03811182821017156125bd576125bd612557565b604052919050565b60006001600160401b038211156125de576125de612557565b50601f01601f191660200190565b600082601f8301126125fd57600080fd5b813561261061260b826125c5565b612595565b81815284602083860101111561262557600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c0878903121561265b57600080fd5b8635612666816123cb565b9550602087013561267681612504565b9450604087013561268681612524565b935060608701356126968161253e565b925060808701356126a6816123cb565b915060a08701356001600160401b038111156126c157600080fd5b6126cd89828a016125ec565b9150509295509295509295565b6000602082840312156126ec57600080fd5b81356001600160401b0381111561270257600080fd5b6124fc848285016125ec565b6000806040838503121561272157600080fd5b823561272c816123cb565b915060208301356001600160401b0381111561274757600080fd5b612753858286016125ec565b9150509250929050565b60006020828403121561276f57600080fd5b81356001600160401b038082111561278657600080fd5b9083019060e0828603121561279a57600080fd5b6127a261256d565b6127ab83612519565b81526127b960208401612519565b60208201526127ca60408401612533565b60408201526127db6060840161254c565b60608201526127ec608084016123e0565b60808201526127fd60a084016123e0565b60a082015260c08301358281111561281457600080fd5b612820878286016125ec565b60c08301525095945050505050565b60006020828403121561284157600080fd5b81356123c4816123cb565b60008060006060848603121561286157600080fd5b833561286c816123cb565b9250602084013561287c816123cb565b9150604084013561288c816123cb565b809150509250925092565b6001600160e01b031991909116815260200190565b60006020808301818452808551808352604092508286019150828160051b8701018488016000805b8481101561294a57898403603f190186528251805160ff168552880151888501889052805188860181905290890190839060608701905b808310156129355783516001600160e01b0319168252928b019260019290920191908b019061290b565b50978a019795505050918701916001016128d4565b50919998505050505050505050565b80516123eb8161253e565b60006020828403121561297657600080fd5b81516123c48161253e565b80516123eb81612504565b60006020828403121561299e57600080fd5b81516123c481612504565b6000602082840312156129bb57600080fd5b815162ffffff811681146123c457600080fd5b600181811c908216806129e257607f821691505b602082108103612a0257634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156114f257600081815260208120601f850160051c81016020861015612a2f5750805b601f850160051c820191505b81811015611d6f57828155600101612a3b565b81516001600160401b03811115612a6757612a67612557565b612a7b81612a7584546129ce565b84612a08565b602080601f831160018114612ab05760008415612a985750858301515b600019600386901b1c1916600185901b178555611d6f565b600085815260208120601f198616915b82811015612adf57888601518255948401946001909101908401612ac0565b5085821015612afd5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215612b1f57600080fd5b81516001600160401b03811681146123c457600080fd5b80516123eb816123cb565b600060208284031215612b5357600080fd5b81516123c4816123cb565b80516123eb81612524565b600060208284031215612b7b57600080fd5b81516123c481612524565b634e487b7160e01b600052603260045260246000fd5b60008085851115612bac57600080fd5b83861115612bb957600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015612bee5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f830112612c4757600080fd5b8151612c5561260b826125c5565b818152846020838601011115612c6a57600080fd5b6124fc826020830160208701612429565b600060208284031215612c8d57600080fd5b81516001600160401b0380821115612ca457600080fd5b9083019060e08286031215612cb857600080fd5b612cc061256d565b612cc983612981565b8152612cd760208401612981565b6020820152612ce860408401612b5e565b6040820152612cf960608401612959565b6060820152612d0a60808401612b36565b6080820152612d1b60a08401612b36565b60a082015260c083015182811115612d3257600080fd5b61282087828601612c36565b60008060408385031215612d5157600080fd5b8251612d5c816123cb565b602084015190925061241e816123cb565b60008251612d7f818460208701612429565b9190910192915050565b60008060408385031215612d9c57600080fd5b8251612da78161253e565b602084015190925063ffffffff8116811461241e57600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a264697066735822122034130fcf4492e8ee9db528f34a467e332b2b8d80e46e419a32b6fd62a2ed933f64736f6c63430008140033",
1086
+ "linkReferences": {
1087
+ "contracts/types/NftId.sol": {
1088
+ "NftIdLib": [
1089
+ {
1090
+ "length": 20,
1091
+ "start": 2297
1092
+ },
1093
+ {
1094
+ "length": 20,
1095
+ "start": 4771
1096
+ }
1097
+ ]
1098
+ },
1099
+ "contracts/types/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/types/NftId.sol": {
1120
+ "NftIdLib": [
1121
+ {
1122
+ "length": 20,
1123
+ "start": 2067
1124
+ },
1125
+ {
1126
+ "length": 20,
1127
+ "start": 4541
1128
+ }
1129
+ ]
1130
+ },
1131
+ "contracts/types/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
+ }