@etherisc/gif-next 0.0.2-e5ea33d → 0.0.2-e69072e-892

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