@etherisc/gif-next 0.0.2-a7e19c7 → 0.0.2-a84e908-436

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 (373) hide show
  1. package/README.md +178 -6
  2. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +4 -0
  3. package/artifacts/contracts/components/{Component.sol/Component.json → BaseComponent.sol/BaseComponent.json} +48 -53
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +405 -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} +48 -53
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +340 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +487 -0
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +370 -0
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +405 -40
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +258 -45
  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 +1403 -247
  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 +1769 -383
  52. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +4 -0
  53. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +364 -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} +152 -138
  62. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +4 -0
  63. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.json +440 -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 +364 -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 +57 -62
  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 +50 -68
  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 +511 -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 +511 -0
  122. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +4 -0
  123. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +595 -0
  124. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  125. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +484 -0
  126. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +4 -0
  127. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +405 -0
  128. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  129. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +366 -0
  130. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
  131. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +481 -0
  132. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
  133. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +671 -0
  134. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  135. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +607 -0
  136. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  137. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +922 -0
  138. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  139. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +65 -2
  140. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +1 -1
  141. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  142. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +98 -85
  143. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  144. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +24 -0
  145. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  146. package/artifacts/contracts/registry/Registry.sol/Registry.json +436 -59
  147. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +4 -0
  148. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +35 -0
  149. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +4 -0
  150. package/artifacts/contracts/{registry/IRegistry.sol → shared/IOwnable.sol}/IOwnable.json +1 -1
  151. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +4 -0
  152. package/artifacts/contracts/{registry/IRegistry.sol → shared/IRegisterable.sol}/IRegisterable.json +18 -63
  153. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +4 -0
  154. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +205 -0
  155. package/artifacts/contracts/shared/Proxy.sol/ProxyDeployer.dbg.json +4 -0
  156. package/artifacts/contracts/shared/Proxy.sol/ProxyDeployer.json +248 -0
  157. package/artifacts/contracts/shared/Proxy.sol/ProxyWithProxyAdminGetter.dbg.json +4 -0
  158. package/artifacts/contracts/shared/Proxy.sol/ProxyWithProxyAdminGetter.json +129 -0
  159. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +4 -0
  160. package/artifacts/contracts/{registry/Registry.sol → shared/Registerable.sol}/Registerable.json +18 -63
  161. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +4 -0
  162. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +228 -0
  163. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +4 -0
  164. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +405 -0
  165. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +4 -0
  166. package/artifacts/contracts/test/TestFee.sol/TestFee.json +119 -0
  167. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +4 -0
  168. package/artifacts/contracts/test/TestPool.sol/TestPool.json +578 -0
  169. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +4 -0
  170. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +575 -0
  171. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +4 -0
  172. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +137 -0
  173. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +4 -0
  174. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +116 -0
  175. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +4 -0
  176. package/artifacts/contracts/test/TestService.sol/TestService.json +443 -0
  177. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +4 -0
  178. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +338 -0
  179. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +4 -0
  180. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +218 -0
  181. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +4 -0
  182. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +270 -0
  183. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +4 -0
  184. package/artifacts/contracts/test/Usdc.sol/USDC.json +338 -0
  185. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  186. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +10 -0
  187. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  188. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  189. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  190. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +2 -2
  191. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +4 -0
  192. package/artifacts/contracts/types/Fee.sol/FeeLib.json +257 -0
  193. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +4 -0
  194. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +111 -0
  195. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  196. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +65 -4
  197. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  198. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +10 -0
  199. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  200. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +92 -0
  201. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +4 -0
  202. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.json +99 -0
  203. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
  204. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
  205. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +4 -0
  206. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +30 -0
  207. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +4 -0
  208. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +92 -0
  209. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  210. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +64 -2
  211. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +1 -1
  212. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +98 -59
  213. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +4 -0
  214. package/artifacts/contracts/types/Version.sol/VersionLib.json +177 -0
  215. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +4 -0
  216. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +30 -0
  217. package/contracts/components/BaseComponent.sol +94 -0
  218. package/contracts/components/Distribution.sol +132 -0
  219. package/contracts/components/IBaseComponent.sol +19 -0
  220. package/contracts/components/IDistributionComponent.sol +47 -0
  221. package/contracts/components/IPoolComponent.sol +71 -0
  222. package/contracts/components/IProductComponent.sol +38 -0
  223. package/contracts/components/Pool.sol +222 -16
  224. package/contracts/components/Product.sol +193 -32
  225. package/contracts/experiment/errors/Require.sol +10 -5
  226. package/contracts/experiment/errors/Revert.sol +13 -8
  227. package/contracts/experiment/inheritance/A.sol +8 -11
  228. package/contracts/experiment/inheritance/B.sol +10 -5
  229. package/contracts/experiment/inheritance/C.sol +11 -5
  230. package/contracts/experiment/inheritance/IA.sol +2 -7
  231. package/contracts/experiment/inheritance/IB.sol +3 -2
  232. package/contracts/experiment/inheritance/IC.sol +4 -3
  233. package/contracts/experiment/statemachine/Dummy.sol +27 -0
  234. package/contracts/experiment/statemachine/ISM.sol +25 -0
  235. package/contracts/experiment/statemachine/README.md +112 -0
  236. package/contracts/experiment/statemachine/SM.sol +57 -0
  237. package/contracts/experiment/statemachine/SimpleStateMachine.sol +31 -0
  238. package/contracts/experiment/types/TypeA.sol +14 -9
  239. package/contracts/experiment/types/TypeB.sol +14 -9
  240. package/contracts/instance/IInstance.sol +41 -8
  241. package/contracts/instance/IInstanceLinked.sol +8 -0
  242. package/contracts/instance/Instance.sol +54 -44
  243. package/contracts/instance/base/ComponentServiceBase.sol +42 -0
  244. package/contracts/instance/base/IInstanceBase.sol +22 -0
  245. package/contracts/instance/base/IKeyValueStore.sol +50 -0
  246. package/contracts/instance/base/ILifecycle.sol +30 -0
  247. package/contracts/instance/base/IService.sol +15 -0
  248. package/contracts/instance/base/InstanceBase.sol +91 -0
  249. package/contracts/instance/base/KeyValueStore.sol +161 -0
  250. package/contracts/instance/base/Lifecycle.sol +100 -0
  251. package/contracts/instance/base/ModuleBase.sol +57 -0
  252. package/contracts/instance/base/ServiceBase.sol +37 -0
  253. package/contracts/instance/module/access/Access.sol +149 -0
  254. package/contracts/instance/module/access/IAccess.sol +53 -0
  255. package/contracts/instance/module/bundle/BundleModule.sol +134 -0
  256. package/contracts/instance/module/bundle/IBundle.sol +53 -0
  257. package/contracts/instance/module/component/ComponentModule.sol +70 -0
  258. package/contracts/instance/module/component/IComponent.sol +28 -0
  259. package/contracts/instance/module/distribution/DistributionModule.sol +17 -0
  260. package/contracts/instance/module/distribution/IDistribution.sol +10 -0
  261. package/contracts/instance/module/policy/IPolicy.sol +63 -0
  262. package/contracts/instance/module/policy/PolicyModule.sol +91 -0
  263. package/contracts/instance/module/pool/IPoolModule.sol +40 -0
  264. package/contracts/instance/module/pool/PoolModule.sol +90 -0
  265. package/contracts/instance/module/risk/IRisk.sol +26 -0
  266. package/contracts/instance/module/risk/RiskModule.sol +62 -0
  267. package/contracts/instance/module/treasury/ITreasury.sol +82 -0
  268. package/contracts/instance/module/treasury/TokenHandler.sol +48 -0
  269. package/contracts/instance/module/treasury/TreasuryModule.sol +138 -0
  270. package/contracts/instance/service/ComponentOwnerService.sol +157 -0
  271. package/contracts/instance/service/DistributionService.sol +59 -0
  272. package/contracts/instance/service/IComponentOwnerService.sol +22 -0
  273. package/contracts/instance/service/IDistributionService.sol +12 -0
  274. package/contracts/instance/service/IPoolService.sol +37 -0
  275. package/contracts/instance/service/IProductService.sol +107 -0
  276. package/contracts/instance/service/PoolService.sol +149 -0
  277. package/contracts/instance/service/ProductService.sol +509 -0
  278. package/contracts/registry/ChainNft.sol +80 -94
  279. package/contracts/registry/IChainNft.sol +10 -7
  280. package/contracts/registry/IRegistry.sol +35 -51
  281. package/contracts/registry/IRegistryLinked.sol +8 -0
  282. package/contracts/registry/Registry.sol +394 -120
  283. package/contracts/shared/ERC165.sol +21 -0
  284. package/contracts/shared/IOwnable.sol +6 -0
  285. package/contracts/shared/IRegisterable.sol +24 -0
  286. package/contracts/shared/IVersionable.sol +94 -0
  287. package/contracts/shared/Proxy.sol +94 -0
  288. package/contracts/shared/Registerable.sol +86 -0
  289. package/contracts/shared/Versionable.sol +145 -0
  290. package/contracts/test/TestDistribution.sol +21 -0
  291. package/contracts/test/TestFee.sol +25 -0
  292. package/contracts/test/TestPool.sol +25 -0
  293. package/contracts/test/TestProduct.sol +72 -0
  294. package/contracts/test/TestRegisterable.sol +19 -0
  295. package/contracts/test/TestRoleId.sol +14 -0
  296. package/contracts/test/TestService.sol +32 -0
  297. package/contracts/test/TestToken.sol +26 -0
  298. package/contracts/test/TestVersion.sol +44 -0
  299. package/contracts/test/TestVersionable.sol +17 -0
  300. package/contracts/test/Usdc.sol +26 -0
  301. package/contracts/types/AddressSet.sol +58 -0
  302. package/contracts/types/Blocknumber.sol +76 -18
  303. package/contracts/types/ChainId.sol +18 -10
  304. package/contracts/types/Fee.sol +56 -0
  305. package/contracts/types/Key32.sol +45 -0
  306. package/contracts/types/NftId.sol +48 -11
  307. package/contracts/types/NftIdSet.sol +60 -0
  308. package/contracts/types/ObjectType.sol +131 -0
  309. package/contracts/types/ReferralId.sol +48 -0
  310. package/contracts/types/RiskId.sol +43 -0
  311. package/contracts/types/RoleId.sol +38 -0
  312. package/contracts/types/StateId.sol +101 -0
  313. package/contracts/types/Timestamp.sol +85 -17
  314. package/contracts/types/UFixed.sol +78 -76
  315. package/contracts/types/Version.sol +103 -0
  316. package/package.json +19 -5
  317. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  318. package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +0 -4
  319. package/artifacts/contracts/components/Component.sol/InstanceLinked.json +0 -35
  320. package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +0 -4
  321. package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +0 -4
  322. package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +0 -192
  323. package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +0 -4
  324. package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +0 -4
  325. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +0 -4
  326. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.json +0 -35
  327. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +0 -4
  328. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.json +0 -50
  329. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  330. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  331. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +0 -4
  332. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +0 -147
  333. package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +0 -4
  334. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +0 -4
  335. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +0 -179
  336. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  337. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +0 -245
  338. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +0 -4
  339. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +0 -94
  340. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +0 -4
  341. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  342. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  343. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  344. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  345. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  346. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  347. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +0 -4
  348. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.json +0 -75
  349. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +0 -4
  350. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +0 -4
  351. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.json +0 -75
  352. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +0 -4
  353. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +0 -167
  354. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +0 -4
  355. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +0 -4
  356. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +0 -4
  357. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.json +0 -49
  358. package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +0 -4
  359. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +0 -4
  360. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +0 -60
  361. package/contracts/components/Component.sol +0 -62
  362. package/contracts/components/IPool.sol +0 -9
  363. package/contracts/components/IProduct.sol +0 -12
  364. package/contracts/instance/access/Access.sol +0 -218
  365. package/contracts/instance/access/IAccess.sol +0 -83
  366. package/contracts/instance/component/ComponentModule.sol +0 -248
  367. package/contracts/instance/component/IComponent.sol +0 -95
  368. package/contracts/instance/policy/IPolicy.sol +0 -66
  369. package/contracts/instance/policy/PolicyModule.sol +0 -107
  370. package/contracts/instance/pool/IPoolModule.sol +0 -41
  371. package/contracts/instance/pool/PoolModule.sol +0 -86
  372. package/contracts/instance/product/IProductService.sol +0 -46
  373. package/contracts/instance/product/ProductService.sol +0 -108
@@ -0,0 +1,607 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "PoolService",
4
+ "sourceName": "contracts/instance/service/PoolService.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
+ "stateMutability": "nonpayable",
20
+ "type": "constructor"
21
+ },
22
+ {
23
+ "inputs": [],
24
+ "name": "InvalidInitialization",
25
+ "type": "error"
26
+ },
27
+ {
28
+ "inputs": [],
29
+ "name": "NotInitializing",
30
+ "type": "error"
31
+ },
32
+ {
33
+ "anonymous": false,
34
+ "inputs": [
35
+ {
36
+ "indexed": false,
37
+ "internalType": "uint64",
38
+ "name": "version",
39
+ "type": "uint64"
40
+ }
41
+ ],
42
+ "name": "Initialized",
43
+ "type": "event"
44
+ },
45
+ {
46
+ "anonymous": false,
47
+ "inputs": [
48
+ {
49
+ "indexed": false,
50
+ "internalType": "Version",
51
+ "name": "version",
52
+ "type": "uint24"
53
+ },
54
+ {
55
+ "indexed": false,
56
+ "internalType": "address",
57
+ "name": "implementation",
58
+ "type": "address"
59
+ },
60
+ {
61
+ "indexed": false,
62
+ "internalType": "address",
63
+ "name": "activatedBy",
64
+ "type": "address"
65
+ }
66
+ ],
67
+ "name": "LogVersionableInitialized",
68
+ "type": "event"
69
+ },
70
+ {
71
+ "inputs": [],
72
+ "name": "NAME",
73
+ "outputs": [
74
+ {
75
+ "internalType": "string",
76
+ "name": "",
77
+ "type": "string"
78
+ }
79
+ ],
80
+ "stateMutability": "view",
81
+ "type": "function"
82
+ },
83
+ {
84
+ "inputs": [
85
+ {
86
+ "internalType": "address",
87
+ "name": "owner",
88
+ "type": "address"
89
+ },
90
+ {
91
+ "components": [
92
+ {
93
+ "internalType": "UFixed",
94
+ "name": "fractionalFee",
95
+ "type": "uint256"
96
+ },
97
+ {
98
+ "internalType": "uint256",
99
+ "name": "fixedFee",
100
+ "type": "uint256"
101
+ }
102
+ ],
103
+ "internalType": "struct Fee",
104
+ "name": "fee",
105
+ "type": "tuple"
106
+ },
107
+ {
108
+ "internalType": "uint256",
109
+ "name": "stakingAmount",
110
+ "type": "uint256"
111
+ },
112
+ {
113
+ "internalType": "uint256",
114
+ "name": "lifetime",
115
+ "type": "uint256"
116
+ },
117
+ {
118
+ "internalType": "bytes",
119
+ "name": "filter",
120
+ "type": "bytes"
121
+ }
122
+ ],
123
+ "name": "createBundle",
124
+ "outputs": [
125
+ {
126
+ "internalType": "NftId",
127
+ "name": "bundleNftId",
128
+ "type": "uint96"
129
+ }
130
+ ],
131
+ "stateMutability": "nonpayable",
132
+ "type": "function"
133
+ },
134
+ {
135
+ "inputs": [],
136
+ "name": "getData",
137
+ "outputs": [
138
+ {
139
+ "internalType": "bytes",
140
+ "name": "data",
141
+ "type": "bytes"
142
+ }
143
+ ],
144
+ "stateMutability": "view",
145
+ "type": "function"
146
+ },
147
+ {
148
+ "inputs": [],
149
+ "name": "getInitializedVersion",
150
+ "outputs": [
151
+ {
152
+ "internalType": "uint64",
153
+ "name": "",
154
+ "type": "uint64"
155
+ }
156
+ ],
157
+ "stateMutability": "view",
158
+ "type": "function"
159
+ },
160
+ {
161
+ "inputs": [],
162
+ "name": "getMajorVersion",
163
+ "outputs": [
164
+ {
165
+ "internalType": "VersionPart",
166
+ "name": "majorVersion",
167
+ "type": "uint8"
168
+ }
169
+ ],
170
+ "stateMutability": "view",
171
+ "type": "function"
172
+ },
173
+ {
174
+ "inputs": [],
175
+ "name": "getName",
176
+ "outputs": [
177
+ {
178
+ "internalType": "string",
179
+ "name": "name",
180
+ "type": "string"
181
+ }
182
+ ],
183
+ "stateMutability": "pure",
184
+ "type": "function"
185
+ },
186
+ {
187
+ "inputs": [],
188
+ "name": "getNftId",
189
+ "outputs": [
190
+ {
191
+ "internalType": "NftId",
192
+ "name": "nftId",
193
+ "type": "uint96"
194
+ }
195
+ ],
196
+ "stateMutability": "view",
197
+ "type": "function"
198
+ },
199
+ {
200
+ "inputs": [],
201
+ "name": "getOwner",
202
+ "outputs": [
203
+ {
204
+ "internalType": "address",
205
+ "name": "owner",
206
+ "type": "address"
207
+ }
208
+ ],
209
+ "stateMutability": "view",
210
+ "type": "function"
211
+ },
212
+ {
213
+ "inputs": [],
214
+ "name": "getParentNftId",
215
+ "outputs": [
216
+ {
217
+ "internalType": "NftId",
218
+ "name": "nftId",
219
+ "type": "uint96"
220
+ }
221
+ ],
222
+ "stateMutability": "view",
223
+ "type": "function"
224
+ },
225
+ {
226
+ "inputs": [],
227
+ "name": "getRegistry",
228
+ "outputs": [
229
+ {
230
+ "internalType": "contract IRegistry",
231
+ "name": "registry",
232
+ "type": "address"
233
+ }
234
+ ],
235
+ "stateMutability": "view",
236
+ "type": "function"
237
+ },
238
+ {
239
+ "inputs": [],
240
+ "name": "getType",
241
+ "outputs": [
242
+ {
243
+ "internalType": "ObjectType",
244
+ "name": "",
245
+ "type": "uint8"
246
+ }
247
+ ],
248
+ "stateMutability": "pure",
249
+ "type": "function"
250
+ },
251
+ {
252
+ "inputs": [],
253
+ "name": "getVersion",
254
+ "outputs": [
255
+ {
256
+ "internalType": "Version",
257
+ "name": "",
258
+ "type": "uint24"
259
+ }
260
+ ],
261
+ "stateMutability": "pure",
262
+ "type": "function"
263
+ },
264
+ {
265
+ "inputs": [
266
+ {
267
+ "internalType": "uint256",
268
+ "name": "idx",
269
+ "type": "uint256"
270
+ }
271
+ ],
272
+ "name": "getVersion",
273
+ "outputs": [
274
+ {
275
+ "internalType": "Version",
276
+ "name": "",
277
+ "type": "uint24"
278
+ }
279
+ ],
280
+ "stateMutability": "view",
281
+ "type": "function"
282
+ },
283
+ {
284
+ "inputs": [],
285
+ "name": "getVersionCount",
286
+ "outputs": [
287
+ {
288
+ "internalType": "uint256",
289
+ "name": "",
290
+ "type": "uint256"
291
+ }
292
+ ],
293
+ "stateMutability": "view",
294
+ "type": "function"
295
+ },
296
+ {
297
+ "inputs": [
298
+ {
299
+ "internalType": "Version",
300
+ "name": "_version",
301
+ "type": "uint24"
302
+ }
303
+ ],
304
+ "name": "getVersionInfo",
305
+ "outputs": [
306
+ {
307
+ "components": [
308
+ {
309
+ "internalType": "Version",
310
+ "name": "version",
311
+ "type": "uint24"
312
+ },
313
+ {
314
+ "internalType": "address",
315
+ "name": "implementation",
316
+ "type": "address"
317
+ },
318
+ {
319
+ "internalType": "address",
320
+ "name": "activatedBy",
321
+ "type": "address"
322
+ },
323
+ {
324
+ "internalType": "Timestamp",
325
+ "name": "activatedAt",
326
+ "type": "uint40"
327
+ },
328
+ {
329
+ "internalType": "Blocknumber",
330
+ "name": "activatedIn",
331
+ "type": "uint32"
332
+ }
333
+ ],
334
+ "internalType": "struct IVersionable.VersionInfo",
335
+ "name": "",
336
+ "type": "tuple"
337
+ }
338
+ ],
339
+ "stateMutability": "view",
340
+ "type": "function"
341
+ },
342
+ {
343
+ "inputs": [
344
+ {
345
+ "internalType": "address",
346
+ "name": "implementation",
347
+ "type": "address"
348
+ },
349
+ {
350
+ "internalType": "address",
351
+ "name": "activatedBy",
352
+ "type": "address"
353
+ },
354
+ {
355
+ "internalType": "bytes",
356
+ "name": "data",
357
+ "type": "bytes"
358
+ }
359
+ ],
360
+ "name": "initialize",
361
+ "outputs": [],
362
+ "stateMutability": "nonpayable",
363
+ "type": "function"
364
+ },
365
+ {
366
+ "inputs": [
367
+ {
368
+ "internalType": "Version",
369
+ "name": "_version",
370
+ "type": "uint24"
371
+ }
372
+ ],
373
+ "name": "isInitialized",
374
+ "outputs": [
375
+ {
376
+ "internalType": "bool",
377
+ "name": "",
378
+ "type": "bool"
379
+ }
380
+ ],
381
+ "stateMutability": "view",
382
+ "type": "function"
383
+ },
384
+ {
385
+ "inputs": [],
386
+ "name": "register",
387
+ "outputs": [
388
+ {
389
+ "internalType": "NftId",
390
+ "name": "nftId",
391
+ "type": "uint96"
392
+ }
393
+ ],
394
+ "stateMutability": "nonpayable",
395
+ "type": "function"
396
+ },
397
+ {
398
+ "inputs": [
399
+ {
400
+ "internalType": "NftId",
401
+ "name": "bundleNftId",
402
+ "type": "uint96"
403
+ },
404
+ {
405
+ "components": [
406
+ {
407
+ "internalType": "UFixed",
408
+ "name": "fractionalFee",
409
+ "type": "uint256"
410
+ },
411
+ {
412
+ "internalType": "uint256",
413
+ "name": "fixedFee",
414
+ "type": "uint256"
415
+ }
416
+ ],
417
+ "internalType": "struct Fee",
418
+ "name": "fee",
419
+ "type": "tuple"
420
+ }
421
+ ],
422
+ "name": "setBundleFee",
423
+ "outputs": [],
424
+ "stateMutability": "nonpayable",
425
+ "type": "function"
426
+ },
427
+ {
428
+ "inputs": [
429
+ {
430
+ "components": [
431
+ {
432
+ "internalType": "UFixed",
433
+ "name": "fractionalFee",
434
+ "type": "uint256"
435
+ },
436
+ {
437
+ "internalType": "uint256",
438
+ "name": "fixedFee",
439
+ "type": "uint256"
440
+ }
441
+ ],
442
+ "internalType": "struct Fee",
443
+ "name": "poolFee",
444
+ "type": "tuple"
445
+ },
446
+ {
447
+ "components": [
448
+ {
449
+ "internalType": "UFixed",
450
+ "name": "fractionalFee",
451
+ "type": "uint256"
452
+ },
453
+ {
454
+ "internalType": "uint256",
455
+ "name": "fixedFee",
456
+ "type": "uint256"
457
+ }
458
+ ],
459
+ "internalType": "struct Fee",
460
+ "name": "stakingFee",
461
+ "type": "tuple"
462
+ },
463
+ {
464
+ "components": [
465
+ {
466
+ "internalType": "UFixed",
467
+ "name": "fractionalFee",
468
+ "type": "uint256"
469
+ },
470
+ {
471
+ "internalType": "uint256",
472
+ "name": "fixedFee",
473
+ "type": "uint256"
474
+ }
475
+ ],
476
+ "internalType": "struct Fee",
477
+ "name": "performanceFee",
478
+ "type": "tuple"
479
+ }
480
+ ],
481
+ "name": "setFees",
482
+ "outputs": [],
483
+ "stateMutability": "nonpayable",
484
+ "type": "function"
485
+ },
486
+ {
487
+ "inputs": [
488
+ {
489
+ "internalType": "bytes4",
490
+ "name": "interfaceId",
491
+ "type": "bytes4"
492
+ }
493
+ ],
494
+ "name": "supportsInterface",
495
+ "outputs": [
496
+ {
497
+ "internalType": "bool",
498
+ "name": "",
499
+ "type": "bool"
500
+ }
501
+ ],
502
+ "stateMutability": "view",
503
+ "type": "function"
504
+ },
505
+ {
506
+ "inputs": [
507
+ {
508
+ "internalType": "address",
509
+ "name": "implementation",
510
+ "type": "address"
511
+ },
512
+ {
513
+ "internalType": "address",
514
+ "name": "activatedBy",
515
+ "type": "address"
516
+ },
517
+ {
518
+ "internalType": "bytes",
519
+ "name": "data",
520
+ "type": "bytes"
521
+ }
522
+ ],
523
+ "name": "upgrade",
524
+ "outputs": [],
525
+ "stateMutability": "nonpayable",
526
+ "type": "function"
527
+ }
528
+ ],
529
+ "bytecode": "0x60e06040523480156200001157600080fd5b5060405162002950380380620029508339810160408190526200003491620003f3565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff191660011790558181818181816001600160a01b038216620000d25760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a5247422d3031303a52454749535452595f5a45524f000000000060448201526064015b60405180910390fd5b6001600160a01b03821660808190526040516301ffc9a760e01b81526362a09d0f60e01b60048201526301ffc9a790602401602060405180830381865afa15801562000122573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000148919062000448565b620001965760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5247422d3031313a4e4f545f52454749535452590000000000006044820152606401620000c9565b6001600160601b03811660a081905260805160405163e74d052f60e01b815260048101929092526001600160a01b03169063e74d052f90602401602060405180830381865afa158015620001ee573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000214919062000448565b6200026e5760405162461bcd60e51b815260206004820152602360248201527f4552524f523a5247422d3031323a504152454e545f4e4f545f5245474953544560448201526214915160ea1b6064820152608401620000c9565b3360c052631dfba64760e11b60009081526020527f95e5a2564f7af40498dc043c6da135e06324c5edb1f60c2bf4dcdf2da207fa45805460ff1916600117905550620002bb90506200033f565b631b4612f160e31b60009081526020527ffc58a5a01198e68c5a5d0bcd463f9ab550fc4337b1df271aed6dbb33d25fef25805460ff1916600117905550505050620003126209196b60e61b6200031a60201b60201c565b505062000473565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620003905760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620003f05780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b600080604083850312156200040757600080fd5b82516001600160a01b03811681146200041f57600080fd5b60208401519092506001600160601b03811681146200043d57600080fd5b809150509250929050565b6000602082840312156200045b57600080fd5b815180151581146200046c57600080fd5b9392505050565b60805160a05160c05161246e620004e26000396000610b9d0152600061020c015260008181610372015281816105be0152818161092d01528181610b2001528181610be001528181611021015281816112200152818161137c015281816114720152611862015261246e6000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c8063644c45e0116100b8578063a745e3df1161007c578063a745e3df1461043c578063b3c650151461044f578063b88da7591461046f578063cde749f414610482578063cf7a1d771461048a578063e3458d531461049d57600080fd5b8063644c45e0146103bf57806382678766146103c7578063893d20e8146103da578063946dfcfe146103e2578063a3f4df7e1461041257600080fd5b806331b62a3b1161010a57806331b62a3b1461020a5780633bc5de30146102305780634d459c90146102445780634f4213331461035d5780635ab1bd5314610370578063636450f5146103aa57600080fd5b806301ffc9a7146101475780630d8e6e2c1461018957806315dae03e146101a557806317d7de7c146101ba5780631aa3a008146101ea575b600080fd5b6101746101553660046119f6565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101916104b0565b60405162ffffff9091168152602001610180565b60285b60405160ff9091168152602001610180565b60408051808201909152600b81526a506f6f6c5365727669636560a81b60208201525b6040516101809190611a77565b6101f261053a565b6040516001600160601b039091168152602001610180565b7f00000000000000000000000000000000000000000000000000000000000000006101f2565b6040805160208101909152600081526101dd565b610300610252366004611a9b565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915260008051602061241983398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610180565b61017461036b366004611a9b565b610633565b7f00000000000000000000000000000000000000000000000000000000000000005b6040516001600160a01b039091168152602001610180565b6103bd6103b8366004611bd3565b6106e6565b005b6101f2610915565b6103bd6103d5366004611c09565b61097c565b610392610afe565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed90154604051908152602001610180565b6101dd6040518060400160405280600b81526020016a506f6f6c5365727669636560a81b81525081565b6103bd61044a366004611c8b565b610c59565b610457610db3565b6040516001600160401b039091168152602001610180565b61019161047d366004611d2f565b610dd4565b6101a8610e25565b6103bd610498366004611c8b565b610f02565b6101f26104ab366004611d48565b61100a565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610511573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105359190611df0565b905090565b6000610544610afe565b6001600160a01b0316336001600160a01b0316146105a95760405162461bcd60e51b815260206004820152601760248201527f4552524f523a5247422d3030313a4e4f545f4f574e455200000000000000000060448201526064015b60405180910390fd5b604051632210724360e11b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690634420e486906024016020604051808303816000875af115801561060f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105359190611e1d565b60008060008051602061241983398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af41580156106bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106df9190611e3a565b1192915050565b6000806106f3608c6111d7565b604051634793b4ab60e01b81526001600160601b038716600482015291935091506000906001600160a01b03831690634793b4ab90602401600060405180830381865afa158015610748573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107709190810190611ee5565b80516040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f29190611fb6565b61083e5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a504c532d3031303a42554e444c455f554e4b4e4f574e0000000060448201526064016105a0565b825181516001600160601b039182169116146108a75760405162461bcd60e51b815260206004820152602260248201527f4552524f523a504c532d3031313a42554e444c455f504f4f4c5f4d49534d4154604482015261086960f31b60648201526084016105a0565b60208101849052604051637e8a1e3b60e11b81526001600160a01b0383169063fd143c76906108dc9088908590600401611fd8565b600060405180830381600087803b1580156108f657600080fd5b505af115801561090a573d6000803e3d6000fd5b505050505050505050565b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401602060405180830381865afa15801561060f573d6000803e3d6000fd5b600080610989608c6111d7565b8151604051639ae31ff560e01b81526001600160601b03909116600482015291935091506000906001600160a01b03831690639ae31ff590602401602060405180830381865afa1580156109e1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a059190611e1d565b60405163f2b246c360e01b81526001600160601b03821660048201529091506000906001600160a01b0384169063f2b246c3906024016101e060405180830381865afa158015610a59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7d9190612092565b60a0810188905260c0810187905260e081018690526040516306a5298b60e01b81529091506001600160a01b038416906306a5298b90610ac39085908590600401612151565b600060405180830381600087803b158015610add57600080fd5b505af1158015610af1573d6000803e3d6000fd5b5050505050505050505050565b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa158015610b67573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b8b9190611e1d565b90506001600160601b038116610bc2577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa158015610c2f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c539190612238565b91505090565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610c7b6104b0565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610cbb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cdf9190612255565b6000805160206123f98339815191528054600160401b900460ff1680610d12575080546001600160401b03808416911610155b15610d305760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610d5b85856114f7565b610d6483611732565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006105356000805160206123f9833981519152546001600160401b031690565b60006000805160206124198339815191526001018281548110610df957610df961227e565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000306001600160a01b0316630d8e6e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e899190611df0565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015610ede573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061053591906122a3565b6000805160206123f98339815191528054600160401b810460ff1615906001600160401b0316600081158015610f355750825b90506000826001600160401b03166001148015610f515750303b155b905081158015610f5f575080155b15610f7d5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610fa757845460ff60401b1916600160401b1785555b610fb188886114f7565b610fba8661173a565b831561100057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b60008080611018608c6111d7565b815191935091507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316635ef14b5e8260dc6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526001600160a01b038d166044820152608060648201526000608482015260a4016020604051808303816000875af11580156110bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e09190611e1d565b6040516346aea9b760e11b81529094506001600160a01b03831690638d5d536e9061111b90879085908e908e908e908e908e906004016122c0565b600060405180830381600087803b15801561113557600080fd5b505af1158015611149573d6000803e3d6000fd5b5050604051639845743760e01b81526001600160601b03808816600483015284166024820152604481018b90526001600160a01b038516925063984574379150606401600060405180830381600087803b1580156111a657600080fd5b505af11580156111ba573d6000803e3d6000fd5b505050506111ca8282868b611745565b5050509695505050505050565b6040805160c08101825260008082526020820181905281830181905260608083018290526080830182905260a08301529151636939560f60e11b815233600482015290919081907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401602060405180830381865afa15801561126f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112939190611e1d565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156112ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113129190611fb6565b61135e5760405162461bcd60e51b815260206004820152601760248201527f4552524f525f434f4d504f4e454e545f554e4b4e4f574e00000000000000000060448201526064016105a0565b6040516305247a1760e51b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063a48f42e090602401600060405180830381865afa1580156113cb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113f39190810190612331565b925061140983604001518560ff90811691161490565b61144b5760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b60448201526064016105a0565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063a48f42e090602401600060405180830381865afa1580156114c1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526114e99190810190612331565b606001519395939450505050565b6114ff6119bd565b600080516020612419833981519152600061152f6000805160206123f9833981519152546001600160401b031690565b9050600061153b6104b0565b9050816001600160401b03166001036115685760028301805462ffffff191662ffffff83161790556115b6565b600283015462ffffff908116908216116115b65760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b60448201526064016105a0565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b0380891692840192909252908616908201526060810161162a4290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890610da49083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101426119bd565b6117426119bd565b50565b80156119b757604051639ae31ff560e01b81526001600160601b03841660048201526000906001600160a01b03861690639ae31ff590602401602060405180830381865afa15801561179b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117bf9190611e1d565b60405163a310e2a360e01b81526001600160601b03821660048201529091506000906001600160a01b0387169063a310e2a390602401602060405180830381865afa158015611812573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118369190612238565b60405163df33330b60e01b81526001600160601b03861660048201529091506000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063df33330b90602401602060405180830381865afa1580156118a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118cd9190612238565b604051630d48c43b60e11b81526001600160601b03881660048201529091506000906001600160a01b03891690631a91887690602401602060405180830381865afa158015611920573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119449190612238565b6040516317d5759960e31b81526001600160a01b0384811660048301528083166024830152604482018890529192509084169063beabacc890606401600060405180830381600087803b15801561199a57600080fd5b505af11580156119ae573d6000803e3d6000fd5b50505050505050505b50505050565b6000805160206123f983398151915254600160401b900460ff166119f457604051631afcd79f60e31b815260040160405180910390fd5b565b600060208284031215611a0857600080fd5b81356001600160e01b031981168114611a2057600080fd5b9392505050565b60005b83811015611a42578181015183820152602001611a2a565b50506000910152565b60008151808452611a63816020860160208601611a27565b601f01601f19169290920160200192915050565b602081526000611a206020830184611a4b565b62ffffff8116811461174257600080fd5b600060208284031215611aad57600080fd5b8135611a2081611a8a565b6001600160601b038116811461174257600080fd5b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715611b0557611b05611acd565b60405290565b60405161010081016001600160401b0381118282101715611b0557611b05611acd565b60405161012081016001600160401b0381118282101715611b0557611b05611acd565b60405160c081016001600160401b0381118282101715611b0557611b05611acd565b604051601f8201601f191681016001600160401b0381118282101715611b9b57611b9b611acd565b604052919050565b600060408284031215611bb557600080fd5b611bbd611ae3565b9050813581526020820135602082015292915050565b60008060608385031215611be657600080fd5b8235611bf181611ab8565b9150611c008460208501611ba3565b90509250929050565b600080600060c08486031215611c1e57600080fd5b611c288585611ba3565b9250611c378560408601611ba3565b9150611c468560808601611ba3565b90509250925092565b6001600160a01b038116811461174257600080fd5b60006001600160401b03821115611c7d57611c7d611acd565b50601f01601f191660200190565b600080600060608486031215611ca057600080fd5b8335611cab81611c4f565b92506020840135611cbb81611c4f565b915060408401356001600160401b03811115611cd657600080fd5b8401601f81018613611ce757600080fd5b8035611cfa611cf582611c64565b611b73565b818152876020838501011115611d0f57600080fd5b816020840160208301376000602083830101528093505050509250925092565b600060208284031215611d4157600080fd5b5035919050565b60008060008060008060c08789031215611d6157600080fd5b8635611d6c81611c4f565b9550611d7b8860208901611ba3565b9450606087013593506080870135925060a08701356001600160401b0380821115611da557600080fd5b818901915089601f830112611db957600080fd5b813581811115611dc857600080fd5b8a6020828501011115611dda57600080fd5b6020830194508093505050509295509295509295565b600060208284031215611e0257600080fd5b8151611a2081611a8a565b8051611e1881611ab8565b919050565b600060208284031215611e2f57600080fd5b8151611a2081611ab8565b600060208284031215611e4c57600080fd5b5051919050565b600060408284031215611e6557600080fd5b611e6d611ae3565b9050815181526020820151602082015292915050565b600082601f830112611e9457600080fd5b8151611ea2611cf582611c64565b818152846020838601011115611eb757600080fd5b611ec8826020830160208701611a27565b949350505050565b805164ffffffffff81168114611e1857600080fd5b600060208284031215611ef757600080fd5b81516001600160401b0380821115611f0e57600080fd5b908301906101208286031215611f2357600080fd5b611f2b611b0b565b611f3483611e0d565b8152611f438660208501611e53565b6020820152606083015182811115611f5a57600080fd5b611f6687828601611e83565b6040830152506080830151606082015260a0830151608082015260c083015160a0820152611f9660e08401611ed0565b60c0820152611fa86101008401611ed0565b60e082015295945050505050565b600060208284031215611fc857600080fd5b81518015158114611a2057600080fd5b60006001600160601b03808516835260406020840152808451166040840152506020830151612014606084018280518252602090810151910152565b5060408301516101208060a0850152612031610160850183611a4b565b9150606085015160c0850152608085015160e085015260a085015161010085015260c08501516120698286018264ffffffffff169052565b505060e084015164ffffffffff811661014085015250949350505050565b8051611e1881611c4f565b60006101e082840312156120a557600080fd5b6120ad611b2e565b6120b683611e0d565b81526120c460208401611e0d565b60208201526120d560408401612087565b60408201526120e78460608501611e53565b60608201526120f98460a08501611e53565b608082015261210b8460e08501611e53565b60a082015261211e846101208501611e53565b60c0820152612131846101608501611e53565b60e0820152612144846101a08501611e53565b6101008201529392505050565b6001600160601b03838116825282511660208083019190915282015161020082019061218860408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a08301516101006121ea8185018380518252602090810151910152565b60c0850151805161014086015260209081015161016086015260e086015180516101808701528101516101a086015294015180516101c0850152909301516101e09092019190915292915050565b60006020828403121561224a57600080fd5b8151611a2081611c4f565b60006020828403121561226757600080fd5b81516001600160401b0381168114611a2057600080fd5b634e487b7160e01b600052603260045260246000fd5b60ff8116811461174257600080fd5b6000602082840312156122b557600080fd5b8151611a2081612294565b6001600160601b0388811682528716602082015260006122ed604083018880518252602090810151910152565b8560808301528460a083015260e060c08301528260e08301526101008385828501376000838501820152601f909301601f1916909101909101979650505050505050565b60006020828403121561234357600080fd5b81516001600160401b038082111561235a57600080fd5b9083019060c0828603121561236e57600080fd5b612376611b51565b825161238181611ab8565b8152602083015161239181611ab8565b602082015260408301516123a481612294565b60408201526123b560608401612087565b60608201526123c660808401612087565b608082015260a0830151828111156123dd57600080fd5b6123e987828601611e83565b60a0830152509594505050505056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212203e0a3c1112a58b6d89feaf55a4908c6f2381dad104149a8a5e7047c30ac7766c64736f6c63430008140033",
530
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101425760003560e01c8063644c45e0116100b8578063a745e3df1161007c578063a745e3df1461043c578063b3c650151461044f578063b88da7591461046f578063cde749f414610482578063cf7a1d771461048a578063e3458d531461049d57600080fd5b8063644c45e0146103bf57806382678766146103c7578063893d20e8146103da578063946dfcfe146103e2578063a3f4df7e1461041257600080fd5b806331b62a3b1161010a57806331b62a3b1461020a5780633bc5de30146102305780634d459c90146102445780634f4213331461035d5780635ab1bd5314610370578063636450f5146103aa57600080fd5b806301ffc9a7146101475780630d8e6e2c1461018957806315dae03e146101a557806317d7de7c146101ba5780631aa3a008146101ea575b600080fd5b6101746101553660046119f6565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101916104b0565b60405162ffffff9091168152602001610180565b60285b60405160ff9091168152602001610180565b60408051808201909152600b81526a506f6f6c5365727669636560a81b60208201525b6040516101809190611a77565b6101f261053a565b6040516001600160601b039091168152602001610180565b7f00000000000000000000000000000000000000000000000000000000000000006101f2565b6040805160208101909152600081526101dd565b610300610252366004611a9b565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915260008051602061241983398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610180565b61017461036b366004611a9b565b610633565b7f00000000000000000000000000000000000000000000000000000000000000005b6040516001600160a01b039091168152602001610180565b6103bd6103b8366004611bd3565b6106e6565b005b6101f2610915565b6103bd6103d5366004611c09565b61097c565b610392610afe565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed90154604051908152602001610180565b6101dd6040518060400160405280600b81526020016a506f6f6c5365727669636560a81b81525081565b6103bd61044a366004611c8b565b610c59565b610457610db3565b6040516001600160401b039091168152602001610180565b61019161047d366004611d2f565b610dd4565b6101a8610e25565b6103bd610498366004611c8b565b610f02565b6101f26104ab366004611d48565b61100a565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610511573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105359190611df0565b905090565b6000610544610afe565b6001600160a01b0316336001600160a01b0316146105a95760405162461bcd60e51b815260206004820152601760248201527f4552524f523a5247422d3030313a4e4f545f4f574e455200000000000000000060448201526064015b60405180910390fd5b604051632210724360e11b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690634420e486906024016020604051808303816000875af115801561060f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105359190611e1d565b60008060008051602061241983398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af41580156106bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106df9190611e3a565b1192915050565b6000806106f3608c6111d7565b604051634793b4ab60e01b81526001600160601b038716600482015291935091506000906001600160a01b03831690634793b4ab90602401600060405180830381865afa158015610748573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107709190810190611ee5565b80516040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f29190611fb6565b61083e5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a504c532d3031303a42554e444c455f554e4b4e4f574e0000000060448201526064016105a0565b825181516001600160601b039182169116146108a75760405162461bcd60e51b815260206004820152602260248201527f4552524f523a504c532d3031313a42554e444c455f504f4f4c5f4d49534d4154604482015261086960f31b60648201526084016105a0565b60208101849052604051637e8a1e3b60e11b81526001600160a01b0383169063fd143c76906108dc9088908590600401611fd8565b600060405180830381600087803b1580156108f657600080fd5b505af115801561090a573d6000803e3d6000fd5b505050505050505050565b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401602060405180830381865afa15801561060f573d6000803e3d6000fd5b600080610989608c6111d7565b8151604051639ae31ff560e01b81526001600160601b03909116600482015291935091506000906001600160a01b03831690639ae31ff590602401602060405180830381865afa1580156109e1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a059190611e1d565b60405163f2b246c360e01b81526001600160601b03821660048201529091506000906001600160a01b0384169063f2b246c3906024016101e060405180830381865afa158015610a59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7d9190612092565b60a0810188905260c0810187905260e081018690526040516306a5298b60e01b81529091506001600160a01b038416906306a5298b90610ac39085908590600401612151565b600060405180830381600087803b158015610add57600080fd5b505af1158015610af1573d6000803e3d6000fd5b5050505050505050505050565b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa158015610b67573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b8b9190611e1d565b90506001600160601b038116610bc2577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa158015610c2f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c539190612238565b91505090565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610c7b6104b0565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610cbb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cdf9190612255565b6000805160206123f98339815191528054600160401b900460ff1680610d12575080546001600160401b03808416911610155b15610d305760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610d5b85856114f7565b610d6483611732565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006105356000805160206123f9833981519152546001600160401b031690565b60006000805160206124198339815191526001018281548110610df957610df961227e565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000306001600160a01b0316630d8e6e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e899190611df0565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015610ede573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061053591906122a3565b6000805160206123f98339815191528054600160401b810460ff1615906001600160401b0316600081158015610f355750825b90506000826001600160401b03166001148015610f515750303b155b905081158015610f5f575080155b15610f7d5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610fa757845460ff60401b1916600160401b1785555b610fb188886114f7565b610fba8661173a565b831561100057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b60008080611018608c6111d7565b815191935091507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316635ef14b5e8260dc6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526001600160a01b038d166044820152608060648201526000608482015260a4016020604051808303816000875af11580156110bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e09190611e1d565b6040516346aea9b760e11b81529094506001600160a01b03831690638d5d536e9061111b90879085908e908e908e908e908e906004016122c0565b600060405180830381600087803b15801561113557600080fd5b505af1158015611149573d6000803e3d6000fd5b5050604051639845743760e01b81526001600160601b03808816600483015284166024820152604481018b90526001600160a01b038516925063984574379150606401600060405180830381600087803b1580156111a657600080fd5b505af11580156111ba573d6000803e3d6000fd5b505050506111ca8282868b611745565b5050509695505050505050565b6040805160c08101825260008082526020820181905281830181905260608083018290526080830182905260a08301529151636939560f60e11b815233600482015290919081907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401602060405180830381865afa15801561126f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112939190611e1d565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156112ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113129190611fb6565b61135e5760405162461bcd60e51b815260206004820152601760248201527f4552524f525f434f4d504f4e454e545f554e4b4e4f574e00000000000000000060448201526064016105a0565b6040516305247a1760e51b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063a48f42e090602401600060405180830381865afa1580156113cb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113f39190810190612331565b925061140983604001518560ff90811691161490565b61144b5760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b60448201526064016105a0565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063a48f42e090602401600060405180830381865afa1580156114c1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526114e99190810190612331565b606001519395939450505050565b6114ff6119bd565b600080516020612419833981519152600061152f6000805160206123f9833981519152546001600160401b031690565b9050600061153b6104b0565b9050816001600160401b03166001036115685760028301805462ffffff191662ffffff83161790556115b6565b600283015462ffffff908116908216116115b65760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b60448201526064016105a0565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b0380891692840192909252908616908201526060810161162a4290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890610da49083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101426119bd565b6117426119bd565b50565b80156119b757604051639ae31ff560e01b81526001600160601b03841660048201526000906001600160a01b03861690639ae31ff590602401602060405180830381865afa15801561179b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117bf9190611e1d565b60405163a310e2a360e01b81526001600160601b03821660048201529091506000906001600160a01b0387169063a310e2a390602401602060405180830381865afa158015611812573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118369190612238565b60405163df33330b60e01b81526001600160601b03861660048201529091506000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063df33330b90602401602060405180830381865afa1580156118a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118cd9190612238565b604051630d48c43b60e11b81526001600160601b03881660048201529091506000906001600160a01b03891690631a91887690602401602060405180830381865afa158015611920573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119449190612238565b6040516317d5759960e31b81526001600160a01b0384811660048301528083166024830152604482018890529192509084169063beabacc890606401600060405180830381600087803b15801561199a57600080fd5b505af11580156119ae573d6000803e3d6000fd5b50505050505050505b50505050565b6000805160206123f983398151915254600160401b900460ff166119f457604051631afcd79f60e31b815260040160405180910390fd5b565b600060208284031215611a0857600080fd5b81356001600160e01b031981168114611a2057600080fd5b9392505050565b60005b83811015611a42578181015183820152602001611a2a565b50506000910152565b60008151808452611a63816020860160208601611a27565b601f01601f19169290920160200192915050565b602081526000611a206020830184611a4b565b62ffffff8116811461174257600080fd5b600060208284031215611aad57600080fd5b8135611a2081611a8a565b6001600160601b038116811461174257600080fd5b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715611b0557611b05611acd565b60405290565b60405161010081016001600160401b0381118282101715611b0557611b05611acd565b60405161012081016001600160401b0381118282101715611b0557611b05611acd565b60405160c081016001600160401b0381118282101715611b0557611b05611acd565b604051601f8201601f191681016001600160401b0381118282101715611b9b57611b9b611acd565b604052919050565b600060408284031215611bb557600080fd5b611bbd611ae3565b9050813581526020820135602082015292915050565b60008060608385031215611be657600080fd5b8235611bf181611ab8565b9150611c008460208501611ba3565b90509250929050565b600080600060c08486031215611c1e57600080fd5b611c288585611ba3565b9250611c378560408601611ba3565b9150611c468560808601611ba3565b90509250925092565b6001600160a01b038116811461174257600080fd5b60006001600160401b03821115611c7d57611c7d611acd565b50601f01601f191660200190565b600080600060608486031215611ca057600080fd5b8335611cab81611c4f565b92506020840135611cbb81611c4f565b915060408401356001600160401b03811115611cd657600080fd5b8401601f81018613611ce757600080fd5b8035611cfa611cf582611c64565b611b73565b818152876020838501011115611d0f57600080fd5b816020840160208301376000602083830101528093505050509250925092565b600060208284031215611d4157600080fd5b5035919050565b60008060008060008060c08789031215611d6157600080fd5b8635611d6c81611c4f565b9550611d7b8860208901611ba3565b9450606087013593506080870135925060a08701356001600160401b0380821115611da557600080fd5b818901915089601f830112611db957600080fd5b813581811115611dc857600080fd5b8a6020828501011115611dda57600080fd5b6020830194508093505050509295509295509295565b600060208284031215611e0257600080fd5b8151611a2081611a8a565b8051611e1881611ab8565b919050565b600060208284031215611e2f57600080fd5b8151611a2081611ab8565b600060208284031215611e4c57600080fd5b5051919050565b600060408284031215611e6557600080fd5b611e6d611ae3565b9050815181526020820151602082015292915050565b600082601f830112611e9457600080fd5b8151611ea2611cf582611c64565b818152846020838601011115611eb757600080fd5b611ec8826020830160208701611a27565b949350505050565b805164ffffffffff81168114611e1857600080fd5b600060208284031215611ef757600080fd5b81516001600160401b0380821115611f0e57600080fd5b908301906101208286031215611f2357600080fd5b611f2b611b0b565b611f3483611e0d565b8152611f438660208501611e53565b6020820152606083015182811115611f5a57600080fd5b611f6687828601611e83565b6040830152506080830151606082015260a0830151608082015260c083015160a0820152611f9660e08401611ed0565b60c0820152611fa86101008401611ed0565b60e082015295945050505050565b600060208284031215611fc857600080fd5b81518015158114611a2057600080fd5b60006001600160601b03808516835260406020840152808451166040840152506020830151612014606084018280518252602090810151910152565b5060408301516101208060a0850152612031610160850183611a4b565b9150606085015160c0850152608085015160e085015260a085015161010085015260c08501516120698286018264ffffffffff169052565b505060e084015164ffffffffff811661014085015250949350505050565b8051611e1881611c4f565b60006101e082840312156120a557600080fd5b6120ad611b2e565b6120b683611e0d565b81526120c460208401611e0d565b60208201526120d560408401612087565b60408201526120e78460608501611e53565b60608201526120f98460a08501611e53565b608082015261210b8460e08501611e53565b60a082015261211e846101208501611e53565b60c0820152612131846101608501611e53565b60e0820152612144846101a08501611e53565b6101008201529392505050565b6001600160601b03838116825282511660208083019190915282015161020082019061218860408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a08301516101006121ea8185018380518252602090810151910152565b60c0850151805161014086015260209081015161016086015260e086015180516101808701528101516101a086015294015180516101c0850152909301516101e09092019190915292915050565b60006020828403121561224a57600080fd5b8151611a2081611c4f565b60006020828403121561226757600080fd5b81516001600160401b0381168114611a2057600080fd5b634e487b7160e01b600052603260045260246000fd5b60ff8116811461174257600080fd5b6000602082840312156122b557600080fd5b8151611a2081612294565b6001600160601b0388811682528716602082015260006122ed604083018880518252602090810151910152565b8560808301528460a083015260e060c08301528260e08301526101008385828501376000838501820152601f909301601f1916909101909101979650505050505050565b60006020828403121561234357600080fd5b81516001600160401b038082111561235a57600080fd5b9083019060c0828603121561236e57600080fd5b612376611b51565b825161238181611ab8565b8152602083015161239181611ab8565b602082015260408301516123a481612294565b60408201526123b560608401612087565b60608201526123c660808401612087565b608082015260a0830151828111156123dd57600080fd5b6123e987828601611e83565b60a0830152509594505050505056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212203e0a3c1112a58b6d89feaf55a4908c6f2381dad104149a8a5e7047c30ac7766c64736f6c63430008140033",
531
+ "linkReferences": {
532
+ "contracts/types/Blocknumber.sol": {
533
+ "BlocknumberLib": [
534
+ {
535
+ "length": 20,
536
+ "start": 2915
537
+ }
538
+ ]
539
+ },
540
+ "contracts/types/NftId.sol": {
541
+ "NftIdLib": [
542
+ {
543
+ "length": 20,
544
+ "start": 3190
545
+ },
546
+ {
547
+ "length": 20,
548
+ "start": 6038
549
+ }
550
+ ]
551
+ },
552
+ "contracts/types/Version.sol": {
553
+ "VersionLib": [
554
+ {
555
+ "length": 20,
556
+ "start": 2489
557
+ },
558
+ {
559
+ "length": 20,
560
+ "start": 4413
561
+ },
562
+ {
563
+ "length": 20,
564
+ "start": 4998
565
+ }
566
+ ]
567
+ }
568
+ },
569
+ "deployedLinkReferences": {
570
+ "contracts/types/Blocknumber.sol": {
571
+ "BlocknumberLib": [
572
+ {
573
+ "length": 20,
574
+ "start": 1665
575
+ }
576
+ ]
577
+ },
578
+ "contracts/types/NftId.sol": {
579
+ "NftIdLib": [
580
+ {
581
+ "length": 20,
582
+ "start": 1940
583
+ },
584
+ {
585
+ "length": 20,
586
+ "start": 4788
587
+ }
588
+ ]
589
+ },
590
+ "contracts/types/Version.sol": {
591
+ "VersionLib": [
592
+ {
593
+ "length": 20,
594
+ "start": 1239
595
+ },
596
+ {
597
+ "length": 20,
598
+ "start": 3163
599
+ },
600
+ {
601
+ "length": 20,
602
+ "start": 3748
603
+ }
604
+ ]
605
+ }
606
+ }
607
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../../build-info/89d1eb51c558e1dff7ca3b1fd1361abb.json"
4
+ }