@etherisc/gif-next 0.0.2-f7b8c9f-518 → 0.0.2-f7eda15-119

Sign up to get free protection for your applications and to get access to all the features.
Files changed (394) hide show
  1. package/README.md +171 -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 +1085 -1354
  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 +1731 -1355
  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 +223 -63
  121. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  122. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +285 -49
  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 +196 -211
  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 +314 -111
  130. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  131. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +72 -76
  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/TestFee.sol/TestFee.json +4 -4
  160. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  161. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +19 -11
  162. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  163. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +14 -14
  164. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  165. package/artifacts/contracts/test/TestService.sol/TestService.json +58 -34
  166. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  167. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
  168. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  169. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  170. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  171. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +18 -2
  172. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  173. package/artifacts/contracts/test/Usdc.sol/USDC.json +91 -53
  174. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  175. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  176. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  177. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  178. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  179. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  180. package/artifacts/contracts/types/Fee.sol/FeeLib.json +4 -4
  181. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  182. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +31 -17
  183. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  184. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
  185. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  186. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  187. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  188. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  189. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  190. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  191. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  192. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +123 -0
  193. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  194. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  195. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  196. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +134 -8
  197. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  198. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  199. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  200. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +15 -2
  201. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  202. package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
  203. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  204. package/artifacts/contracts/types/UFixed.sol/{UFixedMathLib.json → UFixedLib.json} +3 -3
  205. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  206. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  207. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  208. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  209. package/contracts/components/Component.sol +216 -0
  210. package/contracts/components/Distribution.sol +48 -53
  211. package/contracts/components/IComponent.sol +43 -0
  212. package/contracts/components/IDistributionComponent.sol +6 -5
  213. package/contracts/components/IPoolComponent.sol +11 -15
  214. package/contracts/components/IProductComponent.sol +9 -7
  215. package/contracts/components/Pool.sol +77 -96
  216. package/contracts/components/Product.sol +83 -117
  217. package/contracts/experiment/cloning/Cloner.sol +47 -0
  218. package/contracts/instance/BundleManager.sol +125 -0
  219. package/contracts/instance/Cloneable.sol +46 -0
  220. package/contracts/instance/IInstance.sol +64 -46
  221. package/contracts/instance/IInstanceService.sol +41 -0
  222. package/contracts/instance/Instance.sol +251 -69
  223. package/contracts/instance/InstanceAccessManager.sol +298 -0
  224. package/contracts/instance/InstanceReader.sol +293 -0
  225. package/contracts/instance/InstanceService.sol +435 -0
  226. package/contracts/instance/InstanceServiceManager.sol +54 -0
  227. package/contracts/instance/ObjectManager.sol +84 -0
  228. package/contracts/instance/base/ComponentService.sol +134 -0
  229. package/contracts/instance/base/IKeyValueStore.sol +13 -14
  230. package/contracts/instance/base/ILifecycle.sol +3 -3
  231. package/contracts/instance/base/KeyValueStore.sol +49 -38
  232. package/contracts/instance/base/Lifecycle.sol +1 -1
  233. package/contracts/instance/module/IAccess.sol +48 -0
  234. package/contracts/instance/module/IBundle.sol +20 -0
  235. package/contracts/instance/module/IDistribution.sol +39 -0
  236. package/contracts/instance/module/IPolicy.sol +45 -0
  237. package/contracts/instance/module/IRisk.sol +11 -0
  238. package/contracts/instance/module/ISetup.sol +46 -0
  239. package/contracts/instance/module/ITreasury.sol +23 -0
  240. package/contracts/instance/service/BundleService.sol +293 -0
  241. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  242. package/contracts/instance/service/DistributionService.sol +72 -20
  243. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  244. package/contracts/instance/service/IBundleService.sol +44 -0
  245. package/contracts/instance/service/IDistributionService.sol +1 -1
  246. package/contracts/instance/service/IPolicyService.sol +94 -0
  247. package/contracts/instance/service/IPoolService.sol +7 -24
  248. package/contracts/instance/service/IProductService.sol +9 -76
  249. package/contracts/instance/service/PolicyService.sol +538 -0
  250. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  251. package/contracts/instance/service/PoolService.sol +77 -116
  252. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  253. package/contracts/instance/service/ProductService.sol +157 -433
  254. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  255. package/contracts/registry/ChainNft.sol +41 -26
  256. package/contracts/registry/IRegistry.sol +50 -25
  257. package/contracts/registry/IRegistryService.sol +52 -16
  258. package/contracts/registry/Registry.sol +266 -305
  259. package/contracts/registry/RegistryAccessManager.sol +216 -0
  260. package/contracts/registry/RegistryService.sol +130 -236
  261. package/contracts/registry/RegistryServiceManager.sol +28 -9
  262. package/contracts/registry/ReleaseManager.sol +332 -0
  263. package/contracts/registry/TokenRegistry.sol +112 -0
  264. package/contracts/shared/ERC165.sol +7 -3
  265. package/contracts/shared/IRegisterable.sol +2 -4
  266. package/contracts/shared/IService.sol +16 -0
  267. package/contracts/shared/NftOwnable.sol +7 -4
  268. package/contracts/shared/ProxyManager.sol +4 -4
  269. package/contracts/shared/Registerable.sol +12 -15
  270. package/contracts/shared/Service.sol +60 -0
  271. package/contracts/shared/TokenHandler.sol +27 -0
  272. package/contracts/shared/UpgradableProxyWithAdmin.sol +2 -2
  273. package/contracts/shared/Versionable.sol +3 -3
  274. package/contracts/test/TestFee.sol +2 -2
  275. package/contracts/test/TestRoleId.sol +1 -1
  276. package/contracts/test/TestService.sol +6 -7
  277. package/contracts/types/DistributorType.sol +55 -0
  278. package/contracts/types/Fee.sol +3 -3
  279. package/contracts/types/Key32.sol +8 -3
  280. package/contracts/types/NftIdSet.sol +26 -24
  281. package/contracts/types/NumberId.sol +52 -0
  282. package/contracts/types/ObjectType.sol +35 -14
  283. package/contracts/types/Referral.sol +85 -0
  284. package/contracts/types/RoleId.sol +61 -9
  285. package/contracts/types/StateId.sol +5 -1
  286. package/contracts/types/Timestamp.sol +7 -3
  287. package/contracts/types/UFixed.sol +128 -12
  288. package/contracts/types/Version.sol +4 -1
  289. package/package.json +4 -3
  290. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  291. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -301
  292. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  293. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -254
  294. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  295. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  296. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  297. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  298. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  299. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  300. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  301. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  302. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  303. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  304. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  305. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  306. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.json +0 -10
  307. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  308. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  309. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  310. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -297
  311. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  312. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  313. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -297
  314. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  315. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -117
  316. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  317. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  318. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  319. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -117
  320. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +0 -4
  321. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +0 -10
  322. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +0 -4
  323. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +0 -4
  324. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.json +0 -10
  325. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  326. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  327. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -271
  328. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  329. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -271
  330. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  331. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  332. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  333. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -164
  334. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  335. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -164
  336. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  337. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  338. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -113
  339. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  340. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -131
  341. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  342. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  343. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -638
  344. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  345. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  346. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  347. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -638
  348. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  349. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -794
  350. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  351. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  352. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -457
  353. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +0 -4
  354. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +0 -557
  355. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  356. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -716
  357. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  358. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -744
  359. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +0 -4
  360. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.json +0 -99
  361. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  362. package/contracts/components/BaseComponent.sol +0 -79
  363. package/contracts/components/IBaseComponent.sol +0 -19
  364. package/contracts/instance/IInstanceLinked.sol +0 -8
  365. package/contracts/instance/base/ComponentServiceBase.sol +0 -49
  366. package/contracts/instance/base/IInstanceBase.sol +0 -23
  367. package/contracts/instance/base/IService.sol +0 -15
  368. package/contracts/instance/base/InstanceBase.sol +0 -89
  369. package/contracts/instance/base/ModuleBase.sol +0 -57
  370. package/contracts/instance/base/ServiceBase.sol +0 -44
  371. package/contracts/instance/module/access/Access.sol +0 -149
  372. package/contracts/instance/module/access/IAccess.sol +0 -53
  373. package/contracts/instance/module/bundle/BundleModule.sol +0 -134
  374. package/contracts/instance/module/bundle/IBundle.sol +0 -53
  375. package/contracts/instance/module/component/ComponentModule.sol +0 -71
  376. package/contracts/instance/module/component/IComponent.sol +0 -28
  377. package/contracts/instance/module/distribution/DistributionModule.sol +0 -17
  378. package/contracts/instance/module/distribution/IDistribution.sol +0 -10
  379. package/contracts/instance/module/policy/IPolicy.sol +0 -63
  380. package/contracts/instance/module/policy/PolicyModule.sol +0 -91
  381. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  382. package/contracts/instance/module/pool/PoolModule.sol +0 -95
  383. package/contracts/instance/module/risk/IRisk.sol +0 -26
  384. package/contracts/instance/module/risk/RiskModule.sol +0 -62
  385. package/contracts/instance/module/treasury/ITreasury.sol +0 -84
  386. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  387. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -131
  388. package/contracts/instance/service/ComponentOwnerService.sol +0 -275
  389. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  390. package/contracts/registry/IChainNft.sol +0 -22
  391. package/contracts/test/TestDistribution.sol +0 -22
  392. package/contracts/test/TestPool.sol +0 -27
  393. package/contracts/test/TestProduct.sol +0 -74
  394. 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": "0x60806040523480156200001157600080fd5b50620000546301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600280546001600160a01b031916331790556200007062000076565b6200012a565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000c75760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001275780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b615f54806200013a6000396000f3fe608060405234801561001057600080fd5b50600436106101fb5760003560e01c80636a778e731161011a578063c22f980d116100ad578063eb59c6b11161007c578063eb59c6b114610596578063edabac03146105a7578063eeff428e146105b8578063fb2cb10114610603578063feec11901461061457600080fd5b8063c22f980d14610557578063cde749f41461056a578063cf7a1d7714610572578063e338e27b1461058557600080fd5b8063a745e3df116100e9578063a745e3df146104fc578063b3c650151461050f578063b68d18091461052f578063b88da7591461054457600080fd5b80636a778e73146104b2578063872309c7146104c5578063893d20e8146104cd578063946dfcfe146104d557600080fd5b806335241c06116101925780634f421333116101615780634f4213331461044f5780635ab1bd531461046257806363709eaf14610473578063644c45e01461048657600080fd5b806335241c06146102fd5780634b78ec38146103105780634ce05edc146103235780634d459c901461033657600080fd5b8063138461e0116101ce578063138461e0146102865780631d4e386a146102905780631eff4b22146102a35780632b440bc9146102d857600080fd5b806301ffc9a7146102005780630d8e6e2c146102425780630fec111c1461025e578063103bd5da14610273575b600080fd5b61022d61020e366004615409565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61024a610627565b60405162ffffff9091168152602001610239565b6102666106b1565b6040516102399190615483565b61022d610281366004615538565b61086a565b61028e610952565b005b61028e61029e366004615598565b610b74565b6102ca7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610239565b6003546001600160a01b03165b6040516001600160a01b039091168152602001610239565b61028e61030b3660046156c4565b61106b565b61028e61031e366004615598565b61127d565b61028e610331366004615598565b6115ee565b6103f2610344366004615736565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020615eff83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610239565b61022d61045d366004615736565b611a7e565b6001546001600160a01b03166102e5565b61028e610481366004615761565b611b31565b600154600160a01b90046001600160601b03165b6040516001600160601b039091168152602001610239565b61049a6104c03660046157a7565b611d83565b6102ca600081565b6102e56125be565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102ca565b61028e61050a3660046157c4565b6126d7565b610517612831565b6040516001600160401b039091168152602001610239565b60465b60405160ff9091168152602001610239565b61024a61055236600461582f565b612852565b61028e610565366004615848565b6128a3565b610532612ab1565b61028e6105803660046157c4565b612b34565b6004546001600160a01b03166102e5565b6006546001600160a01b03166102e5565b6005546001600160a01b03166102e5565b6105c0612c3d565b604080516001600160a01b03968716815294861660208601526001600160601b03909316928401929092528316606083015291909116608082015260a001610239565b6002546001600160a01b03166102e5565b61028e6106223660046157a7565b613207565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610688573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ac9190615865565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b9091041615159181019190915260018201805491929160608401919061075c90615882565b80601f016020809104026020016040519081016040528092919081815260200182805461078890615882565b80156107d55780601f106107aa576101008083540402835291602001916107d5565b820191906000526020600020905b8154815290600101906020018083116107b857829003601f168201915b50505050508152505090506040518060e001604052806107f3600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b0316815260200161084e6002546001600160a01b031690565b6001600160a01b03168152602001826060015181525091505090565b6000808290506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d491906158c7565b6040516368fc2b7760e11b81529091506001600160a01b0382169063d1f856ee906109059088908a906004016158e4565b602060405180830381865afa158015610922573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109469190615911565b925050505b9392505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156109b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109d89190615911565b15610a1f576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b0316610a485760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610a91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ab59190615911565b610add576040516372657a5160e01b81526001600160a01b0382166004820152602401610a16565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610b27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b4b9190615939565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b33610b876001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa158015610bcf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bf39190615911565b610c1b576040516302613e9f60e51b81526001600160a01b0382166004820152602401610a16565b6000610c2f6001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b038581166004830152919250600091831690638b09a5f090602401600060405180830381865afa158015610c7b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ca391908101906159c0565b9050610cc18160400151610cb5608c90565b60ff9081169116141590565b15610d045783608c5b60408084015190516304dd29ef60e21b81526001600160a01b03909316600484015260ff9182166024840152166044820152606401610a16565b6040516305247a1760e51b81526001600160601b03861660048201526000906001600160a01b0384169063a48f42e090602401600060405180830381865afa158015610d54573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d7c91908101906159c0565b90506000816080015190506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610dc7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610deb91906158c7565b6040805160018082528183019092529192506000919060208083019080368337019050509050638267876660e01b81600081518110610e2c57610e2c615a92565b60200260200101906001600160e01b03191690816001600160e01b03191681525050816001600160a01b03166329db8c3d896001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015610e9b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ec39190810190615aa8565b83610ecc613487565b6040518463ffffffff1660e01b8152600401610eea93929190615b35565b600060405180830381600087803b158015610f0457600080fd5b505af1158015610f18573d6000803e3d6000fd5b506000925060019150610f289050565b604051908082528060200260200182016040528015610f51578160200160208202803683370190505b5090506365effc1a60e01b81600081518110610f6f57610f6f615a92565b60200260200101906001600160e01b03191690816001600160e01b03191681525050826001600160a01b03166329db8c3d8a6001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015610fde573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526110069190810190615aa8565b8361100f613500565b6040518463ffffffff1660e01b815260040161102d93929190615b35565b600060405180830381600087803b15801561104757600080fd5b505af115801561105b573d6000803e3d6000fd5b5050505050505050505050505050565b3361107e6001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa1580156110c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110ea9190615911565b611112576040516302613e9f60e51b81526001600160a01b0382166004820152602401610a16565b60006111266001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03871660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611179573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111a191908101906159c0565b90506000816080015190506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111ec573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061121091906158c7565b60405163044ec4c360e41b81529091506001600160a01b038216906344ec4c3090611241908a908a90600401615b74565b600060405180830381600087803b15801561125b57600080fd5b505af115801561126f573d6000803e3d6000fd5b505050505050505050505050565b336112906001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa1580156112d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112fc9190615911565b611324576040516302613e9f60e51b81526001600160a01b0382166004820152602401610a16565b60006113386001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b038581166004830152919250600091831690638b09a5f090602401600060405180830381865afa158015611384573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113ac91908101906159c0565b90506113be8160400151610cb5606e90565b156113cb5783606e610cca565b6040516305247a1760e51b81526001600160601b03861660048201526000906001600160a01b0384169063a48f42e090602401600060405180830381865afa15801561141b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261144391908101906159c0565b90506000816080015190506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561148e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114b291906158c7565b604080516001808252818301909252919250600091906020808301908036833701905050905063b6b412ba60e01b816000815181106114f3576114f3615a92565b60200260200101906001600160e01b03191690816001600160e01b03191681525050816001600160a01b03166329db8c3d896001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611562573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261158a9190810190615aa8565b8361159361353c565b6040518463ffffffff1660e01b81526004016115b193929190615b35565b600060405180830381600087803b1580156115cb57600080fd5b505af11580156115df573d6000803e3d6000fd5b50505050505050505050505050565b336116016001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa158015611649573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061166d9190615911565b611695576040516302613e9f60e51b81526001600160a01b0382166004820152602401610a16565b60006116a96001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b038581166004830152919250600091831690638b09a5f090602401600060405180830381865afa1580156116f5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261171d91908101906159c0565b905061172f8160400151610cb5607890565b1561173c57836078610cca565b6040516305247a1760e51b81526001600160601b03861660048201526000906001600160a01b0384169063a48f42e090602401600060405180830381865afa15801561178c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117b491908101906159c0565b90506000816080015190506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156117ff573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061182391906158c7565b6040805160018082528183019092529192506000919060208083019080368337019050509050633f52c0f660e01b8160008151811061186457611864615a92565b60200260200101906001600160e01b03191690816001600160e01b03191681525050816001600160a01b03166329db8c3d896001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156118d3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526118fb9190810190615aa8565b83611904613578565b6040518463ffffffff1660e01b815260040161192293929190615b35565b600060405180830381600087803b15801561193c57600080fd5b505af1158015611950573d6000803e3d6000fd5b5060009250600291506119609050565b604051908082528060200260200182016040528015611989578160200160208202803683370190505b509050634cf30a8460e01b816000815181106119a7576119a7615a92565b6001600160e01b0319909216602092830291909101909101528051637c07103960e11b90829060019081106119de576119de615a92565b60200260200101906001600160e01b03191690816001600160e01b03191681525050826001600160a01b03166329db8c3d8a6001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611a4d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a759190810190615aa8565b8361100f6135b3565b600080600080516020615eff83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015611b06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b2a9190615b98565b1192915050565b336000611b466001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b038481166004830152919250600091831690638b09a5f090602401600060405180830381865afa158015611b92573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611bba91908101906159c0565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015611c18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c3c9190615911565b15611c655760405163aef351c360e01b81526001600160a01b0384166004820152602401610a16565b60208101516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0384169063a48f42e090602401600060405180830381865afa158015611cbb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ce391908101906159c0565b60800151905060008190506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d5291906158c7565b604051634222cc2360e01b81529091506001600160a01b03821690634222cc2390611241908b908b90600401615bb1565b6000611d8d6125be565b6001600160a01b0316336001600160a01b031614611dc05760405163700dd81160e01b8152336004820152602401610a16565b6004546001600160a01b031615611e2b5760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030323a494e5354414e43455f4d41535445525f414c604482015268149150511657d4d15560ba1b6064820152608401610a16565b6003546001600160a01b031615611e9c5760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030313a4143434553535f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b6064820152608401610a16565b6006546001600160a01b031615611f0d5760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030343a42554e444c455f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b6064820152608401610a16565b6001600160a01b038216611f635760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030363a494e5354414e43455f5a45524f00000000006044820152606401610a16565b60008290506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611fa8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fcc91906158c7565b905060008190506000836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612013573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061203791906158c7565b905060008190506000856001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa15801561207e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120a291906158c7565b9050806001600160a01b0385166121055760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030353a4143434553535f4d414e414745525f5a45526044820152604f60f81b6064820152608401610a16565b6001600160a01b0383166121665760405162461bcd60e51b815260206004820152602260248201527f4552524f523a4352442d3030373a494e5354414e43455f5245414445525f5a45604482015261524f60f01b6064820152608401610a16565b6001600160a01b0381166121c65760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030383a42554e444c455f4d414e414745525f5a45526044820152604f60f81b6064820152608401610a16565b846001600160a01b0316876001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561220e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061223291906158c7565b6001600160a01b03161461229a5760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030393a494e5354414e43455f415554484f524954596044820152680be9a92a69a82a886960bb1b6064820152608401610a16565b866001600160a01b0316846001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156122e2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061230691906158c7565b6001600160a01b0316146123745760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3031303a494e5354414e43455f5245414445525f494e60448201526e0a6a8829c868abe9a92a69a82a8869608b1b6064820152608401610a16565b866001600160a01b0316826001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156123bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123e091906158c7565b6001600160a01b03161461244d5760405162461bcd60e51b815260206004820152602e60248201527f4552524f523a4352442d3031313a42554e444c455f4d414e414745525f494e5360448201526d0a8829c868abe9a92a69a82a886960931b6064820152608401610a16565b600380546001600160a01b03199081166001600160a01b03888116919091179092556004805482168c8416179055600580548216868416179055600680549091168383161790556001546000911663d39e604360286124aa612ab1565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156124ef573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061251391906158c7565b6004549091506001600160a01b0390811690600090831663026bc43b836125386125be565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016000604051808303816000875af1158015612585573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526125ad91908101906159c0565b519c9b505050505050505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015612623573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126479190615911565b156126c757600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa1580156126a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ac91906158c7565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6126f9610627565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015612739573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061275d9190615bd5565b600080516020615edf8339815191528054600160401b900460ff1680612790575080546001600160401b03808416911610155b156127ae5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556127d985856135ef565b6127e28361388e565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006106ac600080516020615edf833981519152546001600160401b031690565b6000600080516020615eff833981519152600101828154811061287757612877615a92565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60006128b76001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801561290a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261293291908101906159c0565b90506000816080015190506000816001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561297d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129a191906158c7565b9050336001600160a01b038216146129ce576040516302613e9f60e51b8152336004820152602401610a16565b6005546000906129e6906001600160a01b0316613896565b60405163485cc95560e01b81526001600160a01b03878116600483015285811660248301529192509082169063485cc95590604401600060405180830381600087803b158015612a3557600080fd5b505af1158015612a49573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528616925063f7bc431c91506024015b600060405180830381600087803b158015612a9157600080fd5b505af1158015612aa5573d6000803e3d6000fd5b50505050505050505050565b6000612abb610627565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015612b10573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ac9190615bf2565b600080516020615edf8339815191528054600160401b810460ff1615906001600160401b0316600081158015612b675750825b90506000826001600160401b03166001148015612b835750303b155b905081158015612b91575080155b15612baf5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315612bd957845460ff60401b1916600160401b1785555b612be388886135ef565b612bed8787613908565b8315612c3357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6000808080803381612c576001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b03821660048201819052919250829160009163d272ac1e90602401602060405180830381865afa158015612ca3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cc79190615939565b905060006001600160a01b03841663d39e60436028612ce4612ab1565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612d29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d4d91906158c7565b6003549091508190612d67906001600160a01b0316613896565b60405163189acdbd60e31b8152306004820152909b506001600160a01b038c169063c4d66de890602401600060405180830381600087803b158015612dab57600080fd5b505af1158015612dbf573d6000803e3d6000fd5b5050600454612dd992506001600160a01b03169050613896565b60405163976b0a7760e01b81526001600160a01b038d8116600483015286811660248301526001600160601b0386166044830152336064830152919b50908b169063976b0a7790608401600060405180830381600087803b158015612e3d57600080fd5b505af1158015612e51573d6000803e3d6000fd5b5050600554612e6b92506001600160a01b03169050613896565b60405163485cc95560e01b81526001600160a01b0386811660048301528c811660248301529199509089169063485cc95590604401600060405180830381600087803b158015612eba57600080fd5b505af1158015612ece573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b038b811660048301528d16925063f7bc431c9150602401600060405180830381600087803b158015612f1557600080fd5b505af1158015612f29573d6000803e3d6000fd5b5050600654612f4392506001600160a01b03169050613896565b60405163c0c53b8b60e01b81526001600160a01b038d8116600483015286811660248301528c811660448301529198509088169063c0c53b8b90606401600060405180830381600087803b158015612f9a57600080fd5b505af1158015612fae573d6000803e3d6000fd5b505060405162422c9d60e81b81526001600160a01b038a811660048301528d16925063422c9d009150602401600060405180830381600087803b158015612ff457600080fd5b505af1158015613008573d6000803e3d6000fd5b505050506130178b8b89613a33565b8a6001600160a01b031663b428b0b061302e613a89565b886040518363ffffffff1660e01b815260040161304c9291906158e4565b6020604051808303816000875af115801561306b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061308f9190615911565b508a6001600160a01b031663b7d2b1626130a7613a89565b306040518363ffffffff1660e01b81526004016130c59291906158e4565b6020604051808303816000875af11580156130e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131089190615911565b5060405163026bc43b60e01b81526001600160a01b038b8116600483015287811660248301526000919083169063026bc43b906044016000604051808303816000875af115801561315d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261318591908101906159c0565b9050806000015199507f89f53d1fc9d655ac6863fb19d55f6cc8a7649a51ec36a0d13ec77d2bd2e970f38c8c8b8d6040516131f194939291906001600160a01b0394851681529284166020840152921660408201526001600160601b0391909116606082015260800190565b60405180910390a1505050505050509091929394565b61320f6125be565b6001600160a01b0316336001600160a01b0316146132425760405163700dd81160e01b8152336004820152602401610a16565b6005546001600160a01b03166132af5760405162461bcd60e51b815260206004820152602c60248201527f4552524f523a4352442d3030333a494e5354414e43455f5245414445525f4d4160448201526b14d5115497d393d517d4d15560a21b6064820152608401610a16565b6001600160a01b0381166133105760405162461bcd60e51b815260206004820152602260248201527f4552524f523a4352442d3031323a494e5354414e43455f5245414445525f5a45604482015261524f60f01b6064820152608401610a16565b6005546001600160a01b03908116908216036133875760405162461bcd60e51b815260206004820152603060248201527f4552524f523a4352442d3031343a494e5354414e43455f5245414445525f4d4160448201526f535445525f53414d455f41535f4e455760801b6064820152608401610a16565b600480546040805163379ed74560e21b8152905184936001600160a01b039384169385169263de7b5d1492818301926020928290030181865afa1580156133d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133f691906158c7565b6001600160a01b0316146134645760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3031353a494e5354414e43455f5245414445525f494e60448201526e0a6a8829c868abe9a92a69a82a8869608b1b6064820152608401610a16565b50600580546001600160a01b0319166001600160a01b0392909216919091179055565b6040516368aebf7b60e01b815261012c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af41580156134dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ac9190615bd5565b6040516368aebf7b60e01b8152610960600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016134bf565b6040516368aebf7b60e01b8152610190600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016134bf565b6040516368aebf7b60e01b81526064600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016134bf565b6040516368aebf7b60e01b81526108fc600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016134bf565b6135f7613ac4565b600080516020615eff8339815191526000613627600080516020615edf833981519152546001600160401b031690565b90506000613633610627565b9050816001600160401b03166001036136605760028301805462ffffff191662ffffff83161790556136ae565b600283015462ffffff908116908216116136ae5760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610a16565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015613762573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137869190615c0f565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf68906128229083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101fb613ac4565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b038116613903576040516330be1a3d60e21b815260040160405180910390fd5b919050565b600080516020615edf8339815191528054600160401b810460ff1615906001600160401b031660008115801561393b5750825b90506000826001600160401b031660011480156139575750303b155b905081158015613965575080155b156139835760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156139ad57845460ff60401b1916600160401b1785555b600080878060200190518101906139c49190615c36565b925090506139d2818a613afd565b6139e2639db409fb60e01b613b68565b50508315613a2a57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b613a3c83613b8d565b613a478383836140e4565b613a5183836141fa565b613a5b8383614409565b613a6583836145fc565b613a6f8383614849565b613a7a838383614a28565b613a848383614d9a565b505050565b6040516368aebf7b60e01b81526000600482018190529073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016134bf565b600080516020615edf83398151915254600160401b900460ff16613afb57604051631afcd79f60e31b815260040160405180910390fd5b565b60006046613b09612ab1565b6040805160ff9384166020820152929091169082015260600160405160208183030381529060405290506000613b3e84614ffa565b90506000613b518583603c84888861506b565b613b61637b6a51fd60e01b613b68565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b806001600160a01b0316635d66f90a613ba4613578565b604080516001600160e01b031960e085901b1681526001600160401b03909216600483015260248201526015604482015274446973747269627574696f6e4f776e6572526f6c6560581b6064820152608401600060405180830381600087803b158015613c1057600080fd5b505af1158015613c24573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a613c3f613487565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152600d60448201526c506f6f6c4f776e6572526f6c6560981b6064820152608401600060405180830381600087803b158015613ca357600080fd5b505af1158015613cb7573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a613cd261353c565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601060448201526f50726f647563744f776e6572526f6c6560801b6064820152608401600060405180830381600087803b158015613d3957600080fd5b505af1158015613d4d573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a613d68615137565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601760448201527f446973747269627574696f6e53657276696365526f6c650000000000000000006064820152608401600060405180830381600087803b158015613ddc57600080fd5b505af1158015613df0573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a613e0b615173565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152600f60448201526e506f6f6c53657276696365526f6c6560881b6064820152608401600060405180830381600087803b158015613e7157600080fd5b505af1158015613e85573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a613ea06135b3565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601260448201527150726f6475637453657276696365526f6c6560701b6064820152608401600060405180830381600087803b158015613f0957600080fd5b505af1158015613f1d573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a613f38613500565b604080516001600160e01b031960e085901b1681526001600160401b03909216600483015260248201526011604482015270506f6c69637953657276696365526f6c6560781b6064820152608401600060405180830381600087803b158015613fa057600080fd5b505af1158015613fb4573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a613fcf6151af565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601160448201527042756e646c6553657276696365526f6c6560781b6064820152608401600060405180830381600087803b15801561403757600080fd5b505af115801561404b573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a6140666151eb565b604080516001600160e01b031960e085901b1681526001600160401b03909216600483015260248201526013604482015272496e7374616e636553657276696365526f6c6560681b6064820152608401600060405180830381600087803b1580156140d057600080fd5b505af1158015613b61573d6000803e3d6000fd5b60405163044ec4c360e41b81526001600160a01b038416906344ec4c3090614110908690600401615c65565b600060405180830381600087803b15801561412a57600080fd5b505af115801561413e573d6000803e3d6000fd5b505060405163044ec4c360e41b81526001600160a01b03861692506344ec4c30915061416e908590600401615ca9565b600060405180830381600087803b15801561418857600080fd5b505af115801561419c573d6000803e3d6000fd5b505060405163044ec4c360e41b81526001600160a01b03861692506344ec4c3091506141cc908490600401615ce0565b600060405180830381600087803b1580156141e657600080fd5b505af1158015613a2a573d6000803e3d6000fd5b600061420e6001546001600160a01b031690565b905060006001600160a01b03821663d39e6043607861422b612ab1565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015614270573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061429491906158c7565b9050836001600160a01b031663b428b0b06142ad615137565b836040518363ffffffff1660e01b81526004016142cb9291906158e4565b6020604051808303816000875af11580156142ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061430e9190615911565b50604080516002808252606082018352600092602083019080368337019050509050630b24cf5f60e01b8160008151811061434b5761434b615a92565b6001600160e01b031990921660209283029190910190910152805163bd5947e360e01b908290600190811061438257614382615a92565b6001600160e01b0319909216602092830291909101909101526001600160a01b0385166329db8c3d826143b3615137565b6040518363ffffffff1660e01b81526004016143d0929190615d1c565b600060405180830381600087803b1580156143ea57600080fd5b505af11580156143fe573d6000803e3d6000fd5b505050505050505050565b6001546000906001600160a01b031663d39e6043608c614427612ab1565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561446c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061449091906158c7565b9050826001600160a01b031663b428b0b06144a9615173565b836040518363ffffffff1660e01b81526004016144c79291906158e4565b6020604051808303816000875af11580156144e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061450a9190615911565b5060408051600480825260a082019092526000916020820160808036833701905050905063e7cd37d460e01b8160008151811061454957614549615a92565b6001600160e01b0319909216602092830291909101909101528051633055195560e11b908290600190811061458057614580615a92565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d826145b1615173565b6040518363ffffffff1660e01b81526004016145ce929190615d1c565b600060405180830381600087803b1580156145e857600080fd5b505af1158015612c33573d6000803e3d6000fd5b6001546000906001600160a01b031663d39e6043606e61461a612ab1565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561465f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061468391906158c7565b9050826001600160a01b031663b428b0b061469c6135b3565b836040518363ffffffff1660e01b81526004016146ba9291906158e4565b6020604051808303816000875af11580156146d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906146fd9190615911565b5060408051600580825260c082019092526000916020820160a0803683370190505090506391ff6eaa60e01b8160008151811061473c5761473c615a92565b6001600160e01b03199092166020928302919091019091015280516354e750a160e11b908290600190811061477357614773615a92565b6001600160e01b03199092166020928302919091019091015280516317b0844560e11b90829060029081106147aa576147aa615a92565b6001600160e01b03199092166020928302919091019091015280516314eddc0360e31b90829060039081106147e1576147e1615a92565b6001600160e01b0319909216602092830291909101909101528051633e77a42160e11b908290600490811061481857614818615a92565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d826145b16135b3565b6001546000906001600160a01b031663d39e604360d2614867612ab1565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156148ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906148d091906158c7565b9050826001600160a01b031663b428b0b06148e9613500565b836040518363ffffffff1660e01b81526004016149079291906158e4565b6020604051808303816000875af1158015614926573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061494a9190615911565b50604080516003808252608082019092526000916020820160608036833701905050905063bc8d400060e01b8160008151811061498957614989615a92565b6001600160e01b0319909216602092830291909101909101528051634d4b06a960e11b90829060019081106149c0576149c0615a92565b6001600160e01b0319909216602092830291909101909101528051631750d17360e21b90829060029081106149f7576149f7615a92565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d826145b1613500565b6001546000906001600160a01b031663d39e604360dc614a46612ab1565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015614a8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614aaf91906158c7565b9050836001600160a01b031663b428b0b0614ac86151af565b836040518363ffffffff1660e01b8152600401614ae69291906158e4565b6020604051808303816000875af1158015614b05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614b299190615911565b50604080516002808252606082018352600092602083019080368337019050509050636071a68e60e01b81600081518110614b6657614b66615a92565b6001600160e01b03199092166020928302919091019091015280516307f8b57360e31b9082906001908110614b9d57614b9d615a92565b6001600160e01b0319909216602092830291909101909101526001600160a01b0385166329db8c3d82614bce6151af565b6040518363ffffffff1660e01b8152600401614beb929190615d1c565b600060405180830381600087803b158015614c0557600080fd5b505af1158015614c19573d6000803e3d6000fd5b506000925060059150614c299050565b604051908082528060200260200182016040528015614c52578160200160208202803683370190505b509050630cc7e61460e01b81600081518110614c7057614c70615a92565b6001600160e01b0319909216602092830291909101909101528051631351fccf60e31b9082906001908110614ca757614ca7615a92565b6001600160e01b03199092166020928302919091019091015280516346f0e8a760e11b9082906002908110614cde57614cde615a92565b6001600160e01b031990921660209283029190910190910152805163b5346af560e01b9082906003908110614d1557614d15615a92565b6001600160e01b03199092166020928302919091019091015280516306fa456560e01b9082906004908110614d4c57614d4c615a92565b6001600160e01b0319909216602092830291909101909101526001600160a01b0386166329db8c3d82614d7d6151af565b6040518363ffffffff1660e01b8152600401612a77929190615d6f565b6001546000906001600160a01b031663d39e60436046614db8612ab1565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015614dfd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614e2191906158c7565b9050826001600160a01b031663b428b0b0614e3a6151eb565b836040518363ffffffff1660e01b8152600401614e589291906158e4565b6020604051808303816000875af1158015614e77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614e9b9190615911565b506040805160018082528183019092526000916020808301908036833701905050905063f7bc431c60e01b81600081518110614ed957614ed9615a92565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d82614f0a6151eb565b6040518363ffffffff1660e01b8152600401614f27929190615d1c565b600060405180830381600087803b158015614f4157600080fd5b505af1158015614f55573d6000803e3d6000fd5b506000925060019150614f659050565b604051908082528060200260200182016040528015614f8e578160200160208202803683370190505b5090506344ec4c3060e01b81600081518110614fac57614fac615a92565b6001600160e01b0319909216602092830291909101909101526001600160a01b0385166329db8c3d82614fdd6151eb565b6040518363ffffffff1660e01b81526004016143d0929190615d9c565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015615041573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906150659190615939565b92915050565b6150ac6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6150b68287615227565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016151268382615e1f565b50613a2a6303fb044760e21b613b68565b6040516368aebf7b60e01b8152610834600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016134bf565b6040516368aebf7b60e01b8152610898600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016134bf565b6040516368aebf7b60e01b81526109c4600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016134bf565b6040516368aebf7b60e01b81526107d0600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016134bf565b6001600160a01b03821661527d5760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e6572206973203000006044820152606401610a16565b600280546001600160a01b0319166001600160a01b0384161790556152a1816152a5565b5050565b6001546001600160a01b0316156152de5760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610a16565b6001600160a01b0381166153055760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b60000361533b5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a16565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526316c8f9ff60e01b60048201526301ffc9a790602401602060405180830381865afa9250505080156153b5575060408051601f3d908101601f191682019092526153b291810190615911565b60015b6153dd5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a16565b806152a15760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610a16565b50565b60006020828403121561541b57600080fd5b81356001600160e01b03198116811461094b57600080fd5b60005b8381101561544e578181015183820152602001615436565b50506000910152565b6000815180845261546f816020860160208601615433565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516154ec60c08401826001600160a01b03169052565b5060c083015160e080840152615506610100840182615457565b949350505050565b6001600160a01b038116811461540657600080fd5b6001600160401b038116811461540657600080fd5b60008060006060848603121561554d57600080fd5b83356155588161550e565b9250602084013561556881615523565b915060408401356155788161550e565b809150509250925092565b6001600160601b038116811461540657600080fd5b600080604083850312156155ab57600080fd5b82356155b681615583565b915060208301356155c68161550e565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715615609576156096155d1565b60405290565b604051601f8201601f191681016001600160401b0381118282101715615637576156376155d1565b604052919050565b60006001600160401b03821115615658576156586155d1565b50601f01601f191660200190565b60006156796156748461563f565b61560f565b905082815283838301111561568d57600080fd5b828260208301376000602084830101529392505050565b600082601f8301126156b557600080fd5b61094b83833560208501615666565b6000806000606084860312156156d957600080fd5b83356156e481615583565b925060208401356156f48161550e565b915060408401356001600160401b0381111561570f57600080fd5b61571b868287016156a4565b9150509250925092565b62ffffff8116811461540657600080fd5b60006020828403121561574857600080fd5b813561094b81615725565b801515811461540657600080fd5b6000806040838503121561577457600080fd5b82356001600160401b0381111561578a57600080fd5b615796858286016156a4565b92505060208301356155c681615753565b6000602082840312156157b957600080fd5b813561094b8161550e565b6000806000606084860312156157d957600080fd5b83356157e48161550e565b925060208401356157f48161550e565b915060408401356001600160401b0381111561580f57600080fd5b8401601f8101861361582057600080fd5b61571b86823560208401615666565b60006020828403121561584157600080fd5b5035919050565b60006020828403121561585a57600080fd5b813561094b81615583565b60006020828403121561587757600080fd5b815161094b81615725565b600181811c9082168061589657607f821691505b6020821081036158b657634e487b7160e01b600052602260045260246000fd5b50919050565b80516139038161550e565b6000602082840312156158d957600080fd5b815161094b8161550e565b6001600160401b039290921682526001600160a01b0316602082015260400190565b805161390381615753565b60006020828403121561592357600080fd5b815161094b81615753565b805161390381615583565b60006020828403121561594b57600080fd5b815161094b81615583565b60ff8116811461540657600080fd5b805161390381615956565b600061597e6156748461563f565b905082815283838301111561599257600080fd5b61094b836020830184615433565b600082601f8301126159b157600080fd5b61094b83835160208501615970565b6000602082840312156159d257600080fd5b81516001600160401b03808211156159e957600080fd5b9083019060e082860312156159fd57600080fd5b615a056155e7565b615a0e8361592e565b8152615a1c6020840161592e565b6020820152615a2d60408401615965565b6040820152615a3e60608401615906565b6060820152615a4f608084016158bc565b6080820152615a6060a084016158bc565b60a082015260c083015182811115615a7757600080fd5b615a83878286016159a0565b60c08301525095945050505050565b634e487b7160e01b600052603260045260246000fd5b600060208284031215615aba57600080fd5b81516001600160401b03811115615ad057600080fd5b8201601f81018413615ae157600080fd5b61550684825160208401615970565b600081518084526020808501945080840160005b83811015615b2a5781516001600160e01b03191687529582019590820190600101615b04565b509495945050505050565b606081526000615b486060830186615457565b8281036020840152615b5a8186615af0565b9150506001600160401b0383166040830152949350505050565b6001600160a01b038316815260406020820181905260009061550690830184615457565b600060208284031215615baa57600080fd5b5051919050565b604081526000615bc46040830185615457565b905082151560208301529392505050565b600060208284031215615be757600080fd5b815161094b81615523565b600060208284031215615c0457600080fd5b815161094b81615956565b600060208284031215615c2157600080fd5b815164ffffffffff8116811461094b57600080fd5b60008060408385031215615c4957600080fd5b8251615c548161550e565b60208401519092506155c68161550e565b6001600160a01b03821681526040602082018190526015908201527424b739ba30b731b2a0b1b1b2b9b9a6b0b730b3b2b960591b606082015260006080820161094b565b6001600160a01b038216815260406020820181905260089082015267496e7374616e636560c01b606082015260006080820161094b565b6001600160a01b0382168152604060208201819052600d908201526c213ab7323632a6b0b730b3b2b960991b606082015260006080820161094b565b606081526000615d44606083016008815267496e7374616e636560c01b602082015260400190565b8281036020840152615d568186615af0565b9150506001600160401b03831660408301529392505050565b606081526000615d4460608301600d81526c213ab7323632a6b0b730b3b2b960991b602082015260400190565b606081526000615d4460608301601581527424b739ba30b731b2a0b1b1b2b9b9a6b0b730b3b2b960591b602082015260400190565b601f821115613a8457600081815260208120601f850160051c81016020861015615df85750805b601f850160051c820191505b81811015615e1757828155600101615e04565b505050505050565b81516001600160401b03811115615e3857615e386155d1565b615e4c81615e468454615882565b84615dd1565b602080601f831160018114615e815760008415615e695750858301515b600019600386901b1c1916600185901b178555615e17565b600085815260208120601f198616915b82811015615eb057888601518255948401946001909101908401615e91565b5085821015615ece5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212200717623f6c0a39c115093cd1e6bf2ab5491a6e701f63939f7e1751bf09fe100164736f6c63430008140033",
835
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101fb5760003560e01c80636a778e731161011a578063c22f980d116100ad578063eb59c6b11161007c578063eb59c6b114610596578063edabac03146105a7578063eeff428e146105b8578063fb2cb10114610603578063feec11901461061457600080fd5b8063c22f980d14610557578063cde749f41461056a578063cf7a1d7714610572578063e338e27b1461058557600080fd5b8063a745e3df116100e9578063a745e3df146104fc578063b3c650151461050f578063b68d18091461052f578063b88da7591461054457600080fd5b80636a778e73146104b2578063872309c7146104c5578063893d20e8146104cd578063946dfcfe146104d557600080fd5b806335241c06116101925780634f421333116101615780634f4213331461044f5780635ab1bd531461046257806363709eaf14610473578063644c45e01461048657600080fd5b806335241c06146102fd5780634b78ec38146103105780634ce05edc146103235780634d459c901461033657600080fd5b8063138461e0116101ce578063138461e0146102865780631d4e386a146102905780631eff4b22146102a35780632b440bc9146102d857600080fd5b806301ffc9a7146102005780630d8e6e2c146102425780630fec111c1461025e578063103bd5da14610273575b600080fd5b61022d61020e366004615409565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61024a610627565b60405162ffffff9091168152602001610239565b6102666106b1565b6040516102399190615483565b61022d610281366004615538565b61086a565b61028e610952565b005b61028e61029e366004615598565b610b74565b6102ca7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610239565b6003546001600160a01b03165b6040516001600160a01b039091168152602001610239565b61028e61030b3660046156c4565b61106b565b61028e61031e366004615598565b61127d565b61028e610331366004615598565b6115ee565b6103f2610344366004615736565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020615eff83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610239565b61022d61045d366004615736565b611a7e565b6001546001600160a01b03166102e5565b61028e610481366004615761565b611b31565b600154600160a01b90046001600160601b03165b6040516001600160601b039091168152602001610239565b61049a6104c03660046157a7565b611d83565b6102ca600081565b6102e56125be565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102ca565b61028e61050a3660046157c4565b6126d7565b610517612831565b6040516001600160401b039091168152602001610239565b60465b60405160ff9091168152602001610239565b61024a61055236600461582f565b612852565b61028e610565366004615848565b6128a3565b610532612ab1565b61028e6105803660046157c4565b612b34565b6004546001600160a01b03166102e5565b6006546001600160a01b03166102e5565b6005546001600160a01b03166102e5565b6105c0612c3d565b604080516001600160a01b03968716815294861660208601526001600160601b03909316928401929092528316606083015291909116608082015260a001610239565b6002546001600160a01b03166102e5565b61028e6106223660046157a7565b613207565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610688573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ac9190615865565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b9091041615159181019190915260018201805491929160608401919061075c90615882565b80601f016020809104026020016040519081016040528092919081815260200182805461078890615882565b80156107d55780601f106107aa576101008083540402835291602001916107d5565b820191906000526020600020905b8154815290600101906020018083116107b857829003601f168201915b50505050508152505090506040518060e001604052806107f3600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b0316815260200161084e6002546001600160a01b031690565b6001600160a01b03168152602001826060015181525091505090565b6000808290506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d491906158c7565b6040516368fc2b7760e11b81529091506001600160a01b0382169063d1f856ee906109059088908a906004016158e4565b602060405180830381865afa158015610922573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109469190615911565b925050505b9392505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156109b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109d89190615911565b15610a1f576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b0316610a485760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610a91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ab59190615911565b610add576040516372657a5160e01b81526001600160a01b0382166004820152602401610a16565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610b27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b4b9190615939565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b33610b876001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa158015610bcf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bf39190615911565b610c1b576040516302613e9f60e51b81526001600160a01b0382166004820152602401610a16565b6000610c2f6001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b038581166004830152919250600091831690638b09a5f090602401600060405180830381865afa158015610c7b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ca391908101906159c0565b9050610cc18160400151610cb5608c90565b60ff9081169116141590565b15610d045783608c5b60408084015190516304dd29ef60e21b81526001600160a01b03909316600484015260ff9182166024840152166044820152606401610a16565b6040516305247a1760e51b81526001600160601b03861660048201526000906001600160a01b0384169063a48f42e090602401600060405180830381865afa158015610d54573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d7c91908101906159c0565b90506000816080015190506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610dc7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610deb91906158c7565b6040805160018082528183019092529192506000919060208083019080368337019050509050638267876660e01b81600081518110610e2c57610e2c615a92565b60200260200101906001600160e01b03191690816001600160e01b03191681525050816001600160a01b03166329db8c3d896001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015610e9b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ec39190810190615aa8565b83610ecc613487565b6040518463ffffffff1660e01b8152600401610eea93929190615b35565b600060405180830381600087803b158015610f0457600080fd5b505af1158015610f18573d6000803e3d6000fd5b506000925060019150610f289050565b604051908082528060200260200182016040528015610f51578160200160208202803683370190505b5090506365effc1a60e01b81600081518110610f6f57610f6f615a92565b60200260200101906001600160e01b03191690816001600160e01b03191681525050826001600160a01b03166329db8c3d8a6001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015610fde573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526110069190810190615aa8565b8361100f613500565b6040518463ffffffff1660e01b815260040161102d93929190615b35565b600060405180830381600087803b15801561104757600080fd5b505af115801561105b573d6000803e3d6000fd5b5050505050505050505050505050565b3361107e6001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa1580156110c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110ea9190615911565b611112576040516302613e9f60e51b81526001600160a01b0382166004820152602401610a16565b60006111266001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03871660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611179573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111a191908101906159c0565b90506000816080015190506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111ec573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061121091906158c7565b60405163044ec4c360e41b81529091506001600160a01b038216906344ec4c3090611241908a908a90600401615b74565b600060405180830381600087803b15801561125b57600080fd5b505af115801561126f573d6000803e3d6000fd5b505050505050505050505050565b336112906001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa1580156112d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112fc9190615911565b611324576040516302613e9f60e51b81526001600160a01b0382166004820152602401610a16565b60006113386001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b038581166004830152919250600091831690638b09a5f090602401600060405180830381865afa158015611384573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113ac91908101906159c0565b90506113be8160400151610cb5606e90565b156113cb5783606e610cca565b6040516305247a1760e51b81526001600160601b03861660048201526000906001600160a01b0384169063a48f42e090602401600060405180830381865afa15801561141b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261144391908101906159c0565b90506000816080015190506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561148e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114b291906158c7565b604080516001808252818301909252919250600091906020808301908036833701905050905063b6b412ba60e01b816000815181106114f3576114f3615a92565b60200260200101906001600160e01b03191690816001600160e01b03191681525050816001600160a01b03166329db8c3d896001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611562573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261158a9190810190615aa8565b8361159361353c565b6040518463ffffffff1660e01b81526004016115b193929190615b35565b600060405180830381600087803b1580156115cb57600080fd5b505af11580156115df573d6000803e3d6000fd5b50505050505050505050505050565b336116016001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa158015611649573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061166d9190615911565b611695576040516302613e9f60e51b81526001600160a01b0382166004820152602401610a16565b60006116a96001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b038581166004830152919250600091831690638b09a5f090602401600060405180830381865afa1580156116f5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261171d91908101906159c0565b905061172f8160400151610cb5607890565b1561173c57836078610cca565b6040516305247a1760e51b81526001600160601b03861660048201526000906001600160a01b0384169063a48f42e090602401600060405180830381865afa15801561178c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117b491908101906159c0565b90506000816080015190506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156117ff573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061182391906158c7565b6040805160018082528183019092529192506000919060208083019080368337019050509050633f52c0f660e01b8160008151811061186457611864615a92565b60200260200101906001600160e01b03191690816001600160e01b03191681525050816001600160a01b03166329db8c3d896001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156118d3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526118fb9190810190615aa8565b83611904613578565b6040518463ffffffff1660e01b815260040161192293929190615b35565b600060405180830381600087803b15801561193c57600080fd5b505af1158015611950573d6000803e3d6000fd5b5060009250600291506119609050565b604051908082528060200260200182016040528015611989578160200160208202803683370190505b509050634cf30a8460e01b816000815181106119a7576119a7615a92565b6001600160e01b0319909216602092830291909101909101528051637c07103960e11b90829060019081106119de576119de615a92565b60200260200101906001600160e01b03191690816001600160e01b03191681525050826001600160a01b03166329db8c3d8a6001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611a4d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a759190810190615aa8565b8361100f6135b3565b600080600080516020615eff83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015611b06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b2a9190615b98565b1192915050565b336000611b466001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b038481166004830152919250600091831690638b09a5f090602401600060405180830381865afa158015611b92573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611bba91908101906159c0565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015611c18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c3c9190615911565b15611c655760405163aef351c360e01b81526001600160a01b0384166004820152602401610a16565b60208101516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0384169063a48f42e090602401600060405180830381865afa158015611cbb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ce391908101906159c0565b60800151905060008190506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d5291906158c7565b604051634222cc2360e01b81529091506001600160a01b03821690634222cc2390611241908b908b90600401615bb1565b6000611d8d6125be565b6001600160a01b0316336001600160a01b031614611dc05760405163700dd81160e01b8152336004820152602401610a16565b6004546001600160a01b031615611e2b5760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030323a494e5354414e43455f4d41535445525f414c604482015268149150511657d4d15560ba1b6064820152608401610a16565b6003546001600160a01b031615611e9c5760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030313a4143434553535f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b6064820152608401610a16565b6006546001600160a01b031615611f0d5760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030343a42554e444c455f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b6064820152608401610a16565b6001600160a01b038216611f635760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030363a494e5354414e43455f5a45524f00000000006044820152606401610a16565b60008290506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611fa8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fcc91906158c7565b905060008190506000836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612013573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061203791906158c7565b905060008190506000856001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa15801561207e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120a291906158c7565b9050806001600160a01b0385166121055760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030353a4143434553535f4d414e414745525f5a45526044820152604f60f81b6064820152608401610a16565b6001600160a01b0383166121665760405162461bcd60e51b815260206004820152602260248201527f4552524f523a4352442d3030373a494e5354414e43455f5245414445525f5a45604482015261524f60f01b6064820152608401610a16565b6001600160a01b0381166121c65760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030383a42554e444c455f4d414e414745525f5a45526044820152604f60f81b6064820152608401610a16565b846001600160a01b0316876001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561220e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061223291906158c7565b6001600160a01b03161461229a5760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030393a494e5354414e43455f415554484f524954596044820152680be9a92a69a82a886960bb1b6064820152608401610a16565b866001600160a01b0316846001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156122e2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061230691906158c7565b6001600160a01b0316146123745760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3031303a494e5354414e43455f5245414445525f494e60448201526e0a6a8829c868abe9a92a69a82a8869608b1b6064820152608401610a16565b866001600160a01b0316826001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156123bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123e091906158c7565b6001600160a01b03161461244d5760405162461bcd60e51b815260206004820152602e60248201527f4552524f523a4352442d3031313a42554e444c455f4d414e414745525f494e5360448201526d0a8829c868abe9a92a69a82a886960931b6064820152608401610a16565b600380546001600160a01b03199081166001600160a01b03888116919091179092556004805482168c8416179055600580548216868416179055600680549091168383161790556001546000911663d39e604360286124aa612ab1565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156124ef573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061251391906158c7565b6004549091506001600160a01b0390811690600090831663026bc43b836125386125be565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016000604051808303816000875af1158015612585573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526125ad91908101906159c0565b519c9b505050505050505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015612623573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126479190615911565b156126c757600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa1580156126a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ac91906158c7565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6126f9610627565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015612739573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061275d9190615bd5565b600080516020615edf8339815191528054600160401b900460ff1680612790575080546001600160401b03808416911610155b156127ae5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556127d985856135ef565b6127e28361388e565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006106ac600080516020615edf833981519152546001600160401b031690565b6000600080516020615eff833981519152600101828154811061287757612877615a92565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60006128b76001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801561290a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261293291908101906159c0565b90506000816080015190506000816001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561297d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129a191906158c7565b9050336001600160a01b038216146129ce576040516302613e9f60e51b8152336004820152602401610a16565b6005546000906129e6906001600160a01b0316613896565b60405163485cc95560e01b81526001600160a01b03878116600483015285811660248301529192509082169063485cc95590604401600060405180830381600087803b158015612a3557600080fd5b505af1158015612a49573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528616925063f7bc431c91506024015b600060405180830381600087803b158015612a9157600080fd5b505af1158015612aa5573d6000803e3d6000fd5b50505050505050505050565b6000612abb610627565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015612b10573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ac9190615bf2565b600080516020615edf8339815191528054600160401b810460ff1615906001600160401b0316600081158015612b675750825b90506000826001600160401b03166001148015612b835750303b155b905081158015612b91575080155b15612baf5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315612bd957845460ff60401b1916600160401b1785555b612be388886135ef565b612bed8787613908565b8315612c3357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6000808080803381612c576001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b03821660048201819052919250829160009163d272ac1e90602401602060405180830381865afa158015612ca3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cc79190615939565b905060006001600160a01b03841663d39e60436028612ce4612ab1565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612d29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d4d91906158c7565b6003549091508190612d67906001600160a01b0316613896565b60405163189acdbd60e31b8152306004820152909b506001600160a01b038c169063c4d66de890602401600060405180830381600087803b158015612dab57600080fd5b505af1158015612dbf573d6000803e3d6000fd5b5050600454612dd992506001600160a01b03169050613896565b60405163976b0a7760e01b81526001600160a01b038d8116600483015286811660248301526001600160601b0386166044830152336064830152919b50908b169063976b0a7790608401600060405180830381600087803b158015612e3d57600080fd5b505af1158015612e51573d6000803e3d6000fd5b5050600554612e6b92506001600160a01b03169050613896565b60405163485cc95560e01b81526001600160a01b0386811660048301528c811660248301529199509089169063485cc95590604401600060405180830381600087803b158015612eba57600080fd5b505af1158015612ece573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b038b811660048301528d16925063f7bc431c9150602401600060405180830381600087803b158015612f1557600080fd5b505af1158015612f29573d6000803e3d6000fd5b5050600654612f4392506001600160a01b03169050613896565b60405163c0c53b8b60e01b81526001600160a01b038d8116600483015286811660248301528c811660448301529198509088169063c0c53b8b90606401600060405180830381600087803b158015612f9a57600080fd5b505af1158015612fae573d6000803e3d6000fd5b505060405162422c9d60e81b81526001600160a01b038a811660048301528d16925063422c9d009150602401600060405180830381600087803b158015612ff457600080fd5b505af1158015613008573d6000803e3d6000fd5b505050506130178b8b89613a33565b8a6001600160a01b031663b428b0b061302e613a89565b886040518363ffffffff1660e01b815260040161304c9291906158e4565b6020604051808303816000875af115801561306b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061308f9190615911565b508a6001600160a01b031663b7d2b1626130a7613a89565b306040518363ffffffff1660e01b81526004016130c59291906158e4565b6020604051808303816000875af11580156130e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131089190615911565b5060405163026bc43b60e01b81526001600160a01b038b8116600483015287811660248301526000919083169063026bc43b906044016000604051808303816000875af115801561315d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261318591908101906159c0565b9050806000015199507f89f53d1fc9d655ac6863fb19d55f6cc8a7649a51ec36a0d13ec77d2bd2e970f38c8c8b8d6040516131f194939291906001600160a01b0394851681529284166020840152921660408201526001600160601b0391909116606082015260800190565b60405180910390a1505050505050509091929394565b61320f6125be565b6001600160a01b0316336001600160a01b0316146132425760405163700dd81160e01b8152336004820152602401610a16565b6005546001600160a01b03166132af5760405162461bcd60e51b815260206004820152602c60248201527f4552524f523a4352442d3030333a494e5354414e43455f5245414445525f4d4160448201526b14d5115497d393d517d4d15560a21b6064820152608401610a16565b6001600160a01b0381166133105760405162461bcd60e51b815260206004820152602260248201527f4552524f523a4352442d3031323a494e5354414e43455f5245414445525f5a45604482015261524f60f01b6064820152608401610a16565b6005546001600160a01b03908116908216036133875760405162461bcd60e51b815260206004820152603060248201527f4552524f523a4352442d3031343a494e5354414e43455f5245414445525f4d4160448201526f535445525f53414d455f41535f4e455760801b6064820152608401610a16565b600480546040805163379ed74560e21b8152905184936001600160a01b039384169385169263de7b5d1492818301926020928290030181865afa1580156133d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133f691906158c7565b6001600160a01b0316146134645760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3031353a494e5354414e43455f5245414445525f494e60448201526e0a6a8829c868abe9a92a69a82a8869608b1b6064820152608401610a16565b50600580546001600160a01b0319166001600160a01b0392909216919091179055565b6040516368aebf7b60e01b815261012c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af41580156134dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ac9190615bd5565b6040516368aebf7b60e01b8152610960600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016134bf565b6040516368aebf7b60e01b8152610190600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016134bf565b6040516368aebf7b60e01b81526064600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016134bf565b6040516368aebf7b60e01b81526108fc600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016134bf565b6135f7613ac4565b600080516020615eff8339815191526000613627600080516020615edf833981519152546001600160401b031690565b90506000613633610627565b9050816001600160401b03166001036136605760028301805462ffffff191662ffffff83161790556136ae565b600283015462ffffff908116908216116136ae5760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610a16565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015613762573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137869190615c0f565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf68906128229083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101fb613ac4565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b038116613903576040516330be1a3d60e21b815260040160405180910390fd5b919050565b600080516020615edf8339815191528054600160401b810460ff1615906001600160401b031660008115801561393b5750825b90506000826001600160401b031660011480156139575750303b155b905081158015613965575080155b156139835760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156139ad57845460ff60401b1916600160401b1785555b600080878060200190518101906139c49190615c36565b925090506139d2818a613afd565b6139e2639db409fb60e01b613b68565b50508315613a2a57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b613a3c83613b8d565b613a478383836140e4565b613a5183836141fa565b613a5b8383614409565b613a6583836145fc565b613a6f8383614849565b613a7a838383614a28565b613a848383614d9a565b505050565b6040516368aebf7b60e01b81526000600482018190529073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016134bf565b600080516020615edf83398151915254600160401b900460ff16613afb57604051631afcd79f60e31b815260040160405180910390fd5b565b60006046613b09612ab1565b6040805160ff9384166020820152929091169082015260600160405160208183030381529060405290506000613b3e84614ffa565b90506000613b518583603c84888861506b565b613b61637b6a51fd60e01b613b68565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b806001600160a01b0316635d66f90a613ba4613578565b604080516001600160e01b031960e085901b1681526001600160401b03909216600483015260248201526015604482015274446973747269627574696f6e4f776e6572526f6c6560581b6064820152608401600060405180830381600087803b158015613c1057600080fd5b505af1158015613c24573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a613c3f613487565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152600d60448201526c506f6f6c4f776e6572526f6c6560981b6064820152608401600060405180830381600087803b158015613ca357600080fd5b505af1158015613cb7573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a613cd261353c565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601060448201526f50726f647563744f776e6572526f6c6560801b6064820152608401600060405180830381600087803b158015613d3957600080fd5b505af1158015613d4d573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a613d68615137565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601760448201527f446973747269627574696f6e53657276696365526f6c650000000000000000006064820152608401600060405180830381600087803b158015613ddc57600080fd5b505af1158015613df0573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a613e0b615173565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152600f60448201526e506f6f6c53657276696365526f6c6560881b6064820152608401600060405180830381600087803b158015613e7157600080fd5b505af1158015613e85573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a613ea06135b3565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601260448201527150726f6475637453657276696365526f6c6560701b6064820152608401600060405180830381600087803b158015613f0957600080fd5b505af1158015613f1d573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a613f38613500565b604080516001600160e01b031960e085901b1681526001600160401b03909216600483015260248201526011604482015270506f6c69637953657276696365526f6c6560781b6064820152608401600060405180830381600087803b158015613fa057600080fd5b505af1158015613fb4573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a613fcf6151af565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601160448201527042756e646c6553657276696365526f6c6560781b6064820152608401600060405180830381600087803b15801561403757600080fd5b505af115801561404b573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a6140666151eb565b604080516001600160e01b031960e085901b1681526001600160401b03909216600483015260248201526013604482015272496e7374616e636553657276696365526f6c6560681b6064820152608401600060405180830381600087803b1580156140d057600080fd5b505af1158015613b61573d6000803e3d6000fd5b60405163044ec4c360e41b81526001600160a01b038416906344ec4c3090614110908690600401615c65565b600060405180830381600087803b15801561412a57600080fd5b505af115801561413e573d6000803e3d6000fd5b505060405163044ec4c360e41b81526001600160a01b03861692506344ec4c30915061416e908590600401615ca9565b600060405180830381600087803b15801561418857600080fd5b505af115801561419c573d6000803e3d6000fd5b505060405163044ec4c360e41b81526001600160a01b03861692506344ec4c3091506141cc908490600401615ce0565b600060405180830381600087803b1580156141e657600080fd5b505af1158015613a2a573d6000803e3d6000fd5b600061420e6001546001600160a01b031690565b905060006001600160a01b03821663d39e6043607861422b612ab1565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015614270573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061429491906158c7565b9050836001600160a01b031663b428b0b06142ad615137565b836040518363ffffffff1660e01b81526004016142cb9291906158e4565b6020604051808303816000875af11580156142ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061430e9190615911565b50604080516002808252606082018352600092602083019080368337019050509050630b24cf5f60e01b8160008151811061434b5761434b615a92565b6001600160e01b031990921660209283029190910190910152805163bd5947e360e01b908290600190811061438257614382615a92565b6001600160e01b0319909216602092830291909101909101526001600160a01b0385166329db8c3d826143b3615137565b6040518363ffffffff1660e01b81526004016143d0929190615d1c565b600060405180830381600087803b1580156143ea57600080fd5b505af11580156143fe573d6000803e3d6000fd5b505050505050505050565b6001546000906001600160a01b031663d39e6043608c614427612ab1565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561446c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061449091906158c7565b9050826001600160a01b031663b428b0b06144a9615173565b836040518363ffffffff1660e01b81526004016144c79291906158e4565b6020604051808303816000875af11580156144e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061450a9190615911565b5060408051600480825260a082019092526000916020820160808036833701905050905063e7cd37d460e01b8160008151811061454957614549615a92565b6001600160e01b0319909216602092830291909101909101528051633055195560e11b908290600190811061458057614580615a92565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d826145b1615173565b6040518363ffffffff1660e01b81526004016145ce929190615d1c565b600060405180830381600087803b1580156145e857600080fd5b505af1158015612c33573d6000803e3d6000fd5b6001546000906001600160a01b031663d39e6043606e61461a612ab1565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561465f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061468391906158c7565b9050826001600160a01b031663b428b0b061469c6135b3565b836040518363ffffffff1660e01b81526004016146ba9291906158e4565b6020604051808303816000875af11580156146d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906146fd9190615911565b5060408051600580825260c082019092526000916020820160a0803683370190505090506391ff6eaa60e01b8160008151811061473c5761473c615a92565b6001600160e01b03199092166020928302919091019091015280516354e750a160e11b908290600190811061477357614773615a92565b6001600160e01b03199092166020928302919091019091015280516317b0844560e11b90829060029081106147aa576147aa615a92565b6001600160e01b03199092166020928302919091019091015280516314eddc0360e31b90829060039081106147e1576147e1615a92565b6001600160e01b0319909216602092830291909101909101528051633e77a42160e11b908290600490811061481857614818615a92565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d826145b16135b3565b6001546000906001600160a01b031663d39e604360d2614867612ab1565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156148ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906148d091906158c7565b9050826001600160a01b031663b428b0b06148e9613500565b836040518363ffffffff1660e01b81526004016149079291906158e4565b6020604051808303816000875af1158015614926573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061494a9190615911565b50604080516003808252608082019092526000916020820160608036833701905050905063bc8d400060e01b8160008151811061498957614989615a92565b6001600160e01b0319909216602092830291909101909101528051634d4b06a960e11b90829060019081106149c0576149c0615a92565b6001600160e01b0319909216602092830291909101909101528051631750d17360e21b90829060029081106149f7576149f7615a92565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d826145b1613500565b6001546000906001600160a01b031663d39e604360dc614a46612ab1565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015614a8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614aaf91906158c7565b9050836001600160a01b031663b428b0b0614ac86151af565b836040518363ffffffff1660e01b8152600401614ae69291906158e4565b6020604051808303816000875af1158015614b05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614b299190615911565b50604080516002808252606082018352600092602083019080368337019050509050636071a68e60e01b81600081518110614b6657614b66615a92565b6001600160e01b03199092166020928302919091019091015280516307f8b57360e31b9082906001908110614b9d57614b9d615a92565b6001600160e01b0319909216602092830291909101909101526001600160a01b0385166329db8c3d82614bce6151af565b6040518363ffffffff1660e01b8152600401614beb929190615d1c565b600060405180830381600087803b158015614c0557600080fd5b505af1158015614c19573d6000803e3d6000fd5b506000925060059150614c299050565b604051908082528060200260200182016040528015614c52578160200160208202803683370190505b509050630cc7e61460e01b81600081518110614c7057614c70615a92565b6001600160e01b0319909216602092830291909101909101528051631351fccf60e31b9082906001908110614ca757614ca7615a92565b6001600160e01b03199092166020928302919091019091015280516346f0e8a760e11b9082906002908110614cde57614cde615a92565b6001600160e01b031990921660209283029190910190910152805163b5346af560e01b9082906003908110614d1557614d15615a92565b6001600160e01b03199092166020928302919091019091015280516306fa456560e01b9082906004908110614d4c57614d4c615a92565b6001600160e01b0319909216602092830291909101909101526001600160a01b0386166329db8c3d82614d7d6151af565b6040518363ffffffff1660e01b8152600401612a77929190615d6f565b6001546000906001600160a01b031663d39e60436046614db8612ab1565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015614dfd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614e2191906158c7565b9050826001600160a01b031663b428b0b0614e3a6151eb565b836040518363ffffffff1660e01b8152600401614e589291906158e4565b6020604051808303816000875af1158015614e77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614e9b9190615911565b506040805160018082528183019092526000916020808301908036833701905050905063f7bc431c60e01b81600081518110614ed957614ed9615a92565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d82614f0a6151eb565b6040518363ffffffff1660e01b8152600401614f27929190615d1c565b600060405180830381600087803b158015614f4157600080fd5b505af1158015614f55573d6000803e3d6000fd5b506000925060019150614f659050565b604051908082528060200260200182016040528015614f8e578160200160208202803683370190505b5090506344ec4c3060e01b81600081518110614fac57614fac615a92565b6001600160e01b0319909216602092830291909101909101526001600160a01b0385166329db8c3d82614fdd6151eb565b6040518363ffffffff1660e01b81526004016143d0929190615d9c565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015615041573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906150659190615939565b92915050565b6150ac6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6150b68287615227565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016151268382615e1f565b50613a2a6303fb044760e21b613b68565b6040516368aebf7b60e01b8152610834600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016134bf565b6040516368aebf7b60e01b8152610898600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016134bf565b6040516368aebf7b60e01b81526109c4600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016134bf565b6040516368aebf7b60e01b81526107d0600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016134bf565b6001600160a01b03821661527d5760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e6572206973203000006044820152606401610a16565b600280546001600160a01b0319166001600160a01b0384161790556152a1816152a5565b5050565b6001546001600160a01b0316156152de5760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610a16565b6001600160a01b0381166153055760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b60000361533b5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a16565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526316c8f9ff60e01b60048201526301ffc9a790602401602060405180830381865afa9250505080156153b5575060408051601f3d908101601f191682019092526153b291810190615911565b60015b6153dd5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a16565b806152a15760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610a16565b50565b60006020828403121561541b57600080fd5b81356001600160e01b03198116811461094b57600080fd5b60005b8381101561544e578181015183820152602001615436565b50506000910152565b6000815180845261546f816020860160208601615433565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516154ec60c08401826001600160a01b03169052565b5060c083015160e080840152615506610100840182615457565b949350505050565b6001600160a01b038116811461540657600080fd5b6001600160401b038116811461540657600080fd5b60008060006060848603121561554d57600080fd5b83356155588161550e565b9250602084013561556881615523565b915060408401356155788161550e565b809150509250925092565b6001600160601b038116811461540657600080fd5b600080604083850312156155ab57600080fd5b82356155b681615583565b915060208301356155c68161550e565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715615609576156096155d1565b60405290565b604051601f8201601f191681016001600160401b0381118282101715615637576156376155d1565b604052919050565b60006001600160401b03821115615658576156586155d1565b50601f01601f191660200190565b60006156796156748461563f565b61560f565b905082815283838301111561568d57600080fd5b828260208301376000602084830101529392505050565b600082601f8301126156b557600080fd5b61094b83833560208501615666565b6000806000606084860312156156d957600080fd5b83356156e481615583565b925060208401356156f48161550e565b915060408401356001600160401b0381111561570f57600080fd5b61571b868287016156a4565b9150509250925092565b62ffffff8116811461540657600080fd5b60006020828403121561574857600080fd5b813561094b81615725565b801515811461540657600080fd5b6000806040838503121561577457600080fd5b82356001600160401b0381111561578a57600080fd5b615796858286016156a4565b92505060208301356155c681615753565b6000602082840312156157b957600080fd5b813561094b8161550e565b6000806000606084860312156157d957600080fd5b83356157e48161550e565b925060208401356157f48161550e565b915060408401356001600160401b0381111561580f57600080fd5b8401601f8101861361582057600080fd5b61571b86823560208401615666565b60006020828403121561584157600080fd5b5035919050565b60006020828403121561585a57600080fd5b813561094b81615583565b60006020828403121561587757600080fd5b815161094b81615725565b600181811c9082168061589657607f821691505b6020821081036158b657634e487b7160e01b600052602260045260246000fd5b50919050565b80516139038161550e565b6000602082840312156158d957600080fd5b815161094b8161550e565b6001600160401b039290921682526001600160a01b0316602082015260400190565b805161390381615753565b60006020828403121561592357600080fd5b815161094b81615753565b805161390381615583565b60006020828403121561594b57600080fd5b815161094b81615583565b60ff8116811461540657600080fd5b805161390381615956565b600061597e6156748461563f565b905082815283838301111561599257600080fd5b61094b836020830184615433565b600082601f8301126159b157600080fd5b61094b83835160208501615970565b6000602082840312156159d257600080fd5b81516001600160401b03808211156159e957600080fd5b9083019060e082860312156159fd57600080fd5b615a056155e7565b615a0e8361592e565b8152615a1c6020840161592e565b6020820152615a2d60408401615965565b6040820152615a3e60608401615906565b6060820152615a4f608084016158bc565b6080820152615a6060a084016158bc565b60a082015260c083015182811115615a7757600080fd5b615a83878286016159a0565b60c08301525095945050505050565b634e487b7160e01b600052603260045260246000fd5b600060208284031215615aba57600080fd5b81516001600160401b03811115615ad057600080fd5b8201601f81018413615ae157600080fd5b61550684825160208401615970565b600081518084526020808501945080840160005b83811015615b2a5781516001600160e01b03191687529582019590820190600101615b04565b509495945050505050565b606081526000615b486060830186615457565b8281036020840152615b5a8186615af0565b9150506001600160401b0383166040830152949350505050565b6001600160a01b038316815260406020820181905260009061550690830184615457565b600060208284031215615baa57600080fd5b5051919050565b604081526000615bc46040830185615457565b905082151560208301529392505050565b600060208284031215615be757600080fd5b815161094b81615523565b600060208284031215615c0457600080fd5b815161094b81615956565b600060208284031215615c2157600080fd5b815164ffffffffff8116811461094b57600080fd5b60008060408385031215615c4957600080fd5b8251615c548161550e565b60208401519092506155c68161550e565b6001600160a01b03821681526040602082018190526015908201527424b739ba30b731b2a0b1b1b2b9b9a6b0b730b3b2b960591b606082015260006080820161094b565b6001600160a01b038216815260406020820181905260089082015267496e7374616e636560c01b606082015260006080820161094b565b6001600160a01b0382168152604060208201819052600d908201526c213ab7323632a6b0b730b3b2b960991b606082015260006080820161094b565b606081526000615d44606083016008815267496e7374616e636560c01b602082015260400190565b8281036020840152615d568186615af0565b9150506001600160401b03831660408301529392505050565b606081526000615d4460608301600d81526c213ab7323632a6b0b730b3b2b960991b602082015260400190565b606081526000615d4460608301601581527424b739ba30b731b2a0b1b1b2b9b9a6b0b730b3b2b960591b602082015260400190565b601f821115613a8457600081815260208120601f850160051c81016020861015615df85750805b601f850160051c820191505b81811015615e1757828155600101615e04565b505050505050565b81516001600160401b03811115615e3857615e386155d1565b615e4c81615e468454615882565b84615dd1565b602080601f831160018114615e815760008415615e695750858301515b600019600386901b1c1916600185901b178555615e17565b600085815260208120601f198616915b82811015615eb057888601518255948401946001909101908401615e91565b5085821015615ece5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212200717623f6c0a39c115093cd1e6bf2ab5491a6e701f63939f7e1751bf09fe100164736f6c63430008140033",
836
+ "linkReferences": {
837
+ "contracts/types/Blocknumber.sol": {
838
+ "BlocknumberLib": [
839
+ {
840
+ "length": 20,
841
+ "start": 7174
842
+ }
843
+ ]
844
+ },
845
+ "contracts/types/NftId.sol": {
846
+ "NftIdLib": [
847
+ {
848
+ "length": 20,
849
+ "start": 2740
850
+ },
851
+ {
852
+ "length": 20,
853
+ "start": 7448
854
+ },
855
+ {
856
+ "length": 20,
857
+ "start": 10019
858
+ }
859
+ ]
860
+ },
861
+ "contracts/types/RoleId.sol": {
862
+ "RoleIdLib": [
863
+ {
864
+ "length": 20,
865
+ "start": 13787
866
+ },
867
+ {
868
+ "length": 20,
869
+ "start": 13908
870
+ },
871
+ {
872
+ "length": 20,
873
+ "start": 13968
874
+ },
875
+ {
876
+ "length": 20,
877
+ "start": 14027
878
+ },
879
+ {
880
+ "length": 20,
881
+ "start": 14087
882
+ },
883
+ {
884
+ "length": 20,
885
+ "start": 15324
886
+ },
887
+ {
888
+ "length": 20,
889
+ "start": 21131
890
+ },
891
+ {
892
+ "length": 20,
893
+ "start": 21191
894
+ },
895
+ {
896
+ "length": 20,
897
+ "start": 21251
898
+ },
899
+ {
900
+ "length": 20,
901
+ "start": 21311
902
+ }
903
+ ]
904
+ },
905
+ "contracts/types/Timestamp.sol": {
906
+ "TimestampLib": [
907
+ {
908
+ "length": 20,
909
+ "start": 14434
910
+ }
911
+ ]
912
+ },
913
+ "contracts/types/Version.sol": {
914
+ "VersionLib": [
915
+ {
916
+ "length": 20,
917
+ "start": 1928
918
+ },
919
+ {
920
+ "length": 20,
921
+ "start": 10259
922
+ },
923
+ {
924
+ "length": 20,
925
+ "start": 11280
926
+ }
927
+ ]
928
+ }
929
+ },
930
+ "deployedLinkReferences": {
931
+ "contracts/types/Blocknumber.sol": {
932
+ "BlocknumberLib": [
933
+ {
934
+ "length": 20,
935
+ "start": 6860
936
+ }
937
+ ]
938
+ },
939
+ "contracts/types/NftId.sol": {
940
+ "NftIdLib": [
941
+ {
942
+ "length": 20,
943
+ "start": 2426
944
+ },
945
+ {
946
+ "length": 20,
947
+ "start": 7134
948
+ },
949
+ {
950
+ "length": 20,
951
+ "start": 9705
952
+ }
953
+ ]
954
+ },
955
+ "contracts/types/RoleId.sol": {
956
+ "RoleIdLib": [
957
+ {
958
+ "length": 20,
959
+ "start": 13473
960
+ },
961
+ {
962
+ "length": 20,
963
+ "start": 13594
964
+ },
965
+ {
966
+ "length": 20,
967
+ "start": 13654
968
+ },
969
+ {
970
+ "length": 20,
971
+ "start": 13713
972
+ },
973
+ {
974
+ "length": 20,
975
+ "start": 13773
976
+ },
977
+ {
978
+ "length": 20,
979
+ "start": 15010
980
+ },
981
+ {
982
+ "length": 20,
983
+ "start": 20817
984
+ },
985
+ {
986
+ "length": 20,
987
+ "start": 20877
988
+ },
989
+ {
990
+ "length": 20,
991
+ "start": 20937
992
+ },
993
+ {
994
+ "length": 20,
995
+ "start": 20997
996
+ }
997
+ ]
998
+ },
999
+ "contracts/types/Timestamp.sol": {
1000
+ "TimestampLib": [
1001
+ {
1002
+ "length": 20,
1003
+ "start": 14120
1004
+ }
1005
+ ]
1006
+ },
1007
+ "contracts/types/Version.sol": {
1008
+ "VersionLib": [
1009
+ {
1010
+ "length": 20,
1011
+ "start": 1614
1012
+ },
1013
+ {
1014
+ "length": 20,
1015
+ "start": 9945
1016
+ },
1017
+ {
1018
+ "length": 20,
1019
+ "start": 10966
1020
+ }
1021
+ ]
1022
+ }
1023
+ }
1024
+ }