@etherisc/gif-next 0.0.2-e1e92ab-754 → 0.0.2-e2a57af-971

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