@etherisc/gif-next 0.0.2-fe34d97-357 → 0.0.2-fe88ad7-208

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