@etherisc/gif-next 0.0.2-f619be3-760 → 0.0.2-f752d2a-551

Sign up to get free protection for your applications and to get access to all the features.
Files changed (336) hide show
  1. package/README.md +81 -14
  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} +26 -57
  4. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +4 -0
  5. package/artifacts/contracts/{instance/component/IComponent.sol/IComponentContract.json → components/IBaseComponent.sol/IBaseComponent.json} +26 -57
  6. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  7. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +356 -0
  8. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/{IPool.sol/IPoolComponent.json → IProductComponent.sol/IProductComponent.json} +89 -65
  10. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  11. package/artifacts/contracts/components/Pool.sol/Pool.json +134 -75
  12. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  13. package/artifacts/contracts/components/Product.sol/Product.json +72 -113
  14. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  15. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  16. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  17. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  18. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  19. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  20. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  21. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  22. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  23. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  24. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +2 -2
  26. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
  28. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
  29. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +2 -2
  30. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
  31. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +2 -2
  32. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  33. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  34. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  35. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +719 -332
  36. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +4 -0
  37. package/artifacts/contracts/instance/{component/IComponent.sol → IInstanceLinked.sol}/IInstanceLinked.json +1 -1
  38. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  39. package/artifacts/contracts/instance/Instance.sol/Instance.json +998 -527
  40. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +4 -0
  41. package/artifacts/contracts/instance/{component/ComponentModule.sol/ComponentModule.json → base/ComponentServiceBase.sol/ComponentServiceBase.json} +133 -132
  42. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +4 -0
  43. package/artifacts/contracts/instance/{product/ProductService.sol/ProductModule.json → base/IInstanceBase.sol/IInstanceBase.json} +18 -30
  44. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  45. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +511 -0
  46. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  47. package/artifacts/contracts/instance/{lifecycle/ILifecycle.sol/ILifecycleModule.json → base/ILifecycle.sol/ILifecycle.json} +10 -77
  48. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +4 -0
  49. package/artifacts/contracts/instance/base/IService.sol/IService.json +300 -0
  50. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +4 -0
  51. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.json +326 -0
  52. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  53. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +692 -0
  54. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  55. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +169 -0
  56. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +4 -0
  57. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.json +10 -0
  58. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +4 -0
  59. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +300 -0
  60. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +4 -0
  61. package/artifacts/contracts/instance/{access → module/access}/Access.sol/AccessModule.json +85 -152
  62. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +4 -0
  63. package/artifacts/contracts/instance/{access → module/access}/IAccess.sol/IAccess.json +1 -1
  64. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +4 -0
  65. package/artifacts/contracts/instance/{access → module/access}/IAccess.sol/IAccessModule.json +96 -99
  66. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +4 -0
  67. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +296 -0
  68. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +4 -0
  69. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.json +10 -0
  70. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +4 -0
  71. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +296 -0
  72. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +4 -0
  73. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +10 -0
  74. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +4 -0
  75. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.json +10 -0
  76. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +4 -0
  77. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.json +10 -0
  78. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +4 -0
  79. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +188 -0
  80. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +4 -0
  81. package/artifacts/contracts/instance/{component → module/component}/IComponent.sol/IComponent.json +1 -1
  82. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +4 -0
  83. package/artifacts/contracts/instance/{component → module/component}/IComponent.sol/IComponentModule.json +33 -62
  84. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +4 -0
  85. package/artifacts/contracts/instance/{policy → module/policy}/IPolicy.sol/IPolicy.json +1 -1
  86. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +4 -0
  87. package/artifacts/contracts/instance/{policy → module/policy}/IPolicy.sol/IPolicyModule.json +132 -125
  88. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +4 -0
  89. package/artifacts/contracts/instance/{policy → module/policy}/PolicyModule.sol/PolicyModule.json +132 -125
  90. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +4 -0
  91. package/artifacts/contracts/instance/{pool → module/pool}/IPoolModule.sol/IPool.json +1 -1
  92. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +4 -0
  93. package/artifacts/contracts/instance/{pool → module/pool}/IPoolModule.sol/IPoolModule.json +67 -47
  94. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +4 -0
  95. package/artifacts/contracts/instance/{pool → module/pool}/PoolModule.sol/PoolModule.json +51 -57
  96. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +4 -0
  97. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.json +10 -0
  98. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +4 -0
  99. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +10 -0
  100. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +4 -0
  101. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +10 -0
  102. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +4 -0
  103. package/artifacts/contracts/instance/{treasury → module/treasury}/ITreasury.sol/ITreasury.json +1 -1
  104. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +4 -0
  105. package/artifacts/contracts/instance/{treasury → module/treasury}/ITreasury.sol/ITreasuryModule.json +100 -57
  106. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  107. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +76 -0
  108. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +4 -0
  109. package/artifacts/contracts/instance/{treasury → module/treasury}/TreasuryModule.sol/TreasuryModule.json +100 -57
  110. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +4 -0
  111. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +523 -0
  112. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +4 -0
  113. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +364 -0
  114. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
  115. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +376 -0
  116. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
  117. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +477 -0
  118. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  119. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +471 -0
  120. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  121. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +673 -0
  122. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  123. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +65 -2
  124. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +1 -1
  125. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  126. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +147 -30
  127. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  128. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +24 -0
  129. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  130. package/artifacts/contracts/registry/Registry.sol/Registry.json +241 -25
  131. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +4 -0
  132. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +35 -0
  133. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +4 -0
  134. package/artifacts/contracts/{registry/IRegistry.sol → shared/IOwnable.sol}/IOwnable.json +1 -1
  135. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +4 -0
  136. package/artifacts/contracts/{registry/IRegistry.sol → shared/IRegisterable.sol}/IRegisterable.json +16 -61
  137. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +4 -0
  138. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +164 -0
  139. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +4 -0
  140. package/artifacts/contracts/{registry/Registry.sol → shared/Registerable.sol}/Registerable.json +16 -61
  141. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +4 -0
  142. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +164 -0
  143. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +4 -0
  144. package/artifacts/contracts/test/TestFee.sol/TestFee.json +119 -0
  145. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +4 -0
  146. package/artifacts/contracts/test/TestPool.sol/TestPool.json +387 -0
  147. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +4 -0
  148. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +393 -0
  149. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +4 -0
  150. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +137 -0
  151. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +4 -0
  152. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +116 -0
  153. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +4 -0
  154. package/artifacts/contracts/test/TestService.sol/TestService.json +379 -0
  155. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +4 -0
  156. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +338 -0
  157. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +4 -0
  158. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +218 -0
  159. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +4 -0
  160. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +206 -0
  161. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +4 -0
  162. package/artifacts/contracts/{mock → test}/Usdc.sol/USDC.json +3 -3
  163. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  164. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +10 -0
  165. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  166. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  167. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +4 -0
  168. package/artifacts/contracts/types/Fee.sol/FeeLib.json +218 -0
  169. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +4 -0
  170. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +111 -0
  171. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  172. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +65 -4
  173. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  174. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +10 -0
  175. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  176. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  177. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +4 -0
  178. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +30 -0
  179. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  180. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  181. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  182. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +64 -2
  183. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +1 -1
  184. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +58 -58
  185. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +4 -0
  186. package/artifacts/contracts/types/Version.sol/VersionLib.json +139 -0
  187. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +4 -0
  188. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +30 -0
  189. package/contracts/components/BaseComponent.sol +88 -0
  190. package/contracts/components/IBaseComponent.sol +19 -0
  191. package/contracts/components/IPoolComponent.sol +57 -0
  192. package/contracts/components/{IProduct.sol → IProductComponent.sol} +9 -6
  193. package/contracts/components/Pool.sol +140 -18
  194. package/contracts/components/Product.sol +53 -25
  195. package/contracts/instance/IInstance.sol +38 -11
  196. package/contracts/instance/IInstanceLinked.sol +8 -0
  197. package/contracts/instance/Instance.sol +44 -48
  198. package/contracts/instance/base/ComponentServiceBase.sol +42 -0
  199. package/contracts/instance/base/IInstanceBase.sol +14 -0
  200. package/contracts/instance/base/IKeyValueStore.sol +49 -0
  201. package/contracts/instance/{lifecycle → base}/ILifecycle.sol +4 -21
  202. package/contracts/instance/base/IService.sol +15 -0
  203. package/contracts/instance/base/InstanceBase.sol +80 -0
  204. package/contracts/instance/base/KeyValueStore.sol +156 -0
  205. package/contracts/instance/{lifecycle/LifecycleModule.sol → base/Lifecycle.sol} +36 -29
  206. package/contracts/instance/base/ModuleBase.sol +52 -0
  207. package/contracts/instance/base/ServiceBase.sol +37 -0
  208. package/contracts/instance/module/access/Access.sol +149 -0
  209. package/contracts/instance/module/access/IAccess.sol +53 -0
  210. package/contracts/instance/module/bundle/BundleModule.sol +136 -0
  211. package/contracts/instance/module/bundle/IBundle.sol +58 -0
  212. package/contracts/instance/module/compensation/CompensationModule.sol +8 -0
  213. package/contracts/instance/module/compensation/ICompensation.sol +10 -0
  214. package/contracts/instance/module/component/ComponentModule.sol +95 -0
  215. package/contracts/instance/module/component/IComponent.sol +53 -0
  216. package/contracts/instance/module/policy/IPolicy.sol +60 -0
  217. package/contracts/instance/module/policy/PolicyModule.sol +76 -0
  218. package/contracts/instance/module/pool/IPoolModule.sol +41 -0
  219. package/contracts/instance/module/pool/PoolModule.sol +87 -0
  220. package/contracts/instance/module/risk/IRisk.sol +10 -0
  221. package/contracts/instance/module/risk/RiskModule.sol +8 -0
  222. package/contracts/instance/{treasury → module/treasury}/ITreasury.sol +27 -15
  223. package/contracts/instance/module/treasury/TokenHandler.sol +48 -0
  224. package/contracts/instance/{treasury → module/treasury}/TreasuryModule.sol +43 -59
  225. package/contracts/instance/service/ComponentOwnerService.sol +170 -0
  226. package/contracts/instance/service/IComponentOwnerService.sol +22 -0
  227. package/contracts/instance/service/IPoolService.sol +30 -0
  228. package/contracts/instance/service/IProductService.sol +58 -0
  229. package/contracts/instance/service/PoolService.sol +123 -0
  230. package/contracts/instance/service/ProductService.sol +354 -0
  231. package/contracts/registry/ChainNft.sol +61 -37
  232. package/contracts/registry/IRegistry.sol +24 -34
  233. package/contracts/registry/IRegistryLinked.sol +8 -0
  234. package/contracts/registry/Registry.sol +284 -85
  235. package/contracts/shared/ERC165.sol +21 -0
  236. package/contracts/shared/IOwnable.sol +6 -0
  237. package/contracts/shared/IRegisterable.sol +24 -0
  238. package/contracts/shared/IVersionable.sol +52 -0
  239. package/contracts/shared/Registerable.sol +86 -0
  240. package/contracts/shared/Versionable.sol +89 -0
  241. package/contracts/test/TestFee.sol +25 -0
  242. package/contracts/test/TestPool.sol +22 -0
  243. package/contracts/test/TestProduct.sol +44 -0
  244. package/contracts/test/TestRegisterable.sol +19 -0
  245. package/contracts/test/TestRoleId.sol +14 -0
  246. package/contracts/test/TestService.sol +32 -0
  247. package/contracts/{mock/Dip.sol → test/TestToken.sol} +5 -5
  248. package/contracts/test/TestVersion.sol +44 -0
  249. package/contracts/test/TestVersionable.sol +17 -0
  250. package/contracts/{mock → test}/Usdc.sol +1 -1
  251. package/contracts/types/AddressSet.sol +58 -0
  252. package/contracts/types/Fee.sol +39 -20
  253. package/contracts/types/Key32.sol +45 -0
  254. package/contracts/types/NftId.sol +22 -1
  255. package/contracts/types/NftIdSet.sol +60 -0
  256. package/contracts/types/ObjectType.sol +22 -14
  257. package/contracts/types/RoleId.sol +38 -0
  258. package/contracts/types/StateId.sol +13 -3
  259. package/contracts/types/Timestamp.sol +22 -1
  260. package/contracts/types/UFixed.sol +12 -13
  261. package/contracts/types/Version.sol +95 -0
  262. package/package.json +8 -3
  263. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  264. package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +0 -4
  265. package/artifacts/contracts/components/Component.sol/InstanceLinked.json +0 -35
  266. package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +0 -4
  267. package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +0 -4
  268. package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +0 -74
  269. package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +0 -4
  270. package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +0 -4
  271. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +0 -4
  272. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.json +0 -35
  273. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +0 -4
  274. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.json +0 -50
  275. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  276. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  277. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +0 -4
  278. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +0 -202
  279. package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +0 -4
  280. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +0 -4
  281. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  282. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +0 -4
  283. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +0 -141
  284. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +0 -4
  285. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  286. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.json +0 -134
  287. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycleModule.dbg.json +0 -4
  288. package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.dbg.json +0 -4
  289. package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.json +0 -221
  290. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  291. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  292. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  293. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  294. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  295. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  296. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +0 -4
  297. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.json +0 -75
  298. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +0 -4
  299. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.json +0 -127
  300. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +0 -4
  301. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +0 -4
  302. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +0 -196
  303. package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  304. package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  305. package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  306. package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.json +0 -45
  307. package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  308. package/artifacts/contracts/mock/Dip.sol/DIP.dbg.json +0 -4
  309. package/artifacts/contracts/mock/Dip.sol/DIP.json +0 -338
  310. package/artifacts/contracts/mock/TestPool.sol/TestPool.dbg.json +0 -4
  311. package/artifacts/contracts/mock/TestPool.sol/TestPool.json +0 -294
  312. package/artifacts/contracts/mock/TestProduct.sol/TestProduct.dbg.json +0 -4
  313. package/artifacts/contracts/mock/TestProduct.sol/TestProduct.json +0 -384
  314. package/artifacts/contracts/mock/Usdc.sol/USDC.dbg.json +0 -4
  315. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +0 -4
  316. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +0 -4
  317. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +0 -4
  318. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.json +0 -49
  319. package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +0 -4
  320. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +0 -4
  321. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +0 -60
  322. package/contracts/components/Component.sol +0 -77
  323. package/contracts/components/IPool.sol +0 -15
  324. package/contracts/instance/access/Access.sol +0 -165
  325. package/contracts/instance/access/IAccess.sol +0 -63
  326. package/contracts/instance/component/ComponentModule.sol +0 -274
  327. package/contracts/instance/component/IComponent.sol +0 -74
  328. package/contracts/instance/policy/IPolicy.sol +0 -50
  329. package/contracts/instance/policy/PolicyModule.sol +0 -114
  330. package/contracts/instance/pool/IPoolModule.sol +0 -23
  331. package/contracts/instance/pool/PoolModule.sol +0 -81
  332. package/contracts/instance/product/IProductService.sol +0 -36
  333. package/contracts/instance/product/ProductService.sol +0 -136
  334. package/contracts/instance/treasury/TokenHandler.sol +0 -24
  335. package/contracts/mock/TestPool.sol +0 -16
  336. package/contracts/mock/TestProduct.sol +0 -39
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/371956c35f778b248bb1774ada1ed516.json"
3
+ "buildInfo": "../../../build-info/ac8b1a0ba35c3a8a508882d70043ad3f.json"
4
4
  }
@@ -89,6 +89,19 @@
89
89
  "name": "Transfer",
90
90
  "type": "event"
91
91
  },
92
+ {
93
+ "inputs": [],
94
+ "name": "GLOBAL_REGISTRY_ID",
95
+ "outputs": [
96
+ {
97
+ "internalType": "uint256",
98
+ "name": "",
99
+ "type": "uint256"
100
+ }
101
+ ],
102
+ "stateMutability": "view",
103
+ "type": "function"
104
+ },
92
105
  {
93
106
  "inputs": [],
94
107
  "name": "NAME",
@@ -102,6 +115,19 @@
102
115
  "stateMutability": "view",
103
116
  "type": "function"
104
117
  },
118
+ {
119
+ "inputs": [],
120
+ "name": "PROTOCOL_NFT_ID",
121
+ "outputs": [
122
+ {
123
+ "internalType": "uint256",
124
+ "name": "",
125
+ "type": "uint256"
126
+ }
127
+ ],
128
+ "stateMutability": "view",
129
+ "type": "function"
130
+ },
105
131
  {
106
132
  "inputs": [],
107
133
  "name": "SYMBOL",
@@ -165,6 +191,25 @@
165
191
  "stateMutability": "nonpayable",
166
192
  "type": "function"
167
193
  },
194
+ {
195
+ "inputs": [
196
+ {
197
+ "internalType": "uint256",
198
+ "name": "idIndex",
199
+ "type": "uint256"
200
+ }
201
+ ],
202
+ "name": "calculateTokenId",
203
+ "outputs": [
204
+ {
205
+ "internalType": "uint256",
206
+ "name": "id",
207
+ "type": "uint256"
208
+ }
209
+ ],
210
+ "stateMutability": "view",
211
+ "type": "function"
212
+ },
168
213
  {
169
214
  "inputs": [
170
215
  {
@@ -240,6 +285,24 @@
240
285
  "stateMutability": "view",
241
286
  "type": "function"
242
287
  },
288
+ {
289
+ "inputs": [
290
+ {
291
+ "internalType": "address",
292
+ "name": "to",
293
+ "type": "address"
294
+ },
295
+ {
296
+ "internalType": "uint256",
297
+ "name": "tokenId",
298
+ "type": "uint256"
299
+ }
300
+ ],
301
+ "name": "mint",
302
+ "outputs": [],
303
+ "stateMutability": "nonpayable",
304
+ "type": "function"
305
+ },
243
306
  {
244
307
  "inputs": [
245
308
  {
@@ -527,8 +590,8 @@
527
590
  "type": "function"
528
591
  }
529
592
  ],
530
- "bytecode": "0x60806040523480156200001157600080fd5b506040516200214938038062002149833981016040819052620000349162000187565b60405180606001604052806029815260200162002120602991396040805180820190915260048152632224a82960e11b602082015260006200007783826200025e565b5060016200008682826200025e565b5050506001600160a01b038116620000e45760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4e46542d3031303a52454749535452595f5a45524f0000000000604482015260640160405180910390fd5b600b80546001600160a01b0319166001600160a01b03831617905546600c819055620001109062000153565b600d8190556200012290600a6200043f565b600e556001461480620001355750466005145b1562000146576001600f556200014c565b6002600f555b506200048c565b60005b811562000182578062000169816200044d565b91506200017a9050600a8362000469565b915062000156565b919050565b6000602082840312156200019a57600080fd5b81516001600160a01b0381168114620001b257600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620001e457607f821691505b6020821081036200020557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200025957600081815260208120601f850160051c81016020861015620002345750805b601f850160051c820191505b81811015620002555782815560010162000240565b5050505b505050565b81516001600160401b038111156200027a576200027a620001b9565b62000292816200028b8454620001cf565b846200020b565b602080601f831160018114620002ca5760008415620002b15750858301515b600019600386901b1c1916600185901b17855562000255565b600085815260208120601f198616915b82811015620002fb57888601518255948401946001909101908401620002da565b50858210156200031a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620003815781600019048211156200036557620003656200032a565b808516156200037357918102915b93841c939080029062000345565b509250929050565b6000826200039a5750600162000439565b81620003a95750600062000439565b8160018114620003c25760028114620003cd57620003ed565b600191505062000439565b60ff841115620003e157620003e16200032a565b50506001821b62000439565b5060208310610133831016604e8410600b841016171562000412575081810a62000439565b6200041e838362000340565b80600019048211156200043557620004356200032a565b0290505b92915050565b6000620001b2838362000389565b6000600182016200046257620004626200032a565b5060010190565b6000826200048757634e487b7160e01b600052601260045260246000fd5b500490565b611c84806200049c6000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c806370a08231116100c3578063b88d4fde1161007c578063b88d4fde146102c2578063c87b56dd146102d5578063d0def521146102e8578063e985e9c5146102fb578063f21de1e814610337578063f76f8d781461034857600080fd5b806370a0823114610271578063862440e21461028457806395d89b4114610297578063a22cb4651461029f578063a2309ff8146102b2578063a3f4df7e146102ba57600080fd5b80632f745c59116101155780632f745c59146101ff57806342842e0e1461021257806342966c68146102255780634f558e79146102385780634f6ccce71461024b5780636352211e1461025e57600080fd5b806301ffc9a71461015d57806306fdde0314610185578063081812fc1461019a578063095ea7b3146101c557806318160ddd146101da57806323b872dd146101ec575b600080fd5b61017061016b36600461157d565b61036b565b60405190151581526020015b60405180910390f35b61018d610396565b60405161017c91906115e7565b6101ad6101a83660046115fa565b610428565b6040516001600160a01b03909116815260200161017c565b6101d86101d336600461162f565b61044f565b005b6008545b60405190815260200161017c565b6101d86101fa366004611659565b610569565b6101de61020d36600461162f565b61059a565b6101d8610220366004611659565b610630565b6101d86102333660046115fa565b61064b565b6101706102463660046115fa565b6106a1565b6101de6102593660046115fa565b6106c0565b6101ad61026c3660046115fa565b610753565b6101de61027f366004611695565b6107b3565b6101d861029236600461175c565b610839565b61018d6108d5565b6101d86102ad3660046117a3565b6108e4565b6010546101de565b61018d6108f3565b6101d86102d03660046117df565b61090f565b61018d6102e33660046115fa565b610947565b6101de6102f636600461185b565b6109f0565b610170610309366004611893565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600b546001600160a01b03166101ad565b61018d604051806040016040528060048152602001632224a82960e11b81525081565b60006001600160e01b0319821663780e9d6360e01b1480610390575061039082610a6c565b92915050565b6060600080546103a5906118c6565b80601f01602080910402602001604051908101604052809291908181526020018280546103d1906118c6565b801561041e5780601f106103f35761010080835404028352916020019161041e565b820191906000526020600020905b81548152906001019060200180831161040157829003601f168201915b5050505050905090565b600061043382610abc565b506000908152600460205260409020546001600160a01b031690565b600061045a82610753565b9050806001600160a01b0316836001600160a01b0316036104cc5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806104e857506104e88133610309565b61055a5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016104c3565b6105648383610b1b565b505050565b6105733382610b89565b61058f5760405162461bcd60e51b81526004016104c390611900565b610564838383610c08565b60006105a5836107b3565b82106106075760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016104c3565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6105648383836040518060200160405280600081525061090f565b600b546001600160a01b031633146106755760405162461bcd60e51b81526004016104c39061194d565b61067e81610abc565b61068781610d79565b6000818152600a6020526040812061069e91611519565b50565b6000818152600260205260408120546001600160a01b03161515610390565b60006106cb60085490565b821061072e5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016104c3565b600882815481106107415761074161198e565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806103905760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016104c3565b60006001600160a01b03821661081d5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016104c3565b506001600160a01b031660009081526003602052604090205490565b600b546001600160a01b031633146108635760405162461bcd60e51b81526004016104c39061194d565b60008151116108b45760405162461bcd60e51b815260206004820152601760248201527f4552524f523a4352472d3031313a5552495f454d50545900000000000000000060448201526064016104c3565b6108bd82610abc565b6000828152600a6020526040902061056482826119f2565b6060600180546103a5906118c6565b6108ef338383610e1c565b5050565b604051806060016040528060298152602001611c266029913981565b6109193383610b89565b6109355760405162461bcd60e51b81526004016104c390611900565b61094184848484610eea565b50505050565b606061095282610abc565b6000828152600a60205260409020805461096b906118c6565b80601f0160208091040260200160405190810160405280929190818152602001828054610997906118c6565b80156109e45780601f106109b9576101008083540402835291602001916109e4565b820191906000526020600020905b8154815290600101906020018083116109c757829003601f168201915b50505050509050919050565b600b546000906001600160a01b03163314610a1d5760405162461bcd60e51b81526004016104c39061194d565b610a25610f1d565b601080549192506000610a3783611ac8565b9190505550610a468382610f6e565b815115610390576000818152600a60205260409020610a6583826119f2565b5092915050565b60006001600160e01b031982166380ac58cd60e01b1480610a9d57506001600160e01b03198216635b5e139f60e01b145b8061039057506301ffc9a760e01b6001600160e01b0319831614610390565b6000818152600260205260409020546001600160a01b031661069e5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016104c3565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610b5082610753565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080610b9583610753565b9050806001600160a01b0316846001600160a01b03161480610bdc57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80610c005750836001600160a01b0316610bf584610428565b6001600160a01b0316145b949350505050565b826001600160a01b0316610c1b82610753565b6001600160a01b031614610c415760405162461bcd60e51b81526004016104c390611ae1565b6001600160a01b038216610ca35760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016104c3565b610cb08383836001610f88565b826001600160a01b0316610cc382610753565b6001600160a01b031614610ce95760405162461bcd60e51b81526004016104c390611ae1565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000610d8482610753565b9050610d94816000846001610f88565b610d9d82610753565b600083815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0385168085526003845282852080546000190190558785526002909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b816001600160a01b0316836001600160a01b031603610e7d5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016104c3565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b610ef5848484610c08565b610f01848484846110bc565b6109415760405162461bcd60e51b81526004016104c390611b26565b6000600d54600c54600e54600f54610f359190611b78565b610f3f9190611b8f565b610f4a906064611b78565b610f549190611b8f565b600f80549192506000610f6683611ac8565b919050555090565b6108ef8282604051806020016040528060008152506111bd565b6001811115610ff75760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b60648201526084016104c3565b816001600160a01b0385166110535761104e81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611076565b836001600160a01b0316856001600160a01b0316146110765761107685826111f0565b6001600160a01b0384166110925761108d8161128d565b6110b5565b846001600160a01b0316846001600160a01b0316146110b5576110b5848261133c565b5050505050565b60006001600160a01b0384163b156111b257604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611100903390899088908890600401611ba2565b6020604051808303816000875af192505050801561113b575060408051601f3d908101601f1916820190925261113891810190611bdf565b60015b611198573d808015611169576040519150601f19603f3d011682016040523d82523d6000602084013e61116e565b606091505b5080516000036111905760405162461bcd60e51b81526004016104c390611b26565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610c00565b506001949350505050565b6111c78383611380565b6111d460008484846110bc565b6105645760405162461bcd60e51b81526004016104c390611b26565b600060016111fd846107b3565b6112079190611bfc565b60008381526007602052604090205490915080821461125a576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061129f90600190611bfc565b600083815260096020526040812054600880549394509092849081106112c7576112c761198e565b9060005260206000200154905080600883815481106112e8576112e861198e565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061132057611320611c0f565b6001900381819060005260206000200160009055905550505050565b6000611347836107b3565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166113d65760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016104c3565b6000818152600260205260409020546001600160a01b03161561143b5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016104c3565b611449600083836001610f88565b6000818152600260205260409020546001600160a01b0316156114ae5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016104c3565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b508054611525906118c6565b6000825580601f10611535575050565b601f01602090049060005260206000209081019061069e91905b80821115611563576000815560010161154f565b5090565b6001600160e01b03198116811461069e57600080fd5b60006020828403121561158f57600080fd5b813561159a81611567565b9392505050565b6000815180845260005b818110156115c7576020818501810151868301820152016115ab565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600061159a60208301846115a1565b60006020828403121561160c57600080fd5b5035919050565b80356001600160a01b038116811461162a57600080fd5b919050565b6000806040838503121561164257600080fd5b61164b83611613565b946020939093013593505050565b60008060006060848603121561166e57600080fd5b61167784611613565b925061168560208501611613565b9150604084013590509250925092565b6000602082840312156116a757600080fd5b61159a82611613565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156116e1576116e16116b0565b604051601f8501601f19908116603f01168101908282118183101715611709576117096116b0565b8160405280935085815286868601111561172257600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261174d57600080fd5b61159a838335602085016116c6565b6000806040838503121561176f57600080fd5b82359150602083013567ffffffffffffffff81111561178d57600080fd5b6117998582860161173c565b9150509250929050565b600080604083850312156117b657600080fd5b6117bf83611613565b9150602083013580151581146117d457600080fd5b809150509250929050565b600080600080608085870312156117f557600080fd5b6117fe85611613565b935061180c60208601611613565b925060408501359150606085013567ffffffffffffffff81111561182f57600080fd5b8501601f8101871361184057600080fd5b61184f878235602084016116c6565b91505092959194509250565b6000806040838503121561186e57600080fd5b61187783611613565b9150602083013567ffffffffffffffff81111561178d57600080fd5b600080604083850312156118a657600080fd5b6118af83611613565b91506118bd60208401611613565b90509250929050565b600181811c908216806118da57607f821691505b6020821081036118fa57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b60208082526021908201527f4552524f523a4e46542d3030313a43414c4c45525f4e4f545f524547495354526040820152605960f81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b601f82111561056457600081815260208120601f850160051c810160208610156119cb5750805b601f850160051c820191505b818110156119ea578281556001016119d7565b505050505050565b815167ffffffffffffffff811115611a0c57611a0c6116b0565b611a2081611a1a84546118c6565b846119a4565b602080601f831160018114611a555760008415611a3d5750858301515b600019600386901b1c1916600185901b1785556119ea565b600085815260208120601f198616915b82811015611a8457888601518255948401946001909101908401611a65565b5085821015611aa25787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600060018201611ada57611ada611ab2565b5060010190565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b808202811582820484141761039057610390611ab2565b8082018082111561039057610390611ab2565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611bd5908301846115a1565b9695505050505050565b600060208284031215611bf157600080fd5b815161159a81611567565b8181038181111561039057610390611ab2565b634e487b7160e01b600052603160045260246000fdfe44657a656e7472616c697a656420496e737572616e63652050726f746f636f6c205265676973747279a2646970667358221220543d2e1e9dd804cab6064b37e39ee7e7f7cf047cadfde220d8b23c97358a40de64736f6c6343000814003344657a656e7472616c697a656420496e737572616e63652050726f746f636f6c205265676973747279",
531
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101585760003560e01c806370a08231116100c3578063b88d4fde1161007c578063b88d4fde146102c2578063c87b56dd146102d5578063d0def521146102e8578063e985e9c5146102fb578063f21de1e814610337578063f76f8d781461034857600080fd5b806370a0823114610271578063862440e21461028457806395d89b4114610297578063a22cb4651461029f578063a2309ff8146102b2578063a3f4df7e146102ba57600080fd5b80632f745c59116101155780632f745c59146101ff57806342842e0e1461021257806342966c68146102255780634f558e79146102385780634f6ccce71461024b5780636352211e1461025e57600080fd5b806301ffc9a71461015d57806306fdde0314610185578063081812fc1461019a578063095ea7b3146101c557806318160ddd146101da57806323b872dd146101ec575b600080fd5b61017061016b36600461157d565b61036b565b60405190151581526020015b60405180910390f35b61018d610396565b60405161017c91906115e7565b6101ad6101a83660046115fa565b610428565b6040516001600160a01b03909116815260200161017c565b6101d86101d336600461162f565b61044f565b005b6008545b60405190815260200161017c565b6101d86101fa366004611659565b610569565b6101de61020d36600461162f565b61059a565b6101d8610220366004611659565b610630565b6101d86102333660046115fa565b61064b565b6101706102463660046115fa565b6106a1565b6101de6102593660046115fa565b6106c0565b6101ad61026c3660046115fa565b610753565b6101de61027f366004611695565b6107b3565b6101d861029236600461175c565b610839565b61018d6108d5565b6101d86102ad3660046117a3565b6108e4565b6010546101de565b61018d6108f3565b6101d86102d03660046117df565b61090f565b61018d6102e33660046115fa565b610947565b6101de6102f636600461185b565b6109f0565b610170610309366004611893565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600b546001600160a01b03166101ad565b61018d604051806040016040528060048152602001632224a82960e11b81525081565b60006001600160e01b0319821663780e9d6360e01b1480610390575061039082610a6c565b92915050565b6060600080546103a5906118c6565b80601f01602080910402602001604051908101604052809291908181526020018280546103d1906118c6565b801561041e5780601f106103f35761010080835404028352916020019161041e565b820191906000526020600020905b81548152906001019060200180831161040157829003601f168201915b5050505050905090565b600061043382610abc565b506000908152600460205260409020546001600160a01b031690565b600061045a82610753565b9050806001600160a01b0316836001600160a01b0316036104cc5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806104e857506104e88133610309565b61055a5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016104c3565b6105648383610b1b565b505050565b6105733382610b89565b61058f5760405162461bcd60e51b81526004016104c390611900565b610564838383610c08565b60006105a5836107b3565b82106106075760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016104c3565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6105648383836040518060200160405280600081525061090f565b600b546001600160a01b031633146106755760405162461bcd60e51b81526004016104c39061194d565b61067e81610abc565b61068781610d79565b6000818152600a6020526040812061069e91611519565b50565b6000818152600260205260408120546001600160a01b03161515610390565b60006106cb60085490565b821061072e5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016104c3565b600882815481106107415761074161198e565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806103905760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016104c3565b60006001600160a01b03821661081d5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016104c3565b506001600160a01b031660009081526003602052604090205490565b600b546001600160a01b031633146108635760405162461bcd60e51b81526004016104c39061194d565b60008151116108b45760405162461bcd60e51b815260206004820152601760248201527f4552524f523a4352472d3031313a5552495f454d50545900000000000000000060448201526064016104c3565b6108bd82610abc565b6000828152600a6020526040902061056482826119f2565b6060600180546103a5906118c6565b6108ef338383610e1c565b5050565b604051806060016040528060298152602001611c266029913981565b6109193383610b89565b6109355760405162461bcd60e51b81526004016104c390611900565b61094184848484610eea565b50505050565b606061095282610abc565b6000828152600a60205260409020805461096b906118c6565b80601f0160208091040260200160405190810160405280929190818152602001828054610997906118c6565b80156109e45780601f106109b9576101008083540402835291602001916109e4565b820191906000526020600020905b8154815290600101906020018083116109c757829003601f168201915b50505050509050919050565b600b546000906001600160a01b03163314610a1d5760405162461bcd60e51b81526004016104c39061194d565b610a25610f1d565b601080549192506000610a3783611ac8565b9190505550610a468382610f6e565b815115610390576000818152600a60205260409020610a6583826119f2565b5092915050565b60006001600160e01b031982166380ac58cd60e01b1480610a9d57506001600160e01b03198216635b5e139f60e01b145b8061039057506301ffc9a760e01b6001600160e01b0319831614610390565b6000818152600260205260409020546001600160a01b031661069e5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016104c3565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610b5082610753565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080610b9583610753565b9050806001600160a01b0316846001600160a01b03161480610bdc57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80610c005750836001600160a01b0316610bf584610428565b6001600160a01b0316145b949350505050565b826001600160a01b0316610c1b82610753565b6001600160a01b031614610c415760405162461bcd60e51b81526004016104c390611ae1565b6001600160a01b038216610ca35760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016104c3565b610cb08383836001610f88565b826001600160a01b0316610cc382610753565b6001600160a01b031614610ce95760405162461bcd60e51b81526004016104c390611ae1565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000610d8482610753565b9050610d94816000846001610f88565b610d9d82610753565b600083815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0385168085526003845282852080546000190190558785526002909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b816001600160a01b0316836001600160a01b031603610e7d5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016104c3565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b610ef5848484610c08565b610f01848484846110bc565b6109415760405162461bcd60e51b81526004016104c390611b26565b6000600d54600c54600e54600f54610f359190611b78565b610f3f9190611b8f565b610f4a906064611b78565b610f549190611b8f565b600f80549192506000610f6683611ac8565b919050555090565b6108ef8282604051806020016040528060008152506111bd565b6001811115610ff75760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b60648201526084016104c3565b816001600160a01b0385166110535761104e81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611076565b836001600160a01b0316856001600160a01b0316146110765761107685826111f0565b6001600160a01b0384166110925761108d8161128d565b6110b5565b846001600160a01b0316846001600160a01b0316146110b5576110b5848261133c565b5050505050565b60006001600160a01b0384163b156111b257604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611100903390899088908890600401611ba2565b6020604051808303816000875af192505050801561113b575060408051601f3d908101601f1916820190925261113891810190611bdf565b60015b611198573d808015611169576040519150601f19603f3d011682016040523d82523d6000602084013e61116e565b606091505b5080516000036111905760405162461bcd60e51b81526004016104c390611b26565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610c00565b506001949350505050565b6111c78383611380565b6111d460008484846110bc565b6105645760405162461bcd60e51b81526004016104c390611b26565b600060016111fd846107b3565b6112079190611bfc565b60008381526007602052604090205490915080821461125a576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061129f90600190611bfc565b600083815260096020526040812054600880549394509092849081106112c7576112c761198e565b9060005260206000200154905080600883815481106112e8576112e861198e565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061132057611320611c0f565b6001900381819060005260206000200160009055905550505050565b6000611347836107b3565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166113d65760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016104c3565b6000818152600260205260409020546001600160a01b03161561143b5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016104c3565b611449600083836001610f88565b6000818152600260205260409020546001600160a01b0316156114ae5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016104c3565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b508054611525906118c6565b6000825580601f10611535575050565b601f01602090049060005260206000209081019061069e91905b80821115611563576000815560010161154f565b5090565b6001600160e01b03198116811461069e57600080fd5b60006020828403121561158f57600080fd5b813561159a81611567565b9392505050565b6000815180845260005b818110156115c7576020818501810151868301820152016115ab565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600061159a60208301846115a1565b60006020828403121561160c57600080fd5b5035919050565b80356001600160a01b038116811461162a57600080fd5b919050565b6000806040838503121561164257600080fd5b61164b83611613565b946020939093013593505050565b60008060006060848603121561166e57600080fd5b61167784611613565b925061168560208501611613565b9150604084013590509250925092565b6000602082840312156116a757600080fd5b61159a82611613565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156116e1576116e16116b0565b604051601f8501601f19908116603f01168101908282118183101715611709576117096116b0565b8160405280935085815286868601111561172257600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261174d57600080fd5b61159a838335602085016116c6565b6000806040838503121561176f57600080fd5b82359150602083013567ffffffffffffffff81111561178d57600080fd5b6117998582860161173c565b9150509250929050565b600080604083850312156117b657600080fd5b6117bf83611613565b9150602083013580151581146117d457600080fd5b809150509250929050565b600080600080608085870312156117f557600080fd5b6117fe85611613565b935061180c60208601611613565b925060408501359150606085013567ffffffffffffffff81111561182f57600080fd5b8501601f8101871361184057600080fd5b61184f878235602084016116c6565b91505092959194509250565b6000806040838503121561186e57600080fd5b61187783611613565b9150602083013567ffffffffffffffff81111561178d57600080fd5b600080604083850312156118a657600080fd5b6118af83611613565b91506118bd60208401611613565b90509250929050565b600181811c908216806118da57607f821691505b6020821081036118fa57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b60208082526021908201527f4552524f523a4e46542d3030313a43414c4c45525f4e4f545f524547495354526040820152605960f81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b601f82111561056457600081815260208120601f850160051c810160208610156119cb5750805b601f850160051c820191505b818110156119ea578281556001016119d7565b505050505050565b815167ffffffffffffffff811115611a0c57611a0c6116b0565b611a2081611a1a84546118c6565b846119a4565b602080601f831160018114611a555760008415611a3d5750858301515b600019600386901b1c1916600185901b1785556119ea565b600085815260208120601f198616915b82811015611a8457888601518255948401946001909101908401611a65565b5085821015611aa25787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600060018201611ada57611ada611ab2565b5060010190565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b808202811582820484141761039057610390611ab2565b8082018082111561039057610390611ab2565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611bd5908301846115a1565b9695505050505050565b600060208284031215611bf157600080fd5b815161159a81611567565b8181038181111561039057610390611ab2565b634e487b7160e01b600052603160045260246000fdfe44657a656e7472616c697a656420496e737572616e63652050726f746f636f6c205265676973747279a2646970667358221220543d2e1e9dd804cab6064b37e39ee7e7f7cf047cadfde220d8b23c97358a40de64736f6c63430008140033",
593
+ "bytecode": "0x60806040523480156200001157600080fd5b506040516200222538038062002225833981016040819052620000349162000165565b604051806060016040528060298152602001620021fc602991396040805180820190915260048152632224a82960e11b602082015260006200007783826200023c565b5060016200008682826200023c565b5050506001600160a01b038116620000e45760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4e46542d3031303a52454749535452595f5a45524f0000000000604482015260640160405180910390fd5b600b80546001600160a01b0319166001600160a01b03831617905546600c819055620001109062000131565b600d8190556200012290600a6200041d565b600e55506003600f556200046a565b60005b811562000160578062000147816200042b565b9150620001589050600a8362000447565b915062000134565b919050565b6000602082840312156200017857600080fd5b81516001600160a01b03811681146200019057600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620001c257607f821691505b602082108103620001e357634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200023757600081815260208120601f850160051c81016020861015620002125750805b601f850160051c820191505b8181101562000233578281556001016200021e565b5050505b505050565b81516001600160401b0381111562000258576200025862000197565b6200027081620002698454620001ad565b84620001e9565b602080601f831160018114620002a857600084156200028f5750858301515b600019600386901b1c1916600185901b17855562000233565b600085815260208120601f198616915b82811015620002d957888601518255948401946001909101908401620002b8565b5085821015620002f85787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156200035f57816000190482111562000343576200034362000308565b808516156200035157918102915b93841c939080029062000323565b509250929050565b600082620003785750600162000417565b81620003875750600062000417565b8160018114620003a05760028114620003ab57620003cb565b600191505062000417565b60ff841115620003bf57620003bf62000308565b50506001821b62000417565b5060208310610133831016604e8410600b8410161715620003f0575081810a62000417565b620003fc83836200031e565b806000190482111562000413576200041362000308565b0290505b92915050565b600062000190838362000367565b60006001820162000440576200044062000308565b5060010190565b6000826200046557634e487b7160e01b600052601260045260246000fd5b500490565b611d82806200047a6000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c8063598e2892116100f9578063a3f4df7e11610097578063d0def52111610071578063d0def52114610390578063e985e9c5146103a3578063f21de1e8146103df578063f76f8d78146103f057600080fd5b8063a3f4df7e14610362578063b88d4fde1461036a578063c87b56dd1461037d57600080fd5b8063862440e2116100d3578063862440e21461032c57806395d89b411461033f578063a22cb46514610347578063a2309ff81461035a57600080fd5b8063598e2892146102fd5780636352211e1461030657806370a082311461031957600080fd5b80632e85b1f31161016657806342842e0e1161014057806342842e0e146102b157806342966c68146102c45780634f558e79146102d75780634f6ccce7146102ea57600080fd5b80632e85b1f3146102825780632f745c591461028b57806340c10f191461029e57600080fd5b8063081812fc116101a2578063081812fc14610227578063095ea7b31461025257806318160ddd1461026757806323b872dd1461026f57600080fd5b806301ffc9a7146101c95780630559ea47146101f157806306fdde0314610212575b600080fd5b6101dc6101d736600461167b565b610413565b60405190151581526020015b60405180910390f35b6102046101ff36600461169f565b61043e565b6040519081526020016101e8565b61021a610473565b6040516101e891906116fe565b61023a61023536600461169f565b610505565b6040516001600160a01b0390911681526020016101e8565b61026561026036600461172d565b61052c565b005b600854610204565b61026561027d366004611757565b610646565b61020461083581565b61020461029936600461172d565b610677565b6102656102ac36600461172d565b61070d565b6102656102bf366004611757565b61075a565b6102656102d236600461169f565b610775565b6101dc6102e536600461169f565b6107cb565b6102046102f836600461169f565b6107ea565b61020461044d81565b61023a61031436600461169f565b61087d565b610204610327366004611793565b6108dd565b61026561033a36600461185a565b610963565b61021a6109ff565b6102656103553660046118a1565b610a0e565b601054610204565b61021a610a19565b6102656103783660046118dd565b610a35565b61021a61038b36600461169f565b610a6d565b61020461039e366004611959565b610b16565b6101dc6103b1366004611991565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600b546001600160a01b031661023a565b61021a604051806040016040528060048152602001632224a82960e11b81525081565b60006001600160e01b0319821663780e9d6360e01b1480610438575061043882610b94565b92915050565b6000600d54600c54600e548461045491906119da565b61045e91906119f1565b6104699060646119da565b61043891906119f1565b60606000805461048290611a04565b80601f01602080910402602001604051908101604052809291908181526020018280546104ae90611a04565b80156104fb5780601f106104d0576101008083540402835291602001916104fb565b820191906000526020600020905b8154815290600101906020018083116104de57829003601f168201915b5050505050905090565b600061051082610be4565b506000908152600460205260409020546001600160a01b031690565b60006105378261087d565b9050806001600160a01b0316836001600160a01b0316036105a95760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806105c557506105c581336103b1565b6106375760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016105a0565b6106418383610c43565b505050565b6106503382610cb1565b61066c5760405162461bcd60e51b81526004016105a090611a3e565b610641838383610d30565b6000610682836108dd565b82106106e45760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016105a0565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600b546001600160a01b031633146107375760405162461bcd60e51b81526004016105a090611a8b565b6010805490600061074783611acc565b91905055506107568282610ea1565b5050565b61064183838360405180602001604052806000815250610a35565b600b546001600160a01b0316331461079f5760405162461bcd60e51b81526004016105a090611a8b565b6107a881610be4565b6107b181610ebb565b6000818152600a602052604081206107c891611617565b50565b6000818152600260205260408120546001600160a01b03161515610438565b60006107f560085490565b82106108585760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016105a0565b6008828154811061086b5761086b611ae5565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806104385760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016105a0565b60006001600160a01b0382166109475760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016105a0565b506001600160a01b031660009081526003602052604090205490565b600b546001600160a01b0316331461098d5760405162461bcd60e51b81526004016105a090611a8b565b60008151116109de5760405162461bcd60e51b815260206004820152601760248201527f4552524f523a4352472d3031313a5552495f454d50545900000000000000000060448201526064016105a0565b6109e782610be4565b6000828152600a602052604090206106418282611b49565b60606001805461048290611a04565b610756338383610f5e565b604051806060016040528060298152602001611d246029913981565b610a3f3383610cb1565b610a5b5760405162461bcd60e51b81526004016105a090611a3e565b610a678484848461102c565b50505050565b6060610a7882610be4565b6000828152600a602052604090208054610a9190611a04565b80601f0160208091040260200160405190810160405280929190818152602001828054610abd90611a04565b8015610b0a5780601f10610adf57610100808354040283529160200191610b0a565b820191906000526020600020905b815481529060010190602001808311610aed57829003601f168201915b50505050509050919050565b600b546000906001600160a01b03163314610b435760405162461bcd60e51b81526004016105a090611a8b565b610b4b61105f565b825190915015610b6f576000818152600a60205260409020610b6d8382611b49565b505b610b798382610ea1565b60108054906000610b8983611acc565b919050555092915050565b60006001600160e01b031982166380ac58cd60e01b1480610bc557506001600160e01b03198216635b5e139f60e01b145b8061043857506301ffc9a760e01b6001600160e01b0319831614610438565b6000818152600260205260409020546001600160a01b03166107c85760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016105a0565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610c788261087d565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080610cbd8361087d565b9050806001600160a01b0316846001600160a01b03161480610d0457506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80610d285750836001600160a01b0316610d1d84610505565b6001600160a01b0316145b949350505050565b826001600160a01b0316610d438261087d565b6001600160a01b031614610d695760405162461bcd60e51b81526004016105a090611c09565b6001600160a01b038216610dcb5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016105a0565b610dd88383836001611086565b826001600160a01b0316610deb8261087d565b6001600160a01b031614610e115760405162461bcd60e51b81526004016105a090611c09565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6107568282604051806020016040528060008152506111ba565b6000610ec68261087d565b9050610ed6816000846001611086565b610edf8261087d565b600083815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0385168085526003845282852080546000190190558785526002909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b816001600160a01b0316836001600160a01b031603610fbf5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016105a0565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611037848484610d30565b611043848484846111ed565b610a675760405162461bcd60e51b81526004016105a090611c4e565b600061106c600f5461043e565b600f8054919250600061107e83611acc565b919050555090565b60018111156110f55760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b60648201526084016105a0565b816001600160a01b0385166111515761114c81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611174565b836001600160a01b0316856001600160a01b0316146111745761117485826112ee565b6001600160a01b0384166111905761118b8161138b565b6111b3565b846001600160a01b0316846001600160a01b0316146111b3576111b3848261143a565b5050505050565b6111c4838361147e565b6111d160008484846111ed565b6106415760405162461bcd60e51b81526004016105a090611c4e565b60006001600160a01b0384163b156112e357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611231903390899088908890600401611ca0565b6020604051808303816000875af192505050801561126c575060408051601f3d908101601f1916820190925261126991810190611cdd565b60015b6112c9573d80801561129a576040519150601f19603f3d011682016040523d82523d6000602084013e61129f565b606091505b5080516000036112c15760405162461bcd60e51b81526004016105a090611c4e565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610d28565b506001949350505050565b600060016112fb846108dd565b6113059190611cfa565b600083815260076020526040902054909150808214611358576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061139d90600190611cfa565b600083815260096020526040812054600880549394509092849081106113c5576113c5611ae5565b9060005260206000200154905080600883815481106113e6576113e6611ae5565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061141e5761141e611d0d565b6001900381819060005260206000200160009055905550505050565b6000611445836108dd565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166114d45760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016105a0565b6000818152600260205260409020546001600160a01b0316156115395760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105a0565b611547600083836001611086565b6000818152600260205260409020546001600160a01b0316156115ac5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105a0565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b50805461162390611a04565b6000825580601f10611633575050565b601f0160209004906000526020600020908101906107c891905b80821115611661576000815560010161164d565b5090565b6001600160e01b0319811681146107c857600080fd5b60006020828403121561168d57600080fd5b813561169881611665565b9392505050565b6000602082840312156116b157600080fd5b5035919050565b6000815180845260005b818110156116de576020818501810151868301820152016116c2565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600061169860208301846116b8565b80356001600160a01b038116811461172857600080fd5b919050565b6000806040838503121561174057600080fd5b61174983611711565b946020939093013593505050565b60008060006060848603121561176c57600080fd5b61177584611711565b925061178360208501611711565b9150604084013590509250925092565b6000602082840312156117a557600080fd5b61169882611711565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156117df576117df6117ae565b604051601f8501601f19908116603f01168101908282118183101715611807576118076117ae565b8160405280935085815286868601111561182057600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261184b57600080fd5b611698838335602085016117c4565b6000806040838503121561186d57600080fd5b82359150602083013567ffffffffffffffff81111561188b57600080fd5b6118978582860161183a565b9150509250929050565b600080604083850312156118b457600080fd5b6118bd83611711565b9150602083013580151581146118d257600080fd5b809150509250929050565b600080600080608085870312156118f357600080fd5b6118fc85611711565b935061190a60208601611711565b925060408501359150606085013567ffffffffffffffff81111561192d57600080fd5b8501601f8101871361193e57600080fd5b61194d878235602084016117c4565b91505092959194509250565b6000806040838503121561196c57600080fd5b61197583611711565b9150602083013567ffffffffffffffff81111561188b57600080fd5b600080604083850312156119a457600080fd5b6119ad83611711565b91506119bb60208401611711565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610438576104386119c4565b80820180821115610438576104386119c4565b600181811c90821680611a1857607f821691505b602082108103611a3857634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b60208082526021908201527f4552524f523a4e46542d3030313a43414c4c45525f4e4f545f524547495354526040820152605960f81b606082015260800190565b600060018201611ade57611ade6119c4565b5060010190565b634e487b7160e01b600052603260045260246000fd5b601f82111561064157600081815260208120601f850160051c81016020861015611b225750805b601f850160051c820191505b81811015611b4157828155600101611b2e565b505050505050565b815167ffffffffffffffff811115611b6357611b636117ae565b611b7781611b718454611a04565b84611afb565b602080601f831160018114611bac5760008415611b945750858301515b600019600386901b1c1916600185901b178555611b41565b600085815260208120601f198616915b82811015611bdb57888601518255948401946001909101908401611bbc565b5085821015611bf95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611cd3908301846116b8565b9695505050505050565b600060208284031215611cef57600080fd5b815161169881611665565b81810381811115610438576104386119c4565b634e487b7160e01b600052603160045260246000fdfe44657a656e7472616c697a656420496e737572616e63652050726f746f636f6c205265676973747279a2646970667358221220bfafc16bdaf37d7e7f030e76f63504310b1b0873a8baeb39dcc08423f8b1c99e64736f6c6343000814003344657a656e7472616c697a656420496e737572616e63652050726f746f636f6c205265676973747279",
594
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101c45760003560e01c8063598e2892116100f9578063a3f4df7e11610097578063d0def52111610071578063d0def52114610390578063e985e9c5146103a3578063f21de1e8146103df578063f76f8d78146103f057600080fd5b8063a3f4df7e14610362578063b88d4fde1461036a578063c87b56dd1461037d57600080fd5b8063862440e2116100d3578063862440e21461032c57806395d89b411461033f578063a22cb46514610347578063a2309ff81461035a57600080fd5b8063598e2892146102fd5780636352211e1461030657806370a082311461031957600080fd5b80632e85b1f31161016657806342842e0e1161014057806342842e0e146102b157806342966c68146102c45780634f558e79146102d75780634f6ccce7146102ea57600080fd5b80632e85b1f3146102825780632f745c591461028b57806340c10f191461029e57600080fd5b8063081812fc116101a2578063081812fc14610227578063095ea7b31461025257806318160ddd1461026757806323b872dd1461026f57600080fd5b806301ffc9a7146101c95780630559ea47146101f157806306fdde0314610212575b600080fd5b6101dc6101d736600461167b565b610413565b60405190151581526020015b60405180910390f35b6102046101ff36600461169f565b61043e565b6040519081526020016101e8565b61021a610473565b6040516101e891906116fe565b61023a61023536600461169f565b610505565b6040516001600160a01b0390911681526020016101e8565b61026561026036600461172d565b61052c565b005b600854610204565b61026561027d366004611757565b610646565b61020461083581565b61020461029936600461172d565b610677565b6102656102ac36600461172d565b61070d565b6102656102bf366004611757565b61075a565b6102656102d236600461169f565b610775565b6101dc6102e536600461169f565b6107cb565b6102046102f836600461169f565b6107ea565b61020461044d81565b61023a61031436600461169f565b61087d565b610204610327366004611793565b6108dd565b61026561033a36600461185a565b610963565b61021a6109ff565b6102656103553660046118a1565b610a0e565b601054610204565b61021a610a19565b6102656103783660046118dd565b610a35565b61021a61038b36600461169f565b610a6d565b61020461039e366004611959565b610b16565b6101dc6103b1366004611991565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600b546001600160a01b031661023a565b61021a604051806040016040528060048152602001632224a82960e11b81525081565b60006001600160e01b0319821663780e9d6360e01b1480610438575061043882610b94565b92915050565b6000600d54600c54600e548461045491906119da565b61045e91906119f1565b6104699060646119da565b61043891906119f1565b60606000805461048290611a04565b80601f01602080910402602001604051908101604052809291908181526020018280546104ae90611a04565b80156104fb5780601f106104d0576101008083540402835291602001916104fb565b820191906000526020600020905b8154815290600101906020018083116104de57829003601f168201915b5050505050905090565b600061051082610be4565b506000908152600460205260409020546001600160a01b031690565b60006105378261087d565b9050806001600160a01b0316836001600160a01b0316036105a95760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806105c557506105c581336103b1565b6106375760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016105a0565b6106418383610c43565b505050565b6106503382610cb1565b61066c5760405162461bcd60e51b81526004016105a090611a3e565b610641838383610d30565b6000610682836108dd565b82106106e45760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016105a0565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600b546001600160a01b031633146107375760405162461bcd60e51b81526004016105a090611a8b565b6010805490600061074783611acc565b91905055506107568282610ea1565b5050565b61064183838360405180602001604052806000815250610a35565b600b546001600160a01b0316331461079f5760405162461bcd60e51b81526004016105a090611a8b565b6107a881610be4565b6107b181610ebb565b6000818152600a602052604081206107c891611617565b50565b6000818152600260205260408120546001600160a01b03161515610438565b60006107f560085490565b82106108585760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016105a0565b6008828154811061086b5761086b611ae5565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806104385760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016105a0565b60006001600160a01b0382166109475760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016105a0565b506001600160a01b031660009081526003602052604090205490565b600b546001600160a01b0316331461098d5760405162461bcd60e51b81526004016105a090611a8b565b60008151116109de5760405162461bcd60e51b815260206004820152601760248201527f4552524f523a4352472d3031313a5552495f454d50545900000000000000000060448201526064016105a0565b6109e782610be4565b6000828152600a602052604090206106418282611b49565b60606001805461048290611a04565b610756338383610f5e565b604051806060016040528060298152602001611d246029913981565b610a3f3383610cb1565b610a5b5760405162461bcd60e51b81526004016105a090611a3e565b610a678484848461102c565b50505050565b6060610a7882610be4565b6000828152600a602052604090208054610a9190611a04565b80601f0160208091040260200160405190810160405280929190818152602001828054610abd90611a04565b8015610b0a5780601f10610adf57610100808354040283529160200191610b0a565b820191906000526020600020905b815481529060010190602001808311610aed57829003601f168201915b50505050509050919050565b600b546000906001600160a01b03163314610b435760405162461bcd60e51b81526004016105a090611a8b565b610b4b61105f565b825190915015610b6f576000818152600a60205260409020610b6d8382611b49565b505b610b798382610ea1565b60108054906000610b8983611acc565b919050555092915050565b60006001600160e01b031982166380ac58cd60e01b1480610bc557506001600160e01b03198216635b5e139f60e01b145b8061043857506301ffc9a760e01b6001600160e01b0319831614610438565b6000818152600260205260409020546001600160a01b03166107c85760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016105a0565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610c788261087d565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080610cbd8361087d565b9050806001600160a01b0316846001600160a01b03161480610d0457506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80610d285750836001600160a01b0316610d1d84610505565b6001600160a01b0316145b949350505050565b826001600160a01b0316610d438261087d565b6001600160a01b031614610d695760405162461bcd60e51b81526004016105a090611c09565b6001600160a01b038216610dcb5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016105a0565b610dd88383836001611086565b826001600160a01b0316610deb8261087d565b6001600160a01b031614610e115760405162461bcd60e51b81526004016105a090611c09565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6107568282604051806020016040528060008152506111ba565b6000610ec68261087d565b9050610ed6816000846001611086565b610edf8261087d565b600083815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0385168085526003845282852080546000190190558785526002909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b816001600160a01b0316836001600160a01b031603610fbf5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016105a0565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611037848484610d30565b611043848484846111ed565b610a675760405162461bcd60e51b81526004016105a090611c4e565b600061106c600f5461043e565b600f8054919250600061107e83611acc565b919050555090565b60018111156110f55760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b60648201526084016105a0565b816001600160a01b0385166111515761114c81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611174565b836001600160a01b0316856001600160a01b0316146111745761117485826112ee565b6001600160a01b0384166111905761118b8161138b565b6111b3565b846001600160a01b0316846001600160a01b0316146111b3576111b3848261143a565b5050505050565b6111c4838361147e565b6111d160008484846111ed565b6106415760405162461bcd60e51b81526004016105a090611c4e565b60006001600160a01b0384163b156112e357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611231903390899088908890600401611ca0565b6020604051808303816000875af192505050801561126c575060408051601f3d908101601f1916820190925261126991810190611cdd565b60015b6112c9573d80801561129a576040519150601f19603f3d011682016040523d82523d6000602084013e61129f565b606091505b5080516000036112c15760405162461bcd60e51b81526004016105a090611c4e565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610d28565b506001949350505050565b600060016112fb846108dd565b6113059190611cfa565b600083815260076020526040902054909150808214611358576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061139d90600190611cfa565b600083815260096020526040812054600880549394509092849081106113c5576113c5611ae5565b9060005260206000200154905080600883815481106113e6576113e6611ae5565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061141e5761141e611d0d565b6001900381819060005260206000200160009055905550505050565b6000611445836108dd565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166114d45760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016105a0565b6000818152600260205260409020546001600160a01b0316156115395760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105a0565b611547600083836001611086565b6000818152600260205260409020546001600160a01b0316156115ac5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105a0565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b50805461162390611a04565b6000825580601f10611633575050565b601f0160209004906000526020600020908101906107c891905b80821115611661576000815560010161164d565b5090565b6001600160e01b0319811681146107c857600080fd5b60006020828403121561168d57600080fd5b813561169881611665565b9392505050565b6000602082840312156116b157600080fd5b5035919050565b6000815180845260005b818110156116de576020818501810151868301820152016116c2565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600061169860208301846116b8565b80356001600160a01b038116811461172857600080fd5b919050565b6000806040838503121561174057600080fd5b61174983611711565b946020939093013593505050565b60008060006060848603121561176c57600080fd5b61177584611711565b925061178360208501611711565b9150604084013590509250925092565b6000602082840312156117a557600080fd5b61169882611711565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156117df576117df6117ae565b604051601f8501601f19908116603f01168101908282118183101715611807576118076117ae565b8160405280935085815286868601111561182057600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261184b57600080fd5b611698838335602085016117c4565b6000806040838503121561186d57600080fd5b82359150602083013567ffffffffffffffff81111561188b57600080fd5b6118978582860161183a565b9150509250929050565b600080604083850312156118b457600080fd5b6118bd83611711565b9150602083013580151581146118d257600080fd5b809150509250929050565b600080600080608085870312156118f357600080fd5b6118fc85611711565b935061190a60208601611711565b925060408501359150606085013567ffffffffffffffff81111561192d57600080fd5b8501601f8101871361193e57600080fd5b61194d878235602084016117c4565b91505092959194509250565b6000806040838503121561196c57600080fd5b61197583611711565b9150602083013567ffffffffffffffff81111561188b57600080fd5b600080604083850312156119a457600080fd5b6119ad83611711565b91506119bb60208401611711565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610438576104386119c4565b80820180821115610438576104386119c4565b600181811c90821680611a1857607f821691505b602082108103611a3857634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b60208082526021908201527f4552524f523a4e46542d3030313a43414c4c45525f4e4f545f524547495354526040820152605960f81b606082015260800190565b600060018201611ade57611ade6119c4565b5060010190565b634e487b7160e01b600052603260045260246000fd5b601f82111561064157600081815260208120601f850160051c81016020861015611b225750805b601f850160051c820191505b81811015611b4157828155600101611b2e565b505050505050565b815167ffffffffffffffff811115611b6357611b636117ae565b611b7781611b718454611a04565b84611afb565b602080601f831160018114611bac5760008415611b945750858301515b600019600386901b1c1916600185901b178555611b41565b600085815260208120601f198616915b82811015611bdb57888601518255948401946001909101908401611bbc565b5085821015611bf95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611cd3908301846116b8565b9695505050505050565b600060208284031215611cef57600080fd5b815161169881611665565b81810381811115610438576104386119c4565b634e487b7160e01b600052603160045260246000fdfe44657a656e7472616c697a656420496e737572616e63652050726f746f636f6c205265676973747279a2646970667358221220bfafc16bdaf37d7e7f030e76f63504310b1b0873a8baeb39dcc08423f8b1c99e64736f6c63430008140033",
532
595
  "linkReferences": {},
533
596
  "deployedLinkReferences": {}
534
597
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/371956c35f778b248bb1774ada1ed516.json"
3
+ "buildInfo": "../../../build-info/ac8b1a0ba35c3a8a508882d70043ad3f.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/371956c35f778b248bb1774ada1ed516.json"
3
+ "buildInfo": "../../../build-info/ac8b1a0ba35c3a8a508882d70043ad3f.json"
4
4
  }
@@ -3,15 +3,92 @@
3
3
  "contractName": "IRegistry",
4
4
  "sourceName": "contracts/registry/IRegistry.sol",
5
5
  "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "getChainNft",
9
+ "outputs": [
10
+ {
11
+ "internalType": "contract IChainNft",
12
+ "name": "",
13
+ "type": "address"
14
+ }
15
+ ],
16
+ "stateMutability": "view",
17
+ "type": "function"
18
+ },
19
+ {
20
+ "inputs": [
21
+ {
22
+ "internalType": "NftId",
23
+ "name": "nftId",
24
+ "type": "uint96"
25
+ }
26
+ ],
27
+ "name": "getName",
28
+ "outputs": [
29
+ {
30
+ "internalType": "string",
31
+ "name": "name",
32
+ "type": "string"
33
+ }
34
+ ],
35
+ "stateMutability": "view",
36
+ "type": "function"
37
+ },
38
+ {
39
+ "inputs": [],
40
+ "name": "getNftId",
41
+ "outputs": [
42
+ {
43
+ "internalType": "NftId",
44
+ "name": "nftId",
45
+ "type": "uint96"
46
+ }
47
+ ],
48
+ "stateMutability": "view",
49
+ "type": "function"
50
+ },
6
51
  {
7
52
  "inputs": [
53
+ {
54
+ "internalType": "address",
55
+ "name": "objectAddress",
56
+ "type": "address"
57
+ }
58
+ ],
59
+ "name": "getNftId",
60
+ "outputs": [
8
61
  {
9
62
  "internalType": "NftId",
10
63
  "name": "nftId",
11
64
  "type": "uint96"
12
65
  }
13
66
  ],
14
- "name": "getInfo",
67
+ "stateMutability": "view",
68
+ "type": "function"
69
+ },
70
+ {
71
+ "inputs": [],
72
+ "name": "getObjectCount",
73
+ "outputs": [
74
+ {
75
+ "internalType": "uint256",
76
+ "name": "",
77
+ "type": "uint256"
78
+ }
79
+ ],
80
+ "stateMutability": "view",
81
+ "type": "function"
82
+ },
83
+ {
84
+ "inputs": [
85
+ {
86
+ "internalType": "NftId",
87
+ "name": "nftId",
88
+ "type": "uint96"
89
+ }
90
+ ],
91
+ "name": "getObjectInfo",
15
92
  "outputs": [
16
93
  {
17
94
  "components": [
@@ -39,9 +116,14 @@
39
116
  "internalType": "address",
40
117
  "name": "initialOwner",
41
118
  "type": "address"
119
+ },
120
+ {
121
+ "internalType": "bytes",
122
+ "name": "data",
123
+ "type": "bytes"
42
124
  }
43
125
  ],
44
- "internalType": "struct IRegistry.RegistryInfo",
126
+ "internalType": "struct IRegistry.ObjectInfo",
45
127
  "name": "info",
46
128
  "type": "tuple"
47
129
  }
@@ -49,33 +131,20 @@
49
131
  "stateMutability": "view",
50
132
  "type": "function"
51
133
  },
52
- {
53
- "inputs": [],
54
- "name": "getNftAddress",
55
- "outputs": [
56
- {
57
- "internalType": "address",
58
- "name": "nft",
59
- "type": "address"
60
- }
61
- ],
62
- "stateMutability": "view",
63
- "type": "function"
64
- },
65
134
  {
66
135
  "inputs": [
67
136
  {
68
- "internalType": "address",
69
- "name": "objectAddress",
70
- "type": "address"
137
+ "internalType": "NftId",
138
+ "name": "nftId",
139
+ "type": "uint96"
71
140
  }
72
141
  ],
73
- "name": "getNftId",
142
+ "name": "getOwner",
74
143
  "outputs": [
75
144
  {
76
- "internalType": "NftId",
77
- "name": "nftId",
78
- "type": "uint96"
145
+ "internalType": "address",
146
+ "name": "ownerAddress",
147
+ "type": "address"
79
148
  }
80
149
  ],
81
150
  "stateMutability": "view",
@@ -83,12 +152,12 @@
83
152
  },
84
153
  {
85
154
  "inputs": [],
86
- "name": "getObjectCount",
155
+ "name": "getProtocolOwner",
87
156
  "outputs": [
88
157
  {
89
- "internalType": "uint256",
158
+ "internalType": "address",
90
159
  "name": "",
91
- "type": "uint256"
160
+ "type": "address"
92
161
  }
93
162
  ],
94
163
  "stateMutability": "view",
@@ -97,16 +166,21 @@
97
166
  {
98
167
  "inputs": [
99
168
  {
100
- "internalType": "NftId",
101
- "name": "nftId",
102
- "type": "uint96"
169
+ "internalType": "string",
170
+ "name": "serviceName",
171
+ "type": "string"
172
+ },
173
+ {
174
+ "internalType": "VersionPart",
175
+ "name": "majorVersion",
176
+ "type": "uint8"
103
177
  }
104
178
  ],
105
- "name": "getOwner",
179
+ "name": "getServiceAddress",
106
180
  "outputs": [
107
181
  {
108
182
  "internalType": "address",
109
- "name": "ownerAddress",
183
+ "name": "serviceAddress",
110
184
  "type": "address"
111
185
  }
112
186
  ],
@@ -132,6 +206,25 @@
132
206
  "stateMutability": "view",
133
207
  "type": "function"
134
208
  },
209
+ {
210
+ "inputs": [
211
+ {
212
+ "internalType": "NftId",
213
+ "name": "nftId",
214
+ "type": "uint96"
215
+ }
216
+ ],
217
+ "name": "isRegistered",
218
+ "outputs": [
219
+ {
220
+ "internalType": "bool",
221
+ "name": "",
222
+ "type": "bool"
223
+ }
224
+ ],
225
+ "stateMutability": "view",
226
+ "type": "function"
227
+ },
135
228
  {
136
229
  "inputs": [
137
230
  {
@@ -167,6 +260,11 @@
167
260
  "internalType": "address",
168
261
  "name": "initialOwner",
169
262
  "type": "address"
263
+ },
264
+ {
265
+ "internalType": "bytes",
266
+ "name": "data",
267
+ "type": "bytes"
170
268
  }
171
269
  ],
172
270
  "name": "registerObjectForInstance",
@@ -179,6 +277,25 @@
179
277
  ],
180
278
  "stateMutability": "nonpayable",
181
279
  "type": "function"
280
+ },
281
+ {
282
+ "inputs": [
283
+ {
284
+ "internalType": "bytes4",
285
+ "name": "interfaceId",
286
+ "type": "bytes4"
287
+ }
288
+ ],
289
+ "name": "supportsInterface",
290
+ "outputs": [
291
+ {
292
+ "internalType": "bool",
293
+ "name": "",
294
+ "type": "bool"
295
+ }
296
+ ],
297
+ "stateMutability": "view",
298
+ "type": "function"
182
299
  }
183
300
  ],
184
301
  "bytecode": "0x",
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/ac8b1a0ba35c3a8a508882d70043ad3f.json"
4
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "IRegistryLinked",
4
+ "sourceName": "contracts/registry/IRegistryLinked.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "getRegistry",
9
+ "outputs": [
10
+ {
11
+ "internalType": "contract IRegistry",
12
+ "name": "registry",
13
+ "type": "address"
14
+ }
15
+ ],
16
+ "stateMutability": "view",
17
+ "type": "function"
18
+ }
19
+ ],
20
+ "bytecode": "0x",
21
+ "deployedBytecode": "0x",
22
+ "linkReferences": {},
23
+ "deployedLinkReferences": {}
24
+ }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/371956c35f778b248bb1774ada1ed516.json"
3
+ "buildInfo": "../../../build-info/ac8b1a0ba35c3a8a508882d70043ad3f.json"
4
4
  }