@etherisc/gif-next 0.0.2-d96b9e1-825 → 0.0.2-da06f3b-803

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