@etherisc/gif-next 0.0.2-f99f1d2-109 → 0.0.2-f9bc4c7-556

Sign up to get free protection for your applications and to get access to all the features.
Files changed (335) hide show
  1. package/README.md +90 -7
  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/Require.sol/Require.json +2 -2
  16. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  17. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +2 -2
  18. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  19. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +2 -2
  20. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  21. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +2 -2
  22. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  23. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  24. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  26. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  28. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
  29. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +2 -2
  30. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
  31. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
  32. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
  33. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +2 -2
  34. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
  35. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +2 -2
  36. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  37. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +2 -2
  38. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  39. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +2 -2
  40. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  41. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +719 -332
  42. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +4 -0
  43. package/artifacts/contracts/instance/{component/IComponent.sol → IInstanceLinked.sol}/IInstanceLinked.json +1 -1
  44. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  45. package/artifacts/contracts/instance/Instance.sol/Instance.json +998 -527
  46. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +4 -0
  47. package/artifacts/contracts/instance/{component/ComponentModule.sol/ComponentModule.json → base/ComponentServiceBase.sol/ComponentServiceBase.json} +133 -132
  48. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +4 -0
  49. package/artifacts/contracts/instance/{product/ProductService.sol/ProductModule.json → base/IInstanceBase.sol/IInstanceBase.json} +18 -30
  50. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  51. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +511 -0
  52. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  53. package/artifacts/contracts/instance/{lifecycle/ILifecycle.sol/ILifecycleModule.json → base/ILifecycle.sol/ILifecycle.json} +10 -77
  54. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +4 -0
  55. package/artifacts/contracts/instance/base/IService.sol/IService.json +300 -0
  56. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +4 -0
  57. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.json +326 -0
  58. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  59. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +692 -0
  60. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  61. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +169 -0
  62. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +4 -0
  63. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.json +10 -0
  64. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +4 -0
  65. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +300 -0
  66. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +4 -0
  67. package/artifacts/contracts/instance/{access → module/access}/Access.sol/AccessModule.json +85 -152
  68. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +4 -0
  69. package/artifacts/contracts/instance/{access → module/access}/IAccess.sol/IAccess.json +1 -1
  70. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +4 -0
  71. package/artifacts/contracts/instance/{access → module/access}/IAccess.sol/IAccessModule.json +96 -99
  72. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +4 -0
  73. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +296 -0
  74. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +4 -0
  75. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.json +10 -0
  76. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +4 -0
  77. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +296 -0
  78. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +4 -0
  79. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +10 -0
  80. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +4 -0
  81. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.json +10 -0
  82. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +4 -0
  83. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.json +10 -0
  84. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +4 -0
  85. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +188 -0
  86. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +4 -0
  87. package/artifacts/contracts/instance/{component → module/component}/IComponent.sol/IComponent.json +1 -1
  88. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +4 -0
  89. package/artifacts/contracts/instance/{component → module/component}/IComponent.sol/IComponentModule.json +33 -62
  90. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +4 -0
  91. package/artifacts/contracts/instance/{policy → module/policy}/IPolicy.sol/IPolicy.json +1 -1
  92. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +4 -0
  93. package/artifacts/contracts/instance/{policy → module/policy}/IPolicy.sol/IPolicyModule.json +132 -125
  94. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +4 -0
  95. package/artifacts/contracts/instance/{policy → module/policy}/PolicyModule.sol/PolicyModule.json +132 -125
  96. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +4 -0
  97. package/artifacts/contracts/instance/{pool → module/pool}/IPoolModule.sol/IPool.json +1 -1
  98. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +4 -0
  99. package/artifacts/contracts/instance/{pool → module/pool}/IPoolModule.sol/IPoolModule.json +67 -47
  100. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +4 -0
  101. package/artifacts/contracts/instance/{pool → module/pool}/PoolModule.sol/PoolModule.json +51 -57
  102. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +4 -0
  103. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.json +10 -0
  104. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +4 -0
  105. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +10 -0
  106. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +4 -0
  107. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +10 -0
  108. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +4 -0
  109. package/artifacts/contracts/instance/{treasury → module/treasury}/ITreasury.sol/ITreasury.json +1 -1
  110. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +4 -0
  111. package/artifacts/contracts/instance/{treasury → module/treasury}/ITreasury.sol/ITreasuryModule.json +100 -57
  112. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  113. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +76 -0
  114. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +4 -0
  115. package/artifacts/contracts/instance/{treasury → module/treasury}/TreasuryModule.sol/TreasuryModule.json +100 -57
  116. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +4 -0
  117. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +523 -0
  118. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +4 -0
  119. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +364 -0
  120. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
  121. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +376 -0
  122. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
  123. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +477 -0
  124. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  125. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +471 -0
  126. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  127. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +673 -0
  128. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  129. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +65 -2
  130. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +1 -1
  131. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  132. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +147 -30
  133. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  134. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +24 -0
  135. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  136. package/artifacts/contracts/registry/Registry.sol/Registry.json +241 -25
  137. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +4 -0
  138. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +35 -0
  139. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +4 -0
  140. package/artifacts/contracts/{registry/IRegistry.sol → shared/IOwnable.sol}/IOwnable.json +1 -1
  141. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +4 -0
  142. package/artifacts/contracts/{registry/IRegistry.sol → shared/IRegisterable.sol}/IRegisterable.json +16 -61
  143. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +4 -0
  144. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +164 -0
  145. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +4 -0
  146. package/artifacts/contracts/{registry/Registry.sol → shared/Registerable.sol}/Registerable.json +16 -61
  147. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +4 -0
  148. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +164 -0
  149. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +4 -0
  150. package/artifacts/contracts/test/TestFee.sol/TestFee.json +119 -0
  151. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +4 -0
  152. package/artifacts/contracts/test/TestPool.sol/TestPool.json +387 -0
  153. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +4 -0
  154. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +393 -0
  155. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +4 -0
  156. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +137 -0
  157. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +4 -0
  158. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +116 -0
  159. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +4 -0
  160. package/artifacts/contracts/test/TestService.sol/TestService.json +379 -0
  161. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +4 -0
  162. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +338 -0
  163. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +4 -0
  164. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +218 -0
  165. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +4 -0
  166. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +206 -0
  167. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +4 -0
  168. package/artifacts/contracts/test/Usdc.sol/USDC.json +338 -0
  169. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  170. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +10 -0
  171. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  172. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  173. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  174. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +2 -2
  175. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +4 -0
  176. package/artifacts/contracts/types/Fee.sol/FeeLib.json +218 -0
  177. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +4 -0
  178. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +111 -0
  179. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  180. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +65 -4
  181. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  182. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +10 -0
  183. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  184. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  185. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +4 -0
  186. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +30 -0
  187. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  188. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  189. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  190. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +64 -2
  191. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +1 -1
  192. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +88 -62
  193. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +4 -0
  194. package/artifacts/contracts/types/Version.sol/VersionLib.json +139 -0
  195. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +4 -0
  196. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +30 -0
  197. package/contracts/components/BaseComponent.sol +88 -0
  198. package/contracts/components/IBaseComponent.sol +19 -0
  199. package/contracts/components/IPoolComponent.sol +57 -0
  200. package/contracts/components/{IProduct.sol → IProductComponent.sol} +9 -6
  201. package/contracts/components/Pool.sol +140 -18
  202. package/contracts/components/Product.sol +53 -25
  203. package/contracts/instance/IInstance.sol +38 -11
  204. package/contracts/instance/IInstanceLinked.sol +8 -0
  205. package/contracts/instance/Instance.sol +44 -48
  206. package/contracts/instance/base/ComponentServiceBase.sol +42 -0
  207. package/contracts/instance/base/IInstanceBase.sol +14 -0
  208. package/contracts/instance/base/IKeyValueStore.sol +49 -0
  209. package/contracts/instance/{lifecycle → base}/ILifecycle.sol +4 -21
  210. package/contracts/instance/base/IService.sol +15 -0
  211. package/contracts/instance/base/InstanceBase.sol +80 -0
  212. package/contracts/instance/base/KeyValueStore.sol +156 -0
  213. package/contracts/instance/{lifecycle/LifecycleModule.sol → base/Lifecycle.sol} +36 -29
  214. package/contracts/instance/base/ModuleBase.sol +52 -0
  215. package/contracts/instance/base/ServiceBase.sol +37 -0
  216. package/contracts/instance/module/access/Access.sol +149 -0
  217. package/contracts/instance/module/access/IAccess.sol +53 -0
  218. package/contracts/instance/module/bundle/BundleModule.sol +136 -0
  219. package/contracts/instance/module/bundle/IBundle.sol +58 -0
  220. package/contracts/instance/module/compensation/CompensationModule.sol +8 -0
  221. package/contracts/instance/module/compensation/ICompensation.sol +10 -0
  222. package/contracts/instance/module/component/ComponentModule.sol +95 -0
  223. package/contracts/instance/module/component/IComponent.sol +53 -0
  224. package/contracts/instance/module/policy/IPolicy.sol +60 -0
  225. package/contracts/instance/module/policy/PolicyModule.sol +76 -0
  226. package/contracts/instance/module/pool/IPoolModule.sol +41 -0
  227. package/contracts/instance/module/pool/PoolModule.sol +87 -0
  228. package/contracts/instance/module/risk/IRisk.sol +10 -0
  229. package/contracts/instance/module/risk/RiskModule.sol +8 -0
  230. package/contracts/instance/{treasury → module/treasury}/ITreasury.sol +27 -15
  231. package/contracts/instance/module/treasury/TokenHandler.sol +48 -0
  232. package/contracts/instance/{treasury → module/treasury}/TreasuryModule.sol +43 -59
  233. package/contracts/instance/service/ComponentOwnerService.sol +170 -0
  234. package/contracts/instance/service/IComponentOwnerService.sol +22 -0
  235. package/contracts/instance/service/IPoolService.sol +30 -0
  236. package/contracts/instance/service/IProductService.sol +58 -0
  237. package/contracts/instance/service/PoolService.sol +123 -0
  238. package/contracts/instance/service/ProductService.sol +354 -0
  239. package/contracts/registry/ChainNft.sol +61 -37
  240. package/contracts/registry/IRegistry.sol +24 -34
  241. package/contracts/registry/IRegistryLinked.sol +8 -0
  242. package/contracts/registry/Registry.sol +284 -85
  243. package/contracts/shared/ERC165.sol +21 -0
  244. package/contracts/shared/IOwnable.sol +6 -0
  245. package/contracts/shared/IRegisterable.sol +24 -0
  246. package/contracts/shared/IVersionable.sol +52 -0
  247. package/contracts/shared/Registerable.sol +86 -0
  248. package/contracts/shared/Versionable.sol +89 -0
  249. package/contracts/test/TestFee.sol +25 -0
  250. package/contracts/test/TestPool.sol +22 -0
  251. package/contracts/test/TestProduct.sol +44 -0
  252. package/contracts/test/TestRegisterable.sol +19 -0
  253. package/contracts/test/TestRoleId.sol +14 -0
  254. package/contracts/test/TestService.sol +32 -0
  255. package/contracts/test/TestToken.sol +26 -0
  256. package/contracts/test/TestVersion.sol +44 -0
  257. package/contracts/test/TestVersionable.sol +17 -0
  258. package/contracts/test/Usdc.sol +26 -0
  259. package/contracts/types/AddressSet.sol +58 -0
  260. package/contracts/types/Fee.sol +39 -20
  261. package/contracts/types/Key32.sol +45 -0
  262. package/contracts/types/NftId.sol +22 -1
  263. package/contracts/types/NftIdSet.sol +60 -0
  264. package/contracts/types/ObjectType.sol +22 -14
  265. package/contracts/types/RoleId.sol +38 -0
  266. package/contracts/types/StateId.sol +13 -3
  267. package/contracts/types/Timestamp.sol +22 -1
  268. package/contracts/types/UFixed.sol +26 -23
  269. package/contracts/types/Version.sol +95 -0
  270. package/package.json +9 -3
  271. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  272. package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +0 -4
  273. package/artifacts/contracts/components/Component.sol/InstanceLinked.json +0 -35
  274. package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +0 -4
  275. package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +0 -4
  276. package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +0 -74
  277. package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +0 -4
  278. package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +0 -4
  279. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +0 -4
  280. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.json +0 -35
  281. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +0 -4
  282. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.json +0 -50
  283. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  284. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  285. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +0 -4
  286. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +0 -202
  287. package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +0 -4
  288. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +0 -4
  289. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  290. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +0 -4
  291. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +0 -141
  292. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +0 -4
  293. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  294. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.json +0 -134
  295. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycleModule.dbg.json +0 -4
  296. package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.dbg.json +0 -4
  297. package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.json +0 -221
  298. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  299. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  300. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  301. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  302. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  303. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  304. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +0 -4
  305. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.json +0 -75
  306. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +0 -4
  307. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.json +0 -127
  308. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +0 -4
  309. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +0 -4
  310. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +0 -196
  311. package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  312. package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  313. package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  314. package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.json +0 -45
  315. package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  316. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +0 -4
  317. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +0 -4
  318. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +0 -4
  319. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.json +0 -49
  320. package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +0 -4
  321. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +0 -4
  322. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +0 -60
  323. package/contracts/components/Component.sol +0 -77
  324. package/contracts/components/IPool.sol +0 -15
  325. package/contracts/instance/access/Access.sol +0 -165
  326. package/contracts/instance/access/IAccess.sol +0 -63
  327. package/contracts/instance/component/ComponentModule.sol +0 -274
  328. package/contracts/instance/component/IComponent.sol +0 -74
  329. package/contracts/instance/policy/IPolicy.sol +0 -50
  330. package/contracts/instance/policy/PolicyModule.sol +0 -114
  331. package/contracts/instance/pool/IPoolModule.sol +0 -23
  332. package/contracts/instance/pool/PoolModule.sol +0 -81
  333. package/contracts/instance/product/IProductService.sol +0 -36
  334. package/contracts/instance/product/ProductService.sol +0 -136
  335. package/contracts/instance/treasury/TokenHandler.sol +0 -24
@@ -16,6 +16,96 @@
16
16
  "stateMutability": "view",
17
17
  "type": "function"
18
18
  },
19
+ {
20
+ "inputs": [],
21
+ "name": "getChainNft",
22
+ "outputs": [
23
+ {
24
+ "internalType": "contract IChainNft",
25
+ "name": "",
26
+ "type": "address"
27
+ }
28
+ ],
29
+ "stateMutability": "view",
30
+ "type": "function"
31
+ },
32
+ {
33
+ "inputs": [],
34
+ "name": "getData",
35
+ "outputs": [
36
+ {
37
+ "internalType": "bytes",
38
+ "name": "data",
39
+ "type": "bytes"
40
+ }
41
+ ],
42
+ "stateMutability": "pure",
43
+ "type": "function"
44
+ },
45
+ {
46
+ "inputs": [
47
+ {
48
+ "internalType": "NftId",
49
+ "name": "nftId",
50
+ "type": "uint96"
51
+ }
52
+ ],
53
+ "name": "getName",
54
+ "outputs": [
55
+ {
56
+ "internalType": "string",
57
+ "name": "name",
58
+ "type": "string"
59
+ }
60
+ ],
61
+ "stateMutability": "view",
62
+ "type": "function"
63
+ },
64
+ {
65
+ "inputs": [],
66
+ "name": "getNftId",
67
+ "outputs": [
68
+ {
69
+ "internalType": "NftId",
70
+ "name": "nftId",
71
+ "type": "uint96"
72
+ }
73
+ ],
74
+ "stateMutability": "view",
75
+ "type": "function"
76
+ },
77
+ {
78
+ "inputs": [
79
+ {
80
+ "internalType": "address",
81
+ "name": "object",
82
+ "type": "address"
83
+ }
84
+ ],
85
+ "name": "getNftId",
86
+ "outputs": [
87
+ {
88
+ "internalType": "NftId",
89
+ "name": "id",
90
+ "type": "uint96"
91
+ }
92
+ ],
93
+ "stateMutability": "view",
94
+ "type": "function"
95
+ },
96
+ {
97
+ "inputs": [],
98
+ "name": "getObjectCount",
99
+ "outputs": [
100
+ {
101
+ "internalType": "uint256",
102
+ "name": "",
103
+ "type": "uint256"
104
+ }
105
+ ],
106
+ "stateMutability": "view",
107
+ "type": "function"
108
+ },
19
109
  {
20
110
  "inputs": [
21
111
  {
@@ -24,7 +114,7 @@
24
114
  "type": "uint96"
25
115
  }
26
116
  ],
27
- "name": "getInfo",
117
+ "name": "getObjectInfo",
28
118
  "outputs": [
29
119
  {
30
120
  "components": [
@@ -52,9 +142,14 @@
52
142
  "internalType": "address",
53
143
  "name": "initialOwner",
54
144
  "type": "address"
145
+ },
146
+ {
147
+ "internalType": "bytes",
148
+ "name": "data",
149
+ "type": "bytes"
55
150
  }
56
151
  ],
57
- "internalType": "struct IRegistry.RegistryInfo",
152
+ "internalType": "struct IRegistry.ObjectInfo",
58
153
  "name": "info",
59
154
  "type": "tuple"
60
155
  }
@@ -64,11 +159,11 @@
64
159
  },
65
160
  {
66
161
  "inputs": [],
67
- "name": "getNftAddress",
162
+ "name": "getOwner",
68
163
  "outputs": [
69
164
  {
70
165
  "internalType": "address",
71
- "name": "nft",
166
+ "name": "owner",
72
167
  "type": "address"
73
168
  }
74
169
  ],
@@ -77,17 +172,30 @@
77
172
  },
78
173
  {
79
174
  "inputs": [
175
+ {
176
+ "internalType": "NftId",
177
+ "name": "nftId",
178
+ "type": "uint96"
179
+ }
180
+ ],
181
+ "name": "getOwner",
182
+ "outputs": [
80
183
  {
81
184
  "internalType": "address",
82
- "name": "object",
185
+ "name": "",
83
186
  "type": "address"
84
187
  }
85
188
  ],
86
- "name": "getNftId",
189
+ "stateMutability": "view",
190
+ "type": "function"
191
+ },
192
+ {
193
+ "inputs": [],
194
+ "name": "getParentNftId",
87
195
  "outputs": [
88
196
  {
89
197
  "internalType": "NftId",
90
- "name": "id",
198
+ "name": "nftId",
91
199
  "type": "uint96"
92
200
  }
93
201
  ],
@@ -96,12 +204,25 @@
96
204
  },
97
205
  {
98
206
  "inputs": [],
99
- "name": "getObjectCount",
207
+ "name": "getProtocolOwner",
100
208
  "outputs": [
101
209
  {
102
- "internalType": "uint256",
210
+ "internalType": "address",
103
211
  "name": "",
104
- "type": "uint256"
212
+ "type": "address"
213
+ }
214
+ ],
215
+ "stateMutability": "view",
216
+ "type": "function"
217
+ },
218
+ {
219
+ "inputs": [],
220
+ "name": "getRegistry",
221
+ "outputs": [
222
+ {
223
+ "internalType": "contract IRegistry",
224
+ "name": "registry",
225
+ "type": "address"
105
226
  }
106
227
  ],
107
228
  "stateMutability": "view",
@@ -110,28 +231,51 @@
110
231
  {
111
232
  "inputs": [
112
233
  {
113
- "internalType": "NftId",
114
- "name": "nftId",
115
- "type": "uint96"
234
+ "internalType": "string",
235
+ "name": "serviceName",
236
+ "type": "string"
237
+ },
238
+ {
239
+ "internalType": "VersionPart",
240
+ "name": "majorVersion",
241
+ "type": "uint8"
116
242
  }
117
243
  ],
118
- "name": "getOwner",
244
+ "name": "getServiceAddress",
119
245
  "outputs": [
120
246
  {
121
247
  "internalType": "address",
122
- "name": "",
248
+ "name": "serviceAddress",
123
249
  "type": "address"
124
250
  }
125
251
  ],
126
252
  "stateMutability": "view",
127
253
  "type": "function"
128
254
  },
255
+ {
256
+ "inputs": [],
257
+ "name": "getType",
258
+ "outputs": [
259
+ {
260
+ "internalType": "ObjectType",
261
+ "name": "objectType",
262
+ "type": "uint8"
263
+ }
264
+ ],
265
+ "stateMutability": "pure",
266
+ "type": "function"
267
+ },
129
268
  {
130
269
  "inputs": [
131
270
  {
132
271
  "internalType": "address",
133
272
  "name": "chainNft",
134
273
  "type": "address"
274
+ },
275
+ {
276
+ "internalType": "address",
277
+ "name": "protocolOwner",
278
+ "type": "address"
135
279
  }
136
280
  ],
137
281
  "name": "initialize",
@@ -158,6 +302,38 @@
158
302
  "stateMutability": "view",
159
303
  "type": "function"
160
304
  },
305
+ {
306
+ "inputs": [
307
+ {
308
+ "internalType": "NftId",
309
+ "name": "nftId",
310
+ "type": "uint96"
311
+ }
312
+ ],
313
+ "name": "isRegistered",
314
+ "outputs": [
315
+ {
316
+ "internalType": "bool",
317
+ "name": "",
318
+ "type": "bool"
319
+ }
320
+ ],
321
+ "stateMutability": "view",
322
+ "type": "function"
323
+ },
324
+ {
325
+ "inputs": [],
326
+ "name": "register",
327
+ "outputs": [
328
+ {
329
+ "internalType": "NftId",
330
+ "name": "nftId",
331
+ "type": "uint96"
332
+ }
333
+ ],
334
+ "stateMutability": "pure",
335
+ "type": "function"
336
+ },
161
337
  {
162
338
  "inputs": [
163
339
  {
@@ -193,6 +369,11 @@
193
369
  "internalType": "address",
194
370
  "name": "initialOwner",
195
371
  "type": "address"
372
+ },
373
+ {
374
+ "internalType": "bytes",
375
+ "name": "data",
376
+ "type": "bytes"
196
377
  }
197
378
  ],
198
379
  "name": "registerObjectForInstance",
@@ -205,28 +386,55 @@
205
386
  ],
206
387
  "stateMutability": "nonpayable",
207
388
  "type": "function"
389
+ },
390
+ {
391
+ "inputs": [
392
+ {
393
+ "internalType": "bytes4",
394
+ "name": "interfaceId",
395
+ "type": "bytes4"
396
+ }
397
+ ],
398
+ "name": "supportsInterface",
399
+ "outputs": [
400
+ {
401
+ "internalType": "bool",
402
+ "name": "",
403
+ "type": "bool"
404
+ }
405
+ ],
406
+ "stateMutability": "pure",
407
+ "type": "function"
208
408
  }
209
409
  ],
210
- "bytecode": "0x608060405234801561001057600080fd5b50611e73806100206000396000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c8063be9a71bd11610066578063be9a71bd1461016f578063c3c5a5471461018d578063c4d66de8146101bd578063d272ac1e146101d9578063df33330b146102095761009e565b80631a848cfb146100a35780631d1b0cac146100c15780633fe9300e146100f15780634420e4861461010f5780634c3371cd1461013f575b600080fd5b6100ab610239565b6040516100b891906115a2565b60405180910390f35b6100db60048036038101906100d6919061169d565b6102d1565b6040516100e8919061172b565b60405180910390f35b6100f96105c8565b60405161010691906117d6565b60405180910390f35b610129600480360381019061012491906117f8565b6105db565b604051610136919061172b565b60405180910390f35b61015960048036038101906101549190611825565b610fa0565b6040516101669190611909565b60405180910390f35b61017761112d565b6040516101849190611933565b60405180910390f35b6101a760048036038101906101a291906117f8565b611157565b6040516101b49190611969565b60405180910390f35b6101d760048036038101906101d291906117f8565b61123f565b005b6101f360048036038101906101ee91906117f8565b611314565b604051610200919061172b565b60405180910390f35b610223600480360381019061021e9190611825565b611375565b6040516102309190611933565b60405180910390f35b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102cc91906119b0565b905090565b60006102e4836102df6114a1565b6114b2565b806102fc57506102fb836102f66114c5565b6114b2565b5b61033b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161033290611a29565b60405180910390fd5b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0def52184604051806020016040528060008152506040518363ffffffff1660e01b81526004016103a9929190611a49565b6020604051808303816000875af11580156103c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103ec91906119b0565b90506103f7816114d6565b915060006040518060a00160405280846bffffffffffffffffffffffff168152602001876bffffffffffffffffffffffff1681526020018660ff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff16815250905080600080856bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550602082015181600001600c6101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff16021790555060408201518160000160186101000a81548160ff021916908360ff16021790555060608201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555090505050509392505050565b6040518060200160405280600081525081565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff1673__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__6352694ee890916040518263ffffffff1660e01b815260040161067b9190611a88565b602060405180830381865af4158015610698573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bc9190611acf565b6106fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106f290611b48565b60405180910390fd5b60008290508073ffffffffffffffffffffffffffffffffffffffff166379e829d06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561074b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076f9190611acf565b6107ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a590611bb4565b60405180910390fd5b61082d8173ffffffffffffffffffffffffffffffffffffffff166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107fc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108209190611be9565b6108286114e0565b6114f1565b15610aef5760008060008373ffffffffffffffffffffffffffffffffffffffff166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610882573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a69190611c2b565b6bffffffffffffffffffffffff166bffffffffffffffffffffffff1681526020019081526020016000206040518060a00160405290816000820160009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200160008201600c9054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff1681526020016000820160189054906101000a900460ff1660ff1660ff1681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681525050905080600001516bffffffffffffffffffffffff1673__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__6330b8415f90916040518263ffffffff1660e01b8152600401610a6d9190611a88565b602060405180830381865af4158015610a8a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aae9190611acf565b610aed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae490611ca4565b60405180910390fd5b505b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0def5218373ffffffffffffffffffffffffffffffffffffffff1663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b7a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b9e9190611cd9565b604051806020016040528060008152506040518363ffffffff1660e01b8152600401610bcb929190611a49565b6020604051808303816000875af1158015610bea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0e91906119b0565b9050610c19816114d6565b925060006040518060a00160405280856bffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cab9190611c2b565b6bffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d2d9190611be9565b60ff1681526020018673ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d9c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc09190611cd9565b73ffffffffffffffffffffffffffffffffffffffff16815250905080600080866bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550602082015181600001600c6101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff16021790555060408201518160000160186101000a81548160ff021916908360ff16021790555060608201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555090505083600260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550505050919050565b610fa861150f565b600080836bffffffffffffffffffffffff166bffffffffffffffffffffffff1681526020019081526020016000206040518060a00160405290816000820160009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200160008201600c9054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff1681526020016000820160189054906101000a900460ff1660ff1660ff1681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050919050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff1673__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__6330b8415f90916040518263ffffffff1660e01b81526004016111f79190611a88565b602060405180830381865af4158015611214573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112389190611acf565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146112d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c790611d78565b60405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a90046bffffffffffffffffffffffff169050919050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836bffffffffffffffffffffffff1673__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__6308dc895e90916040518263ffffffff1660e01b81526004016113fc9190611a88565b602060405180830381865af4158015611419573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061143d9190611dc4565b6040518263ffffffff1660e01b81526004016114599190611e22565b602060405180830381865afa158015611476573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061149a9190611cd9565b9050919050565b60006114ad605a611505565b905090565b60008160ff168360ff1614905092915050565b60006114d16051611505565b905090565b6000819050919050565b60006114ec6032611505565b905090565b60008160ff168360ff161415905092915050565b6000819050919050565b6040518060a0016040528060006bffffffffffffffffffffffff16815260200160006bffffffffffffffffffffffff168152602001600060ff168152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681525090565b6000819050919050565b61159c81611589565b82525050565b60006020820190506115b76000830184611593565b92915050565b600080fd5b60006bffffffffffffffffffffffff82169050919050565b6115e3816115c2565b81146115ee57600080fd5b50565b600081359050611600816115da565b92915050565b600060ff82169050919050565b61161c81611606565b811461162757600080fd5b50565b60008135905061163981611613565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061166a8261163f565b9050919050565b61167a8161165f565b811461168557600080fd5b50565b60008135905061169781611671565b92915050565b6000806000606084860312156116b6576116b56115bd565b5b60006116c4868287016115f1565b93505060206116d58682870161162a565b92505060406116e686828701611688565b9150509250925092565b6000819050919050565b600061171561171061170b846115c2565b6116f0565b6115c2565b9050919050565b611725816116fa565b82525050565b6000602082019050611740600083018461171c565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611780578082015181840152602081019050611765565b60008484015250505050565b6000601f19601f8301169050919050565b60006117a882611746565b6117b28185611751565b93506117c2818560208601611762565b6117cb8161178c565b840191505092915050565b600060208201905081810360008301526117f0818461179d565b905092915050565b60006020828403121561180e5761180d6115bd565b5b600061181c84828501611688565b91505092915050565b60006020828403121561183b5761183a6115bd565b5b6000611849848285016115f1565b91505092915050565b61185b816116fa565b82525050565b600061187c61187761187284611606565b6116f0565b611606565b9050919050565b61188c81611861565b82525050565b61189b8161165f565b82525050565b60a0820160008201516118b76000850182611852565b5060208201516118ca6020850182611852565b5060408201516118dd6040850182611883565b5060608201516118f06060850182611892565b5060808201516119036080850182611892565b50505050565b600060a08201905061191e60008301846118a1565b92915050565b61192d8161165f565b82525050565b60006020820190506119486000830184611924565b92915050565b60008115159050919050565b6119638161194e565b82525050565b600060208201905061197e600083018461195a565b92915050565b61198d81611589565b811461199857600080fd5b50565b6000815190506119aa81611984565b92915050565b6000602082840312156119c6576119c56115bd565b5b60006119d48482850161199b565b91505092915050565b7f4552524f523a5245472d3030353a545950455f494e56414c4944000000000000600082015250565b6000611a13601a83611751565b9150611a1e826119dd565b602082019050919050565b60006020820190508181036000830152611a4281611a06565b9050919050565b6000604082019050611a5e6000830185611924565b8181036020830152611a70818461179d565b90509392505050565b611a82816116fa565b82525050565b6000602082019050611a9d6000830184611a79565b92915050565b611aac8161194e565b8114611ab757600080fd5b50565b600081519050611ac981611aa3565b92915050565b600060208284031215611ae557611ae46115bd565b5b6000611af384828501611aba565b91505092915050565b7f4552524f523a5245472d3030323a414c52454144595f52454749535445524544600082015250565b6000611b32602083611751565b9150611b3d82611afc565b602082019050919050565b60006020820190508181036000830152611b6181611b25565b9050919050565b7f4552524f523a5245472d3030333a4e4f545f524547495354455241424c450000600082015250565b6000611b9e601e83611751565b9150611ba982611b68565b602082019050919050565b60006020820190508181036000830152611bcd81611b91565b9050919050565b600081519050611be381611613565b92915050565b600060208284031215611bff57611bfe6115bd565b5b6000611c0d84828501611bd4565b91505092915050565b600081519050611c25816115da565b92915050565b600060208284031215611c4157611c406115bd565b5b6000611c4f84828501611c16565b91505092915050565b7f4552524f523a5245472d3030343a504152454e545f4e4f545f464f554e440000600082015250565b6000611c8e601e83611751565b9150611c9982611c58565b602082019050919050565b60006020820190508181036000830152611cbd81611c81565b9050919050565b600081519050611cd381611671565b92915050565b600060208284031215611cef57611cee6115bd565b5b6000611cfd84828501611cc4565b91505092915050565b7f4552524f523a5245472d3030313a414c52454144595f494e495449414c495a4560008201527f4400000000000000000000000000000000000000000000000000000000000000602082015250565b6000611d62602183611751565b9150611d6d82611d06565b604082019050919050565b60006020820190508181036000830152611d9181611d55565b9050919050565b611da1816115c2565b8114611dac57600080fd5b50565b600081519050611dbe81611d98565b92915050565b600060208284031215611dda57611dd96115bd565b5b6000611de884828501611daf565b91505092915050565b6000611e0c611e07611e02846115c2565b6116f0565b611589565b9050919050565b611e1c81611df1565b82525050565b6000602082019050611e376000830184611e13565b9291505056fea26469706673582212204a47e9285b6819698384ca55ed8fc78031f9bb3dd741dd807f34165d9cc0510f64736f6c63430008140033",
211
- "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061009e5760003560e01c8063be9a71bd11610066578063be9a71bd1461016f578063c3c5a5471461018d578063c4d66de8146101bd578063d272ac1e146101d9578063df33330b146102095761009e565b80631a848cfb146100a35780631d1b0cac146100c15780633fe9300e146100f15780634420e4861461010f5780634c3371cd1461013f575b600080fd5b6100ab610239565b6040516100b891906115a2565b60405180910390f35b6100db60048036038101906100d6919061169d565b6102d1565b6040516100e8919061172b565b60405180910390f35b6100f96105c8565b60405161010691906117d6565b60405180910390f35b610129600480360381019061012491906117f8565b6105db565b604051610136919061172b565b60405180910390f35b61015960048036038101906101549190611825565b610fa0565b6040516101669190611909565b60405180910390f35b61017761112d565b6040516101849190611933565b60405180910390f35b6101a760048036038101906101a291906117f8565b611157565b6040516101b49190611969565b60405180910390f35b6101d760048036038101906101d291906117f8565b61123f565b005b6101f360048036038101906101ee91906117f8565b611314565b604051610200919061172b565b60405180910390f35b610223600480360381019061021e9190611825565b611375565b6040516102309190611933565b60405180910390f35b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102cc91906119b0565b905090565b60006102e4836102df6114a1565b6114b2565b806102fc57506102fb836102f66114c5565b6114b2565b5b61033b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161033290611a29565b60405180910390fd5b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0def52184604051806020016040528060008152506040518363ffffffff1660e01b81526004016103a9929190611a49565b6020604051808303816000875af11580156103c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103ec91906119b0565b90506103f7816114d6565b915060006040518060a00160405280846bffffffffffffffffffffffff168152602001876bffffffffffffffffffffffff1681526020018660ff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff16815250905080600080856bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550602082015181600001600c6101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff16021790555060408201518160000160186101000a81548160ff021916908360ff16021790555060608201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555090505050509392505050565b6040518060200160405280600081525081565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff1673__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__6352694ee890916040518263ffffffff1660e01b815260040161067b9190611a88565b602060405180830381865af4158015610698573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bc9190611acf565b6106fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106f290611b48565b60405180910390fd5b60008290508073ffffffffffffffffffffffffffffffffffffffff166379e829d06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561074b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076f9190611acf565b6107ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a590611bb4565b60405180910390fd5b61082d8173ffffffffffffffffffffffffffffffffffffffff166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107fc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108209190611be9565b6108286114e0565b6114f1565b15610aef5760008060008373ffffffffffffffffffffffffffffffffffffffff166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610882573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a69190611c2b565b6bffffffffffffffffffffffff166bffffffffffffffffffffffff1681526020019081526020016000206040518060a00160405290816000820160009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200160008201600c9054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff1681526020016000820160189054906101000a900460ff1660ff1660ff1681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681525050905080600001516bffffffffffffffffffffffff1673__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__6330b8415f90916040518263ffffffff1660e01b8152600401610a6d9190611a88565b602060405180830381865af4158015610a8a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aae9190611acf565b610aed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae490611ca4565b60405180910390fd5b505b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0def5218373ffffffffffffffffffffffffffffffffffffffff1663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b7a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b9e9190611cd9565b604051806020016040528060008152506040518363ffffffff1660e01b8152600401610bcb929190611a49565b6020604051808303816000875af1158015610bea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0e91906119b0565b9050610c19816114d6565b925060006040518060a00160405280856bffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cab9190611c2b565b6bffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d2d9190611be9565b60ff1681526020018673ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1663fb2cb1016040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d9c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc09190611cd9565b73ffffffffffffffffffffffffffffffffffffffff16815250905080600080866bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550602082015181600001600c6101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff16021790555060408201518160000160186101000a81548160ff021916908360ff16021790555060608201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555090505083600260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550505050919050565b610fa861150f565b600080836bffffffffffffffffffffffff166bffffffffffffffffffffffff1681526020019081526020016000206040518060a00160405290816000820160009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815260200160008201600c9054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff1681526020016000820160189054906101000a900460ff1660ff1660ff1681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050919050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff1673__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__6330b8415f90916040518263ffffffff1660e01b81526004016111f79190611a88565b602060405180830381865af4158015611214573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112389190611acf565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146112d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c790611d78565b60405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a90046bffffffffffffffffffffffff169050919050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836bffffffffffffffffffffffff1673__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__6308dc895e90916040518263ffffffff1660e01b81526004016113fc9190611a88565b602060405180830381865af4158015611419573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061143d9190611dc4565b6040518263ffffffff1660e01b81526004016114599190611e22565b602060405180830381865afa158015611476573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061149a9190611cd9565b9050919050565b60006114ad605a611505565b905090565b60008160ff168360ff1614905092915050565b60006114d16051611505565b905090565b6000819050919050565b60006114ec6032611505565b905090565b60008160ff168360ff161415905092915050565b6000819050919050565b6040518060a0016040528060006bffffffffffffffffffffffff16815260200160006bffffffffffffffffffffffff168152602001600060ff168152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681525090565b6000819050919050565b61159c81611589565b82525050565b60006020820190506115b76000830184611593565b92915050565b600080fd5b60006bffffffffffffffffffffffff82169050919050565b6115e3816115c2565b81146115ee57600080fd5b50565b600081359050611600816115da565b92915050565b600060ff82169050919050565b61161c81611606565b811461162757600080fd5b50565b60008135905061163981611613565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061166a8261163f565b9050919050565b61167a8161165f565b811461168557600080fd5b50565b60008135905061169781611671565b92915050565b6000806000606084860312156116b6576116b56115bd565b5b60006116c4868287016115f1565b93505060206116d58682870161162a565b92505060406116e686828701611688565b9150509250925092565b6000819050919050565b600061171561171061170b846115c2565b6116f0565b6115c2565b9050919050565b611725816116fa565b82525050565b6000602082019050611740600083018461171c565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611780578082015181840152602081019050611765565b60008484015250505050565b6000601f19601f8301169050919050565b60006117a882611746565b6117b28185611751565b93506117c2818560208601611762565b6117cb8161178c565b840191505092915050565b600060208201905081810360008301526117f0818461179d565b905092915050565b60006020828403121561180e5761180d6115bd565b5b600061181c84828501611688565b91505092915050565b60006020828403121561183b5761183a6115bd565b5b6000611849848285016115f1565b91505092915050565b61185b816116fa565b82525050565b600061187c61187761187284611606565b6116f0565b611606565b9050919050565b61188c81611861565b82525050565b61189b8161165f565b82525050565b60a0820160008201516118b76000850182611852565b5060208201516118ca6020850182611852565b5060408201516118dd6040850182611883565b5060608201516118f06060850182611892565b5060808201516119036080850182611892565b50505050565b600060a08201905061191e60008301846118a1565b92915050565b61192d8161165f565b82525050565b60006020820190506119486000830184611924565b92915050565b60008115159050919050565b6119638161194e565b82525050565b600060208201905061197e600083018461195a565b92915050565b61198d81611589565b811461199857600080fd5b50565b6000815190506119aa81611984565b92915050565b6000602082840312156119c6576119c56115bd565b5b60006119d48482850161199b565b91505092915050565b7f4552524f523a5245472d3030353a545950455f494e56414c4944000000000000600082015250565b6000611a13601a83611751565b9150611a1e826119dd565b602082019050919050565b60006020820190508181036000830152611a4281611a06565b9050919050565b6000604082019050611a5e6000830185611924565b8181036020830152611a70818461179d565b90509392505050565b611a82816116fa565b82525050565b6000602082019050611a9d6000830184611a79565b92915050565b611aac8161194e565b8114611ab757600080fd5b50565b600081519050611ac981611aa3565b92915050565b600060208284031215611ae557611ae46115bd565b5b6000611af384828501611aba565b91505092915050565b7f4552524f523a5245472d3030323a414c52454144595f52454749535445524544600082015250565b6000611b32602083611751565b9150611b3d82611afc565b602082019050919050565b60006020820190508181036000830152611b6181611b25565b9050919050565b7f4552524f523a5245472d3030333a4e4f545f524547495354455241424c450000600082015250565b6000611b9e601e83611751565b9150611ba982611b68565b602082019050919050565b60006020820190508181036000830152611bcd81611b91565b9050919050565b600081519050611be381611613565b92915050565b600060208284031215611bff57611bfe6115bd565b5b6000611c0d84828501611bd4565b91505092915050565b600081519050611c25816115da565b92915050565b600060208284031215611c4157611c406115bd565b5b6000611c4f84828501611c16565b91505092915050565b7f4552524f523a5245472d3030343a504152454e545f4e4f545f464f554e440000600082015250565b6000611c8e601e83611751565b9150611c9982611c58565b602082019050919050565b60006020820190508181036000830152611cbd81611c81565b9050919050565b600081519050611cd381611671565b92915050565b600060208284031215611cef57611cee6115bd565b5b6000611cfd84828501611cc4565b91505092915050565b7f4552524f523a5245472d3030313a414c52454144595f494e495449414c495a4560008201527f4400000000000000000000000000000000000000000000000000000000000000602082015250565b6000611d62602183611751565b9150611d6d82611d06565b604082019050919050565b60006020820190508181036000830152611d9181611d55565b9050919050565b611da1816115c2565b8114611dac57600080fd5b50565b600081519050611dbe81611d98565b92915050565b600060208284031215611dda57611dd96115bd565b5b6000611de884828501611daf565b91505092915050565b6000611e0c611e07611e02846115c2565b6116f0565b611589565b9050919050565b611e1c81611df1565b82525050565b6000602082019050611e376000830184611e13565b9291505056fea26469706673582212204a47e9285b6819698384ca55ed8fc78031f9bb3dd741dd807f34165d9cc0510f64736f6c63430008140033",
410
+ "bytecode": "0x608060405234801561001057600080fd5b5061260b806100206000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c80635ef14b5e116100b8578063bc36dc911161007c578063bc36dc91146102ad578063c3c5a547146102c5578063d272ac1e146102d8578063df33330b1461030a578063e74d052f1461031d578063f16f93c21461033057600080fd5b80635ef14b5e1461024e578063644c45e014610261578063893d20e814610272578063a3bcd81d1461027a578063a48f42e01461028d57600080fd5b806331b62a3b1161010a57806331b62a3b146101e55780633bc5de30146101ed5780633fe9300e1461020a5780634420e48614610220578063485cc955146102335780635ab1bd531461024857600080fd5b8063015654ff1461014757806301ffc9a71461017157806315dae03e146101a55780631a848cfb146101b45780631aa3a008146101ca575b600080fd5b600a546001600160a01b03165b6040516001600160a01b0390911681526020015b60405180910390f35b61019561017f36600461201a565b6001600160e01b0319166306ecd8ef60e01b1490565b6040519015158152602001610168565b60405160148152602001610168565b6101bc610348565b604051908152602001610168565b60005b6040516001600160601b039091168152602001610168565b6101cd6103c1565b6040805160208101909152600081525b604051610168919061209b565b6101fd6040518060200160405280600081525081565b6101cd61022e3660046120c6565b610488565b6102466102413660046120e3565b610c5c565b005b30610154565b6101cd61025c3660046121ed565b610d61565b6007546001600160601b03166101cd565b610154610fcf565b610154610288366004612276565b6110d2565b6102a061029b3660046122d1565b611128565b60405161016891906122ee565b600754600160601b90046001600160a01b0316610154565b6101956102d33660046120c6565b61126a565b6101cd6102e63660046120c6565b6001600160a01b03166000908152600260205260409020546001600160601b031690565b6101546103183660046122d1565b611307565b61019561032b3660046122d1565b611408565b6101fd61033e3660046122d1565b611462565b905090565b60006007600c9054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561039d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103439190612361565b60004660010361043d5760085460408051632cc7144960e11b81529051610343926001600160a01b03169163598e28929160048083019260209291908290030181865afa158015610416573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061043a9190612361565b90565b60085460408051632e85b1f360e01b81529051610343926001600160a01b031691632e85b1f39160048083019260209291908290030181865afa158015610416573d6000803e3d6000fd5b6001600160a01b038116600090815260026020526040808220549051630a4d29dd60e31b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af41580156104fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051e919061237a565b61056f5760405162461bcd60e51b815260206004820181905260248201527f4552524f523a5245472d3030323a414c52454144595f5245474953544552454460448201526064015b60405180910390fd5b6040516301ffc9a760e01b8152631dfba64760e11b600482015282906001600160a01b038216906301ffc9a790602401602060405180830381865afa1580156105bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e0919061237a565b61062c5760405162461bcd60e51b815260206004820152601e60248201527f4552524f523a5245472d3030333a4e4f545f524547495354455241424c4500006044820152606401610566565b6000816001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561066c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610690919061239c565b60ff808216600090815260036020526040902054919250166106f45760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5245472d3030343a545950455f494e56414c49440000000000006044820152606401610566565b6000826001600160a01b03166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610734573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075891906123b9565b905061076381611408565b6107bb5760405162461bcd60e51b815260206004820152602360248201527f4552524f523a5245472d3030353a504152454e545f4e4f545f5245474953544560448201526214915160ea1b6064820152608401610566565b60ff80831660009081526004602090815260408083206001600160601b038616845283835281842054600160c01b9004851684529091529020541661084c5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a5245472d3030363a504152454e545f545950455f494e56414c496044820152601160fa1b6064820152608401610566565b60006007600c9054906101000a90046001600160a01b03166001600160a01b031663d0def521856001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d491906123d6565b604051806020016040528060008152506040518363ffffffff1660e01b81526004016109019291906123f3565b6020604051808303816000875af1158015610920573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109449190612361565b90508094506109bc846001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561098a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ae919061239c565b60285b60ff90811691161490565b15610c49576040516301ffc9a760e01b8152631b4612f160e31b600482015286906001600160a01b038216906301ffc9a790602401602060405180830381865afa158015610a0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a32919061237a565b610a7e5760405162461bcd60e51b815260206004820152601960248201527f4552524f523a5245472d3030373a4e4f545f53455256494345000000000000006044820152606401610566565b6000816001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015610abe573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ae69190810190612447565b90506000826001600160a01b031663cde749f46040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b4c919061239c565b9050600082604051602001610b61919061209b565b60408051601f1981840301815291815281516020928301206001600160601b038c16600090815260059093529120909150610b9c8482612515565b50600081815260066020908152604080832060ff861684529091529020546001600160a01b031615610c105760405162461bcd60e51b815260206004820181905260248201527f4552524f523a5245472d3030383a414c52454144595f524547495354455245446044820152606401610566565b600090815260066020908152604080832060ff9490941683529290522080546001600160a01b0319166001600160a01b038a1617905550505b610c53848661150e565b50505050919050565b600754600160601b90046001600160a01b031615610cc65760405162461bcd60e51b815260206004820152602160248201527f4552524f523a5245472d3030313a414c52454144595f494e495449414c495a456044820152601160fa1b6064820152608401610566565b60098054336001600160a01b031991821617909155600a805482166001600160a01b0384811691909117909155600780546001600160601b0316600160601b92861692830217905560088054909216179055610d206117e2565b610d286119de565b600780546bffffffffffffffffffffffff19166001600160601b0392909216919091179055610d55611b50565b610d5d611d02565b5050565b6000610d6e8460c86109b1565b80610d7f5750610d7f8460d26109b1565b610dcb5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5245472d3031303a545950455f494e56414c49440000000000006044820152606401610566565b600754604080516020810182526000808252915163d0def52160e01b81529192600160601b90046001600160a01b03169163d0def52191610e11918891906004016123f3565b6020604051808303816000875af1158015610e30573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e549190612361565b905080915060006040518060c00160405280846001600160601b03168152602001886001600160601b031681526020018760ff16815260200160006001600160a01b03168152602001866001600160a01b0316815260200185815250905080600080856001600160601b03166001600160601b0316815260200190815260200160002060008201518160000160006101000a8154816001600160601b0302191690836001600160601b03160217905550602082015181600001600c6101000a8154816001600160601b0302191690836001600160601b0316021790555060408201518160000160186101000a81548160ff021916908360ff16021790555060608201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060808201518160020160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a0820151816003019081610fc19190612515565b509050505050949350505050565b6007546040516330b8415f60e01b81526001600160601b03909116600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561102e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611052919061237a565b61106657506009546001600160a01b031690565b60075460405163df33330b60e01b81526001600160601b039091166004820152309063df33330b90602401602060405180830381865afa1580156110ae573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061034391906123d6565b600080836040516020016110e6919061209b565b60408051601f19818403018152918152815160209283012060009081526006835281812060ff871682529092529020546001600160a01b031691505092915050565b6040805160c0810182526000808252602082018190529181018290526060808201839052608082019290925260a08101919091526001600160601b0382811660009081526020818152604091829020825160c08101845281548086168252600160601b810490951692810192909252600160c01b90930460ff169181019190915260018201546001600160a01b039081166060830152600283015416608082015260038201805491929160a0840191906111e190612490565b80601f016020809104026020016040519081016040528092919081815260200182805461120d90612490565b801561125a5780601f1061122f5761010080835404028352916020019161125a565b820191906000526020600020905b81548152906001019060200180831161123d57829003601f168201915b5050505050815250509050919050565b6001600160a01b0381166000908152600260205260408082205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f906024015b602060405180830381865af41580156112dd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611301919061237a565b92915050565b60075460405163046e44af60e11b81526001600160601b0383166004820152600091600160601b90046001600160a01b031690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e90602401602060405180830381865af415801561137c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113a091906123b9565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa1580156113e4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061130191906123d6565b6001600160601b03811660009081526020819052604080822054905163b2466acf60e01b8152600160c01b90910460ff16600482015273__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf906024016112c0565b6001600160601b038116600090815260056020526040902080546060919061148990612490565b80601f01602080910402602001604051908101604052809291908181526020018280546114b590612490565b80156115025780601f106114d757610100808354040283529160200191611502565b820191906000526020600020905b8154815290600101906020018083116114e557829003601f168201915b50505050509050919050565b600082905060006040518060c00160405280846001600160601b03168152602001856001600160a01b03166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561156d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061159191906123b9565b6001600160601b03168152602001856001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115dd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611601919061239c565b60ff168152602001836001600160a01b03168152602001856001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611656573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061167a91906123d6565b6001600160a01b03168152602001856001600160a01b0316633bc5de306040518163ffffffff1660e01b8152600401600060405180830381865afa1580156116c6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116ee9190810190612447565b90526001600160601b038085166000908152602081815260409182902084518154928601519386015160ff16600160c01b0260ff60c01b19948616600160601b026001600160c01b03199094169190951617919091179190911691909117815560608201516001820180546001600160a01b039283166001600160a01b031991821617909155608084015160028401805491909316911617905560a0820151919250829160038201906117a19082612515565b505050506001600160a01b0316600090815260026020526040902080546bffffffffffffffffffffffff19166001600160601b039290921691909117905550565b60085460408051632cc7144960e11b815290516000926001600160a01b03169163598e28929160048083019260209291908290030181865afa15801561182c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118509190612361565b600854600a546040516340c10f1960e01b81526001600160a01b0391821660048201526024810184905292935016906340c10f1990604401600060405180830381600087803b1580156118a257600080fd5b505af11580156118b6573d6000803e3d6000fd5b5050505060006118c38290565b905060006040518060c00160405280836001600160601b031681526020016118e9600090565b6001600160601b03168152602001600a5b60ff908116825260006020808401829052600a546001600160a01b03908116604080870191909152805180840182528481526060968701526001600160601b03808a16855284845293819020875181549489015192890151909616600160c01b0260ff60c01b19928616600160601b026001600160c01b031990951696909516959095179290921791909116919091178255918301516001820180549184166001600160a01b031992831617905560808401516002830180549190941691161790915560a0820151919250829160038201906119d69082612515565b505050505050565b600854604051630559ea4760e01b81526002600482015260009182916001600160a01b0390911690630559ea4790602401602060405180830381865afa158015611a2c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a509190612361565b9050809150600860009054906101000a90046001600160a01b03166001600160a01b0316632e85b1f36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611aa8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611acc9190612361565b8114611ada57611ada611eb0565b600854600a546040516340c10f1960e01b81526001600160a01b039182166004820152602481018490529116906340c10f1990604401600060405180830381600087803b158015611b2a57600080fd5b505af1158015611b3e573d6000803e3d6000fd5b50505050611b4c308361150e565b5090565b600360208190527f0ffe031ee7f67944a037276fd51f48fcc2fe05a729c43144606bc8777da8014f8054600160ff1991821681179092557f6117fee2f1274e1b392d2c3fe842478040a980d896757f38cbfe2ceebfa9f55f80548216831790557ff787d5ff306ee7ea1d7b35b5cacd5a837646921c113945dbc3a3b6329ce4003380548216831790557f3ba015d6b845e102ce2f76836007be82508e3543856f2a3c2ff4b56eb46d920e80548216831790557f01c8d1bf01472944f62fa726559c57c955f3535856e865cee78082252c0dbe6580548216831790557f6b16ef514f22b74729cbea5cc7babfecbdc2309e530ca716643d11fe929eed2e80548216831790557fe372c44748f4c2908ae7c0a1dc553464478b0394f70953faecd55173b039317c80548216831790557fc3d073881ce0daff4d900012573fe3b8d5b283519b2f509e59d1b978e7cf0fc5805482168317905560c860009081527f4ee5ee9bffee16640c2540fd7f6965fdc66a7e5f780f34dcd70130941a3eae078054909216831790915590919060d25b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f6ccc4a05ba84db57b26e1eca724a26bc49e11eb3a3513975525da73fd093530d8054600160ff1991821681179092557f4c2b21eba089fcb614eba18217d4f3f95e42177ede89c079f86306b133497c3080548216831790557faa0e0fe5d9929c265201b796d5196a8fc79d16a288275314ff2973541d58721a80548216831790557f23854806efa1d194aae4b21bf1927e22d50453dfa23086ded38c40c8955c637e80548216831790557fbdc45962c4e89b26bf7a29a39eab560d17e5064145716460fdc5986ae2da49bc80548216831790557f41f7e94f80001b9d612ad252f2dc06b77c5cc502088b7ac7f3641fc95d4a34e180548216831790557f2662d582402060579dffef7773c6b43725228b20e70069c9a8314d21465c105280548216831790557fecd1272a2d7402e39704b78db8ea4bd00d629fbfc046e55cc6c9d5ee5e9e5e7880548216831790557f5e5bbf8b42bd7b6d1aeb3e362a8afc07dddf1cd72e2816d91748f633a63aabc0805490911682179055603c600090815260046020527f2fc109324a9702a6c6d9ee4cb191009203224963472d729f754fd607ea2f8fd0906082611cde565b60085460408051632e85b1f360e01b815290516000926001600160a01b031691632e85b1f39160048083019260209291908290030181865afa158015611efa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f1e9190612361565b600854600a546040516340c10f1960e01b81526001600160a01b0391821660048201526024810184905292935016906340c10f1990604401600060405180830381600087803b158015611f7057600080fd5b505af1158015611f84573d6000803e3d6000fd5b505050506000611f918290565b905060006040518060c00160405280836001600160601b03168152602001612005600860009054906101000a90046001600160a01b03166001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa158015610416573d6000803e3d6000fd5b6001600160601b0316815260200160146118fa565b60006020828403121561202c57600080fd5b81356001600160e01b03198116811461204457600080fd5b9392505050565b60005b8381101561206657818101518382015260200161204e565b50506000910152565b6000815180845261208781602086016020860161204b565b601f01601f19169290920160200192915050565b602081526000612044602083018461206f565b6001600160a01b03811681146120c357600080fd5b50565b6000602082840312156120d857600080fd5b8135612044816120ae565b600080604083850312156120f657600080fd5b8235612101816120ae565b91506020830135612111816120ae565b809150509250929050565b6001600160601b03811681146120c357600080fd5b60ff811681146120c357600080fd5b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561217f5761217f612140565b604052919050565b600067ffffffffffffffff8211156121a1576121a1612140565b50601f01601f191660200190565b60006121c26121bd84612187565b612156565b90508281528383830111156121d657600080fd5b828260208301376000602084830101529392505050565b6000806000806080858703121561220357600080fd5b843561220e8161211c565b9350602085013561221e81612131565b9250604085013561222e816120ae565b9150606085013567ffffffffffffffff81111561224a57600080fd5b8501601f8101871361225b57600080fd5b61226a878235602084016121af565b91505092959194509250565b6000806040838503121561228957600080fd5b823567ffffffffffffffff8111156122a057600080fd5b8301601f810185136122b157600080fd5b6122c0858235602084016121af565b925050602083013561211181612131565b6000602082840312156122e357600080fd5b81356120448161211c565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff6040840151166060830152606083015160018060a01b0380821660808501528060808601511660a0850152505060a083015160c08084015261235960e084018261206f565b949350505050565b60006020828403121561237357600080fd5b5051919050565b60006020828403121561238c57600080fd5b8151801515811461204457600080fd5b6000602082840312156123ae57600080fd5b815161204481612131565b6000602082840312156123cb57600080fd5b81516120448161211c565b6000602082840312156123e857600080fd5b8151612044816120ae565b6001600160a01b03831681526040602082018190526000906123599083018461206f565b60006124256121bd84612187565b905082815283838301111561243957600080fd5b61204483602083018461204b565b60006020828403121561245957600080fd5b815167ffffffffffffffff81111561247057600080fd5b8201601f8101841361248157600080fd5b61235984825160208401612417565b600181811c908216806124a457607f821691505b6020821081036124c457634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561251057600081815260208120601f850160051c810160208610156124f15750805b601f850160051c820191505b818110156119d6578281556001016124fd565b505050565b815167ffffffffffffffff81111561252f5761252f612140565b6125438161253d8454612490565b846124ca565b602080601f83116001811461257857600084156125605750858301515b600019600386901b1c1916600185901b1785556119d6565b600085815260208120601f198616915b828110156125a757888601518255948401946001909101908401612588565b50858210156125c55787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea2646970667358221220e265f82879be20803445f374a863f310be9093b961a95716c734996db157b4ca64736f6c63430008140033",
411
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101425760003560e01c80635ef14b5e116100b8578063bc36dc911161007c578063bc36dc91146102ad578063c3c5a547146102c5578063d272ac1e146102d8578063df33330b1461030a578063e74d052f1461031d578063f16f93c21461033057600080fd5b80635ef14b5e1461024e578063644c45e014610261578063893d20e814610272578063a3bcd81d1461027a578063a48f42e01461028d57600080fd5b806331b62a3b1161010a57806331b62a3b146101e55780633bc5de30146101ed5780633fe9300e1461020a5780634420e48614610220578063485cc955146102335780635ab1bd531461024857600080fd5b8063015654ff1461014757806301ffc9a71461017157806315dae03e146101a55780631a848cfb146101b45780631aa3a008146101ca575b600080fd5b600a546001600160a01b03165b6040516001600160a01b0390911681526020015b60405180910390f35b61019561017f36600461201a565b6001600160e01b0319166306ecd8ef60e01b1490565b6040519015158152602001610168565b60405160148152602001610168565b6101bc610348565b604051908152602001610168565b60005b6040516001600160601b039091168152602001610168565b6101cd6103c1565b6040805160208101909152600081525b604051610168919061209b565b6101fd6040518060200160405280600081525081565b6101cd61022e3660046120c6565b610488565b6102466102413660046120e3565b610c5c565b005b30610154565b6101cd61025c3660046121ed565b610d61565b6007546001600160601b03166101cd565b610154610fcf565b610154610288366004612276565b6110d2565b6102a061029b3660046122d1565b611128565b60405161016891906122ee565b600754600160601b90046001600160a01b0316610154565b6101956102d33660046120c6565b61126a565b6101cd6102e63660046120c6565b6001600160a01b03166000908152600260205260409020546001600160601b031690565b6101546103183660046122d1565b611307565b61019561032b3660046122d1565b611408565b6101fd61033e3660046122d1565b611462565b905090565b60006007600c9054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561039d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103439190612361565b60004660010361043d5760085460408051632cc7144960e11b81529051610343926001600160a01b03169163598e28929160048083019260209291908290030181865afa158015610416573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061043a9190612361565b90565b60085460408051632e85b1f360e01b81529051610343926001600160a01b031691632e85b1f39160048083019260209291908290030181865afa158015610416573d6000803e3d6000fd5b6001600160a01b038116600090815260026020526040808220549051630a4d29dd60e31b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af41580156104fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051e919061237a565b61056f5760405162461bcd60e51b815260206004820181905260248201527f4552524f523a5245472d3030323a414c52454144595f5245474953544552454460448201526064015b60405180910390fd5b6040516301ffc9a760e01b8152631dfba64760e11b600482015282906001600160a01b038216906301ffc9a790602401602060405180830381865afa1580156105bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e0919061237a565b61062c5760405162461bcd60e51b815260206004820152601e60248201527f4552524f523a5245472d3030333a4e4f545f524547495354455241424c4500006044820152606401610566565b6000816001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561066c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610690919061239c565b60ff808216600090815260036020526040902054919250166106f45760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5245472d3030343a545950455f494e56414c49440000000000006044820152606401610566565b6000826001600160a01b03166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610734573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075891906123b9565b905061076381611408565b6107bb5760405162461bcd60e51b815260206004820152602360248201527f4552524f523a5245472d3030353a504152454e545f4e4f545f5245474953544560448201526214915160ea1b6064820152608401610566565b60ff80831660009081526004602090815260408083206001600160601b038616845283835281842054600160c01b9004851684529091529020541661084c5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a5245472d3030363a504152454e545f545950455f494e56414c496044820152601160fa1b6064820152608401610566565b60006007600c9054906101000a90046001600160a01b03166001600160a01b031663d0def521856001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d491906123d6565b604051806020016040528060008152506040518363ffffffff1660e01b81526004016109019291906123f3565b6020604051808303816000875af1158015610920573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109449190612361565b90508094506109bc846001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561098a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ae919061239c565b60285b60ff90811691161490565b15610c49576040516301ffc9a760e01b8152631b4612f160e31b600482015286906001600160a01b038216906301ffc9a790602401602060405180830381865afa158015610a0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a32919061237a565b610a7e5760405162461bcd60e51b815260206004820152601960248201527f4552524f523a5245472d3030373a4e4f545f53455256494345000000000000006044820152606401610566565b6000816001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015610abe573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ae69190810190612447565b90506000826001600160a01b031663cde749f46040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b4c919061239c565b9050600082604051602001610b61919061209b565b60408051601f1981840301815291815281516020928301206001600160601b038c16600090815260059093529120909150610b9c8482612515565b50600081815260066020908152604080832060ff861684529091529020546001600160a01b031615610c105760405162461bcd60e51b815260206004820181905260248201527f4552524f523a5245472d3030383a414c52454144595f524547495354455245446044820152606401610566565b600090815260066020908152604080832060ff9490941683529290522080546001600160a01b0319166001600160a01b038a1617905550505b610c53848661150e565b50505050919050565b600754600160601b90046001600160a01b031615610cc65760405162461bcd60e51b815260206004820152602160248201527f4552524f523a5245472d3030313a414c52454144595f494e495449414c495a456044820152601160fa1b6064820152608401610566565b60098054336001600160a01b031991821617909155600a805482166001600160a01b0384811691909117909155600780546001600160601b0316600160601b92861692830217905560088054909216179055610d206117e2565b610d286119de565b600780546bffffffffffffffffffffffff19166001600160601b0392909216919091179055610d55611b50565b610d5d611d02565b5050565b6000610d6e8460c86109b1565b80610d7f5750610d7f8460d26109b1565b610dcb5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5245472d3031303a545950455f494e56414c49440000000000006044820152606401610566565b600754604080516020810182526000808252915163d0def52160e01b81529192600160601b90046001600160a01b03169163d0def52191610e11918891906004016123f3565b6020604051808303816000875af1158015610e30573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e549190612361565b905080915060006040518060c00160405280846001600160601b03168152602001886001600160601b031681526020018760ff16815260200160006001600160a01b03168152602001866001600160a01b0316815260200185815250905080600080856001600160601b03166001600160601b0316815260200190815260200160002060008201518160000160006101000a8154816001600160601b0302191690836001600160601b03160217905550602082015181600001600c6101000a8154816001600160601b0302191690836001600160601b0316021790555060408201518160000160186101000a81548160ff021916908360ff16021790555060608201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060808201518160020160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a0820151816003019081610fc19190612515565b509050505050949350505050565b6007546040516330b8415f60e01b81526001600160601b03909116600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561102e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611052919061237a565b61106657506009546001600160a01b031690565b60075460405163df33330b60e01b81526001600160601b039091166004820152309063df33330b90602401602060405180830381865afa1580156110ae573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061034391906123d6565b600080836040516020016110e6919061209b565b60408051601f19818403018152918152815160209283012060009081526006835281812060ff871682529092529020546001600160a01b031691505092915050565b6040805160c0810182526000808252602082018190529181018290526060808201839052608082019290925260a08101919091526001600160601b0382811660009081526020818152604091829020825160c08101845281548086168252600160601b810490951692810192909252600160c01b90930460ff169181019190915260018201546001600160a01b039081166060830152600283015416608082015260038201805491929160a0840191906111e190612490565b80601f016020809104026020016040519081016040528092919081815260200182805461120d90612490565b801561125a5780601f1061122f5761010080835404028352916020019161125a565b820191906000526020600020905b81548152906001019060200180831161123d57829003601f168201915b5050505050815250509050919050565b6001600160a01b0381166000908152600260205260408082205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f906024015b602060405180830381865af41580156112dd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611301919061237a565b92915050565b60075460405163046e44af60e11b81526001600160601b0383166004820152600091600160601b90046001600160a01b031690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e90602401602060405180830381865af415801561137c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113a091906123b9565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa1580156113e4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061130191906123d6565b6001600160601b03811660009081526020819052604080822054905163b2466acf60e01b8152600160c01b90910460ff16600482015273__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf906024016112c0565b6001600160601b038116600090815260056020526040902080546060919061148990612490565b80601f01602080910402602001604051908101604052809291908181526020018280546114b590612490565b80156115025780601f106114d757610100808354040283529160200191611502565b820191906000526020600020905b8154815290600101906020018083116114e557829003601f168201915b50505050509050919050565b600082905060006040518060c00160405280846001600160601b03168152602001856001600160a01b03166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561156d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061159191906123b9565b6001600160601b03168152602001856001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115dd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611601919061239c565b60ff168152602001836001600160a01b03168152602001856001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611656573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061167a91906123d6565b6001600160a01b03168152602001856001600160a01b0316633bc5de306040518163ffffffff1660e01b8152600401600060405180830381865afa1580156116c6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116ee9190810190612447565b90526001600160601b038085166000908152602081815260409182902084518154928601519386015160ff16600160c01b0260ff60c01b19948616600160601b026001600160c01b03199094169190951617919091179190911691909117815560608201516001820180546001600160a01b039283166001600160a01b031991821617909155608084015160028401805491909316911617905560a0820151919250829160038201906117a19082612515565b505050506001600160a01b0316600090815260026020526040902080546bffffffffffffffffffffffff19166001600160601b039290921691909117905550565b60085460408051632cc7144960e11b815290516000926001600160a01b03169163598e28929160048083019260209291908290030181865afa15801561182c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118509190612361565b600854600a546040516340c10f1960e01b81526001600160a01b0391821660048201526024810184905292935016906340c10f1990604401600060405180830381600087803b1580156118a257600080fd5b505af11580156118b6573d6000803e3d6000fd5b5050505060006118c38290565b905060006040518060c00160405280836001600160601b031681526020016118e9600090565b6001600160601b03168152602001600a5b60ff908116825260006020808401829052600a546001600160a01b03908116604080870191909152805180840182528481526060968701526001600160601b03808a16855284845293819020875181549489015192890151909616600160c01b0260ff60c01b19928616600160601b026001600160c01b031990951696909516959095179290921791909116919091178255918301516001820180549184166001600160a01b031992831617905560808401516002830180549190941691161790915560a0820151919250829160038201906119d69082612515565b505050505050565b600854604051630559ea4760e01b81526002600482015260009182916001600160a01b0390911690630559ea4790602401602060405180830381865afa158015611a2c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a509190612361565b9050809150600860009054906101000a90046001600160a01b03166001600160a01b0316632e85b1f36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611aa8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611acc9190612361565b8114611ada57611ada611eb0565b600854600a546040516340c10f1960e01b81526001600160a01b039182166004820152602481018490529116906340c10f1990604401600060405180830381600087803b158015611b2a57600080fd5b505af1158015611b3e573d6000803e3d6000fd5b50505050611b4c308361150e565b5090565b600360208190527f0ffe031ee7f67944a037276fd51f48fcc2fe05a729c43144606bc8777da8014f8054600160ff1991821681179092557f6117fee2f1274e1b392d2c3fe842478040a980d896757f38cbfe2ceebfa9f55f80548216831790557ff787d5ff306ee7ea1d7b35b5cacd5a837646921c113945dbc3a3b6329ce4003380548216831790557f3ba015d6b845e102ce2f76836007be82508e3543856f2a3c2ff4b56eb46d920e80548216831790557f01c8d1bf01472944f62fa726559c57c955f3535856e865cee78082252c0dbe6580548216831790557f6b16ef514f22b74729cbea5cc7babfecbdc2309e530ca716643d11fe929eed2e80548216831790557fe372c44748f4c2908ae7c0a1dc553464478b0394f70953faecd55173b039317c80548216831790557fc3d073881ce0daff4d900012573fe3b8d5b283519b2f509e59d1b978e7cf0fc5805482168317905560c860009081527f4ee5ee9bffee16640c2540fd7f6965fdc66a7e5f780f34dcd70130941a3eae078054909216831790915590919060d25b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f6ccc4a05ba84db57b26e1eca724a26bc49e11eb3a3513975525da73fd093530d8054600160ff1991821681179092557f4c2b21eba089fcb614eba18217d4f3f95e42177ede89c079f86306b133497c3080548216831790557faa0e0fe5d9929c265201b796d5196a8fc79d16a288275314ff2973541d58721a80548216831790557f23854806efa1d194aae4b21bf1927e22d50453dfa23086ded38c40c8955c637e80548216831790557fbdc45962c4e89b26bf7a29a39eab560d17e5064145716460fdc5986ae2da49bc80548216831790557f41f7e94f80001b9d612ad252f2dc06b77c5cc502088b7ac7f3641fc95d4a34e180548216831790557f2662d582402060579dffef7773c6b43725228b20e70069c9a8314d21465c105280548216831790557fecd1272a2d7402e39704b78db8ea4bd00d629fbfc046e55cc6c9d5ee5e9e5e7880548216831790557f5e5bbf8b42bd7b6d1aeb3e362a8afc07dddf1cd72e2816d91748f633a63aabc0805490911682179055603c600090815260046020527f2fc109324a9702a6c6d9ee4cb191009203224963472d729f754fd607ea2f8fd0906082611cde565b60085460408051632e85b1f360e01b815290516000926001600160a01b031691632e85b1f39160048083019260209291908290030181865afa158015611efa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f1e9190612361565b600854600a546040516340c10f1960e01b81526001600160a01b0391821660048201526024810184905292935016906340c10f1990604401600060405180830381600087803b158015611f7057600080fd5b505af1158015611f84573d6000803e3d6000fd5b505050506000611f918290565b905060006040518060c00160405280836001600160601b03168152602001612005600860009054906101000a90046001600160a01b03166001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa158015610416573d6000803e3d6000fd5b6001600160601b0316815260200160146118fa565b60006020828403121561202c57600080fd5b81356001600160e01b03198116811461204457600080fd5b9392505050565b60005b8381101561206657818101518382015260200161204e565b50506000910152565b6000815180845261208781602086016020860161204b565b601f01601f19169290920160200192915050565b602081526000612044602083018461206f565b6001600160a01b03811681146120c357600080fd5b50565b6000602082840312156120d857600080fd5b8135612044816120ae565b600080604083850312156120f657600080fd5b8235612101816120ae565b91506020830135612111816120ae565b809150509250929050565b6001600160601b03811681146120c357600080fd5b60ff811681146120c357600080fd5b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561217f5761217f612140565b604052919050565b600067ffffffffffffffff8211156121a1576121a1612140565b50601f01601f191660200190565b60006121c26121bd84612187565b612156565b90508281528383830111156121d657600080fd5b828260208301376000602084830101529392505050565b6000806000806080858703121561220357600080fd5b843561220e8161211c565b9350602085013561221e81612131565b9250604085013561222e816120ae565b9150606085013567ffffffffffffffff81111561224a57600080fd5b8501601f8101871361225b57600080fd5b61226a878235602084016121af565b91505092959194509250565b6000806040838503121561228957600080fd5b823567ffffffffffffffff8111156122a057600080fd5b8301601f810185136122b157600080fd5b6122c0858235602084016121af565b925050602083013561211181612131565b6000602082840312156122e357600080fd5b81356120448161211c565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff6040840151166060830152606083015160018060a01b0380821660808501528060808601511660a0850152505060a083015160c08084015261235960e084018261206f565b949350505050565b60006020828403121561237357600080fd5b5051919050565b60006020828403121561238c57600080fd5b8151801515811461204457600080fd5b6000602082840312156123ae57600080fd5b815161204481612131565b6000602082840312156123cb57600080fd5b81516120448161211c565b6000602082840312156123e857600080fd5b8151612044816120ae565b6001600160a01b03831681526040602082018190526000906123599083018461206f565b60006124256121bd84612187565b905082815283838301111561243957600080fd5b61204483602083018461204b565b60006020828403121561245957600080fd5b815167ffffffffffffffff81111561247057600080fd5b8201601f8101841361248157600080fd5b61235984825160208401612417565b600181811c908216806124a457607f821691505b6020821081036124c457634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561251057600081815260208120601f850160051c810160208610156124f15750805b601f850160051c820191505b818110156119d6578281556001016124fd565b505050565b815167ffffffffffffffff81111561252f5761252f612140565b6125438161253d8454612490565b846124ca565b602080601f83116001811461257857600084156125605750858301515b600019600386901b1c1916600185901b1785556119d6565b600085815260208120601f198616915b828110156125a757888601518255948401946001909101908401612588565b50858210156125c55787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea2646970667358221220e265f82879be20803445f374a863f310be9093b961a95716c734996db157b4ca64736f6c63430008140033",
212
412
  "linkReferences": {
213
413
  "contracts/types/NftId.sol": {
214
414
  "NftIdLib": [
215
415
  {
216
416
  "length": 20,
217
- "start": 1637
417
+ "start": 1248
218
418
  },
219
419
  {
220
420
  "length": 20,
221
- "start": 2647
421
+ "start": 4116
222
422
  },
223
423
  {
224
424
  "length": 20,
225
- "start": 4577
425
+ "start": 4802
226
426
  },
227
427
  {
228
428
  "length": 20,
229
- "start": 5094
429
+ "start": 4962
430
+ }
431
+ ]
432
+ },
433
+ "contracts/types/ObjectType.sol": {
434
+ "ObjectTypeLib": [
435
+ {
436
+ "length": 20,
437
+ "start": 5216
230
438
  }
231
439
  ]
232
440
  }
@@ -236,19 +444,27 @@
236
444
  "NftIdLib": [
237
445
  {
238
446
  "length": 20,
239
- "start": 1605
447
+ "start": 1216
240
448
  },
241
449
  {
242
450
  "length": 20,
243
- "start": 2615
451
+ "start": 4084
244
452
  },
245
453
  {
246
454
  "length": 20,
247
- "start": 4545
455
+ "start": 4770
248
456
  },
249
457
  {
250
458
  "length": 20,
251
- "start": 5062
459
+ "start": 4930
460
+ }
461
+ ]
462
+ },
463
+ "contracts/types/ObjectType.sol": {
464
+ "ObjectTypeLib": [
465
+ {
466
+ "length": 20,
467
+ "start": 5184
252
468
  }
253
469
  ]
254
470
  }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/ac8b1a0ba35c3a8a508882d70043ad3f.json"
4
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "ERC165",
4
+ "sourceName": "contracts/shared/ERC165.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [],
8
+ "stateMutability": "nonpayable",
9
+ "type": "constructor"
10
+ },
11
+ {
12
+ "inputs": [
13
+ {
14
+ "internalType": "bytes4",
15
+ "name": "interfaceId",
16
+ "type": "bytes4"
17
+ }
18
+ ],
19
+ "name": "supportsInterface",
20
+ "outputs": [
21
+ {
22
+ "internalType": "bool",
23
+ "name": "",
24
+ "type": "bool"
25
+ }
26
+ ],
27
+ "stateMutability": "view",
28
+ "type": "function"
29
+ }
30
+ ],
31
+ "bytecode": "0x608060405234801561001057600080fd5b506301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff1916600117905560d08061005b6000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c806301ffc9a714602d575b600080fd5b60576038366004606b565b6001600160e01b03191660009081526020819052604090205460ff1690565b604051901515815260200160405180910390f35b600060208284031215607c57600080fd5b81356001600160e01b031981168114609357600080fd5b939250505056fea264697066735822122001544f23bad3d3747e20b89bffeb821826a4686fba99541711a192d4109679db64736f6c63430008140033",
32
+ "deployedBytecode": "0x6080604052348015600f57600080fd5b506004361060285760003560e01c806301ffc9a714602d575b600080fd5b60576038366004606b565b6001600160e01b03191660009081526020819052604090205460ff1690565b604051901515815260200160405180910390f35b600060208284031215607c57600080fd5b81356001600160e01b031981168114609357600080fd5b939250505056fea264697066735822122001544f23bad3d3747e20b89bffeb821826a4686fba99541711a192d4109679db64736f6c63430008140033",
33
+ "linkReferences": {},
34
+ "deployedLinkReferences": {}
35
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/ac8b1a0ba35c3a8a508882d70043ad3f.json"
4
+ }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "_format": "hh-sol-artifact-1",
3
3
  "contractName": "IOwnable",
4
- "sourceName": "contracts/registry/IRegistry.sol",
4
+ "sourceName": "contracts/shared/IOwnable.sol",
5
5
  "abi": [
6
6
  {
7
7
  "inputs": [],
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/ac8b1a0ba35c3a8a508882d70043ad3f.json"
4
+ }