@etherisc/gif-next 0.0.2-cc253b3 → 0.0.2-cd89a0b-062

Sign up to get free protection for your applications and to get access to all the features.
Files changed (390) hide show
  1. package/README.md +193 -6
  2. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +4 -0
  3. package/artifacts/contracts/components/{IProduct.sol/IProductComponent.json → BaseComponent.sol/BaseComponent.json} +88 -67
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +445 -0
  6. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +4 -0
  7. package/artifacts/contracts/components/{IPool.sol/IPoolComponent.json → IBaseComponent.sol/IBaseComponent.json} +69 -71
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +343 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +474 -0
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +373 -0
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +445 -56
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +324 -53
  18. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  19. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +2 -2
  20. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  21. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +2 -2
  22. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  23. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +2 -2
  24. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +2 -2
  26. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  28. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  29. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  30. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  31. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  32. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +4 -0
  33. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +59 -0
  34. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +4 -0
  35. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +124 -0
  36. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +4 -0
  37. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +74 -0
  38. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +4 -0
  39. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +124 -0
  40. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +4 -0
  41. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +207 -0
  42. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  43. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +2 -2
  44. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  45. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +2 -2
  46. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  47. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1575 -295
  48. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +4 -0
  49. package/artifacts/contracts/instance/{component/IComponent.sol → IInstanceLinked.sol}/IInstanceLinked.json +1 -1
  50. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  51. package/artifacts/contracts/instance/Instance.sol/Instance.json +1894 -374
  52. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +4 -0
  53. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +393 -0
  54. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +4 -0
  55. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +113 -0
  56. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  57. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +560 -0
  58. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  59. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.json +115 -0
  60. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +4 -0
  61. package/artifacts/contracts/instance/{component/ComponentModule.sol/ComponentModule.json → base/IService.sol/IService.json} +171 -154
  62. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +4 -0
  63. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.json +456 -0
  64. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  65. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +710 -0
  66. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  67. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +169 -0
  68. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +4 -0
  69. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.json +10 -0
  70. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +4 -0
  71. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +380 -0
  72. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +4 -0
  73. package/artifacts/contracts/instance/{access → module/access}/Access.sol/AccessModule.json +85 -152
  74. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +4 -0
  75. package/artifacts/contracts/instance/{access → module/access}/IAccess.sol/IAccess.json +1 -1
  76. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +4 -0
  77. package/artifacts/contracts/instance/{access → module/access}/IAccess.sol/IAccessModule.json +96 -99
  78. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +4 -0
  79. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +297 -0
  80. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +4 -0
  81. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.json +10 -0
  82. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +4 -0
  83. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +297 -0
  84. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +4 -0
  85. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +117 -0
  86. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +4 -0
  87. package/artifacts/contracts/instance/{component → module/component}/IComponent.sol/IComponent.json +1 -1
  88. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +4 -0
  89. package/artifacts/contracts/instance/{product/IProductService.sol/IProductService.json → module/component/IComponent.sol/IComponentModule.json} +56 -53
  90. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +4 -0
  91. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +10 -0
  92. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +4 -0
  93. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.json +10 -0
  94. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +4 -0
  95. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.json +10 -0
  96. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +4 -0
  97. package/artifacts/contracts/instance/{policy → module/policy}/IPolicy.sol/IPolicy.json +1 -1
  98. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +4 -0
  99. package/artifacts/contracts/instance/{policy → module/policy}/IPolicy.sol/IPolicyModule.json +159 -106
  100. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +4 -0
  101. package/artifacts/contracts/instance/{policy → module/policy}/PolicyModule.sol/PolicyModule.json +159 -106
  102. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +4 -0
  103. package/artifacts/contracts/instance/{pool → module/pool}/IPoolModule.sol/IPool.json +1 -1
  104. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +4 -0
  105. package/artifacts/contracts/instance/{pool → module/pool}/IPoolModule.sol/IPoolModule.json +74 -59
  106. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +4 -0
  107. package/artifacts/contracts/instance/{pool → module/pool}/PoolModule.sol/PoolModule.json +64 -62
  108. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +4 -0
  109. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.json +10 -0
  110. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +4 -0
  111. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +113 -0
  112. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +4 -0
  113. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +131 -0
  114. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +4 -0
  115. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.json +10 -0
  116. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +4 -0
  117. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +638 -0
  118. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  119. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +76 -0
  120. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +4 -0
  121. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +638 -0
  122. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +4 -0
  123. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +690 -0
  124. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  125. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +526 -0
  126. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +4 -0
  127. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +389 -0
  128. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  129. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +369 -0
  130. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
  131. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +484 -0
  132. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
  133. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +674 -0
  134. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  135. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +649 -0
  136. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  137. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +964 -0
  138. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  139. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +194 -2
  140. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +1 -1
  141. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +5 -0
  142. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  143. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +351 -72
  144. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  145. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +668 -0
  146. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  147. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
  148. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  149. package/artifacts/contracts/registry/Registry.sol/Registry.json +567 -79
  150. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  151. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +885 -0
  152. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  153. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +460 -0
  154. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  155. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  156. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +4 -0
  157. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +35 -0
  158. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +4 -0
  159. package/artifacts/contracts/{registry/IRegistry.sol → shared/IOwnable.sol}/IOwnable.json +1 -1
  160. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +4 -0
  161. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +124 -0
  162. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +4 -0
  163. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +205 -0
  164. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  165. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +132 -0
  166. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  167. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +344 -0
  168. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +4 -0
  169. package/artifacts/contracts/{registry/Registry.sol → shared/Registerable.sol}/Registerable.json +71 -77
  170. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  171. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  172. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +4 -0
  173. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +228 -0
  174. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +4 -0
  175. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +445 -0
  176. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +4 -0
  177. package/artifacts/contracts/test/TestFee.sol/TestFee.json +119 -0
  178. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +4 -0
  179. package/artifacts/contracts/test/TestPool.sol/TestPool.json +602 -0
  180. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +4 -0
  181. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +632 -0
  182. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +4 -0
  183. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +191 -0
  184. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +4 -0
  185. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +116 -0
  186. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +4 -0
  187. package/artifacts/contracts/test/TestService.sol/TestService.json +472 -0
  188. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +4 -0
  189. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +338 -0
  190. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +4 -0
  191. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +218 -0
  192. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +4 -0
  193. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +270 -0
  194. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +4 -0
  195. package/artifacts/contracts/test/Usdc.sol/USDC.json +338 -0
  196. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  197. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +10 -0
  198. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  199. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +174 -0
  200. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +2 -2
  202. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +4 -0
  203. package/artifacts/contracts/types/Fee.sol/FeeLib.json +257 -0
  204. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +4 -0
  205. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +111 -0
  206. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  207. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +91 -6
  208. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  209. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +10 -0
  210. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  211. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +92 -0
  212. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +4 -0
  213. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.json +99 -0
  214. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
  215. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
  216. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +4 -0
  217. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +30 -0
  218. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +4 -0
  219. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +92 -0
  220. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +4 -0
  221. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +236 -0
  222. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +4 -0
  223. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +479 -0
  224. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +4 -0
  225. package/artifacts/contracts/types/Version.sol/VersionLib.json +177 -0
  226. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +4 -0
  227. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +30 -0
  228. package/contracts/components/BaseComponent.sol +79 -0
  229. package/contracts/components/Distribution.sol +155 -0
  230. package/contracts/components/IBaseComponent.sol +19 -0
  231. package/contracts/components/IDistributionComponent.sol +47 -0
  232. package/contracts/components/IPoolComponent.sol +65 -0
  233. package/contracts/components/IProductComponent.sol +39 -0
  234. package/contracts/components/Pool.sol +235 -18
  235. package/contracts/components/Product.sol +268 -35
  236. package/contracts/experiment/errors/Require.sol +10 -5
  237. package/contracts/experiment/errors/Revert.sol +13 -8
  238. package/contracts/experiment/inheritance/A.sol +8 -11
  239. package/contracts/experiment/inheritance/B.sol +10 -5
  240. package/contracts/experiment/inheritance/C.sol +11 -5
  241. package/contracts/experiment/inheritance/IA.sol +2 -7
  242. package/contracts/experiment/inheritance/IB.sol +3 -2
  243. package/contracts/experiment/inheritance/IC.sol +4 -3
  244. package/contracts/experiment/statemachine/Dummy.sol +27 -0
  245. package/contracts/experiment/statemachine/ISM.sol +25 -0
  246. package/contracts/experiment/statemachine/SM.sol +57 -0
  247. package/contracts/experiment/statemachine/SimpleStateMachine.sol +31 -0
  248. package/contracts/experiment/types/TypeA.sol +14 -9
  249. package/contracts/experiment/types/TypeB.sol +14 -9
  250. package/contracts/instance/IInstance.sol +42 -8
  251. package/contracts/instance/IInstanceLinked.sol +8 -0
  252. package/contracts/instance/Instance.sol +62 -41
  253. package/contracts/instance/base/ComponentServiceBase.sol +49 -0
  254. package/contracts/instance/base/IInstanceBase.sol +23 -0
  255. package/contracts/instance/base/IKeyValueStore.sol +50 -0
  256. package/contracts/instance/base/ILifecycle.sol +30 -0
  257. package/contracts/instance/base/IService.sol +15 -0
  258. package/contracts/instance/base/InstanceBase.sol +89 -0
  259. package/contracts/instance/base/KeyValueStore.sol +161 -0
  260. package/contracts/instance/base/Lifecycle.sol +100 -0
  261. package/contracts/instance/base/ModuleBase.sol +57 -0
  262. package/contracts/instance/base/ServiceBase.sol +43 -0
  263. package/contracts/instance/module/access/Access.sol +149 -0
  264. package/contracts/instance/module/access/IAccess.sol +53 -0
  265. package/contracts/instance/module/bundle/BundleModule.sol +134 -0
  266. package/contracts/instance/module/bundle/IBundle.sol +53 -0
  267. package/contracts/instance/module/component/ComponentModule.sol +71 -0
  268. package/contracts/instance/module/component/IComponent.sol +28 -0
  269. package/contracts/instance/module/distribution/DistributionModule.sol +17 -0
  270. package/contracts/instance/module/distribution/IDistribution.sol +10 -0
  271. package/contracts/instance/module/policy/IPolicy.sol +63 -0
  272. package/contracts/instance/module/policy/PolicyModule.sol +91 -0
  273. package/contracts/instance/module/pool/IPoolModule.sol +41 -0
  274. package/contracts/instance/module/pool/PoolModule.sol +95 -0
  275. package/contracts/instance/module/risk/IRisk.sol +26 -0
  276. package/contracts/instance/module/risk/RiskModule.sol +62 -0
  277. package/contracts/instance/module/treasury/ITreasury.sol +84 -0
  278. package/contracts/instance/module/treasury/TokenHandler.sol +48 -0
  279. package/contracts/instance/module/treasury/TreasuryModule.sol +131 -0
  280. package/contracts/instance/service/ComponentOwnerService.sol +272 -0
  281. package/contracts/instance/service/DistributionService.sol +54 -0
  282. package/contracts/instance/service/IComponentOwnerService.sol +20 -0
  283. package/contracts/instance/service/IDistributionService.sol +12 -0
  284. package/contracts/instance/service/IPoolService.sol +37 -0
  285. package/contracts/instance/service/IProductService.sol +107 -0
  286. package/contracts/instance/service/PoolService.sol +149 -0
  287. package/contracts/instance/service/ProductService.sol +509 -0
  288. package/contracts/registry/ChainNft.sol +111 -97
  289. package/contracts/registry/IChainNft.sol +13 -9
  290. package/contracts/registry/IRegistry.sol +59 -56
  291. package/contracts/registry/IRegistryService.sol +29 -0
  292. package/contracts/registry/ITransferInterceptor.sol +6 -0
  293. package/contracts/registry/Registry.sol +429 -121
  294. package/contracts/registry/RegistryService.sol +375 -0
  295. package/contracts/registry/RegistryServiceManager.sol +52 -0
  296. package/contracts/shared/ContractDeployerLib.sol +72 -0
  297. package/contracts/shared/ERC165.sol +21 -0
  298. package/contracts/shared/IOwnable.sol +6 -0
  299. package/contracts/shared/IRegisterable.sol +22 -0
  300. package/contracts/shared/IVersionable.sol +96 -0
  301. package/contracts/shared/NftOwnable.sol +87 -0
  302. package/contracts/shared/ProxyManager.sol +103 -0
  303. package/contracts/shared/Registerable.sol +117 -0
  304. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  305. package/contracts/shared/Versionable.sol +147 -0
  306. package/contracts/test/TestDistribution.sol +22 -0
  307. package/contracts/test/TestFee.sol +25 -0
  308. package/contracts/test/TestPool.sol +27 -0
  309. package/contracts/test/TestProduct.sol +74 -0
  310. package/contracts/test/TestRegisterable.sol +18 -0
  311. package/contracts/test/TestRoleId.sol +14 -0
  312. package/contracts/test/TestService.sol +26 -0
  313. package/contracts/test/TestToken.sol +26 -0
  314. package/contracts/test/TestVersion.sol +44 -0
  315. package/contracts/test/TestVersionable.sol +17 -0
  316. package/contracts/test/Usdc.sol +26 -0
  317. package/contracts/types/AddressSet.sol +58 -0
  318. package/contracts/types/Blocknumber.sol +118 -0
  319. package/contracts/types/ChainId.sol +24 -10
  320. package/contracts/types/Fee.sol +56 -0
  321. package/contracts/types/Key32.sol +45 -0
  322. package/contracts/types/NftId.sol +55 -9
  323. package/contracts/types/NftIdSet.sol +60 -0
  324. package/contracts/types/ObjectType.sol +131 -0
  325. package/contracts/types/ReferralId.sol +48 -0
  326. package/contracts/types/RiskId.sol +43 -0
  327. package/contracts/types/RoleId.sol +38 -0
  328. package/contracts/types/StateId.sol +101 -0
  329. package/contracts/types/Timestamp.sol +123 -0
  330. package/contracts/types/UFixed.sol +209 -0
  331. package/contracts/types/Version.sol +104 -0
  332. package/package.json +19 -5
  333. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  334. package/artifacts/contracts/components/Component.sol/Component.json +0 -179
  335. package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +0 -4
  336. package/artifacts/contracts/components/Component.sol/InstanceLinked.json +0 -35
  337. package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +0 -4
  338. package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +0 -4
  339. package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +0 -4
  340. package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +0 -4
  341. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +0 -4
  342. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.json +0 -35
  343. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +0 -4
  344. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.json +0 -50
  345. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  346. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  347. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +0 -4
  348. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +0 -147
  349. package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +0 -4
  350. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +0 -4
  351. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +0 -179
  352. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  353. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +0 -245
  354. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +0 -4
  355. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +0 -94
  356. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +0 -4
  357. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  358. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  359. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  360. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  361. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  362. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  363. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +0 -4
  364. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.json +0 -75
  365. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +0 -4
  366. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +0 -4
  367. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.json +0 -75
  368. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +0 -4
  369. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +0 -167
  370. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +0 -4
  371. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +0 -4
  372. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +0 -166
  373. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +0 -4
  374. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.json +0 -49
  375. package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +0 -4
  376. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +0 -4
  377. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +0 -60
  378. package/contracts/components/Component.sol +0 -62
  379. package/contracts/components/IPool.sol +0 -9
  380. package/contracts/components/IProduct.sol +0 -12
  381. package/contracts/instance/access/Access.sol +0 -218
  382. package/contracts/instance/access/IAccess.sol +0 -83
  383. package/contracts/instance/component/ComponentModule.sol +0 -248
  384. package/contracts/instance/component/IComponent.sol +0 -95
  385. package/contracts/instance/policy/IPolicy.sol +0 -66
  386. package/contracts/instance/policy/PolicyModule.sol +0 -107
  387. package/contracts/instance/pool/IPoolModule.sol +0 -41
  388. package/contracts/instance/pool/PoolModule.sol +0 -86
  389. package/contracts/instance/product/IProductService.sol +0 -46
  390. package/contracts/instance/product/ProductService.sol +0 -108
@@ -0,0 +1,690 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "ComponentOwnerService",
4
+ "sourceName": "contracts/instance/service/ComponentOwnerService.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "registry",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "NftId",
15
+ "name": "registryNftId",
16
+ "type": "uint96"
17
+ },
18
+ {
19
+ "internalType": "address",
20
+ "name": "initialOwner",
21
+ "type": "address"
22
+ }
23
+ ],
24
+ "stateMutability": "nonpayable",
25
+ "type": "constructor"
26
+ },
27
+ {
28
+ "inputs": [],
29
+ "name": "CollateralizationLevelIsZero",
30
+ "type": "error"
31
+ },
32
+ {
33
+ "inputs": [],
34
+ "name": "InvalidDistribution",
35
+ "type": "error"
36
+ },
37
+ {
38
+ "inputs": [],
39
+ "name": "InvalidDistributionsInstance",
40
+ "type": "error"
41
+ },
42
+ {
43
+ "inputs": [],
44
+ "name": "InvalidInitialization",
45
+ "type": "error"
46
+ },
47
+ {
48
+ "inputs": [],
49
+ "name": "InvalidPool",
50
+ "type": "error"
51
+ },
52
+ {
53
+ "inputs": [],
54
+ "name": "InvalidPoolsInstance",
55
+ "type": "error"
56
+ },
57
+ {
58
+ "inputs": [],
59
+ "name": "InvalidToken",
60
+ "type": "error"
61
+ },
62
+ {
63
+ "inputs": [],
64
+ "name": "MissingTypeRole",
65
+ "type": "error"
66
+ },
67
+ {
68
+ "inputs": [],
69
+ "name": "NotInitializing",
70
+ "type": "error"
71
+ },
72
+ {
73
+ "inputs": [],
74
+ "name": "WalletIsZero",
75
+ "type": "error"
76
+ },
77
+ {
78
+ "anonymous": false,
79
+ "inputs": [
80
+ {
81
+ "indexed": false,
82
+ "internalType": "uint64",
83
+ "name": "version",
84
+ "type": "uint64"
85
+ }
86
+ ],
87
+ "name": "Initialized",
88
+ "type": "event"
89
+ },
90
+ {
91
+ "anonymous": false,
92
+ "inputs": [
93
+ {
94
+ "indexed": false,
95
+ "internalType": "Version",
96
+ "name": "version",
97
+ "type": "uint24"
98
+ },
99
+ {
100
+ "indexed": false,
101
+ "internalType": "address",
102
+ "name": "implementation",
103
+ "type": "address"
104
+ },
105
+ {
106
+ "indexed": false,
107
+ "internalType": "address",
108
+ "name": "activatedBy",
109
+ "type": "address"
110
+ }
111
+ ],
112
+ "name": "LogVersionableInitialized",
113
+ "type": "event"
114
+ },
115
+ {
116
+ "inputs": [],
117
+ "name": "NAME",
118
+ "outputs": [
119
+ {
120
+ "internalType": "string",
121
+ "name": "",
122
+ "type": "string"
123
+ }
124
+ ],
125
+ "stateMutability": "view",
126
+ "type": "function"
127
+ },
128
+ {
129
+ "inputs": [],
130
+ "name": "REGISTERABLE_LOCATION_V1",
131
+ "outputs": [
132
+ {
133
+ "internalType": "bytes32",
134
+ "name": "",
135
+ "type": "bytes32"
136
+ }
137
+ ],
138
+ "stateMutability": "view",
139
+ "type": "function"
140
+ },
141
+ {
142
+ "inputs": [],
143
+ "name": "getInitialInfo",
144
+ "outputs": [
145
+ {
146
+ "components": [
147
+ {
148
+ "internalType": "NftId",
149
+ "name": "nftId",
150
+ "type": "uint96"
151
+ },
152
+ {
153
+ "internalType": "NftId",
154
+ "name": "parentNftId",
155
+ "type": "uint96"
156
+ },
157
+ {
158
+ "internalType": "ObjectType",
159
+ "name": "objectType",
160
+ "type": "uint8"
161
+ },
162
+ {
163
+ "internalType": "bool",
164
+ "name": "isInterceptor",
165
+ "type": "bool"
166
+ },
167
+ {
168
+ "internalType": "address",
169
+ "name": "objectAddress",
170
+ "type": "address"
171
+ },
172
+ {
173
+ "internalType": "address",
174
+ "name": "initialOwner",
175
+ "type": "address"
176
+ },
177
+ {
178
+ "internalType": "bytes",
179
+ "name": "data",
180
+ "type": "bytes"
181
+ }
182
+ ],
183
+ "internalType": "struct IRegistry.ObjectInfo",
184
+ "name": "",
185
+ "type": "tuple"
186
+ },
187
+ {
188
+ "internalType": "bytes",
189
+ "name": "data",
190
+ "type": "bytes"
191
+ }
192
+ ],
193
+ "stateMutability": "view",
194
+ "type": "function"
195
+ },
196
+ {
197
+ "inputs": [],
198
+ "name": "getInitializedVersion",
199
+ "outputs": [
200
+ {
201
+ "internalType": "uint64",
202
+ "name": "",
203
+ "type": "uint64"
204
+ }
205
+ ],
206
+ "stateMutability": "view",
207
+ "type": "function"
208
+ },
209
+ {
210
+ "inputs": [],
211
+ "name": "getMajorVersion",
212
+ "outputs": [
213
+ {
214
+ "internalType": "VersionPart",
215
+ "name": "majorVersion",
216
+ "type": "uint8"
217
+ }
218
+ ],
219
+ "stateMutability": "view",
220
+ "type": "function"
221
+ },
222
+ {
223
+ "inputs": [],
224
+ "name": "getName",
225
+ "outputs": [
226
+ {
227
+ "internalType": "string",
228
+ "name": "name",
229
+ "type": "string"
230
+ }
231
+ ],
232
+ "stateMutability": "pure",
233
+ "type": "function"
234
+ },
235
+ {
236
+ "inputs": [],
237
+ "name": "getNftId",
238
+ "outputs": [
239
+ {
240
+ "internalType": "NftId",
241
+ "name": "nftId",
242
+ "type": "uint96"
243
+ }
244
+ ],
245
+ "stateMutability": "view",
246
+ "type": "function"
247
+ },
248
+ {
249
+ "inputs": [],
250
+ "name": "getOwner",
251
+ "outputs": [
252
+ {
253
+ "internalType": "address",
254
+ "name": "",
255
+ "type": "address"
256
+ }
257
+ ],
258
+ "stateMutability": "view",
259
+ "type": "function"
260
+ },
261
+ {
262
+ "inputs": [],
263
+ "name": "getRegistry",
264
+ "outputs": [
265
+ {
266
+ "internalType": "contract IRegistry",
267
+ "name": "registry",
268
+ "type": "address"
269
+ }
270
+ ],
271
+ "stateMutability": "view",
272
+ "type": "function"
273
+ },
274
+ {
275
+ "inputs": [],
276
+ "name": "getRegistryService",
277
+ "outputs": [
278
+ {
279
+ "internalType": "contract IRegistryService",
280
+ "name": "",
281
+ "type": "address"
282
+ }
283
+ ],
284
+ "stateMutability": "view",
285
+ "type": "function"
286
+ },
287
+ {
288
+ "inputs": [
289
+ {
290
+ "internalType": "ObjectType",
291
+ "name": "cType",
292
+ "type": "uint8"
293
+ }
294
+ ],
295
+ "name": "getRoleForType",
296
+ "outputs": [
297
+ {
298
+ "internalType": "RoleId",
299
+ "name": "role",
300
+ "type": "bytes8"
301
+ }
302
+ ],
303
+ "stateMutability": "pure",
304
+ "type": "function"
305
+ },
306
+ {
307
+ "inputs": [],
308
+ "name": "getVersion",
309
+ "outputs": [
310
+ {
311
+ "internalType": "Version",
312
+ "name": "",
313
+ "type": "uint24"
314
+ }
315
+ ],
316
+ "stateMutability": "pure",
317
+ "type": "function"
318
+ },
319
+ {
320
+ "inputs": [
321
+ {
322
+ "internalType": "uint256",
323
+ "name": "idx",
324
+ "type": "uint256"
325
+ }
326
+ ],
327
+ "name": "getVersion",
328
+ "outputs": [
329
+ {
330
+ "internalType": "Version",
331
+ "name": "",
332
+ "type": "uint24"
333
+ }
334
+ ],
335
+ "stateMutability": "view",
336
+ "type": "function"
337
+ },
338
+ {
339
+ "inputs": [],
340
+ "name": "getVersionCount",
341
+ "outputs": [
342
+ {
343
+ "internalType": "uint256",
344
+ "name": "",
345
+ "type": "uint256"
346
+ }
347
+ ],
348
+ "stateMutability": "view",
349
+ "type": "function"
350
+ },
351
+ {
352
+ "inputs": [
353
+ {
354
+ "internalType": "Version",
355
+ "name": "_version",
356
+ "type": "uint24"
357
+ }
358
+ ],
359
+ "name": "getVersionInfo",
360
+ "outputs": [
361
+ {
362
+ "components": [
363
+ {
364
+ "internalType": "Version",
365
+ "name": "version",
366
+ "type": "uint24"
367
+ },
368
+ {
369
+ "internalType": "address",
370
+ "name": "implementation",
371
+ "type": "address"
372
+ },
373
+ {
374
+ "internalType": "address",
375
+ "name": "activatedBy",
376
+ "type": "address"
377
+ },
378
+ {
379
+ "internalType": "Timestamp",
380
+ "name": "activatedAt",
381
+ "type": "uint40"
382
+ },
383
+ {
384
+ "internalType": "Blocknumber",
385
+ "name": "activatedIn",
386
+ "type": "uint32"
387
+ }
388
+ ],
389
+ "internalType": "struct IVersionable.VersionInfo",
390
+ "name": "",
391
+ "type": "tuple"
392
+ }
393
+ ],
394
+ "stateMutability": "view",
395
+ "type": "function"
396
+ },
397
+ {
398
+ "inputs": [
399
+ {
400
+ "internalType": "address",
401
+ "name": "implementation",
402
+ "type": "address"
403
+ },
404
+ {
405
+ "internalType": "address",
406
+ "name": "activatedBy",
407
+ "type": "address"
408
+ },
409
+ {
410
+ "internalType": "bytes",
411
+ "name": "data",
412
+ "type": "bytes"
413
+ }
414
+ ],
415
+ "name": "initialize",
416
+ "outputs": [],
417
+ "stateMutability": "nonpayable",
418
+ "type": "function"
419
+ },
420
+ {
421
+ "inputs": [
422
+ {
423
+ "internalType": "Version",
424
+ "name": "_version",
425
+ "type": "uint24"
426
+ }
427
+ ],
428
+ "name": "isInitialized",
429
+ "outputs": [
430
+ {
431
+ "internalType": "bool",
432
+ "name": "",
433
+ "type": "bool"
434
+ }
435
+ ],
436
+ "stateMutability": "view",
437
+ "type": "function"
438
+ },
439
+ {
440
+ "inputs": [
441
+ {
442
+ "internalType": "contract IBaseComponent",
443
+ "name": "component",
444
+ "type": "address"
445
+ }
446
+ ],
447
+ "name": "lock",
448
+ "outputs": [],
449
+ "stateMutability": "nonpayable",
450
+ "type": "function"
451
+ },
452
+ {
453
+ "inputs": [
454
+ {
455
+ "internalType": "contract IBaseComponent",
456
+ "name": "component",
457
+ "type": "address"
458
+ },
459
+ {
460
+ "internalType": "ObjectType",
461
+ "name": "componentType",
462
+ "type": "uint8"
463
+ }
464
+ ],
465
+ "name": "register",
466
+ "outputs": [
467
+ {
468
+ "internalType": "NftId",
469
+ "name": "nftId",
470
+ "type": "uint96"
471
+ }
472
+ ],
473
+ "stateMutability": "nonpayable",
474
+ "type": "function"
475
+ },
476
+ {
477
+ "inputs": [
478
+ {
479
+ "internalType": "bytes4",
480
+ "name": "interfaceId",
481
+ "type": "bytes4"
482
+ }
483
+ ],
484
+ "name": "supportsInterface",
485
+ "outputs": [
486
+ {
487
+ "internalType": "bool",
488
+ "name": "",
489
+ "type": "bool"
490
+ }
491
+ ],
492
+ "stateMutability": "view",
493
+ "type": "function"
494
+ },
495
+ {
496
+ "inputs": [
497
+ {
498
+ "internalType": "contract IBaseComponent",
499
+ "name": "component",
500
+ "type": "address"
501
+ }
502
+ ],
503
+ "name": "unlock",
504
+ "outputs": [],
505
+ "stateMutability": "nonpayable",
506
+ "type": "function"
507
+ },
508
+ {
509
+ "inputs": [
510
+ {
511
+ "internalType": "address",
512
+ "name": "implementation",
513
+ "type": "address"
514
+ },
515
+ {
516
+ "internalType": "address",
517
+ "name": "activatedBy",
518
+ "type": "address"
519
+ },
520
+ {
521
+ "internalType": "bytes",
522
+ "name": "data",
523
+ "type": "bytes"
524
+ }
525
+ ],
526
+ "name": "upgrade",
527
+ "outputs": [],
528
+ "stateMutability": "nonpayable",
529
+ "type": "function"
530
+ }
531
+ ],
532
+ "bytecode": "0x60806040523480156200001157600080fd5b5060405162003161380380620031618339810160408190526200003491620005a7565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff191660011790556200007a620000cc565b6200008783838362000180565b6327535ccf60e01b60009081526020527fdf85129a843b1189784b76e4b72b0cde3e9c7821233b206b7eed6ac5a2fce6f7805460ff1916600117905550505062000841565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff16156200011d5760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b03908116146200017d5780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6000620001bd60408051808201909152601581527f436f6d706f6e656e744f776e6572536572766963650000000000000000000000602082015290565b620001c762000240565b604051602001620001da929190620005ff565b60408051808303601f190181529190529050620001fe8484602860008686620002cd565b631b4612f160e31b60009081526020527ffc58a5a01198e68c5a5d0bcd463f9ab550fc4337b1df271aed6dbb33d25fef25805460ff1916600117905550505050565b60006200024c62000502565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015620002a2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002c8919062000659565b905090565b6001600160a01b038616620003295760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a5247422d3031303a52454749535452595f5a45524f000000000060448201526064015b60405180910390fd5b6040516301ffc9a760e01b8152636882e63f60e11b600482015286906001600160a01b038216906301ffc9a790602401602060405180830381865afa15801562000377573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200039d919062000685565b620003eb5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5247422d3031313a4e4f545f5245474953545259000000000000604482015260640162000320565b6001600160a01b03818116600160a01b6001600160601b0389168102919091177f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3009081557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30180546001600160a01b031961ffff60a01b1990911660ff8b1690940260ff60a81b191693909317600160a81b8915150217929092169286169290921790557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa302620004bb84826200074e565b5063a6d3826560e01b60009081526020527f164a5a3a3a16df858f794c5fc01b962add2c2151ae53ddb31581eabdf1156730805460ff191660011790555050505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801562000564573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002c891906200081a565b80516001600160a01b0381168114620005a257600080fd5b919050565b600080600060608486031215620005bd57600080fd5b620005c8846200058a565b60208501519093506001600160601b0381168114620005e657600080fd5b9150620005f6604085016200058a565b90509250925092565b604081526000835180604084015260005b818110156200062f576020818701810151606086840101520162000610565b506000606082850101526060601f19601f83011684010191505060ff831660208301529392505050565b6000602082840312156200066c57600080fd5b815160ff811681146200067e57600080fd5b9392505050565b6000602082840312156200069857600080fd5b815180151581146200067e57600080fd5b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620006d457607f821691505b602082108103620006f557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200074957600081815260208120601f850160051c81016020861015620007245750805b601f850160051c820191505b81811015620007455782815560010162000730565b5050505b505050565b81516001600160401b038111156200076a576200076a620006a9565b62000782816200077b8454620006bf565b84620006fb565b602080601f831160018114620007ba5760008415620007a15750858301515b600019600386901b1c1916600185901b17855562000745565b600085815260208120601f198616915b82811015620007eb57888601518255948401946001909101908401620007ca565b50858210156200080a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200082d57600080fd5b815162ffffff811681146200067e57600080fd5b61291080620008516000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c8063893d20e8116100b8578063b88da7591161007c578063b88da75914610442578063caf4e3d414610455578063cde749f41461045d578063cf7a1d7714610477578063f435f5a71461048a578063fc0ae0541461049d57600080fd5b8063893d20e8146103ac578063946dfcfe146103b4578063a3f4df7e146103db578063a745e3df1461040f578063b3c650151461042257600080fd5b80631eff4b221161010a5780631eff4b22146102205780632f6c493c146102435780634d459c90146102585780634f421333146103715780635ab1bd5314610384578063644c45e0146103a457600080fd5b806301ffc9a71461014757806307e49598146101895780630d8e6e2c146101b45780630fec111c146101d057806317d7de7c146101e6575b600080fd5b610174610155366004611f29565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61019c610197366004611f81565b6104c9565b6040516001600160601b039091168152602001610180565b6101bc6106e5565b60405162ffffff9091168152602001610180565b6101d861076f565b60405161018092919061200a565b604080518082019091526015815274436f6d706f6e656e744f776e65725365727669636560581b60208201525b60405161018091906120b1565b61023560008051602061287b83398151915281565b604051908152602001610180565b6102566102513660046120c4565b6108d2565b005b6103146102663660046120f2565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526000805160206128bb83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610180565b61017461037f3660046120f2565b610bf3565b61038c610ca6565b6040516001600160a01b039091168152602001610180565b61019c610cc2565b61038c610d3d565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed90154610235565b61021360405180604001604052806015815260200174436f6d706f6e656e744f776e65725365727669636560581b81525081565b61025661041d3660046121e9565b610db8565b61042a610f12565b6040516001600160401b039091168152602001610180565b6101bc61045036600461228d565b610f33565b61038c610f84565b610465611035565b60405160ff9091168152602001610180565b6102566104853660046121e9565b6110b8565b6102566104983660046120c4565b6111c1565b6104b06104ab3660046122a6565b611480565b6040516001600160c01b03199091168152602001610180565b60008060006104d6610f84565b60405163d943342d60e01b81526001600160a01b03878116600483015260ff87166024830152336044830152919091169063d943342d906064016000604051808303816000875af115801561052f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261055791908101906123fa565b60208201519193509150600061056b610ca6565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156105ba573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526105e2919081019061245d565b6080015190508060006105f488611480565b6040516399fd467760e01b81526001600160c01b0319821660048201523360248201529091506001600160a01b038316906399fd467790604401602060405180830381865afa15801561064b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061066f9190612491565b15156000036106915760405163337d32e360e01b815260040160405180910390fd5b6106a388606e5b60ff90811691161490565b156106bb5785516106b6908584886114e7565b6106d9565b6106c688608c610698565b156106d95785516106d990858488611883565b50505050505092915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610746573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076a91906124ac565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201819052909160008051602061287b83398151915290506040518060e001604052806107ce600090565b6001600160601b0390811682528354600160a01b908190049091166020830152600184015490810460ff9081166040840152600160a81b820416151560608301523060808301526001600160a01b031660a082015260028301805460c090920191610838906124c9565b80601f0160208091040260200160405190810160405280929190818152602001828054610864906124c9565b80156108b15780601f10610886576101008083540402835291602001916108b1565b820191906000526020600020905b81548152906001019060200180831161089457829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b8060006108dd610ca6565b604051636939560f60e11b81526001600160a01b038481166004830152919091169063d272ac1e90602401602060405180830381865afa158015610925573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109499190612503565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156109a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c89190612491565b610a195760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434f532d3030313a434f4d504f4e454e545f554e4b4e4f574e0060448201526064015b60405180910390fd5b6000836001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7d919061251e565b90506000846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610abf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae39190612503565b9050600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660646040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af4158015610b59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b7d919061253b565b90506001600160a01b03831663a238accd8260645b6040516001600160e01b031960e085901b168152600481019290925260ff166024820152604401600060405180830381600087803b158015610bd357600080fd5b505af1158015610be7573d6000803e3d6000fd5b50505050505050505050565b6000806000805160206128bb83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610c7b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c9f919061253b565b1192915050565b60008051602061287b833981519152546001600160a01b031690565b600060008051602061287b83398151915254604051636939560f60e11b81523060048201526001600160a01b039091169063d272ac1e90602401602060405180830381865afa158015610d19573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076a9190612503565b600060008051602061287b83398151915254604051630a57ebcf60e11b81523060048201526001600160a01b03909116906314afd79e90602401602060405180830381865afa158015610d94573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076a919061251e565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610dda6106e5565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610e1a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3e9190612554565b60008051602061289b8339815191528054600160401b900460ff1680610e71575080546001600160401b03808416911610155b15610e8f5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610eba8585611b03565b610ec383611d3e565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b600061076a60008051602061289b833981519152546001600160401b031690565b60006000805160206128bb8339815191526001018281548110610f5857610f5861257d565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600080610f8f610ca6565b6001600160a01b031663a3bcd81d610fa5611035565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa15801561100b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061102f919061251e565b92915050565b600061103f6106e5565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611094573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076a9190612593565b60008051602061289b8339815191528054600160401b810460ff1615906001600160401b03166000811580156110eb5750825b90506000826001600160401b031660011480156111075750303b155b905081158015611115575080155b156111335760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561115d57845460ff60401b1916600160401b1785555b6111678888611b03565b6111718787611d3e565b83156111b757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b8060006111cc610ca6565b604051636939560f60e11b81526001600160a01b038481166004830152919091169063d272ac1e90602401602060405180830381865afa158015611214573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112389190612503565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611293573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112b79190612491565b6113035760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434f532d3030313a434f4d504f4e454e545f554e4b4e4f574e006044820152606401610a10565b6000836001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611343573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611367919061251e565b90506000846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113cd9190612503565b9050600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660646040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af4158015611443573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611467919061253b565b90506001600160a01b03831663a238accd82606e610b92565b600061148d82606e610698565b1561149a5761102f611d46565b6114a582608c610698565b156114b25761102f611dde565b6114bd826078610698565b156114ca5761102f611e36565b6114d5826082610698565b156114e25761102f611e96565b919050565b600080828060200190518101906114fe91906125e0565b91509150600061150c610ca6565b90506001600160a01b038216611535576040516361a02c4f60e11b815260040160405180910390fd5b60408381015190516308b09a5f60e41b81526001600160a01b039182166004820152600091831690638b09a5f090602401600060405180830381865afa158015611583573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115ab919081019061245d565b90506115c981604001516115bd601e90565b60ff9081169116141590565b156115e75760405163c1ab6dc160e01b815260040160405180910390fd5b83516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0384169063a48f42e090602401600060405180830381865afa15801561163a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611662919081019061245d565b905061167481604001516115bd608c90565b156116915760405162820f3560e61b815260040160405180910390fd5b60208101516001600160601b038981169116146116c157604051636721a3e960e11b815260040160405180910390fd5b60208501516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0385169063a48f42e090602401600060405180830381865afa158015611717573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261173f919081019061245d565b905061175181604001516115bd607890565b1561176f57604051630d16b83360e31b815260040160405180910390fd5b60208101516001600160601b038a811691161461179f57604051631c33ddfb60e31b815260040160405180910390fd5b604086810151905163ea5fa54b60e01b81526001600160601b038c1660048201526001600160a01b03918216602482015286821660448201529089169063ea5fa54b90606401600060405180830381600087803b1580156117ff57600080fd5b505af1158015611813573d6000803e3d6000fd5b505060405163042c74ed60e41b81526001600160a01b038b1692506342c74ed09150611845908d908a906004016126c5565b600060405180830381600087803b15801561185f57600080fd5b505af1158015611873573d6000803e3d6000fd5b5050505050505050505050505050565b60008060008380602001905181019061189c91906127ac565b50505092509250925060006118af610ca6565b90506001600160a01b0383166118d8576040516361a02c4f60e11b815260040160405180910390fd5b6040516308b09a5f60e41b81526001600160a01b03838116600483015260009190831690638b09a5f090602401600060405180830381865afa158015611922573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261194a919081019061245d565b60400151905061195b81601e6115bd565b156119795760405163c1ab6dc160e01b815260040160405180910390fd5b602085015160405163753b14a560e01b8152600481019190915273__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__9063753b14a590602401602060405180830381865af41580156119cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119f39190612491565b15611a11576040516313e89cb760e31b815260040160405180910390fd5b60405163ea5fa54b60e01b81526001600160601b038a1660048201526001600160a01b038481166024830152858116604483015288169063ea5fa54b90606401600060405180830381600087803b158015611a6b57600080fd5b505af1158015611a7f573d6000803e3d6000fd5b50506040516373617bf160e01b81526001600160601b038c166004820152875115156024820152602088015160448201526001600160a01b038a1692506373617bf19150606401600060405180830381600087803b158015611ae057600080fd5b505af1158015611af4573d6000803e3d6000fd5b50505050505050505050505050565b611b0b611ef0565b6000805160206128bb8339815191526000611b3b60008051602061289b833981519152546001600160401b031690565b90506000611b476106e5565b9050816001600160401b0316600103611b745760028301805462ffffff191662ffffff8316179055611bc2565b600283015462ffffff90811690821611611bc25760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610a10565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b03808916928401929092529086169082015260608101611c364290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890610f039083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b610142611ef0565b60405163e14787cb60e01b815260206004820152601060248201526f50726f647563744f776e6572526f6c6560801b604482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb906064015b602060405180830381865af4158015611dba573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076a9190612850565b60405163e14787cb60e01b815260206004820152600d60248201526c506f6f6c4f776e6572526f6c6560981b604482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb90606401611d9d565b60405163e14787cb60e01b8152602060048201526015602482015274446973747269627574696f6e4f776e6572526f6c6560581b604482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb90606401611d9d565b60405163e14787cb60e01b815260206004820152600f60248201526e4f7261636c654f776e6572526f6c6560881b604482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb90606401611d9d565b60008051602061289b83398151915254600160401b900460ff16611f2757604051631afcd79f60e31b815260040160405180910390fd5b565b600060208284031215611f3b57600080fd5b81356001600160e01b031981168114611f5357600080fd5b9392505050565b6001600160a01b0381168114611f6f57600080fd5b50565b60ff81168114611f6f57600080fd5b60008060408385031215611f9457600080fd5b8235611f9f81611f5a565b91506020830135611faf81611f72565b809150509250929050565b60005b83811015611fd5578181015183820152602001611fbd565b50506000910152565b60008151808452611ff6816020860160208601611fba565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161204e60a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152612094610120840182611fde565b905082810360208401526120a88185611fde565b95945050505050565b602081526000611f536020830184611fde565b6000602082840312156120d657600080fd5b8135611f5381611f5a565b62ffffff81168114611f6f57600080fd5b60006020828403121561210457600080fd5b8135611f53816120e1565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156121475761214761210f565b60405290565b604080519081016001600160401b03811182821017156121475761214761210f565b60405161012081016001600160401b03811182821017156121475761214761210f565b604051601f8201601f191681016001600160401b03811182821017156121ba576121ba61210f565b604052919050565b60006001600160401b038211156121db576121db61210f565b50601f01601f191660200190565b6000806000606084860312156121fe57600080fd5b833561220981611f5a565b9250602084013561221981611f5a565b915060408401356001600160401b0381111561223457600080fd5b8401601f8101861361224557600080fd5b8035612258612253826121c2565b612192565b81815287602083850101111561226d57600080fd5b816020840160208301376000602083830101528093505050509250925092565b60006020828403121561229f57600080fd5b5035919050565b6000602082840312156122b857600080fd5b8135611f5381611f72565b80516001600160601b03811681146114e257600080fd5b80516114e281611f72565b805180151581146114e257600080fd5b80516114e281611f5a565b600082601f83011261231157600080fd5b815161231f612253826121c2565b81815284602083860101111561233457600080fd5b612345826020830160208701611fba565b949350505050565b600060e0828403121561235f57600080fd5b612367612125565b9050612372826122c3565b8152612380602083016122c3565b6020820152612391604083016122da565b60408201526123a2606083016122e5565b60608201526123b3608083016122f5565b60808201526123c460a083016122f5565b60a082015260c08201516001600160401b038111156123e257600080fd5b6123ee84828501612300565b60c08301525092915050565b6000806040838503121561240d57600080fd5b82516001600160401b038082111561242457600080fd5b6124308683870161234d565b9350602085015191508082111561244657600080fd5b5061245385828601612300565b9150509250929050565b60006020828403121561246f57600080fd5b81516001600160401b0381111561248557600080fd5b6123458482850161234d565b6000602082840312156124a357600080fd5b611f53826122e5565b6000602082840312156124be57600080fd5b8151611f53816120e1565b600181811c908216806124dd57607f821691505b6020821081036124fd57634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561251557600080fd5b611f53826122c3565b60006020828403121561253057600080fd5b8151611f5381611f5a565b60006020828403121561254d57600080fd5b5051919050565b60006020828403121561256657600080fd5b81516001600160401b0381168114611f5357600080fd5b634e487b7160e01b600052603260045260246000fd5b6000602082840312156125a557600080fd5b8151611f5381611f72565b6000604082840312156125c257600080fd5b6125ca61214d565b9050815181526020820151602082015292915050565b6000808284036102008112156125f557600080fd5b6101e08082121561260557600080fd5b61260d61216f565b9150612618856122c3565b8252612626602086016122c3565b6020830152612637604086016122f5565b604083015261264986606087016125b0565b606083015261265b8660a087016125b0565b608083015261266d8660e087016125b0565b60a08301526126808661012087016125b0565b60c08301526126938661016087016125b0565b60e08301526126a6866101a087016125b0565b6101008301528193506126ba8186016122f5565b925050509250929050565b6001600160601b0383811682528251166020808301919091528201516102008201906126fc60408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a083015161010061275e8185018380518252602090810151910152565b60c0850151805161014086015260209081015161016086015260e086015180516101808701528101516101a086015294015180516101c0850152909301516101e09092019190915292915050565b6000806000806000808688036101408112156127c757600080fd5b60408112156127d557600080fd5b506127de61214d565b6127e7886122e5565b81526020880151602082015280965050604087015161280581611f5a565b606088015190955061281681611f5a565b935061282588608089016125b0565b92506128348860c089016125b0565b91506128448861010089016125b0565b90509295509295509295565b60006020828403121561286257600080fd5b81516001600160c01b031981168114611f5357600080fdfe6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220c216518cd88cdd9b2f24bedfcddae46c5d078b5ae0178148d6e46301e7d5826164736f6c63430008140033",
533
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101425760003560e01c8063893d20e8116100b8578063b88da7591161007c578063b88da75914610442578063caf4e3d414610455578063cde749f41461045d578063cf7a1d7714610477578063f435f5a71461048a578063fc0ae0541461049d57600080fd5b8063893d20e8146103ac578063946dfcfe146103b4578063a3f4df7e146103db578063a745e3df1461040f578063b3c650151461042257600080fd5b80631eff4b221161010a5780631eff4b22146102205780632f6c493c146102435780634d459c90146102585780634f421333146103715780635ab1bd5314610384578063644c45e0146103a457600080fd5b806301ffc9a71461014757806307e49598146101895780630d8e6e2c146101b45780630fec111c146101d057806317d7de7c146101e6575b600080fd5b610174610155366004611f29565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61019c610197366004611f81565b6104c9565b6040516001600160601b039091168152602001610180565b6101bc6106e5565b60405162ffffff9091168152602001610180565b6101d861076f565b60405161018092919061200a565b604080518082019091526015815274436f6d706f6e656e744f776e65725365727669636560581b60208201525b60405161018091906120b1565b61023560008051602061287b83398151915281565b604051908152602001610180565b6102566102513660046120c4565b6108d2565b005b6103146102663660046120f2565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526000805160206128bb83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610180565b61017461037f3660046120f2565b610bf3565b61038c610ca6565b6040516001600160a01b039091168152602001610180565b61019c610cc2565b61038c610d3d565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed90154610235565b61021360405180604001604052806015815260200174436f6d706f6e656e744f776e65725365727669636560581b81525081565b61025661041d3660046121e9565b610db8565b61042a610f12565b6040516001600160401b039091168152602001610180565b6101bc61045036600461228d565b610f33565b61038c610f84565b610465611035565b60405160ff9091168152602001610180565b6102566104853660046121e9565b6110b8565b6102566104983660046120c4565b6111c1565b6104b06104ab3660046122a6565b611480565b6040516001600160c01b03199091168152602001610180565b60008060006104d6610f84565b60405163d943342d60e01b81526001600160a01b03878116600483015260ff87166024830152336044830152919091169063d943342d906064016000604051808303816000875af115801561052f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261055791908101906123fa565b60208201519193509150600061056b610ca6565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156105ba573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526105e2919081019061245d565b6080015190508060006105f488611480565b6040516399fd467760e01b81526001600160c01b0319821660048201523360248201529091506001600160a01b038316906399fd467790604401602060405180830381865afa15801561064b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061066f9190612491565b15156000036106915760405163337d32e360e01b815260040160405180910390fd5b6106a388606e5b60ff90811691161490565b156106bb5785516106b6908584886114e7565b6106d9565b6106c688608c610698565b156106d95785516106d990858488611883565b50505050505092915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610746573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076a91906124ac565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201819052909160008051602061287b83398151915290506040518060e001604052806107ce600090565b6001600160601b0390811682528354600160a01b908190049091166020830152600184015490810460ff9081166040840152600160a81b820416151560608301523060808301526001600160a01b031660a082015260028301805460c090920191610838906124c9565b80601f0160208091040260200160405190810160405280929190818152602001828054610864906124c9565b80156108b15780601f10610886576101008083540402835291602001916108b1565b820191906000526020600020905b81548152906001019060200180831161089457829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b8060006108dd610ca6565b604051636939560f60e11b81526001600160a01b038481166004830152919091169063d272ac1e90602401602060405180830381865afa158015610925573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109499190612503565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156109a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c89190612491565b610a195760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434f532d3030313a434f4d504f4e454e545f554e4b4e4f574e0060448201526064015b60405180910390fd5b6000836001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7d919061251e565b90506000846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610abf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae39190612503565b9050600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660646040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af4158015610b59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b7d919061253b565b90506001600160a01b03831663a238accd8260645b6040516001600160e01b031960e085901b168152600481019290925260ff166024820152604401600060405180830381600087803b158015610bd357600080fd5b505af1158015610be7573d6000803e3d6000fd5b50505050505050505050565b6000806000805160206128bb83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610c7b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c9f919061253b565b1192915050565b60008051602061287b833981519152546001600160a01b031690565b600060008051602061287b83398151915254604051636939560f60e11b81523060048201526001600160a01b039091169063d272ac1e90602401602060405180830381865afa158015610d19573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076a9190612503565b600060008051602061287b83398151915254604051630a57ebcf60e11b81523060048201526001600160a01b03909116906314afd79e90602401602060405180830381865afa158015610d94573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076a919061251e565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610dda6106e5565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610e1a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3e9190612554565b60008051602061289b8339815191528054600160401b900460ff1680610e71575080546001600160401b03808416911610155b15610e8f5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610eba8585611b03565b610ec383611d3e565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b600061076a60008051602061289b833981519152546001600160401b031690565b60006000805160206128bb8339815191526001018281548110610f5857610f5861257d565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600080610f8f610ca6565b6001600160a01b031663a3bcd81d610fa5611035565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa15801561100b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061102f919061251e565b92915050565b600061103f6106e5565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611094573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076a9190612593565b60008051602061289b8339815191528054600160401b810460ff1615906001600160401b03166000811580156110eb5750825b90506000826001600160401b031660011480156111075750303b155b905081158015611115575080155b156111335760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561115d57845460ff60401b1916600160401b1785555b6111678888611b03565b6111718787611d3e565b83156111b757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b8060006111cc610ca6565b604051636939560f60e11b81526001600160a01b038481166004830152919091169063d272ac1e90602401602060405180830381865afa158015611214573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112389190612503565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611293573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112b79190612491565b6113035760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434f532d3030313a434f4d504f4e454e545f554e4b4e4f574e006044820152606401610a10565b6000836001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611343573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611367919061251e565b90506000846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113cd9190612503565b9050600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660646040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af4158015611443573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611467919061253b565b90506001600160a01b03831663a238accd82606e610b92565b600061148d82606e610698565b1561149a5761102f611d46565b6114a582608c610698565b156114b25761102f611dde565b6114bd826078610698565b156114ca5761102f611e36565b6114d5826082610698565b156114e25761102f611e96565b919050565b600080828060200190518101906114fe91906125e0565b91509150600061150c610ca6565b90506001600160a01b038216611535576040516361a02c4f60e11b815260040160405180910390fd5b60408381015190516308b09a5f60e41b81526001600160a01b039182166004820152600091831690638b09a5f090602401600060405180830381865afa158015611583573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115ab919081019061245d565b90506115c981604001516115bd601e90565b60ff9081169116141590565b156115e75760405163c1ab6dc160e01b815260040160405180910390fd5b83516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0384169063a48f42e090602401600060405180830381865afa15801561163a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611662919081019061245d565b905061167481604001516115bd608c90565b156116915760405162820f3560e61b815260040160405180910390fd5b60208101516001600160601b038981169116146116c157604051636721a3e960e11b815260040160405180910390fd5b60208501516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0385169063a48f42e090602401600060405180830381865afa158015611717573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261173f919081019061245d565b905061175181604001516115bd607890565b1561176f57604051630d16b83360e31b815260040160405180910390fd5b60208101516001600160601b038a811691161461179f57604051631c33ddfb60e31b815260040160405180910390fd5b604086810151905163ea5fa54b60e01b81526001600160601b038c1660048201526001600160a01b03918216602482015286821660448201529089169063ea5fa54b90606401600060405180830381600087803b1580156117ff57600080fd5b505af1158015611813573d6000803e3d6000fd5b505060405163042c74ed60e41b81526001600160a01b038b1692506342c74ed09150611845908d908a906004016126c5565b600060405180830381600087803b15801561185f57600080fd5b505af1158015611873573d6000803e3d6000fd5b5050505050505050505050505050565b60008060008380602001905181019061189c91906127ac565b50505092509250925060006118af610ca6565b90506001600160a01b0383166118d8576040516361a02c4f60e11b815260040160405180910390fd5b6040516308b09a5f60e41b81526001600160a01b03838116600483015260009190831690638b09a5f090602401600060405180830381865afa158015611922573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261194a919081019061245d565b60400151905061195b81601e6115bd565b156119795760405163c1ab6dc160e01b815260040160405180910390fd5b602085015160405163753b14a560e01b8152600481019190915273__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__9063753b14a590602401602060405180830381865af41580156119cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119f39190612491565b15611a11576040516313e89cb760e31b815260040160405180910390fd5b60405163ea5fa54b60e01b81526001600160601b038a1660048201526001600160a01b038481166024830152858116604483015288169063ea5fa54b90606401600060405180830381600087803b158015611a6b57600080fd5b505af1158015611a7f573d6000803e3d6000fd5b50506040516373617bf160e01b81526001600160601b038c166004820152875115156024820152602088015160448201526001600160a01b038a1692506373617bf19150606401600060405180830381600087803b158015611ae057600080fd5b505af1158015611af4573d6000803e3d6000fd5b50505050505050505050505050565b611b0b611ef0565b6000805160206128bb8339815191526000611b3b60008051602061289b833981519152546001600160401b031690565b90506000611b476106e5565b9050816001600160401b0316600103611b745760028301805462ffffff191662ffffff8316179055611bc2565b600283015462ffffff90811690821611611bc25760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610a10565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b03808916928401929092529086169082015260608101611c364290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890610f039083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b610142611ef0565b60405163e14787cb60e01b815260206004820152601060248201526f50726f647563744f776e6572526f6c6560801b604482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb906064015b602060405180830381865af4158015611dba573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076a9190612850565b60405163e14787cb60e01b815260206004820152600d60248201526c506f6f6c4f776e6572526f6c6560981b604482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb90606401611d9d565b60405163e14787cb60e01b8152602060048201526015602482015274446973747269627574696f6e4f776e6572526f6c6560581b604482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb90606401611d9d565b60405163e14787cb60e01b815260206004820152600f60248201526e4f7261636c654f776e6572526f6c6560881b604482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb90606401611d9d565b60008051602061289b83398151915254600160401b900460ff16611f2757604051631afcd79f60e31b815260040160405180910390fd5b565b600060208284031215611f3b57600080fd5b81356001600160e01b031981168114611f5357600080fd5b9392505050565b6001600160a01b0381168114611f6f57600080fd5b50565b60ff81168114611f6f57600080fd5b60008060408385031215611f9457600080fd5b8235611f9f81611f5a565b91506020830135611faf81611f72565b809150509250929050565b60005b83811015611fd5578181015183820152602001611fbd565b50506000910152565b60008151808452611ff6816020860160208601611fba565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161204e60a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152612094610120840182611fde565b905082810360208401526120a88185611fde565b95945050505050565b602081526000611f536020830184611fde565b6000602082840312156120d657600080fd5b8135611f5381611f5a565b62ffffff81168114611f6f57600080fd5b60006020828403121561210457600080fd5b8135611f53816120e1565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156121475761214761210f565b60405290565b604080519081016001600160401b03811182821017156121475761214761210f565b60405161012081016001600160401b03811182821017156121475761214761210f565b604051601f8201601f191681016001600160401b03811182821017156121ba576121ba61210f565b604052919050565b60006001600160401b038211156121db576121db61210f565b50601f01601f191660200190565b6000806000606084860312156121fe57600080fd5b833561220981611f5a565b9250602084013561221981611f5a565b915060408401356001600160401b0381111561223457600080fd5b8401601f8101861361224557600080fd5b8035612258612253826121c2565b612192565b81815287602083850101111561226d57600080fd5b816020840160208301376000602083830101528093505050509250925092565b60006020828403121561229f57600080fd5b5035919050565b6000602082840312156122b857600080fd5b8135611f5381611f72565b80516001600160601b03811681146114e257600080fd5b80516114e281611f72565b805180151581146114e257600080fd5b80516114e281611f5a565b600082601f83011261231157600080fd5b815161231f612253826121c2565b81815284602083860101111561233457600080fd5b612345826020830160208701611fba565b949350505050565b600060e0828403121561235f57600080fd5b612367612125565b9050612372826122c3565b8152612380602083016122c3565b6020820152612391604083016122da565b60408201526123a2606083016122e5565b60608201526123b3608083016122f5565b60808201526123c460a083016122f5565b60a082015260c08201516001600160401b038111156123e257600080fd5b6123ee84828501612300565b60c08301525092915050565b6000806040838503121561240d57600080fd5b82516001600160401b038082111561242457600080fd5b6124308683870161234d565b9350602085015191508082111561244657600080fd5b5061245385828601612300565b9150509250929050565b60006020828403121561246f57600080fd5b81516001600160401b0381111561248557600080fd5b6123458482850161234d565b6000602082840312156124a357600080fd5b611f53826122e5565b6000602082840312156124be57600080fd5b8151611f53816120e1565b600181811c908216806124dd57607f821691505b6020821081036124fd57634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561251557600080fd5b611f53826122c3565b60006020828403121561253057600080fd5b8151611f5381611f5a565b60006020828403121561254d57600080fd5b5051919050565b60006020828403121561256657600080fd5b81516001600160401b0381168114611f5357600080fd5b634e487b7160e01b600052603260045260246000fd5b6000602082840312156125a557600080fd5b8151611f5381611f72565b6000604082840312156125c257600080fd5b6125ca61214d565b9050815181526020820151602082015292915050565b6000808284036102008112156125f557600080fd5b6101e08082121561260557600080fd5b61260d61216f565b9150612618856122c3565b8252612626602086016122c3565b6020830152612637604086016122f5565b604083015261264986606087016125b0565b606083015261265b8660a087016125b0565b608083015261266d8660e087016125b0565b60a08301526126808661012087016125b0565b60c08301526126938661016087016125b0565b60e08301526126a6866101a087016125b0565b6101008301528193506126ba8186016122f5565b925050509250929050565b6001600160601b0383811682528251166020808301919091528201516102008201906126fc60408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a083015161010061275e8185018380518252602090810151910152565b60c0850151805161014086015260209081015161016086015260e086015180516101808701528101516101a086015294015180516101c0850152909301516101e09092019190915292915050565b6000806000806000808688036101408112156127c757600080fd5b60408112156127d557600080fd5b506127de61214d565b6127e7886122e5565b81526020880151602082015280965050604087015161280581611f5a565b606088015190955061281681611f5a565b935061282588608089016125b0565b92506128348860c089016125b0565b91506128448861010089016125b0565b90509295509295509295565b60006020828403121561286257600080fd5b81516001600160c01b031981168114611f5357600080fdfe6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220c216518cd88cdd9b2f24bedfcddae46c5d078b5ae0178148d6e46301e7d5826164736f6c63430008140033",
534
+ "linkReferences": {
535
+ "contracts/types/Blocknumber.sol": {
536
+ "BlocknumberLib": [
537
+ {
538
+ "length": 20,
539
+ "start": 5266
540
+ }
541
+ ]
542
+ },
543
+ "contracts/types/NftId.sol": {
544
+ "NftIdLib": [
545
+ {
546
+ "length": 20,
547
+ "start": 4539
548
+ },
549
+ {
550
+ "length": 20,
551
+ "start": 4922
552
+ },
553
+ {
554
+ "length": 20,
555
+ "start": 6826
556
+ },
557
+ {
558
+ "length": 20,
559
+ "start": 7204
560
+ }
561
+ ]
562
+ },
563
+ "contracts/types/RoleId.sol": {
564
+ "RoleIdLib": [
565
+ {
566
+ "length": 20,
567
+ "start": 9680
568
+ },
569
+ {
570
+ "length": 20,
571
+ "start": 9829
572
+ },
573
+ {
574
+ "length": 20,
575
+ "start": 9925
576
+ },
577
+ {
578
+ "length": 20,
579
+ "start": 10015
580
+ }
581
+ ]
582
+ },
583
+ "contracts/types/UFixed.sol": {
584
+ "UFixedMathLib": [
585
+ {
586
+ "length": 20,
587
+ "start": 8678
588
+ }
589
+ ]
590
+ },
591
+ "contracts/types/Version.sol": {
592
+ "VersionLib": [
593
+ {
594
+ "length": 20,
595
+ "start": 615
596
+ },
597
+ {
598
+ "length": 20,
599
+ "start": 1321
600
+ },
601
+ {
602
+ "length": 20,
603
+ "start": 3933
604
+ },
605
+ {
606
+ "length": 20,
607
+ "start": 5643
608
+ },
609
+ {
610
+ "length": 20,
611
+ "start": 6315
612
+ }
613
+ ]
614
+ }
615
+ },
616
+ "deployedLinkReferences": {
617
+ "contracts/types/Blocknumber.sol": {
618
+ "BlocknumberLib": [
619
+ {
620
+ "length": 20,
621
+ "start": 3137
622
+ }
623
+ ]
624
+ },
625
+ "contracts/types/NftId.sol": {
626
+ "NftIdLib": [
627
+ {
628
+ "length": 20,
629
+ "start": 2410
630
+ },
631
+ {
632
+ "length": 20,
633
+ "start": 2793
634
+ },
635
+ {
636
+ "length": 20,
637
+ "start": 4697
638
+ },
639
+ {
640
+ "length": 20,
641
+ "start": 5075
642
+ }
643
+ ]
644
+ },
645
+ "contracts/types/RoleId.sol": {
646
+ "RoleIdLib": [
647
+ {
648
+ "length": 20,
649
+ "start": 7551
650
+ },
651
+ {
652
+ "length": 20,
653
+ "start": 7700
654
+ },
655
+ {
656
+ "length": 20,
657
+ "start": 7796
658
+ },
659
+ {
660
+ "length": 20,
661
+ "start": 7886
662
+ }
663
+ ]
664
+ },
665
+ "contracts/types/UFixed.sol": {
666
+ "UFixedMathLib": [
667
+ {
668
+ "length": 20,
669
+ "start": 6549
670
+ }
671
+ ]
672
+ },
673
+ "contracts/types/Version.sol": {
674
+ "VersionLib": [
675
+ {
676
+ "length": 20,
677
+ "start": 1804
678
+ },
679
+ {
680
+ "length": 20,
681
+ "start": 3514
682
+ },
683
+ {
684
+ "length": 20,
685
+ "start": 4186
686
+ }
687
+ ]
688
+ }
689
+ }
690
+ }