@etherisc/gif-next 0.0.2-e37834a-021 → 0.0.2-e3f4f82-063

Sign up to get free protection for your applications and to get access to all the features.
Files changed (366) hide show
  1. package/README.md +108 -1
  2. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +1 -1
  3. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +116 -2
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +204 -31
  6. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +1 -1
  7. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +106 -3
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -25
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +2 -61
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -50
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +253 -68
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +272 -45
  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/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +4 -0
  45. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.json +101 -0
  46. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +4 -0
  47. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +1132 -0
  48. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +4 -0
  49. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +1082 -0
  50. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  51. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +732 -1219
  52. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  53. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +480 -0
  54. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  55. package/artifacts/contracts/instance/Instance.sol/Instance.json +2327 -1324
  56. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  57. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +917 -0
  58. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  59. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1422 -0
  60. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  61. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +931 -0
  62. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  63. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +508 -0
  64. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +1 -1
  65. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +149 -2
  66. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +1 -1
  67. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  68. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +27 -158
  69. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  70. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  71. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +37 -245
  72. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  73. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +2 -2
  74. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  75. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +211 -0
  76. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  77. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  78. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  79. package/artifacts/contracts/instance/module/{distribution/IDistribution.sol → IDistribution.sol}/IDistribution.json +1 -1
  80. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  81. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  82. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  83. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  84. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  85. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/ISetup.sol/ISetup.json} +2 -2
  86. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  87. package/artifacts/contracts/instance/module/{treasury/ITreasury.sol → ITreasury.sol}/ITreasury.json +1 -1
  88. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +1 -1
  89. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +178 -41
  90. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  91. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +212 -22
  92. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  93. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +444 -0
  94. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +1 -1
  95. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +81 -4
  96. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  97. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +80 -3
  98. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  99. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +188 -3
  100. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  101. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +120 -34
  102. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  103. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +346 -24
  104. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  105. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +460 -0
  106. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  107. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +269 -86
  108. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  109. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +488 -0
  110. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  111. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +47 -2
  112. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  113. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +199 -112
  114. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  115. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +297 -18
  116. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  117. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  118. package/artifacts/contracts/registry/Registry.sol/Registry.json +167 -166
  119. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  120. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +447 -39
  121. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  122. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +105 -48
  123. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  124. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +410 -0
  125. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  126. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  127. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
  128. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  129. package/artifacts/contracts/{instance/module/component/ComponentModule.sol/ComponentModule.json → shared/INftOwnable.sol/INftOwnable.json} +67 -57
  130. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  131. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +80 -3
  132. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  133. package/artifacts/contracts/{instance/base/ServiceBase.sol/ServiceBase.json → shared/IService.sol/IService.json} +76 -35
  134. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  135. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  136. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +32 -6
  137. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  138. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +21 -16
  139. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  140. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +120 -6
  141. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +4 -0
  142. package/artifacts/contracts/{instance/base/IService.sol/IService.json → shared/RegisterableUpgradable.sol/RegisterableUpgradable.json} +137 -39
  143. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  144. package/artifacts/contracts/{instance/base/InstanceBase.sol/InstanceBase.json → shared/Service.sol/Service.json} +106 -94
  145. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  146. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
  147. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  148. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  149. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  150. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  151. package/artifacts/contracts/test/TestFee.sol/TestFee.json +4 -4
  152. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  153. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +120 -6
  154. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  155. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +14 -14
  156. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  157. package/artifacts/contracts/test/TestService.sol/TestService.json +142 -14
  158. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  159. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
  160. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  161. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  162. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  163. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +18 -2
  164. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  165. package/artifacts/contracts/test/Usdc.sol/USDC.json +91 -53
  166. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  167. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  168. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  169. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  170. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  171. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  172. package/artifacts/contracts/types/Fee.sol/FeeLib.json +4 -4
  173. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  174. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +31 -17
  175. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  176. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
  177. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  178. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +2 -2
  179. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  180. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  181. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  182. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  183. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  184. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +123 -0
  185. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  186. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  187. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  188. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +134 -8
  189. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  190. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  191. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  192. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +15 -2
  193. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  194. package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
  195. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  196. package/artifacts/contracts/types/UFixed.sol/{UFixedMathLib.json → UFixedLib.json} +3 -3
  197. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  198. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  199. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  200. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  201. package/contracts/components/BaseComponent.sol +16 -4
  202. package/contracts/components/Distribution.sol +23 -15
  203. package/contracts/components/IBaseComponent.sol +9 -3
  204. package/contracts/components/IDistributionComponent.sol +2 -4
  205. package/contracts/components/IPoolComponent.sol +1 -3
  206. package/contracts/components/IProductComponent.sol +2 -4
  207. package/contracts/components/Pool.sol +33 -32
  208. package/contracts/components/Product.sol +52 -62
  209. package/contracts/experiment/cloning/Cloner.sol +47 -0
  210. package/contracts/instance/AccessManagedSimple.sol +115 -0
  211. package/contracts/instance/AccessManagerSimple.sol +692 -0
  212. package/contracts/instance/IAccessManagerSimple.sol +391 -0
  213. package/contracts/instance/IInstance.sol +47 -47
  214. package/contracts/instance/IInstanceService.sol +30 -0
  215. package/contracts/instance/Instance.sol +423 -65
  216. package/contracts/instance/InstanceAccessManager.sol +288 -0
  217. package/contracts/instance/InstanceReader.sol +315 -0
  218. package/contracts/instance/InstanceService.sol +198 -0
  219. package/contracts/instance/InstanceServiceManager.sol +57 -0
  220. package/contracts/instance/base/ComponentServiceBase.sol +93 -8
  221. package/contracts/instance/base/IKeyValueStore.sol +13 -14
  222. package/contracts/instance/base/ILifecycle.sol +3 -3
  223. package/contracts/instance/base/KeyValueStore.sol +49 -38
  224. package/contracts/instance/base/Lifecycle.sol +1 -1
  225. package/contracts/instance/module/IAccess.sol +38 -0
  226. package/contracts/instance/module/IBundle.sol +20 -0
  227. package/contracts/instance/module/IDistribution.sol +39 -0
  228. package/contracts/instance/module/IPolicy.sol +45 -0
  229. package/contracts/instance/module/IRisk.sol +11 -0
  230. package/contracts/instance/module/ISetup.sol +47 -0
  231. package/contracts/instance/module/ITreasury.sol +23 -0
  232. package/contracts/instance/service/ComponentOwnerService.sol +145 -100
  233. package/contracts/instance/service/DistributionService.sol +49 -15
  234. package/contracts/instance/service/DistributionServiceManager.sol +54 -0
  235. package/contracts/instance/service/IComponentOwnerService.sol +1 -1
  236. package/contracts/instance/service/IDistributionService.sol +1 -1
  237. package/contracts/instance/service/IPoolService.sol +7 -1
  238. package/contracts/instance/service/IProductService.sol +9 -6
  239. package/contracts/instance/service/PoolService.sol +101 -46
  240. package/contracts/instance/service/PoolServiceManager.sol +54 -0
  241. package/contracts/instance/service/ProductService.sol +170 -118
  242. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  243. package/contracts/registry/ChainNft.sol +40 -25
  244. package/contracts/registry/IRegistry.sol +35 -27
  245. package/contracts/registry/IRegistryService.sol +36 -15
  246. package/contracts/registry/Registry.sol +137 -179
  247. package/contracts/registry/RegistryService.sol +149 -166
  248. package/contracts/registry/RegistryServiceManager.sol +38 -10
  249. package/contracts/registry/TokenRegistry.sol +111 -0
  250. package/contracts/shared/ERC165.sol +7 -3
  251. package/contracts/shared/INftOwnable.sol +22 -0
  252. package/contracts/shared/IRegisterable.sol +3 -8
  253. package/contracts/{instance/base → shared}/IService.sol +3 -3
  254. package/contracts/shared/NftOwnable.sol +85 -38
  255. package/contracts/shared/ProxyManager.sol +3 -12
  256. package/contracts/shared/Registerable.sol +15 -42
  257. package/contracts/shared/RegisterableUpgradable.sol +16 -0
  258. package/contracts/shared/Service.sol +55 -0
  259. package/contracts/shared/TokenHandler.sol +27 -0
  260. package/contracts/shared/UpgradableProxyWithAdmin.sol +2 -2
  261. package/contracts/shared/Versionable.sol +3 -3
  262. package/contracts/test/TestFee.sol +2 -2
  263. package/contracts/test/TestRoleId.sol +1 -1
  264. package/contracts/test/TestService.sol +3 -5
  265. package/contracts/types/DistributorType.sol +55 -0
  266. package/contracts/types/Fee.sol +3 -3
  267. package/contracts/types/Key32.sol +8 -3
  268. package/contracts/types/NumberId.sol +52 -0
  269. package/contracts/types/ObjectType.sol +35 -14
  270. package/contracts/types/Referral.sol +85 -0
  271. package/contracts/types/RoleId.sol +61 -9
  272. package/contracts/types/StateId.sol +5 -1
  273. package/contracts/types/Timestamp.sol +7 -3
  274. package/contracts/types/UFixed.sol +128 -12
  275. package/contracts/types/Version.sol +4 -1
  276. package/package.json +4 -3
  277. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  278. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  279. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  280. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  281. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  282. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  283. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  284. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  285. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  286. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.json +0 -10
  287. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  288. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  289. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  290. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -297
  291. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  292. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  293. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -297
  294. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  295. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  296. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  297. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  298. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -117
  299. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +0 -4
  300. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +0 -10
  301. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +0 -4
  302. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +0 -4
  303. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.json +0 -10
  304. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  305. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  306. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -284
  307. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  308. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -284
  309. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  310. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  311. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  312. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -164
  313. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  314. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -164
  315. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  316. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  317. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -113
  318. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  319. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -131
  320. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  321. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  322. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -638
  323. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  324. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  325. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  326. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -638
  327. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  328. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -457
  329. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  330. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
  331. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +0 -4
  332. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +0 -445
  333. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  334. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -602
  335. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  336. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -632
  337. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +0 -4
  338. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.json +0 -99
  339. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  340. package/contracts/instance/IInstanceLinked.sol +0 -8
  341. package/contracts/instance/base/InstanceBase.sol +0 -89
  342. package/contracts/instance/base/ModuleBase.sol +0 -57
  343. package/contracts/instance/base/ServiceBase.sol +0 -43
  344. package/contracts/instance/module/access/Access.sol +0 -149
  345. package/contracts/instance/module/access/IAccess.sol +0 -53
  346. package/contracts/instance/module/bundle/BundleModule.sol +0 -134
  347. package/contracts/instance/module/bundle/IBundle.sol +0 -53
  348. package/contracts/instance/module/component/ComponentModule.sol +0 -71
  349. package/contracts/instance/module/component/IComponent.sol +0 -28
  350. package/contracts/instance/module/distribution/DistributionModule.sol +0 -17
  351. package/contracts/instance/module/distribution/IDistribution.sol +0 -10
  352. package/contracts/instance/module/policy/IPolicy.sol +0 -63
  353. package/contracts/instance/module/policy/PolicyModule.sol +0 -91
  354. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  355. package/contracts/instance/module/pool/PoolModule.sol +0 -95
  356. package/contracts/instance/module/risk/IRisk.sol +0 -26
  357. package/contracts/instance/module/risk/RiskModule.sol +0 -62
  358. package/contracts/instance/module/treasury/ITreasury.sol +0 -84
  359. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  360. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -131
  361. package/contracts/registry/IChainNft.sol +0 -22
  362. package/contracts/shared/IOwnable.sol +0 -6
  363. package/contracts/test/TestDistribution.sol +0 -22
  364. package/contracts/test/TestPool.sol +0 -27
  365. package/contracts/test/TestProduct.sol +0 -74
  366. package/contracts/types/ReferralId.sol +0 -48
@@ -3,6 +3,17 @@
3
3
  "contractName": "PoolService",
4
4
  "sourceName": "contracts/instance/service/PoolService.sol",
5
5
  "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "ObjectType",
10
+ "name": "componentType",
11
+ "type": "uint8"
12
+ }
13
+ ],
14
+ "name": "ComponentTypeInvalid",
15
+ "type": "error"
16
+ },
6
17
  {
7
18
  "inputs": [
8
19
  {
@@ -12,17 +23,114 @@
12
23
  },
13
24
  {
14
25
  "internalType": "NftId",
15
- "name": "registryNftId",
26
+ "name": "nftId",
16
27
  "type": "uint96"
28
+ }
29
+ ],
30
+ "name": "ErrorAlreadyLinked",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "contractAddress",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "ErrorContractNotRegistered",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "address",
48
+ "name": "bundleOwner",
49
+ "type": "address"
17
50
  },
18
51
  {
19
52
  "internalType": "address",
20
- "name": "initialOwner",
53
+ "name": "tokenHandlerAddress",
21
54
  "type": "address"
55
+ },
56
+ {
57
+ "internalType": "uint256",
58
+ "name": "amount",
59
+ "type": "uint256"
22
60
  }
23
61
  ],
24
- "stateMutability": "nonpayable",
25
- "type": "constructor"
62
+ "name": "ErrorIPoolServiceInsufficientAllowance",
63
+ "type": "error"
64
+ },
65
+ {
66
+ "inputs": [
67
+ {
68
+ "internalType": "address",
69
+ "name": "account",
70
+ "type": "address"
71
+ }
72
+ ],
73
+ "name": "ErrorNotOwner",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [
78
+ {
79
+ "internalType": "address",
80
+ "name": "registryAddress",
81
+ "type": "address"
82
+ }
83
+ ],
84
+ "name": "ErrorNotRegistry",
85
+ "type": "error"
86
+ },
87
+ {
88
+ "inputs": [
89
+ {
90
+ "internalType": "address",
91
+ "name": "registryAddress",
92
+ "type": "address"
93
+ }
94
+ ],
95
+ "name": "ErrorRegisterableNotRegistry",
96
+ "type": "error"
97
+ },
98
+ {
99
+ "inputs": [],
100
+ "name": "ErrorRegistryAddressZero",
101
+ "type": "error"
102
+ },
103
+ {
104
+ "inputs": [
105
+ {
106
+ "internalType": "address",
107
+ "name": "registry",
108
+ "type": "address"
109
+ }
110
+ ],
111
+ "name": "ErrorRegistryAlreadyInitialized",
112
+ "type": "error"
113
+ },
114
+ {
115
+ "inputs": [],
116
+ "name": "ErrorRegistryNotInitialized",
117
+ "type": "error"
118
+ },
119
+ {
120
+ "inputs": [
121
+ {
122
+ "internalType": "RoleId",
123
+ "name": "expected",
124
+ "type": "uint64"
125
+ },
126
+ {
127
+ "internalType": "address",
128
+ "name": "caller",
129
+ "type": "address"
130
+ }
131
+ ],
132
+ "name": "ExpectedRoleMissing",
133
+ "type": "error"
26
134
  },
27
135
  {
28
136
  "inputs": [],
@@ -217,6 +325,19 @@
217
325
  "stateMutability": "view",
218
326
  "type": "function"
219
327
  },
328
+ {
329
+ "inputs": [],
330
+ "name": "getInstanceService",
331
+ "outputs": [
332
+ {
333
+ "internalType": "contract InstanceService",
334
+ "name": "",
335
+ "type": "address"
336
+ }
337
+ ],
338
+ "stateMutability": "view",
339
+ "type": "function"
340
+ },
220
341
  {
221
342
  "inputs": [],
222
343
  "name": "getMajorVersion",
@@ -249,7 +370,7 @@
249
370
  "outputs": [
250
371
  {
251
372
  "internalType": "NftId",
252
- "name": "nftId",
373
+ "name": "",
253
374
  "type": "uint96"
254
375
  }
255
376
  ],
@@ -275,7 +396,7 @@
275
396
  "outputs": [
276
397
  {
277
398
  "internalType": "contract IRegistry",
278
- "name": "registry",
399
+ "name": "",
279
400
  "type": "address"
280
401
  }
281
402
  ],
@@ -428,6 +549,32 @@
428
549
  "stateMutability": "view",
429
550
  "type": "function"
430
551
  },
552
+ {
553
+ "inputs": [],
554
+ "name": "linkToRegisteredNftId",
555
+ "outputs": [],
556
+ "stateMutability": "nonpayable",
557
+ "type": "function"
558
+ },
559
+ {
560
+ "inputs": [
561
+ {
562
+ "internalType": "address",
563
+ "name": "componentAddress",
564
+ "type": "address"
565
+ }
566
+ ],
567
+ "name": "register",
568
+ "outputs": [
569
+ {
570
+ "internalType": "NftId",
571
+ "name": "componentNftId",
572
+ "type": "uint96"
573
+ }
574
+ ],
575
+ "stateMutability": "nonpayable",
576
+ "type": "function"
577
+ },
431
578
  {
432
579
  "inputs": [
433
580
  {
@@ -536,6 +683,93 @@
536
683
  "stateMutability": "view",
537
684
  "type": "function"
538
685
  },
686
+ {
687
+ "inputs": [
688
+ {
689
+ "internalType": "NftId",
690
+ "name": "instanceNftId",
691
+ "type": "uint96"
692
+ },
693
+ {
694
+ "internalType": "NftId",
695
+ "name": "bundleNftId",
696
+ "type": "uint96"
697
+ },
698
+ {
699
+ "components": [
700
+ {
701
+ "internalType": "NftId",
702
+ "name": "poolNftId",
703
+ "type": "uint96"
704
+ },
705
+ {
706
+ "components": [
707
+ {
708
+ "internalType": "UFixed",
709
+ "name": "fractionalFee",
710
+ "type": "uint256"
711
+ },
712
+ {
713
+ "internalType": "uint256",
714
+ "name": "fixedFee",
715
+ "type": "uint256"
716
+ }
717
+ ],
718
+ "internalType": "struct Fee",
719
+ "name": "fee",
720
+ "type": "tuple"
721
+ },
722
+ {
723
+ "internalType": "bytes",
724
+ "name": "filter",
725
+ "type": "bytes"
726
+ },
727
+ {
728
+ "internalType": "uint256",
729
+ "name": "capitalAmount",
730
+ "type": "uint256"
731
+ },
732
+ {
733
+ "internalType": "uint256",
734
+ "name": "lockedAmount",
735
+ "type": "uint256"
736
+ },
737
+ {
738
+ "internalType": "uint256",
739
+ "name": "balanceAmount",
740
+ "type": "uint256"
741
+ },
742
+ {
743
+ "internalType": "uint256",
744
+ "name": "lifetime",
745
+ "type": "uint256"
746
+ },
747
+ {
748
+ "internalType": "Timestamp",
749
+ "name": "expiredAt",
750
+ "type": "uint40"
751
+ },
752
+ {
753
+ "internalType": "Timestamp",
754
+ "name": "closedAt",
755
+ "type": "uint40"
756
+ }
757
+ ],
758
+ "internalType": "struct IBundle.BundleInfo",
759
+ "name": "bundleInfo",
760
+ "type": "tuple"
761
+ },
762
+ {
763
+ "internalType": "StateId",
764
+ "name": "state",
765
+ "type": "uint8"
766
+ }
767
+ ],
768
+ "name": "updateBundle",
769
+ "outputs": [],
770
+ "stateMutability": "nonpayable",
771
+ "type": "function"
772
+ },
539
773
  {
540
774
  "inputs": [
541
775
  {
@@ -560,14 +794,26 @@
560
794
  "type": "function"
561
795
  }
562
796
  ],
563
- "bytecode": "0x60806040523480156200001157600080fd5b5060405162002d9838038062002d9883398101604081905262000034916200059b565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff191660011790558282826200007d620000d2565b6200008a83838362000186565b505050620000a46209196b60e61b620000ad60201b60201c565b50505062000835565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620001235760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001835780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6000620001b160408051808201909152600b81526a506f6f6c5365727669636560a81b602082015290565b620001bb62000234565b604051602001620001ce929190620005f3565b60408051808303601f190181529190529050620001f28484602860008686620002c1565b631b4612f160e31b60009081526020527ffc58a5a01198e68c5a5d0bcd463f9ab550fc4337b1df271aed6dbb33d25fef25805460ff1916600117905550505050565b600062000240620004f6565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801562000296573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002bc91906200064d565b905090565b6001600160a01b0386166200031d5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a5247422d3031303a52454749535452595f5a45524f000000000060448201526064015b60405180910390fd5b6040516301ffc9a760e01b8152636882e63f60e11b600482015286906001600160a01b038216906301ffc9a790602401602060405180830381865afa1580156200036b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000391919062000679565b620003df5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5247422d3031313a4e4f545f5245474953545259000000000000604482015260640162000314565b6001600160a01b03818116600160a01b6001600160601b0389168102919091177f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3009081557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30180546001600160a01b031961ffff60a01b1990911660ff8b1690940260ff60a81b191693909317600160a81b8915150217929092169286169290921790557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa302620004af848262000742565b5063a6d3826560e01b60009081526020527f164a5a3a3a16df858f794c5fc01b962add2c2151ae53ddb31581eabdf1156730805460ff191660011790555050505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801562000558573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002bc91906200080e565b80516001600160a01b03811681146200059657600080fd5b919050565b600080600060608486031215620005b157600080fd5b620005bc846200057e565b60208501519093506001600160601b0381168114620005da57600080fd5b9150620005ea604085016200057e565b90509250925092565b604081526000835180604084015260005b8181101562000623576020818701810151606086840101520162000604565b506000606082850101526060601f19601f83011684010191505060ff831660208301529392505050565b6000602082840312156200066057600080fd5b815160ff811681146200067257600080fd5b9392505050565b6000602082840312156200068c57600080fd5b815180151581146200067257600080fd5b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620006c857607f821691505b602082108103620006e957634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200073d57600081815260208120601f850160051c81016020861015620007185750805b601f850160051c820191505b81811015620007395782815560010162000724565b5050505b505050565b81516001600160401b038111156200075e576200075e6200069d565b62000776816200076f8454620006b3565b84620006ef565b602080601f831160018114620007ae5760008415620007955750858301515b600019600386901b1c1916600185901b17855562000739565b600085815260208120601f198616915b82811015620007df57888601518255948401946001909101908401620007be565b5085821015620007fe5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200082157600080fd5b815162ffffff811681146200067257600080fd5b61255380620008456000396000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c806382678766116100b8578063b3c650151161007c578063b3c6501514610403578063b88da75914610423578063caf4e3d414610436578063cde749f41461043e578063cf7a1d7714610458578063e3458d531461046b57600080fd5b80638267876614610384578063893d20e814610397578063946dfcfe1461039f578063a3f4df7e146103c6578063a745e3df146103f057600080fd5b80634d459c90116100ff5780634d459c90146102035780634f4213331461031c5780635ab1bd531461032f578063636450f51461034f578063644c45e01461036457600080fd5b806301ffc9a71461013c5780630d8e6e2c1461017e5780630fec111c1461019a57806317d7de7c146101b05780631eff4b22146101e0575b600080fd5b61016961014a3660046119ad565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61018661047e565b60405162ffffff9091168152602001610175565b6101a2610508565b604051610175929190611aa7565b60408051808201909152600b81526a506f6f6c5365727669636560a81b60208201525b6040516101759190611ad5565b6101f56000805160206124be83398151915281565b604051908152602001610175565b6102bf610211366004611afc565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526000805160206124fe83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610175565b61016961032a366004611afc565b61066f565b610337610722565b6040516001600160a01b039091168152602001610175565b61036261035d366004611c34565b61073e565b005b61036c610972565b6040516001600160601b039091168152602001610175565b610362610392366004611c6a565b6109ed565b610337610b6f565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546101f5565b6101d36040518060400160405280600b81526020016a506f6f6c5365727669636560a81b81525081565b6103626103fe366004611cec565b610bea565b61040b610d44565b6040516001600160401b039091168152602001610175565b610186610431366004611d90565b610d65565b610337610db6565b610446610e67565b60405160ff9091168152602001610175565b610362610466366004611cec565b610eea565b61036c610479366004611da9565b610ff3565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156104df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105039190611e51565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060006000805160206124be83398151915290506040518060e0016040528061056b600090565b6001600160601b0390811682528354600160a01b908190049091166020830152600184015490810460ff9081166040840152600160a81b820416151560608301523060808301526001600160a01b031660a082015260028301805460c0909201916105d590611e6e565b80601f016020809104026020016040519081016040528092919081815260200182805461060190611e6e565b801561064e5780601f106106235761010080835404028352916020019161064e565b820191906000526020600020905b81548152906001019060200180831161063157829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6000806000805160206124fe83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af41580156106f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071b9190611ea8565b1192915050565b6000805160206124be833981519152546001600160a01b031690565b60008061074b608c6111ef565b604051634793b4ab60e01b81526001600160601b038716600482015291935091506000906001600160a01b03831690634793b4ab90602401600060405180830381865afa1580156107a0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107c89190810190611f5b565b80516040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610826573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061084a919061203c565b61089b5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a504c532d3031303a42554e444c455f554e4b4e4f574e0000000060448201526064015b60405180910390fd5b825181516001600160601b039182169116146109045760405162461bcd60e51b815260206004820152602260248201527f4552524f523a504c532d3031313a42554e444c455f504f4f4c5f4d49534d4154604482015261086960f31b6064820152608401610892565b60208101849052604051637e8a1e3b60e11b81526001600160a01b0383169063fd143c76906109399088908590600401612057565b600060405180830381600087803b15801561095357600080fd5b505af1158015610967573d6000803e3d6000fd5b505050505050505050565b60006000805160206124be83398151915254604051636939560f60e11b81523060048201526001600160a01b039091169063d272ac1e90602401602060405180830381865afa1580156109c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105039190612106565b6000806109fa608c6111ef565b8151604051639ae31ff560e01b81526001600160601b03909116600482015291935091506000906001600160a01b03831690639ae31ff590602401602060405180830381865afa158015610a52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a769190612106565b60405163f2b246c360e01b81526001600160601b03821660048201529091506000906001600160a01b0384169063f2b246c3906024016101e060405180830381865afa158015610aca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aee919061212e565b60a0810188905260c0810187905260e081018690526040516306a5298b60e01b81529091506001600160a01b038416906306a5298b90610b3490859085906004016121ed565b600060405180830381600087803b158015610b4e57600080fd5b505af1158015610b62573d6000803e3d6000fd5b5050505050505050505050565b60006000805160206124be83398151915254604051630a57ebcf60e11b81523060048201526001600160a01b03909116906314afd79e90602401602060405180830381865afa158015610bc6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050391906122d4565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610c0c61047e565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610c4c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c7091906122f1565b6000805160206124de8339815191528054600160401b900460ff1680610ca3575080546001600160401b03808416911610155b15610cc15760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610cec85856114d1565b610cf58361170c565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006105036000805160206124de833981519152546001600160401b031690565b60006000805160206124fe8339815191526001018281548110610d8a57610d8a61231a565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600080610dc1610722565b6001600160a01b031663a3bcd81d610dd7610e67565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa158015610e3d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e6191906122d4565b92915050565b6000610e7161047e565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015610ec6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610503919061234a565b6000805160206124de8339815191528054600160401b810460ff1615906001600160401b0316600081158015610f1d5750825b90506000826001600160401b03166001148015610f395750303b155b905081158015610f47575080155b15610f655760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610f8f57845460ff60401b1916600160401b1785555b610f9988886114d1565b610fa3878761170c565b8315610fe957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b60008080611001608c6111ef565b81519193509150611010610db6565b6001600160a01b031663c2bf08c86040518060e00160405280611031600090565b6001600160601b03168152602001846001600160601b0316815260200161105660dc90565b60ff16815260200160001515815260200160006001600160a01b031681526020018d6001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b81526004016110b59190612367565b6020604051808303816000875af11580156110d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110f89190612106565b6040516346aea9b760e11b81529094506001600160a01b03831690638d5d536e9061113390879085908e908e908e908e908e9060040161237a565b600060405180830381600087803b15801561114d57600080fd5b505af1158015611161573d6000803e3d6000fd5b5050604051639845743760e01b81526001600160601b03808816600483015284166024820152604481018b90526001600160a01b038516925063984574379150606401600060405180830381600087803b1580156111be57600080fd5b505af11580156111d2573d6000803e3d6000fd5b505050506111e28282868b611714565b5050509695505050505050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201529080611230610722565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa158015611276573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061129a9190612106565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156112f5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611319919061203c565b6113655760405162461bcd60e51b815260206004820152601760248201527f4552524f525f434f4d504f4e454e545f554e4b4e4f574e0000000000000000006044820152606401610892565b61136d610722565b6040516305247a1760e51b81526001600160601b03831660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156113bc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113e491908101906123eb565b92506113fa83604001518560ff90811691161490565b61143c5760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b6044820152606401610892565b6000611446610722565b60208501516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561149b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526114c391908101906123eb565b608001519395939450505050565b6114d9611974565b6000805160206124fe83398151915260006115096000805160206124de833981519152546001600160401b031690565b9050600061151561047e565b9050816001600160401b03166001036115425760028301805462ffffff191662ffffff8316179055611590565b600283015462ffffff908116908216116115905760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610892565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089169284019290925290861690820152606081016116044290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890610d359083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b610137611974565b801561196e57604051639ae31ff560e01b81526001600160601b03841660048201526000906001600160a01b03861690639ae31ff590602401602060405180830381865afa15801561176a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061178e9190612106565b60405163a310e2a360e01b81526001600160601b03821660048201529091506000906001600160a01b0387169063a310e2a390602401602060405180830381865afa1580156117e1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061180591906122d4565b90506000611811610722565b604051631c5da14d60e11b81526001600160601b03871660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611860573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061188491906122d4565b604051630d48c43b60e11b81526001600160601b03881660048201529091506000906001600160a01b03891690631a91887690602401602060405180830381865afa1580156118d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118fb91906122d4565b6040516317d5759960e31b81526001600160a01b0384811660048301528083166024830152604482018890529192509084169063beabacc890606401600060405180830381600087803b15801561195157600080fd5b505af1158015611965573d6000803e3d6000fd5b50505050505050505b50505050565b6000805160206124de83398151915254600160401b900460ff166119ab57604051631afcd79f60e31b815260040160405180910390fd5b565b6000602082840312156119bf57600080fd5b81356001600160e01b0319811681146119d757600080fd5b9392505050565b60005b838110156119f95781810151838201526020016119e1565b50506000910152565b60008151808452611a1a8160208601602086016119de565b601f01601f19169290920160200192915050565b60006001600160601b038083511684528060208401511660208501525060ff6040830151166040840152606082015115156060840152608082015160018060a01b0380821660808601528060a08501511660a0860152505060c082015160e060c0850152611a9f60e0850182611a02565b949350505050565b604081526000611aba6040830185611a2e565b8281036020840152611acc8185611a02565b95945050505050565b6020815260006119d76020830184611a02565b62ffffff81168114611af957600080fd5b50565b600060208284031215611b0e57600080fd5b81356119d781611ae8565b6001600160601b0381168114611af957600080fd5b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715611b6657611b66611b2e565b60405290565b60405161010081016001600160401b0381118282101715611b6657611b66611b2e565b60405161012081016001600160401b0381118282101715611b6657611b66611b2e565b60405160e081016001600160401b0381118282101715611b6657611b66611b2e565b604051601f8201601f191681016001600160401b0381118282101715611bfc57611bfc611b2e565b604052919050565b600060408284031215611c1657600080fd5b611c1e611b44565b9050813581526020820135602082015292915050565b60008060608385031215611c4757600080fd5b8235611c5281611b19565b9150611c618460208501611c04565b90509250929050565b600080600060c08486031215611c7f57600080fd5b611c898585611c04565b9250611c988560408601611c04565b9150611ca78560808601611c04565b90509250925092565b6001600160a01b0381168114611af957600080fd5b60006001600160401b03821115611cde57611cde611b2e565b50601f01601f191660200190565b600080600060608486031215611d0157600080fd5b8335611d0c81611cb0565b92506020840135611d1c81611cb0565b915060408401356001600160401b03811115611d3757600080fd5b8401601f81018613611d4857600080fd5b8035611d5b611d5682611cc5565b611bd4565b818152876020838501011115611d7057600080fd5b816020840160208301376000602083830101528093505050509250925092565b600060208284031215611da257600080fd5b5035919050565b60008060008060008060c08789031215611dc257600080fd5b8635611dcd81611cb0565b9550611ddc8860208901611c04565b9450606087013593506080870135925060a08701356001600160401b0380821115611e0657600080fd5b818901915089601f830112611e1a57600080fd5b813581811115611e2957600080fd5b8a6020828501011115611e3b57600080fd5b6020830194508093505050509295509295509295565b600060208284031215611e6357600080fd5b81516119d781611ae8565b600181811c90821680611e8257607f821691505b602082108103611ea257634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215611eba57600080fd5b5051919050565b8051611ecc81611b19565b919050565b600060408284031215611ee357600080fd5b611eeb611b44565b9050815181526020820151602082015292915050565b600082601f830112611f1257600080fd5b8151611f20611d5682611cc5565b818152846020838601011115611f3557600080fd5b611a9f8260208301602087016119de565b805164ffffffffff81168114611ecc57600080fd5b600060208284031215611f6d57600080fd5b81516001600160401b0380821115611f8457600080fd5b908301906101208286031215611f9957600080fd5b611fa1611b6c565b611faa83611ec1565b8152611fb98660208501611ed1565b6020820152606083015182811115611fd057600080fd5b611fdc87828601611f01565b6040830152506080830151606082015260a0830151608082015260c083015160a082015261200c60e08401611f46565b60c082015261201e6101008401611f46565b60e082015295945050505050565b80518015158114611ecc57600080fd5b60006020828403121561204e57600080fd5b6119d78261202c565b60006001600160601b03808516835260406020840152808451166040840152506020830151612093606084018280518252602090810151910152565b5060408301516101208060a08501526120b0610160850183611a02565b9150606085015160c0850152608085015160e085015260a085015161010085015260c08501516120e88286018264ffffffffff169052565b505060e084015164ffffffffff811661014085015250949350505050565b60006020828403121561211857600080fd5b81516119d781611b19565b8051611ecc81611cb0565b60006101e0828403121561214157600080fd5b612149611b8f565b61215283611ec1565b815261216060208401611ec1565b602082015261217160408401612123565b60408201526121838460608501611ed1565b60608201526121958460a08501611ed1565b60808201526121a78460e08501611ed1565b60a08201526121ba846101208501611ed1565b60c08201526121cd846101608501611ed1565b60e08201526121e0846101a08501611ed1565b6101008201529392505050565b6001600160601b03838116825282511660208083019190915282015161020082019061222460408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a08301516101006122868185018380518252602090810151910152565b60c0850151805161014086015260209081015161016086015260e086015180516101808701528101516101a086015294015180516101c0850152909301516101e09092019190915292915050565b6000602082840312156122e657600080fd5b81516119d781611cb0565b60006020828403121561230357600080fd5b81516001600160401b03811681146119d757600080fd5b634e487b7160e01b600052603260045260246000fd5b60ff81168114611af957600080fd5b8051611ecc81612330565b60006020828403121561235c57600080fd5b81516119d781612330565b6020815260006119d76020830184611a2e565b6001600160601b0388811682528716602082015260006123a7604083018880518252602090810151910152565b8560808301528460a083015260e060c08301528260e08301526101008385828501376000838501820152601f909301601f1916909101909101979650505050505050565b6000602082840312156123fd57600080fd5b81516001600160401b038082111561241457600080fd5b9083019060e0828603121561242857600080fd5b612430611bb2565b61243983611ec1565b815261244760208401611ec1565b60208201526124586040840161233f565b60408201526124696060840161202c565b606082015261247a60808401612123565b608082015261248b60a08401612123565b60a082015260c0830151828111156124a257600080fd5b6124ae87828601611f01565b60c0830152509594505050505056fe6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220e66764256ebc0e61107c2457539d0b541ce4627017565758ab9dc990c9c6386e64736f6c63430008140033",
564
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101375760003560e01c806382678766116100b8578063b3c650151161007c578063b3c6501514610403578063b88da75914610423578063caf4e3d414610436578063cde749f41461043e578063cf7a1d7714610458578063e3458d531461046b57600080fd5b80638267876614610384578063893d20e814610397578063946dfcfe1461039f578063a3f4df7e146103c6578063a745e3df146103f057600080fd5b80634d459c90116100ff5780634d459c90146102035780634f4213331461031c5780635ab1bd531461032f578063636450f51461034f578063644c45e01461036457600080fd5b806301ffc9a71461013c5780630d8e6e2c1461017e5780630fec111c1461019a57806317d7de7c146101b05780631eff4b22146101e0575b600080fd5b61016961014a3660046119ad565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61018661047e565b60405162ffffff9091168152602001610175565b6101a2610508565b604051610175929190611aa7565b60408051808201909152600b81526a506f6f6c5365727669636560a81b60208201525b6040516101759190611ad5565b6101f56000805160206124be83398151915281565b604051908152602001610175565b6102bf610211366004611afc565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526000805160206124fe83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610175565b61016961032a366004611afc565b61066f565b610337610722565b6040516001600160a01b039091168152602001610175565b61036261035d366004611c34565b61073e565b005b61036c610972565b6040516001600160601b039091168152602001610175565b610362610392366004611c6a565b6109ed565b610337610b6f565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546101f5565b6101d36040518060400160405280600b81526020016a506f6f6c5365727669636560a81b81525081565b6103626103fe366004611cec565b610bea565b61040b610d44565b6040516001600160401b039091168152602001610175565b610186610431366004611d90565b610d65565b610337610db6565b610446610e67565b60405160ff9091168152602001610175565b610362610466366004611cec565b610eea565b61036c610479366004611da9565b610ff3565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156104df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105039190611e51565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060006000805160206124be83398151915290506040518060e0016040528061056b600090565b6001600160601b0390811682528354600160a01b908190049091166020830152600184015490810460ff9081166040840152600160a81b820416151560608301523060808301526001600160a01b031660a082015260028301805460c0909201916105d590611e6e565b80601f016020809104026020016040519081016040528092919081815260200182805461060190611e6e565b801561064e5780601f106106235761010080835404028352916020019161064e565b820191906000526020600020905b81548152906001019060200180831161063157829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6000806000805160206124fe83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af41580156106f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071b9190611ea8565b1192915050565b6000805160206124be833981519152546001600160a01b031690565b60008061074b608c6111ef565b604051634793b4ab60e01b81526001600160601b038716600482015291935091506000906001600160a01b03831690634793b4ab90602401600060405180830381865afa1580156107a0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107c89190810190611f5b565b80516040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610826573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061084a919061203c565b61089b5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a504c532d3031303a42554e444c455f554e4b4e4f574e0000000060448201526064015b60405180910390fd5b825181516001600160601b039182169116146109045760405162461bcd60e51b815260206004820152602260248201527f4552524f523a504c532d3031313a42554e444c455f504f4f4c5f4d49534d4154604482015261086960f31b6064820152608401610892565b60208101849052604051637e8a1e3b60e11b81526001600160a01b0383169063fd143c76906109399088908590600401612057565b600060405180830381600087803b15801561095357600080fd5b505af1158015610967573d6000803e3d6000fd5b505050505050505050565b60006000805160206124be83398151915254604051636939560f60e11b81523060048201526001600160a01b039091169063d272ac1e90602401602060405180830381865afa1580156109c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105039190612106565b6000806109fa608c6111ef565b8151604051639ae31ff560e01b81526001600160601b03909116600482015291935091506000906001600160a01b03831690639ae31ff590602401602060405180830381865afa158015610a52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a769190612106565b60405163f2b246c360e01b81526001600160601b03821660048201529091506000906001600160a01b0384169063f2b246c3906024016101e060405180830381865afa158015610aca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aee919061212e565b60a0810188905260c0810187905260e081018690526040516306a5298b60e01b81529091506001600160a01b038416906306a5298b90610b3490859085906004016121ed565b600060405180830381600087803b158015610b4e57600080fd5b505af1158015610b62573d6000803e3d6000fd5b5050505050505050505050565b60006000805160206124be83398151915254604051630a57ebcf60e11b81523060048201526001600160a01b03909116906314afd79e90602401602060405180830381865afa158015610bc6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050391906122d4565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610c0c61047e565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610c4c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c7091906122f1565b6000805160206124de8339815191528054600160401b900460ff1680610ca3575080546001600160401b03808416911610155b15610cc15760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610cec85856114d1565b610cf58361170c565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006105036000805160206124de833981519152546001600160401b031690565b60006000805160206124fe8339815191526001018281548110610d8a57610d8a61231a565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600080610dc1610722565b6001600160a01b031663a3bcd81d610dd7610e67565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa158015610e3d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e6191906122d4565b92915050565b6000610e7161047e565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015610ec6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610503919061234a565b6000805160206124de8339815191528054600160401b810460ff1615906001600160401b0316600081158015610f1d5750825b90506000826001600160401b03166001148015610f395750303b155b905081158015610f47575080155b15610f655760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610f8f57845460ff60401b1916600160401b1785555b610f9988886114d1565b610fa3878761170c565b8315610fe957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b60008080611001608c6111ef565b81519193509150611010610db6565b6001600160a01b031663c2bf08c86040518060e00160405280611031600090565b6001600160601b03168152602001846001600160601b0316815260200161105660dc90565b60ff16815260200160001515815260200160006001600160a01b031681526020018d6001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b81526004016110b59190612367565b6020604051808303816000875af11580156110d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110f89190612106565b6040516346aea9b760e11b81529094506001600160a01b03831690638d5d536e9061113390879085908e908e908e908e908e9060040161237a565b600060405180830381600087803b15801561114d57600080fd5b505af1158015611161573d6000803e3d6000fd5b5050604051639845743760e01b81526001600160601b03808816600483015284166024820152604481018b90526001600160a01b038516925063984574379150606401600060405180830381600087803b1580156111be57600080fd5b505af11580156111d2573d6000803e3d6000fd5b505050506111e28282868b611714565b5050509695505050505050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201529080611230610722565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa158015611276573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061129a9190612106565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156112f5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611319919061203c565b6113655760405162461bcd60e51b815260206004820152601760248201527f4552524f525f434f4d504f4e454e545f554e4b4e4f574e0000000000000000006044820152606401610892565b61136d610722565b6040516305247a1760e51b81526001600160601b03831660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156113bc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113e491908101906123eb565b92506113fa83604001518560ff90811691161490565b61143c5760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b6044820152606401610892565b6000611446610722565b60208501516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561149b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526114c391908101906123eb565b608001519395939450505050565b6114d9611974565b6000805160206124fe83398151915260006115096000805160206124de833981519152546001600160401b031690565b9050600061151561047e565b9050816001600160401b03166001036115425760028301805462ffffff191662ffffff8316179055611590565b600283015462ffffff908116908216116115905760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610892565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089169284019290925290861690820152606081016116044290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890610d359083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b610137611974565b801561196e57604051639ae31ff560e01b81526001600160601b03841660048201526000906001600160a01b03861690639ae31ff590602401602060405180830381865afa15801561176a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061178e9190612106565b60405163a310e2a360e01b81526001600160601b03821660048201529091506000906001600160a01b0387169063a310e2a390602401602060405180830381865afa1580156117e1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061180591906122d4565b90506000611811610722565b604051631c5da14d60e11b81526001600160601b03871660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611860573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061188491906122d4565b604051630d48c43b60e11b81526001600160601b03881660048201529091506000906001600160a01b03891690631a91887690602401602060405180830381865afa1580156118d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118fb91906122d4565b6040516317d5759960e31b81526001600160a01b0384811660048301528083166024830152604482018890529192509084169063beabacc890606401600060405180830381600087803b15801561195157600080fd5b505af1158015611965573d6000803e3d6000fd5b50505050505050505b50505050565b6000805160206124de83398151915254600160401b900460ff166119ab57604051631afcd79f60e31b815260040160405180910390fd5b565b6000602082840312156119bf57600080fd5b81356001600160e01b0319811681146119d757600080fd5b9392505050565b60005b838110156119f95781810151838201526020016119e1565b50506000910152565b60008151808452611a1a8160208601602086016119de565b601f01601f19169290920160200192915050565b60006001600160601b038083511684528060208401511660208501525060ff6040830151166040840152606082015115156060840152608082015160018060a01b0380821660808601528060a08501511660a0860152505060c082015160e060c0850152611a9f60e0850182611a02565b949350505050565b604081526000611aba6040830185611a2e565b8281036020840152611acc8185611a02565b95945050505050565b6020815260006119d76020830184611a02565b62ffffff81168114611af957600080fd5b50565b600060208284031215611b0e57600080fd5b81356119d781611ae8565b6001600160601b0381168114611af957600080fd5b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715611b6657611b66611b2e565b60405290565b60405161010081016001600160401b0381118282101715611b6657611b66611b2e565b60405161012081016001600160401b0381118282101715611b6657611b66611b2e565b60405160e081016001600160401b0381118282101715611b6657611b66611b2e565b604051601f8201601f191681016001600160401b0381118282101715611bfc57611bfc611b2e565b604052919050565b600060408284031215611c1657600080fd5b611c1e611b44565b9050813581526020820135602082015292915050565b60008060608385031215611c4757600080fd5b8235611c5281611b19565b9150611c618460208501611c04565b90509250929050565b600080600060c08486031215611c7f57600080fd5b611c898585611c04565b9250611c988560408601611c04565b9150611ca78560808601611c04565b90509250925092565b6001600160a01b0381168114611af957600080fd5b60006001600160401b03821115611cde57611cde611b2e565b50601f01601f191660200190565b600080600060608486031215611d0157600080fd5b8335611d0c81611cb0565b92506020840135611d1c81611cb0565b915060408401356001600160401b03811115611d3757600080fd5b8401601f81018613611d4857600080fd5b8035611d5b611d5682611cc5565b611bd4565b818152876020838501011115611d7057600080fd5b816020840160208301376000602083830101528093505050509250925092565b600060208284031215611da257600080fd5b5035919050565b60008060008060008060c08789031215611dc257600080fd5b8635611dcd81611cb0565b9550611ddc8860208901611c04565b9450606087013593506080870135925060a08701356001600160401b0380821115611e0657600080fd5b818901915089601f830112611e1a57600080fd5b813581811115611e2957600080fd5b8a6020828501011115611e3b57600080fd5b6020830194508093505050509295509295509295565b600060208284031215611e6357600080fd5b81516119d781611ae8565b600181811c90821680611e8257607f821691505b602082108103611ea257634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215611eba57600080fd5b5051919050565b8051611ecc81611b19565b919050565b600060408284031215611ee357600080fd5b611eeb611b44565b9050815181526020820151602082015292915050565b600082601f830112611f1257600080fd5b8151611f20611d5682611cc5565b818152846020838601011115611f3557600080fd5b611a9f8260208301602087016119de565b805164ffffffffff81168114611ecc57600080fd5b600060208284031215611f6d57600080fd5b81516001600160401b0380821115611f8457600080fd5b908301906101208286031215611f9957600080fd5b611fa1611b6c565b611faa83611ec1565b8152611fb98660208501611ed1565b6020820152606083015182811115611fd057600080fd5b611fdc87828601611f01565b6040830152506080830151606082015260a0830151608082015260c083015160a082015261200c60e08401611f46565b60c082015261201e6101008401611f46565b60e082015295945050505050565b80518015158114611ecc57600080fd5b60006020828403121561204e57600080fd5b6119d78261202c565b60006001600160601b03808516835260406020840152808451166040840152506020830151612093606084018280518252602090810151910152565b5060408301516101208060a08501526120b0610160850183611a02565b9150606085015160c0850152608085015160e085015260a085015161010085015260c08501516120e88286018264ffffffffff169052565b505060e084015164ffffffffff811661014085015250949350505050565b60006020828403121561211857600080fd5b81516119d781611b19565b8051611ecc81611cb0565b60006101e0828403121561214157600080fd5b612149611b8f565b61215283611ec1565b815261216060208401611ec1565b602082015261217160408401612123565b60408201526121838460608501611ed1565b60608201526121958460a08501611ed1565b60808201526121a78460e08501611ed1565b60a08201526121ba846101208501611ed1565b60c08201526121cd846101608501611ed1565b60e08201526121e0846101a08501611ed1565b6101008201529392505050565b6001600160601b03838116825282511660208083019190915282015161020082019061222460408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a08301516101006122868185018380518252602090810151910152565b60c0850151805161014086015260209081015161016086015260e086015180516101808701528101516101a086015294015180516101c0850152909301516101e09092019190915292915050565b6000602082840312156122e657600080fd5b81516119d781611cb0565b60006020828403121561230357600080fd5b81516001600160401b03811681146119d757600080fd5b634e487b7160e01b600052603260045260246000fd5b60ff81168114611af957600080fd5b8051611ecc81612330565b60006020828403121561235c57600080fd5b81516119d781612330565b6020815260006119d76020830184611a2e565b6001600160601b0388811682528716602082015260006123a7604083018880518252602090810151910152565b8560808301528460a083015260e060c08301528260e08301526101008385828501376000838501820152601f909301601f1916909101909101979650505050505050565b6000602082840312156123fd57600080fd5b81516001600160401b038082111561241457600080fd5b9083019060e0828603121561242857600080fd5b612430611bb2565b61243983611ec1565b815261244760208401611ec1565b60208201526124586040840161233f565b60408201526124696060840161202c565b606082015261247a60808401612123565b608082015261248b60a08401612123565b60a082015260c0830151828111156124a257600080fd5b6124ae87828601611f01565b60c0830152509594505050505056fe6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220e66764256ebc0e61107c2457539d0b541ce4627017565758ab9dc990c9c6386e64736f6c63430008140033",
797
+ "bytecode": "0x60806040523480156200001157600080fd5b50620000546301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600280546001600160a01b031916331790556200007062000076565b6200012a565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000c75760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001275780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b613bad806200013a6000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c806382678766116100de578063b88da75911610097578063cde749f411610071578063cde749f4146104c4578063cf7a1d77146104de578063cf7e5db8146104f1578063e3458d531461050457600080fd5b8063b88da759146104a1578063caf4e3d4146104b4578063cc9fc59a146104bc57600080fd5b80638267876614610402578063893d20e814610415578063946dfcfe1461041d578063a3f4df7e14610444578063a745e3df1461046e578063b3c650151461048157600080fd5b80634420e486116101305780634420e4861461025b5780634d459c90146102865780634f4213331461039f5780635ab1bd53146103b2578063636450f5146103d7578063644c45e0146103ea57600080fd5b806301ffc9a7146101785780630d8e6e2c146101ba5780630fec111c146101d6578063138461e0146101ec57806317d7de7c146101f65780631eff4b2214610226575b600080fd5b6101a5610186366004612c90565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101c2610517565b60405162ffffff90911681526020016101b1565b6101de6105a1565b6040516101b1929190612d8a565b6101f46106f4565b005b60408051808201909152600b81526a506f6f6c5365727669636560a81b60208201525b6040516101b19190612db8565b61024d7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101b1565b61026e610269366004612de0565b610916565b6040516001600160601b0390911681526020016101b1565b610342610294366004612e0e565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020613b5883398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a0016101b1565b6101a56103ad366004612e0e565b610c7d565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101b1565b6101f46103e5366004612f33565b610d30565b600154600160a01b90046001600160601b031661026e565b6101f4610410366004612f69565b610fcb565b6103bf611140565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed9015461024d565b6102196040518060400160405280600b81526020016a506f6f6c5365727669636560a81b81525081565b6101f461047c36600461302c565b61125a565b6104896113b4565b6040516001600160401b0390911681526020016101b1565b6101c26104af36600461308d565b6113d5565b6103bf611426565b6103bf6114e1565b6104cc611559565b60405160ff90911681526020016101b1565b6101f46104ec36600461302c565b6115dc565b6101f46104ff3660046130de565b6116e5565b61026e6105123660046131f4565b611868565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610578573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061059c919061329c565b905090565b6105a9612c52565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806105f56001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161063d611140565b6001600160a01b0316815260200182600101805461065a906132b9565b80601f0160208091040260200160405190810160405280929190818152602001828054610686906132b9565b80156106d35780601f106106a8576101008083540402835291602001916106d3565b820191906000526020600020905b8154815290600101906020018083116106b657829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610756573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061077a9190613303565b156107c1576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166107ea5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610833573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108579190613303565b61087f576040516372657a5160e01b81526001600160a01b03821660048201526024016107b8565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa1580156108c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ed9190613329565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b600081808261092482611afa565b60ff8116600090815260036020908152604080832054815163379ed74560e21b815291519495506001600160401b0316933393926001600160a01b0388169263de7b5d1492600480830193928290030181865afa158015610989573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ad9190613346565b90506109b76114e1565b6001600160a01b0316639c12c9c78385846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a299190613329565b6040516001600160e01b031960e086901b1681526001600160a01b0390931660048401526001600160401b0390911660248301526001600160601b03166044820152606401602060405180830381865afa158015610a8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aaf9190613303565b610ae6576040516351302f8160e01b81526001600160401b03841660048201526001600160a01b03831660248201526044016107b8565b33886000610af382611afa565b90506000610aff611426565b9050610b09612c52565b6060610b1d8460785b60ff90811691161490565b15610ba557604051638fbc2d8160e01b81526001600160a01b0386811660048301528781166024830152841690638fbc2d81906044015b6000604051808303816000875af1158015610b73573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b9b919081019061346b565b9092509050610c4f565b610bb084606e610b12565b15610beb57604051635d96628960e01b81526001600160a01b0386811660048301528781166024830152841690635d96628990604401610b54565b610bf684608c610b12565b15610c3157604051637286e5e560e01b81526001600160a01b0386811660048301528781166024830152841690637286e5e590604401610b54565b60405163062839b560e01b815260ff851660048201526024016107b8565b81519c506000610c5e83611b6f565b9050610c6b8e8383611c11565b50505050505050505050505050919050565b600080600080516020613b5883398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610d05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d2991906134ce565b1192915050565b600080610d3d608c611c86565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610da59190613346565b8351604051634793b4ab60e01b81526001600160601b0388166004820152919250906000906001600160a01b03841690634793b4ab90602401600060405180830381865afa158015610dfb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e239190810190613522565b80516040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610e81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea59190613303565b610ef15760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a504c532d3031303a42554e444c455f554e4b4e4f574e0000000060448201526064016107b8565b80516001600160601b03808416911614610f585760405162461bcd60e51b815260206004820152602260248201527f4552524f523a504c532d3031313a42554e444c455f504f4f4c5f4d49534d4154604482015261086960f31b60648201526084016107b8565b602081018690526040516307f8b57360e31b81526001600160a01b03851690633fc5ab9890610f90908a90859060ff906004016136a1565b600060405180830381600087803b158015610faa57600080fd5b505af1158015610fbe573d6000803e3d6000fd5b5050505050505050505050565b600080610fd8608c611c86565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561101c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110409190613346565b83516040516355e343a960e01b81526001600160601b0382166004820152919250906000906001600160a01b038416906355e343a99060240161018060405180830381865afa158015611097573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110bb91906136d6565b606081018990526080810188905260a08101879052604051633055195560e11b81529091506001600160a01b038516906360aa32aa90611104908590859060ff90600401613844565b600060405180830381600087803b15801561111e57600080fd5b505af1158015611132573d6000803e3d6000fd5b505050505050505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156111a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111c99190613303565b1561124a57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a906024015b602060405180830381865afa158015611226573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061059c9190613346565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c61127c610517565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156112bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112e09190613889565b600080516020613b388339815191528054600160401b900460ff1680611313575080546001600160401b03808416911610155b156113315760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561135c8585611f44565b611365836121e3565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b600061059c600080516020613b38833981519152546001600160401b031690565b6000600080516020613b5883398151915260010182815481106113fa576113fa6138a6565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60008061143b6001546001600160a01b031690565b6001600160a01b031663a3bcd81d611451611559565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa1580156114b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114db9190613346565b92915050565b60006114f56001546001600160a01b031690565b6001600160a01b031663a3bcd81d61150b611559565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e496e7374616e63655365727669636560881b606482015260ff9091166024820152608401611209565b6000611563610517565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156115b8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061059c91906138bc565b600080516020613b388339815191528054600160401b810460ff1615906001600160401b031660008115801561160f5750825b90506000826001600160401b0316600114801561162b5750303b155b905081158015611639575080155b156116575760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561168157845460ff60401b1916600160401b1785555b61168b8888611f44565b61169587876121eb565b83156116db57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b336116f86001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa158015611740573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117649190613303565b6117a45760405162461bcd60e51b81526020600482015260116024820152704552524f525f4e4f545f5345525649434560781b60448201526064016107b8565b60006117b86001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611807573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261182f91908101906138d9565b60808101516040516307f8b57360e31b8152919250906001600160a01b03821690633fc5ab9890610f90908990899089906004016136a1565b60008080611876608c611c86565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118de9190613346565b90506000836000015190506000604051806101200160405280836001600160601b031681526020018c815260200189898080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250938552505050602082018d90526040820152606081018c9052608081018b905260a001611969600090565b64ffffffffff16815260006020909101529050611984611426565b6001600160a01b031663c2bf08c86040518060e001604052806119a5600090565b6001600160601b03168152602001856001600160601b031681526020016119ca60dc90565b60ff16815260200160001515815260200160006001600160a01b031681526020018f6001600160a01b0316815260200184604051602001611a0b919061390d565b6040516020818303038152906040528152506040518263ffffffff1660e01b8152600401611a399190613920565b6020604051808303816000875af1158015611a58573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a7c9190613329565b604051633038d34760e11b81529096506001600160a01b03851690636071a68e90611aad9089908590600401613933565b600060405180830381600087803b158015611ac757600080fd5b505af1158015611adb573d6000803e3d6000fd5b50505050611aeb8383888d612341565b50505050509695505050505050565b600080826001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611b3b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b63919081019061346b565b50604001519392505050565b600080611b846001546001600160a01b031690565b60208401516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611bdd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611c0591908101906138d9565b60800151949350505050565b600082806020019051810190611c2791906136d6565b6040516339f34df560e21b81529091506001600160a01b0383169063e7cd37d490611c589087908590600401613955565b600060405180830381600087803b158015611c7257600080fd5b505af11580156116db573d6000803e3d6000fd5b611c8e612c52565b600154604051636939560f60e11b815233600482015260009182916001600160a01b039091169063d272ac1e90602401602060405180830381865afa158015611cdb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cff9190613329565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611d5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d7e9190613303565b611dca5760405162461bcd60e51b815260206004820152601760248201527f4552524f525f434f4d504f4e454e545f554e4b4e4f574e00000000000000000060448201526064016107b8565b6001546001600160a01b03166040516305247a1760e51b81526001600160601b03831660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611e25573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e4d91908101906138d9565b9250611e6383604001518560ff90811691161490565b611ea55760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b60448201526064016107b8565b6000611eb96001546001600160a01b031690565b60208501516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611f0e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611f3691908101906138d9565b608001519395939450505050565b611f4c6125d1565b600080516020613b588339815191526000611f7c600080516020613b38833981519152546001600160401b031690565b90506000611f88610517565b9050816001600160401b0316600103611fb55760028301805462ffffff191662ffffff8316179055612003565b600283015462ffffff908116908216116120035760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b60448201526064016107b8565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af41580156120b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120db9190613973565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf68906113a59083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101736125d1565b600080516020613b388339815191528054600160401b810460ff1615906001600160401b031660008115801561221e5750825b90506000826001600160401b0316600114801561223a5750303b155b905081158015612248575080155b156122665760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561229057845460ff60401b1916600160401b1785555b6000868060200190518101906122a69190613990565b600480546001600160a01b039093166001600160a01b03199093168317905591506122d1908961260a565b6122e1631b4612f160e31b612760565b6122f16319a700ef60e31b612760565b50831561233857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b80156125cb576040516355e343a960e01b81526001600160601b03841660048201526000906001600160a01b038616906355e343a99060240161018060405180830381865afa158015612398573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123bc91906136d6565b602081015190915060006123d86001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03871660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612427573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061244b9190613346565b60808401516101008501516040516317d5759960e31b81526001600160a01b03808516600483015291821660248201526044810188905292935090919084169063beabacc890606401600060405180830381600087803b1580156124ae57600080fd5b505af11580156124c2573d6000803e3d6000fd5b50506040516346f0526160e11b815273__$a23651848365a6a5ca15f07b4331037f48$__9250638de0a4c291506124fd9084906004016139ca565b602060405180830381865af415801561251a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061253e9190613303565b6116db5760405163012ebd8360e21b8152815160048201526020820151602482015260448101869052600090819073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af41580156125a7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061113291906139e1565b50505050565b600080516020613b3883398151915254600160401b900460ff1661260857604051631afcd79f60e31b815260040160405180910390fd5b565b6126148282612785565b61261c61280e565b606e60005260036020527f0de2b21138735878e0660eef23d1131fad23d66157bfa1c473a82b60c5169926805467ffffffffffffffff19166001600160401b039290921691909117905561266e612887565b608c60005260036020527f83339eadc78535e76a031a9a544cf6fa252296becf88992d49fad5f832544a38805467ffffffffffffffff19166001600160401b03929092169190911790556126c06128c3565b607860005260036020527fe372c44748f4c2908ae7c0a1dc553464478b0394f70953faecd55173b039317c805467ffffffffffffffff19166001600160401b03929092169190911790556127126128fe565b608260005260036020527fc3d073881ce0daff4d900012573fe3b8d5b283519b2f509e59d1b978e7cf0fc5805467ffffffffffffffff19166001600160401b03929092169190911790555050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b60006127af60408051808201909152600b81526a506f6f6c5365727669636560a81b602082015290565b6127b7611559565b6040516020016127c8929190613a05565b604051602081830303815290604052905060006127e484612939565b905060006127f78583603c8488886129a4565b612807631b4612f160e31b612760565b5050505050565b6040516368aebf7b60e01b8152610190600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015612863573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061059c9190613889565b6040516368aebf7b60e01b815261012c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612846565b6040516368aebf7b60e01b81526064600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612846565b6040516368aebf7b60e01b815260c8600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612846565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015612980573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114db9190613329565b6129e56301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6129ef8287612a70565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101612a5f8382613a78565b506123386303fb044760e21b612760565b6001600160a01b038216612ac65760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e65722069732030000060448201526064016107b8565b600280546001600160a01b0319166001600160a01b038416179055612aea81612aee565b5050565b6001546001600160a01b031615612b275760015460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024016107b8565b6001600160a01b038116612b4e5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003612b845760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107b8565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632eaf856d60e11b60048201526301ffc9a790602401602060405180830381865afa925050508015612bfe575060408051601f3d908101601f19168201909252612bfb91810190613303565b60015b612c265760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107b8565b80612aea5760405163fdeac91f60e01b81526001600160a01b03831660048201526024016107b8565b50565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b600060208284031215612ca257600080fd5b81356001600160e01b031981168114612cba57600080fd5b9392505050565b60005b83811015612cdc578181015183820152602001612cc4565b50506000910152565b60008151808452612cfd816020860160208601612cc1565b601f01601f19169290920160200192915050565b60006001600160601b038083511684528060208401511660208501525060ff6040830151166040840152606082015115156060840152608082015160018060a01b0380821660808601528060a08501511660a0860152505060c082015160e060c0850152612d8260e0850182612ce5565b949350505050565b604081526000612d9d6040830185612d11565b8281036020840152612daf8185612ce5565b95945050505050565b602081526000612cba6020830184612ce5565b6001600160a01b0381168114612c4f57600080fd5b600060208284031215612df257600080fd5b8135612cba81612dcb565b62ffffff81168114612c4f57600080fd5b600060208284031215612e2057600080fd5b8135612cba81612dfd565b6001600160601b0381168114612c4f57600080fd5b8035612e4b81612e2b565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715612e8857612e88612e50565b60405290565b60405161012081016001600160401b0381118282101715612e8857612e88612e50565b60405160e081016001600160401b0381118282101715612e8857612e88612e50565b604051601f8201601f191681016001600160401b0381118282101715612efb57612efb612e50565b604052919050565b600060408284031215612f1557600080fd5b612f1d612e66565b9050813581526020820135602082015292915050565b60008060608385031215612f4657600080fd5b8235612f5181612e2b565b9150612f608460208501612f03565b90509250929050565b600080600060c08486031215612f7e57600080fd5b612f888585612f03565b9250612f978560408601612f03565b9150612fa68560808601612f03565b90509250925092565b60006001600160401b03821115612fc857612fc8612e50565b50601f01601f191660200190565b600082601f830112612fe757600080fd5b8135612ffa612ff582612faf565b612ed3565b81815284602083860101111561300f57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060006060848603121561304157600080fd5b833561304c81612dcb565b9250602084013561305c81612dcb565b915060408401356001600160401b0381111561307757600080fd5b61308386828701612fd6565b9150509250925092565b60006020828403121561309f57600080fd5b5035919050565b64ffffffffff81168114612c4f57600080fd5b8035612e4b816130a6565b60ff81168114612c4f57600080fd5b8035612e4b816130c4565b600080600080608085870312156130f457600080fd5b84356130ff81612e2b565b9350602085013561310f81612e2b565b925060408501356001600160401b038082111561312b57600080fd5b90860190610140828903121561314057600080fd5b613148612e8e565b61315183612e40565b81526131608960208501612f03565b602082015260608301358281111561317757600080fd5b6131838a828601612fd6565b6040830152506080830135606082015260a0830135608082015260c083013560a082015260e083013560c082015261010091506131c18284016130b9565b60e08201526131d361012084016130b9565b828201528094505050506131e9606086016130d3565b905092959194509250565b60008060008060008060c0878903121561320d57600080fd5b863561321881612dcb565b95506132278860208901612f03565b9450606087013593506080870135925060a08701356001600160401b038082111561325157600080fd5b818901915089601f83011261326557600080fd5b81358181111561327457600080fd5b8a602082850101111561328657600080fd5b6020830194508093505050509295509295509295565b6000602082840312156132ae57600080fd5b8151612cba81612dfd565b600181811c908216806132cd57607f821691505b6020821081036132ed57634e487b7160e01b600052602260045260246000fd5b50919050565b80518015158114612e4b57600080fd5b60006020828403121561331557600080fd5b612cba826132f3565b8051612e4b81612e2b565b60006020828403121561333b57600080fd5b8151612cba81612e2b565b60006020828403121561335857600080fd5b8151612cba81612dcb565b8051612e4b816130c4565b8051612e4b81612dcb565b600082601f83011261338a57600080fd5b8151613398612ff582612faf565b8181528460208386010111156133ad57600080fd5b612d82826020830160208701612cc1565b600060e082840312156133d057600080fd5b6133d8612eb1565b90506133e38261331e565b81526133f16020830161331e565b602082015261340260408301613363565b6040820152613413606083016132f3565b60608201526134246080830161336e565b608082015261343560a0830161336e565b60a082015260c08201516001600160401b0381111561345357600080fd5b61345f84828501613379565b60c08301525092915050565b6000806040838503121561347e57600080fd5b82516001600160401b038082111561349557600080fd5b6134a1868387016133be565b935060208501519150808211156134b757600080fd5b506134c485828601613379565b9150509250929050565b6000602082840312156134e057600080fd5b5051919050565b6000604082840312156134f957600080fd5b613501612e66565b9050815181526020820151602082015292915050565b8051612e4b816130a6565b60006020828403121561353457600080fd5b81516001600160401b038082111561354b57600080fd5b90830190610140828603121561356057600080fd5b613568612e8e565b6135718361331e565b815261358086602085016134e7565b602082015260608301518281111561359757600080fd5b6135a387828601613379565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c082015261010091506135e1828401613517565b60e08201526135f36101208401613517565b91810191909152949350505050565b80516001600160601b03168252600061014060208381015180518683015290810151604086015250604083015181606086015261364182860182612ce5565b91505060608301516080850152608083015160a085015260a083015160c085015260c083015160e085015260e08301516101006136868187018364ffffffffff169052565b84015164ffffffffff81166101208701529050509392505050565b6001600160601b03841681526060602082015260006136c36060830185613602565b905060ff83166040830152949350505050565b600061018082840312156136e957600080fd5b6136f1612e8e565b6136fa8361331e565b81526137086020840161336e565b60208201526040830151604082015261372484606085016134e7565b60608201526137368460a085016134e7565b60808201526137488460e085016134e7565b60a082015261375a61012084016132f3565b60c082015261376c61014084016132f3565b60e082015261377e610160840161336e565b6101008201529392505050565b6001600160601b03815116825260208101516137b260208401826001600160a01b03169052565b506040810151604083015260608101516137d9606084018280518252602090810151910152565b506080810151805160a0840152602081015160c08401525060a0810151805160e084015260208101516101008401525060c08101518015156101208401525060e08101518015156101408401525061010001516001600160a01b03166101609190910152565b505050565b6001600160601b03841681526101c08101613862602083018561378b565b60ff83166101a0830152949350505050565b6001600160401b0381168114612c4f57600080fd5b60006020828403121561389b57600080fd5b8151612cba81613874565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156138ce57600080fd5b8151612cba816130c4565b6000602082840312156138eb57600080fd5b81516001600160401b0381111561390157600080fd5b612d82848285016133be565b602081526000612cba6020830184613602565b602081526000612cba6020830184612d11565b6001600160601b0383168152604060208201526000612d826040830184613602565b6001600160601b03831681526101a08101612cba602083018461378b565b60006020828403121561398557600080fd5b8151612cba816130a6565b600080604083850312156139a357600080fd5b82516139ae81612dcb565b60208401519092506139bf81612dcb565b809150509250929050565b8151815260208083015190820152604081016114db565b600080604083850312156139f457600080fd5b505080516020909101519092909150565b604081526000613a186040830185612ce5565b905060ff831660208301529392505050565b601f82111561383f57600081815260208120601f850160051c81016020861015613a515750805b601f850160051c820191505b81811015613a7057828155600101613a5d565b505050505050565b81516001600160401b03811115613a9157613a91612e50565b613aa581613a9f84546132b9565b84613a2a565b602080601f831160018114613ada5760008415613ac25750858301515b600019600386901b1c1916600185901b178555613a70565b600085815260208120601f198616915b82811015613b0957888601518255948401946001909101908401613aea565b5085821015613b275787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a264697066735822122071007fe399ce5894603d974b37da43028cbf23fe2309ad7f5902e3965dbd400164736f6c63430008140033",
798
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101735760003560e01c806382678766116100de578063b88da75911610097578063cde749f411610071578063cde749f4146104c4578063cf7a1d77146104de578063cf7e5db8146104f1578063e3458d531461050457600080fd5b8063b88da759146104a1578063caf4e3d4146104b4578063cc9fc59a146104bc57600080fd5b80638267876614610402578063893d20e814610415578063946dfcfe1461041d578063a3f4df7e14610444578063a745e3df1461046e578063b3c650151461048157600080fd5b80634420e486116101305780634420e4861461025b5780634d459c90146102865780634f4213331461039f5780635ab1bd53146103b2578063636450f5146103d7578063644c45e0146103ea57600080fd5b806301ffc9a7146101785780630d8e6e2c146101ba5780630fec111c146101d6578063138461e0146101ec57806317d7de7c146101f65780631eff4b2214610226575b600080fd5b6101a5610186366004612c90565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101c2610517565b60405162ffffff90911681526020016101b1565b6101de6105a1565b6040516101b1929190612d8a565b6101f46106f4565b005b60408051808201909152600b81526a506f6f6c5365727669636560a81b60208201525b6040516101b19190612db8565b61024d7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101b1565b61026e610269366004612de0565b610916565b6040516001600160601b0390911681526020016101b1565b610342610294366004612e0e565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020613b5883398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a0016101b1565b6101a56103ad366004612e0e565b610c7d565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101b1565b6101f46103e5366004612f33565b610d30565b600154600160a01b90046001600160601b031661026e565b6101f4610410366004612f69565b610fcb565b6103bf611140565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed9015461024d565b6102196040518060400160405280600b81526020016a506f6f6c5365727669636560a81b81525081565b6101f461047c36600461302c565b61125a565b6104896113b4565b6040516001600160401b0390911681526020016101b1565b6101c26104af36600461308d565b6113d5565b6103bf611426565b6103bf6114e1565b6104cc611559565b60405160ff90911681526020016101b1565b6101f46104ec36600461302c565b6115dc565b6101f46104ff3660046130de565b6116e5565b61026e6105123660046131f4565b611868565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610578573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061059c919061329c565b905090565b6105a9612c52565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806105f56001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161063d611140565b6001600160a01b0316815260200182600101805461065a906132b9565b80601f0160208091040260200160405190810160405280929190818152602001828054610686906132b9565b80156106d35780601f106106a8576101008083540402835291602001916106d3565b820191906000526020600020905b8154815290600101906020018083116106b657829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610756573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061077a9190613303565b156107c1576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166107ea5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610833573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108579190613303565b61087f576040516372657a5160e01b81526001600160a01b03821660048201526024016107b8565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa1580156108c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ed9190613329565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b600081808261092482611afa565b60ff8116600090815260036020908152604080832054815163379ed74560e21b815291519495506001600160401b0316933393926001600160a01b0388169263de7b5d1492600480830193928290030181865afa158015610989573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ad9190613346565b90506109b76114e1565b6001600160a01b0316639c12c9c78385846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a299190613329565b6040516001600160e01b031960e086901b1681526001600160a01b0390931660048401526001600160401b0390911660248301526001600160601b03166044820152606401602060405180830381865afa158015610a8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aaf9190613303565b610ae6576040516351302f8160e01b81526001600160401b03841660048201526001600160a01b03831660248201526044016107b8565b33886000610af382611afa565b90506000610aff611426565b9050610b09612c52565b6060610b1d8460785b60ff90811691161490565b15610ba557604051638fbc2d8160e01b81526001600160a01b0386811660048301528781166024830152841690638fbc2d81906044015b6000604051808303816000875af1158015610b73573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b9b919081019061346b565b9092509050610c4f565b610bb084606e610b12565b15610beb57604051635d96628960e01b81526001600160a01b0386811660048301528781166024830152841690635d96628990604401610b54565b610bf684608c610b12565b15610c3157604051637286e5e560e01b81526001600160a01b0386811660048301528781166024830152841690637286e5e590604401610b54565b60405163062839b560e01b815260ff851660048201526024016107b8565b81519c506000610c5e83611b6f565b9050610c6b8e8383611c11565b50505050505050505050505050919050565b600080600080516020613b5883398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610d05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d2991906134ce565b1192915050565b600080610d3d608c611c86565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610da59190613346565b8351604051634793b4ab60e01b81526001600160601b0388166004820152919250906000906001600160a01b03841690634793b4ab90602401600060405180830381865afa158015610dfb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e239190810190613522565b80516040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610e81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea59190613303565b610ef15760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a504c532d3031303a42554e444c455f554e4b4e4f574e0000000060448201526064016107b8565b80516001600160601b03808416911614610f585760405162461bcd60e51b815260206004820152602260248201527f4552524f523a504c532d3031313a42554e444c455f504f4f4c5f4d49534d4154604482015261086960f31b60648201526084016107b8565b602081018690526040516307f8b57360e31b81526001600160a01b03851690633fc5ab9890610f90908a90859060ff906004016136a1565b600060405180830381600087803b158015610faa57600080fd5b505af1158015610fbe573d6000803e3d6000fd5b5050505050505050505050565b600080610fd8608c611c86565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561101c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110409190613346565b83516040516355e343a960e01b81526001600160601b0382166004820152919250906000906001600160a01b038416906355e343a99060240161018060405180830381865afa158015611097573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110bb91906136d6565b606081018990526080810188905260a08101879052604051633055195560e11b81529091506001600160a01b038516906360aa32aa90611104908590859060ff90600401613844565b600060405180830381600087803b15801561111e57600080fd5b505af1158015611132573d6000803e3d6000fd5b505050505050505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156111a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111c99190613303565b1561124a57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a906024015b602060405180830381865afa158015611226573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061059c9190613346565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c61127c610517565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156112bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112e09190613889565b600080516020613b388339815191528054600160401b900460ff1680611313575080546001600160401b03808416911610155b156113315760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561135c8585611f44565b611365836121e3565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b600061059c600080516020613b38833981519152546001600160401b031690565b6000600080516020613b5883398151915260010182815481106113fa576113fa6138a6565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60008061143b6001546001600160a01b031690565b6001600160a01b031663a3bcd81d611451611559565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa1580156114b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114db9190613346565b92915050565b60006114f56001546001600160a01b031690565b6001600160a01b031663a3bcd81d61150b611559565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e496e7374616e63655365727669636560881b606482015260ff9091166024820152608401611209565b6000611563610517565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156115b8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061059c91906138bc565b600080516020613b388339815191528054600160401b810460ff1615906001600160401b031660008115801561160f5750825b90506000826001600160401b0316600114801561162b5750303b155b905081158015611639575080155b156116575760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561168157845460ff60401b1916600160401b1785555b61168b8888611f44565b61169587876121eb565b83156116db57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b336116f86001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa158015611740573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117649190613303565b6117a45760405162461bcd60e51b81526020600482015260116024820152704552524f525f4e4f545f5345525649434560781b60448201526064016107b8565b60006117b86001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611807573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261182f91908101906138d9565b60808101516040516307f8b57360e31b8152919250906001600160a01b03821690633fc5ab9890610f90908990899089906004016136a1565b60008080611876608c611c86565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118de9190613346565b90506000836000015190506000604051806101200160405280836001600160601b031681526020018c815260200189898080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250938552505050602082018d90526040820152606081018c9052608081018b905260a001611969600090565b64ffffffffff16815260006020909101529050611984611426565b6001600160a01b031663c2bf08c86040518060e001604052806119a5600090565b6001600160601b03168152602001856001600160601b031681526020016119ca60dc90565b60ff16815260200160001515815260200160006001600160a01b031681526020018f6001600160a01b0316815260200184604051602001611a0b919061390d565b6040516020818303038152906040528152506040518263ffffffff1660e01b8152600401611a399190613920565b6020604051808303816000875af1158015611a58573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a7c9190613329565b604051633038d34760e11b81529096506001600160a01b03851690636071a68e90611aad9089908590600401613933565b600060405180830381600087803b158015611ac757600080fd5b505af1158015611adb573d6000803e3d6000fd5b50505050611aeb8383888d612341565b50505050509695505050505050565b600080826001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611b3b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b63919081019061346b565b50604001519392505050565b600080611b846001546001600160a01b031690565b60208401516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611bdd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611c0591908101906138d9565b60800151949350505050565b600082806020019051810190611c2791906136d6565b6040516339f34df560e21b81529091506001600160a01b0383169063e7cd37d490611c589087908590600401613955565b600060405180830381600087803b158015611c7257600080fd5b505af11580156116db573d6000803e3d6000fd5b611c8e612c52565b600154604051636939560f60e11b815233600482015260009182916001600160a01b039091169063d272ac1e90602401602060405180830381865afa158015611cdb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cff9190613329565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611d5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d7e9190613303565b611dca5760405162461bcd60e51b815260206004820152601760248201527f4552524f525f434f4d504f4e454e545f554e4b4e4f574e00000000000000000060448201526064016107b8565b6001546001600160a01b03166040516305247a1760e51b81526001600160601b03831660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611e25573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e4d91908101906138d9565b9250611e6383604001518560ff90811691161490565b611ea55760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b60448201526064016107b8565b6000611eb96001546001600160a01b031690565b60208501516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611f0e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611f3691908101906138d9565b608001519395939450505050565b611f4c6125d1565b600080516020613b588339815191526000611f7c600080516020613b38833981519152546001600160401b031690565b90506000611f88610517565b9050816001600160401b0316600103611fb55760028301805462ffffff191662ffffff8316179055612003565b600283015462ffffff908116908216116120035760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b60448201526064016107b8565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af41580156120b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120db9190613973565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf68906113a59083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101736125d1565b600080516020613b388339815191528054600160401b810460ff1615906001600160401b031660008115801561221e5750825b90506000826001600160401b0316600114801561223a5750303b155b905081158015612248575080155b156122665760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561229057845460ff60401b1916600160401b1785555b6000868060200190518101906122a69190613990565b600480546001600160a01b039093166001600160a01b03199093168317905591506122d1908961260a565b6122e1631b4612f160e31b612760565b6122f16319a700ef60e31b612760565b50831561233857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b80156125cb576040516355e343a960e01b81526001600160601b03841660048201526000906001600160a01b038616906355e343a99060240161018060405180830381865afa158015612398573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123bc91906136d6565b602081015190915060006123d86001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03871660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612427573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061244b9190613346565b60808401516101008501516040516317d5759960e31b81526001600160a01b03808516600483015291821660248201526044810188905292935090919084169063beabacc890606401600060405180830381600087803b1580156124ae57600080fd5b505af11580156124c2573d6000803e3d6000fd5b50506040516346f0526160e11b815273__$a23651848365a6a5ca15f07b4331037f48$__9250638de0a4c291506124fd9084906004016139ca565b602060405180830381865af415801561251a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061253e9190613303565b6116db5760405163012ebd8360e21b8152815160048201526020820151602482015260448101869052600090819073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af41580156125a7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061113291906139e1565b50505050565b600080516020613b3883398151915254600160401b900460ff1661260857604051631afcd79f60e31b815260040160405180910390fd5b565b6126148282612785565b61261c61280e565b606e60005260036020527f0de2b21138735878e0660eef23d1131fad23d66157bfa1c473a82b60c5169926805467ffffffffffffffff19166001600160401b039290921691909117905561266e612887565b608c60005260036020527f83339eadc78535e76a031a9a544cf6fa252296becf88992d49fad5f832544a38805467ffffffffffffffff19166001600160401b03929092169190911790556126c06128c3565b607860005260036020527fe372c44748f4c2908ae7c0a1dc553464478b0394f70953faecd55173b039317c805467ffffffffffffffff19166001600160401b03929092169190911790556127126128fe565b608260005260036020527fc3d073881ce0daff4d900012573fe3b8d5b283519b2f509e59d1b978e7cf0fc5805467ffffffffffffffff19166001600160401b03929092169190911790555050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b60006127af60408051808201909152600b81526a506f6f6c5365727669636560a81b602082015290565b6127b7611559565b6040516020016127c8929190613a05565b604051602081830303815290604052905060006127e484612939565b905060006127f78583603c8488886129a4565b612807631b4612f160e31b612760565b5050505050565b6040516368aebf7b60e01b8152610190600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015612863573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061059c9190613889565b6040516368aebf7b60e01b815261012c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612846565b6040516368aebf7b60e01b81526064600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612846565b6040516368aebf7b60e01b815260c8600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612846565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015612980573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114db9190613329565b6129e56301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6129ef8287612a70565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101612a5f8382613a78565b506123386303fb044760e21b612760565b6001600160a01b038216612ac65760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e65722069732030000060448201526064016107b8565b600280546001600160a01b0319166001600160a01b038416179055612aea81612aee565b5050565b6001546001600160a01b031615612b275760015460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024016107b8565b6001600160a01b038116612b4e5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003612b845760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107b8565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632eaf856d60e11b60048201526301ffc9a790602401602060405180830381865afa925050508015612bfe575060408051601f3d908101601f19168201909252612bfb91810190613303565b60015b612c265760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107b8565b80612aea5760405163fdeac91f60e01b81526001600160a01b03831660048201526024016107b8565b50565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b600060208284031215612ca257600080fd5b81356001600160e01b031981168114612cba57600080fd5b9392505050565b60005b83811015612cdc578181015183820152602001612cc4565b50506000910152565b60008151808452612cfd816020860160208601612cc1565b601f01601f19169290920160200192915050565b60006001600160601b038083511684528060208401511660208501525060ff6040830151166040840152606082015115156060840152608082015160018060a01b0380821660808601528060a08501511660a0860152505060c082015160e060c0850152612d8260e0850182612ce5565b949350505050565b604081526000612d9d6040830185612d11565b8281036020840152612daf8185612ce5565b95945050505050565b602081526000612cba6020830184612ce5565b6001600160a01b0381168114612c4f57600080fd5b600060208284031215612df257600080fd5b8135612cba81612dcb565b62ffffff81168114612c4f57600080fd5b600060208284031215612e2057600080fd5b8135612cba81612dfd565b6001600160601b0381168114612c4f57600080fd5b8035612e4b81612e2b565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715612e8857612e88612e50565b60405290565b60405161012081016001600160401b0381118282101715612e8857612e88612e50565b60405160e081016001600160401b0381118282101715612e8857612e88612e50565b604051601f8201601f191681016001600160401b0381118282101715612efb57612efb612e50565b604052919050565b600060408284031215612f1557600080fd5b612f1d612e66565b9050813581526020820135602082015292915050565b60008060608385031215612f4657600080fd5b8235612f5181612e2b565b9150612f608460208501612f03565b90509250929050565b600080600060c08486031215612f7e57600080fd5b612f888585612f03565b9250612f978560408601612f03565b9150612fa68560808601612f03565b90509250925092565b60006001600160401b03821115612fc857612fc8612e50565b50601f01601f191660200190565b600082601f830112612fe757600080fd5b8135612ffa612ff582612faf565b612ed3565b81815284602083860101111561300f57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060006060848603121561304157600080fd5b833561304c81612dcb565b9250602084013561305c81612dcb565b915060408401356001600160401b0381111561307757600080fd5b61308386828701612fd6565b9150509250925092565b60006020828403121561309f57600080fd5b5035919050565b64ffffffffff81168114612c4f57600080fd5b8035612e4b816130a6565b60ff81168114612c4f57600080fd5b8035612e4b816130c4565b600080600080608085870312156130f457600080fd5b84356130ff81612e2b565b9350602085013561310f81612e2b565b925060408501356001600160401b038082111561312b57600080fd5b90860190610140828903121561314057600080fd5b613148612e8e565b61315183612e40565b81526131608960208501612f03565b602082015260608301358281111561317757600080fd5b6131838a828601612fd6565b6040830152506080830135606082015260a0830135608082015260c083013560a082015260e083013560c082015261010091506131c18284016130b9565b60e08201526131d361012084016130b9565b828201528094505050506131e9606086016130d3565b905092959194509250565b60008060008060008060c0878903121561320d57600080fd5b863561321881612dcb565b95506132278860208901612f03565b9450606087013593506080870135925060a08701356001600160401b038082111561325157600080fd5b818901915089601f83011261326557600080fd5b81358181111561327457600080fd5b8a602082850101111561328657600080fd5b6020830194508093505050509295509295509295565b6000602082840312156132ae57600080fd5b8151612cba81612dfd565b600181811c908216806132cd57607f821691505b6020821081036132ed57634e487b7160e01b600052602260045260246000fd5b50919050565b80518015158114612e4b57600080fd5b60006020828403121561331557600080fd5b612cba826132f3565b8051612e4b81612e2b565b60006020828403121561333b57600080fd5b8151612cba81612e2b565b60006020828403121561335857600080fd5b8151612cba81612dcb565b8051612e4b816130c4565b8051612e4b81612dcb565b600082601f83011261338a57600080fd5b8151613398612ff582612faf565b8181528460208386010111156133ad57600080fd5b612d82826020830160208701612cc1565b600060e082840312156133d057600080fd5b6133d8612eb1565b90506133e38261331e565b81526133f16020830161331e565b602082015261340260408301613363565b6040820152613413606083016132f3565b60608201526134246080830161336e565b608082015261343560a0830161336e565b60a082015260c08201516001600160401b0381111561345357600080fd5b61345f84828501613379565b60c08301525092915050565b6000806040838503121561347e57600080fd5b82516001600160401b038082111561349557600080fd5b6134a1868387016133be565b935060208501519150808211156134b757600080fd5b506134c485828601613379565b9150509250929050565b6000602082840312156134e057600080fd5b5051919050565b6000604082840312156134f957600080fd5b613501612e66565b9050815181526020820151602082015292915050565b8051612e4b816130a6565b60006020828403121561353457600080fd5b81516001600160401b038082111561354b57600080fd5b90830190610140828603121561356057600080fd5b613568612e8e565b6135718361331e565b815261358086602085016134e7565b602082015260608301518281111561359757600080fd5b6135a387828601613379565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c082015261010091506135e1828401613517565b60e08201526135f36101208401613517565b91810191909152949350505050565b80516001600160601b03168252600061014060208381015180518683015290810151604086015250604083015181606086015261364182860182612ce5565b91505060608301516080850152608083015160a085015260a083015160c085015260c083015160e085015260e08301516101006136868187018364ffffffffff169052565b84015164ffffffffff81166101208701529050509392505050565b6001600160601b03841681526060602082015260006136c36060830185613602565b905060ff83166040830152949350505050565b600061018082840312156136e957600080fd5b6136f1612e8e565b6136fa8361331e565b81526137086020840161336e565b60208201526040830151604082015261372484606085016134e7565b60608201526137368460a085016134e7565b60808201526137488460e085016134e7565b60a082015261375a61012084016132f3565b60c082015261376c61014084016132f3565b60e082015261377e610160840161336e565b6101008201529392505050565b6001600160601b03815116825260208101516137b260208401826001600160a01b03169052565b506040810151604083015260608101516137d9606084018280518252602090810151910152565b506080810151805160a0840152602081015160c08401525060a0810151805160e084015260208101516101008401525060c08101518015156101208401525060e08101518015156101408401525061010001516001600160a01b03166101609190910152565b505050565b6001600160601b03841681526101c08101613862602083018561378b565b60ff83166101a0830152949350505050565b6001600160401b0381168114612c4f57600080fd5b60006020828403121561389b57600080fd5b8151612cba81613874565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156138ce57600080fd5b8151612cba816130c4565b6000602082840312156138eb57600080fd5b81516001600160401b0381111561390157600080fd5b612d82848285016133be565b602081526000612cba6020830184613602565b602081526000612cba6020830184612d11565b6001600160601b0383168152604060208201526000612d826040830184613602565b6001600160601b03831681526101a08101612cba602083018461378b565b60006020828403121561398557600080fd5b8151612cba816130a6565b600080604083850312156139a357600080fd5b82516139ae81612dcb565b60208401519092506139bf81612dcb565b809150509250929050565b8151815260208083015190820152604081016114db565b600080604083850312156139f457600080fd5b505080516020909101519092909150565b604081526000613a186040830185612ce5565b905060ff831660208301529392505050565b601f82111561383f57600081815260208120601f850160051c81016020861015613a515750805b601f850160051c820191505b81811015613a7057828155600101613a5d565b505050505050565b81516001600160401b03811115613a9157613a91612e50565b613aa581613a9f84546132b9565b84613a2a565b602080601f831160018114613ada5760008415613ac25750858301515b600019600386901b1c1916600185901b178555613a70565b600085815260208120601f198616915b82811015613b0957888601518255948401946001909101908401613aea565b5085821015613b275787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a264697066735822122071007fe399ce5894603d974b37da43028cbf23fe2309ad7f5902e3965dbd400164736f6c63430008140033",
565
799
  "linkReferences": {
566
800
  "contracts/types/Blocknumber.sol": {
567
801
  "BlocknumberLib": [
568
802
  {
569
803
  "length": 20,
570
- "start": 3842
804
+ "start": 3589
805
+ }
806
+ ]
807
+ },
808
+ "contracts/types/Fee.sol": {
809
+ "FeeLib": [
810
+ {
811
+ "length": 20,
812
+ "start": 9741
813
+ },
814
+ {
815
+ "length": 20,
816
+ "start": 9896
571
817
  }
572
818
  ]
573
819
  },
@@ -575,35 +821,63 @@
575
821
  "NftIdLib": [
576
822
  {
577
823
  "length": 20,
578
- "start": 4145
824
+ "start": 2134
825
+ },
826
+ {
827
+ "length": 20,
828
+ "start": 3969
829
+ },
830
+ {
831
+ "length": 20,
832
+ "start": 4773
579
833
  },
580
834
  {
581
835
  "length": 20,
582
- "start": 6912
836
+ "start": 7770
583
837
  }
584
838
  ]
585
839
  },
586
- "contracts/types/Version.sol": {
587
- "VersionLib": [
840
+ "contracts/types/RoleId.sol": {
841
+ "RoleIdLib": [
588
842
  {
589
843
  "length": 20,
590
- "start": 603
844
+ "start": 10594
591
845
  },
592
846
  {
593
847
  "length": 20,
594
- "start": 1309
848
+ "start": 10715
595
849
  },
596
850
  {
597
851
  "length": 20,
598
- "start": 3306
852
+ "start": 10774
599
853
  },
600
854
  {
601
855
  "length": 20,
602
- "start": 5169
856
+ "start": 10833
857
+ }
858
+ ]
859
+ },
860
+ "contracts/types/Timestamp.sol": {
861
+ "TimestampLib": [
862
+ {
863
+ "length": 20,
864
+ "start": 8631
865
+ }
866
+ ]
867
+ },
868
+ "contracts/types/Version.sol": {
869
+ "VersionLib": [
870
+ {
871
+ "length": 20,
872
+ "start": 1656
603
873
  },
604
874
  {
605
875
  "length": 20,
606
- "start": 5841
876
+ "start": 5014
877
+ },
878
+ {
879
+ "length": 20,
880
+ "start": 5816
607
881
  }
608
882
  ]
609
883
  }
@@ -613,7 +887,19 @@
613
887
  "BlocknumberLib": [
614
888
  {
615
889
  "length": 20,
616
- "start": 1725
890
+ "start": 3275
891
+ }
892
+ ]
893
+ },
894
+ "contracts/types/Fee.sol": {
895
+ "FeeLib": [
896
+ {
897
+ "length": 20,
898
+ "start": 9427
899
+ },
900
+ {
901
+ "length": 20,
902
+ "start": 9582
617
903
  }
618
904
  ]
619
905
  },
@@ -621,11 +907,47 @@
621
907
  "NftIdLib": [
622
908
  {
623
909
  "length": 20,
624
- "start": 2028
910
+ "start": 1820
911
+ },
912
+ {
913
+ "length": 20,
914
+ "start": 3655
915
+ },
916
+ {
917
+ "length": 20,
918
+ "start": 4459
625
919
  },
626
920
  {
627
921
  "length": 20,
628
- "start": 4795
922
+ "start": 7456
923
+ }
924
+ ]
925
+ },
926
+ "contracts/types/RoleId.sol": {
927
+ "RoleIdLib": [
928
+ {
929
+ "length": 20,
930
+ "start": 10280
931
+ },
932
+ {
933
+ "length": 20,
934
+ "start": 10401
935
+ },
936
+ {
937
+ "length": 20,
938
+ "start": 10460
939
+ },
940
+ {
941
+ "length": 20,
942
+ "start": 10519
943
+ }
944
+ ]
945
+ },
946
+ "contracts/types/Timestamp.sol": {
947
+ "TimestampLib": [
948
+ {
949
+ "length": 20,
950
+ "start": 8317
629
951
  }
630
952
  ]
631
953
  },
@@ -633,15 +955,15 @@
633
955
  "VersionLib": [
634
956
  {
635
957
  "length": 20,
636
- "start": 1189
958
+ "start": 1342
637
959
  },
638
960
  {
639
961
  "length": 20,
640
- "start": 3052
962
+ "start": 4700
641
963
  },
642
964
  {
643
965
  "length": 20,
644
- "start": 3724
966
+ "start": 5502
645
967
  }
646
968
  ]
647
969
  }