@etherisc/gif-next 0.0.2-f79a517-071 → 0.0.2-f7a5beb-202

Sign up to get free protection for your applications and to get access to all the features.
Files changed (368) hide show
  1. package/README.md +67 -1
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +613 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +353 -104
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/{instance/base/ServiceBase.sol/ServiceBase.json → components/IComponent.sol/IComponent.json} +185 -151
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +527 -9
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +611 -66
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +618 -30
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +492 -212
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +429 -137
  18. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +1 -1
  19. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +1 -1
  20. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +1 -1
  21. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  22. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  23. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  24. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  26. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  28. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  29. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  30. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  31. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
  32. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +2 -2
  33. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
  34. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
  35. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
  36. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +2 -2
  37. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
  38. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +2 -2
  39. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  40. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  41. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  42. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +764 -0
  43. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  44. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +185 -0
  45. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  46. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1035 -995
  47. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  48. package/artifacts/contracts/instance/{service/IComponentOwnerService.sol/IComponentOwnerService.json → IInstanceService.sol/IInstanceService.json} +155 -56
  49. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  50. package/artifacts/contracts/instance/Instance.sol/Instance.json +1821 -1096
  51. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  52. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +1034 -0
  53. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  54. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1381 -0
  55. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  56. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +964 -0
  57. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  58. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +473 -0
  59. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  60. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +261 -0
  61. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  62. package/artifacts/contracts/instance/base/{InstanceBase.sol/InstanceBase.json → ComponentService.sol/ComponentService.json} +134 -75
  63. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  64. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +27 -158
  65. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  66. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  67. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +37 -245
  68. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  69. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +2 -2
  70. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  71. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +254 -0
  72. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  73. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  74. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  75. package/artifacts/contracts/instance/module/{distribution/IDistribution.sol → IDistribution.sol}/IDistribution.json +1 -1
  76. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  77. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  78. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  79. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  80. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  81. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/ISetup.sol/ISetup.json} +2 -2
  82. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  83. package/artifacts/contracts/instance/module/{treasury/ITreasury.sol → ITreasury.sol}/ITreasury.json +1 -1
  84. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  85. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1102 -0
  86. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  87. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +449 -0
  88. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  89. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +194 -52
  90. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  91. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +437 -0
  92. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  93. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +715 -0
  94. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  95. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +13 -18
  96. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  97. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +766 -0
  98. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  99. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +15 -82
  100. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  101. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +25 -245
  102. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  103. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1227 -0
  104. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  105. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +505 -0
  106. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  107. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +181 -128
  108. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  109. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +437 -0
  110. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  111. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +174 -386
  112. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  113. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +437 -0
  114. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  115. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
  116. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  117. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +339 -59
  118. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  119. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +220 -111
  120. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  121. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  122. package/artifacts/contracts/registry/Registry.sol/Registry.json +301 -188
  123. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  124. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  125. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  126. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +83 -128
  127. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  128. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +53 -85
  129. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  130. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
  131. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  132. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +394 -0
  133. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  134. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  135. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
  136. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  137. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  138. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +0 -5
  139. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  140. package/artifacts/contracts/{instance/base → shared}/IService.sol/IService.json +14 -19
  141. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  142. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  143. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +19 -6
  144. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  145. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +19 -6
  146. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  147. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +19 -11
  148. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  149. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/Service.sol/Service.json} +28 -33
  150. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  151. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
  152. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  153. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  154. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  155. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  156. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  157. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +19 -11
  158. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  159. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +14 -14
  160. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  161. package/artifacts/contracts/test/TestService.sol/TestService.json +58 -34
  162. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  163. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  164. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  165. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  166. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +18 -2
  167. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  168. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  169. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  170. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  171. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  172. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  173. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  174. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  175. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +31 -17
  176. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  177. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
  178. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  179. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  180. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  181. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  182. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  183. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  184. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  185. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +123 -0
  186. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  187. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  188. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  189. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +134 -8
  190. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  191. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  192. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  193. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +15 -2
  194. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  195. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  196. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  197. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  198. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  199. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  200. package/contracts/components/Component.sol +247 -0
  201. package/contracts/components/Distribution.sol +37 -49
  202. package/contracts/components/IComponent.sol +50 -0
  203. package/contracts/components/IDistributionComponent.sol +6 -5
  204. package/contracts/components/IPoolComponent.sol +42 -29
  205. package/contracts/components/IProductComponent.sol +9 -7
  206. package/contracts/components/Pool.sol +137 -116
  207. package/contracts/components/Product.sol +78 -114
  208. package/contracts/instance/BundleManager.sol +125 -0
  209. package/contracts/instance/Cloneable.sol +46 -0
  210. package/contracts/instance/IInstance.sol +64 -44
  211. package/contracts/instance/IInstanceService.sol +40 -0
  212. package/contracts/instance/Instance.sol +251 -65
  213. package/contracts/instance/InstanceAccessManager.sol +298 -0
  214. package/contracts/instance/InstanceReader.sol +293 -0
  215. package/contracts/instance/InstanceService.sol +362 -0
  216. package/contracts/instance/InstanceServiceManager.sol +54 -0
  217. package/contracts/instance/ObjectManager.sol +84 -0
  218. package/contracts/instance/base/ComponentService.sol +134 -0
  219. package/contracts/instance/base/IKeyValueStore.sol +13 -14
  220. package/contracts/instance/base/ILifecycle.sol +3 -3
  221. package/contracts/instance/base/KeyValueStore.sol +49 -38
  222. package/contracts/instance/base/Lifecycle.sol +1 -1
  223. package/contracts/instance/module/IAccess.sol +48 -0
  224. package/contracts/instance/module/IBundle.sol +20 -0
  225. package/contracts/instance/module/IDistribution.sol +39 -0
  226. package/contracts/instance/module/IPolicy.sol +45 -0
  227. package/contracts/instance/module/IRisk.sol +11 -0
  228. package/contracts/instance/module/ISetup.sol +46 -0
  229. package/contracts/instance/module/ITreasury.sol +23 -0
  230. package/contracts/instance/service/BundleService.sol +293 -0
  231. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  232. package/contracts/instance/service/DistributionService.sol +72 -20
  233. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  234. package/contracts/instance/service/IBundleService.sol +44 -0
  235. package/contracts/instance/service/IDistributionService.sol +1 -1
  236. package/contracts/instance/service/IPolicyService.sol +94 -0
  237. package/contracts/instance/service/IPoolService.sol +7 -24
  238. package/contracts/instance/service/IProductService.sol +9 -76
  239. package/contracts/instance/service/PolicyService.sol +538 -0
  240. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  241. package/contracts/instance/service/PoolService.sol +76 -116
  242. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  243. package/contracts/instance/service/ProductService.sol +154 -432
  244. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  245. package/contracts/registry/ChainNft.sol +1 -1
  246. package/contracts/registry/IRegistry.sol +47 -6
  247. package/contracts/registry/IRegistryService.sol +50 -20
  248. package/contracts/registry/Registry.sol +243 -214
  249. package/contracts/registry/RegistryAccessManager.sol +216 -0
  250. package/contracts/registry/RegistryService.sol +84 -263
  251. package/contracts/registry/RegistryServiceManager.sol +20 -22
  252. package/contracts/registry/ReleaseManager.sol +332 -0
  253. package/contracts/registry/TokenRegistry.sol +112 -0
  254. package/contracts/shared/ERC165.sol +6 -2
  255. package/contracts/shared/IRegisterable.sol +1 -3
  256. package/contracts/shared/IService.sol +16 -0
  257. package/contracts/shared/NftOwnable.sol +7 -4
  258. package/contracts/shared/ProxyManager.sol +1 -1
  259. package/contracts/shared/Registerable.sol +11 -14
  260. package/contracts/shared/Service.sol +60 -0
  261. package/contracts/shared/TokenHandler.sol +27 -0
  262. package/contracts/shared/Versionable.sol +2 -2
  263. package/contracts/test/TestRoleId.sol +1 -1
  264. package/contracts/test/TestService.sol +6 -7
  265. package/contracts/types/DistributorType.sol +55 -0
  266. package/contracts/types/Key32.sol +8 -3
  267. package/contracts/types/NftIdSet.sol +26 -24
  268. package/contracts/types/NumberId.sol +52 -0
  269. package/contracts/types/ObjectType.sol +35 -14
  270. package/contracts/types/Referral.sol +85 -0
  271. package/contracts/types/RoleId.sol +60 -15
  272. package/contracts/types/StateId.sol +5 -1
  273. package/contracts/types/Timestamp.sol +7 -3
  274. package/contracts/types/Version.sol +4 -1
  275. package/package.json +1 -1
  276. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  277. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -301
  278. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  279. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -254
  280. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  281. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  282. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  283. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  284. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  285. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  286. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  287. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  288. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  289. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  290. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -297
  291. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  292. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  293. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -297
  294. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  295. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -117
  296. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  297. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  298. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  299. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -117
  300. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +0 -4
  301. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +0 -10
  302. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +0 -4
  303. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +0 -4
  304. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.json +0 -10
  305. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  306. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  307. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -271
  308. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  309. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -271
  310. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  311. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  312. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  313. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -164
  314. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  315. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -164
  316. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  317. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  318. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -113
  319. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  320. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -131
  321. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  322. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  323. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -638
  324. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  325. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  326. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  327. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -638
  328. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  329. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  330. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  331. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +0 -4
  332. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +0 -557
  333. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  334. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -716
  335. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  336. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -744
  337. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +0 -4
  338. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.json +0 -99
  339. package/contracts/components/BaseComponent.sol +0 -79
  340. package/contracts/components/IBaseComponent.sol +0 -19
  341. package/contracts/instance/IInstanceLinked.sol +0 -8
  342. package/contracts/instance/base/ComponentServiceBase.sol +0 -49
  343. package/contracts/instance/base/IInstanceBase.sol +0 -23
  344. package/contracts/instance/base/IService.sol +0 -15
  345. package/contracts/instance/base/InstanceBase.sol +0 -89
  346. package/contracts/instance/base/ModuleBase.sol +0 -57
  347. package/contracts/instance/base/ServiceBase.sol +0 -44
  348. package/contracts/instance/module/bundle/BundleModule.sol +0 -134
  349. package/contracts/instance/module/bundle/IBundle.sol +0 -53
  350. package/contracts/instance/module/component/ComponentModule.sol +0 -71
  351. package/contracts/instance/module/component/IComponent.sol +0 -28
  352. package/contracts/instance/module/distribution/DistributionModule.sol +0 -17
  353. package/contracts/instance/module/distribution/IDistribution.sol +0 -10
  354. package/contracts/instance/module/policy/IPolicy.sol +0 -63
  355. package/contracts/instance/module/policy/PolicyModule.sol +0 -91
  356. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  357. package/contracts/instance/module/pool/PoolModule.sol +0 -95
  358. package/contracts/instance/module/risk/IRisk.sol +0 -26
  359. package/contracts/instance/module/risk/RiskModule.sol +0 -62
  360. package/contracts/instance/module/treasury/ITreasury.sol +0 -84
  361. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  362. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -131
  363. package/contracts/instance/service/ComponentOwnerService.sol +0 -315
  364. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  365. package/contracts/test/TestDistribution.sol +0 -22
  366. package/contracts/test/TestPool.sol +0 -27
  367. package/contracts/test/TestProduct.sol +0 -74
  368. package/contracts/types/ReferralId.sol +0 -48
@@ -0,0 +1,964 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "InstanceService",
4
+ "sourceName": "contracts/instance/InstanceService.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "ERC1167FailedCreateClone",
9
+ "type": "error"
10
+ },
11
+ {
12
+ "inputs": [
13
+ {
14
+ "internalType": "address",
15
+ "name": "registry",
16
+ "type": "address"
17
+ },
18
+ {
19
+ "internalType": "NftId",
20
+ "name": "nftId",
21
+ "type": "uint96"
22
+ }
23
+ ],
24
+ "name": "ErrorAlreadyLinked",
25
+ "type": "error"
26
+ },
27
+ {
28
+ "inputs": [
29
+ {
30
+ "internalType": "address",
31
+ "name": "contractAddress",
32
+ "type": "address"
33
+ }
34
+ ],
35
+ "name": "ErrorContractNotRegistered",
36
+ "type": "error"
37
+ },
38
+ {
39
+ "inputs": [
40
+ {
41
+ "internalType": "address",
42
+ "name": "componentAddress",
43
+ "type": "address"
44
+ }
45
+ ],
46
+ "name": "ErrorInstanceServiceComponentNotRegistered",
47
+ "type": "error"
48
+ },
49
+ {
50
+ "inputs": [
51
+ {
52
+ "internalType": "address",
53
+ "name": "caller",
54
+ "type": "address"
55
+ },
56
+ {
57
+ "internalType": "NftId",
58
+ "name": "instanceNftId",
59
+ "type": "uint96"
60
+ }
61
+ ],
62
+ "name": "ErrorInstanceServiceNotInstanceOwner",
63
+ "type": "error"
64
+ },
65
+ {
66
+ "inputs": [
67
+ {
68
+ "internalType": "address",
69
+ "name": "caller",
70
+ "type": "address"
71
+ }
72
+ ],
73
+ "name": "ErrorInstanceServiceRequestUnauhorized",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [
78
+ {
79
+ "internalType": "address",
80
+ "name": "account",
81
+ "type": "address"
82
+ }
83
+ ],
84
+ "name": "ErrorNotOwner",
85
+ "type": "error"
86
+ },
87
+ {
88
+ "inputs": [
89
+ {
90
+ "internalType": "address",
91
+ "name": "registryAddress",
92
+ "type": "address"
93
+ }
94
+ ],
95
+ "name": "ErrorNotRegistry",
96
+ "type": "error"
97
+ },
98
+ {
99
+ "inputs": [
100
+ {
101
+ "internalType": "address",
102
+ "name": "registryAddress",
103
+ "type": "address"
104
+ }
105
+ ],
106
+ "name": "ErrorRegisterableNotRegistry",
107
+ "type": "error"
108
+ },
109
+ {
110
+ "inputs": [],
111
+ "name": "ErrorRegistryAddressZero",
112
+ "type": "error"
113
+ },
114
+ {
115
+ "inputs": [
116
+ {
117
+ "internalType": "address",
118
+ "name": "registry",
119
+ "type": "address"
120
+ }
121
+ ],
122
+ "name": "ErrorRegistryAlreadyInitialized",
123
+ "type": "error"
124
+ },
125
+ {
126
+ "inputs": [],
127
+ "name": "ErrorRegistryNotInitialized",
128
+ "type": "error"
129
+ },
130
+ {
131
+ "inputs": [],
132
+ "name": "InvalidInitialization",
133
+ "type": "error"
134
+ },
135
+ {
136
+ "inputs": [],
137
+ "name": "NotInitializing",
138
+ "type": "error"
139
+ },
140
+ {
141
+ "anonymous": false,
142
+ "inputs": [
143
+ {
144
+ "indexed": false,
145
+ "internalType": "uint64",
146
+ "name": "version",
147
+ "type": "uint64"
148
+ }
149
+ ],
150
+ "name": "Initialized",
151
+ "type": "event"
152
+ },
153
+ {
154
+ "anonymous": false,
155
+ "inputs": [
156
+ {
157
+ "indexed": false,
158
+ "internalType": "address",
159
+ "name": "clonedAccessManagerAddress",
160
+ "type": "address"
161
+ },
162
+ {
163
+ "indexed": false,
164
+ "internalType": "address",
165
+ "name": "clonedInstanceAddress",
166
+ "type": "address"
167
+ },
168
+ {
169
+ "indexed": false,
170
+ "internalType": "address",
171
+ "name": "clonedInstanceReaderAddress",
172
+ "type": "address"
173
+ },
174
+ {
175
+ "indexed": false,
176
+ "internalType": "NftId",
177
+ "name": "clonedInstanceNftId",
178
+ "type": "uint96"
179
+ }
180
+ ],
181
+ "name": "LogInstanceCloned",
182
+ "type": "event"
183
+ },
184
+ {
185
+ "anonymous": false,
186
+ "inputs": [
187
+ {
188
+ "indexed": false,
189
+ "internalType": "Version",
190
+ "name": "version",
191
+ "type": "uint24"
192
+ },
193
+ {
194
+ "indexed": false,
195
+ "internalType": "address",
196
+ "name": "implementation",
197
+ "type": "address"
198
+ },
199
+ {
200
+ "indexed": false,
201
+ "internalType": "address",
202
+ "name": "activatedBy",
203
+ "type": "address"
204
+ }
205
+ ],
206
+ "name": "LogVersionableInitialized",
207
+ "type": "event"
208
+ },
209
+ {
210
+ "inputs": [],
211
+ "name": "INSTANCE_CREATION_CODE_HASH",
212
+ "outputs": [
213
+ {
214
+ "internalType": "bytes32",
215
+ "name": "",
216
+ "type": "bytes32"
217
+ }
218
+ ],
219
+ "stateMutability": "view",
220
+ "type": "function"
221
+ },
222
+ {
223
+ "inputs": [],
224
+ "name": "REGISTERABLE_LOCATION_V1",
225
+ "outputs": [
226
+ {
227
+ "internalType": "bytes32",
228
+ "name": "",
229
+ "type": "bytes32"
230
+ }
231
+ ],
232
+ "stateMutability": "view",
233
+ "type": "function"
234
+ },
235
+ {
236
+ "inputs": [],
237
+ "name": "createInstanceClone",
238
+ "outputs": [
239
+ {
240
+ "internalType": "contract InstanceAccessManager",
241
+ "name": "clonedAccessManager",
242
+ "type": "address"
243
+ },
244
+ {
245
+ "internalType": "contract Instance",
246
+ "name": "clonedInstance",
247
+ "type": "address"
248
+ },
249
+ {
250
+ "internalType": "NftId",
251
+ "name": "clonedInstanceNftId",
252
+ "type": "uint96"
253
+ },
254
+ {
255
+ "internalType": "contract InstanceReader",
256
+ "name": "clonedInstanceReader",
257
+ "type": "address"
258
+ },
259
+ {
260
+ "internalType": "contract BundleManager",
261
+ "name": "clonedBundleManager",
262
+ "type": "address"
263
+ }
264
+ ],
265
+ "stateMutability": "nonpayable",
266
+ "type": "function"
267
+ },
268
+ {
269
+ "inputs": [
270
+ {
271
+ "internalType": "NftId",
272
+ "name": "instanceNftId",
273
+ "type": "uint96"
274
+ },
275
+ {
276
+ "internalType": "address",
277
+ "name": "targetAddress",
278
+ "type": "address"
279
+ },
280
+ {
281
+ "internalType": "string",
282
+ "name": "targetName",
283
+ "type": "string"
284
+ }
285
+ ],
286
+ "name": "createTarget",
287
+ "outputs": [],
288
+ "stateMutability": "nonpayable",
289
+ "type": "function"
290
+ },
291
+ {
292
+ "inputs": [],
293
+ "name": "getDomain",
294
+ "outputs": [
295
+ {
296
+ "internalType": "ObjectType",
297
+ "name": "",
298
+ "type": "uint8"
299
+ }
300
+ ],
301
+ "stateMutability": "pure",
302
+ "type": "function"
303
+ },
304
+ {
305
+ "inputs": [],
306
+ "name": "getInitialInfo",
307
+ "outputs": [
308
+ {
309
+ "components": [
310
+ {
311
+ "internalType": "NftId",
312
+ "name": "nftId",
313
+ "type": "uint96"
314
+ },
315
+ {
316
+ "internalType": "NftId",
317
+ "name": "parentNftId",
318
+ "type": "uint96"
319
+ },
320
+ {
321
+ "internalType": "ObjectType",
322
+ "name": "objectType",
323
+ "type": "uint8"
324
+ },
325
+ {
326
+ "internalType": "bool",
327
+ "name": "isInterceptor",
328
+ "type": "bool"
329
+ },
330
+ {
331
+ "internalType": "address",
332
+ "name": "objectAddress",
333
+ "type": "address"
334
+ },
335
+ {
336
+ "internalType": "address",
337
+ "name": "initialOwner",
338
+ "type": "address"
339
+ },
340
+ {
341
+ "internalType": "bytes",
342
+ "name": "data",
343
+ "type": "bytes"
344
+ }
345
+ ],
346
+ "internalType": "struct IRegistry.ObjectInfo",
347
+ "name": "info",
348
+ "type": "tuple"
349
+ }
350
+ ],
351
+ "stateMutability": "view",
352
+ "type": "function"
353
+ },
354
+ {
355
+ "inputs": [],
356
+ "name": "getInitialOwner",
357
+ "outputs": [
358
+ {
359
+ "internalType": "address",
360
+ "name": "",
361
+ "type": "address"
362
+ }
363
+ ],
364
+ "stateMutability": "view",
365
+ "type": "function"
366
+ },
367
+ {
368
+ "inputs": [],
369
+ "name": "getInitializedVersion",
370
+ "outputs": [
371
+ {
372
+ "internalType": "uint64",
373
+ "name": "",
374
+ "type": "uint64"
375
+ }
376
+ ],
377
+ "stateMutability": "view",
378
+ "type": "function"
379
+ },
380
+ {
381
+ "inputs": [],
382
+ "name": "getMajorVersion",
383
+ "outputs": [
384
+ {
385
+ "internalType": "VersionPart",
386
+ "name": "majorVersion",
387
+ "type": "uint8"
388
+ }
389
+ ],
390
+ "stateMutability": "view",
391
+ "type": "function"
392
+ },
393
+ {
394
+ "inputs": [],
395
+ "name": "getMasterInstance",
396
+ "outputs": [
397
+ {
398
+ "internalType": "address",
399
+ "name": "",
400
+ "type": "address"
401
+ }
402
+ ],
403
+ "stateMutability": "view",
404
+ "type": "function"
405
+ },
406
+ {
407
+ "inputs": [],
408
+ "name": "getMasterInstanceAccessManager",
409
+ "outputs": [
410
+ {
411
+ "internalType": "address",
412
+ "name": "",
413
+ "type": "address"
414
+ }
415
+ ],
416
+ "stateMutability": "view",
417
+ "type": "function"
418
+ },
419
+ {
420
+ "inputs": [],
421
+ "name": "getMasterInstanceBundleManager",
422
+ "outputs": [
423
+ {
424
+ "internalType": "address",
425
+ "name": "",
426
+ "type": "address"
427
+ }
428
+ ],
429
+ "stateMutability": "view",
430
+ "type": "function"
431
+ },
432
+ {
433
+ "inputs": [],
434
+ "name": "getMasterInstanceReader",
435
+ "outputs": [
436
+ {
437
+ "internalType": "address",
438
+ "name": "",
439
+ "type": "address"
440
+ }
441
+ ],
442
+ "stateMutability": "view",
443
+ "type": "function"
444
+ },
445
+ {
446
+ "inputs": [],
447
+ "name": "getNftId",
448
+ "outputs": [
449
+ {
450
+ "internalType": "NftId",
451
+ "name": "",
452
+ "type": "uint96"
453
+ }
454
+ ],
455
+ "stateMutability": "view",
456
+ "type": "function"
457
+ },
458
+ {
459
+ "inputs": [],
460
+ "name": "getOwner",
461
+ "outputs": [
462
+ {
463
+ "internalType": "address",
464
+ "name": "",
465
+ "type": "address"
466
+ }
467
+ ],
468
+ "stateMutability": "view",
469
+ "type": "function"
470
+ },
471
+ {
472
+ "inputs": [],
473
+ "name": "getRegistry",
474
+ "outputs": [
475
+ {
476
+ "internalType": "contract IRegistry",
477
+ "name": "",
478
+ "type": "address"
479
+ }
480
+ ],
481
+ "stateMutability": "view",
482
+ "type": "function"
483
+ },
484
+ {
485
+ "inputs": [],
486
+ "name": "getVersion",
487
+ "outputs": [
488
+ {
489
+ "internalType": "Version",
490
+ "name": "",
491
+ "type": "uint24"
492
+ }
493
+ ],
494
+ "stateMutability": "pure",
495
+ "type": "function"
496
+ },
497
+ {
498
+ "inputs": [
499
+ {
500
+ "internalType": "uint256",
501
+ "name": "idx",
502
+ "type": "uint256"
503
+ }
504
+ ],
505
+ "name": "getVersion",
506
+ "outputs": [
507
+ {
508
+ "internalType": "Version",
509
+ "name": "",
510
+ "type": "uint24"
511
+ }
512
+ ],
513
+ "stateMutability": "view",
514
+ "type": "function"
515
+ },
516
+ {
517
+ "inputs": [],
518
+ "name": "getVersionCount",
519
+ "outputs": [
520
+ {
521
+ "internalType": "uint256",
522
+ "name": "",
523
+ "type": "uint256"
524
+ }
525
+ ],
526
+ "stateMutability": "view",
527
+ "type": "function"
528
+ },
529
+ {
530
+ "inputs": [
531
+ {
532
+ "internalType": "Version",
533
+ "name": "_version",
534
+ "type": "uint24"
535
+ }
536
+ ],
537
+ "name": "getVersionInfo",
538
+ "outputs": [
539
+ {
540
+ "components": [
541
+ {
542
+ "internalType": "Version",
543
+ "name": "version",
544
+ "type": "uint24"
545
+ },
546
+ {
547
+ "internalType": "address",
548
+ "name": "implementation",
549
+ "type": "address"
550
+ },
551
+ {
552
+ "internalType": "address",
553
+ "name": "activatedBy",
554
+ "type": "address"
555
+ },
556
+ {
557
+ "internalType": "Timestamp",
558
+ "name": "activatedAt",
559
+ "type": "uint40"
560
+ },
561
+ {
562
+ "internalType": "Blocknumber",
563
+ "name": "activatedIn",
564
+ "type": "uint32"
565
+ }
566
+ ],
567
+ "internalType": "struct IVersionable.VersionInfo",
568
+ "name": "",
569
+ "type": "tuple"
570
+ }
571
+ ],
572
+ "stateMutability": "view",
573
+ "type": "function"
574
+ },
575
+ {
576
+ "inputs": [
577
+ {
578
+ "internalType": "address",
579
+ "name": "account",
580
+ "type": "address"
581
+ },
582
+ {
583
+ "internalType": "RoleId",
584
+ "name": "role",
585
+ "type": "uint64"
586
+ },
587
+ {
588
+ "internalType": "address",
589
+ "name": "instanceAddress",
590
+ "type": "address"
591
+ }
592
+ ],
593
+ "name": "hasRole",
594
+ "outputs": [
595
+ {
596
+ "internalType": "bool",
597
+ "name": "",
598
+ "type": "bool"
599
+ }
600
+ ],
601
+ "stateMutability": "view",
602
+ "type": "function"
603
+ },
604
+ {
605
+ "inputs": [
606
+ {
607
+ "internalType": "address",
608
+ "name": "implementation",
609
+ "type": "address"
610
+ },
611
+ {
612
+ "internalType": "address",
613
+ "name": "activatedBy",
614
+ "type": "address"
615
+ },
616
+ {
617
+ "internalType": "bytes",
618
+ "name": "data",
619
+ "type": "bytes"
620
+ }
621
+ ],
622
+ "name": "initialize",
623
+ "outputs": [],
624
+ "stateMutability": "nonpayable",
625
+ "type": "function"
626
+ },
627
+ {
628
+ "inputs": [
629
+ {
630
+ "internalType": "Version",
631
+ "name": "_version",
632
+ "type": "uint24"
633
+ }
634
+ ],
635
+ "name": "isInitialized",
636
+ "outputs": [
637
+ {
638
+ "internalType": "bool",
639
+ "name": "",
640
+ "type": "bool"
641
+ }
642
+ ],
643
+ "stateMutability": "view",
644
+ "type": "function"
645
+ },
646
+ {
647
+ "inputs": [],
648
+ "name": "linkToRegisteredNftId",
649
+ "outputs": [],
650
+ "stateMutability": "nonpayable",
651
+ "type": "function"
652
+ },
653
+ {
654
+ "inputs": [
655
+ {
656
+ "internalType": "address",
657
+ "name": "accessManagerAddress",
658
+ "type": "address"
659
+ },
660
+ {
661
+ "internalType": "address",
662
+ "name": "instanceAddress",
663
+ "type": "address"
664
+ },
665
+ {
666
+ "internalType": "address",
667
+ "name": "instanceReaderAddress",
668
+ "type": "address"
669
+ },
670
+ {
671
+ "internalType": "address",
672
+ "name": "bundleManagerAddress",
673
+ "type": "address"
674
+ }
675
+ ],
676
+ "name": "setAndRegisterMasterInstance",
677
+ "outputs": [
678
+ {
679
+ "internalType": "NftId",
680
+ "name": "masterInstanceNftId",
681
+ "type": "uint96"
682
+ }
683
+ ],
684
+ "stateMutability": "nonpayable",
685
+ "type": "function"
686
+ },
687
+ {
688
+ "inputs": [
689
+ {
690
+ "internalType": "address",
691
+ "name": "instanceReaderAddress",
692
+ "type": "address"
693
+ }
694
+ ],
695
+ "name": "setMasterInstanceReader",
696
+ "outputs": [],
697
+ "stateMutability": "nonpayable",
698
+ "type": "function"
699
+ },
700
+ {
701
+ "inputs": [
702
+ {
703
+ "internalType": "string",
704
+ "name": "targetName",
705
+ "type": "string"
706
+ },
707
+ {
708
+ "internalType": "bool",
709
+ "name": "locked",
710
+ "type": "bool"
711
+ }
712
+ ],
713
+ "name": "setTargetLocked",
714
+ "outputs": [],
715
+ "stateMutability": "nonpayable",
716
+ "type": "function"
717
+ },
718
+ {
719
+ "inputs": [
720
+ {
721
+ "internalType": "bytes4",
722
+ "name": "interfaceId",
723
+ "type": "bytes4"
724
+ }
725
+ ],
726
+ "name": "supportsInterface",
727
+ "outputs": [
728
+ {
729
+ "internalType": "bool",
730
+ "name": "",
731
+ "type": "bool"
732
+ }
733
+ ],
734
+ "stateMutability": "view",
735
+ "type": "function"
736
+ },
737
+ {
738
+ "inputs": [
739
+ {
740
+ "internalType": "address",
741
+ "name": "implementation",
742
+ "type": "address"
743
+ },
744
+ {
745
+ "internalType": "address",
746
+ "name": "activatedBy",
747
+ "type": "address"
748
+ },
749
+ {
750
+ "internalType": "bytes",
751
+ "name": "data",
752
+ "type": "bytes"
753
+ }
754
+ ],
755
+ "name": "upgrade",
756
+ "outputs": [],
757
+ "stateMutability": "nonpayable",
758
+ "type": "function"
759
+ },
760
+ {
761
+ "inputs": [
762
+ {
763
+ "internalType": "NftId",
764
+ "name": "instanceNftId",
765
+ "type": "uint96"
766
+ }
767
+ ],
768
+ "name": "upgradeInstanceReader",
769
+ "outputs": [],
770
+ "stateMutability": "nonpayable",
771
+ "type": "function"
772
+ }
773
+ ],
774
+ "bytecode": "0x60806040523480156200001157600080fd5b50620000546301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600280546001600160a01b031916331790556200007062000076565b6200012a565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000c75760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001275780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b614ea8806200013a6000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c8063893d20e811610104578063cde749f4116100a2578063edabac0311610071578063edabac031461054d578063eeff428e1461055e578063fb2cb101146105a9578063feec1190146105ba57600080fd5b8063cde749f414610510578063cf7a1d7714610518578063e338e27b1461052b578063eb59c6b11461053c57600080fd5b8063b3c65015116100de578063b3c65015146104b5578063b68d1809146104d5578063b88da759146104ea578063c22f980d146104fd57600080fd5b8063893d20e814610473578063946dfcfe1461047b578063a745e3df146104a257600080fd5b80634d459c901161017c578063644c45e01161014b578063644c45e0146104195780637c4363d21461044557806386ebbf4214610458578063872309c71461046b57600080fd5b80634d459c90146102c95780634f421333146103e25780635ab1bd53146103f557806363709eaf1461040657600080fd5b8063103bd5da116101b8578063103bd5da14610252578063138461e0146102655780631eff4b221461026f5780632b440bc9146102a457600080fd5b806301ffc9a7146101df5780630d8e6e2c146102215780630fec111c1461023d575b600080fd5b61020c6101ed366004614433565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102296105cd565b60405162ffffff9091168152602001610218565b610245610657565b60405161021891906144b4565b61020c610260366004614569565b610810565b61026d6108f6565b005b6102967f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610218565b6003546001600160a01b03165b6040516001600160a01b039091168152602001610218565b6103856102d73660046145c5565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020614e5383398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610218565b61020c6103f03660046145c5565b610b18565b6001546001600160a01b03166102b1565b61026d6104143660046146e3565b610bcb565b600154600160a01b90046001600160601b03165b6040516001600160601b039091168152602001610218565b61042d610453366004614734565b610e59565b61026d6104663660046147a5565b611560565b610296600081565b6102b1611736565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed90154610296565b61026d6104b0366004614806565b61184f565b6104bd6119a9565b6040516001600160401b039091168152602001610218565b60465b60405160ff9091168152602001610218565b6102296104f8366004614871565b6119ca565b61026d61050b36600461488a565b611a1b565b6104d8611c29565b61026d610526366004614806565b611cac565b6004546001600160a01b03166102b1565b6006546001600160a01b03166102b1565b6005546001600160a01b03166102b1565b610566611db5565b604080516001600160a01b03968716815294861660208601526001600160601b03909316928401929092528316606083015291909116608082015260a001610218565b6002546001600160a01b03166102b1565b61026d6105c83660046148a7565b61237f565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561062e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061065291906148c4565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b90910416151591810191909152600182018054919291606084019190610702906148e1565b80601f016020809104026020016040519081016040528092919081815260200182805461072e906148e1565b801561077b5780601f106107505761010080835404028352916020019161077b565b820191906000526020600020905b81548152906001019060200180831161075e57829003601f168201915b50505050508152505090506040518060e00160405280610799600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016107f46002546001600160a01b031690565b6001600160a01b03168152602001826060015181525091505090565b6000808290506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610856573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061087a9190614926565b6040516368fc2b7760e11b81529091506001600160a01b0382169063d1f856ee906108ab9088908a90600401614943565b602060405180830381865afa1580156108c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ec9190614970565b9695505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610958573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097c9190614970565b156109c3576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166109ec5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610a35573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a599190614970565b610a81576040516372657a5160e01b81526001600160a01b03821660048201526024016109ba565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610acb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aef9190614998565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b600080600080516020614e5383398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610ba0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc491906149b5565b1192915050565b336000610be06001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b038481166004830152919250600091831690638b09a5f090602401600060405180830381865afa158015610c2c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c549190810190614a2d565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015610cb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd69190614970565b15610cff5760405163aef351c360e01b81526001600160a01b03841660048201526024016109ba565b60208101516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0384169063a48f42e090602401600060405180830381865afa158015610d55573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d7d9190810190614a2d565b60800151905060008190506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610dc8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dec9190614926565b604051634222cc2360e01b81529091506001600160a01b03821690634222cc2390610e1d908b908b90600401614aff565b600060405180830381600087803b158015610e3757600080fd5b505af1158015610e4b573d6000803e3d6000fd5b505050505050505050505050565b6000610e63611736565b6001600160a01b0316336001600160a01b031614610e965760405163700dd81160e01b81523360048201526024016109ba565b6003546001600160a01b031615610f075760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030313a4143434553535f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b60648201526084016109ba565b6004546001600160a01b031615610f725760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030323a494e5354414e43455f4d41535445525f414c604482015268149150511657d4d15560ba1b60648201526084016109ba565b6006546001600160a01b031615610fe35760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030343a42554e444c455f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b60648201526084016109ba565b6001600160a01b0385166110435760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030353a4143434553535f4d414e414745525f5a45526044820152604f60f81b60648201526084016109ba565b6001600160a01b0384166110995760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030363a494e5354414e43455f5a45524f000000000060448201526064016109ba565b6001600160a01b0383166110fa5760405162461bcd60e51b815260206004820152602260248201527f4552524f523a4352442d3030373a494e5354414e43455f5245414445525f5a45604482015261524f60f01b60648201526084016109ba565b6001600160a01b03821661115a5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030383a42554e444c455f4d414e414745525f5a45526044820152604f60f81b60648201526084016109ba565b600084905060008490506000849050876001600160a01b0316836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d59190614926565b6001600160a01b03161461123d5760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030393a494e5354414e43455f415554484f524954596044820152680be9a92a69a82a886960bb1b60648201526084016109ba565b826001600160a01b0316826001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611285573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112a99190614926565b6001600160a01b0316146113175760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3031303a494e5354414e43455f5245414445525f494e60448201526e0a6a8829c868abe9a92a69a82a8869608b1b60648201526084016109ba565b826001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa15801561135f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113839190614926565b6001600160a01b0316146113f05760405162461bcd60e51b815260206004820152602e60248201527f4552524f523a4352442d3031313a42554e444c455f4d414e414745525f494e5360448201526d0a8829c868abe9a92a69a82a886960931b60648201526084016109ba565b600380546001600160a01b03199081166001600160a01b038b8116919091179092556004805482168a8416179055600580548216898416179055600680549091168783161790556001546000911663d39e6043602861144d611c29565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611492573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114b69190614926565b6004549091506001600160a01b0390811690600090831663026bc43b836114db611736565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016000604051808303816000875af1158015611528573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115509190810190614a2d565b519b9a5050505050505050505050565b336115736001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa1580156115bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115df9190614970565b611607576040516302613e9f60e51b81526001600160a01b03821660048201526024016109ba565b600061161b6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03871660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801561166e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116969190810190614a2d565b90506000816080015190506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117059190614926565b6040516317ea2ab560e21b81529091506001600160a01b03821690635fa8aad490610e1d908a908a90600401614b23565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561179b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117bf9190614970565b1561183f57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa15801561181b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106529190614926565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6118716105cd565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156118b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118d59190614b47565b600080516020614e338339815191528054600160401b900460ff1680611908575080546001600160401b03808416911610155b156119265760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561195185856125ff565b61195a8361289e565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b6000610652600080516020614e33833981519152546001600160401b031690565b6000600080516020614e5383398151915260010182815481106119ef576119ef614b64565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000611a2f6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611a82573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611aaa9190810190614a2d565b90506000816080015190506000816001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611af5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b199190614926565b9050336001600160a01b03821614611b46576040516302613e9f60e51b81523360048201526024016109ba565b600554600090611b5e906001600160a01b03166128a6565b60405163485cc95560e01b81526001600160a01b03878116600483015285811660248301529192509082169063485cc95590604401600060405180830381600087803b158015611bad57600080fd5b505af1158015611bc1573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528616925063f7bc431c91506024015b600060405180830381600087803b158015611c0957600080fd5b505af1158015611c1d573d6000803e3d6000fd5b50505050505050505050565b6000611c336105cd565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611c88573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106529190614b7a565b600080516020614e338339815191528054600160401b810460ff1615906001600160401b0316600081158015611cdf5750825b90506000826001600160401b03166001148015611cfb5750303b155b905081158015611d09575080155b15611d275760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611d5157845460ff60401b1916600160401b1785555b611d5b88886125ff565b611d658787612918565b8315611dab57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6000808080803381611dcf6001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b03821660048201819052919250829160009163d272ac1e90602401602060405180830381865afa158015611e1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e3f9190614998565b905060006001600160a01b03841663d39e60436028611e5c611c29565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611ea1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ec59190614926565b6003549091508190611edf906001600160a01b03166128a6565b60405163189acdbd60e31b8152306004820152909b506001600160a01b038c169063c4d66de890602401600060405180830381600087803b158015611f2357600080fd5b505af1158015611f37573d6000803e3d6000fd5b5050600454611f5192506001600160a01b031690506128a6565b60405163976b0a7760e01b81526001600160a01b038d8116600483015286811660248301526001600160601b0386166044830152336064830152919b50908b169063976b0a7790608401600060405180830381600087803b158015611fb557600080fd5b505af1158015611fc9573d6000803e3d6000fd5b5050600554611fe392506001600160a01b031690506128a6565b60405163485cc95560e01b81526001600160a01b0386811660048301528c811660248301529199509089169063485cc95590604401600060405180830381600087803b15801561203257600080fd5b505af1158015612046573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b038b811660048301528d16925063f7bc431c9150602401600060405180830381600087803b15801561208d57600080fd5b505af11580156120a1573d6000803e3d6000fd5b50506006546120bb92506001600160a01b031690506128a6565b60405163c0c53b8b60e01b81526001600160a01b038d8116600483015286811660248301528c811660448301529198509088169063c0c53b8b90606401600060405180830381600087803b15801561211257600080fd5b505af1158015612126573d6000803e3d6000fd5b505060405162422c9d60e81b81526001600160a01b038a811660048301528d16925063422c9d009150602401600060405180830381600087803b15801561216c57600080fd5b505af1158015612180573d6000803e3d6000fd5b5050505061218f8b8b89612a43565b8a6001600160a01b031663b428b0b06121a6612a99565b886040518363ffffffff1660e01b81526004016121c4929190614943565b6020604051808303816000875af11580156121e3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122079190614970565b508a6001600160a01b031663b7d2b16261221f612a99565b306040518363ffffffff1660e01b815260040161223d929190614943565b6020604051808303816000875af115801561225c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122809190614970565b5060405163026bc43b60e01b81526001600160a01b038b8116600483015287811660248301526000919083169063026bc43b906044016000604051808303816000875af11580156122d5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526122fd9190810190614a2d565b9050806000015199507f89f53d1fc9d655ac6863fb19d55f6cc8a7649a51ec36a0d13ec77d2bd2e970f38c8c8b8d60405161236994939291906001600160a01b0394851681529284166020840152921660408201526001600160601b0391909116606082015260800190565b60405180910390a1505050505050509091929394565b612387611736565b6001600160a01b0316336001600160a01b0316146123ba5760405163700dd81160e01b81523360048201526024016109ba565b6005546001600160a01b03166124275760405162461bcd60e51b815260206004820152602c60248201527f4552524f523a4352442d3030333a494e5354414e43455f5245414445525f4d4160448201526b14d5115497d393d517d4d15560a21b60648201526084016109ba565b6001600160a01b0381166124885760405162461bcd60e51b815260206004820152602260248201527f4552524f523a4352442d3031323a494e5354414e43455f5245414445525f5a45604482015261524f60f01b60648201526084016109ba565b6005546001600160a01b03908116908216036124ff5760405162461bcd60e51b815260206004820152603060248201527f4552524f523a4352442d3031343a494e5354414e43455f5245414445525f4d4160448201526f535445525f53414d455f41535f4e455760801b60648201526084016109ba565b600480546040805163379ed74560e21b8152905184936001600160a01b039384169385169263de7b5d1492818301926020928290030181865afa15801561254a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061256e9190614926565b6001600160a01b0316146125dc5760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3031353a494e5354414e43455f5245414445525f494e60448201526e0a6a8829c868abe9a92a69a82a8869608b1b60648201526084016109ba565b50600580546001600160a01b0319166001600160a01b0392909216919091179055565b612607612b11565b600080516020614e538339815191526000612637600080516020614e33833981519152546001600160401b031690565b905060006126436105cd565b9050816001600160401b03166001036126705760028301805462ffffff191662ffffff83161790556126be565b600283015462ffffff908116908216116126be5760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b60448201526064016109ba565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015612772573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127969190614b97565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf689061199a9083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101da612b11565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b038116612913576040516330be1a3d60e21b815260040160405180910390fd5b919050565b600080516020614e338339815191528054600160401b810460ff1615906001600160401b031660008115801561294b5750825b90506000826001600160401b031660011480156129675750303b155b905081158015612975575080155b156129935760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156129bd57845460ff60401b1916600160401b1785555b600080878060200190518101906129d49190614bbe565b925090506129e2818a612b4a565b6129f2639db409fb60e01b612bb5565b50508315612a3a57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b612a4c83612bda565b612a57838383613131565b612a6183836131e9565b612a6b83836133f8565b612a7583836135eb565b612a7f8383613838565b612a8a838383613a17565b612a948383613d89565b505050565b6040516368aebf7b60e01b81526000600482018190529073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015612aed573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106529190614b47565b600080516020614e3383398151915254600160401b900460ff16612b4857604051631afcd79f60e31b815260040160405180910390fd5b565b60006046612b56611c29565b6040805160ff9384166020820152929091169082015260600160405160208183030381529060405290506000612b8b84613ef9565b90506000612b9e8583603c848888613f6a565b612bae637b6a51fd60e01b612bb5565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b806001600160a01b0316635d66f90a612bf1614036565b604080516001600160e01b031960e085901b1681526001600160401b03909216600483015260248201526015604482015274446973747269627574696f6e4f776e6572526f6c6560581b6064820152608401600060405180830381600087803b158015612c5d57600080fd5b505af1158015612c71573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612c8c614071565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152600d60448201526c506f6f6c4f776e6572526f6c6560981b6064820152608401600060405180830381600087803b158015612cf057600080fd5b505af1158015612d04573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612d1f6140ad565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601060448201526f50726f647563744f776e6572526f6c6560801b6064820152608401600060405180830381600087803b158015612d8657600080fd5b505af1158015612d9a573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612db56140e9565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601760448201527f446973747269627574696f6e53657276696365526f6c650000000000000000006064820152608401600060405180830381600087803b158015612e2957600080fd5b505af1158015612e3d573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612e58614125565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152600f60448201526e506f6f6c53657276696365526f6c6560881b6064820152608401600060405180830381600087803b158015612ebe57600080fd5b505af1158015612ed2573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612eed614161565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601260448201527150726f6475637453657276696365526f6c6560701b6064820152608401600060405180830381600087803b158015612f5657600080fd5b505af1158015612f6a573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612f8561419d565b604080516001600160e01b031960e085901b1681526001600160401b03909216600483015260248201526011604482015270506f6c69637953657276696365526f6c6560781b6064820152608401600060405180830381600087803b158015612fed57600080fd5b505af1158015613001573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a61301c6141d9565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601160448201527042756e646c6553657276696365526f6c6560781b6064820152608401600060405180830381600087803b15801561308457600080fd5b505af1158015613098573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a6130b3614215565b604080516001600160e01b031960e085901b1681526001600160401b03909216600483015260248201526013604482015272496e7374616e636553657276696365526f6c6560681b6064820152608401600060405180830381600087803b15801561311d57600080fd5b505af1158015612bae573d6000803e3d6000fd5b60405163044ec4c360e41b81526001600160a01b038416906344ec4c309061315d908590600401614bed565b600060405180830381600087803b15801561317757600080fd5b505af115801561318b573d6000803e3d6000fd5b505060405163044ec4c360e41b81526001600160a01b03861692506344ec4c3091506131bb908490600401614c24565b600060405180830381600087803b1580156131d557600080fd5b505af1158015612a3a573d6000803e3d6000fd5b60006131fd6001546001600160a01b031690565b905060006001600160a01b03821663d39e6043607861321a611c29565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561325f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132839190614926565b9050836001600160a01b031663b428b0b061329c6140e9565b836040518363ffffffff1660e01b81526004016132ba929190614943565b6020604051808303816000875af11580156132d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132fd9190614970565b50604080516002808252606082018352600092602083019080368337019050509050630b24cf5f60e01b8160008151811061333a5761333a614b64565b6001600160e01b031990921660209283029190910190910152805163bd5947e360e01b908290600190811061337157613371614b64565b6001600160e01b0319909216602092830291909101909101526001600160a01b0385166329db8c3d826133a26140e9565b6040518363ffffffff1660e01b81526004016133bf929190614ca5565b600060405180830381600087803b1580156133d957600080fd5b505af11580156133ed573d6000803e3d6000fd5b505050505050505050565b6001546000906001600160a01b031663d39e6043608c613416611c29565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561345b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061347f9190614926565b9050826001600160a01b031663b428b0b0613498614125565b836040518363ffffffff1660e01b81526004016134b6929190614943565b6020604051808303816000875af11580156134d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134f99190614970565b5060408051600480825260a082019092526000916020820160808036833701905050905063e7cd37d460e01b8160008151811061353857613538614b64565b6001600160e01b0319909216602092830291909101909101528051633055195560e11b908290600190811061356f5761356f614b64565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d826135a0614125565b6040518363ffffffff1660e01b81526004016135bd929190614ca5565b600060405180830381600087803b1580156135d757600080fd5b505af1158015611dab573d6000803e3d6000fd5b6001546000906001600160a01b031663d39e6043606e613609611c29565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561364e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136729190614926565b9050826001600160a01b031663b428b0b061368b614161565b836040518363ffffffff1660e01b81526004016136a9929190614943565b6020604051808303816000875af11580156136c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136ec9190614970565b5060408051600580825260c082019092526000916020820160a0803683370190505090506391ff6eaa60e01b8160008151811061372b5761372b614b64565b6001600160e01b03199092166020928302919091019091015280516354e750a160e11b908290600190811061376257613762614b64565b6001600160e01b03199092166020928302919091019091015280516317b0844560e11b908290600290811061379957613799614b64565b6001600160e01b03199092166020928302919091019091015280516314eddc0360e31b90829060039081106137d0576137d0614b64565b6001600160e01b0319909216602092830291909101909101528051633e77a42160e11b908290600490811061380757613807614b64565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d826135a0614161565b6001546000906001600160a01b031663d39e604360d2613856611c29565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561389b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138bf9190614926565b9050826001600160a01b031663b428b0b06138d861419d565b836040518363ffffffff1660e01b81526004016138f6929190614943565b6020604051808303816000875af1158015613915573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139399190614970565b50604080516003808252608082019092526000916020820160608036833701905050905063bc8d400060e01b8160008151811061397857613978614b64565b6001600160e01b0319909216602092830291909101909101528051634d4b06a960e11b90829060019081106139af576139af614b64565b6001600160e01b0319909216602092830291909101909101528051631750d17360e21b90829060029081106139e6576139e6614b64565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d826135a061419d565b6001546000906001600160a01b031663d39e604360dc613a35611c29565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613a7a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a9e9190614926565b9050836001600160a01b031663b428b0b0613ab76141d9565b836040518363ffffffff1660e01b8152600401613ad5929190614943565b6020604051808303816000875af1158015613af4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b189190614970565b50604080516002808252606082018352600092602083019080368337019050509050636071a68e60e01b81600081518110613b5557613b55614b64565b6001600160e01b03199092166020928302919091019091015280516307f8b57360e31b9082906001908110613b8c57613b8c614b64565b6001600160e01b0319909216602092830291909101909101526001600160a01b0385166329db8c3d82613bbd6141d9565b6040518363ffffffff1660e01b8152600401613bda929190614ca5565b600060405180830381600087803b158015613bf457600080fd5b505af1158015613c08573d6000803e3d6000fd5b506000925060059150613c189050565b604051908082528060200260200182016040528015613c41578160200160208202803683370190505b509050630cc7e61460e01b81600081518110613c5f57613c5f614b64565b6001600160e01b0319909216602092830291909101909101528051631351fccf60e31b9082906001908110613c9657613c96614b64565b6001600160e01b03199092166020928302919091019091015280516346f0e8a760e11b9082906002908110613ccd57613ccd614b64565b6001600160e01b031990921660209283029190910190910152805163b5346af560e01b9082906003908110613d0457613d04614b64565b6001600160e01b03199092166020928302919091019091015280516306fa456560e01b9082906004908110613d3b57613d3b614b64565b6001600160e01b0319909216602092830291909101909101526001600160a01b0386166329db8c3d82613d6c6141d9565b6040518363ffffffff1660e01b8152600401611bef929190614cf8565b6001546000906001600160a01b031663d39e60436046613da7611c29565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613dec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e109190614926565b9050826001600160a01b031663b428b0b0613e29614215565b836040518363ffffffff1660e01b8152600401613e47929190614943565b6020604051808303816000875af1158015613e66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e8a9190614970565b506040805160018082528183019092526000916020808301908036833701905050905063f7bc431c60e01b81600081518110613ec857613ec8614b64565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d826135a0614215565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015613f40573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613f649190614998565b92915050565b613fab6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b613fb58287614251565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016140258382614d73565b50612a3a6303fb044760e21b612bb5565b6040516368aebf7b60e01b81526064600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612ad0565b6040516368aebf7b60e01b815261012c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612ad0565b6040516368aebf7b60e01b8152610190600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612ad0565b6040516368aebf7b60e01b8152610834600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612ad0565b6040516368aebf7b60e01b8152610898600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612ad0565b6040516368aebf7b60e01b81526108fc600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612ad0565b6040516368aebf7b60e01b8152610960600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612ad0565b6040516368aebf7b60e01b81526109c4600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612ad0565b6040516368aebf7b60e01b81526107d0600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612ad0565b6001600160a01b0382166142a75760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e65722069732030000060448201526064016109ba565b600280546001600160a01b0319166001600160a01b0384161790556142cb816142cf565b5050565b6001546001600160a01b0316156143085760015460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024016109ba565b6001600160a01b03811661432f5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036143655760405163fdeac91f60e01b81526001600160a01b03821660048201526024016109ba565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526316c8f9ff60e01b60048201526301ffc9a790602401602060405180830381865afa9250505080156143df575060408051601f3d908101601f191682019092526143dc91810190614970565b60015b6144075760405163fdeac91f60e01b81526001600160a01b03821660048201526024016109ba565b806142cb5760405163fdeac91f60e01b81526001600160a01b03831660048201526024016109ba565b50565b60006020828403121561444557600080fd5b81356001600160e01b03198116811461445d57600080fd5b9392505050565b60005b8381101561447f578181015183820152602001614467565b50506000910152565b600081518084526144a0816020860160208601614464565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161451d60c08401826001600160a01b03169052565b5060c083015160e080840152614537610100840182614488565b949350505050565b6001600160a01b038116811461443057600080fd5b6001600160401b038116811461443057600080fd5b60008060006060848603121561457e57600080fd5b83356145898161453f565b9250602084013561459981614554565b915060408401356145a98161453f565b809150509250925092565b62ffffff8116811461443057600080fd5b6000602082840312156145d757600080fd5b813561445d816145b4565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b038111828210171561461a5761461a6145e2565b60405290565b604051601f8201601f191681016001600160401b0381118282101715614648576146486145e2565b604052919050565b60006001600160401b03821115614669576146696145e2565b50601f01601f191660200190565b600061468a61468584614650565b614620565b905082815283838301111561469e57600080fd5b828260208301376000602084830101529392505050565b600082601f8301126146c657600080fd5b61445d83833560208501614677565b801515811461443057600080fd5b600080604083850312156146f657600080fd5b82356001600160401b0381111561470c57600080fd5b614718858286016146b5565b9250506020830135614729816146d5565b809150509250929050565b6000806000806080858703121561474a57600080fd5b84356147558161453f565b935060208501356147658161453f565b925060408501356147758161453f565b915060608501356147858161453f565b939692955090935050565b6001600160601b038116811461443057600080fd5b6000806000606084860312156147ba57600080fd5b83356147c581614790565b925060208401356147d58161453f565b915060408401356001600160401b038111156147f057600080fd5b6147fc868287016146b5565b9150509250925092565b60008060006060848603121561481b57600080fd5b83356148268161453f565b925060208401356148368161453f565b915060408401356001600160401b0381111561485157600080fd5b8401601f8101861361486257600080fd5b6147fc86823560208401614677565b60006020828403121561488357600080fd5b5035919050565b60006020828403121561489c57600080fd5b813561445d81614790565b6000602082840312156148b957600080fd5b813561445d8161453f565b6000602082840312156148d657600080fd5b815161445d816145b4565b600181811c908216806148f557607f821691505b60208210810361491557634e487b7160e01b600052602260045260246000fd5b50919050565b80516129138161453f565b60006020828403121561493857600080fd5b815161445d8161453f565b6001600160401b039290921682526001600160a01b0316602082015260400190565b8051612913816146d5565b60006020828403121561498257600080fd5b815161445d816146d5565b805161291381614790565b6000602082840312156149aa57600080fd5b815161445d81614790565b6000602082840312156149c757600080fd5b5051919050565b60ff8116811461443057600080fd5b8051612913816149ce565b600082601f8301126149f957600080fd5b8151614a0761468582614650565b818152846020838601011115614a1c57600080fd5b614537826020830160208701614464565b600060208284031215614a3f57600080fd5b81516001600160401b0380821115614a5657600080fd5b9083019060e08286031215614a6a57600080fd5b614a726145f8565b614a7b8361498d565b8152614a896020840161498d565b6020820152614a9a604084016149dd565b6040820152614aab60608401614965565b6060820152614abc6080840161491b565b6080820152614acd60a0840161491b565b60a082015260c083015182811115614ae457600080fd5b614af0878286016149e8565b60c08301525095945050505050565b604081526000614b126040830185614488565b905082151560208301529392505050565b6001600160a01b038316815260406020820181905260009061453790830184614488565b600060208284031215614b5957600080fd5b815161445d81614554565b634e487b7160e01b600052603260045260246000fd5b600060208284031215614b8c57600080fd5b815161445d816149ce565b600060208284031215614ba957600080fd5b815164ffffffffff8116811461445d57600080fd5b60008060408385031215614bd157600080fd5b8251614bdc8161453f565b60208401519092506147298161453f565b6001600160a01b038216815260406020820181905260089082015267496e7374616e636560c01b606082015260006080820161445d565b6001600160a01b0382168152604060208201819052600d908201526c213ab7323632a6b0b730b3b2b960991b606082015260006080820161445d565b600081518084526020808501945080840160005b83811015614c9a5781516001600160e01b03191687529582019590820190600101614c74565b509495945050505050565b606081526000614ccd606083016008815267496e7374616e636560c01b602082015260400190565b8281036020840152614cdf8186614c60565b9150506001600160401b03831660408301529392505050565b606081526000614ccd60608301600d81526c213ab7323632a6b0b730b3b2b960991b602082015260400190565b601f821115612a9457600081815260208120601f850160051c81016020861015614d4c5750805b601f850160051c820191505b81811015614d6b57828155600101614d58565b505050505050565b81516001600160401b03811115614d8c57614d8c6145e2565b614da081614d9a84546148e1565b84614d25565b602080601f831160018114614dd55760008415614dbd5750858301515b600019600386901b1c1916600185901b178555614d6b565b600085815260208120601f198616915b82811015614e0457888601518255948401946001909101908401614de5565b5085821015614e225787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220c1b35b050715c3da8ee5ed31bf74228c1b6232a4d5f5666a4e100cbe4218a96b64736f6c63430008140033",
775
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101da5760003560e01c8063893d20e811610104578063cde749f4116100a2578063edabac0311610071578063edabac031461054d578063eeff428e1461055e578063fb2cb101146105a9578063feec1190146105ba57600080fd5b8063cde749f414610510578063cf7a1d7714610518578063e338e27b1461052b578063eb59c6b11461053c57600080fd5b8063b3c65015116100de578063b3c65015146104b5578063b68d1809146104d5578063b88da759146104ea578063c22f980d146104fd57600080fd5b8063893d20e814610473578063946dfcfe1461047b578063a745e3df146104a257600080fd5b80634d459c901161017c578063644c45e01161014b578063644c45e0146104195780637c4363d21461044557806386ebbf4214610458578063872309c71461046b57600080fd5b80634d459c90146102c95780634f421333146103e25780635ab1bd53146103f557806363709eaf1461040657600080fd5b8063103bd5da116101b8578063103bd5da14610252578063138461e0146102655780631eff4b221461026f5780632b440bc9146102a457600080fd5b806301ffc9a7146101df5780630d8e6e2c146102215780630fec111c1461023d575b600080fd5b61020c6101ed366004614433565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102296105cd565b60405162ffffff9091168152602001610218565b610245610657565b60405161021891906144b4565b61020c610260366004614569565b610810565b61026d6108f6565b005b6102967f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610218565b6003546001600160a01b03165b6040516001600160a01b039091168152602001610218565b6103856102d73660046145c5565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020614e5383398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610218565b61020c6103f03660046145c5565b610b18565b6001546001600160a01b03166102b1565b61026d6104143660046146e3565b610bcb565b600154600160a01b90046001600160601b03165b6040516001600160601b039091168152602001610218565b61042d610453366004614734565b610e59565b61026d6104663660046147a5565b611560565b610296600081565b6102b1611736565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed90154610296565b61026d6104b0366004614806565b61184f565b6104bd6119a9565b6040516001600160401b039091168152602001610218565b60465b60405160ff9091168152602001610218565b6102296104f8366004614871565b6119ca565b61026d61050b36600461488a565b611a1b565b6104d8611c29565b61026d610526366004614806565b611cac565b6004546001600160a01b03166102b1565b6006546001600160a01b03166102b1565b6005546001600160a01b03166102b1565b610566611db5565b604080516001600160a01b03968716815294861660208601526001600160601b03909316928401929092528316606083015291909116608082015260a001610218565b6002546001600160a01b03166102b1565b61026d6105c83660046148a7565b61237f565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561062e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061065291906148c4565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b90910416151591810191909152600182018054919291606084019190610702906148e1565b80601f016020809104026020016040519081016040528092919081815260200182805461072e906148e1565b801561077b5780601f106107505761010080835404028352916020019161077b565b820191906000526020600020905b81548152906001019060200180831161075e57829003601f168201915b50505050508152505090506040518060e00160405280610799600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016107f46002546001600160a01b031690565b6001600160a01b03168152602001826060015181525091505090565b6000808290506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610856573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061087a9190614926565b6040516368fc2b7760e11b81529091506001600160a01b0382169063d1f856ee906108ab9088908a90600401614943565b602060405180830381865afa1580156108c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ec9190614970565b9695505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610958573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097c9190614970565b156109c3576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166109ec5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610a35573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a599190614970565b610a81576040516372657a5160e01b81526001600160a01b03821660048201526024016109ba565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610acb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aef9190614998565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b600080600080516020614e5383398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610ba0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc491906149b5565b1192915050565b336000610be06001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b038481166004830152919250600091831690638b09a5f090602401600060405180830381865afa158015610c2c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c549190810190614a2d565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015610cb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd69190614970565b15610cff5760405163aef351c360e01b81526001600160a01b03841660048201526024016109ba565b60208101516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0384169063a48f42e090602401600060405180830381865afa158015610d55573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d7d9190810190614a2d565b60800151905060008190506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610dc8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dec9190614926565b604051634222cc2360e01b81529091506001600160a01b03821690634222cc2390610e1d908b908b90600401614aff565b600060405180830381600087803b158015610e3757600080fd5b505af1158015610e4b573d6000803e3d6000fd5b505050505050505050505050565b6000610e63611736565b6001600160a01b0316336001600160a01b031614610e965760405163700dd81160e01b81523360048201526024016109ba565b6003546001600160a01b031615610f075760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030313a4143434553535f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b60648201526084016109ba565b6004546001600160a01b031615610f725760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030323a494e5354414e43455f4d41535445525f414c604482015268149150511657d4d15560ba1b60648201526084016109ba565b6006546001600160a01b031615610fe35760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030343a42554e444c455f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b60648201526084016109ba565b6001600160a01b0385166110435760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030353a4143434553535f4d414e414745525f5a45526044820152604f60f81b60648201526084016109ba565b6001600160a01b0384166110995760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030363a494e5354414e43455f5a45524f000000000060448201526064016109ba565b6001600160a01b0383166110fa5760405162461bcd60e51b815260206004820152602260248201527f4552524f523a4352442d3030373a494e5354414e43455f5245414445525f5a45604482015261524f60f01b60648201526084016109ba565b6001600160a01b03821661115a5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030383a42554e444c455f4d414e414745525f5a45526044820152604f60f81b60648201526084016109ba565b600084905060008490506000849050876001600160a01b0316836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d59190614926565b6001600160a01b03161461123d5760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030393a494e5354414e43455f415554484f524954596044820152680be9a92a69a82a886960bb1b60648201526084016109ba565b826001600160a01b0316826001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611285573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112a99190614926565b6001600160a01b0316146113175760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3031303a494e5354414e43455f5245414445525f494e60448201526e0a6a8829c868abe9a92a69a82a8869608b1b60648201526084016109ba565b826001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa15801561135f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113839190614926565b6001600160a01b0316146113f05760405162461bcd60e51b815260206004820152602e60248201527f4552524f523a4352442d3031313a42554e444c455f4d414e414745525f494e5360448201526d0a8829c868abe9a92a69a82a886960931b60648201526084016109ba565b600380546001600160a01b03199081166001600160a01b038b8116919091179092556004805482168a8416179055600580548216898416179055600680549091168783161790556001546000911663d39e6043602861144d611c29565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611492573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114b69190614926565b6004549091506001600160a01b0390811690600090831663026bc43b836114db611736565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016000604051808303816000875af1158015611528573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115509190810190614a2d565b519b9a5050505050505050505050565b336115736001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa1580156115bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115df9190614970565b611607576040516302613e9f60e51b81526001600160a01b03821660048201526024016109ba565b600061161b6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03871660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801561166e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116969190810190614a2d565b90506000816080015190506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117059190614926565b6040516317ea2ab560e21b81529091506001600160a01b03821690635fa8aad490610e1d908a908a90600401614b23565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561179b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117bf9190614970565b1561183f57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa15801561181b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106529190614926565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6118716105cd565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156118b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118d59190614b47565b600080516020614e338339815191528054600160401b900460ff1680611908575080546001600160401b03808416911610155b156119265760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561195185856125ff565b61195a8361289e565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b6000610652600080516020614e33833981519152546001600160401b031690565b6000600080516020614e5383398151915260010182815481106119ef576119ef614b64565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000611a2f6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611a82573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611aaa9190810190614a2d565b90506000816080015190506000816001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611af5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b199190614926565b9050336001600160a01b03821614611b46576040516302613e9f60e51b81523360048201526024016109ba565b600554600090611b5e906001600160a01b03166128a6565b60405163485cc95560e01b81526001600160a01b03878116600483015285811660248301529192509082169063485cc95590604401600060405180830381600087803b158015611bad57600080fd5b505af1158015611bc1573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528616925063f7bc431c91506024015b600060405180830381600087803b158015611c0957600080fd5b505af1158015611c1d573d6000803e3d6000fd5b50505050505050505050565b6000611c336105cd565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611c88573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106529190614b7a565b600080516020614e338339815191528054600160401b810460ff1615906001600160401b0316600081158015611cdf5750825b90506000826001600160401b03166001148015611cfb5750303b155b905081158015611d09575080155b15611d275760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611d5157845460ff60401b1916600160401b1785555b611d5b88886125ff565b611d658787612918565b8315611dab57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6000808080803381611dcf6001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b03821660048201819052919250829160009163d272ac1e90602401602060405180830381865afa158015611e1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e3f9190614998565b905060006001600160a01b03841663d39e60436028611e5c611c29565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611ea1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ec59190614926565b6003549091508190611edf906001600160a01b03166128a6565b60405163189acdbd60e31b8152306004820152909b506001600160a01b038c169063c4d66de890602401600060405180830381600087803b158015611f2357600080fd5b505af1158015611f37573d6000803e3d6000fd5b5050600454611f5192506001600160a01b031690506128a6565b60405163976b0a7760e01b81526001600160a01b038d8116600483015286811660248301526001600160601b0386166044830152336064830152919b50908b169063976b0a7790608401600060405180830381600087803b158015611fb557600080fd5b505af1158015611fc9573d6000803e3d6000fd5b5050600554611fe392506001600160a01b031690506128a6565b60405163485cc95560e01b81526001600160a01b0386811660048301528c811660248301529199509089169063485cc95590604401600060405180830381600087803b15801561203257600080fd5b505af1158015612046573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b038b811660048301528d16925063f7bc431c9150602401600060405180830381600087803b15801561208d57600080fd5b505af11580156120a1573d6000803e3d6000fd5b50506006546120bb92506001600160a01b031690506128a6565b60405163c0c53b8b60e01b81526001600160a01b038d8116600483015286811660248301528c811660448301529198509088169063c0c53b8b90606401600060405180830381600087803b15801561211257600080fd5b505af1158015612126573d6000803e3d6000fd5b505060405162422c9d60e81b81526001600160a01b038a811660048301528d16925063422c9d009150602401600060405180830381600087803b15801561216c57600080fd5b505af1158015612180573d6000803e3d6000fd5b5050505061218f8b8b89612a43565b8a6001600160a01b031663b428b0b06121a6612a99565b886040518363ffffffff1660e01b81526004016121c4929190614943565b6020604051808303816000875af11580156121e3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122079190614970565b508a6001600160a01b031663b7d2b16261221f612a99565b306040518363ffffffff1660e01b815260040161223d929190614943565b6020604051808303816000875af115801561225c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122809190614970565b5060405163026bc43b60e01b81526001600160a01b038b8116600483015287811660248301526000919083169063026bc43b906044016000604051808303816000875af11580156122d5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526122fd9190810190614a2d565b9050806000015199507f89f53d1fc9d655ac6863fb19d55f6cc8a7649a51ec36a0d13ec77d2bd2e970f38c8c8b8d60405161236994939291906001600160a01b0394851681529284166020840152921660408201526001600160601b0391909116606082015260800190565b60405180910390a1505050505050509091929394565b612387611736565b6001600160a01b0316336001600160a01b0316146123ba5760405163700dd81160e01b81523360048201526024016109ba565b6005546001600160a01b03166124275760405162461bcd60e51b815260206004820152602c60248201527f4552524f523a4352442d3030333a494e5354414e43455f5245414445525f4d4160448201526b14d5115497d393d517d4d15560a21b60648201526084016109ba565b6001600160a01b0381166124885760405162461bcd60e51b815260206004820152602260248201527f4552524f523a4352442d3031323a494e5354414e43455f5245414445525f5a45604482015261524f60f01b60648201526084016109ba565b6005546001600160a01b03908116908216036124ff5760405162461bcd60e51b815260206004820152603060248201527f4552524f523a4352442d3031343a494e5354414e43455f5245414445525f4d4160448201526f535445525f53414d455f41535f4e455760801b60648201526084016109ba565b600480546040805163379ed74560e21b8152905184936001600160a01b039384169385169263de7b5d1492818301926020928290030181865afa15801561254a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061256e9190614926565b6001600160a01b0316146125dc5760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3031353a494e5354414e43455f5245414445525f494e60448201526e0a6a8829c868abe9a92a69a82a8869608b1b60648201526084016109ba565b50600580546001600160a01b0319166001600160a01b0392909216919091179055565b612607612b11565b600080516020614e538339815191526000612637600080516020614e33833981519152546001600160401b031690565b905060006126436105cd565b9050816001600160401b03166001036126705760028301805462ffffff191662ffffff83161790556126be565b600283015462ffffff908116908216116126be5760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b60448201526064016109ba565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015612772573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127969190614b97565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf689061199a9083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101da612b11565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b038116612913576040516330be1a3d60e21b815260040160405180910390fd5b919050565b600080516020614e338339815191528054600160401b810460ff1615906001600160401b031660008115801561294b5750825b90506000826001600160401b031660011480156129675750303b155b905081158015612975575080155b156129935760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156129bd57845460ff60401b1916600160401b1785555b600080878060200190518101906129d49190614bbe565b925090506129e2818a612b4a565b6129f2639db409fb60e01b612bb5565b50508315612a3a57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b612a4c83612bda565b612a57838383613131565b612a6183836131e9565b612a6b83836133f8565b612a7583836135eb565b612a7f8383613838565b612a8a838383613a17565b612a948383613d89565b505050565b6040516368aebf7b60e01b81526000600482018190529073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015612aed573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106529190614b47565b600080516020614e3383398151915254600160401b900460ff16612b4857604051631afcd79f60e31b815260040160405180910390fd5b565b60006046612b56611c29565b6040805160ff9384166020820152929091169082015260600160405160208183030381529060405290506000612b8b84613ef9565b90506000612b9e8583603c848888613f6a565b612bae637b6a51fd60e01b612bb5565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b806001600160a01b0316635d66f90a612bf1614036565b604080516001600160e01b031960e085901b1681526001600160401b03909216600483015260248201526015604482015274446973747269627574696f6e4f776e6572526f6c6560581b6064820152608401600060405180830381600087803b158015612c5d57600080fd5b505af1158015612c71573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612c8c614071565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152600d60448201526c506f6f6c4f776e6572526f6c6560981b6064820152608401600060405180830381600087803b158015612cf057600080fd5b505af1158015612d04573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612d1f6140ad565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601060448201526f50726f647563744f776e6572526f6c6560801b6064820152608401600060405180830381600087803b158015612d8657600080fd5b505af1158015612d9a573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612db56140e9565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601760448201527f446973747269627574696f6e53657276696365526f6c650000000000000000006064820152608401600060405180830381600087803b158015612e2957600080fd5b505af1158015612e3d573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612e58614125565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152600f60448201526e506f6f6c53657276696365526f6c6560881b6064820152608401600060405180830381600087803b158015612ebe57600080fd5b505af1158015612ed2573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612eed614161565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601260448201527150726f6475637453657276696365526f6c6560701b6064820152608401600060405180830381600087803b158015612f5657600080fd5b505af1158015612f6a573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a612f8561419d565b604080516001600160e01b031960e085901b1681526001600160401b03909216600483015260248201526011604482015270506f6c69637953657276696365526f6c6560781b6064820152608401600060405180830381600087803b158015612fed57600080fd5b505af1158015613001573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a61301c6141d9565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601160448201527042756e646c6553657276696365526f6c6560781b6064820152608401600060405180830381600087803b15801561308457600080fd5b505af1158015613098573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a6130b3614215565b604080516001600160e01b031960e085901b1681526001600160401b03909216600483015260248201526013604482015272496e7374616e636553657276696365526f6c6560681b6064820152608401600060405180830381600087803b15801561311d57600080fd5b505af1158015612bae573d6000803e3d6000fd5b60405163044ec4c360e41b81526001600160a01b038416906344ec4c309061315d908590600401614bed565b600060405180830381600087803b15801561317757600080fd5b505af115801561318b573d6000803e3d6000fd5b505060405163044ec4c360e41b81526001600160a01b03861692506344ec4c3091506131bb908490600401614c24565b600060405180830381600087803b1580156131d557600080fd5b505af1158015612a3a573d6000803e3d6000fd5b60006131fd6001546001600160a01b031690565b905060006001600160a01b03821663d39e6043607861321a611c29565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561325f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132839190614926565b9050836001600160a01b031663b428b0b061329c6140e9565b836040518363ffffffff1660e01b81526004016132ba929190614943565b6020604051808303816000875af11580156132d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132fd9190614970565b50604080516002808252606082018352600092602083019080368337019050509050630b24cf5f60e01b8160008151811061333a5761333a614b64565b6001600160e01b031990921660209283029190910190910152805163bd5947e360e01b908290600190811061337157613371614b64565b6001600160e01b0319909216602092830291909101909101526001600160a01b0385166329db8c3d826133a26140e9565b6040518363ffffffff1660e01b81526004016133bf929190614ca5565b600060405180830381600087803b1580156133d957600080fd5b505af11580156133ed573d6000803e3d6000fd5b505050505050505050565b6001546000906001600160a01b031663d39e6043608c613416611c29565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561345b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061347f9190614926565b9050826001600160a01b031663b428b0b0613498614125565b836040518363ffffffff1660e01b81526004016134b6929190614943565b6020604051808303816000875af11580156134d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134f99190614970565b5060408051600480825260a082019092526000916020820160808036833701905050905063e7cd37d460e01b8160008151811061353857613538614b64565b6001600160e01b0319909216602092830291909101909101528051633055195560e11b908290600190811061356f5761356f614b64565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d826135a0614125565b6040518363ffffffff1660e01b81526004016135bd929190614ca5565b600060405180830381600087803b1580156135d757600080fd5b505af1158015611dab573d6000803e3d6000fd5b6001546000906001600160a01b031663d39e6043606e613609611c29565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561364e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136729190614926565b9050826001600160a01b031663b428b0b061368b614161565b836040518363ffffffff1660e01b81526004016136a9929190614943565b6020604051808303816000875af11580156136c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136ec9190614970565b5060408051600580825260c082019092526000916020820160a0803683370190505090506391ff6eaa60e01b8160008151811061372b5761372b614b64565b6001600160e01b03199092166020928302919091019091015280516354e750a160e11b908290600190811061376257613762614b64565b6001600160e01b03199092166020928302919091019091015280516317b0844560e11b908290600290811061379957613799614b64565b6001600160e01b03199092166020928302919091019091015280516314eddc0360e31b90829060039081106137d0576137d0614b64565b6001600160e01b0319909216602092830291909101909101528051633e77a42160e11b908290600490811061380757613807614b64565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d826135a0614161565b6001546000906001600160a01b031663d39e604360d2613856611c29565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561389b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138bf9190614926565b9050826001600160a01b031663b428b0b06138d861419d565b836040518363ffffffff1660e01b81526004016138f6929190614943565b6020604051808303816000875af1158015613915573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139399190614970565b50604080516003808252608082019092526000916020820160608036833701905050905063bc8d400060e01b8160008151811061397857613978614b64565b6001600160e01b0319909216602092830291909101909101528051634d4b06a960e11b90829060019081106139af576139af614b64565b6001600160e01b0319909216602092830291909101909101528051631750d17360e21b90829060029081106139e6576139e6614b64565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d826135a061419d565b6001546000906001600160a01b031663d39e604360dc613a35611c29565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613a7a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a9e9190614926565b9050836001600160a01b031663b428b0b0613ab76141d9565b836040518363ffffffff1660e01b8152600401613ad5929190614943565b6020604051808303816000875af1158015613af4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b189190614970565b50604080516002808252606082018352600092602083019080368337019050509050636071a68e60e01b81600081518110613b5557613b55614b64565b6001600160e01b03199092166020928302919091019091015280516307f8b57360e31b9082906001908110613b8c57613b8c614b64565b6001600160e01b0319909216602092830291909101909101526001600160a01b0385166329db8c3d82613bbd6141d9565b6040518363ffffffff1660e01b8152600401613bda929190614ca5565b600060405180830381600087803b158015613bf457600080fd5b505af1158015613c08573d6000803e3d6000fd5b506000925060059150613c189050565b604051908082528060200260200182016040528015613c41578160200160208202803683370190505b509050630cc7e61460e01b81600081518110613c5f57613c5f614b64565b6001600160e01b0319909216602092830291909101909101528051631351fccf60e31b9082906001908110613c9657613c96614b64565b6001600160e01b03199092166020928302919091019091015280516346f0e8a760e11b9082906002908110613ccd57613ccd614b64565b6001600160e01b031990921660209283029190910190910152805163b5346af560e01b9082906003908110613d0457613d04614b64565b6001600160e01b03199092166020928302919091019091015280516306fa456560e01b9082906004908110613d3b57613d3b614b64565b6001600160e01b0319909216602092830291909101909101526001600160a01b0386166329db8c3d82613d6c6141d9565b6040518363ffffffff1660e01b8152600401611bef929190614cf8565b6001546000906001600160a01b031663d39e60436046613da7611c29565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613dec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e109190614926565b9050826001600160a01b031663b428b0b0613e29614215565b836040518363ffffffff1660e01b8152600401613e47929190614943565b6020604051808303816000875af1158015613e66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e8a9190614970565b506040805160018082528183019092526000916020808301908036833701905050905063f7bc431c60e01b81600081518110613ec857613ec8614b64565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d826135a0614215565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015613f40573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613f649190614998565b92915050565b613fab6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b613fb58287614251565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016140258382614d73565b50612a3a6303fb044760e21b612bb5565b6040516368aebf7b60e01b81526064600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612ad0565b6040516368aebf7b60e01b815261012c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612ad0565b6040516368aebf7b60e01b8152610190600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612ad0565b6040516368aebf7b60e01b8152610834600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612ad0565b6040516368aebf7b60e01b8152610898600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612ad0565b6040516368aebf7b60e01b81526108fc600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612ad0565b6040516368aebf7b60e01b8152610960600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612ad0565b6040516368aebf7b60e01b81526109c4600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612ad0565b6040516368aebf7b60e01b81526107d0600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612ad0565b6001600160a01b0382166142a75760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e65722069732030000060448201526064016109ba565b600280546001600160a01b0319166001600160a01b0384161790556142cb816142cf565b5050565b6001546001600160a01b0316156143085760015460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024016109ba565b6001600160a01b03811661432f5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036143655760405163fdeac91f60e01b81526001600160a01b03821660048201526024016109ba565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526316c8f9ff60e01b60048201526301ffc9a790602401602060405180830381865afa9250505080156143df575060408051601f3d908101601f191682019092526143dc91810190614970565b60015b6144075760405163fdeac91f60e01b81526001600160a01b03821660048201526024016109ba565b806142cb5760405163fdeac91f60e01b81526001600160a01b03831660048201526024016109ba565b50565b60006020828403121561444557600080fd5b81356001600160e01b03198116811461445d57600080fd5b9392505050565b60005b8381101561447f578181015183820152602001614467565b50506000910152565b600081518084526144a0816020860160208601614464565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161451d60c08401826001600160a01b03169052565b5060c083015160e080840152614537610100840182614488565b949350505050565b6001600160a01b038116811461443057600080fd5b6001600160401b038116811461443057600080fd5b60008060006060848603121561457e57600080fd5b83356145898161453f565b9250602084013561459981614554565b915060408401356145a98161453f565b809150509250925092565b62ffffff8116811461443057600080fd5b6000602082840312156145d757600080fd5b813561445d816145b4565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b038111828210171561461a5761461a6145e2565b60405290565b604051601f8201601f191681016001600160401b0381118282101715614648576146486145e2565b604052919050565b60006001600160401b03821115614669576146696145e2565b50601f01601f191660200190565b600061468a61468584614650565b614620565b905082815283838301111561469e57600080fd5b828260208301376000602084830101529392505050565b600082601f8301126146c657600080fd5b61445d83833560208501614677565b801515811461443057600080fd5b600080604083850312156146f657600080fd5b82356001600160401b0381111561470c57600080fd5b614718858286016146b5565b9250506020830135614729816146d5565b809150509250929050565b6000806000806080858703121561474a57600080fd5b84356147558161453f565b935060208501356147658161453f565b925060408501356147758161453f565b915060608501356147858161453f565b939692955090935050565b6001600160601b038116811461443057600080fd5b6000806000606084860312156147ba57600080fd5b83356147c581614790565b925060208401356147d58161453f565b915060408401356001600160401b038111156147f057600080fd5b6147fc868287016146b5565b9150509250925092565b60008060006060848603121561481b57600080fd5b83356148268161453f565b925060208401356148368161453f565b915060408401356001600160401b0381111561485157600080fd5b8401601f8101861361486257600080fd5b6147fc86823560208401614677565b60006020828403121561488357600080fd5b5035919050565b60006020828403121561489c57600080fd5b813561445d81614790565b6000602082840312156148b957600080fd5b813561445d8161453f565b6000602082840312156148d657600080fd5b815161445d816145b4565b600181811c908216806148f557607f821691505b60208210810361491557634e487b7160e01b600052602260045260246000fd5b50919050565b80516129138161453f565b60006020828403121561493857600080fd5b815161445d8161453f565b6001600160401b039290921682526001600160a01b0316602082015260400190565b8051612913816146d5565b60006020828403121561498257600080fd5b815161445d816146d5565b805161291381614790565b6000602082840312156149aa57600080fd5b815161445d81614790565b6000602082840312156149c757600080fd5b5051919050565b60ff8116811461443057600080fd5b8051612913816149ce565b600082601f8301126149f957600080fd5b8151614a0761468582614650565b818152846020838601011115614a1c57600080fd5b614537826020830160208701614464565b600060208284031215614a3f57600080fd5b81516001600160401b0380821115614a5657600080fd5b9083019060e08286031215614a6a57600080fd5b614a726145f8565b614a7b8361498d565b8152614a896020840161498d565b6020820152614a9a604084016149dd565b6040820152614aab60608401614965565b6060820152614abc6080840161491b565b6080820152614acd60a0840161491b565b60a082015260c083015182811115614ae457600080fd5b614af0878286016149e8565b60c08301525095945050505050565b604081526000614b126040830185614488565b905082151560208301529392505050565b6001600160a01b038316815260406020820181905260009061453790830184614488565b600060208284031215614b5957600080fd5b815161445d81614554565b634e487b7160e01b600052603260045260246000fd5b600060208284031215614b8c57600080fd5b815161445d816149ce565b600060208284031215614ba957600080fd5b815164ffffffffff8116811461445d57600080fd5b60008060408385031215614bd157600080fd5b8251614bdc8161453f565b60208401519092506147298161453f565b6001600160a01b038216815260406020820181905260089082015267496e7374616e636560c01b606082015260006080820161445d565b6001600160a01b0382168152604060208201819052600d908201526c213ab7323632a6b0b730b3b2b960991b606082015260006080820161445d565b600081518084526020808501945080840160005b83811015614c9a5781516001600160e01b03191687529582019590820190600101614c74565b509495945050505050565b606081526000614ccd606083016008815267496e7374616e636560c01b602082015260400190565b8281036020840152614cdf8186614c60565b9150506001600160401b03831660408301529392505050565b606081526000614ccd60608301600d81526c213ab7323632a6b0b730b3b2b960991b602082015260400190565b601f821115612a9457600081815260208120601f850160051c81016020861015614d4c5750805b601f850160051c820191505b81811015614d6b57828155600101614d58565b505050505050565b81516001600160401b03811115614d8c57614d8c6145e2565b614da081614d9a84546148e1565b84614d25565b602080601f831160018114614dd55760008415614dbd5750858301515b600019600386901b1c1916600185901b178555614d6b565b600085815260208120601f198616915b82811015614e0457888601518255948401946001909101908401614de5565b5085821015614e225787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220c1b35b050715c3da8ee5ed31bf74228c1b6232a4d5f5666a4e100cbe4218a96b64736f6c63430008140033",
776
+ "linkReferences": {
777
+ "contracts/types/Blocknumber.sol": {
778
+ "BlocknumberLib": [
779
+ {
780
+ "length": 20,
781
+ "start": 3232
782
+ }
783
+ ]
784
+ },
785
+ "contracts/types/NftId.sol": {
786
+ "NftIdLib": [
787
+ {
788
+ "length": 20,
789
+ "start": 2648
790
+ },
791
+ {
792
+ "length": 20,
793
+ "start": 3506
794
+ },
795
+ {
796
+ "length": 20,
797
+ "start": 6299
798
+ }
799
+ ]
800
+ },
801
+ "contracts/types/RoleId.sol": {
802
+ "RoleIdLib": [
803
+ {
804
+ "length": 20,
805
+ "start": 11244
806
+ },
807
+ {
808
+ "length": 20,
809
+ "start": 16777
810
+ },
811
+ {
812
+ "length": 20,
813
+ "start": 16837
814
+ },
815
+ {
816
+ "length": 20,
817
+ "start": 16897
818
+ },
819
+ {
820
+ "length": 20,
821
+ "start": 16957
822
+ },
823
+ {
824
+ "length": 20,
825
+ "start": 17017
826
+ },
827
+ {
828
+ "length": 20,
829
+ "start": 17077
830
+ },
831
+ {
832
+ "length": 20,
833
+ "start": 17137
834
+ },
835
+ {
836
+ "length": 20,
837
+ "start": 17197
838
+ },
839
+ {
840
+ "length": 20,
841
+ "start": 17257
842
+ }
843
+ ]
844
+ },
845
+ "contracts/types/Timestamp.sol": {
846
+ "TimestampLib": [
847
+ {
848
+ "length": 20,
849
+ "start": 10354
850
+ }
851
+ ]
852
+ },
853
+ "contracts/types/Version.sol": {
854
+ "VersionLib": [
855
+ {
856
+ "length": 20,
857
+ "start": 1838
858
+ },
859
+ {
860
+ "length": 20,
861
+ "start": 6539
862
+ },
863
+ {
864
+ "length": 20,
865
+ "start": 7560
866
+ }
867
+ ]
868
+ }
869
+ },
870
+ "deployedLinkReferences": {
871
+ "contracts/types/Blocknumber.sol": {
872
+ "BlocknumberLib": [
873
+ {
874
+ "length": 20,
875
+ "start": 2918
876
+ }
877
+ ]
878
+ },
879
+ "contracts/types/NftId.sol": {
880
+ "NftIdLib": [
881
+ {
882
+ "length": 20,
883
+ "start": 2334
884
+ },
885
+ {
886
+ "length": 20,
887
+ "start": 3192
888
+ },
889
+ {
890
+ "length": 20,
891
+ "start": 5985
892
+ }
893
+ ]
894
+ },
895
+ "contracts/types/RoleId.sol": {
896
+ "RoleIdLib": [
897
+ {
898
+ "length": 20,
899
+ "start": 10930
900
+ },
901
+ {
902
+ "length": 20,
903
+ "start": 16463
904
+ },
905
+ {
906
+ "length": 20,
907
+ "start": 16523
908
+ },
909
+ {
910
+ "length": 20,
911
+ "start": 16583
912
+ },
913
+ {
914
+ "length": 20,
915
+ "start": 16643
916
+ },
917
+ {
918
+ "length": 20,
919
+ "start": 16703
920
+ },
921
+ {
922
+ "length": 20,
923
+ "start": 16763
924
+ },
925
+ {
926
+ "length": 20,
927
+ "start": 16823
928
+ },
929
+ {
930
+ "length": 20,
931
+ "start": 16883
932
+ },
933
+ {
934
+ "length": 20,
935
+ "start": 16943
936
+ }
937
+ ]
938
+ },
939
+ "contracts/types/Timestamp.sol": {
940
+ "TimestampLib": [
941
+ {
942
+ "length": 20,
943
+ "start": 10040
944
+ }
945
+ ]
946
+ },
947
+ "contracts/types/Version.sol": {
948
+ "VersionLib": [
949
+ {
950
+ "length": 20,
951
+ "start": 1524
952
+ },
953
+ {
954
+ "length": 20,
955
+ "start": 6225
956
+ },
957
+ {
958
+ "length": 20,
959
+ "start": 7246
960
+ }
961
+ ]
962
+ }
963
+ }
964
+ }