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

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