@etherisc/gif-next 0.0.2-da77c50-824 → 0.0.2-dd8bcd0-978

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