@etherisc/gif-next 0.0.2-fc8b370-882 → 0.0.2-fca9315-260

Sign up to get free protection for your applications and to get access to all the features.
Files changed (407) hide show
  1. package/README.md +242 -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 +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +849 -0
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/{registry/IChainNft.sol/IChainNft.json → components/IComponent.sol/IComponent.json} +244 -241
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +648 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +485 -72
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +533 -64
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +659 -76
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +711 -67
  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 +1137 -1023
  50. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  51. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +586 -0
  52. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  53. package/artifacts/contracts/instance/Instance.sol/Instance.json +1987 -1124
  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/ComponentService.sol/ComponentService.json +603 -0
  66. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  67. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +45 -127
  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 +55 -245
  71. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  72. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +4 -4
  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/{access/IAccess.sol/IAccess.json → IDistribution.sol/IDistribution.json} +2 -2
  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 +4 -0
  92. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +772 -0
  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 +4 -0
  98. package/artifacts/contracts/instance/{base/IService.sol/IService.json → service/IDistributionService.sol/IDistributionService.json} +202 -61
  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 +198 -80
  103. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  104. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +204 -150
  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 +423 -88
  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 +398 -215
  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 +186 -12
  119. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  120. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +455 -36
  121. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  122. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +981 -0
  123. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  124. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
  125. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  126. package/artifacts/contracts/registry/Registry.sol/Registry.json +465 -111
  127. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  128. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  129. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  130. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1200 -0
  131. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  132. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +464 -0
  133. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  134. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
  135. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  136. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +394 -0
  137. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  138. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  139. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  140. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
  141. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  142. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +127 -0
  143. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  144. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +112 -37
  145. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  146. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → shared/IService.sol/IService.json} +169 -117
  147. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  148. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +55 -14
  149. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  150. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +171 -0
  151. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  152. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +362 -0
  153. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  154. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +193 -32
  155. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  156. package/artifacts/contracts/{instance/base/InstanceBase.sol/InstanceBase.json → shared/Service.sol/Service.json} +221 -71
  157. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  158. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
  159. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  160. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  161. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  162. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +78 -14
  163. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  164. package/artifacts/contracts/test/TestFee.sol/TestFee.json +4 -4
  165. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  166. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +207 -31
  167. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  168. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +14 -14
  169. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  170. package/artifacts/contracts/test/TestService.sol/TestService.json +292 -63
  171. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  172. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
  173. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  174. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  175. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  176. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +103 -23
  177. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  178. package/artifacts/contracts/test/Usdc.sol/USDC.json +91 -53
  179. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  180. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  181. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  182. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  183. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  184. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  185. package/artifacts/contracts/types/Fee.sol/FeeLib.json +52 -13
  186. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  187. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +31 -17
  188. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  189. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
  190. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  191. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  192. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  193. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  194. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  195. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  196. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  197. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +123 -0
  198. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
  199. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
  200. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +134 -8
  202. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  203. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  204. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  205. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +15 -2
  206. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  207. package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
  208. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  209. package/artifacts/contracts/types/UFixed.sol/{UFixedMathLib.json → UFixedLib.json} +3 -3
  210. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  211. package/artifacts/contracts/types/Version.sol/VersionLib.json +40 -2
  212. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  213. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  214. package/contracts/components/Component.sol +216 -0
  215. package/contracts/components/Distribution.sol +150 -0
  216. package/contracts/components/IComponent.sol +43 -0
  217. package/contracts/components/IDistributionComponent.sol +47 -0
  218. package/contracts/components/IPoolComponent.sol +22 -19
  219. package/contracts/components/IProductComponent.sol +29 -9
  220. package/contracts/components/Pool.sol +124 -71
  221. package/contracts/components/Product.sol +188 -40
  222. package/contracts/experiment/cloning/Cloner.sol +47 -0
  223. package/contracts/instance/BundleManager.sol +125 -0
  224. package/contracts/instance/Cloneable.sol +46 -0
  225. package/contracts/instance/IInstance.sol +65 -45
  226. package/contracts/instance/IInstanceService.sol +41 -0
  227. package/contracts/instance/Instance.sol +254 -53
  228. package/contracts/instance/InstanceAccessManager.sol +298 -0
  229. package/contracts/instance/InstanceReader.sol +293 -0
  230. package/contracts/instance/InstanceService.sol +432 -0
  231. package/contracts/instance/InstanceServiceManager.sol +54 -0
  232. package/contracts/instance/ObjectManager.sol +84 -0
  233. package/contracts/instance/base/ComponentService.sol +134 -0
  234. package/contracts/instance/base/IKeyValueStore.sol +13 -13
  235. package/contracts/instance/base/ILifecycle.sol +3 -3
  236. package/contracts/instance/base/KeyValueStore.sol +53 -37
  237. package/contracts/instance/base/Lifecycle.sol +16 -11
  238. package/contracts/instance/module/IAccess.sol +48 -0
  239. package/contracts/instance/module/IBundle.sol +20 -0
  240. package/contracts/instance/module/IDistribution.sol +39 -0
  241. package/contracts/instance/module/IPolicy.sol +45 -0
  242. package/contracts/instance/module/IRisk.sol +11 -0
  243. package/contracts/instance/module/ISetup.sol +46 -0
  244. package/contracts/instance/module/ITreasury.sol +23 -0
  245. package/contracts/instance/service/BundleService.sol +293 -0
  246. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  247. package/contracts/instance/service/DistributionService.sol +106 -0
  248. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  249. package/contracts/instance/service/IBundleService.sol +44 -0
  250. package/contracts/instance/service/IDistributionService.sol +12 -0
  251. package/contracts/instance/service/IPolicyService.sol +94 -0
  252. package/contracts/instance/service/IPoolService.sol +8 -18
  253. package/contracts/instance/service/IProductService.sol +21 -39
  254. package/contracts/instance/service/PolicyService.sol +538 -0
  255. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  256. package/contracts/instance/service/PoolService.sol +78 -91
  257. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  258. package/contracts/instance/service/ProductService.sol +168 -288
  259. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  260. package/contracts/registry/ChainNft.sol +79 -36
  261. package/contracts/registry/IRegistry.sol +65 -24
  262. package/contracts/registry/IRegistryService.sol +65 -0
  263. package/contracts/registry/ITransferInterceptor.sol +6 -0
  264. package/contracts/registry/Registry.sol +358 -287
  265. package/contracts/registry/RegistryAccessManager.sol +216 -0
  266. package/contracts/registry/RegistryService.sol +262 -0
  267. package/contracts/registry/RegistryServiceManager.sol +62 -0
  268. package/contracts/registry/ReleaseManager.sol +332 -0
  269. package/contracts/registry/TokenRegistry.sol +112 -0
  270. package/contracts/shared/ContractDeployerLib.sol +72 -0
  271. package/contracts/shared/ERC165.sol +6 -2
  272. package/contracts/shared/INftOwnable.sol +22 -0
  273. package/contracts/shared/IRegisterable.sol +8 -17
  274. package/contracts/shared/IService.sol +16 -0
  275. package/contracts/shared/IVersionable.sol +55 -11
  276. package/contracts/shared/NftOwnable.sol +139 -0
  277. package/contracts/shared/ProxyManager.sol +94 -0
  278. package/contracts/shared/Registerable.sol +59 -59
  279. package/contracts/shared/Service.sol +60 -0
  280. package/contracts/shared/TokenHandler.sol +27 -0
  281. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  282. package/contracts/shared/Versionable.sol +113 -55
  283. package/contracts/test/TestFee.sol +2 -2
  284. package/contracts/test/TestRegisterable.sol +5 -6
  285. package/contracts/test/TestRoleId.sol +1 -1
  286. package/contracts/test/TestService.sol +7 -14
  287. package/contracts/types/DistributorType.sol +55 -0
  288. package/contracts/types/Fee.sol +10 -5
  289. package/contracts/types/Key32.sol +8 -3
  290. package/contracts/types/NftIdSet.sol +26 -24
  291. package/contracts/types/NumberId.sol +52 -0
  292. package/contracts/types/ObjectType.sol +51 -14
  293. package/contracts/types/Referral.sol +85 -0
  294. package/contracts/types/RiskId.sol +43 -0
  295. package/contracts/types/RoleId.sol +62 -10
  296. package/contracts/types/StateId.sol +5 -1
  297. package/contracts/types/Timestamp.sol +7 -3
  298. package/contracts/types/UFixed.sol +128 -12
  299. package/contracts/types/Version.sol +13 -1
  300. package/package.json +4 -3
  301. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  302. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -174
  303. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  304. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -174
  305. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  306. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  307. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  308. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +0 -300
  309. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  310. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -63
  311. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  312. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  313. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  314. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  315. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +0 -300
  316. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  317. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  318. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  319. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  320. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  321. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  322. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -296
  323. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  324. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  325. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -296
  326. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +0 -4
  327. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +0 -10
  328. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +0 -4
  329. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.json +0 -10
  330. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +0 -4
  331. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.json +0 -10
  332. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  333. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -188
  334. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  335. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  336. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  337. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -188
  338. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  339. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  340. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -261
  341. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  342. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -261
  343. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  344. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  345. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  346. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -149
  347. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  348. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -149
  349. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  350. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  351. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -10
  352. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  353. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -10
  354. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  355. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  356. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -533
  357. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  358. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  359. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  360. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -533
  361. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  362. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -523
  363. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  364. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  365. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  366. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +0 -24
  367. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  368. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
  369. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  370. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -387
  371. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  372. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -393
  373. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  374. package/contracts/components/BaseComponent.sol +0 -88
  375. package/contracts/components/IBaseComponent.sol +0 -19
  376. package/contracts/experiment/statemachine/README.md +0 -112
  377. package/contracts/instance/IInstanceLinked.sol +0 -8
  378. package/contracts/instance/base/ComponentServiceBase.sol +0 -42
  379. package/contracts/instance/base/IInstanceBase.sol +0 -14
  380. package/contracts/instance/base/IService.sol +0 -15
  381. package/contracts/instance/base/InstanceBase.sol +0 -80
  382. package/contracts/instance/base/ModuleBase.sol +0 -52
  383. package/contracts/instance/base/ServiceBase.sol +0 -37
  384. package/contracts/instance/module/access/Access.sol +0 -149
  385. package/contracts/instance/module/access/IAccess.sol +0 -53
  386. package/contracts/instance/module/bundle/BundleModule.sol +0 -136
  387. package/contracts/instance/module/bundle/IBundle.sol +0 -58
  388. package/contracts/instance/module/compensation/CompensationModule.sol +0 -8
  389. package/contracts/instance/module/compensation/ICompensation.sol +0 -10
  390. package/contracts/instance/module/component/ComponentModule.sol +0 -95
  391. package/contracts/instance/module/component/IComponent.sol +0 -53
  392. package/contracts/instance/module/policy/IPolicy.sol +0 -60
  393. package/contracts/instance/module/policy/PolicyModule.sol +0 -76
  394. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  395. package/contracts/instance/module/pool/PoolModule.sol +0 -87
  396. package/contracts/instance/module/risk/IRisk.sol +0 -10
  397. package/contracts/instance/module/risk/RiskModule.sol +0 -8
  398. package/contracts/instance/module/treasury/ITreasury.sol +0 -103
  399. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  400. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -152
  401. package/contracts/instance/service/ComponentOwnerService.sol +0 -170
  402. package/contracts/instance/service/IComponentOwnerService.sol +0 -22
  403. package/contracts/registry/IChainNft.sol +0 -21
  404. package/contracts/registry/IRegistryLinked.sol +0 -8
  405. package/contracts/shared/IOwnable.sol +0 -6
  406. package/contracts/test/TestPool.sol +0 -22
  407. package/contracts/test/TestProduct.sol +0 -44
@@ -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": "0x60806040523480156200001157600080fd5b50620000546301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600280546001600160a01b031916331790556200007062000076565b6200012a565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000c75760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001275780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b615e48806200013a6000396000f3fe608060405234801561001057600080fd5b50600436106101fb5760003560e01c80636a778e731161011a578063c22f980d116100ad578063eb59c6b11161007c578063eb59c6b114610596578063edabac03146105a7578063eeff428e146105b8578063fb2cb10114610603578063feec11901461061457600080fd5b8063c22f980d14610557578063cde749f41461056a578063cf7a1d7714610572578063e338e27b1461058557600080fd5b8063a745e3df116100e9578063a745e3df146104fc578063b3c650151461050f578063b68d18091461052f578063b88da7591461054457600080fd5b80636a778e73146104b2578063872309c7146104c5578063893d20e8146104cd578063946dfcfe146104d557600080fd5b806335241c06116101925780634f421333116101615780634f4213331461044f5780635ab1bd531461046257806363709eaf14610473578063644c45e01461048657600080fd5b806335241c06146102fd5780634b78ec38146103105780634ce05edc146103235780634d459c901461033657600080fd5b8063138461e0116101ce578063138461e0146102865780631d4e386a146102905780631eff4b22146102a35780632b440bc9146102d857600080fd5b806301ffc9a7146102005780630d8e6e2c146102425780630fec111c1461025e578063103bd5da14610273575b600080fd5b61022d61020e3660046152fd565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61024a610627565b60405162ffffff9091168152602001610239565b6102666106b1565b6040516102399190615377565b61022d61028136600461542c565b61086a565b61028e610952565b005b61028e61029e36600461548c565b610b74565b6102ca7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610239565b6003546001600160a01b03165b6040516001600160a01b039091168152602001610239565b61028e61030b3660046155b8565b610f5e565b61028e61031e36600461548c565b611170565b61028e61033136600461548c565b611486565b6103f261034436600461562a565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020615df383398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610239565b61022d61045d36600461562a565b611972565b6001546001600160a01b03166102e5565b61028e610481366004615655565b611a25565b600154600160a01b90046001600160601b03165b6040516001600160601b039091168152602001610239565b61049a6104c036600461569b565b611c77565b6102ca600081565b6102e56124b2565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102ca565b61028e61050a3660046156b8565b6125cb565b610517612725565b6040516001600160401b039091168152602001610239565b60465b60405160ff9091168152602001610239565b61024a610552366004615723565b612746565b61028e61056536600461573c565b612797565b6105326129a5565b61028e6105803660046156b8565b612a28565b6004546001600160a01b03166102e5565b6006546001600160a01b03166102e5565b6005546001600160a01b03166102e5565b6105c0612b31565b604080516001600160a01b03968716815294861660208601526001600160601b03909316928401929092528316606083015291909116608082015260a001610239565b6002546001600160a01b03166102e5565b61028e61062236600461569b565b6130fb565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610688573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ac9190615759565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b9091041615159181019190915260018201805491929160608401919061075c90615776565b80601f016020809104026020016040519081016040528092919081815260200182805461078890615776565b80156107d55780601f106107aa576101008083540402835291602001916107d5565b820191906000526020600020905b8154815290600101906020018083116107b857829003601f168201915b50505050508152505090506040518060e001604052806107f3600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b0316815260200161084e6002546001600160a01b031690565b6001600160a01b03168152602001826060015181525091505090565b6000808290506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d491906157bb565b6040516368fc2b7760e11b81529091506001600160a01b0382169063d1f856ee906109059088908a906004016157d8565b602060405180830381865afa158015610922573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109469190615805565b925050505b9392505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156109b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109d89190615805565b15610a1f576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b0316610a485760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610a91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ab59190615805565b610add576040516372657a5160e01b81526001600160a01b0382166004820152602401610a16565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610b27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b4b919061582d565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b33610b876001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa158015610bcf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bf39190615805565b610c1b576040516302613e9f60e51b81526001600160a01b0382166004820152602401610a16565b6000610c2f6001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b038581166004830152919250600091831690638b09a5f090602401600060405180830381865afa158015610c7b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ca391908101906158b4565b9050610cc18160400151610cb5608c90565b60ff9081169116141590565b15610d045783608c5b60408084015190516304dd29ef60e21b81526001600160a01b03909316600484015260ff9182166024840152166044820152606401610a16565b6040516305247a1760e51b81526001600160601b03861660048201526000906001600160a01b0384169063a48f42e090602401600060405180830381865afa158015610d54573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d7c91908101906158b4565b90506000816080015190506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610dc7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610deb91906157bb565b6040805160028082526060820183529293506000929091602083019080368337019050509050638267876660e01b81600081518110610e2c57610e2c615986565b6001600160e01b03199092166020928302919091019091015280516332f7fe0d60e11b9082906001908110610e6357610e63615986565b60200260200101906001600160e01b03191690816001600160e01b03191681525050816001600160a01b03166329db8c3d896001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015610ed2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610efa919081019061599c565b83610f0361337b565b6040518463ffffffff1660e01b8152600401610f2193929190615a29565b600060405180830381600087803b158015610f3b57600080fd5b505af1158015610f4f573d6000803e3d6000fd5b50505050505050505050505050565b33610f716001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa158015610fb9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fdd9190615805565b611005576040516302613e9f60e51b81526001600160a01b0382166004820152602401610a16565b60006110196001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03871660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801561106c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261109491908101906158b4565b90506000816080015190506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110df573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061110391906157bb565b60405163044ec4c360e41b81529091506001600160a01b038216906344ec4c3090611134908a908a90600401615a68565b600060405180830381600087803b15801561114e57600080fd5b505af1158015611162573d6000803e3d6000fd5b505050505050505050505050565b336111836001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa1580156111cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111ef9190615805565b611217576040516302613e9f60e51b81526001600160a01b0382166004820152602401610a16565b600061122b6001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b038581166004830152919250600091831690638b09a5f090602401600060405180830381865afa158015611277573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261129f91908101906158b4565b90506112b18160400151610cb5606e90565b156112be5783606e610cca565b6040516305247a1760e51b81526001600160601b03861660048201526000906001600160a01b0384169063a48f42e090602401600060405180830381865afa15801561130e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261133691908101906158b4565b90506000816080015190506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611381573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113a591906157bb565b604080516001808252818301909252919250600091906020808301908036833701905050905063b6b412ba60e01b816000815181106113e6576113e6615986565b60200260200101906001600160e01b03191690816001600160e01b03191681525050816001600160a01b03166329db8c3d896001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611455573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261147d919081019061599c565b83610f036133f4565b336114996001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa1580156114e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115059190615805565b61152d576040516302613e9f60e51b81526001600160a01b0382166004820152602401610a16565b60006115416001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b038581166004830152919250600091831690638b09a5f090602401600060405180830381865afa15801561158d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115b591908101906158b4565b90506115c78160400151610cb5607890565b156115d457836078610cca565b6040516305247a1760e51b81526001600160601b03861660048201526000906001600160a01b0384169063a48f42e090602401600060405180830381865afa158015611624573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261164c91908101906158b4565b90506000816080015190506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611697573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116bb91906157bb565b6040805160018082528183019092529192506000919060208083019080368337019050509050633f52c0f660e01b816000815181106116fc576116fc615986565b60200260200101906001600160e01b03191690816001600160e01b03191681525050816001600160a01b03166329db8c3d896001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801561176b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611793919081019061599c565b8361179c613430565b6040518463ffffffff1660e01b81526004016117ba93929190615a29565b600060405180830381600087803b1580156117d457600080fd5b505af11580156117e8573d6000803e3d6000fd5b5060009250600291506117f89050565b604051908082528060200260200182016040528015611821578160200160208202803683370190505b509050634cf30a8460e01b8160008151811061183f5761183f615986565b6001600160e01b0319909216602092830291909101909101528051637c07103960e11b908290600190811061187657611876615986565b60200260200101906001600160e01b03191690816001600160e01b03191681525050826001600160a01b03166329db8c3d8a6001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156118e5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261190d919081019061599c565b8361191661346b565b6040518463ffffffff1660e01b815260040161193493929190615a29565b600060405180830381600087803b15801561194e57600080fd5b505af1158015611962573d6000803e3d6000fd5b5050505050505050505050505050565b600080600080516020615df383398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af41580156119fa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a1e9190615a8c565b1192915050565b336000611a3a6001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b038481166004830152919250600091831690638b09a5f090602401600060405180830381865afa158015611a86573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611aae91908101906158b4565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015611b0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b309190615805565b15611b595760405163aef351c360e01b81526001600160a01b0384166004820152602401610a16565b60208101516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0384169063a48f42e090602401600060405180830381865afa158015611baf573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611bd791908101906158b4565b60800151905060008190506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c22573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c4691906157bb565b604051634222cc2360e01b81529091506001600160a01b03821690634222cc2390611134908b908b90600401615aa5565b6000611c816124b2565b6001600160a01b0316336001600160a01b031614611cb45760405163700dd81160e01b8152336004820152602401610a16565b6004546001600160a01b031615611d1f5760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030323a494e5354414e43455f4d41535445525f414c604482015268149150511657d4d15560ba1b6064820152608401610a16565b6003546001600160a01b031615611d905760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030313a4143434553535f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b6064820152608401610a16565b6006546001600160a01b031615611e015760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030343a42554e444c455f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b6064820152608401610a16565b6001600160a01b038216611e575760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030363a494e5354414e43455f5a45524f00000000006044820152606401610a16565b60008290506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e9c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ec091906157bb565b905060008190506000836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f07573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f2b91906157bb565b905060008190506000856001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f9691906157bb565b9050806001600160a01b038516611ff95760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030353a4143434553535f4d414e414745525f5a45526044820152604f60f81b6064820152608401610a16565b6001600160a01b03831661205a5760405162461bcd60e51b815260206004820152602260248201527f4552524f523a4352442d3030373a494e5354414e43455f5245414445525f5a45604482015261524f60f01b6064820152608401610a16565b6001600160a01b0381166120ba5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030383a42554e444c455f4d414e414745525f5a45526044820152604f60f81b6064820152608401610a16565b846001600160a01b0316876001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612102573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061212691906157bb565b6001600160a01b03161461218e5760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030393a494e5354414e43455f415554484f524954596044820152680be9a92a69a82a886960bb1b6064820152608401610a16565b866001600160a01b0316846001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121fa91906157bb565b6001600160a01b0316146122685760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3031303a494e5354414e43455f5245414445525f494e60448201526e0a6a8829c868abe9a92a69a82a8869608b1b6064820152608401610a16565b866001600160a01b0316826001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156122b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122d491906157bb565b6001600160a01b0316146123415760405162461bcd60e51b815260206004820152602e60248201527f4552524f523a4352442d3031313a42554e444c455f4d414e414745525f494e5360448201526d0a8829c868abe9a92a69a82a886960931b6064820152608401610a16565b600380546001600160a01b03199081166001600160a01b03888116919091179092556004805482168c8416179055600580548216868416179055600680549091168383161790556001546000911663d39e6043602861239e6129a5565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156123e3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061240791906157bb565b6004549091506001600160a01b0390811690600090831663026bc43b8361242c6124b2565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016000604051808303816000875af1158015612479573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526124a191908101906158b4565b519c9b505050505050505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015612517573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061253b9190615805565b156125bb57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015612597573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ac91906157bb565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6125ed610627565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af415801561262d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126519190615ac9565b600080516020615dd38339815191528054600160401b900460ff1680612684575080546001600160401b03808416911610155b156126a25760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556126cd85856134a7565b6126d683613746565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006106ac600080516020615dd3833981519152546001600160401b031690565b6000600080516020615df3833981519152600101828154811061276b5761276b615986565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60006127ab6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa1580156127fe573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261282691908101906158b4565b90506000816080015190506000816001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612871573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061289591906157bb565b9050336001600160a01b038216146128c2576040516302613e9f60e51b8152336004820152602401610a16565b6005546000906128da906001600160a01b031661374e565b60405163485cc95560e01b81526001600160a01b03878116600483015285811660248301529192509082169063485cc95590604401600060405180830381600087803b15801561292957600080fd5b505af115801561293d573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528616925063f7bc431c91506024015b600060405180830381600087803b15801561298557600080fd5b505af1158015612999573d6000803e3d6000fd5b50505050505050505050565b60006129af610627565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015612a04573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ac9190615ae6565b600080516020615dd38339815191528054600160401b810460ff1615906001600160401b0316600081158015612a5b5750825b90506000826001600160401b03166001148015612a775750303b155b905081158015612a85575080155b15612aa35760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315612acd57845460ff60401b1916600160401b1785555b612ad788886134a7565b612ae187876137c0565b8315612b2757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6000808080803381612b4b6001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b03821660048201819052919250829160009163d272ac1e90602401602060405180830381865afa158015612b97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bbb919061582d565b905060006001600160a01b03841663d39e60436028612bd86129a5565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612c1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c4191906157bb565b6003549091508190612c5b906001600160a01b031661374e565b60405163189acdbd60e31b8152306004820152909b506001600160a01b038c169063c4d66de890602401600060405180830381600087803b158015612c9f57600080fd5b505af1158015612cb3573d6000803e3d6000fd5b5050600454612ccd92506001600160a01b0316905061374e565b60405163976b0a7760e01b81526001600160a01b038d8116600483015286811660248301526001600160601b0386166044830152336064830152919b50908b169063976b0a7790608401600060405180830381600087803b158015612d3157600080fd5b505af1158015612d45573d6000803e3d6000fd5b5050600554612d5f92506001600160a01b0316905061374e565b60405163485cc95560e01b81526001600160a01b0386811660048301528c811660248301529199509089169063485cc95590604401600060405180830381600087803b158015612dae57600080fd5b505af1158015612dc2573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b038b811660048301528d16925063f7bc431c9150602401600060405180830381600087803b158015612e0957600080fd5b505af1158015612e1d573d6000803e3d6000fd5b5050600654612e3792506001600160a01b0316905061374e565b60405163c0c53b8b60e01b81526001600160a01b038d8116600483015286811660248301528c811660448301529198509088169063c0c53b8b90606401600060405180830381600087803b158015612e8e57600080fd5b505af1158015612ea2573d6000803e3d6000fd5b505060405162422c9d60e81b81526001600160a01b038a811660048301528d16925063422c9d009150602401600060405180830381600087803b158015612ee857600080fd5b505af1158015612efc573d6000803e3d6000fd5b50505050612f0b8b8b896138eb565b8a6001600160a01b031663b428b0b0612f22613941565b886040518363ffffffff1660e01b8152600401612f409291906157d8565b6020604051808303816000875af1158015612f5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f839190615805565b508a6001600160a01b031663b7d2b162612f9b613941565b306040518363ffffffff1660e01b8152600401612fb99291906157d8565b6020604051808303816000875af1158015612fd8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ffc9190615805565b5060405163026bc43b60e01b81526001600160a01b038b8116600483015287811660248301526000919083169063026bc43b906044016000604051808303816000875af1158015613051573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261307991908101906158b4565b9050806000015199507f89f53d1fc9d655ac6863fb19d55f6cc8a7649a51ec36a0d13ec77d2bd2e970f38c8c8b8d6040516130e594939291906001600160a01b0394851681529284166020840152921660408201526001600160601b0391909116606082015260800190565b60405180910390a1505050505050509091929394565b6131036124b2565b6001600160a01b0316336001600160a01b0316146131365760405163700dd81160e01b8152336004820152602401610a16565b6005546001600160a01b03166131a35760405162461bcd60e51b815260206004820152602c60248201527f4552524f523a4352442d3030333a494e5354414e43455f5245414445525f4d4160448201526b14d5115497d393d517d4d15560a21b6064820152608401610a16565b6001600160a01b0381166132045760405162461bcd60e51b815260206004820152602260248201527f4552524f523a4352442d3031323a494e5354414e43455f5245414445525f5a45604482015261524f60f01b6064820152608401610a16565b6005546001600160a01b039081169082160361327b5760405162461bcd60e51b815260206004820152603060248201527f4552524f523a4352442d3031343a494e5354414e43455f5245414445525f4d4160448201526f535445525f53414d455f41535f4e455760801b6064820152608401610a16565b600480546040805163379ed74560e21b8152905184936001600160a01b039384169385169263de7b5d1492818301926020928290030181865afa1580156132c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132ea91906157bb565b6001600160a01b0316146133585760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3031353a494e5354414e43455f5245414445525f494e60448201526e0a6a8829c868abe9a92a69a82a8869608b1b6064820152608401610a16565b50600580546001600160a01b0319166001600160a01b0392909216919091179055565b6040516368aebf7b60e01b815261012c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af41580156133d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ac9190615ac9565b6040516368aebf7b60e01b8152610190600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016133b3565b6040516368aebf7b60e01b81526064600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016133b3565b6040516368aebf7b60e01b81526108fc600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016133b3565b6134af61397c565b600080516020615df383398151915260006134df600080516020615dd3833981519152546001600160401b031690565b905060006134eb610627565b9050816001600160401b03166001036135185760028301805462ffffff191662ffffff8316179055613566565b600283015462ffffff908116908216116135665760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610a16565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af415801561361a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061363e9190615b03565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf68906127169083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101fb61397c565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b0381166137bb576040516330be1a3d60e21b815260040160405180910390fd5b919050565b600080516020615dd38339815191528054600160401b810460ff1615906001600160401b03166000811580156137f35750825b90506000826001600160401b0316600114801561380f5750303b155b90508115801561381d575080155b1561383b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561386557845460ff60401b1916600160401b1785555b6000808780602001905181019061387c9190615b2a565b9250905061388a818a6139b5565b61389a639db409fb60e01b613a20565b505083156138e257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b6138f483613a45565b6138ff838383613f9c565b61390983836140b2565b61391383836142c1565b61391d83836144b4565b6139278383614701565b6139328383836148e0565b61393c8383614c52565b505050565b6040516368aebf7b60e01b81526000600482018190529073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016133b3565b600080516020615dd383398151915254600160401b900460ff166139b357604051631afcd79f60e31b815260040160405180910390fd5b565b600060466139c16129a5565b6040805160ff93841660208201529290911690820152606001604051602081830303815290604052905060006139f684614eb2565b90506000613a098583603c848888614f23565b613a19637b6a51fd60e01b613a20565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b806001600160a01b0316635d66f90a613a5c613430565b604080516001600160e01b031960e085901b1681526001600160401b03909216600483015260248201526015604482015274446973747269627574696f6e4f776e6572526f6c6560581b6064820152608401600060405180830381600087803b158015613ac857600080fd5b505af1158015613adc573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a613af761337b565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152600d60448201526c506f6f6c4f776e6572526f6c6560981b6064820152608401600060405180830381600087803b158015613b5b57600080fd5b505af1158015613b6f573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a613b8a6133f4565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601060448201526f50726f647563744f776e6572526f6c6560801b6064820152608401600060405180830381600087803b158015613bf157600080fd5b505af1158015613c05573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a613c20614fef565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601760448201527f446973747269627574696f6e53657276696365526f6c650000000000000000006064820152608401600060405180830381600087803b158015613c9457600080fd5b505af1158015613ca8573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a613cc361502b565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152600f60448201526e506f6f6c53657276696365526f6c6560881b6064820152608401600060405180830381600087803b158015613d2957600080fd5b505af1158015613d3d573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a613d5861346b565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601260448201527150726f6475637453657276696365526f6c6560701b6064820152608401600060405180830381600087803b158015613dc157600080fd5b505af1158015613dd5573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a613df0615067565b604080516001600160e01b031960e085901b1681526001600160401b03909216600483015260248201526011604482015270506f6c69637953657276696365526f6c6560781b6064820152608401600060405180830381600087803b158015613e5857600080fd5b505af1158015613e6c573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a613e876150a3565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601160448201527042756e646c6553657276696365526f6c6560781b6064820152608401600060405180830381600087803b158015613eef57600080fd5b505af1158015613f03573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a613f1e6150df565b604080516001600160e01b031960e085901b1681526001600160401b03909216600483015260248201526013604482015272496e7374616e636553657276696365526f6c6560681b6064820152608401600060405180830381600087803b158015613f8857600080fd5b505af1158015613a19573d6000803e3d6000fd5b60405163044ec4c360e41b81526001600160a01b038416906344ec4c3090613fc8908690600401615b59565b600060405180830381600087803b158015613fe257600080fd5b505af1158015613ff6573d6000803e3d6000fd5b505060405163044ec4c360e41b81526001600160a01b03861692506344ec4c309150614026908590600401615b9d565b600060405180830381600087803b15801561404057600080fd5b505af1158015614054573d6000803e3d6000fd5b505060405163044ec4c360e41b81526001600160a01b03861692506344ec4c309150614084908490600401615bd4565b600060405180830381600087803b15801561409e57600080fd5b505af11580156138e2573d6000803e3d6000fd5b60006140c66001546001600160a01b031690565b905060006001600160a01b03821663d39e604360786140e36129a5565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015614128573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061414c91906157bb565b9050836001600160a01b031663b428b0b0614165614fef565b836040518363ffffffff1660e01b81526004016141839291906157d8565b6020604051808303816000875af11580156141a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906141c69190615805565b50604080516002808252606082018352600092602083019080368337019050509050630b24cf5f60e01b8160008151811061420357614203615986565b6001600160e01b031990921660209283029190910190910152805163bd5947e360e01b908290600190811061423a5761423a615986565b6001600160e01b0319909216602092830291909101909101526001600160a01b0385166329db8c3d8261426b614fef565b6040518363ffffffff1660e01b8152600401614288929190615c10565b600060405180830381600087803b1580156142a257600080fd5b505af11580156142b6573d6000803e3d6000fd5b505050505050505050565b6001546000906001600160a01b031663d39e6043608c6142df6129a5565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015614324573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061434891906157bb565b9050826001600160a01b031663b428b0b061436161502b565b836040518363ffffffff1660e01b815260040161437f9291906157d8565b6020604051808303816000875af115801561439e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906143c29190615805565b5060408051600480825260a082019092526000916020820160808036833701905050905063e7cd37d460e01b8160008151811061440157614401615986565b6001600160e01b0319909216602092830291909101909101528051633055195560e11b908290600190811061443857614438615986565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d8261446961502b565b6040518363ffffffff1660e01b8152600401614486929190615c10565b600060405180830381600087803b1580156144a057600080fd5b505af1158015612b27573d6000803e3d6000fd5b6001546000906001600160a01b031663d39e6043606e6144d26129a5565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015614517573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061453b91906157bb565b9050826001600160a01b031663b428b0b061455461346b565b836040518363ffffffff1660e01b81526004016145729291906157d8565b6020604051808303816000875af1158015614591573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906145b59190615805565b5060408051600580825260c082019092526000916020820160a0803683370190505090506391ff6eaa60e01b816000815181106145f4576145f4615986565b6001600160e01b03199092166020928302919091019091015280516354e750a160e11b908290600190811061462b5761462b615986565b6001600160e01b03199092166020928302919091019091015280516317b0844560e11b908290600290811061466257614662615986565b6001600160e01b03199092166020928302919091019091015280516314eddc0360e31b908290600390811061469957614699615986565b6001600160e01b0319909216602092830291909101909101528051633e77a42160e11b90829060049081106146d0576146d0615986565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d8261446961346b565b6001546000906001600160a01b031663d39e604360d261471f6129a5565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015614764573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061478891906157bb565b9050826001600160a01b031663b428b0b06147a1615067565b836040518363ffffffff1660e01b81526004016147bf9291906157d8565b6020604051808303816000875af11580156147de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906148029190615805565b50604080516003808252608082019092526000916020820160608036833701905050905063bc8d400060e01b8160008151811061484157614841615986565b6001600160e01b0319909216602092830291909101909101528051634d4b06a960e11b908290600190811061487857614878615986565b6001600160e01b0319909216602092830291909101909101528051631750d17360e21b90829060029081106148af576148af615986565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d82614469615067565b6001546000906001600160a01b031663d39e604360dc6148fe6129a5565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015614943573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061496791906157bb565b9050836001600160a01b031663b428b0b06149806150a3565b836040518363ffffffff1660e01b815260040161499e9291906157d8565b6020604051808303816000875af11580156149bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906149e19190615805565b50604080516002808252606082018352600092602083019080368337019050509050636071a68e60e01b81600081518110614a1e57614a1e615986565b6001600160e01b03199092166020928302919091019091015280516307f8b57360e31b9082906001908110614a5557614a55615986565b6001600160e01b0319909216602092830291909101909101526001600160a01b0385166329db8c3d82614a866150a3565b6040518363ffffffff1660e01b8152600401614aa3929190615c10565b600060405180830381600087803b158015614abd57600080fd5b505af1158015614ad1573d6000803e3d6000fd5b506000925060059150614ae19050565b604051908082528060200260200182016040528015614b0a578160200160208202803683370190505b509050630cc7e61460e01b81600081518110614b2857614b28615986565b6001600160e01b0319909216602092830291909101909101528051631351fccf60e31b9082906001908110614b5f57614b5f615986565b6001600160e01b03199092166020928302919091019091015280516346f0e8a760e11b9082906002908110614b9657614b96615986565b6001600160e01b031990921660209283029190910190910152805163b5346af560e01b9082906003908110614bcd57614bcd615986565b6001600160e01b03199092166020928302919091019091015280516306fa456560e01b9082906004908110614c0457614c04615986565b6001600160e01b0319909216602092830291909101909101526001600160a01b0386166329db8c3d82614c356150a3565b6040518363ffffffff1660e01b815260040161296b929190615c63565b6001546000906001600160a01b031663d39e60436046614c706129a5565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015614cb5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614cd991906157bb565b9050826001600160a01b031663b428b0b0614cf26150df565b836040518363ffffffff1660e01b8152600401614d109291906157d8565b6020604051808303816000875af1158015614d2f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614d539190615805565b506040805160018082528183019092526000916020808301908036833701905050905063f7bc431c60e01b81600081518110614d9157614d91615986565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d82614dc26150df565b6040518363ffffffff1660e01b8152600401614ddf929190615c10565b600060405180830381600087803b158015614df957600080fd5b505af1158015614e0d573d6000803e3d6000fd5b506000925060019150614e1d9050565b604051908082528060200260200182016040528015614e46578160200160208202803683370190505b5090506344ec4c3060e01b81600081518110614e6457614e64615986565b6001600160e01b0319909216602092830291909101909101526001600160a01b0385166329db8c3d82614e956150df565b6040518363ffffffff1660e01b8152600401614288929190615c90565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015614ef9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614f1d919061582d565b92915050565b614f646301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b614f6e828761511b565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101614fde8382615d13565b506138e26303fb044760e21b613a20565b6040516368aebf7b60e01b8152610834600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016133b3565b6040516368aebf7b60e01b8152610898600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016133b3565b6040516368aebf7b60e01b8152610960600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016133b3565b6040516368aebf7b60e01b81526109c4600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016133b3565b6040516368aebf7b60e01b81526107d0600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016133b3565b6001600160a01b0382166151715760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e6572206973203000006044820152606401610a16565b600280546001600160a01b0319166001600160a01b03841617905561519581615199565b5050565b6001546001600160a01b0316156151d25760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610a16565b6001600160a01b0381166151f95760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b60000361522f5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a16565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526316c8f9ff60e01b60048201526301ffc9a790602401602060405180830381865afa9250505080156152a9575060408051601f3d908101601f191682019092526152a691810190615805565b60015b6152d15760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a16565b806151955760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610a16565b50565b60006020828403121561530f57600080fd5b81356001600160e01b03198116811461094b57600080fd5b60005b8381101561534257818101518382015260200161532a565b50506000910152565b60008151808452615363816020860160208601615327565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516153e060c08401826001600160a01b03169052565b5060c083015160e0808401526153fa61010084018261534b565b949350505050565b6001600160a01b03811681146152fa57600080fd5b6001600160401b03811681146152fa57600080fd5b60008060006060848603121561544157600080fd5b833561544c81615402565b9250602084013561545c81615417565b9150604084013561546c81615402565b809150509250925092565b6001600160601b03811681146152fa57600080fd5b6000806040838503121561549f57600080fd5b82356154aa81615477565b915060208301356154ba81615402565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156154fd576154fd6154c5565b60405290565b604051601f8201601f191681016001600160401b038111828210171561552b5761552b6154c5565b604052919050565b60006001600160401b0382111561554c5761554c6154c5565b50601f01601f191660200190565b600061556d61556884615533565b615503565b905082815283838301111561558157600080fd5b828260208301376000602084830101529392505050565b600082601f8301126155a957600080fd5b61094b8383356020850161555a565b6000806000606084860312156155cd57600080fd5b83356155d881615477565b925060208401356155e881615402565b915060408401356001600160401b0381111561560357600080fd5b61560f86828701615598565b9150509250925092565b62ffffff811681146152fa57600080fd5b60006020828403121561563c57600080fd5b813561094b81615619565b80151581146152fa57600080fd5b6000806040838503121561566857600080fd5b82356001600160401b0381111561567e57600080fd5b61568a85828601615598565b92505060208301356154ba81615647565b6000602082840312156156ad57600080fd5b813561094b81615402565b6000806000606084860312156156cd57600080fd5b83356156d881615402565b925060208401356156e881615402565b915060408401356001600160401b0381111561570357600080fd5b8401601f8101861361571457600080fd5b61560f8682356020840161555a565b60006020828403121561573557600080fd5b5035919050565b60006020828403121561574e57600080fd5b813561094b81615477565b60006020828403121561576b57600080fd5b815161094b81615619565b600181811c9082168061578a57607f821691505b6020821081036157aa57634e487b7160e01b600052602260045260246000fd5b50919050565b80516137bb81615402565b6000602082840312156157cd57600080fd5b815161094b81615402565b6001600160401b039290921682526001600160a01b0316602082015260400190565b80516137bb81615647565b60006020828403121561581757600080fd5b815161094b81615647565b80516137bb81615477565b60006020828403121561583f57600080fd5b815161094b81615477565b60ff811681146152fa57600080fd5b80516137bb8161584a565b600061587261556884615533565b905082815283838301111561588657600080fd5b61094b836020830184615327565b600082601f8301126158a557600080fd5b61094b83835160208501615864565b6000602082840312156158c657600080fd5b81516001600160401b03808211156158dd57600080fd5b9083019060e082860312156158f157600080fd5b6158f96154db565b61590283615822565b815261591060208401615822565b602082015261592160408401615859565b6040820152615932606084016157fa565b6060820152615943608084016157b0565b608082015261595460a084016157b0565b60a082015260c08301518281111561596b57600080fd5b61597787828601615894565b60c08301525095945050505050565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156159ae57600080fd5b81516001600160401b038111156159c457600080fd5b8201601f810184136159d557600080fd5b6153fa84825160208401615864565b600081518084526020808501945080840160005b83811015615a1e5781516001600160e01b031916875295820195908201906001016159f8565b509495945050505050565b606081526000615a3c606083018661534b565b8281036020840152615a4e81866159e4565b9150506001600160401b0383166040830152949350505050565b6001600160a01b03831681526040602082018190526000906153fa9083018461534b565b600060208284031215615a9e57600080fd5b5051919050565b604081526000615ab8604083018561534b565b905082151560208301529392505050565b600060208284031215615adb57600080fd5b815161094b81615417565b600060208284031215615af857600080fd5b815161094b8161584a565b600060208284031215615b1557600080fd5b815164ffffffffff8116811461094b57600080fd5b60008060408385031215615b3d57600080fd5b8251615b4881615402565b60208401519092506154ba81615402565b6001600160a01b03821681526040602082018190526015908201527424b739ba30b731b2a0b1b1b2b9b9a6b0b730b3b2b960591b606082015260006080820161094b565b6001600160a01b038216815260406020820181905260089082015267496e7374616e636560c01b606082015260006080820161094b565b6001600160a01b0382168152604060208201819052600d908201526c213ab7323632a6b0b730b3b2b960991b606082015260006080820161094b565b606081526000615c38606083016008815267496e7374616e636560c01b602082015260400190565b8281036020840152615c4a81866159e4565b9150506001600160401b03831660408301529392505050565b606081526000615c3860608301600d81526c213ab7323632a6b0b730b3b2b960991b602082015260400190565b606081526000615c3860608301601581527424b739ba30b731b2a0b1b1b2b9b9a6b0b730b3b2b960591b602082015260400190565b601f82111561393c57600081815260208120601f850160051c81016020861015615cec5750805b601f850160051c820191505b81811015615d0b57828155600101615cf8565b505050505050565b81516001600160401b03811115615d2c57615d2c6154c5565b615d4081615d3a8454615776565b84615cc5565b602080601f831160018114615d755760008415615d5d5750858301515b600019600386901b1c1916600185901b178555615d0b565b600085815260208120601f198616915b82811015615da457888601518255948401946001909101908401615d85565b5085821015615dc25787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220e2e04c9bf2dd1d4e844bb446baf7f748ac8d43201a58d42b17502896f41840be64736f6c63430008140033",
835
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101fb5760003560e01c80636a778e731161011a578063c22f980d116100ad578063eb59c6b11161007c578063eb59c6b114610596578063edabac03146105a7578063eeff428e146105b8578063fb2cb10114610603578063feec11901461061457600080fd5b8063c22f980d14610557578063cde749f41461056a578063cf7a1d7714610572578063e338e27b1461058557600080fd5b8063a745e3df116100e9578063a745e3df146104fc578063b3c650151461050f578063b68d18091461052f578063b88da7591461054457600080fd5b80636a778e73146104b2578063872309c7146104c5578063893d20e8146104cd578063946dfcfe146104d557600080fd5b806335241c06116101925780634f421333116101615780634f4213331461044f5780635ab1bd531461046257806363709eaf14610473578063644c45e01461048657600080fd5b806335241c06146102fd5780634b78ec38146103105780634ce05edc146103235780634d459c901461033657600080fd5b8063138461e0116101ce578063138461e0146102865780631d4e386a146102905780631eff4b22146102a35780632b440bc9146102d857600080fd5b806301ffc9a7146102005780630d8e6e2c146102425780630fec111c1461025e578063103bd5da14610273575b600080fd5b61022d61020e3660046152fd565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61024a610627565b60405162ffffff9091168152602001610239565b6102666106b1565b6040516102399190615377565b61022d61028136600461542c565b61086a565b61028e610952565b005b61028e61029e36600461548c565b610b74565b6102ca7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610239565b6003546001600160a01b03165b6040516001600160a01b039091168152602001610239565b61028e61030b3660046155b8565b610f5e565b61028e61031e36600461548c565b611170565b61028e61033136600461548c565b611486565b6103f261034436600461562a565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020615df383398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610239565b61022d61045d36600461562a565b611972565b6001546001600160a01b03166102e5565b61028e610481366004615655565b611a25565b600154600160a01b90046001600160601b03165b6040516001600160601b039091168152602001610239565b61049a6104c036600461569b565b611c77565b6102ca600081565b6102e56124b2565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102ca565b61028e61050a3660046156b8565b6125cb565b610517612725565b6040516001600160401b039091168152602001610239565b60465b60405160ff9091168152602001610239565b61024a610552366004615723565b612746565b61028e61056536600461573c565b612797565b6105326129a5565b61028e6105803660046156b8565b612a28565b6004546001600160a01b03166102e5565b6006546001600160a01b03166102e5565b6005546001600160a01b03166102e5565b6105c0612b31565b604080516001600160a01b03968716815294861660208601526001600160601b03909316928401929092528316606083015291909116608082015260a001610239565b6002546001600160a01b03166102e5565b61028e61062236600461569b565b6130fb565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610688573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ac9190615759565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b9091041615159181019190915260018201805491929160608401919061075c90615776565b80601f016020809104026020016040519081016040528092919081815260200182805461078890615776565b80156107d55780601f106107aa576101008083540402835291602001916107d5565b820191906000526020600020905b8154815290600101906020018083116107b857829003601f168201915b50505050508152505090506040518060e001604052806107f3600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b0316815260200161084e6002546001600160a01b031690565b6001600160a01b03168152602001826060015181525091505090565b6000808290506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d491906157bb565b6040516368fc2b7760e11b81529091506001600160a01b0382169063d1f856ee906109059088908a906004016157d8565b602060405180830381865afa158015610922573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109469190615805565b925050505b9392505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156109b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109d89190615805565b15610a1f576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b0316610a485760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610a91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ab59190615805565b610add576040516372657a5160e01b81526001600160a01b0382166004820152602401610a16565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610b27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b4b919061582d565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b33610b876001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa158015610bcf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bf39190615805565b610c1b576040516302613e9f60e51b81526001600160a01b0382166004820152602401610a16565b6000610c2f6001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b038581166004830152919250600091831690638b09a5f090602401600060405180830381865afa158015610c7b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ca391908101906158b4565b9050610cc18160400151610cb5608c90565b60ff9081169116141590565b15610d045783608c5b60408084015190516304dd29ef60e21b81526001600160a01b03909316600484015260ff9182166024840152166044820152606401610a16565b6040516305247a1760e51b81526001600160601b03861660048201526000906001600160a01b0384169063a48f42e090602401600060405180830381865afa158015610d54573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d7c91908101906158b4565b90506000816080015190506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610dc7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610deb91906157bb565b6040805160028082526060820183529293506000929091602083019080368337019050509050638267876660e01b81600081518110610e2c57610e2c615986565b6001600160e01b03199092166020928302919091019091015280516332f7fe0d60e11b9082906001908110610e6357610e63615986565b60200260200101906001600160e01b03191690816001600160e01b03191681525050816001600160a01b03166329db8c3d896001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015610ed2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610efa919081019061599c565b83610f0361337b565b6040518463ffffffff1660e01b8152600401610f2193929190615a29565b600060405180830381600087803b158015610f3b57600080fd5b505af1158015610f4f573d6000803e3d6000fd5b50505050505050505050505050565b33610f716001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa158015610fb9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fdd9190615805565b611005576040516302613e9f60e51b81526001600160a01b0382166004820152602401610a16565b60006110196001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03871660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801561106c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261109491908101906158b4565b90506000816080015190506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110df573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061110391906157bb565b60405163044ec4c360e41b81529091506001600160a01b038216906344ec4c3090611134908a908a90600401615a68565b600060405180830381600087803b15801561114e57600080fd5b505af1158015611162573d6000803e3d6000fd5b505050505050505050505050565b336111836001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa1580156111cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111ef9190615805565b611217576040516302613e9f60e51b81526001600160a01b0382166004820152602401610a16565b600061122b6001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b038581166004830152919250600091831690638b09a5f090602401600060405180830381865afa158015611277573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261129f91908101906158b4565b90506112b18160400151610cb5606e90565b156112be5783606e610cca565b6040516305247a1760e51b81526001600160601b03861660048201526000906001600160a01b0384169063a48f42e090602401600060405180830381865afa15801561130e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261133691908101906158b4565b90506000816080015190506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611381573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113a591906157bb565b604080516001808252818301909252919250600091906020808301908036833701905050905063b6b412ba60e01b816000815181106113e6576113e6615986565b60200260200101906001600160e01b03191690816001600160e01b03191681525050816001600160a01b03166329db8c3d896001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611455573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261147d919081019061599c565b83610f036133f4565b336114996001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa1580156114e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115059190615805565b61152d576040516302613e9f60e51b81526001600160a01b0382166004820152602401610a16565b60006115416001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b038581166004830152919250600091831690638b09a5f090602401600060405180830381865afa15801561158d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115b591908101906158b4565b90506115c78160400151610cb5607890565b156115d457836078610cca565b6040516305247a1760e51b81526001600160601b03861660048201526000906001600160a01b0384169063a48f42e090602401600060405180830381865afa158015611624573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261164c91908101906158b4565b90506000816080015190506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611697573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116bb91906157bb565b6040805160018082528183019092529192506000919060208083019080368337019050509050633f52c0f660e01b816000815181106116fc576116fc615986565b60200260200101906001600160e01b03191690816001600160e01b03191681525050816001600160a01b03166329db8c3d896001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801561176b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611793919081019061599c565b8361179c613430565b6040518463ffffffff1660e01b81526004016117ba93929190615a29565b600060405180830381600087803b1580156117d457600080fd5b505af11580156117e8573d6000803e3d6000fd5b5060009250600291506117f89050565b604051908082528060200260200182016040528015611821578160200160208202803683370190505b509050634cf30a8460e01b8160008151811061183f5761183f615986565b6001600160e01b0319909216602092830291909101909101528051637c07103960e11b908290600190811061187657611876615986565b60200260200101906001600160e01b03191690816001600160e01b03191681525050826001600160a01b03166329db8c3d8a6001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156118e5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261190d919081019061599c565b8361191661346b565b6040518463ffffffff1660e01b815260040161193493929190615a29565b600060405180830381600087803b15801561194e57600080fd5b505af1158015611962573d6000803e3d6000fd5b5050505050505050505050505050565b600080600080516020615df383398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af41580156119fa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a1e9190615a8c565b1192915050565b336000611a3a6001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b038481166004830152919250600091831690638b09a5f090602401600060405180830381865afa158015611a86573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611aae91908101906158b4565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015611b0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b309190615805565b15611b595760405163aef351c360e01b81526001600160a01b0384166004820152602401610a16565b60208101516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0384169063a48f42e090602401600060405180830381865afa158015611baf573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611bd791908101906158b4565b60800151905060008190506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c22573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c4691906157bb565b604051634222cc2360e01b81529091506001600160a01b03821690634222cc2390611134908b908b90600401615aa5565b6000611c816124b2565b6001600160a01b0316336001600160a01b031614611cb45760405163700dd81160e01b8152336004820152602401610a16565b6004546001600160a01b031615611d1f5760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030323a494e5354414e43455f4d41535445525f414c604482015268149150511657d4d15560ba1b6064820152608401610a16565b6003546001600160a01b031615611d905760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030313a4143434553535f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b6064820152608401610a16565b6006546001600160a01b031615611e015760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030343a42554e444c455f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b6064820152608401610a16565b6001600160a01b038216611e575760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030363a494e5354414e43455f5a45524f00000000006044820152606401610a16565b60008290506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e9c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ec091906157bb565b905060008190506000836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f07573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f2b91906157bb565b905060008190506000856001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f9691906157bb565b9050806001600160a01b038516611ff95760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030353a4143434553535f4d414e414745525f5a45526044820152604f60f81b6064820152608401610a16565b6001600160a01b03831661205a5760405162461bcd60e51b815260206004820152602260248201527f4552524f523a4352442d3030373a494e5354414e43455f5245414445525f5a45604482015261524f60f01b6064820152608401610a16565b6001600160a01b0381166120ba5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030383a42554e444c455f4d414e414745525f5a45526044820152604f60f81b6064820152608401610a16565b846001600160a01b0316876001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612102573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061212691906157bb565b6001600160a01b03161461218e5760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030393a494e5354414e43455f415554484f524954596044820152680be9a92a69a82a886960bb1b6064820152608401610a16565b866001600160a01b0316846001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121fa91906157bb565b6001600160a01b0316146122685760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3031303a494e5354414e43455f5245414445525f494e60448201526e0a6a8829c868abe9a92a69a82a8869608b1b6064820152608401610a16565b866001600160a01b0316826001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156122b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122d491906157bb565b6001600160a01b0316146123415760405162461bcd60e51b815260206004820152602e60248201527f4552524f523a4352442d3031313a42554e444c455f4d414e414745525f494e5360448201526d0a8829c868abe9a92a69a82a886960931b6064820152608401610a16565b600380546001600160a01b03199081166001600160a01b03888116919091179092556004805482168c8416179055600580548216868416179055600680549091168383161790556001546000911663d39e6043602861239e6129a5565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156123e3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061240791906157bb565b6004549091506001600160a01b0390811690600090831663026bc43b8361242c6124b2565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016000604051808303816000875af1158015612479573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526124a191908101906158b4565b519c9b505050505050505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015612517573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061253b9190615805565b156125bb57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015612597573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ac91906157bb565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6125ed610627565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af415801561262d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126519190615ac9565b600080516020615dd38339815191528054600160401b900460ff1680612684575080546001600160401b03808416911610155b156126a25760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556126cd85856134a7565b6126d683613746565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006106ac600080516020615dd3833981519152546001600160401b031690565b6000600080516020615df3833981519152600101828154811061276b5761276b615986565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60006127ab6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa1580156127fe573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261282691908101906158b4565b90506000816080015190506000816001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612871573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061289591906157bb565b9050336001600160a01b038216146128c2576040516302613e9f60e51b8152336004820152602401610a16565b6005546000906128da906001600160a01b031661374e565b60405163485cc95560e01b81526001600160a01b03878116600483015285811660248301529192509082169063485cc95590604401600060405180830381600087803b15801561292957600080fd5b505af115801561293d573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528616925063f7bc431c91506024015b600060405180830381600087803b15801561298557600080fd5b505af1158015612999573d6000803e3d6000fd5b50505050505050505050565b60006129af610627565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015612a04573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ac9190615ae6565b600080516020615dd38339815191528054600160401b810460ff1615906001600160401b0316600081158015612a5b5750825b90506000826001600160401b03166001148015612a775750303b155b905081158015612a85575080155b15612aa35760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315612acd57845460ff60401b1916600160401b1785555b612ad788886134a7565b612ae187876137c0565b8315612b2757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6000808080803381612b4b6001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b03821660048201819052919250829160009163d272ac1e90602401602060405180830381865afa158015612b97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bbb919061582d565b905060006001600160a01b03841663d39e60436028612bd86129a5565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612c1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c4191906157bb565b6003549091508190612c5b906001600160a01b031661374e565b60405163189acdbd60e31b8152306004820152909b506001600160a01b038c169063c4d66de890602401600060405180830381600087803b158015612c9f57600080fd5b505af1158015612cb3573d6000803e3d6000fd5b5050600454612ccd92506001600160a01b0316905061374e565b60405163976b0a7760e01b81526001600160a01b038d8116600483015286811660248301526001600160601b0386166044830152336064830152919b50908b169063976b0a7790608401600060405180830381600087803b158015612d3157600080fd5b505af1158015612d45573d6000803e3d6000fd5b5050600554612d5f92506001600160a01b0316905061374e565b60405163485cc95560e01b81526001600160a01b0386811660048301528c811660248301529199509089169063485cc95590604401600060405180830381600087803b158015612dae57600080fd5b505af1158015612dc2573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b038b811660048301528d16925063f7bc431c9150602401600060405180830381600087803b158015612e0957600080fd5b505af1158015612e1d573d6000803e3d6000fd5b5050600654612e3792506001600160a01b0316905061374e565b60405163c0c53b8b60e01b81526001600160a01b038d8116600483015286811660248301528c811660448301529198509088169063c0c53b8b90606401600060405180830381600087803b158015612e8e57600080fd5b505af1158015612ea2573d6000803e3d6000fd5b505060405162422c9d60e81b81526001600160a01b038a811660048301528d16925063422c9d009150602401600060405180830381600087803b158015612ee857600080fd5b505af1158015612efc573d6000803e3d6000fd5b50505050612f0b8b8b896138eb565b8a6001600160a01b031663b428b0b0612f22613941565b886040518363ffffffff1660e01b8152600401612f409291906157d8565b6020604051808303816000875af1158015612f5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f839190615805565b508a6001600160a01b031663b7d2b162612f9b613941565b306040518363ffffffff1660e01b8152600401612fb99291906157d8565b6020604051808303816000875af1158015612fd8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ffc9190615805565b5060405163026bc43b60e01b81526001600160a01b038b8116600483015287811660248301526000919083169063026bc43b906044016000604051808303816000875af1158015613051573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261307991908101906158b4565b9050806000015199507f89f53d1fc9d655ac6863fb19d55f6cc8a7649a51ec36a0d13ec77d2bd2e970f38c8c8b8d6040516130e594939291906001600160a01b0394851681529284166020840152921660408201526001600160601b0391909116606082015260800190565b60405180910390a1505050505050509091929394565b6131036124b2565b6001600160a01b0316336001600160a01b0316146131365760405163700dd81160e01b8152336004820152602401610a16565b6005546001600160a01b03166131a35760405162461bcd60e51b815260206004820152602c60248201527f4552524f523a4352442d3030333a494e5354414e43455f5245414445525f4d4160448201526b14d5115497d393d517d4d15560a21b6064820152608401610a16565b6001600160a01b0381166132045760405162461bcd60e51b815260206004820152602260248201527f4552524f523a4352442d3031323a494e5354414e43455f5245414445525f5a45604482015261524f60f01b6064820152608401610a16565b6005546001600160a01b039081169082160361327b5760405162461bcd60e51b815260206004820152603060248201527f4552524f523a4352442d3031343a494e5354414e43455f5245414445525f4d4160448201526f535445525f53414d455f41535f4e455760801b6064820152608401610a16565b600480546040805163379ed74560e21b8152905184936001600160a01b039384169385169263de7b5d1492818301926020928290030181865afa1580156132c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132ea91906157bb565b6001600160a01b0316146133585760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3031353a494e5354414e43455f5245414445525f494e60448201526e0a6a8829c868abe9a92a69a82a8869608b1b6064820152608401610a16565b50600580546001600160a01b0319166001600160a01b0392909216919091179055565b6040516368aebf7b60e01b815261012c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af41580156133d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ac9190615ac9565b6040516368aebf7b60e01b8152610190600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016133b3565b6040516368aebf7b60e01b81526064600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016133b3565b6040516368aebf7b60e01b81526108fc600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016133b3565b6134af61397c565b600080516020615df383398151915260006134df600080516020615dd3833981519152546001600160401b031690565b905060006134eb610627565b9050816001600160401b03166001036135185760028301805462ffffff191662ffffff8316179055613566565b600283015462ffffff908116908216116135665760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610a16565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af415801561361a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061363e9190615b03565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf68906127169083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101fb61397c565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b0381166137bb576040516330be1a3d60e21b815260040160405180910390fd5b919050565b600080516020615dd38339815191528054600160401b810460ff1615906001600160401b03166000811580156137f35750825b90506000826001600160401b0316600114801561380f5750303b155b90508115801561381d575080155b1561383b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561386557845460ff60401b1916600160401b1785555b6000808780602001905181019061387c9190615b2a565b9250905061388a818a6139b5565b61389a639db409fb60e01b613a20565b505083156138e257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b6138f483613a45565b6138ff838383613f9c565b61390983836140b2565b61391383836142c1565b61391d83836144b4565b6139278383614701565b6139328383836148e0565b61393c8383614c52565b505050565b6040516368aebf7b60e01b81526000600482018190529073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016133b3565b600080516020615dd383398151915254600160401b900460ff166139b357604051631afcd79f60e31b815260040160405180910390fd5b565b600060466139c16129a5565b6040805160ff93841660208201529290911690820152606001604051602081830303815290604052905060006139f684614eb2565b90506000613a098583603c848888614f23565b613a19637b6a51fd60e01b613a20565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b806001600160a01b0316635d66f90a613a5c613430565b604080516001600160e01b031960e085901b1681526001600160401b03909216600483015260248201526015604482015274446973747269627574696f6e4f776e6572526f6c6560581b6064820152608401600060405180830381600087803b158015613ac857600080fd5b505af1158015613adc573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a613af761337b565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152600d60448201526c506f6f6c4f776e6572526f6c6560981b6064820152608401600060405180830381600087803b158015613b5b57600080fd5b505af1158015613b6f573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a613b8a6133f4565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601060448201526f50726f647563744f776e6572526f6c6560801b6064820152608401600060405180830381600087803b158015613bf157600080fd5b505af1158015613c05573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a613c20614fef565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601760448201527f446973747269627574696f6e53657276696365526f6c650000000000000000006064820152608401600060405180830381600087803b158015613c9457600080fd5b505af1158015613ca8573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a613cc361502b565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152600f60448201526e506f6f6c53657276696365526f6c6560881b6064820152608401600060405180830381600087803b158015613d2957600080fd5b505af1158015613d3d573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a613d5861346b565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601260448201527150726f6475637453657276696365526f6c6560701b6064820152608401600060405180830381600087803b158015613dc157600080fd5b505af1158015613dd5573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a613df0615067565b604080516001600160e01b031960e085901b1681526001600160401b03909216600483015260248201526011604482015270506f6c69637953657276696365526f6c6560781b6064820152608401600060405180830381600087803b158015613e5857600080fd5b505af1158015613e6c573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a613e876150a3565b604080516001600160e01b031960e085901b1681526001600160401b0390921660048301526024820152601160448201527042756e646c6553657276696365526f6c6560781b6064820152608401600060405180830381600087803b158015613eef57600080fd5b505af1158015613f03573d6000803e3d6000fd5b50505050806001600160a01b0316635d66f90a613f1e6150df565b604080516001600160e01b031960e085901b1681526001600160401b03909216600483015260248201526013604482015272496e7374616e636553657276696365526f6c6560681b6064820152608401600060405180830381600087803b158015613f8857600080fd5b505af1158015613a19573d6000803e3d6000fd5b60405163044ec4c360e41b81526001600160a01b038416906344ec4c3090613fc8908690600401615b59565b600060405180830381600087803b158015613fe257600080fd5b505af1158015613ff6573d6000803e3d6000fd5b505060405163044ec4c360e41b81526001600160a01b03861692506344ec4c309150614026908590600401615b9d565b600060405180830381600087803b15801561404057600080fd5b505af1158015614054573d6000803e3d6000fd5b505060405163044ec4c360e41b81526001600160a01b03861692506344ec4c309150614084908490600401615bd4565b600060405180830381600087803b15801561409e57600080fd5b505af11580156138e2573d6000803e3d6000fd5b60006140c66001546001600160a01b031690565b905060006001600160a01b03821663d39e604360786140e36129a5565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015614128573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061414c91906157bb565b9050836001600160a01b031663b428b0b0614165614fef565b836040518363ffffffff1660e01b81526004016141839291906157d8565b6020604051808303816000875af11580156141a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906141c69190615805565b50604080516002808252606082018352600092602083019080368337019050509050630b24cf5f60e01b8160008151811061420357614203615986565b6001600160e01b031990921660209283029190910190910152805163bd5947e360e01b908290600190811061423a5761423a615986565b6001600160e01b0319909216602092830291909101909101526001600160a01b0385166329db8c3d8261426b614fef565b6040518363ffffffff1660e01b8152600401614288929190615c10565b600060405180830381600087803b1580156142a257600080fd5b505af11580156142b6573d6000803e3d6000fd5b505050505050505050565b6001546000906001600160a01b031663d39e6043608c6142df6129a5565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015614324573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061434891906157bb565b9050826001600160a01b031663b428b0b061436161502b565b836040518363ffffffff1660e01b815260040161437f9291906157d8565b6020604051808303816000875af115801561439e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906143c29190615805565b5060408051600480825260a082019092526000916020820160808036833701905050905063e7cd37d460e01b8160008151811061440157614401615986565b6001600160e01b0319909216602092830291909101909101528051633055195560e11b908290600190811061443857614438615986565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d8261446961502b565b6040518363ffffffff1660e01b8152600401614486929190615c10565b600060405180830381600087803b1580156144a057600080fd5b505af1158015612b27573d6000803e3d6000fd5b6001546000906001600160a01b031663d39e6043606e6144d26129a5565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015614517573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061453b91906157bb565b9050826001600160a01b031663b428b0b061455461346b565b836040518363ffffffff1660e01b81526004016145729291906157d8565b6020604051808303816000875af1158015614591573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906145b59190615805565b5060408051600580825260c082019092526000916020820160a0803683370190505090506391ff6eaa60e01b816000815181106145f4576145f4615986565b6001600160e01b03199092166020928302919091019091015280516354e750a160e11b908290600190811061462b5761462b615986565b6001600160e01b03199092166020928302919091019091015280516317b0844560e11b908290600290811061466257614662615986565b6001600160e01b03199092166020928302919091019091015280516314eddc0360e31b908290600390811061469957614699615986565b6001600160e01b0319909216602092830291909101909101528051633e77a42160e11b90829060049081106146d0576146d0615986565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d8261446961346b565b6001546000906001600160a01b031663d39e604360d261471f6129a5565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015614764573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061478891906157bb565b9050826001600160a01b031663b428b0b06147a1615067565b836040518363ffffffff1660e01b81526004016147bf9291906157d8565b6020604051808303816000875af11580156147de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906148029190615805565b50604080516003808252608082019092526000916020820160608036833701905050905063bc8d400060e01b8160008151811061484157614841615986565b6001600160e01b0319909216602092830291909101909101528051634d4b06a960e11b908290600190811061487857614878615986565b6001600160e01b0319909216602092830291909101909101528051631750d17360e21b90829060029081106148af576148af615986565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d82614469615067565b6001546000906001600160a01b031663d39e604360dc6148fe6129a5565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015614943573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061496791906157bb565b9050836001600160a01b031663b428b0b06149806150a3565b836040518363ffffffff1660e01b815260040161499e9291906157d8565b6020604051808303816000875af11580156149bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906149e19190615805565b50604080516002808252606082018352600092602083019080368337019050509050636071a68e60e01b81600081518110614a1e57614a1e615986565b6001600160e01b03199092166020928302919091019091015280516307f8b57360e31b9082906001908110614a5557614a55615986565b6001600160e01b0319909216602092830291909101909101526001600160a01b0385166329db8c3d82614a866150a3565b6040518363ffffffff1660e01b8152600401614aa3929190615c10565b600060405180830381600087803b158015614abd57600080fd5b505af1158015614ad1573d6000803e3d6000fd5b506000925060059150614ae19050565b604051908082528060200260200182016040528015614b0a578160200160208202803683370190505b509050630cc7e61460e01b81600081518110614b2857614b28615986565b6001600160e01b0319909216602092830291909101909101528051631351fccf60e31b9082906001908110614b5f57614b5f615986565b6001600160e01b03199092166020928302919091019091015280516346f0e8a760e11b9082906002908110614b9657614b96615986565b6001600160e01b031990921660209283029190910190910152805163b5346af560e01b9082906003908110614bcd57614bcd615986565b6001600160e01b03199092166020928302919091019091015280516306fa456560e01b9082906004908110614c0457614c04615986565b6001600160e01b0319909216602092830291909101909101526001600160a01b0386166329db8c3d82614c356150a3565b6040518363ffffffff1660e01b815260040161296b929190615c63565b6001546000906001600160a01b031663d39e60436046614c706129a5565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015614cb5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614cd991906157bb565b9050826001600160a01b031663b428b0b0614cf26150df565b836040518363ffffffff1660e01b8152600401614d109291906157d8565b6020604051808303816000875af1158015614d2f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614d539190615805565b506040805160018082528183019092526000916020808301908036833701905050905063f7bc431c60e01b81600081518110614d9157614d91615986565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166329db8c3d82614dc26150df565b6040518363ffffffff1660e01b8152600401614ddf929190615c10565b600060405180830381600087803b158015614df957600080fd5b505af1158015614e0d573d6000803e3d6000fd5b506000925060019150614e1d9050565b604051908082528060200260200182016040528015614e46578160200160208202803683370190505b5090506344ec4c3060e01b81600081518110614e6457614e64615986565b6001600160e01b0319909216602092830291909101909101526001600160a01b0385166329db8c3d82614e956150df565b6040518363ffffffff1660e01b8152600401614288929190615c90565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015614ef9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614f1d919061582d565b92915050565b614f646301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b614f6e828761511b565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101614fde8382615d13565b506138e26303fb044760e21b613a20565b6040516368aebf7b60e01b8152610834600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016133b3565b6040516368aebf7b60e01b8152610898600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016133b3565b6040516368aebf7b60e01b8152610960600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016133b3565b6040516368aebf7b60e01b81526109c4600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016133b3565b6040516368aebf7b60e01b81526107d0600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016133b3565b6001600160a01b0382166151715760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e6572206973203000006044820152606401610a16565b600280546001600160a01b0319166001600160a01b03841617905561519581615199565b5050565b6001546001600160a01b0316156151d25760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610a16565b6001600160a01b0381166151f95760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b60000361522f5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a16565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526316c8f9ff60e01b60048201526301ffc9a790602401602060405180830381865afa9250505080156152a9575060408051601f3d908101601f191682019092526152a691810190615805565b60015b6152d15760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a16565b806151955760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610a16565b50565b60006020828403121561530f57600080fd5b81356001600160e01b03198116811461094b57600080fd5b60005b8381101561534257818101518382015260200161532a565b50506000910152565b60008151808452615363816020860160208601615327565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516153e060c08401826001600160a01b03169052565b5060c083015160e0808401526153fa61010084018261534b565b949350505050565b6001600160a01b03811681146152fa57600080fd5b6001600160401b03811681146152fa57600080fd5b60008060006060848603121561544157600080fd5b833561544c81615402565b9250602084013561545c81615417565b9150604084013561546c81615402565b809150509250925092565b6001600160601b03811681146152fa57600080fd5b6000806040838503121561549f57600080fd5b82356154aa81615477565b915060208301356154ba81615402565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156154fd576154fd6154c5565b60405290565b604051601f8201601f191681016001600160401b038111828210171561552b5761552b6154c5565b604052919050565b60006001600160401b0382111561554c5761554c6154c5565b50601f01601f191660200190565b600061556d61556884615533565b615503565b905082815283838301111561558157600080fd5b828260208301376000602084830101529392505050565b600082601f8301126155a957600080fd5b61094b8383356020850161555a565b6000806000606084860312156155cd57600080fd5b83356155d881615477565b925060208401356155e881615402565b915060408401356001600160401b0381111561560357600080fd5b61560f86828701615598565b9150509250925092565b62ffffff811681146152fa57600080fd5b60006020828403121561563c57600080fd5b813561094b81615619565b80151581146152fa57600080fd5b6000806040838503121561566857600080fd5b82356001600160401b0381111561567e57600080fd5b61568a85828601615598565b92505060208301356154ba81615647565b6000602082840312156156ad57600080fd5b813561094b81615402565b6000806000606084860312156156cd57600080fd5b83356156d881615402565b925060208401356156e881615402565b915060408401356001600160401b0381111561570357600080fd5b8401601f8101861361571457600080fd5b61560f8682356020840161555a565b60006020828403121561573557600080fd5b5035919050565b60006020828403121561574e57600080fd5b813561094b81615477565b60006020828403121561576b57600080fd5b815161094b81615619565b600181811c9082168061578a57607f821691505b6020821081036157aa57634e487b7160e01b600052602260045260246000fd5b50919050565b80516137bb81615402565b6000602082840312156157cd57600080fd5b815161094b81615402565b6001600160401b039290921682526001600160a01b0316602082015260400190565b80516137bb81615647565b60006020828403121561581757600080fd5b815161094b81615647565b80516137bb81615477565b60006020828403121561583f57600080fd5b815161094b81615477565b60ff811681146152fa57600080fd5b80516137bb8161584a565b600061587261556884615533565b905082815283838301111561588657600080fd5b61094b836020830184615327565b600082601f8301126158a557600080fd5b61094b83835160208501615864565b6000602082840312156158c657600080fd5b81516001600160401b03808211156158dd57600080fd5b9083019060e082860312156158f157600080fd5b6158f96154db565b61590283615822565b815261591060208401615822565b602082015261592160408401615859565b6040820152615932606084016157fa565b6060820152615943608084016157b0565b608082015261595460a084016157b0565b60a082015260c08301518281111561596b57600080fd5b61597787828601615894565b60c08301525095945050505050565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156159ae57600080fd5b81516001600160401b038111156159c457600080fd5b8201601f810184136159d557600080fd5b6153fa84825160208401615864565b600081518084526020808501945080840160005b83811015615a1e5781516001600160e01b031916875295820195908201906001016159f8565b509495945050505050565b606081526000615a3c606083018661534b565b8281036020840152615a4e81866159e4565b9150506001600160401b0383166040830152949350505050565b6001600160a01b03831681526040602082018190526000906153fa9083018461534b565b600060208284031215615a9e57600080fd5b5051919050565b604081526000615ab8604083018561534b565b905082151560208301529392505050565b600060208284031215615adb57600080fd5b815161094b81615417565b600060208284031215615af857600080fd5b815161094b8161584a565b600060208284031215615b1557600080fd5b815164ffffffffff8116811461094b57600080fd5b60008060408385031215615b3d57600080fd5b8251615b4881615402565b60208401519092506154ba81615402565b6001600160a01b03821681526040602082018190526015908201527424b739ba30b731b2a0b1b1b2b9b9a6b0b730b3b2b960591b606082015260006080820161094b565b6001600160a01b038216815260406020820181905260089082015267496e7374616e636560c01b606082015260006080820161094b565b6001600160a01b0382168152604060208201819052600d908201526c213ab7323632a6b0b730b3b2b960991b606082015260006080820161094b565b606081526000615c38606083016008815267496e7374616e636560c01b602082015260400190565b8281036020840152615c4a81866159e4565b9150506001600160401b03831660408301529392505050565b606081526000615c3860608301600d81526c213ab7323632a6b0b730b3b2b960991b602082015260400190565b606081526000615c3860608301601581527424b739ba30b731b2a0b1b1b2b9b9a6b0b730b3b2b960591b602082015260400190565b601f82111561393c57600081815260208120601f850160051c81016020861015615cec5750805b601f850160051c820191505b81811015615d0b57828155600101615cf8565b505050505050565b81516001600160401b03811115615d2c57615d2c6154c5565b615d4081615d3a8454615776565b84615cc5565b602080601f831160018114615d755760008415615d5d5750858301515b600019600386901b1c1916600185901b178555615d0b565b600085815260208120601f198616915b82811015615da457888601518255948401946001909101908401615d85565b5085821015615dc25787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220e2e04c9bf2dd1d4e844bb446baf7f748ac8d43201a58d42b17502896f41840be64736f6c63430008140033",
836
+ "linkReferences": {
837
+ "contracts/types/Blocknumber.sol": {
838
+ "BlocknumberLib": [
839
+ {
840
+ "length": 20,
841
+ "start": 6906
842
+ }
843
+ ]
844
+ },
845
+ "contracts/types/NftId.sol": {
846
+ "NftIdLib": [
847
+ {
848
+ "length": 20,
849
+ "start": 2740
850
+ },
851
+ {
852
+ "length": 20,
853
+ "start": 7180
854
+ },
855
+ {
856
+ "length": 20,
857
+ "start": 9751
858
+ }
859
+ ]
860
+ },
861
+ "contracts/types/RoleId.sol": {
862
+ "RoleIdLib": [
863
+ {
864
+ "length": 20,
865
+ "start": 13519
866
+ },
867
+ {
868
+ "length": 20,
869
+ "start": 13640
870
+ },
871
+ {
872
+ "length": 20,
873
+ "start": 13699
874
+ },
875
+ {
876
+ "length": 20,
877
+ "start": 13759
878
+ },
879
+ {
880
+ "length": 20,
881
+ "start": 14996
882
+ },
883
+ {
884
+ "length": 20,
885
+ "start": 20803
886
+ },
887
+ {
888
+ "length": 20,
889
+ "start": 20863
890
+ },
891
+ {
892
+ "length": 20,
893
+ "start": 20923
894
+ },
895
+ {
896
+ "length": 20,
897
+ "start": 20983
898
+ },
899
+ {
900
+ "length": 20,
901
+ "start": 21043
902
+ }
903
+ ]
904
+ },
905
+ "contracts/types/Timestamp.sol": {
906
+ "TimestampLib": [
907
+ {
908
+ "length": 20,
909
+ "start": 14106
910
+ }
911
+ ]
912
+ },
913
+ "contracts/types/Version.sol": {
914
+ "VersionLib": [
915
+ {
916
+ "length": 20,
917
+ "start": 1928
918
+ },
919
+ {
920
+ "length": 20,
921
+ "start": 9991
922
+ },
923
+ {
924
+ "length": 20,
925
+ "start": 11012
926
+ }
927
+ ]
928
+ }
929
+ },
930
+ "deployedLinkReferences": {
931
+ "contracts/types/Blocknumber.sol": {
932
+ "BlocknumberLib": [
933
+ {
934
+ "length": 20,
935
+ "start": 6592
936
+ }
937
+ ]
938
+ },
939
+ "contracts/types/NftId.sol": {
940
+ "NftIdLib": [
941
+ {
942
+ "length": 20,
943
+ "start": 2426
944
+ },
945
+ {
946
+ "length": 20,
947
+ "start": 6866
948
+ },
949
+ {
950
+ "length": 20,
951
+ "start": 9437
952
+ }
953
+ ]
954
+ },
955
+ "contracts/types/RoleId.sol": {
956
+ "RoleIdLib": [
957
+ {
958
+ "length": 20,
959
+ "start": 13205
960
+ },
961
+ {
962
+ "length": 20,
963
+ "start": 13326
964
+ },
965
+ {
966
+ "length": 20,
967
+ "start": 13385
968
+ },
969
+ {
970
+ "length": 20,
971
+ "start": 13445
972
+ },
973
+ {
974
+ "length": 20,
975
+ "start": 14682
976
+ },
977
+ {
978
+ "length": 20,
979
+ "start": 20489
980
+ },
981
+ {
982
+ "length": 20,
983
+ "start": 20549
984
+ },
985
+ {
986
+ "length": 20,
987
+ "start": 20609
988
+ },
989
+ {
990
+ "length": 20,
991
+ "start": 20669
992
+ },
993
+ {
994
+ "length": 20,
995
+ "start": 20729
996
+ }
997
+ ]
998
+ },
999
+ "contracts/types/Timestamp.sol": {
1000
+ "TimestampLib": [
1001
+ {
1002
+ "length": 20,
1003
+ "start": 13792
1004
+ }
1005
+ ]
1006
+ },
1007
+ "contracts/types/Version.sol": {
1008
+ "VersionLib": [
1009
+ {
1010
+ "length": 20,
1011
+ "start": 1614
1012
+ },
1013
+ {
1014
+ "length": 20,
1015
+ "start": 9677
1016
+ },
1017
+ {
1018
+ "length": 20,
1019
+ "start": 10698
1020
+ }
1021
+ ]
1022
+ }
1023
+ }
1024
+ }