@etherisc/gif-next 0.0.2-8eb96a8-113 → 0.0.2-9105e58-225

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (439) hide show
  1. package/README.md +403 -8
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
  3. package/artifacts/contracts/components/Component.sol/Component.json +694 -35
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +1400 -0
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/{registry/IChainNft.sol/IChainNft.json → components/IComponent.sol/IComponent.json} +284 -223
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +943 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +887 -0
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +806 -0
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +1151 -146
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +1067 -156
  18. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +4 -0
  19. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +66 -0
  20. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +4 -0
  21. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +24 -0
  22. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +4 -0
  23. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +42 -0
  24. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +2 -2
  26. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +2 -2
  28. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  29. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +2 -2
  30. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  31. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +2 -2
  32. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  33. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  34. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  35. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  36. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  37. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  38. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
  39. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +2 -2
  40. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
  41. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
  42. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
  43. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +2 -2
  44. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
  45. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +2 -2
  46. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  47. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +2 -2
  48. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  49. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +2 -2
  50. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  51. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +764 -0
  52. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  53. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +185 -0
  54. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  55. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1779 -774
  56. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  57. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +648 -0
  58. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  59. package/artifacts/contracts/instance/Instance.sol/Instance.json +2522 -848
  60. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  61. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +984 -0
  62. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  63. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1386 -0
  64. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  65. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1224 -0
  66. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  67. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +579 -0
  68. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  69. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +261 -0
  70. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  71. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +702 -0
  72. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  73. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +429 -0
  74. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  75. package/artifacts/contracts/instance/{lifecycle/ILifecycle.sol/ILifecycleModule.json → base/ILifecycle.sol/ILifecycle.json} +10 -77
  76. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  77. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +502 -0
  78. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  79. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +169 -0
  80. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  81. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +254 -0
  82. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  83. package/artifacts/contracts/instance/{access/IAccess.sol/IAccess.json → module/IBundle.sol/IBundle.json} +2 -2
  84. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  85. package/artifacts/contracts/instance/{component/IComponent.sol/IComponent.json → module/IDistribution.sol/IDistribution.json} +2 -2
  86. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  87. package/artifacts/contracts/instance/{policy → module}/IPolicy.sol/IPolicy.json +1 -1
  88. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  89. package/artifacts/contracts/instance/{pool/IPoolModule.sol/IPool.json → module/IRisk.sol/IRisk.json} +2 -2
  90. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  91. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.json +10 -0
  92. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  93. package/artifacts/contracts/instance/{treasury → module}/ITreasury.sol/ITreasury.json +1 -1
  94. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  95. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +1047 -0
  96. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  97. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +543 -0
  98. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  99. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1266 -0
  100. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  101. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +547 -0
  102. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  103. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +932 -0
  104. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  105. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +523 -0
  106. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  107. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1124 -0
  108. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  109. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +563 -0
  110. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  111. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +612 -0
  112. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  113. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +772 -0
  114. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  115. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +548 -0
  116. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  117. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +630 -0
  118. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  119. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +722 -0
  120. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
  121. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +486 -0
  122. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
  123. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +523 -0
  124. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  125. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1290 -0
  126. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  127. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +603 -0
  128. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  129. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +905 -0
  130. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  131. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +535 -0
  132. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  133. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +955 -0
  134. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  135. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +535 -0
  136. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  137. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +239 -2
  138. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  139. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +578 -29
  140. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  141. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +1029 -0
  142. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  143. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
  144. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  145. package/artifacts/contracts/registry/Registry.sol/Registry.json +651 -68
  146. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  147. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  148. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  149. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1355 -0
  150. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  151. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +556 -0
  152. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  153. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
  154. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  155. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +498 -0
  156. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  157. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  158. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +4 -0
  159. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +73 -0
  160. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  161. package/artifacts/contracts/{registry/Registry.sol/Registerable.json → shared/INftOwnable.sol/INftOwnable.json} +46 -74
  162. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  163. package/artifacts/contracts/{instance/product/IProductService.sol/IProductService.json → shared/IPolicyHolder.sol/IPolicyHolder.json} +68 -66
  164. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +4 -0
  165. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +188 -0
  166. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  167. package/artifacts/contracts/{registry/IRegistry.sol → shared/IRegistryLinked.sol}/IRegistryLinked.json +18 -19
  168. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  169. package/artifacts/contracts/shared/IService.sol/IService.json +408 -0
  170. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +4 -0
  171. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +205 -0
  172. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  173. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +251 -0
  174. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  175. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
  176. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  177. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +466 -0
  178. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +4 -0
  179. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +363 -0
  180. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  181. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
  182. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  183. package/artifacts/contracts/shared/Service.sol/Service.json +575 -0
  184. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  185. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
  186. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  187. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  188. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +4 -0
  189. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +228 -0
  190. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +4 -0
  191. package/artifacts/contracts/test/TestFee.sol/TestFee.json +119 -0
  192. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +4 -0
  193. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +394 -0
  194. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +4 -0
  195. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +116 -0
  196. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +4 -0
  197. package/artifacts/contracts/test/TestService.sol/TestService.json +707 -0
  198. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +4 -0
  199. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +376 -0
  200. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +4 -0
  201. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +218 -0
  202. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +4 -0
  203. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +286 -0
  204. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +4 -0
  205. package/artifacts/contracts/test/Usdc.sol/USDC.json +376 -0
  206. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  207. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +10 -0
  208. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  209. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  210. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  211. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +2 -2
  212. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  213. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -0
  214. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  215. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  216. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +4 -0
  217. package/artifacts/contracts/types/Fee.sol/FeeLib.json +257 -0
  218. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +4 -0
  219. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +125 -0
  220. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  221. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +65 -4
  222. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  223. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +33 -0
  224. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  225. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  226. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  227. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  228. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  229. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +100 -0
  230. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  231. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +123 -0
  232. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
  233. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
  234. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +4 -0
  235. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +156 -0
  236. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  237. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  238. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  239. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +77 -2
  240. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  241. package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
  242. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  243. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +479 -0
  244. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +4 -0
  245. package/artifacts/contracts/types/Version.sol/VersionLib.json +177 -0
  246. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +4 -0
  247. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +49 -0
  248. package/contracts/components/Component.sol +212 -47
  249. package/contracts/components/Distribution.sol +308 -0
  250. package/contracts/components/IComponent.sol +55 -0
  251. package/contracts/components/IDistributionComponent.sol +100 -0
  252. package/contracts/components/IPoolComponent.sol +87 -0
  253. package/contracts/components/IProductComponent.sol +39 -0
  254. package/contracts/components/Pool.sol +229 -27
  255. package/contracts/components/Product.sol +243 -47
  256. package/contracts/experiment/cloning/Cloner.sol +47 -0
  257. package/contracts/instance/BundleManager.sol +125 -0
  258. package/contracts/instance/Cloneable.sol +46 -0
  259. package/contracts/instance/IInstance.sol +91 -24
  260. package/contracts/instance/IInstanceService.sol +59 -0
  261. package/contracts/instance/Instance.sol +270 -51
  262. package/contracts/instance/InstanceAccessManager.sol +297 -0
  263. package/contracts/instance/InstanceReader.sol +293 -0
  264. package/contracts/instance/InstanceService.sol +476 -0
  265. package/contracts/instance/InstanceServiceManager.sol +54 -0
  266. package/contracts/instance/ObjectManager.sol +84 -0
  267. package/contracts/instance/base/ComponentService.sol +134 -0
  268. package/contracts/instance/base/IKeyValueStore.sol +49 -0
  269. package/contracts/instance/base/ILifecycle.sol +30 -0
  270. package/contracts/instance/base/KeyValueStore.sol +172 -0
  271. package/contracts/instance/base/Lifecycle.sol +100 -0
  272. package/contracts/instance/module/IAccess.sol +47 -0
  273. package/contracts/instance/module/IBundle.sol +20 -0
  274. package/contracts/instance/module/IDistribution.sol +39 -0
  275. package/contracts/instance/module/IPolicy.sol +47 -0
  276. package/contracts/instance/module/IRisk.sol +11 -0
  277. package/contracts/instance/module/ISetup.sol +47 -0
  278. package/contracts/instance/module/ITreasury.sol +23 -0
  279. package/contracts/instance/service/ApplicationService.sol +268 -0
  280. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  281. package/contracts/instance/service/BundleService.sol +298 -0
  282. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  283. package/contracts/instance/service/ClaimService.sol +151 -0
  284. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  285. package/contracts/instance/service/DistributionService.sol +277 -0
  286. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  287. package/contracts/instance/service/IApplicationService.sol +82 -0
  288. package/contracts/instance/service/IBundleService.sol +54 -0
  289. package/contracts/instance/service/IClaimService.sol +61 -0
  290. package/contracts/instance/service/IDistributionService.sol +65 -0
  291. package/contracts/instance/service/IPolicyService.sol +89 -0
  292. package/contracts/instance/service/IPoolService.sol +20 -0
  293. package/contracts/instance/service/IProductService.sol +40 -0
  294. package/contracts/instance/service/PolicyService.sol +474 -0
  295. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  296. package/contracts/instance/service/PoolService.sol +109 -0
  297. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  298. package/contracts/instance/service/ProductService.sol +233 -0
  299. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  300. package/contracts/registry/ChainNft.sol +129 -62
  301. package/contracts/registry/IRegistry.sol +73 -41
  302. package/contracts/registry/IRegistryService.sol +67 -0
  303. package/contracts/registry/ITransferInterceptor.sol +6 -0
  304. package/contracts/registry/Registry.sol +408 -126
  305. package/contracts/registry/RegistryAccessManager.sol +216 -0
  306. package/contracts/registry/RegistryService.sol +283 -0
  307. package/contracts/registry/RegistryServiceManager.sol +62 -0
  308. package/contracts/registry/ReleaseManager.sol +331 -0
  309. package/contracts/registry/TokenRegistry.sol +121 -0
  310. package/contracts/shared/ContractDeployerLib.sol +72 -0
  311. package/contracts/shared/ERC165.sol +27 -0
  312. package/contracts/shared/INftOwnable.sol +23 -0
  313. package/contracts/shared/IPolicyHolder.sol +26 -0
  314. package/contracts/shared/IRegisterable.sol +15 -0
  315. package/contracts/shared/IRegistryLinked.sol +12 -0
  316. package/contracts/shared/IService.sol +16 -0
  317. package/contracts/shared/IVersionable.sol +96 -0
  318. package/contracts/shared/NftOwnable.sol +120 -0
  319. package/contracts/shared/PolicyHolder.sol +81 -0
  320. package/contracts/shared/ProxyManager.sol +102 -0
  321. package/contracts/shared/Registerable.sol +78 -0
  322. package/contracts/shared/RegistryLinked.sol +48 -0
  323. package/contracts/shared/Service.sol +60 -0
  324. package/contracts/shared/TokenHandler.sol +27 -0
  325. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  326. package/contracts/shared/Versionable.sol +148 -0
  327. package/contracts/test/TestFee.sol +25 -0
  328. package/contracts/test/TestRegisterable.sol +18 -0
  329. package/contracts/test/TestRoleId.sol +14 -0
  330. package/contracts/test/TestService.sol +25 -0
  331. package/contracts/test/TestToken.sol +26 -0
  332. package/contracts/test/TestVersion.sol +44 -0
  333. package/contracts/test/TestVersionable.sol +17 -0
  334. package/contracts/test/Usdc.sol +26 -0
  335. package/contracts/types/AddressSet.sol +58 -0
  336. package/contracts/types/ClaimId.sol +52 -0
  337. package/contracts/types/DistributorType.sol +55 -0
  338. package/contracts/types/Fee.sol +44 -20
  339. package/contracts/types/Key32.sol +50 -0
  340. package/contracts/types/NftId.sol +22 -1
  341. package/contracts/types/NftIdSet.sol +62 -0
  342. package/contracts/types/NumberId.sol +52 -0
  343. package/contracts/types/ObjectType.sol +64 -15
  344. package/contracts/types/PayoutId.sol +54 -0
  345. package/contracts/types/Referral.sol +85 -0
  346. package/contracts/types/RiskId.sol +43 -0
  347. package/contracts/types/RoleId.sol +90 -0
  348. package/contracts/types/StateId.sol +18 -4
  349. package/contracts/types/Timestamp.sol +29 -4
  350. package/contracts/types/UFixed.sol +150 -31
  351. package/contracts/types/Version.sol +107 -0
  352. package/package.json +12 -5
  353. package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +0 -4
  354. package/artifacts/contracts/components/Component.sol/InstanceLinked.json +0 -35
  355. package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +0 -4
  356. package/artifacts/contracts/components/IPool.sol/IPoolComponent.json +0 -255
  357. package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +0 -4
  358. package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +0 -74
  359. package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +0 -4
  360. package/artifacts/contracts/instance/access/Access.sol/AccessModule.json +0 -400
  361. package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +0 -4
  362. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +0 -4
  363. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.json +0 -35
  364. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +0 -4
  365. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.json +0 -50
  366. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  367. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.json +0 -336
  368. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  369. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.json +0 -299
  370. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +0 -4
  371. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +0 -202
  372. package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +0 -4
  373. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +0 -4
  374. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +0 -205
  375. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  376. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +0 -217
  377. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +0 -4
  378. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +0 -141
  379. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +0 -4
  380. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.json +0 -24
  381. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  382. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.json +0 -134
  383. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycleModule.dbg.json +0 -4
  384. package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.dbg.json +0 -4
  385. package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.json +0 -221
  386. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  387. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  388. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.json +0 -254
  389. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  390. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +0 -254
  391. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  392. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  393. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.json +0 -129
  394. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  395. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.json +0 -155
  396. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +0 -4
  397. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.json +0 -75
  398. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +0 -4
  399. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +0 -4
  400. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.json +0 -75
  401. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +0 -4
  402. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +0 -196
  403. package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  404. package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  405. package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.json +0 -490
  406. package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  407. package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.json +0 -45
  408. package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  409. package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.json +0 -490
  410. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  411. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +0 -4
  412. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.json +0 -24
  413. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +0 -4
  414. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +0 -166
  415. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +0 -4
  416. package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +0 -4
  417. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +0 -4
  418. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +0 -60
  419. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  420. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -453
  421. package/contracts/components/IPool.sol +0 -15
  422. package/contracts/components/IProduct.sol +0 -16
  423. package/contracts/experiment/statemachine/README.md +0 -112
  424. package/contracts/instance/access/Access.sol +0 -165
  425. package/contracts/instance/access/IAccess.sol +0 -63
  426. package/contracts/instance/component/ComponentModule.sol +0 -274
  427. package/contracts/instance/component/IComponent.sol +0 -74
  428. package/contracts/instance/lifecycle/ILifecycle.sol +0 -47
  429. package/contracts/instance/lifecycle/LifecycleModule.sol +0 -88
  430. package/contracts/instance/policy/IPolicy.sol +0 -50
  431. package/contracts/instance/policy/PolicyModule.sol +0 -114
  432. package/contracts/instance/pool/IPoolModule.sol +0 -23
  433. package/contracts/instance/pool/PoolModule.sol +0 -81
  434. package/contracts/instance/product/IProductService.sol +0 -36
  435. package/contracts/instance/product/ProductService.sol +0 -136
  436. package/contracts/instance/treasury/ITreasury.sol +0 -91
  437. package/contracts/instance/treasury/TokenHandler.sol +0 -24
  438. package/contracts/instance/treasury/TreasuryModule.sol +0 -168
  439. package/contracts/registry/IChainNft.sol +0 -21
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../../build-info/a4fdb8c51f2726ede9f66aef21053805.json"
4
+ }
@@ -0,0 +1,523 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "ClaimServiceManager",
4
+ "sourceName": "contracts/instance/service/ClaimServiceManager.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "registryAddress",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "stateMutability": "nonpayable",
15
+ "type": "constructor"
16
+ },
17
+ {
18
+ "inputs": [],
19
+ "name": "ErrorAlreadyDeployed",
20
+ "type": "error"
21
+ },
22
+ {
23
+ "inputs": [],
24
+ "name": "ErrorAlreadyDeployedWithSalt",
25
+ "type": "error"
26
+ },
27
+ {
28
+ "inputs": [
29
+ {
30
+ "internalType": "NftId",
31
+ "name": "nftId",
32
+ "type": "uint96"
33
+ }
34
+ ],
35
+ "name": "ErrorNftOwnableAlreadyLinked",
36
+ "type": "error"
37
+ },
38
+ {
39
+ "inputs": [
40
+ {
41
+ "internalType": "address",
42
+ "name": "contractAddress",
43
+ "type": "address"
44
+ }
45
+ ],
46
+ "name": "ErrorNftOwnableContractNotRegistered",
47
+ "type": "error"
48
+ },
49
+ {
50
+ "inputs": [],
51
+ "name": "ErrorNftOwnableInitialOwnerZero",
52
+ "type": "error"
53
+ },
54
+ {
55
+ "inputs": [
56
+ {
57
+ "internalType": "address",
58
+ "name": "account",
59
+ "type": "address"
60
+ }
61
+ ],
62
+ "name": "ErrorNftOwnableNotOwner",
63
+ "type": "error"
64
+ },
65
+ {
66
+ "inputs": [
67
+ {
68
+ "internalType": "address",
69
+ "name": "registryAddress",
70
+ "type": "address"
71
+ }
72
+ ],
73
+ "name": "ErrorNotRegistry",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [],
78
+ "name": "ErrorNotYetDeployed",
79
+ "type": "error"
80
+ },
81
+ {
82
+ "inputs": [],
83
+ "name": "InvalidInitialization",
84
+ "type": "error"
85
+ },
86
+ {
87
+ "inputs": [],
88
+ "name": "NotInitializing",
89
+ "type": "error"
90
+ },
91
+ {
92
+ "anonymous": false,
93
+ "inputs": [
94
+ {
95
+ "indexed": false,
96
+ "internalType": "uint64",
97
+ "name": "version",
98
+ "type": "uint64"
99
+ }
100
+ ],
101
+ "name": "Initialized",
102
+ "type": "event"
103
+ },
104
+ {
105
+ "anonymous": false,
106
+ "inputs": [
107
+ {
108
+ "indexed": true,
109
+ "internalType": "address",
110
+ "name": "proxy",
111
+ "type": "address"
112
+ },
113
+ {
114
+ "indexed": false,
115
+ "internalType": "address",
116
+ "name": "initialImplementation",
117
+ "type": "address"
118
+ }
119
+ ],
120
+ "name": "LogProxyDeployed",
121
+ "type": "event"
122
+ },
123
+ {
124
+ "anonymous": false,
125
+ "inputs": [
126
+ {
127
+ "indexed": true,
128
+ "internalType": "address",
129
+ "name": "proxy",
130
+ "type": "address"
131
+ },
132
+ {
133
+ "indexed": false,
134
+ "internalType": "address",
135
+ "name": "initialImplementation",
136
+ "type": "address"
137
+ }
138
+ ],
139
+ "name": "LogProxyDeployedWithSalt",
140
+ "type": "event"
141
+ },
142
+ {
143
+ "anonymous": false,
144
+ "inputs": [
145
+ {
146
+ "indexed": true,
147
+ "internalType": "address",
148
+ "name": "proxy",
149
+ "type": "address"
150
+ },
151
+ {
152
+ "indexed": false,
153
+ "internalType": "address",
154
+ "name": "upgradedImplementation",
155
+ "type": "address"
156
+ }
157
+ ],
158
+ "name": "LogProxyUpgraded",
159
+ "type": "event"
160
+ },
161
+ {
162
+ "inputs": [],
163
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
164
+ "outputs": [
165
+ {
166
+ "internalType": "bytes32",
167
+ "name": "",
168
+ "type": "bytes32"
169
+ }
170
+ ],
171
+ "stateMutability": "view",
172
+ "type": "function"
173
+ },
174
+ {
175
+ "inputs": [
176
+ {
177
+ "internalType": "address",
178
+ "name": "initialImplementation",
179
+ "type": "address"
180
+ },
181
+ {
182
+ "internalType": "bytes",
183
+ "name": "initializationData",
184
+ "type": "bytes"
185
+ }
186
+ ],
187
+ "name": "deploy",
188
+ "outputs": [
189
+ {
190
+ "internalType": "contract IVersionable",
191
+ "name": "versionable",
192
+ "type": "address"
193
+ }
194
+ ],
195
+ "stateMutability": "nonpayable",
196
+ "type": "function"
197
+ },
198
+ {
199
+ "inputs": [],
200
+ "name": "getClaimService",
201
+ "outputs": [
202
+ {
203
+ "internalType": "contract ClaimService",
204
+ "name": "",
205
+ "type": "address"
206
+ }
207
+ ],
208
+ "stateMutability": "view",
209
+ "type": "function"
210
+ },
211
+ {
212
+ "inputs": [
213
+ {
214
+ "internalType": "address",
215
+ "name": "implementation",
216
+ "type": "address"
217
+ },
218
+ {
219
+ "internalType": "address",
220
+ "name": "proxyOwner",
221
+ "type": "address"
222
+ },
223
+ {
224
+ "internalType": "bytes",
225
+ "name": "deployData",
226
+ "type": "bytes"
227
+ }
228
+ ],
229
+ "name": "getDeployData",
230
+ "outputs": [
231
+ {
232
+ "internalType": "bytes",
233
+ "name": "data",
234
+ "type": "bytes"
235
+ }
236
+ ],
237
+ "stateMutability": "pure",
238
+ "type": "function"
239
+ },
240
+ {
241
+ "inputs": [],
242
+ "name": "getNftId",
243
+ "outputs": [
244
+ {
245
+ "internalType": "NftId",
246
+ "name": "",
247
+ "type": "uint96"
248
+ }
249
+ ],
250
+ "stateMutability": "view",
251
+ "type": "function"
252
+ },
253
+ {
254
+ "inputs": [],
255
+ "name": "getOwner",
256
+ "outputs": [
257
+ {
258
+ "internalType": "address",
259
+ "name": "",
260
+ "type": "address"
261
+ }
262
+ ],
263
+ "stateMutability": "view",
264
+ "type": "function"
265
+ },
266
+ {
267
+ "inputs": [],
268
+ "name": "getProxy",
269
+ "outputs": [
270
+ {
271
+ "internalType": "contract UpgradableProxyWithAdmin",
272
+ "name": "",
273
+ "type": "address"
274
+ }
275
+ ],
276
+ "stateMutability": "nonpayable",
277
+ "type": "function"
278
+ },
279
+ {
280
+ "inputs": [],
281
+ "name": "getRegistry",
282
+ "outputs": [
283
+ {
284
+ "internalType": "contract IRegistry",
285
+ "name": "",
286
+ "type": "address"
287
+ }
288
+ ],
289
+ "stateMutability": "view",
290
+ "type": "function"
291
+ },
292
+ {
293
+ "inputs": [],
294
+ "name": "getRegistryAddress",
295
+ "outputs": [
296
+ {
297
+ "internalType": "address",
298
+ "name": "",
299
+ "type": "address"
300
+ }
301
+ ],
302
+ "stateMutability": "view",
303
+ "type": "function"
304
+ },
305
+ {
306
+ "inputs": [
307
+ {
308
+ "internalType": "address",
309
+ "name": "implementation",
310
+ "type": "address"
311
+ },
312
+ {
313
+ "internalType": "address",
314
+ "name": "proxyOwner",
315
+ "type": "address"
316
+ },
317
+ {
318
+ "internalType": "bytes",
319
+ "name": "upgradeData",
320
+ "type": "bytes"
321
+ }
322
+ ],
323
+ "name": "getUpgradeData",
324
+ "outputs": [
325
+ {
326
+ "internalType": "bytes",
327
+ "name": "data",
328
+ "type": "bytes"
329
+ }
330
+ ],
331
+ "stateMutability": "pure",
332
+ "type": "function"
333
+ },
334
+ {
335
+ "inputs": [],
336
+ "name": "initializeERC165",
337
+ "outputs": [],
338
+ "stateMutability": "nonpayable",
339
+ "type": "function"
340
+ },
341
+ {
342
+ "inputs": [
343
+ {
344
+ "internalType": "address",
345
+ "name": "initialOwner",
346
+ "type": "address"
347
+ },
348
+ {
349
+ "internalType": "address",
350
+ "name": "registryAddress",
351
+ "type": "address"
352
+ }
353
+ ],
354
+ "name": "initializeNftOwnable",
355
+ "outputs": [],
356
+ "stateMutability": "nonpayable",
357
+ "type": "function"
358
+ },
359
+ {
360
+ "inputs": [
361
+ {
362
+ "internalType": "address",
363
+ "name": "registry",
364
+ "type": "address"
365
+ }
366
+ ],
367
+ "name": "initializeProxyManager",
368
+ "outputs": [],
369
+ "stateMutability": "nonpayable",
370
+ "type": "function"
371
+ },
372
+ {
373
+ "inputs": [
374
+ {
375
+ "internalType": "address",
376
+ "name": "registryAddress",
377
+ "type": "address"
378
+ }
379
+ ],
380
+ "name": "initializeRegistryLinked",
381
+ "outputs": [],
382
+ "stateMutability": "nonpayable",
383
+ "type": "function"
384
+ },
385
+ {
386
+ "inputs": [],
387
+ "name": "linkToRegisteredNftId",
388
+ "outputs": [],
389
+ "stateMutability": "nonpayable",
390
+ "type": "function"
391
+ },
392
+ {
393
+ "inputs": [
394
+ {
395
+ "internalType": "bytes4",
396
+ "name": "interfaceId",
397
+ "type": "bytes4"
398
+ }
399
+ ],
400
+ "name": "registerInterface",
401
+ "outputs": [],
402
+ "stateMutability": "nonpayable",
403
+ "type": "function"
404
+ },
405
+ {
406
+ "inputs": [
407
+ {
408
+ "internalType": "bytes4",
409
+ "name": "interfaceId",
410
+ "type": "bytes4"
411
+ }
412
+ ],
413
+ "name": "supportsInterface",
414
+ "outputs": [
415
+ {
416
+ "internalType": "bool",
417
+ "name": "",
418
+ "type": "bool"
419
+ }
420
+ ],
421
+ "stateMutability": "view",
422
+ "type": "function"
423
+ },
424
+ {
425
+ "inputs": [
426
+ {
427
+ "internalType": "address",
428
+ "name": "newImplementation",
429
+ "type": "address"
430
+ },
431
+ {
432
+ "internalType": "bytes",
433
+ "name": "upgradeData",
434
+ "type": "bytes"
435
+ }
436
+ ],
437
+ "name": "upgrade",
438
+ "outputs": [
439
+ {
440
+ "internalType": "contract IVersionable",
441
+ "name": "versionable",
442
+ "type": "address"
443
+ }
444
+ ],
445
+ "stateMutability": "nonpayable",
446
+ "type": "function"
447
+ }
448
+ ],
449
+ "bytecode": "0x60806040523480156200001157600080fd5b50604051620057ea380380620057ea833981016040819052620000349162000751565b806200004081620000d4565b506000604051620000519062000735565b604051809103906000f0801580156200006e573d6000803e3d6000fd5b50604080516001600160a01b0385166020820152308183015281518082038301815260609091019091529091506000620000a98383620001f4565b600380546001600160a01b0319166001600160a01b0392909216919091179055506200081392505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff1615906001600160401b03166000811580156200011f5750825b90506000826001600160401b031660011480156200013c5750303b155b9050811580156200014b575080155b156200016a5760405163f92ee8a960e01b815260040160405180910390fd5b84546001600160401b031916600117855583156200019957845460ff60401b1916680100000000000000001785555b620001a5338762000336565b8315620001ec57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b600062000200620003cf565b6001600160a01b0316336001600160a01b031614620002395760405163086391f760e31b81523360048201526024015b60405180910390fd5b600254600160a01b900460ff161562000265576040516375842f8760e01b815260040160405180910390fd5b6002805460ff60a01b1916600160a01b179055600062000284620003cf565b90503060006200029686848762000528565b9050858282604051620002a99062000743565b620002b79392919062000783565b604051809103906000f080158015620002d4573d6000803e3d6000fd5b50600280546001600160a01b0319166001600160a01b039283169081179091556040519188168252945084907fc5c7b8d20d7cac78e56fc596f8d26c700e5077f096017736e3526ab8af4850359060200160405180910390a250505092915050565b6200034062000584565b6200034b81620005d5565b62000355620006ed565b6001600160a01b0382166200037d5760405163f17ef42d60e01b815260040160405180910390fd5b507f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0080546001600160601b03166c010000000000000000000000006001600160a01b0390931692909202919091179055565b6000807f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0080546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562000452573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004789190620007ef565b1562000509576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015620004dd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000503919062000751565b91505090565b546c0100000000000000000000000090046001600160a01b0316919050565b6060631647f91e60e01b848484604051602401620005499392919062000783565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290509392505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff16620005d357604051631afcd79f60e31b815260040160405180910390fd5b565b620005df62000584565b806001600160a01b03163b600003620006175760405163fdeac91f60e01b81526001600160a01b038216600482015260240162000230565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa92505050801562000694575060408051601f3d908101601f191682019092526200069191810190620007ef565b60015b620006be5760405163fdeac91f60e01b81526001600160a01b038216600482015260240162000230565b80620006e95760405163fdeac91f60e01b81526001600160a01b038316600482015260240162000230565b5050565b620006f762000584565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6120a8806200281383390190565b610f2f80620048bb83390190565b6000602082840312156200076457600080fd5b81516001600160a01b03811681146200077c57600080fd5b9392505050565b600060018060a01b038086168352602081861681850152606060408501528451915081606085015260005b82811015620007cc57858101820151858201608001528101620007ae565b50506000608082850101526080601f19601f830116840101915050949350505050565b6000602082840312156200080257600080fd5b815180151581146200077c57600080fd5b611ff080620008236000396000f3fe60806040523480156200001157600080fd5b50600436106200012d5760003560e01c8063893d20e811620000af578063c987336c116200007a578063c987336c146200029c578063e97fac0514620002b3578063f21de1e814620001bb578063f687676814620002ca578063f7c34ee014620002e157600080fd5b8063893d20e81462000234578063933a9ce8146200023e578063ada9652e1462000250578063aef485a0146200027657600080fd5b806336fc697e11620000fc57806336fc697e14620001b15780635ab1bd5314620001bb578063644c45e014620001e1578063675393bf146200020b5780636c250961146200022257600080fd5b806301ffc9a71462000132578063058f7a971462000177578063138461e01462000190578063214cdb80146200019a575b600080fd5b620001626200014336600462000d56565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6200018e6200018836600462000d9f565b620002f8565b005b6200018e62000411565b6200018e620001ab36600462000d56565b62000626565b6200018e62000655565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016200016e565b60008051602062001f9b833981519152546040516001600160601b0390911681526020016200016e565b6200018e6200021c36600462000d9f565b6200069d565b6003546001600160a01b0316620001c8565b620001c8620007b6565b6002546001600160a01b0316620001c8565b6200026760008051602062001f9b83398151915281565b6040519081526020016200016e565b6200028d6200028736600462000e6a565b620008f5565b6040516200016e919062000f1c565b620001c8620002ad36600462000f31565b62000951565b620001c8620002c436600462000f31565b62000b1e565b6200028d620002db36600462000e6a565b62000c5c565b6200018e620002f236600462000f87565b62000c7d565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff166000811580156200033f5750825b905060008267ffffffffffffffff1660011480156200035d5750303b155b9050811580156200036c575080155b156200038b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315620003b657845460ff60401b1916600160401b1785555b620003c2338762000c7d565b83156200040957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b600060008051602062001f9b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562000482573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004a8919062000fc5565b15620004da5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b30620004ee6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801562000537573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200055d919062000fc5565b620005875760405163b9304b0d60e01b81526001600160a01b0382166004820152602401620004d1565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015620005dc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000602919062000fe9565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6200063062000cfc565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6200065f62000cfc565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b620006a762000cfc565b806001600160a01b03163b600003620006df5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620004d1565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156200075c575060408051601f3d908101601f19168201909252620007599181019062000fc5565b60015b620007865760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620004d1565b80620007b15760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620004d1565b505b50565b60008060008051602062001f9b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562000828573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200084e919062000fc5565b15620008df576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015620008b3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620008d9919062001014565b91505090565b54600160601b90046001600160a01b0316919050565b6060632a90401860e01b848484604051602401620009169392919062001034565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290509392505050565b60006200095d620007b6565b6001600160a01b0316336001600160a01b031614620009925760405163086391f760e31b8152336004820152602401620004d1565b600254600160a01b900460ff16620009bd57604051631e35411160e31b815260040160405180910390fd5b6000620009c9620007b6565b90506000620009e06002546001600160a01b031690565b6001600160a01b0316638b3240a06040518163ffffffff1660e01b81526004016020604051808303816000875af115801562000a20573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000a46919062001014565b6002549091506001600160a01b0316600062000a64878588620008f5565b604051639623609d60e01b81529091506001600160a01b03841690639623609d9062000a999085908b90869060040162001034565b600060405180830381600087803b15801562000ab457600080fd5b505af115801562000ac9573d6000803e3d6000fd5b50506002546040516001600160a01b038b8116825290911697508792507f5f1d3094af018381967fbedd54b80ffb09c5a9799db985f5e17e322672686306915060200160405180910390a25050505092915050565b600062000b2a620007b6565b6001600160a01b0316336001600160a01b03161462000b5f5760405163086391f760e31b8152336004820152602401620004d1565b600254600160a01b900460ff161562000b8b576040516375842f8760e01b815260040160405180910390fd5b6002805460ff60a01b1916600160a01b179055600062000baa620007b6565b905030600062000bbc86848762000c5c565b905085828260405162000bcf9062000d48565b62000bdd9392919062001034565b604051809103906000f08015801562000bfa573d6000803e3d6000fd5b50600280546001600160a01b0319166001600160a01b039283169081179091556040519188168252945084907fc5c7b8d20d7cac78e56fc596f8d26c700e5077f096017736e3526ab8af4850359060200160405180910390a250505092915050565b6060631647f91e60e01b848484604051602401620009169392919062001034565b62000c8762000cfc565b62000c92816200069d565b62000c9c62000655565b6001600160a01b03821662000cc45760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602062001f9b83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1662000d4657604051631afcd79f60e31b815260040160405180910390fd5b565b610f2f806200106c83390190565b60006020828403121562000d6957600080fd5b81356001600160e01b03198116811462000d8257600080fd5b9392505050565b6001600160a01b0381168114620007b357600080fd5b60006020828403121562000db257600080fd5b813562000d828162000d89565b634e487b7160e01b600052604160045260246000fd5b600082601f83011262000de757600080fd5b813567ffffffffffffffff8082111562000e055762000e0562000dbf565b604051601f8301601f19908116603f0116810190828211818310171562000e305762000e3062000dbf565b8160405283815286602085880101111562000e4a57600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060006060848603121562000e8057600080fd5b833562000e8d8162000d89565b9250602084013562000e9f8162000d89565b9150604084013567ffffffffffffffff81111562000ebc57600080fd5b62000eca8682870162000dd5565b9150509250925092565b6000815180845260005b8181101562000efc5760208185018101518683018201520162000ede565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600062000d82602083018462000ed4565b6000806040838503121562000f4557600080fd5b823562000f528162000d89565b9150602083013567ffffffffffffffff81111562000f6f57600080fd5b62000f7d8582860162000dd5565b9150509250929050565b6000806040838503121562000f9b57600080fd5b823562000fa88162000d89565b9150602083013562000fba8162000d89565b809150509250929050565b60006020828403121562000fd857600080fd5b8151801515811462000d8257600080fd5b60006020828403121562000ffc57600080fd5b81516001600160601b038116811462000d8257600080fd5b6000602082840312156200102757600080fd5b815162000d828162000d89565b6001600160a01b03848116825283166020820152606060408201819052600090620010629083018462000ed4565b9594505050505056fe60a06040523480156200001157600080fd5b5060405162000f2f38038062000f2f8339810160408190526200003491620003e1565b8282828281620000458282620000b0565b50508160405162000056906200037a565b6001600160a01b039091168152602001604051809103906000f08015801562000083573d6000803e3d6000fd5b506001600160a01b0316608052620000a46200009e60805190565b62000116565b505050505050620004df565b620000bb8262000188565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2805115620001085762000103828262000208565b505050565b6200011262000285565b5050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6200015860008051602062000f0f833981519152546001600160a01b031690565b604080516001600160a01b03928316815291841660208301520160405180910390a16200018581620002a7565b50565b806001600160a01b03163b600003620001c457604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060600080846001600160a01b031684604051620002279190620004c1565b600060405180830381855af49150503d806000811462000264576040519150601f19603f3d011682016040523d82523d6000602084013e62000269565b606091505b5090925090506200027c858383620002ea565b95945050505050565b3415620002a55760405163b398979f60e01b815260040160405180910390fd5b565b6001600160a01b038116620002d357604051633173bdd160e11b815260006004820152602401620001bb565b8060008051602062000f0f833981519152620001e7565b6060826200030357620002fd8262000350565b62000349565b81511580156200031b57506001600160a01b0384163b155b156200034657604051639996b31560e01b81526001600160a01b0385166004820152602401620001bb565b50805b9392505050565b805115620003615780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b61052480620009eb83390190565b80516001600160a01b0381168114620003a057600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620003d8578181015183820152602001620003be565b50506000910152565b600080600060608486031215620003f757600080fd5b620004028462000388565b9250620004126020850162000388565b60408501519092506001600160401b03808211156200043057600080fd5b818601915086601f8301126200044557600080fd5b8151818111156200045a576200045a620003a5565b604051601f8201601f19908116603f01168101908382118183101715620004855762000485620003a5565b816040528281528960208487010111156200049f57600080fd5b620004b2836020830160208801620003bb565b80955050505050509250925092565b60008251620004d5818460208701620003bb565b9190910192915050565b6080516104eb620005006000396000818160370152607401526104eb6000f3fe60806040526004361061001e5760003560e01c80638b3240a014610028575b610026610072565b005b34801561003457600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006040516001600160a01b03909116815260200160405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036100df576000356001600160e01b03191663278f794360e11b146100d5576040516334ad5dbb60e21b815260040160405180910390fd5b6100dd6100ec565b565b6100dd61011b565b905090565b6000806100fc3660048184610376565b81019061010991906103b6565b91509150610117828261012b565b5050565b6100dd610126610186565b6101b9565b610134826101dd565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a280511561017e576101798282610259565b505050565b6101176102cf565b60006100e77f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b3660008037600080366000845af43d6000803e8080156101d8573d6000f35b3d6000fd5b806001600160a01b03163b60000361021857604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080846001600160a01b0316846040516102769190610486565b600060405180830381855af49150503d80600081146102b1576040519150601f19603f3d011682016040523d82523d6000602084013e6102b6565b606091505b50915091506102c68583836102ee565b95945050505050565b34156100dd5760405163b398979f60e01b815260040160405180910390fd5b606082610303576102fe8261034d565b610346565b815115801561031a57506001600160a01b0384163b155b1561034357604051639996b31560e01b81526001600160a01b038516600482015260240161020f565b50805b9392505050565b80511561035d5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6000808585111561038657600080fd5b8386111561039357600080fd5b5050820193919092039150565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156103c957600080fd5b82356001600160a01b03811681146103e057600080fd5b9150602083013567ffffffffffffffff808211156103fd57600080fd5b818501915085601f83011261041157600080fd5b813581811115610423576104236103a0565b604051601f8201601f19908116603f0116810190838211818310171561044b5761044b6103a0565b8160405282815288602084870101111561046457600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000825160005b818110156104a7576020818601810151858301520161048d565b50600092019182525091905056fea26469706673582212203a14d0ccd5aa6a98fdea74c9c09e7975c82e76e3c9c954cdb391653caa14eafc64736f6c63430008140033608060405234801561001057600080fd5b5060405161052438038061052483398101604081905261002f916100be565b806001600160a01b03811661005e57604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b6100678161006e565b50506100ee565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100d057600080fd5b81516001600160a01b03811681146100e757600080fd5b9392505050565b610427806100fd6000396000f3fe60806040526004361061004a5760003560e01c8063715018a61461004f5780638da5cb5b146100665780639623609d14610093578063ad3cb1cc146100a6578063f2fde38b146100e4575b600080fd5b34801561005b57600080fd5b50610064610104565b005b34801561007257600080fd5b506000546040516001600160a01b0390911681526020015b60405180910390f35b6100646100a1366004610272565b610118565b3480156100b257600080fd5b506100d7604051806040016040528060058152602001640352e302e360dc1b81525081565b60405161008a919061038e565b3480156100f057600080fd5b506100646100ff3660046103a8565b610187565b61010c6101ca565b61011660006101f7565b565b6101206101ca565b60405163278f794360e11b81526001600160a01b03841690634f1ef28690349061015090869086906004016103c5565b6000604051808303818588803b15801561016957600080fd5b505af115801561017d573d6000803e3d6000fd5b5050505050505050565b61018f6101ca565b6001600160a01b0381166101be57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6101c7816101f7565b50565b6000546001600160a01b031633146101165760405163118cdaa760e01b81523360048201526024016101b5565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146101c757600080fd5b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561028757600080fd5b833561029281610247565b925060208401356102a281610247565b9150604084013567ffffffffffffffff808211156102bf57600080fd5b818601915086601f8301126102d357600080fd5b8135818111156102e5576102e561025c565b604051601f8201601f19908116603f0116810190838211818310171561030d5761030d61025c565b8160405282815289602084870101111561032657600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b6000815180845260005b8181101561036e57602081850181015186830182015201610352565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006103a16020830184610348565b9392505050565b6000602082840312156103ba57600080fd5b81356103a181610247565b6001600160a01b03831681526040602082018190526000906103e990830184610348565b94935050505056fea2646970667358221220cb46d8eee562c2068d4d3afab9e2a7f48be119bb61a6a1c3d7ef6ba5a8aff09464736f6c63430008140033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610307ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a2646970667358221220a4f85938690851e059fcece88f59a20d431db9d79633e7930cd8374ddbde019464736f6c63430008140033608060405234801561001057600080fd5b5061001961001e565b6100d0565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161561006e5760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b03908116146100cd5780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b611fc9806100df6000396000f3fe608060405234801561001057600080fd5b50600436106101fb5760003560e01c8063675393bf1161011a578063b88da759116100ad578063e10b60671161007c578063e10b606714610585578063ea86657214610593578063f21de1e814610444578063f7c34ee0146105a6578063fc20e6f4146105b957600080fd5b8063b88da7591461055a578063caf4e3d41461056d578063cc9fc59a14610575578063cde749f41461057d57600080fd5b80639e14822a116100e95780639e14822a146104fd578063ada9652e14610510578063b3c6501514610525578063b68d18091461054557600080fd5b8063675393bf146104915780637211bedd146104a4578063893d20e8146104ce578063946dfcfe146104d657600080fd5b806327bb7a33116101925780634d459c90116101615780634d459c90146103185780634f421333146104315780635ab1bd5314610444578063644c45e01461046957600080fd5b806327bb7a33146102ea5780632a904018146102fd57806336fc697e146103105780634a7d34cb1461020057600080fd5b8063138461e0116101ce578063138461e0146102875780631647f91e1461028f5780631eff4b22146102a2578063214cdb80146102d757600080fd5b806301a57efc1461020057806301ffc9a7146102145780630d8e6e2c146102565780630fec111c14610272575b600080fd5b61021261020e3660046117c2565b5050565b005b6102416102223660046117f7565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61025e6105d2565b60405162ffffff909116815260200161024d565b61027a61065c565b60405161024d919061186e565b61021261080b565b61021261029d3660046119b0565b610a12565b6102c97f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161024d565b6102126102e53660046117f7565b610b1b565b6102126102f8366004611a2e565b610b48565b61021261030b3660046119b0565b610be4565b610212610d3e565b6103d4610326366004611ad7565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020611f7483398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a00161024d565b61024161043f366004611ad7565b610d84565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161024d565b600080516020611f34833981519152546040516001600160601b03909116815260200161024d565b61021261049f366004611af4565b610e37565b6104bb6104b2366004611b11565b60009392505050565b60405161ffff909116815260200161024d565b610451610f43565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102c9565b61021261050b366004611b53565b505050565b6102c9600080516020611f3483398151915281565b61052d61107a565b6040516001600160401b03909116815260200161024d565b60d45b60405160ff909116815260200161024d565b61025e610568366004611b91565b61109b565b6104516110ec565b610451611189565b6105486111b3565b61021261020e366004611baa565b6102126105a1366004611be3565b611236565b6102126105b4366004611be3565b6112a9565b61025e6105c7366004611c11565b600095945050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610633573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106579190611cad565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b9091041615159181019190915260018201805491929160608401919061070790611cca565b80601f016020809104026020016040519081016040528092919081815260200182805461073390611cca565b80156107805780601f1061075557610100808354040283529160200191610780565b820191906000526020600020905b81548152906001019060200180831161076357829003601f168201915b50505050508152505090506040518060e0016040528061079e600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016107ef610f43565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020611f3483398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561087a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089e9190611d04565b156108cf5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306108e26001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561092a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061094e9190611d04565b6109765760405163b9304b0d60e01b81526001600160a01b03821660048201526024016108c6565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa1580156109ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ee9190611d21565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b600080516020611f548339815191528054600160401b810460ff1615906001600160401b0316600081158015610a455750825b90506000826001600160401b03166001148015610a615750303b155b905081158015610a6f575080155b15610a8d5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610ab757845460ff60401b1916600160401b1785555b610ac18888611320565b610acb87876115bf565b8315610b1157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b610b236116ea565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610b506116ea565b610b5a82876112a9565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101610bca8382611d8c565b50610bdb6303fb044760e21b610b1b565b50505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610c066105d2565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610c46573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c6a9190611e4b565b600080516020611f548339815191528054600160401b900460ff1680610c9d575080546001600160401b03808416911610155b15610cbb5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610ce68585611320565b610cef83611723565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b610d466116ea565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080600080516020611f7483398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610e0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e309190611e74565b1192915050565b610e3f6116ea565b806001600160a01b03163b600003610e755760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108c6565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015610eef575060408051601f3d908101601f19168201909252610eec91810190611d04565b60015b610f175760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108c6565b8061020e5760405163fdeac91f60e01b81526001600160a01b03831660048201526024016108c6565b50565b600080600080516020611f3483398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610fb3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd79190611d04565b15611064576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561103a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105e9190611e8d565b91505090565b54600160601b90046001600160a01b0316919050565b6000610657600080516020611f54833981519152546001600160401b031690565b6000600080516020611f7483398151915260010182815481106110c0576110c0611eaa565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000806111016001546001600160a01b031690565b6001600160a01b031663d39e604360285b61111a6111b3565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561115f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111839190611e8d565b92915050565b60008061119e6001546001600160a01b031690565b6001600160a01b031663d39e60436046611112565b60006111bd6105d2565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611212573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106579190611ec0565b61123e6116ea565b600060d461124a6111b3565b6040805160ff938416602082015292909116908201526060016040516020818303038152906040529050600061127f8461172b565b905060006112928583603c848888610b48565b6112a2637b6a51fd60e01b610b1b565b5050505050565b6112b16116ea565b6112ba81610e37565b6112c2610d3e565b6001600160a01b0382166112e95760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020611f3483398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6113286116ea565b600080516020611f748339815191526000611358600080516020611f54833981519152546001600160401b031690565b905060006113646105d2565b9050816001600160401b03166001036113915760028301805462ffffff191662ffffff83161790556113df565b600283015462ffffff908116908216116113df5760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b60448201526064016108c6565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015611493573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114b79190611edd565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890610d2f9083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b600080516020611f548339815191528054600160401b810460ff1615906001600160401b03166000811580156115f25750825b90506000826001600160401b0316600114801561160e5750303b155b90508115801561161c575080155b1561163a5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561166457845460ff60401b1916600160401b1785555b6000808780602001905181019061167b9190611f04565b909250905061168a828a611236565b61169a63baf6f05360e01b610b1b565b50508315610bdb57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a150505050505050565b600080516020611f5483398151915254600160401b900460ff1661172157604051631afcd79f60e31b815260040160405180910390fd5b565b6101fb6116ea565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015611772573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111839190611d21565b6001600160601b0381168114610f4057600080fd5b803561ffff811681146117bd57600080fd5b919050565b600080604083850312156117d557600080fd5b82356117e081611796565b91506117ee602084016117ab565b90509250929050565b60006020828403121561180957600080fd5b81356001600160e01b03198116811461182157600080fd5b9392505050565b6000815180845260005b8181101561184e57602081850181015186830182015201611832565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516118d760c08401826001600160a01b03169052565b5060c083015160e0808401526118f1610100840182611828565b949350505050565b6001600160a01b0381168114610f4057600080fd5b634e487b7160e01b600052604160045260246000fd5b600082601f83011261193557600080fd5b81356001600160401b038082111561194f5761194f61190e565b604051601f8301601f19908116603f011681019082821181831017156119775761197761190e565b8160405283815286602085880101111561199057600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806000606084860312156119c557600080fd5b83356119d0816118f9565b925060208401356119e0816118f9565b915060408401356001600160401b038111156119fb57600080fd5b611a0786828701611924565b9150509250925092565b60ff81168114610f4057600080fd5b8015158114610f4057600080fd5b60008060008060008060c08789031215611a4757600080fd5b8635611a52816118f9565b95506020870135611a6281611796565b94506040870135611a7281611a11565b93506060870135611a8281611a20565b92506080870135611a92816118f9565b915060a08701356001600160401b03811115611aad57600080fd5b611ab989828a01611924565b9150509295509295509295565b62ffffff81168114610f4057600080fd5b600060208284031215611ae957600080fd5b813561182181611ac6565b600060208284031215611b0657600080fd5b8135611821816118f9565b600080600060608486031215611b2657600080fd5b8335611b3181611796565b92506020840135915060408401356001600160401b038111156119fb57600080fd5b600080600060608486031215611b6857600080fd5b8335611b7381611796565b9250611b81602085016117ab565b9150604084013590509250925092565b600060208284031215611ba357600080fd5b5035919050565b60008060408385031215611bbd57600080fd5b8235611bc881611796565b91506020830135611bd881611ac6565b809150509250929050565b60008060408385031215611bf657600080fd5b8235611c01816118f9565b91506020830135611bd8816118f9565b600080600080600060808688031215611c2957600080fd5b8535611c3481611796565b9450611c42602087016117ab565b93506040860135925060608601356001600160401b0380821115611c6557600080fd5b818801915088601f830112611c7957600080fd5b813581811115611c8857600080fd5b896020828501011115611c9a57600080fd5b9699959850939650602001949392505050565b600060208284031215611cbf57600080fd5b815161182181611ac6565b600181811c90821680611cde57607f821691505b602082108103611cfe57634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215611d1657600080fd5b815161182181611a20565b600060208284031215611d3357600080fd5b815161182181611796565b601f82111561050b57600081815260208120601f850160051c81016020861015611d655750805b601f850160051c820191505b81811015611d8457828155600101611d71565b505050505050565b81516001600160401b03811115611da557611da561190e565b611db981611db38454611cca565b84611d3e565b602080601f831160018114611dee5760008415611dd65750858301515b600019600386901b1c1916600185901b178555611d84565b600085815260208120601f198616915b82811015611e1d57888601518255948401946001909101908401611dfe565b5085821015611e3b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215611e5d57600080fd5b81516001600160401b038116811461182157600080fd5b600060208284031215611e8657600080fd5b5051919050565b600060208284031215611e9f57600080fd5b8151611821816118f9565b634e487b7160e01b600052603260045260246000fd5b600060208284031215611ed257600080fd5b815161182181611a11565b600060208284031215611eef57600080fd5b815164ffffffffff8116811461182157600080fd5b60008060408385031215611f1757600080fd5b8251611f22816118f9565b6020840151909250611bd8816118f956fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212207d7652c55eb9ee5fe6242192be5dd522fdd9f436bda570060788d0b18321115464736f6c6343000814003360a06040523480156200001157600080fd5b5060405162000f2f38038062000f2f8339810160408190526200003491620003e1565b8282828281620000458282620000b0565b50508160405162000056906200037a565b6001600160a01b039091168152602001604051809103906000f08015801562000083573d6000803e3d6000fd5b506001600160a01b0316608052620000a46200009e60805190565b62000116565b505050505050620004df565b620000bb8262000188565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2805115620001085762000103828262000208565b505050565b6200011262000285565b5050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6200015860008051602062000f0f833981519152546001600160a01b031690565b604080516001600160a01b03928316815291841660208301520160405180910390a16200018581620002a7565b50565b806001600160a01b03163b600003620001c457604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060600080846001600160a01b031684604051620002279190620004c1565b600060405180830381855af49150503d806000811462000264576040519150601f19603f3d011682016040523d82523d6000602084013e62000269565b606091505b5090925090506200027c858383620002ea565b95945050505050565b3415620002a55760405163b398979f60e01b815260040160405180910390fd5b565b6001600160a01b038116620002d357604051633173bdd160e11b815260006004820152602401620001bb565b8060008051602062000f0f833981519152620001e7565b6060826200030357620002fd8262000350565b62000349565b81511580156200031b57506001600160a01b0384163b155b156200034657604051639996b31560e01b81526001600160a01b0385166004820152602401620001bb565b50805b9392505050565b805115620003615780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b61052480620009eb83390190565b80516001600160a01b0381168114620003a057600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620003d8578181015183820152602001620003be565b50506000910152565b600080600060608486031215620003f757600080fd5b620004028462000388565b9250620004126020850162000388565b60408501519092506001600160401b03808211156200043057600080fd5b818601915086601f8301126200044557600080fd5b8151818111156200045a576200045a620003a5565b604051601f8201601f19908116603f01168101908382118183101715620004855762000485620003a5565b816040528281528960208487010111156200049f57600080fd5b620004b2836020830160208801620003bb565b80955050505050509250925092565b60008251620004d5818460208701620003bb565b9190910192915050565b6080516104eb620005006000396000818160370152607401526104eb6000f3fe60806040526004361061001e5760003560e01c80638b3240a014610028575b610026610072565b005b34801561003457600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006040516001600160a01b03909116815260200160405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036100df576000356001600160e01b03191663278f794360e11b146100d5576040516334ad5dbb60e21b815260040160405180910390fd5b6100dd6100ec565b565b6100dd61011b565b905090565b6000806100fc3660048184610376565b81019061010991906103b6565b91509150610117828261012b565b5050565b6100dd610126610186565b6101b9565b610134826101dd565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a280511561017e576101798282610259565b505050565b6101176102cf565b60006100e77f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b3660008037600080366000845af43d6000803e8080156101d8573d6000f35b3d6000fd5b806001600160a01b03163b60000361021857604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080846001600160a01b0316846040516102769190610486565b600060405180830381855af49150503d80600081146102b1576040519150601f19603f3d011682016040523d82523d6000602084013e6102b6565b606091505b50915091506102c68583836102ee565b95945050505050565b34156100dd5760405163b398979f60e01b815260040160405180910390fd5b606082610303576102fe8261034d565b610346565b815115801561031a57506001600160a01b0384163b155b1561034357604051639996b31560e01b81526001600160a01b038516600482015260240161020f565b50805b9392505050565b80511561035d5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6000808585111561038657600080fd5b8386111561039357600080fd5b5050820193919092039150565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156103c957600080fd5b82356001600160a01b03811681146103e057600080fd5b9150602083013567ffffffffffffffff808211156103fd57600080fd5b818501915085601f83011261041157600080fd5b813581811115610423576104236103a0565b604051601f8201601f19908116603f0116810190838211818310171561044b5761044b6103a0565b8160405282815288602084870101111561046457600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000825160005b818110156104a7576020818601810151858301520161048d565b50600092019182525091905056fea26469706673582212203a14d0ccd5aa6a98fdea74c9c09e7975c82e76e3c9c954cdb391653caa14eafc64736f6c63430008140033608060405234801561001057600080fd5b5060405161052438038061052483398101604081905261002f916100be565b806001600160a01b03811661005e57604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b6100678161006e565b50506100ee565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100d057600080fd5b81516001600160a01b03811681146100e757600080fd5b9392505050565b610427806100fd6000396000f3fe60806040526004361061004a5760003560e01c8063715018a61461004f5780638da5cb5b146100665780639623609d14610093578063ad3cb1cc146100a6578063f2fde38b146100e4575b600080fd5b34801561005b57600080fd5b50610064610104565b005b34801561007257600080fd5b506000546040516001600160a01b0390911681526020015b60405180910390f35b6100646100a1366004610272565b610118565b3480156100b257600080fd5b506100d7604051806040016040528060058152602001640352e302e360dc1b81525081565b60405161008a919061038e565b3480156100f057600080fd5b506100646100ff3660046103a8565b610187565b61010c6101ca565b61011660006101f7565b565b6101206101ca565b60405163278f794360e11b81526001600160a01b03841690634f1ef28690349061015090869086906004016103c5565b6000604051808303818588803b15801561016957600080fd5b505af115801561017d573d6000803e3d6000fd5b5050505050505050565b61018f6101ca565b6001600160a01b0381166101be57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6101c7816101f7565b50565b6000546001600160a01b031633146101165760405163118cdaa760e01b81523360048201526024016101b5565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146101c757600080fd5b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561028757600080fd5b833561029281610247565b925060208401356102a281610247565b9150604084013567ffffffffffffffff808211156102bf57600080fd5b818601915086601f8301126102d357600080fd5b8135818111156102e5576102e561025c565b604051601f8201601f19908116603f0116810190838211818310171561030d5761030d61025c565b8160405282815289602084870101111561032657600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b6000815180845260005b8181101561036e57602081850181015186830182015201610352565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006103a16020830184610348565b9392505050565b6000602082840312156103ba57600080fd5b81356103a181610247565b6001600160a01b03831681526040602082018190526000906103e990830184610348565b94935050505056fea2646970667358221220cb46d8eee562c2068d4d3afab9e2a7f48be119bb61a6a1c3d7ef6ba5a8aff09464736f6c63430008140033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103",
450
+ "deployedBytecode": "0x60806040523480156200001157600080fd5b50600436106200012d5760003560e01c8063893d20e811620000af578063c987336c116200007a578063c987336c146200029c578063e97fac0514620002b3578063f21de1e814620001bb578063f687676814620002ca578063f7c34ee014620002e157600080fd5b8063893d20e81462000234578063933a9ce8146200023e578063ada9652e1462000250578063aef485a0146200027657600080fd5b806336fc697e11620000fc57806336fc697e14620001b15780635ab1bd5314620001bb578063644c45e014620001e1578063675393bf146200020b5780636c250961146200022257600080fd5b806301ffc9a71462000132578063058f7a971462000177578063138461e01462000190578063214cdb80146200019a575b600080fd5b620001626200014336600462000d56565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6200018e6200018836600462000d9f565b620002f8565b005b6200018e62000411565b6200018e620001ab36600462000d56565b62000626565b6200018e62000655565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016200016e565b60008051602062001f9b833981519152546040516001600160601b0390911681526020016200016e565b6200018e6200021c36600462000d9f565b6200069d565b6003546001600160a01b0316620001c8565b620001c8620007b6565b6002546001600160a01b0316620001c8565b6200026760008051602062001f9b83398151915281565b6040519081526020016200016e565b6200028d6200028736600462000e6a565b620008f5565b6040516200016e919062000f1c565b620001c8620002ad36600462000f31565b62000951565b620001c8620002c436600462000f31565b62000b1e565b6200028d620002db36600462000e6a565b62000c5c565b6200018e620002f236600462000f87565b62000c7d565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff166000811580156200033f5750825b905060008267ffffffffffffffff1660011480156200035d5750303b155b9050811580156200036c575080155b156200038b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315620003b657845460ff60401b1916600160401b1785555b620003c2338762000c7d565b83156200040957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b600060008051602062001f9b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562000482573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004a8919062000fc5565b15620004da5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b30620004ee6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801562000537573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200055d919062000fc5565b620005875760405163b9304b0d60e01b81526001600160a01b0382166004820152602401620004d1565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015620005dc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000602919062000fe9565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6200063062000cfc565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6200065f62000cfc565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b620006a762000cfc565b806001600160a01b03163b600003620006df5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620004d1565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156200075c575060408051601f3d908101601f19168201909252620007599181019062000fc5565b60015b620007865760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620004d1565b80620007b15760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620004d1565b505b50565b60008060008051602062001f9b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562000828573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200084e919062000fc5565b15620008df576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015620008b3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620008d9919062001014565b91505090565b54600160601b90046001600160a01b0316919050565b6060632a90401860e01b848484604051602401620009169392919062001034565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290509392505050565b60006200095d620007b6565b6001600160a01b0316336001600160a01b031614620009925760405163086391f760e31b8152336004820152602401620004d1565b600254600160a01b900460ff16620009bd57604051631e35411160e31b815260040160405180910390fd5b6000620009c9620007b6565b90506000620009e06002546001600160a01b031690565b6001600160a01b0316638b3240a06040518163ffffffff1660e01b81526004016020604051808303816000875af115801562000a20573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000a46919062001014565b6002549091506001600160a01b0316600062000a64878588620008f5565b604051639623609d60e01b81529091506001600160a01b03841690639623609d9062000a999085908b90869060040162001034565b600060405180830381600087803b15801562000ab457600080fd5b505af115801562000ac9573d6000803e3d6000fd5b50506002546040516001600160a01b038b8116825290911697508792507f5f1d3094af018381967fbedd54b80ffb09c5a9799db985f5e17e322672686306915060200160405180910390a25050505092915050565b600062000b2a620007b6565b6001600160a01b0316336001600160a01b03161462000b5f5760405163086391f760e31b8152336004820152602401620004d1565b600254600160a01b900460ff161562000b8b576040516375842f8760e01b815260040160405180910390fd5b6002805460ff60a01b1916600160a01b179055600062000baa620007b6565b905030600062000bbc86848762000c5c565b905085828260405162000bcf9062000d48565b62000bdd9392919062001034565b604051809103906000f08015801562000bfa573d6000803e3d6000fd5b50600280546001600160a01b0319166001600160a01b039283169081179091556040519188168252945084907fc5c7b8d20d7cac78e56fc596f8d26c700e5077f096017736e3526ab8af4850359060200160405180910390a250505092915050565b6060631647f91e60e01b848484604051602401620009169392919062001034565b62000c8762000cfc565b62000c92816200069d565b62000c9c62000655565b6001600160a01b03821662000cc45760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602062001f9b83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1662000d4657604051631afcd79f60e31b815260040160405180910390fd5b565b610f2f806200106c83390190565b60006020828403121562000d6957600080fd5b81356001600160e01b03198116811462000d8257600080fd5b9392505050565b6001600160a01b0381168114620007b357600080fd5b60006020828403121562000db257600080fd5b813562000d828162000d89565b634e487b7160e01b600052604160045260246000fd5b600082601f83011262000de757600080fd5b813567ffffffffffffffff8082111562000e055762000e0562000dbf565b604051601f8301601f19908116603f0116810190828211818310171562000e305762000e3062000dbf565b8160405283815286602085880101111562000e4a57600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060006060848603121562000e8057600080fd5b833562000e8d8162000d89565b9250602084013562000e9f8162000d89565b9150604084013567ffffffffffffffff81111562000ebc57600080fd5b62000eca8682870162000dd5565b9150509250925092565b6000815180845260005b8181101562000efc5760208185018101518683018201520162000ede565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600062000d82602083018462000ed4565b6000806040838503121562000f4557600080fd5b823562000f528162000d89565b9150602083013567ffffffffffffffff81111562000f6f57600080fd5b62000f7d8582860162000dd5565b9150509250929050565b6000806040838503121562000f9b57600080fd5b823562000fa88162000d89565b9150602083013562000fba8162000d89565b809150509250929050565b60006020828403121562000fd857600080fd5b8151801515811462000d8257600080fd5b60006020828403121562000ffc57600080fd5b81516001600160601b038116811462000d8257600080fd5b6000602082840312156200102757600080fd5b815162000d828162000d89565b6001600160a01b03848116825283166020820152606060408201819052600090620010629083018462000ed4565b9594505050505056fe60a06040523480156200001157600080fd5b5060405162000f2f38038062000f2f8339810160408190526200003491620003e1565b8282828281620000458282620000b0565b50508160405162000056906200037a565b6001600160a01b039091168152602001604051809103906000f08015801562000083573d6000803e3d6000fd5b506001600160a01b0316608052620000a46200009e60805190565b62000116565b505050505050620004df565b620000bb8262000188565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2805115620001085762000103828262000208565b505050565b6200011262000285565b5050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6200015860008051602062000f0f833981519152546001600160a01b031690565b604080516001600160a01b03928316815291841660208301520160405180910390a16200018581620002a7565b50565b806001600160a01b03163b600003620001c457604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060600080846001600160a01b031684604051620002279190620004c1565b600060405180830381855af49150503d806000811462000264576040519150601f19603f3d011682016040523d82523d6000602084013e62000269565b606091505b5090925090506200027c858383620002ea565b95945050505050565b3415620002a55760405163b398979f60e01b815260040160405180910390fd5b565b6001600160a01b038116620002d357604051633173bdd160e11b815260006004820152602401620001bb565b8060008051602062000f0f833981519152620001e7565b6060826200030357620002fd8262000350565b62000349565b81511580156200031b57506001600160a01b0384163b155b156200034657604051639996b31560e01b81526001600160a01b0385166004820152602401620001bb565b50805b9392505050565b805115620003615780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b61052480620009eb83390190565b80516001600160a01b0381168114620003a057600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620003d8578181015183820152602001620003be565b50506000910152565b600080600060608486031215620003f757600080fd5b620004028462000388565b9250620004126020850162000388565b60408501519092506001600160401b03808211156200043057600080fd5b818601915086601f8301126200044557600080fd5b8151818111156200045a576200045a620003a5565b604051601f8201601f19908116603f01168101908382118183101715620004855762000485620003a5565b816040528281528960208487010111156200049f57600080fd5b620004b2836020830160208801620003bb565b80955050505050509250925092565b60008251620004d5818460208701620003bb565b9190910192915050565b6080516104eb620005006000396000818160370152607401526104eb6000f3fe60806040526004361061001e5760003560e01c80638b3240a014610028575b610026610072565b005b34801561003457600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006040516001600160a01b03909116815260200160405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036100df576000356001600160e01b03191663278f794360e11b146100d5576040516334ad5dbb60e21b815260040160405180910390fd5b6100dd6100ec565b565b6100dd61011b565b905090565b6000806100fc3660048184610376565b81019061010991906103b6565b91509150610117828261012b565b5050565b6100dd610126610186565b6101b9565b610134826101dd565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a280511561017e576101798282610259565b505050565b6101176102cf565b60006100e77f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b3660008037600080366000845af43d6000803e8080156101d8573d6000f35b3d6000fd5b806001600160a01b03163b60000361021857604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080846001600160a01b0316846040516102769190610486565b600060405180830381855af49150503d80600081146102b1576040519150601f19603f3d011682016040523d82523d6000602084013e6102b6565b606091505b50915091506102c68583836102ee565b95945050505050565b34156100dd5760405163b398979f60e01b815260040160405180910390fd5b606082610303576102fe8261034d565b610346565b815115801561031a57506001600160a01b0384163b155b1561034357604051639996b31560e01b81526001600160a01b038516600482015260240161020f565b50805b9392505050565b80511561035d5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6000808585111561038657600080fd5b8386111561039357600080fd5b5050820193919092039150565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156103c957600080fd5b82356001600160a01b03811681146103e057600080fd5b9150602083013567ffffffffffffffff808211156103fd57600080fd5b818501915085601f83011261041157600080fd5b813581811115610423576104236103a0565b604051601f8201601f19908116603f0116810190838211818310171561044b5761044b6103a0565b8160405282815288602084870101111561046457600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000825160005b818110156104a7576020818601810151858301520161048d565b50600092019182525091905056fea26469706673582212203a14d0ccd5aa6a98fdea74c9c09e7975c82e76e3c9c954cdb391653caa14eafc64736f6c63430008140033608060405234801561001057600080fd5b5060405161052438038061052483398101604081905261002f916100be565b806001600160a01b03811661005e57604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b6100678161006e565b50506100ee565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100d057600080fd5b81516001600160a01b03811681146100e757600080fd5b9392505050565b610427806100fd6000396000f3fe60806040526004361061004a5760003560e01c8063715018a61461004f5780638da5cb5b146100665780639623609d14610093578063ad3cb1cc146100a6578063f2fde38b146100e4575b600080fd5b34801561005b57600080fd5b50610064610104565b005b34801561007257600080fd5b506000546040516001600160a01b0390911681526020015b60405180910390f35b6100646100a1366004610272565b610118565b3480156100b257600080fd5b506100d7604051806040016040528060058152602001640352e302e360dc1b81525081565b60405161008a919061038e565b3480156100f057600080fd5b506100646100ff3660046103a8565b610187565b61010c6101ca565b61011660006101f7565b565b6101206101ca565b60405163278f794360e11b81526001600160a01b03841690634f1ef28690349061015090869086906004016103c5565b6000604051808303818588803b15801561016957600080fd5b505af115801561017d573d6000803e3d6000fd5b5050505050505050565b61018f6101ca565b6001600160a01b0381166101be57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6101c7816101f7565b50565b6000546001600160a01b031633146101165760405163118cdaa760e01b81523360048201526024016101b5565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146101c757600080fd5b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561028757600080fd5b833561029281610247565b925060208401356102a281610247565b9150604084013567ffffffffffffffff808211156102bf57600080fd5b818601915086601f8301126102d357600080fd5b8135818111156102e5576102e561025c565b604051601f8201601f19908116603f0116810190838211818310171561030d5761030d61025c565b8160405282815289602084870101111561032657600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b6000815180845260005b8181101561036e57602081850181015186830182015201610352565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006103a16020830184610348565b9392505050565b6000602082840312156103ba57600080fd5b81356103a181610247565b6001600160a01b03831681526040602082018190526000906103e990830184610348565b94935050505056fea2646970667358221220cb46d8eee562c2068d4d3afab9e2a7f48be119bb61a6a1c3d7ef6ba5a8aff09464736f6c63430008140033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610307ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a2646970667358221220a4f85938690851e059fcece88f59a20d431db9d79633e7930cd8374ddbde019464736f6c63430008140033",
451
+ "linkReferences": {
452
+ "contracts/types/Blocknumber.sol": {
453
+ "BlocknumberLib": [
454
+ {
455
+ "length": 20,
456
+ "start": 14020
457
+ }
458
+ ]
459
+ },
460
+ "contracts/types/NftId.sol": {
461
+ "NftIdLib": [
462
+ {
463
+ "length": 20,
464
+ "start": 1047
465
+ },
466
+ {
467
+ "length": 20,
468
+ "start": 3178
469
+ },
470
+ {
471
+ "length": 20,
472
+ "start": 4112
473
+ },
474
+ {
475
+ "length": 20,
476
+ "start": 12594
477
+ },
478
+ {
479
+ "length": 20,
480
+ "start": 14443
481
+ }
482
+ ]
483
+ },
484
+ "contracts/types/Timestamp.sol": {
485
+ "TimestampLib": [
486
+ {
487
+ "length": 20,
488
+ "start": 15691
489
+ }
490
+ ]
491
+ },
492
+ "contracts/types/Version.sol": {
493
+ "VersionLib": [
494
+ {
495
+ "length": 20,
496
+ "start": 12011
497
+ },
498
+ {
499
+ "length": 20,
500
+ "start": 13528
501
+ },
502
+ {
503
+ "length": 20,
504
+ "start": 15050
505
+ }
506
+ ]
507
+ }
508
+ },
509
+ "deployedLinkReferences": {
510
+ "contracts/types/NftId.sol": {
511
+ "NftIdLib": [
512
+ {
513
+ "length": 20,
514
+ "start": 1095
515
+ },
516
+ {
517
+ "length": 20,
518
+ "start": 2029
519
+ }
520
+ ]
521
+ }
522
+ }
523
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../../build-info/a4fdb8c51f2726ede9f66aef21053805.json"
4
+ }