@etherisc/gif-next 0.0.2-ce87da3-250 → 0.0.2-ceb30b2-601

Sign up to get free protection for your applications and to get access to all the features.
Files changed (278) hide show
  1. package/README.md +6 -83
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
  3. package/artifacts/contracts/components/Component.sol/Component.json +78 -102
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +139 -153
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +1 -1
  7. package/artifacts/contracts/components/IComponent.sol/IComponent.json +155 -76
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +181 -125
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +342 -178
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +162 -151
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +286 -245
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +83 -175
  18. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  19. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  20. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  21. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +64 -50
  22. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +1 -1
  23. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +5 -0
  24. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  25. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +707 -463
  26. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +167 -76
  28. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  29. package/artifacts/contracts/instance/Instance.sol/Instance.json +630 -625
  30. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  31. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +472 -126
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  33. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +258 -236
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +291 -238
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +79 -48
  38. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
  39. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +8 -13
  40. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +1 -1
  41. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +114 -35
  42. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  44. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  45. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +40 -10
  46. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  47. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
  48. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  49. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +56 -73
  50. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  51. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  52. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  53. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  54. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  55. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  56. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  57. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  58. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  59. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +322 -99
  60. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  61. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +59 -44
  62. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +1 -1
  63. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +459 -242
  64. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  65. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +90 -39
  66. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +1 -1
  67. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +646 -84
  68. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  69. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +119 -32
  70. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +673 -129
  72. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  73. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +96 -69
  74. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  75. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +205 -59
  76. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +1 -1
  77. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +253 -185
  78. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +1 -1
  79. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +373 -51
  80. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +480 -37
  82. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  83. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +170 -102
  84. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +776 -46
  86. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  87. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +85 -27
  88. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +1 -1
  89. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +255 -222
  90. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  91. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +37 -78
  92. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  93. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +929 -58
  94. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  95. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +84 -37
  96. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  97. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +145 -58
  98. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
  99. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +28 -37
  100. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  101. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  102. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  103. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +19 -0
  104. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  105. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +5 -37
  106. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  107. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  108. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  109. package/artifacts/contracts/registry/Registry.sol/Registry.json +31 -12
  110. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +1 -1
  111. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +2 -2
  112. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  113. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +23 -50
  114. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  115. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +21 -34
  116. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
  117. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +23 -11
  118. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  119. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +10 -23
  120. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  121. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  122. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  123. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +0 -13
  124. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  125. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +45 -9
  126. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  127. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +0 -13
  128. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  129. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -13
  130. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  131. package/artifacts/contracts/shared/IService.sol/IService.json +85 -27
  132. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  133. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  134. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +6 -19
  135. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  136. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +47 -24
  137. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  138. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +14 -27
  139. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  140. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +7 -20
  141. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  142. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  143. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  144. package/artifacts/contracts/shared/Service.sol/Service.json +92 -29
  145. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  146. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
  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 +2 -2
  152. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  153. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +7 -20
  154. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  155. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +6 -6
  156. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  157. package/artifacts/contracts/test/TestService.sol/TestService.json +107 -40
  158. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  159. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  160. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  161. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  162. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +2 -2
  163. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  164. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  165. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +4 -0
  166. package/artifacts/contracts/types/Amount.sol/AmountLib.json +209 -0
  167. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  168. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  169. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  170. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  171. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +83 -4
  172. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  173. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
  174. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  175. package/artifacts/contracts/types/Fee.sol/FeeLib.json +40 -9
  176. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  177. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  178. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  179. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
  180. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  181. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +2 -2
  182. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  183. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  184. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  185. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  186. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +116 -7
  187. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  188. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
  189. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  190. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  191. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  192. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  193. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  194. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  195. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  196. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  197. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  198. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +38 -7
  199. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  200. package/artifacts/contracts/types/UFixed.sol/MathLib.json +2 -2
  201. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  202. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
  203. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  204. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  205. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  206. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
  207. package/contracts/components/Component.sol +99 -87
  208. package/contracts/components/Distribution.sol +18 -21
  209. package/contracts/components/IComponent.sol +40 -18
  210. package/contracts/components/IDistributionComponent.sol +1 -22
  211. package/contracts/components/IPoolComponent.sol +73 -47
  212. package/contracts/components/IProductComponent.sol +3 -2
  213. package/contracts/components/Pool.sol +178 -130
  214. package/contracts/components/Product.sol +157 -71
  215. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
  216. package/contracts/instance/BundleManager.sol +10 -9
  217. package/contracts/instance/Cloneable.sol +7 -2
  218. package/contracts/instance/IInstance.sol +39 -27
  219. package/contracts/instance/IInstanceService.sol +16 -12
  220. package/contracts/instance/Instance.sol +125 -98
  221. package/contracts/instance/InstanceAccessManager.sol +388 -158
  222. package/contracts/instance/InstanceReader.sol +36 -12
  223. package/contracts/instance/InstanceService.sol +220 -212
  224. package/contracts/instance/ObjectManager.sol +6 -8
  225. package/contracts/instance/base/ComponentService.sol +28 -32
  226. package/contracts/instance/base/KeyValueStore.sol +13 -36
  227. package/contracts/instance/base/Lifecycle.sol +23 -6
  228. package/contracts/instance/module/IAccess.sol +21 -14
  229. package/contracts/instance/module/IBundle.sol +8 -5
  230. package/contracts/instance/module/IComponents.sol +41 -0
  231. package/contracts/instance/module/IDistribution.sol +2 -1
  232. package/contracts/instance/module/IPolicy.sol +38 -7
  233. package/contracts/instance/module/ISetup.sol +7 -22
  234. package/contracts/instance/service/ApplicationService.sol +138 -50
  235. package/contracts/instance/service/BundleService.sol +228 -83
  236. package/contracts/instance/service/ClaimService.sol +240 -30
  237. package/contracts/instance/service/DistributionService.sol +179 -114
  238. package/contracts/instance/service/IApplicationService.sol +9 -13
  239. package/contracts/instance/service/IBundleService.sol +74 -26
  240. package/contracts/instance/service/IClaimService.sol +52 -23
  241. package/contracts/instance/service/IDistributionService.sol +21 -3
  242. package/contracts/instance/service/IPolicyService.sol +20 -29
  243. package/contracts/instance/service/IPoolService.sol +127 -3
  244. package/contracts/instance/service/PolicyService.sol +133 -251
  245. package/contracts/instance/service/PoolService.sol +258 -18
  246. package/contracts/instance/service/ProductService.sol +31 -54
  247. package/contracts/registry/ChainNft.sol +8 -0
  248. package/contracts/registry/IRegistry.sol +2 -0
  249. package/contracts/registry/IRegistryService.sol +2 -3
  250. package/contracts/registry/ITransferInterceptor.sol +1 -0
  251. package/contracts/registry/Registry.sol +23 -20
  252. package/contracts/registry/RegistryService.sol +15 -16
  253. package/contracts/registry/ReleaseManager.sol +20 -18
  254. package/contracts/shared/IPolicyHolder.sol +20 -8
  255. package/contracts/shared/IRegistryLinked.sol +0 -1
  256. package/contracts/shared/IService.sol +6 -6
  257. package/contracts/shared/NftOwnable.sol +0 -2
  258. package/contracts/shared/PolicyHolder.sol +14 -8
  259. package/contracts/shared/Registerable.sol +12 -11
  260. package/contracts/shared/RegistryLinked.sol +0 -5
  261. package/contracts/shared/Service.sol +21 -7
  262. package/contracts/shared/TokenHandler.sol +11 -5
  263. package/contracts/test/TestService.sol +1 -1
  264. package/contracts/types/Amount.sol +70 -0
  265. package/contracts/types/Blocknumber.sol +1 -0
  266. package/contracts/types/ClaimId.sol +25 -2
  267. package/contracts/types/Fee.sol +13 -5
  268. package/contracts/types/NftId.sol +8 -0
  269. package/contracts/types/ObjectType.sol +6 -5
  270. package/contracts/types/PayoutId.sol +33 -5
  271. package/contracts/types/Referral.sol +4 -0
  272. package/contracts/types/RoleId.sol +13 -6
  273. package/contracts/types/Seconds.sol +54 -0
  274. package/contracts/types/StateId.sol +7 -2
  275. package/contracts/types/Timestamp.sol +18 -13
  276. package/contracts/types/UFixed.sol +1 -0
  277. package/contracts/types/Version.sol +1 -0
  278. package/package.json +1 -1
@@ -43,13 +43,18 @@
43
43
  },
44
44
  {
45
45
  "inputs": [
46
+ {
47
+ "internalType": "address",
48
+ "name": "caller",
49
+ "type": "address"
50
+ },
46
51
  {
47
52
  "internalType": "RoleId",
48
53
  "name": "roleId",
49
54
  "type": "uint64"
50
55
  }
51
56
  ],
52
- "name": "ErrorIAccessRenounceNonexstentRole",
57
+ "name": "ErrorIAccessCallerIsNotRoleAdmin",
53
58
  "type": "error"
54
59
  },
55
60
  {
@@ -60,7 +65,7 @@
60
65
  "type": "uint64"
61
66
  }
62
67
  ],
63
- "name": "ErrorIAccessRevokeNonexstentRole",
68
+ "name": "ErrorIAccessRoleIdDoesNotExist",
64
69
  "type": "error"
65
70
  },
66
71
  {
@@ -71,7 +76,7 @@
71
76
  "type": "uint64"
72
77
  }
73
78
  ],
74
- "name": "ErrorIAccessRoleIdInvalid",
79
+ "name": "ErrorIAccessRoleIdExists",
75
80
  "type": "error"
76
81
  },
77
82
  {
@@ -82,7 +87,7 @@
82
87
  "type": "uint64"
83
88
  }
84
89
  ],
85
- "name": "ErrorIAccessRoleIdNotActive",
90
+ "name": "ErrorIAccessRoleIdTooBig",
86
91
  "type": "error"
87
92
  },
88
93
  {
@@ -93,7 +98,7 @@
93
98
  "type": "uint64"
94
99
  }
95
100
  ],
96
- "name": "ErrorIAccessRoleIdTooBig",
101
+ "name": "ErrorIAccessRoleIdTooSmall",
97
102
  "type": "error"
98
103
  },
99
104
  {
@@ -104,7 +109,7 @@
104
109
  "type": "uint64"
105
110
  }
106
111
  ],
107
- "name": "ErrorIAccessRoleIdTooSmall",
112
+ "name": "ErrorIAccessRoleNameEmpty",
108
113
  "type": "error"
109
114
  },
110
115
  {
@@ -115,17 +120,17 @@
115
120
  "type": "uint64"
116
121
  },
117
122
  {
118
- "internalType": "bool",
119
- "name": "isCustom",
120
- "type": "bool"
123
+ "internalType": "RoleId",
124
+ "name": "existingRoleId",
125
+ "type": "uint64"
121
126
  },
122
127
  {
123
- "internalType": "bool",
124
- "name": "isCustomExisting",
125
- "type": "bool"
128
+ "internalType": "ShortString",
129
+ "name": "name",
130
+ "type": "bytes32"
126
131
  }
127
132
  ],
128
- "name": "ErrorIAccessRoleIsCustomIsImmutable",
133
+ "name": "ErrorIAccessRoleNameExists",
129
134
  "type": "error"
130
135
  },
131
136
  {
@@ -134,33 +139,38 @@
134
139
  "internalType": "RoleId",
135
140
  "name": "roleId",
136
141
  "type": "uint64"
142
+ },
143
+ {
144
+ "internalType": "enum IAccess.Type",
145
+ "name": "rtype",
146
+ "type": "uint8"
137
147
  }
138
148
  ],
139
- "name": "ErrorIAccessRoleNameEmpty",
149
+ "name": "ErrorIAccessRoleTypeInvalid",
140
150
  "type": "error"
141
151
  },
142
152
  {
143
153
  "inputs": [
144
154
  {
145
- "internalType": "RoleId",
146
- "name": "roleId",
147
- "type": "uint64"
155
+ "internalType": "address",
156
+ "name": "target",
157
+ "type": "address"
148
158
  },
149
159
  {
150
- "internalType": "ShortString",
151
- "name": "name",
152
- "type": "bytes32"
160
+ "internalType": "address",
161
+ "name": "targetAuthority",
162
+ "type": "address"
153
163
  }
154
164
  ],
155
- "name": "ErrorIAccessRoleNameNotUnique",
165
+ "name": "ErrorIAccessTargetAuthorityInvalid",
156
166
  "type": "error"
157
167
  },
158
168
  {
159
169
  "inputs": [
160
170
  {
161
- "internalType": "ShortString",
162
- "name": "name",
163
- "type": "bytes32"
171
+ "internalType": "address",
172
+ "name": "target",
173
+ "type": "address"
164
174
  }
165
175
  ],
166
176
  "name": "ErrorIAccessTargetDoesNotExist",
@@ -182,6 +192,17 @@
182
192
  "name": "ErrorIAccessTargetExists",
183
193
  "type": "error"
184
194
  },
195
+ {
196
+ "inputs": [
197
+ {
198
+ "internalType": "address",
199
+ "name": "target",
200
+ "type": "address"
201
+ }
202
+ ],
203
+ "name": "ErrorIAccessTargetNameEmpty",
204
+ "type": "error"
205
+ },
185
206
  {
186
207
  "inputs": [
187
208
  {
@@ -203,6 +224,33 @@
203
224
  "name": "ErrorIAccessTargetNameExists",
204
225
  "type": "error"
205
226
  },
227
+ {
228
+ "inputs": [
229
+ {
230
+ "internalType": "address",
231
+ "name": "target",
232
+ "type": "address"
233
+ }
234
+ ],
235
+ "name": "ErrorIAccessTargetNotRegistered",
236
+ "type": "error"
237
+ },
238
+ {
239
+ "inputs": [
240
+ {
241
+ "internalType": "address",
242
+ "name": "target",
243
+ "type": "address"
244
+ },
245
+ {
246
+ "internalType": "enum IAccess.Type",
247
+ "name": "ttype",
248
+ "type": "uint8"
249
+ }
250
+ ],
251
+ "name": "ErrorIAccessTargetTypeInvalid",
252
+ "type": "error"
253
+ },
206
254
  {
207
255
  "inputs": [],
208
256
  "name": "InvalidInitialization",
@@ -255,6 +303,62 @@
255
303
  "name": "Initialized",
256
304
  "type": "event"
257
305
  },
306
+ {
307
+ "anonymous": false,
308
+ "inputs": [
309
+ {
310
+ "indexed": false,
311
+ "internalType": "RoleId",
312
+ "name": "roleId",
313
+ "type": "uint64"
314
+ },
315
+ {
316
+ "indexed": false,
317
+ "internalType": "ShortString",
318
+ "name": "name",
319
+ "type": "bytes32"
320
+ },
321
+ {
322
+ "indexed": false,
323
+ "internalType": "enum IAccess.Type",
324
+ "name": "rtype",
325
+ "type": "uint8"
326
+ }
327
+ ],
328
+ "name": "LogRoleCreation",
329
+ "type": "event"
330
+ },
331
+ {
332
+ "anonymous": false,
333
+ "inputs": [
334
+ {
335
+ "indexed": false,
336
+ "internalType": "address",
337
+ "name": "target",
338
+ "type": "address"
339
+ },
340
+ {
341
+ "indexed": false,
342
+ "internalType": "ShortString",
343
+ "name": "name",
344
+ "type": "bytes32"
345
+ },
346
+ {
347
+ "indexed": false,
348
+ "internalType": "enum IAccess.Type",
349
+ "name": "ttype",
350
+ "type": "uint8"
351
+ },
352
+ {
353
+ "indexed": false,
354
+ "internalType": "bool",
355
+ "name": "isLocked",
356
+ "type": "bool"
357
+ }
358
+ ],
359
+ "name": "LogTargetCreation",
360
+ "type": "event"
361
+ },
258
362
  {
259
363
  "inputs": [],
260
364
  "name": "ADMIN_ROLE_NAME",
@@ -294,6 +398,32 @@
294
398
  "stateMutability": "view",
295
399
  "type": "function"
296
400
  },
401
+ {
402
+ "inputs": [],
403
+ "name": "INSTANCE_OWNER_ROLE_NAME",
404
+ "outputs": [
405
+ {
406
+ "internalType": "string",
407
+ "name": "",
408
+ "type": "string"
409
+ }
410
+ ],
411
+ "stateMutability": "view",
412
+ "type": "function"
413
+ },
414
+ {
415
+ "inputs": [],
416
+ "name": "INSTANCE_ROLE_NAME",
417
+ "outputs": [
418
+ {
419
+ "internalType": "string",
420
+ "name": "",
421
+ "type": "string"
422
+ }
423
+ ],
424
+ "stateMutability": "view",
425
+ "type": "function"
426
+ },
297
427
  {
298
428
  "inputs": [],
299
429
  "name": "PUBLIC_ROLE_NAME",
@@ -367,7 +497,7 @@
367
497
  "type": "string"
368
498
  }
369
499
  ],
370
- "name": "createGifRole",
500
+ "name": "createCoreRole",
371
501
  "outputs": [],
372
502
  "stateMutability": "nonpayable",
373
503
  "type": "function"
@@ -385,7 +515,7 @@
385
515
  "type": "string"
386
516
  }
387
517
  ],
388
- "name": "createGifTarget",
518
+ "name": "createCoreTarget",
389
519
  "outputs": [],
390
520
  "stateMutability": "nonpayable",
391
521
  "type": "function"
@@ -401,13 +531,65 @@
401
531
  "internalType": "string",
402
532
  "name": "name",
403
533
  "type": "string"
534
+ },
535
+ {
536
+ "internalType": "RoleId",
537
+ "name": "admin",
538
+ "type": "uint64"
404
539
  }
405
540
  ],
406
- "name": "createRole",
541
+ "name": "createGifRole",
542
+ "outputs": [],
543
+ "stateMutability": "nonpayable",
544
+ "type": "function"
545
+ },
546
+ {
547
+ "inputs": [
548
+ {
549
+ "internalType": "address",
550
+ "name": "target",
551
+ "type": "address"
552
+ },
553
+ {
554
+ "internalType": "string",
555
+ "name": "name",
556
+ "type": "string"
557
+ }
558
+ ],
559
+ "name": "createGifTarget",
407
560
  "outputs": [],
408
561
  "stateMutability": "nonpayable",
409
562
  "type": "function"
410
563
  },
564
+ {
565
+ "inputs": [
566
+ {
567
+ "internalType": "string",
568
+ "name": "roleName",
569
+ "type": "string"
570
+ },
571
+ {
572
+ "internalType": "string",
573
+ "name": "adminName",
574
+ "type": "string"
575
+ }
576
+ ],
577
+ "name": "createRole",
578
+ "outputs": [
579
+ {
580
+ "internalType": "RoleId",
581
+ "name": "roleId",
582
+ "type": "uint64"
583
+ },
584
+ {
585
+ "internalType": "RoleId",
586
+ "name": "admin",
587
+ "type": "uint64"
588
+ }
589
+ ],
590
+ "stateMutability": "nonpayable",
591
+ "type": "function"
592
+ },
411
593
  {
412
594
  "inputs": [
413
595
  {
@@ -434,39 +616,12 @@
434
616
  "type": "uint64"
435
617
  }
436
618
  ],
437
- "name": "getRole",
619
+ "name": "getRoleAdmin",
438
620
  "outputs": [
439
621
  {
440
- "components": [
441
- {
442
- "internalType": "ShortString",
443
- "name": "name",
444
- "type": "bytes32"
445
- },
446
- {
447
- "internalType": "bool",
448
- "name": "isCustom",
449
- "type": "bool"
450
- },
451
- {
452
- "internalType": "bool",
453
- "name": "isLocked",
454
- "type": "bool"
455
- },
456
- {
457
- "internalType": "Timestamp",
458
- "name": "createdAt",
459
- "type": "uint40"
460
- },
461
- {
462
- "internalType": "Timestamp",
463
- "name": "updatedAt",
464
- "type": "uint40"
465
- }
466
- ],
467
- "internalType": "struct IAccess.RoleInfo",
468
- "name": "role",
469
- "type": "tuple"
622
+ "internalType": "RoleId",
623
+ "name": "admin",
624
+ "type": "uint64"
470
625
  }
471
626
  ],
472
627
  "stateMutability": "view",
@@ -516,24 +671,111 @@
516
671
  "internalType": "RoleId",
517
672
  "name": "roleId",
518
673
  "type": "uint64"
519
- },
674
+ }
675
+ ],
676
+ "name": "getRoleInfo",
677
+ "outputs": [
520
678
  {
521
- "internalType": "uint256",
522
- "name": "idx",
523
- "type": "uint256"
679
+ "components": [
680
+ {
681
+ "internalType": "ShortString",
682
+ "name": "name",
683
+ "type": "bytes32"
684
+ },
685
+ {
686
+ "internalType": "enum IAccess.Type",
687
+ "name": "rtype",
688
+ "type": "uint8"
689
+ },
690
+ {
691
+ "internalType": "RoleId",
692
+ "name": "admin",
693
+ "type": "uint64"
694
+ },
695
+ {
696
+ "internalType": "Timestamp",
697
+ "name": "createdAt",
698
+ "type": "uint40"
699
+ },
700
+ {
701
+ "internalType": "Timestamp",
702
+ "name": "updatedAt",
703
+ "type": "uint40"
704
+ }
705
+ ],
706
+ "internalType": "struct IAccess.RoleInfo",
707
+ "name": "info",
708
+ "type": "tuple"
709
+ }
710
+ ],
711
+ "stateMutability": "view",
712
+ "type": "function"
713
+ },
714
+ {
715
+ "inputs": [
716
+ {
717
+ "internalType": "string",
718
+ "name": "targetName",
719
+ "type": "string"
524
720
  }
525
721
  ],
526
- "name": "getRoleMember",
722
+ "name": "getTargetAddress",
527
723
  "outputs": [
528
724
  {
529
725
  "internalType": "address",
530
- "name": "roleMember",
726
+ "name": "targetAddress",
531
727
  "type": "address"
532
728
  }
533
729
  ],
534
730
  "stateMutability": "view",
535
731
  "type": "function"
536
732
  },
733
+ {
734
+ "inputs": [
735
+ {
736
+ "internalType": "address",
737
+ "name": "target",
738
+ "type": "address"
739
+ }
740
+ ],
741
+ "name": "getTargetInfo",
742
+ "outputs": [
743
+ {
744
+ "components": [
745
+ {
746
+ "internalType": "ShortString",
747
+ "name": "name",
748
+ "type": "bytes32"
749
+ },
750
+ {
751
+ "internalType": "enum IAccess.Type",
752
+ "name": "ttype",
753
+ "type": "uint8"
754
+ },
755
+ {
756
+ "internalType": "bool",
757
+ "name": "isLocked",
758
+ "type": "bool"
759
+ },
760
+ {
761
+ "internalType": "Timestamp",
762
+ "name": "createdAt",
763
+ "type": "uint40"
764
+ },
765
+ {
766
+ "internalType": "Timestamp",
767
+ "name": "updatedAt",
768
+ "type": "uint40"
769
+ }
770
+ ],
771
+ "internalType": "struct IAccess.TargetInfo",
772
+ "name": "",
773
+ "type": "tuple"
774
+ }
775
+ ],
776
+ "stateMutability": "view",
777
+ "type": "function"
778
+ },
537
779
  {
538
780
  "inputs": [
539
781
  {
@@ -586,7 +828,7 @@
586
828
  "inputs": [
587
829
  {
588
830
  "internalType": "address",
589
- "name": "initialAdmin",
831
+ "name": "instanceAddress",
590
832
  "type": "address"
591
833
  }
592
834
  ],
@@ -639,7 +881,7 @@
639
881
  "outputs": [
640
882
  {
641
883
  "internalType": "bool",
642
- "name": "revoked",
884
+ "name": "",
643
885
  "type": "bool"
644
886
  }
645
887
  ],
@@ -660,6 +902,25 @@
660
902
  }
661
903
  ],
662
904
  "name": "revokeRole",
905
+ "outputs": [
906
+ {
907
+ "internalType": "bool",
908
+ "name": "",
909
+ "type": "bool"
910
+ }
911
+ ],
912
+ "stateMutability": "nonpayable",
913
+ "type": "function"
914
+ },
915
+ {
916
+ "inputs": [
917
+ {
918
+ "internalType": "RoleId",
919
+ "name": "roleId",
920
+ "type": "uint64"
921
+ }
922
+ ],
923
+ "name": "revokeRoleAllMembers",
663
924
  "outputs": [
664
925
  {
665
926
  "internalType": "bool",
@@ -689,6 +950,30 @@
689
950
  "stateMutability": "view",
690
951
  "type": "function"
691
952
  },
953
+ {
954
+ "inputs": [
955
+ {
956
+ "internalType": "RoleId",
957
+ "name": "roleId",
958
+ "type": "uint64"
959
+ },
960
+ {
961
+ "internalType": "uint256",
962
+ "name": "idx",
963
+ "type": "uint256"
964
+ }
965
+ ],
966
+ "name": "roleMember",
967
+ "outputs": [
968
+ {
969
+ "internalType": "address",
970
+ "name": "member",
971
+ "type": "address"
972
+ }
973
+ ],
974
+ "stateMutability": "view",
975
+ "type": "function"
976
+ },
692
977
  {
693
978
  "inputs": [
694
979
  {
@@ -736,18 +1021,23 @@
736
1021
  },
737
1022
  {
738
1023
  "inputs": [
1024
+ {
1025
+ "internalType": "string",
1026
+ "name": "targetName",
1027
+ "type": "string"
1028
+ },
1029
+ {
1030
+ "internalType": "bytes4[]",
1031
+ "name": "selectors",
1032
+ "type": "bytes4[]"
1033
+ },
739
1034
  {
740
1035
  "internalType": "RoleId",
741
1036
  "name": "roleId",
742
1037
  "type": "uint64"
743
- },
744
- {
745
- "internalType": "bool",
746
- "name": "locked",
747
- "type": "bool"
748
1038
  }
749
1039
  ],
750
- "name": "setRoleLocked",
1040
+ "name": "setCoreTargetFunctionRole",
751
1041
  "outputs": [],
752
1042
  "stateMutability": "nonpayable",
753
1043
  "type": "function"
@@ -755,17 +1045,17 @@
755
1045
  {
756
1046
  "inputs": [
757
1047
  {
758
- "internalType": "string",
759
- "name": "targetName",
760
- "type": "string"
1048
+ "internalType": "RoleId",
1049
+ "name": "roleId",
1050
+ "type": "uint64"
761
1051
  },
762
1052
  {
763
- "internalType": "bool",
764
- "name": "closed",
765
- "type": "bool"
1053
+ "internalType": "RoleId",
1054
+ "name": "admin",
1055
+ "type": "uint64"
766
1056
  }
767
1057
  ],
768
- "name": "setTargetClosed",
1058
+ "name": "setRoleAdmin",
769
1059
  "outputs": [],
770
1060
  "stateMutability": "nonpayable",
771
1061
  "type": "function"
@@ -796,9 +1086,9 @@
796
1086
  {
797
1087
  "inputs": [
798
1088
  {
799
- "internalType": "string",
800
- "name": "targetName",
801
- "type": "string"
1089
+ "internalType": "address",
1090
+ "name": "target",
1091
+ "type": "address"
802
1092
  },
803
1093
  {
804
1094
  "internalType": "bool",
@@ -831,78 +1121,106 @@
831
1121
  "type": "function"
832
1122
  }
833
1123
  ],
834
- "bytecode": "0x608060405234801561001057600080fd5b50615ef8806100206000396000f3fe60806040523480156200001157600080fd5b5060043610620002015760003560e01c806368ed5d2e1162000119578063b7d2b16211620000af578063c4d66de8116200007a578063c4d66de814620005da578063c6a0017914620005f1578063d1f856ee1462000608578063d78a83b1146200061f57600080fd5b8063b7d2b162146200053e578063bc62a0a51462000555578063bcfb11b0146200058d578063bf7e214f14620005b757600080fd5b80638fb3603711620000f05780638fb3603714620004b8578063af8d729e14620004dc578063b428b0b014620004f3578063b7009613146200050a57600080fd5b806368ed5d2e146200038b5780637a9e5e4b14620003a257806386f0c47b14620003b957600080fd5b80634222cc23116200019b5780635dfa73db11620001665780635dfa73db146200033c5780635fa8aad41462000346578063605aa10a146200035d57806363709eaf146200037457600080fd5b80634222cc2314620002e057806344ec4c3014620002f75780635511a6f3146200030e5780635d66f90a146200032557600080fd5b806337f135d711620001dc57806337f135d71462000271578063384c9a571462000290578063392f5f6414620002a75780633fd8556114620002b057600080fd5b806303014974146200020657806326decd40146200023057806329db8c3d1462000258575b600080fd5b6200021d6200021736600462002973565b62000636565b6040519081526020015b60405180910390f35b6200024762000241366004620029ab565b6200065f565b604051901515815260200162000227565b6200026f6200026936600462002a73565b620006d1565b005b6200027a600081565b60405163ffffffff909116815260200162000227565b62000247620002a136600462002973565b620007ed565b6003546200021d565b620002c7620002c136600462002b27565b62000984565b6040516001600160401b03909116815260200162000227565b6200026f620002f136600462002b50565b620009cc565b6200026f6200030836600462002ba7565b62000a84565b620002c76200031f36600462002bfa565b62000aa3565b6200026f6200033636600462002c3a565b62000ad4565b620002c761271081565b6200026f6200035736600462002ba7565b62000aef565b620002476200036e366004620029ab565b62000b09565b6200026f6200038536600462002b50565b62000b87565b6200026f6200039c36600462002c3a565b62000c38565b6200026f620003b3366004620029ab565b62000c52565b62000464620003ca36600462002973565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152506001600160401b031660009081526020818152604091829020825160a0810184528154815260019091015460ff808216151593830193909352610100810490921615159281019290925264ffffffffff62010000820481166060840152600160381b90910416608082015290565b604051620002279190600060a08201905082518252602083015115156020830152604083015115156040830152606083015164ffffffffff8082166060850152806080860151166080850152505092915050565b620004c262000cdd565b6040516001600160e01b0319909116815260200162000227565b6200026f620004ed36600462002c5b565b62000d19565b620002476200050436600462002c8e565b62000e3e565b620005216200051b36600462002ce1565b6200102c565b60408051921515835263ffffffff90911660208301520162000227565b620002476200054f36600462002c8e565b620010b6565b6200057e6040518060400160405280600981526020016841646d696e526f6c6560b81b81525081565b60405162000227919062002d51565b6200057e6040518060400160405280600a8152602001695075626c6963526f6c6560b01b81525081565b620005c162001244565b6040516001600160a01b03909116815260200162000227565b6200026f620005eb366004620029ab565b62001261565b620002476200060236600462002973565b62001718565b620002476200061936600462002c8e565b62001779565b620005c16200063036600462002d86565b6200188f565b6001600160401b03811660009081526001602052604081206200065990620018ba565b92915050565b60075460405163a166aa8960e01b81526001600160a01b038381166004830152600092169063a166aa8990602401602060405180830381865afa158015620006ab573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000659919062002db5565b620006e0335b600036620018c5565b600060056000620006f187620019d6565b81526020810191909152604001600020546001600160a01b031690508062000744576200071e85620019d6565b60405163c3ab297f60e01b81526004016200073b91815260200190565b60405180910390fd5b6200074f8262001718565b62000779576040516368f4b88960e01b81526001600160401b03831660048201526024016200073b565b6007546040516308d6122d60e01b815283916001600160a01b0316906308d6122d90620007b190859089908990879060040162002dd5565b600060405180830381600087803b158015620007cc57600080fd5b505af1158015620007e1573d6000803e3d6000fd5b50505050505050505050565b600033620007fb8362001718565b6200082557604051633466514b60e11b81526001600160401b03841660048201526024016200073b565b6001600160401b038316600090815260016020526040902062000849908262001a19565b156200097b57600754604051631517388760e21b81526001600160401b03851660048201526001600160a01b039091169063b7d2b1629073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015620008bd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620008e3919062002e4c565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b0384166024820152604401600060405180830381600087803b1580156200093457600080fd5b505af115801562000949573d6000803e3d6000fd5b5050506001600160401b03841660009081526001602052604090206200097191508262001a3c565b5060019392505050565b50600092915050565b6000600382815481106200099c576200099c62002e6c565b90600052602060002090600491828204019190066008029054906101000a90046001600160401b03169050919050565b620009d733620006d7565b600060056000620009e885620019d6565b81526020810191909152604001600020546001600160a01b031690508062000a15576200071e83620019d6565b60075460405163167bd39560e01b81526001600160a01b03838116600483015284151560248301529091169063167bd395906044015b600060405180830381600087803b15801562000a6657600080fd5b505af115801562000a7b573d6000803e3d6000fd5b50505050505050565b62000a8f33620006d7565b62000a9f82826000600162001a53565b5050565b60006002600062000ab484620019d6565b81526020810191909152604001600020546001600160401b031692915050565b62000adf33620006d7565b62000a9f82826000600162001eb9565b62000afa33620006d7565b62000a9f828260018062001a53565b6001600160a01b0381166000908152600460208190526040808320600101549051638d38cd4b60e01b81526201000090910464ffffffffff169181019190915273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b906024015b602060405180830381865af4158015620006ab573d6000803e3d6000fd5b62000b9233620006d7565b60006005600062000ba385620019d6565b81526020810191909152604001600020546001600160a01b031690508062000bd0576200071e83620019d6565b6001600160a01b03818116600081815260046020819052604091829020600101805461ff00191661010088151590810291909117909155600754925163167bd39560e01b81529182019390935260248101929092529091169063167bd3959060440162000a4b565b62000c4333620006d7565b62000a9f828260018062001eb9565b3362000c5d62001244565b6001600160a01b0316816001600160a01b03161462000c9a5760405162d1953b60e31b81526001600160a01b03821660048201526024016200073b565b816001600160a01b03163b60000362000cd2576040516361798f2f60e11b81526001600160a01b03831660048201526024016200073b565b62000a9f82620020f9565b60008051602062005ea3833981519152805460009190600160a01b900460ff1662000d0a57600062000d13565b638fb3603760e01b5b91505090565b62000d2433620006d7565b62000d2f8262001718565b62000d59576040516368f4b88960e01b81526001600160401b03831660048201526024016200073b565b6001600160401b03821660009081526020818152604091829020600101805461ff0019166101008515150217905581516356db0c1960e11b8152915173__$d53880c81dc91c20799140d711e5ab8718$__9263adb618329260048083019391928290030181865af415801562000dd3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000df9919062002e82565b6001600160401b039092166000908152602081905260409020600101805464ffffffffff93909316600160381b0264ffffffffff60381b199093169290921790915550565b600062000e4b33620006d7565b62000e568362001718565b62000e80576040516368f4b88960e01b81526001600160401b03841660048201526024016200073b565b6001600160401b038316600090815260208190526040902060010154610100900460ff161562000ecf57604051631f4342c360e01b81526001600160401b03841660048201526024016200073b565b6001600160401b038316600090815260016020526040902062000ef3908362001a19565b6200097b57600754604051631517388760e21b81526001600160401b03851660048201526001600160a01b03909116906325c471a09073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af415801562000f66573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000f8c919062002e4c565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038516602482015260006044820152606401600060405180830381600087803b15801562000fe457600080fd5b505af115801562000ff9573d6000803e3d6000fd5b5050506001600160401b0384166000908152600160205260409020620010219150836200215b565b506001905062000659565b60075460405163b700961360e01b815260009182916001600160a01b039091169063b700961390620010679088908890889060040162002eab565b6040805180830381865afa15801562001084573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620010aa919062002ed8565b91509150935093915050565b6000620010c333620006d7565b620010ce8362001718565b620010f8576040516302a3421760e41b81526001600160401b03841660048201526024016200073b565b6001600160401b03831660009081526001602052604090206200111c908362001a19565b156200097b57600754604051631517388760e21b81526001600160401b03851660048201526001600160a01b039091169063b7d2b1629073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af415801562001190573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011b6919062002e4c565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b0385166024820152604401600060405180830381600087803b1580156200120757600080fd5b505af11580156200121c573d6000803e3d6000fd5b5050506001600160401b03841660009081526001602052604090206200102191508362001a3c565b60008051602062005ea3833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b0316600081158015620012a75750825b90506000826001600160401b03166001148015620012c45750303b155b905081158015620012d3575080155b15620012f25760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156200131d57845460ff60401b1916600160401b1785555b306040516200132c906200293d565b6001600160a01b039091168152602001604051809103906000f08015801562001359573d6000803e3d6000fd5b50600780546001600160a01b0319166001600160a01b0392909216918217905560408051631d6c8e3f60e21b815290516325c471a09183916375b238fc916004808201926020929091908290030181865afa158015620013bd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620013e3919062002e4c565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038916602482015260006044820152606401600060405180830381600087803b1580156200143b57600080fd5b505af115801562001450573d6000803e3d6000fd5b50506007546200146c92506001600160a01b0316905062002172565b6200159a73__$cd131c2b3ba46b9dbe046aaf4458b9777d$__6368aebf7b600760009054906101000a90046001600160a01b03166001600160a01b03166375b238fc6040518163ffffffff1660e01b8152600401602060405180830381865afa158015620014de573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001504919062002e4c565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af415801562001549573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200156f919062002e4c565b6040518060400160405280600981526020016841646d696e526f6c6560b81b81525060008062001eb9565b620016c973__$cd131c2b3ba46b9dbe046aaf4458b9777d$__6368aebf7b600760009054906101000a90046001600160a01b03166001600160a01b0316633ca7c02a6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200160c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001632919062002e4c565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af415801562001677573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200169d919062002e4c565b6040518060400160405280600a8152602001695075626c6963526f6c6560b01b81525060008062001eb9565b83156200171057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b6001600160401b038116600090815260208190526040808220600101549051638d38cd4b60e01b81526201000090910464ffffffffff16600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b9060240162000b69565b600754604051631517388760e21b81526001600160401b03841660048201526000916001600160a01b03169063d1f856ee9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015620017e8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200180e919062002e4c565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b03851660248201526044016040805180830381865afa15801562001861573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001887919062002ed8565b509392505050565b6001600160401b0382166000908152600160205260408120620018b390836200218a565b9392505050565b600062000659825490565b60008051602062005ea383398151915260008062001909620018e662001244565b8730620018f8600460008a8c62002f14565b620019039162002f40565b62002198565b9150915081620017105763ffffffff811615620019b257825460ff60a01b1916600160a01b1783556200193b62001244565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016200196c9392919062002f71565b600060405180830381600087803b1580156200198757600080fd5b505af11580156200199c573d6000803e3d6000fd5b5050845460ff60a01b1916855550620017109050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016200073b565b600080829050601f8151111562001a04578260405163305a27a960e01b81526004016200073b919062002d51565b805162001a118262002fb1565b179392505050565b6001600160a01b03811660009081526001830160205260408120541515620018b3565b6000620018b3836001600160a01b0384166200229d565b6001600160a01b038416600090815260046020819052604091829020600101549151638d38cd4b60e01b81526201000090920464ffffffffff169082015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af415801562001ace573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001af4919062002db5565b1562001b38576001600160a01b038416600081815260046020819052604091829020549151632969db5760e11b81529081019290925260248201526044016200073b565b600060058162001b4886620019d6565b81526020810191909152604001600020546001600160a01b03161462001bd157836005600062001b7886620019d6565b81526020810191909152604001600020546001600160a01b031662001b9d85620019d6565b6040516361c0558f60e01b81526001600160a01b03938416600482015292909116602483015260448201526064016200073b565b60006040518060a0016040528062001be986620019d6565b815284151560208201526007546040805163a166aa8960e01b81526001600160a01b038a81166004830152919093019291169063a166aa8990602401602060405180830381865afa15801562001c43573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001c69919062002db5565b1515815260200173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801562001cba573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001ce0919062002e82565b64ffffffffff16815260200173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801562001d36573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001d5c919062002e82565b64ffffffffff1681525090508060046000876001600160a01b03166001600160a01b031681526020019081526020016000206000820151816000015560208201518160010160006101000a81548160ff02191690831515021790555060408201518160010160016101000a81548160ff02191690831515021790555060608201518160010160026101000a81548164ffffffffff021916908364ffffffffff16021790555060808201518160010160076101000a81548164ffffffffff021916908364ffffffffff16021790555090505084600560008360000151815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b031602179055506006859080600181540180825580915050600190039060005260206000200160009091909190916101000a8154816001600160a01b0302191690836001600160a01b031602179055505050505050565b801562001ecf5762001ecd848484620023a1565b505b60006040518060a0016040528062001ee786620019d6565b8152602001841515815260200160001515815260200173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801562001f47573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001f6d919062002e82565b64ffffffffff16815260200173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801562001fc3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001fe9919062002e82565b64ffffffffff9081169091526001600160401b03968716600081815260208181526040808320865180825587840151600192830180548a86015160608c01516080909c015161ffff1990921693151561ff001916939093176101009315158402176bffffffffffffffffffff00001916620100009b8b169b909b0264ffffffffff60381b19169a909a17600160381b9a909916999099029790971790975595835260029091528120805467ffffffffffffffff191683179055600380549485018155908190527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b600485040180549490911660080290920a97880219909216969091029590951790945550505050565b60008051602062005ea383398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6000620018b3836001600160a01b03841662002834565b6200217c62002886565b6200218781620028d2565b50565b6000620018b38383620028e7565b600080600080876001600160a01b0316878787604051602401620021bf9392919062002eab565b60408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251620021f6919062002fd9565b600060405180830381855afa9150503d806000811462002233576040519150601f19603f3d011682016040523d82523d6000602084013e62002238565b606091505b50915091508115620022925760408151106200226f578080602001905181019062002264919062002ed8565b909450925062002292565b60208151106200229257808060200190518101906200228f919062002db5565b93505b505094509492505050565b6000818152600183016020526040812054801562002396576000620022c460018362002ff7565b8554909150600090620022da9060019062002ff7565b905080821462002346576000866000018281548110620022fe57620022fe62002e6c565b906000526020600020015490508087600001848154811062002324576200232462002e6c565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806200235a576200235a62003019565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505062000659565b600091505062000659565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915260075460408051631d6c8e3f60e21b8152905186926001600160a01b0316916375b238fc9160048083019260209291908290030181865afa15801562002416573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200243c919062002e4c565b6001600160401b0316816001600160401b03161480620024e65750600760009054906101000a90046001600160a01b03166001600160a01b0316633ca7c02a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015620024ab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620024d1919062002e4c565b6001600160401b0316816001600160401b0316145b1562002511576040516368f4b88960e01b81526001600160401b03861660048201526024016200073b565b6001600160401b03851660009081526020818152604091829020825160a0810184528154815260019091015460ff808216151593830193909352610100810490921615158184015264ffffffffff620100008304811660608301819052600160381b9093041660808201529151638d38cd4b60e01b8152600481019190915290925073__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af4158015620025d0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620025f6919062002db5565b80156200260b57508160200151151583151514155b156200264b57602082015160405163ed2ac1ef60e01b81526001600160401b0387166004820152841515602482015290151560448201526064016200073b565b8280156200266357506127106001600160401b038216105b156200268e5760405163be511cc160e01b81526001600160401b03861660048201526024016200073b565b82158015620026a857506127106001600160401b03821610155b15620026d357604051630e08ff2d60e11b81526001600160401b03861660048201526024016200073b565b6000620026e085620019d6565b9050620026ed8162002914565b6000036200271a57604051631367e80d60e31b81526001600160401b03871660048201526024016200073b565b60008181526002602090815260409182902054825163bc1b392d60e01b81529251620027c1936001600160401b039092169273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9263bc1b392d92600480830193928290030181865af415801562002789573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620027af919062002e4c565b6001600160401b039081169116141590565b8015620027e857506000818152600260205260409020546001600160401b03878116911614155b156200282b5760008181526002602052604090819020549051637169291360e11b81526001600160401b039091166004820152602481018290526044016200073b565b50509392505050565b60008181526001830160205260408120546200287d5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562000659565b50600062000659565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16620028d057604051631afcd79f60e31b815260040160405180910390fd5b565b620028dc62002886565b6200218781620020f9565b600082600001828154811062002901576200290162002e6c565b9060005260206000200154905092915050565b600060ff8216601f8111156200065957604051632cd44ac360e21b815260040160405180910390fd5b612e73806200303083390190565b6001600160401b03811681146200218757600080fd5b80356200296e816200294b565b919050565b6000602082840312156200298657600080fd5b8135620018b3816200294b565b80356001600160a01b03811681146200296e57600080fd5b600060208284031215620029be57600080fd5b620018b38262002993565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620029f157600080fd5b81356001600160401b038082111562002a0e5762002a0e620029c9565b604051601f8301601f19908116603f0116810190828211818310171562002a395762002a39620029c9565b8160405283815286602085880101111562002a5357600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806000806060858703121562002a8a57600080fd5b84356001600160401b038082111562002aa257600080fd5b62002ab088838901620029df565b9550602087013591508082111562002ac757600080fd5b818701915087601f83011262002adc57600080fd5b81358181111562002aec57600080fd5b8860208260051b850101111562002b0257600080fd5b60208301955080945050505062002b1c6040860162002961565b905092959194509250565b60006020828403121562002b3a57600080fd5b5035919050565b80151581146200218757600080fd5b6000806040838503121562002b6457600080fd5b82356001600160401b0381111562002b7b57600080fd5b62002b8985828601620029df565b925050602083013562002b9c8162002b41565b809150509250929050565b6000806040838503121562002bbb57600080fd5b62002bc68362002993565b915060208301356001600160401b0381111562002be257600080fd5b62002bf085828601620029df565b9150509250929050565b60006020828403121562002c0d57600080fd5b81356001600160401b0381111562002c2457600080fd5b62002c3284828501620029df565b949350505050565b6000806040838503121562002c4e57600080fd5b823562002bc6816200294b565b6000806040838503121562002c6f57600080fd5b823562002c7c816200294b565b9150602083013562002b9c8162002b41565b6000806040838503121562002ca257600080fd5b823562002caf816200294b565b915062002cbf6020840162002993565b90509250929050565b80356001600160e01b0319811681146200296e57600080fd5b60008060006060848603121562002cf757600080fd5b62002d028462002993565b925062002d126020850162002993565b915062002d226040850162002cc8565b90509250925092565b60005b8381101562002d4857818101518382015260200162002d2e565b50506000910152565b602081526000825180602084015262002d7281604085016020870162002d2b565b601f01601f19169190910160400192915050565b6000806040838503121562002d9a57600080fd5b823562002da7816200294b565b946020939093013593505050565b60006020828403121562002dc857600080fd5b8151620018b38162002b41565b6001600160a01b038516815260606020808301829052908201849052600090859060808401835b8781101562002e2d576001600160e01b031962002e198562002cc8565b168252928201929082019060010162002dfc565b508093505050506001600160401b038316604083015295945050505050565b60006020828403121562002e5f57600080fd5b8151620018b3816200294b565b634e487b7160e01b600052603260045260246000fd5b60006020828403121562002e9557600080fd5b815164ffffffffff81168114620018b357600080fd5b6001600160a01b0393841681529190921660208201526001600160e01b0319909116604082015260600190565b6000806040838503121562002eec57600080fd5b825162002ef98162002b41565b602084015190925063ffffffff8116811462002b9c57600080fd5b6000808585111562002f2557600080fd5b8386111562002f3357600080fd5b5050820193919092039150565b6001600160e01b0319813581811691600485101562002f695780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b8051602080830151919081101562002fd3576000198160200360031b1b821691505b50919050565b6000825162002fed81846020870162002d2b565b9190910192915050565b818103818111156200065957634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fdfe60806040523480156200001157600080fd5b5060405162002e7338038062002e7383398101604081905262000034916200048f565b6001600160a01b0381166200006457604051630409d6d160e11b8152600060048201526024015b60405180910390fd5b6200007360008281806200007b565b505062000519565b60006002600160401b03196001600160401b03861601620000bb5760405163061c6a4360e21b81526001600160401b03861660048201526024016200005b565b6001600160401b03851660009081526001602090815260408083206001600160a01b038816845290915281205465ffffffffffff1615908115620001ba5763ffffffff85166200010a620002d2565b620001169190620004d0565b905060405180604001604052808265ffffffffffff168152602001620001488663ffffffff16620002e460201b60201c565b6001600160701b039081169091526001600160401b03891660009081526001602090815260408083206001600160a01b038c16845282529091208351815494909201519092166601000000000000026001600160a01b031990931665ffffffffffff9091161791909117905562000264565b6001600160401b03871660009081526001602090815260408083206001600160a01b038a168452909152812054620002099166010000000000009091046001600160701b0316908690620002ed565b6001600160401b03891660009081526001602090815260408083206001600160a01b038c168452909152902080546001600160701b03909316660100000000000002600160301b600160a01b03199093169290921790915590505b6040805163ffffffff8616815265ffffffffffff831660208201528315158183015290516001600160a01b038816916001600160401b038a16917ff98448b987f1428e0e230e1f3c6e2ce15b5693eaf31827fbd0b1ec4b424ae7cf9181900360600190a35095945050505050565b6000620002df42620003a2565b905090565b63ffffffff1690565b60008080620003056001600160701b038716620003db565b90506000620003488563ffffffff168763ffffffff168463ffffffff1611620003305760006200033c565b6200033c8885620004f9565b63ffffffff16620003fc565b905063ffffffff81166200035b620002d2565b620003679190620004d0565b925063ffffffff8616602083901b67ffffffff0000000016604085901b6dffffffffffff000000000000000016171793505050935093915050565b600065ffffffffffff821115620003d7576040516306dfcc6560e41b815260306004820152602481018390526044016200005b565b5090565b600080620003f26001600160701b03841662000416565b5090949350505050565b60008183116200040d57816200040f565b825b9392505050565b600080806200042f8462000429620002d2565b6200043c565b9250925092509193909250565b600080806001600160501b03602086901c166001600160701b03861665ffffffffffff604088901c81169087168111156200047a578282826200047f565b816000805b9550955095505050509250925092565b600060208284031215620004a257600080fd5b81516001600160a01b03811681146200040f57600080fd5b634e487b7160e01b600052601160045260246000fd5b65ffffffffffff818116838216019080821115620004f257620004f2620004ba565b5092915050565b63ffffffff828116828216039080821115620004f257620004f2620004ba565b61294a80620005296000396000f3fe6080604052600436106101e35760003560e01c80636d5115bd11610102578063b700961311610095578063d22b598911610064578063d22b598914610681578063d6bb62c6146106a1578063f801a698146106c1578063fe0776f5146106fb57600080fd5b8063b7009613146105ef578063b7d2b1621461062b578063cc1b6c811461064b578063d1f856ee1461066157600080fd5b8063a166aa89116100d1578063a166aa8914610521578063a64d95ce14610574578063abd9bd2a14610594578063ac9650d8146105c257600080fd5b80636d5115bd146104ac57806375b238fc146104cc578063853551b8146104e157806394c7d7ee1461050157600080fd5b806330cae1871161017a5780634665096d116101495780634665096d146104195780634c1da1e21461042f578063529629521461044f578063530dd4561461046f57600080fd5b806330cae1871461036d5780633adc277a1461038d5780633ca7c02a146103c45780634136a33c146103df57600080fd5b806318ff183c116101b657806318ff183c146102c05780631cff79cd146102e057806325c471a0146102f35780633078f1141461031357600080fd5b806308d6122d146101e85780630b0a93ba1461020a57806312be87271461026b578063167bd395146102a0575b600080fd5b3480156101f457600080fd5b506102086102033660046121c5565b61071b565b005b34801561021657600080fd5b5061024e61022536600461222b565b6001600160401b0390811660009081526001602081905260409091200154600160401b90041690565b6040516001600160401b0390911681526020015b60405180910390f35b34801561027757600080fd5b5061028b61028636600461222b565b610776565b60405163ffffffff9091168152602001610262565b3480156102ac57600080fd5b506102086102bb366004612246565b6107b1565b3480156102cc57600080fd5b506102086102db366004612284565b6107c7565b61028b6102ee3660046122f3565b61082e565b3480156102ff57600080fd5b5061020861030e36600461235b565b61095e565b34801561031f57600080fd5b5061033361032e3660046123a0565b610980565b604051610262949392919065ffffffffffff948516815263ffffffff93841660208201529190921660408201529116606082015260800190565b34801561037957600080fd5b506102086103883660046123bc565b6109e5565b34801561039957600080fd5b506103ad6103a83660046123ef565b6109f7565b60405165ffffffffffff9091168152602001610262565b3480156103d057600080fd5b5061024e6001600160401b0381565b3480156103eb57600080fd5b5061028b6103fa3660046123ef565b600090815260026020526040902054600160301b900463ffffffff1690565b34801561042557600080fd5b5062093a8061028b565b34801561043b57600080fd5b5061028b61044a366004612408565b610a2a565b34801561045b57600080fd5b5061020861046a3660046123bc565b610a58565b34801561047b57600080fd5b5061024e61048a36600461222b565b6001600160401b03908116600090815260016020819052604090912001541690565b3480156104b857600080fd5b5061024e6104c736600461243b565b610a6a565b3480156104d857600080fd5b5061024e600081565b3480156104ed57600080fd5b506102086104fc366004612469565b610aa5565b34801561050d57600080fd5b5061020861051c3660046122f3565b610b3c565b34801561052d57600080fd5b5061056461053c366004612408565b6001600160a01b0316600090815260208190526040902060010154600160701b900460ff1690565b6040519015158152602001610262565b34801561058057600080fd5b5061020861058f366004612487565b610be8565b3480156105a057600080fd5b506105b46105af3660046124b1565b610bfa565b604051908152602001610262565b3480156105ce57600080fd5b506105e26105dd366004612515565b610c33565b604051610262919061257a565b3480156105fb57600080fd5b5061060f61060a3660046125f4565b610d27565b60408051921515835263ffffffff909116602083015201610262565b34801561063757600080fd5b506102086106463660046123a0565b610dca565b34801561065757600080fd5b506206978061028b565b34801561066d57600080fd5b5061060f61067c3660046123a0565b610de1565b34801561068d57600080fd5b5061020861069c36600461263f565b610e5e565b3480156106ad57600080fd5b5061028b6106bc3660046124b1565b610e70565b3480156106cd57600080fd5b506106e16106dc36600461265d565b610fca565b6040805192835263ffffffff909116602083015201610262565b34801561070757600080fd5b506102086107163660046123a0565b61110f565b610723611138565b60005b8281101561076f5761075f85858584818110610744576107446126cf565b905060200201602081019061075991906126e5565b846111b3565b61076881612718565b9050610726565b5050505050565b6001600160401b0381166000908152600160208190526040822001546107ab90600160801b90046001600160701b0316611235565b92915050565b6107b9611138565b6107c38282611254565b5050565b6107cf611138565b604051637a9e5e4b60e01b81526001600160a01b038281166004830152831690637a9e5e4b90602401600060405180830381600087803b15801561081257600080fd5b505af1158015610826573d6000803e3d6000fd5b505050505050565b600033818061083f838888886112fa565b9150915081158015610855575063ffffffff8116155b156108a8578287610866888861134d565b6040516381c6f24b60e01b81526001600160a01b0393841660048201529290911660248301526001600160e01b03191660448201526064015b60405180910390fd5b60006108b684898989610bfa565b9050600063ffffffff83161515806108dd57506108d2826109f7565b65ffffffffffff1615155b156108ee576108eb82611365565b90505b6003546109048a6108ff8b8b61134d565b611465565b60038190555061094c8a8a8a8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152503492506114a7915050565b506003559450505050505b9392505050565b610966611138565b61097a838361097486610776565b84611544565b50505050565b6001600160401b03821660009081526001602090815260408083206001600160a01b03851684529091528120805465ffffffffffff8116929182918291906109d790600160301b90046001600160701b031661178f565b969991985096509350505050565b6109ed611138565b6107c382826117b2565b60008181526002602052604081205465ffffffffffff16610a1781611856565b610a215780610957565b60009392505050565b6001600160a01b0381166000908152602081905260408120600101546107ab906001600160701b0316611235565b610a60611138565b6107c38282611885565b6001600160a01b0382166000908152602081815260408083206001600160e01b0319851684529091529020546001600160401b031692915050565b610aad611138565b6001600160401b0383161580610acb57506001600160401b03838116145b15610af45760405163061c6a4360e21b81526001600160401b038416600482015260240161089f565b826001600160401b03167f1256f5b5ecb89caec12db449738f2fbcd1ba5806cf38f35413f4e5c15bf6a4508383604051610b2f92919061275a565b60405180910390a2505050565b60408051638fb3603760e01b80825291513392918391638fb36037916004808201926020929091908290030181865afa158015610b7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ba19190612776565b6001600160e01b03191614610bd457604051630641fee960e31b81526001600160a01b038216600482015260240161089f565b61076f610be385838686610bfa565b611365565b610bf0611138565b6107c38282611937565b600084848484604051602001610c139493929190612793565b604051602081830303815290604052805190602001209050949350505050565b6060816001600160401b03811115610c4d57610c4d6127c0565b604051908082528060200260200182016040528015610c8057816020015b6060815260200190600190039081610c6b5790505b50905060005b82811015610d2057610cf030858584818110610ca457610ca46126cf565b9050602002810190610cb691906127d6565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611a4892505050565b828281518110610d0257610d026126cf565b60200260200101819052508080610d1890612718565b915050610c86565b5092915050565b6001600160a01b0382166000908152602081905260408120600101548190600160701b900460ff1615610d5f57506000905080610dc2565b306001600160a01b03861603610d8457610d798484611abe565b600091509150610dc2565b6000610d908585610a6a565b9050600080610d9f8389610de1565b9150915081610db057600080610dba565b63ffffffff811615815b945094505050505b935093915050565b610dd2611138565b610ddc8282611ad5565b505050565b60008067fffffffffffffffe196001600160401b03851601610e095750600190506000610e57565b600080610e168686610980565b5050915091508165ffffffffffff16600014158015610e4c5750610e38611bc2565b65ffffffffffff168265ffffffffffff1611155b93509150610e579050565b9250929050565b610e66611138565b6107c38282611bd2565b60003381610e7e858561134d565b90506000610e8e88888888610bfa565b60008181526002602052604081205491925065ffffffffffff9091169003610ecc5760405163060a299b60e41b81526004810182905260240161089f565b826001600160a01b0316886001600160a01b031614610f68576000610ef2600085610de1565b5090506000610f0d610f076102258b87610a6a565b86610de1565b50905081158015610f1c575080155b15610f6557604051630ff89d4760e21b81526001600160a01b038087166004830152808c1660248301528a1660448201526001600160e01b03198516606482015260840161089f565b50505b600081815260026020526040808220805465ffffffffffff1916908190559051600160301b90910463ffffffff1691829184917fbd9ac67a6e2f6463b80927326310338bcbb4bdb7936ce1365ea3e01067e7b9f791a398975050505050505050565b6000803381610fdb828989896112fa565b91505060008163ffffffff16610fef611bc2565b610ff9919061281c565b905063ffffffff82161580611030575060008665ffffffffffff1611801561103057508065ffffffffffff168665ffffffffffff16105b156110415782896108668a8a61134d565b61105b8665ffffffffffff168265ffffffffffff16611c8f565b9550611069838a8a8a610bfa565b945061107485611ca5565b60008581526002602052604090819020805465ffffffffffff891669ffffffffffffffffffff19821617600160301b9182900463ffffffff90811660010190811692830291909117909255915190955086907f82a2da5dee54ea8021c6545b4444620291e07ee83be6dd57edb175062715f3b4906110fb908a9088908f908f908f9061283b565b60405180910390a350505094509492505050565b6001600160a01b0381163314610dd257604051635f159e6360e01b815260040160405180910390fd5b33600080611147838236611cf2565b9150915081610ddc578063ffffffff166000036111a357600061116a8136611daa565b5060405163f07e038f60e01b81526001600160a01b03871660048201526001600160401b0382166024820152909250604401905061089f565b61097a610be38430600036610bfa565b6001600160a01b0383166000818152602081815260408083206001600160e01b0319871680855290835292819020805467ffffffffffffffff19166001600160401b038716908117909155905192835292917f9ea6790c7dadfd01c9f8b9762b3682607af2c7e79e05a9f9fdf5580dde949151910160405180910390a3505050565b60008061124a836001600160701b031661178f565b5090949350505050565b306001600160a01b0383160361128857604051630b40d17960e31b81526001600160a01b038316600482015260240161089f565b6001600160a01b038216600081815260208190526040908190206001018054841515600160701b0260ff60701b19909116179055517f90d4e7bb7e5d933792b3562e1741306f8be94837e1348dacef9b6f1df56eb138906112ee90841515815260200190565b60405180910390a25050565b600080306001600160a01b0386160361132157611318868585611cf2565b91509150611344565b6004831061133d57611338868661060a878761134d565b611318565b5060009050805b94509492505050565b600061135c6004828486612881565b610957916128ab565b60008181526002602052604081205465ffffffffffff811690600160301b900463ffffffff168183036113ae5760405163060a299b60e41b81526004810185905260240161089f565b6113b6611bc2565b65ffffffffffff168265ffffffffffff1611156113e957604051630c65b5bd60e11b81526004810185905260240161089f565b6113f282611856565b1561141357604051631e2975b960e21b81526004810185905260240161089f565b600084815260026020526040808220805465ffffffffffff191690555163ffffffff83169186917f76a2a46953689d4861a5d3f6ed883ad7e6af674a21f8e162707159fc9dde614d9190a39392505050565b604080516001600160a01b03939093166020808501919091526001600160e01b0319929092168382015280518084038201815260609093019052815191012090565b6060814710156114cc5760405163cd78605960e01b815230600482015260240161089f565b600080856001600160a01b031684866040516114e891906128db565b60006040518083038185875af1925050503d8060008114611525576040519150601f19603f3d011682016040523d82523d6000602084013e61152a565b606091505b509150915061153a868383611f93565b9695505050505050565b600067fffffffffffffffe196001600160401b038616016115835760405163061c6a4360e21b81526001600160401b038616600482015260240161089f565b6001600160401b03851660009081526001602090815260408083206001600160a01b038816845290915281205465ffffffffffff1615908115611675578463ffffffff166115cf611bc2565b6115d9919061281c565b905060405180604001604052808265ffffffffffff1681526020016116078663ffffffff1663ffffffff1690565b6001600160701b039081169091526001600160401b03891660009081526001602090815260408083206001600160a01b038c1684528252909120835181549490920151909216600160301b026001600160a01b031990931665ffffffffffff90911617919091179055611721565b6001600160401b03871660009081526001602090815260408083206001600160a01b038a1684529091528120546116bf91600160301b9091046001600160701b0316908690611fef565b6001600160401b03891660009081526001602090815260408083206001600160a01b038c168452909152902080546001600160701b03909316600160301b0273ffffffffffffffffffffffffffff000000000000199093169290921790915590505b6040805163ffffffff8616815265ffffffffffff831660208201528315158183015290516001600160a01b038816916001600160401b038a16917ff98448b987f1428e0e230e1f3c6e2ce15b5693eaf31827fbd0b1ec4b424ae7cf9181900360600190a35095945050505050565b60008060006117a5846117a0611bc2565b612099565b9250925092509193909250565b6001600160401b03821615806117d057506001600160401b03828116145b156117f95760405163061c6a4360e21b81526001600160401b038316600482015260240161089f565b6001600160401b038281166000818152600160208190526040808320909101805467ffffffffffffffff19169486169485179055517f1fd6dd7631312dfac2205b52913f99de03b4d7e381d5d27d3dbfe0713e6e63409190a35050565b6000611860611bc2565b65ffffffffffff1661187562093a808461281c565b65ffffffffffff16111592915050565b6001600160401b03821615806118a357506001600160401b03828116145b156118cc5760405163061c6a4360e21b81526001600160401b038316600482015260240161089f565b6001600160401b03828116600081815260016020819052604080832090910180546fffffffffffffffff00000000000000001916600160401b958716958602179055517f7a8059630b897b5de4c08ade69f8b90c3ead1f8596d62d10b6c4d14a0afb4ae29190a35050565b67fffffffffffffffe196001600160401b038316016119745760405163061c6a4360e21b81526001600160401b038316600482015260240161089f565b6001600160401b0382166000908152600160208190526040822001546119ae90600160801b90046001600160701b03168362069780611fef565b6001600160401b0385166000818152600160208190526040918290200180546001600160701b03909516600160801b026dffffffffffffffffffffffffffff60801b199095169490941790935591519092507ffeb69018ee8b8fd50ea86348f1267d07673379f72cffdeccec63853ee8ce8b4890610b2f908590859063ffffffff92909216825265ffffffffffff16602082015260400190565b6060600080846001600160a01b031684604051611a6591906128db565b600060405180830381855af49150503d8060008114611aa0576040519150601f19603f3d011682016040523d82523d6000602084013e611aa5565b606091505b5091509150611ab5858383611f93565b95945050505050565b6000611aca8383611465565b600354149392505050565b600067fffffffffffffffe196001600160401b03841601611b145760405163061c6a4360e21b81526001600160401b038416600482015260240161089f565b6001600160401b03831660009081526001602090815260408083206001600160a01b038616845290915281205465ffffffffffff169003611b57575060006107ab565b6001600160401b03831660008181526001602090815260408083206001600160a01b038716808552925280832080546001600160a01b0319169055519092917ff229baa593af28c41b1d16b748cd7688f0c83aaf92d4be41c44005defe84c16691a350600192915050565b6000611bcd426120ed565b905090565b6001600160a01b038216600090815260208190526040812060010154611c05906001600160701b03168362069780611fef565b6001600160a01b0385166000818152602081815260409182902060010180546dffffffffffffffffffffffffffff19166001600160701b039690961695909517909455805163ffffffff8716815265ffffffffffff841694810194909452919350917fa56b76017453f399ec2327ba00375dbfb1fd070ff854341ad6191e6a2e2de19c9101610b2f565b6000818311611c9e5781610957565b5090919050565b60008181526002602052604090205465ffffffffffff168015801590611cd15750611ccf81611856565b155b156107c35760405163813e945960e01b81526004810183905260240161089f565b6000806004831015611d0957506000905080610dc2565b306001600160a01b03861603611d2c57610d7930611d27868661134d565b611abe565b6000806000611d3b8787611daa565b92509250925082611d555760008094509450505050610dc2565b600080611d62848b610de1565b9150915081611d7c57600080965096505050505050610dc2565b611d928363ffffffff168263ffffffff16611c8f565b63ffffffff8116159b909a5098505050505050505050565b600080806004841015611dc557506000915081905080611f8c565b6000611dd1868661134d565b90506001600160e01b031981166310a6aa3760e31b1480611e0257506001600160e01b031981166330cae18760e01b145b80611e1d57506001600160e01b0319811663294b14a960e11b145b80611e3857506001600160e01b03198116635326cae760e11b145b80611e5357506001600160e01b0319811663d22b598960e01b145b15611e6957600160008093509350935050611f8c565b6001600160e01b0319811663063fc60f60e21b1480611e9857506001600160e01b0319811663167bd39560e01b145b80611eb357506001600160e01b031981166308d6122d60e01b145b15611ef5576000611ec860246004888a612881565b810190611ed59190612408565b90506000611ee282610a2a565b60019650600095509350611f8c92505050565b6001600160e01b0319811663012e238d60e51b1480611f2457506001600160e01b03198116635be958b160e11b145b15611f7f576000611f3960246004888a612881565b810190611f46919061222b565b90506001611f70826001600160401b03908116600090815260016020819052604090912001541690565b60009450945094505050611f8c565b6000806000935093509350505b9250925092565b606082611fa857611fa382612124565b610957565b8151158015611fbf57506001600160a01b0384163b155b15611fe857604051639996b31560e01b81526001600160a01b038516600482015260240161089f565b5080610957565b6000806000612006866001600160701b0316611235565b905060006120438563ffffffff168763ffffffff168463ffffffff161161202e576000612038565b61203888856128f7565b63ffffffff16611c8f565b90508063ffffffff16612054611bc2565b61205e919061281c565b925063ffffffff8616602083901b67ffffffff0000000016604085901b6dffffffffffff000000000000000016171793505050935093915050565b6000808069ffffffffffffffffffff602086901c166001600160701b03861665ffffffffffff604088901c81169087168111156120d8578282826120dd565b816000805b9550955095505050509250925092565b600065ffffffffffff821115612120576040516306dfcc6560e41b8152603060048201526024810183905260440161089f565b5090565b8051156121345780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b50565b6001600160a01b038116811461214d57600080fd5b60008083601f84011261217757600080fd5b5081356001600160401b0381111561218e57600080fd5b6020830191508360208260051b8501011115610e5757600080fd5b80356001600160401b03811681146121c057600080fd5b919050565b600080600080606085870312156121db57600080fd5b84356121e681612150565b935060208501356001600160401b0381111561220157600080fd5b61220d87828801612165565b90945092506122209050604086016121a9565b905092959194509250565b60006020828403121561223d57600080fd5b610957826121a9565b6000806040838503121561225957600080fd5b823561226481612150565b91506020830135801515811461227957600080fd5b809150509250929050565b6000806040838503121561229757600080fd5b82356122a281612150565b9150602083013561227981612150565b60008083601f8401126122c457600080fd5b5081356001600160401b038111156122db57600080fd5b602083019150836020828501011115610e5757600080fd5b60008060006040848603121561230857600080fd5b833561231381612150565b925060208401356001600160401b0381111561232e57600080fd5b61233a868287016122b2565b9497909650939450505050565b803563ffffffff811681146121c057600080fd5b60008060006060848603121561237057600080fd5b612379846121a9565b9250602084013561238981612150565b915061239760408501612347565b90509250925092565b600080604083850312156123b357600080fd5b6122a2836121a9565b600080604083850312156123cf57600080fd5b6123d8836121a9565b91506123e6602084016121a9565b90509250929050565b60006020828403121561240157600080fd5b5035919050565b60006020828403121561241a57600080fd5b813561095781612150565b6001600160e01b03198116811461214d57600080fd5b6000806040838503121561244e57600080fd5b823561245981612150565b9150602083013561227981612425565b60008060006040848603121561247e57600080fd5b612313846121a9565b6000806040838503121561249a57600080fd5b6124a3836121a9565b91506123e660208401612347565b600080600080606085870312156124c757600080fd5b84356124d281612150565b935060208501356124e281612150565b925060408501356001600160401b038111156124fd57600080fd5b612509878288016122b2565b95989497509550505050565b6000806020838503121561252857600080fd5b82356001600160401b0381111561253e57600080fd5b61254a85828601612165565b90969095509350505050565b60005b83811015612571578181015183820152602001612559565b50506000910152565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b828110156125e757878503603f19018452815180518087526125c8818989018a8501612556565b601f01601f1916959095018601945092850192908501906001016125a1565b5092979650505050505050565b60008060006060848603121561260957600080fd5b833561261481612150565b9250602084013561262481612150565b9150604084013561263481612425565b809150509250925092565b6000806040838503121561265257600080fd5b82356124a381612150565b6000806000806060858703121561267357600080fd5b843561267e81612150565b935060208501356001600160401b0381111561269957600080fd5b6126a5878288016122b2565b909450925050604085013565ffffffffffff811681146126c457600080fd5b939692955090935050565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156126f757600080fd5b813561095781612425565b634e487b7160e01b600052601160045260246000fd5b60006001820161272a5761272a612702565b5060010190565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b60208152600061276e602083018486612731565b949350505050565b60006020828403121561278857600080fd5b815161095781612425565b6001600160a01b0385811682528416602082015260606040820181905260009061153a9083018486612731565b634e487b7160e01b600052604160045260246000fd5b6000808335601e198436030181126127ed57600080fd5b8301803591506001600160401b0382111561280757600080fd5b602001915036819003821315610e5757600080fd5b65ffffffffffff818116838216019080821115610d2057610d20612702565b65ffffffffffff861681526001600160a01b038581166020830152841660408201526080606082018190526000906128769083018486612731565b979650505050505050565b6000808585111561289157600080fd5b8386111561289e57600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156128d35780818660040360031b1b83161692505b505092915050565b600082516128ed818460208701612556565b9190910192915050565b63ffffffff828116828216039080821115610d2057610d2061270256fea2646970667358221220852e1b06c04d0d52371fd43f8845e54b847a0e8aa854c61f246ae78531fd2ee364736f6c63430008140033f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220a0991979246e38ac418a00c5ef1faedcb29304d2d22e42242332c9ef44cb0e2b64736f6c63430008140033",
835
- "deployedBytecode": "0x60806040523480156200001157600080fd5b5060043610620002015760003560e01c806368ed5d2e1162000119578063b7d2b16211620000af578063c4d66de8116200007a578063c4d66de814620005da578063c6a0017914620005f1578063d1f856ee1462000608578063d78a83b1146200061f57600080fd5b8063b7d2b162146200053e578063bc62a0a51462000555578063bcfb11b0146200058d578063bf7e214f14620005b757600080fd5b80638fb3603711620000f05780638fb3603714620004b8578063af8d729e14620004dc578063b428b0b014620004f3578063b7009613146200050a57600080fd5b806368ed5d2e146200038b5780637a9e5e4b14620003a257806386f0c47b14620003b957600080fd5b80634222cc23116200019b5780635dfa73db11620001665780635dfa73db146200033c5780635fa8aad41462000346578063605aa10a146200035d57806363709eaf146200037457600080fd5b80634222cc2314620002e057806344ec4c3014620002f75780635511a6f3146200030e5780635d66f90a146200032557600080fd5b806337f135d711620001dc57806337f135d71462000271578063384c9a571462000290578063392f5f6414620002a75780633fd8556114620002b057600080fd5b806303014974146200020657806326decd40146200023057806329db8c3d1462000258575b600080fd5b6200021d6200021736600462002973565b62000636565b6040519081526020015b60405180910390f35b6200024762000241366004620029ab565b6200065f565b604051901515815260200162000227565b6200026f6200026936600462002a73565b620006d1565b005b6200027a600081565b60405163ffffffff909116815260200162000227565b62000247620002a136600462002973565b620007ed565b6003546200021d565b620002c7620002c136600462002b27565b62000984565b6040516001600160401b03909116815260200162000227565b6200026f620002f136600462002b50565b620009cc565b6200026f6200030836600462002ba7565b62000a84565b620002c76200031f36600462002bfa565b62000aa3565b6200026f6200033636600462002c3a565b62000ad4565b620002c761271081565b6200026f6200035736600462002ba7565b62000aef565b620002476200036e366004620029ab565b62000b09565b6200026f6200038536600462002b50565b62000b87565b6200026f6200039c36600462002c3a565b62000c38565b6200026f620003b3366004620029ab565b62000c52565b62000464620003ca36600462002973565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152506001600160401b031660009081526020818152604091829020825160a0810184528154815260019091015460ff808216151593830193909352610100810490921615159281019290925264ffffffffff62010000820481166060840152600160381b90910416608082015290565b604051620002279190600060a08201905082518252602083015115156020830152604083015115156040830152606083015164ffffffffff8082166060850152806080860151166080850152505092915050565b620004c262000cdd565b6040516001600160e01b0319909116815260200162000227565b6200026f620004ed36600462002c5b565b62000d19565b620002476200050436600462002c8e565b62000e3e565b620005216200051b36600462002ce1565b6200102c565b60408051921515835263ffffffff90911660208301520162000227565b620002476200054f36600462002c8e565b620010b6565b6200057e6040518060400160405280600981526020016841646d696e526f6c6560b81b81525081565b60405162000227919062002d51565b6200057e6040518060400160405280600a8152602001695075626c6963526f6c6560b01b81525081565b620005c162001244565b6040516001600160a01b03909116815260200162000227565b6200026f620005eb366004620029ab565b62001261565b620002476200060236600462002973565b62001718565b620002476200061936600462002c8e565b62001779565b620005c16200063036600462002d86565b6200188f565b6001600160401b03811660009081526001602052604081206200065990620018ba565b92915050565b60075460405163a166aa8960e01b81526001600160a01b038381166004830152600092169063a166aa8990602401602060405180830381865afa158015620006ab573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000659919062002db5565b620006e0335b600036620018c5565b600060056000620006f187620019d6565b81526020810191909152604001600020546001600160a01b031690508062000744576200071e85620019d6565b60405163c3ab297f60e01b81526004016200073b91815260200190565b60405180910390fd5b6200074f8262001718565b62000779576040516368f4b88960e01b81526001600160401b03831660048201526024016200073b565b6007546040516308d6122d60e01b815283916001600160a01b0316906308d6122d90620007b190859089908990879060040162002dd5565b600060405180830381600087803b158015620007cc57600080fd5b505af1158015620007e1573d6000803e3d6000fd5b50505050505050505050565b600033620007fb8362001718565b6200082557604051633466514b60e11b81526001600160401b03841660048201526024016200073b565b6001600160401b038316600090815260016020526040902062000849908262001a19565b156200097b57600754604051631517388760e21b81526001600160401b03851660048201526001600160a01b039091169063b7d2b1629073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015620008bd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620008e3919062002e4c565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b0384166024820152604401600060405180830381600087803b1580156200093457600080fd5b505af115801562000949573d6000803e3d6000fd5b5050506001600160401b03841660009081526001602052604090206200097191508262001a3c565b5060019392505050565b50600092915050565b6000600382815481106200099c576200099c62002e6c565b90600052602060002090600491828204019190066008029054906101000a90046001600160401b03169050919050565b620009d733620006d7565b600060056000620009e885620019d6565b81526020810191909152604001600020546001600160a01b031690508062000a15576200071e83620019d6565b60075460405163167bd39560e01b81526001600160a01b03838116600483015284151560248301529091169063167bd395906044015b600060405180830381600087803b15801562000a6657600080fd5b505af115801562000a7b573d6000803e3d6000fd5b50505050505050565b62000a8f33620006d7565b62000a9f82826000600162001a53565b5050565b60006002600062000ab484620019d6565b81526020810191909152604001600020546001600160401b031692915050565b62000adf33620006d7565b62000a9f82826000600162001eb9565b62000afa33620006d7565b62000a9f828260018062001a53565b6001600160a01b0381166000908152600460208190526040808320600101549051638d38cd4b60e01b81526201000090910464ffffffffff169181019190915273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b906024015b602060405180830381865af4158015620006ab573d6000803e3d6000fd5b62000b9233620006d7565b60006005600062000ba385620019d6565b81526020810191909152604001600020546001600160a01b031690508062000bd0576200071e83620019d6565b6001600160a01b03818116600081815260046020819052604091829020600101805461ff00191661010088151590810291909117909155600754925163167bd39560e01b81529182019390935260248101929092529091169063167bd3959060440162000a4b565b62000c4333620006d7565b62000a9f828260018062001eb9565b3362000c5d62001244565b6001600160a01b0316816001600160a01b03161462000c9a5760405162d1953b60e31b81526001600160a01b03821660048201526024016200073b565b816001600160a01b03163b60000362000cd2576040516361798f2f60e11b81526001600160a01b03831660048201526024016200073b565b62000a9f82620020f9565b60008051602062005ea3833981519152805460009190600160a01b900460ff1662000d0a57600062000d13565b638fb3603760e01b5b91505090565b62000d2433620006d7565b62000d2f8262001718565b62000d59576040516368f4b88960e01b81526001600160401b03831660048201526024016200073b565b6001600160401b03821660009081526020818152604091829020600101805461ff0019166101008515150217905581516356db0c1960e11b8152915173__$d53880c81dc91c20799140d711e5ab8718$__9263adb618329260048083019391928290030181865af415801562000dd3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000df9919062002e82565b6001600160401b039092166000908152602081905260409020600101805464ffffffffff93909316600160381b0264ffffffffff60381b199093169290921790915550565b600062000e4b33620006d7565b62000e568362001718565b62000e80576040516368f4b88960e01b81526001600160401b03841660048201526024016200073b565b6001600160401b038316600090815260208190526040902060010154610100900460ff161562000ecf57604051631f4342c360e01b81526001600160401b03841660048201526024016200073b565b6001600160401b038316600090815260016020526040902062000ef3908362001a19565b6200097b57600754604051631517388760e21b81526001600160401b03851660048201526001600160a01b03909116906325c471a09073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af415801562000f66573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000f8c919062002e4c565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038516602482015260006044820152606401600060405180830381600087803b15801562000fe457600080fd5b505af115801562000ff9573d6000803e3d6000fd5b5050506001600160401b0384166000908152600160205260409020620010219150836200215b565b506001905062000659565b60075460405163b700961360e01b815260009182916001600160a01b039091169063b700961390620010679088908890889060040162002eab565b6040805180830381865afa15801562001084573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620010aa919062002ed8565b91509150935093915050565b6000620010c333620006d7565b620010ce8362001718565b620010f8576040516302a3421760e41b81526001600160401b03841660048201526024016200073b565b6001600160401b03831660009081526001602052604090206200111c908362001a19565b156200097b57600754604051631517388760e21b81526001600160401b03851660048201526001600160a01b039091169063b7d2b1629073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af415801562001190573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011b6919062002e4c565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b0385166024820152604401600060405180830381600087803b1580156200120757600080fd5b505af11580156200121c573d6000803e3d6000fd5b5050506001600160401b03841660009081526001602052604090206200102191508362001a3c565b60008051602062005ea3833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b0316600081158015620012a75750825b90506000826001600160401b03166001148015620012c45750303b155b905081158015620012d3575080155b15620012f25760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156200131d57845460ff60401b1916600160401b1785555b306040516200132c906200293d565b6001600160a01b039091168152602001604051809103906000f08015801562001359573d6000803e3d6000fd5b50600780546001600160a01b0319166001600160a01b0392909216918217905560408051631d6c8e3f60e21b815290516325c471a09183916375b238fc916004808201926020929091908290030181865afa158015620013bd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620013e3919062002e4c565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038916602482015260006044820152606401600060405180830381600087803b1580156200143b57600080fd5b505af115801562001450573d6000803e3d6000fd5b50506007546200146c92506001600160a01b0316905062002172565b6200159a73__$cd131c2b3ba46b9dbe046aaf4458b9777d$__6368aebf7b600760009054906101000a90046001600160a01b03166001600160a01b03166375b238fc6040518163ffffffff1660e01b8152600401602060405180830381865afa158015620014de573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001504919062002e4c565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af415801562001549573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200156f919062002e4c565b6040518060400160405280600981526020016841646d696e526f6c6560b81b81525060008062001eb9565b620016c973__$cd131c2b3ba46b9dbe046aaf4458b9777d$__6368aebf7b600760009054906101000a90046001600160a01b03166001600160a01b0316633ca7c02a6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200160c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001632919062002e4c565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865af415801562001677573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200169d919062002e4c565b6040518060400160405280600a8152602001695075626c6963526f6c6560b01b81525060008062001eb9565b83156200171057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b6001600160401b038116600090815260208190526040808220600101549051638d38cd4b60e01b81526201000090910464ffffffffff16600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b9060240162000b69565b600754604051631517388760e21b81526001600160401b03841660048201526000916001600160a01b03169063d1f856ee9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015620017e8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200180e919062002e4c565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b03851660248201526044016040805180830381865afa15801562001861573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001887919062002ed8565b509392505050565b6001600160401b0382166000908152600160205260408120620018b390836200218a565b9392505050565b600062000659825490565b60008051602062005ea383398151915260008062001909620018e662001244565b8730620018f8600460008a8c62002f14565b620019039162002f40565b62002198565b9150915081620017105763ffffffff811615620019b257825460ff60a01b1916600160a01b1783556200193b62001244565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016200196c9392919062002f71565b600060405180830381600087803b1580156200198757600080fd5b505af11580156200199c573d6000803e3d6000fd5b5050845460ff60a01b1916855550620017109050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016200073b565b600080829050601f8151111562001a04578260405163305a27a960e01b81526004016200073b919062002d51565b805162001a118262002fb1565b179392505050565b6001600160a01b03811660009081526001830160205260408120541515620018b3565b6000620018b3836001600160a01b0384166200229d565b6001600160a01b038416600090815260046020819052604091829020600101549151638d38cd4b60e01b81526201000090920464ffffffffff169082015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af415801562001ace573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001af4919062002db5565b1562001b38576001600160a01b038416600081815260046020819052604091829020549151632969db5760e11b81529081019290925260248201526044016200073b565b600060058162001b4886620019d6565b81526020810191909152604001600020546001600160a01b03161462001bd157836005600062001b7886620019d6565b81526020810191909152604001600020546001600160a01b031662001b9d85620019d6565b6040516361c0558f60e01b81526001600160a01b03938416600482015292909116602483015260448201526064016200073b565b60006040518060a0016040528062001be986620019d6565b815284151560208201526007546040805163a166aa8960e01b81526001600160a01b038a81166004830152919093019291169063a166aa8990602401602060405180830381865afa15801562001c43573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001c69919062002db5565b1515815260200173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801562001cba573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001ce0919062002e82565b64ffffffffff16815260200173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801562001d36573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001d5c919062002e82565b64ffffffffff1681525090508060046000876001600160a01b03166001600160a01b031681526020019081526020016000206000820151816000015560208201518160010160006101000a81548160ff02191690831515021790555060408201518160010160016101000a81548160ff02191690831515021790555060608201518160010160026101000a81548164ffffffffff021916908364ffffffffff16021790555060808201518160010160076101000a81548164ffffffffff021916908364ffffffffff16021790555090505084600560008360000151815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b031602179055506006859080600181540180825580915050600190039060005260206000200160009091909190916101000a8154816001600160a01b0302191690836001600160a01b031602179055505050505050565b801562001ecf5762001ecd848484620023a1565b505b60006040518060a0016040528062001ee786620019d6565b8152602001841515815260200160001515815260200173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801562001f47573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001f6d919062002e82565b64ffffffffff16815260200173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801562001fc3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001fe9919062002e82565b64ffffffffff9081169091526001600160401b03968716600081815260208181526040808320865180825587840151600192830180548a86015160608c01516080909c015161ffff1990921693151561ff001916939093176101009315158402176bffffffffffffffffffff00001916620100009b8b169b909b0264ffffffffff60381b19169a909a17600160381b9a909916999099029790971790975595835260029091528120805467ffffffffffffffff191683179055600380549485018155908190527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b600485040180549490911660080290920a97880219909216969091029590951790945550505050565b60008051602062005ea383398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6000620018b3836001600160a01b03841662002834565b6200217c62002886565b6200218781620028d2565b50565b6000620018b38383620028e7565b600080600080876001600160a01b0316878787604051602401620021bf9392919062002eab565b60408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251620021f6919062002fd9565b600060405180830381855afa9150503d806000811462002233576040519150601f19603f3d011682016040523d82523d6000602084013e62002238565b606091505b50915091508115620022925760408151106200226f578080602001905181019062002264919062002ed8565b909450925062002292565b60208151106200229257808060200190518101906200228f919062002db5565b93505b505094509492505050565b6000818152600183016020526040812054801562002396576000620022c460018362002ff7565b8554909150600090620022da9060019062002ff7565b905080821462002346576000866000018281548110620022fe57620022fe62002e6c565b906000526020600020015490508087600001848154811062002324576200232462002e6c565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806200235a576200235a62003019565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505062000659565b600091505062000659565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915260075460408051631d6c8e3f60e21b8152905186926001600160a01b0316916375b238fc9160048083019260209291908290030181865afa15801562002416573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200243c919062002e4c565b6001600160401b0316816001600160401b03161480620024e65750600760009054906101000a90046001600160a01b03166001600160a01b0316633ca7c02a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015620024ab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620024d1919062002e4c565b6001600160401b0316816001600160401b0316145b1562002511576040516368f4b88960e01b81526001600160401b03861660048201526024016200073b565b6001600160401b03851660009081526020818152604091829020825160a0810184528154815260019091015460ff808216151593830193909352610100810490921615158184015264ffffffffff620100008304811660608301819052600160381b9093041660808201529151638d38cd4b60e01b8152600481019190915290925073__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af4158015620025d0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620025f6919062002db5565b80156200260b57508160200151151583151514155b156200264b57602082015160405163ed2ac1ef60e01b81526001600160401b0387166004820152841515602482015290151560448201526064016200073b565b8280156200266357506127106001600160401b038216105b156200268e5760405163be511cc160e01b81526001600160401b03861660048201526024016200073b565b82158015620026a857506127106001600160401b03821610155b15620026d357604051630e08ff2d60e11b81526001600160401b03861660048201526024016200073b565b6000620026e085620019d6565b9050620026ed8162002914565b6000036200271a57604051631367e80d60e31b81526001600160401b03871660048201526024016200073b565b60008181526002602090815260409182902054825163bc1b392d60e01b81529251620027c1936001600160401b039092169273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9263bc1b392d92600480830193928290030181865af415801562002789573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620027af919062002e4c565b6001600160401b039081169116141590565b8015620027e857506000818152600260205260409020546001600160401b03878116911614155b156200282b5760008181526002602052604090819020549051637169291360e11b81526001600160401b039091166004820152602481018290526044016200073b565b50509392505050565b60008181526001830160205260408120546200287d5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562000659565b50600062000659565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16620028d057604051631afcd79f60e31b815260040160405180910390fd5b565b620028dc62002886565b6200218781620020f9565b600082600001828154811062002901576200290162002e6c565b9060005260206000200154905092915050565b600060ff8216601f8111156200065957604051632cd44ac360e21b815260040160405180910390fd5b612e73806200303083390190565b6001600160401b03811681146200218757600080fd5b80356200296e816200294b565b919050565b6000602082840312156200298657600080fd5b8135620018b3816200294b565b80356001600160a01b03811681146200296e57600080fd5b600060208284031215620029be57600080fd5b620018b38262002993565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620029f157600080fd5b81356001600160401b038082111562002a0e5762002a0e620029c9565b604051601f8301601f19908116603f0116810190828211818310171562002a395762002a39620029c9565b8160405283815286602085880101111562002a5357600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806000806060858703121562002a8a57600080fd5b84356001600160401b038082111562002aa257600080fd5b62002ab088838901620029df565b9550602087013591508082111562002ac757600080fd5b818701915087601f83011262002adc57600080fd5b81358181111562002aec57600080fd5b8860208260051b850101111562002b0257600080fd5b60208301955080945050505062002b1c6040860162002961565b905092959194509250565b60006020828403121562002b3a57600080fd5b5035919050565b80151581146200218757600080fd5b6000806040838503121562002b6457600080fd5b82356001600160401b0381111562002b7b57600080fd5b62002b8985828601620029df565b925050602083013562002b9c8162002b41565b809150509250929050565b6000806040838503121562002bbb57600080fd5b62002bc68362002993565b915060208301356001600160401b0381111562002be257600080fd5b62002bf085828601620029df565b9150509250929050565b60006020828403121562002c0d57600080fd5b81356001600160401b0381111562002c2457600080fd5b62002c3284828501620029df565b949350505050565b6000806040838503121562002c4e57600080fd5b823562002bc6816200294b565b6000806040838503121562002c6f57600080fd5b823562002c7c816200294b565b9150602083013562002b9c8162002b41565b6000806040838503121562002ca257600080fd5b823562002caf816200294b565b915062002cbf6020840162002993565b90509250929050565b80356001600160e01b0319811681146200296e57600080fd5b60008060006060848603121562002cf757600080fd5b62002d028462002993565b925062002d126020850162002993565b915062002d226040850162002cc8565b90509250925092565b60005b8381101562002d4857818101518382015260200162002d2e565b50506000910152565b602081526000825180602084015262002d7281604085016020870162002d2b565b601f01601f19169190910160400192915050565b6000806040838503121562002d9a57600080fd5b823562002da7816200294b565b946020939093013593505050565b60006020828403121562002dc857600080fd5b8151620018b38162002b41565b6001600160a01b038516815260606020808301829052908201849052600090859060808401835b8781101562002e2d576001600160e01b031962002e198562002cc8565b168252928201929082019060010162002dfc565b508093505050506001600160401b038316604083015295945050505050565b60006020828403121562002e5f57600080fd5b8151620018b3816200294b565b634e487b7160e01b600052603260045260246000fd5b60006020828403121562002e9557600080fd5b815164ffffffffff81168114620018b357600080fd5b6001600160a01b0393841681529190921660208201526001600160e01b0319909116604082015260600190565b6000806040838503121562002eec57600080fd5b825162002ef98162002b41565b602084015190925063ffffffff8116811462002b9c57600080fd5b6000808585111562002f2557600080fd5b8386111562002f3357600080fd5b5050820193919092039150565b6001600160e01b0319813581811691600485101562002f695780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b8051602080830151919081101562002fd3576000198160200360031b1b821691505b50919050565b6000825162002fed81846020870162002d2b565b9190910192915050565b818103818111156200065957634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fdfe60806040523480156200001157600080fd5b5060405162002e7338038062002e7383398101604081905262000034916200048f565b6001600160a01b0381166200006457604051630409d6d160e11b8152600060048201526024015b60405180910390fd5b6200007360008281806200007b565b505062000519565b60006002600160401b03196001600160401b03861601620000bb5760405163061c6a4360e21b81526001600160401b03861660048201526024016200005b565b6001600160401b03851660009081526001602090815260408083206001600160a01b038816845290915281205465ffffffffffff1615908115620001ba5763ffffffff85166200010a620002d2565b620001169190620004d0565b905060405180604001604052808265ffffffffffff168152602001620001488663ffffffff16620002e460201b60201c565b6001600160701b039081169091526001600160401b03891660009081526001602090815260408083206001600160a01b038c16845282529091208351815494909201519092166601000000000000026001600160a01b031990931665ffffffffffff9091161791909117905562000264565b6001600160401b03871660009081526001602090815260408083206001600160a01b038a168452909152812054620002099166010000000000009091046001600160701b0316908690620002ed565b6001600160401b03891660009081526001602090815260408083206001600160a01b038c168452909152902080546001600160701b03909316660100000000000002600160301b600160a01b03199093169290921790915590505b6040805163ffffffff8616815265ffffffffffff831660208201528315158183015290516001600160a01b038816916001600160401b038a16917ff98448b987f1428e0e230e1f3c6e2ce15b5693eaf31827fbd0b1ec4b424ae7cf9181900360600190a35095945050505050565b6000620002df42620003a2565b905090565b63ffffffff1690565b60008080620003056001600160701b038716620003db565b90506000620003488563ffffffff168763ffffffff168463ffffffff1611620003305760006200033c565b6200033c8885620004f9565b63ffffffff16620003fc565b905063ffffffff81166200035b620002d2565b620003679190620004d0565b925063ffffffff8616602083901b67ffffffff0000000016604085901b6dffffffffffff000000000000000016171793505050935093915050565b600065ffffffffffff821115620003d7576040516306dfcc6560e41b815260306004820152602481018390526044016200005b565b5090565b600080620003f26001600160701b03841662000416565b5090949350505050565b60008183116200040d57816200040f565b825b9392505050565b600080806200042f8462000429620002d2565b6200043c565b9250925092509193909250565b600080806001600160501b03602086901c166001600160701b03861665ffffffffffff604088901c81169087168111156200047a578282826200047f565b816000805b9550955095505050509250925092565b600060208284031215620004a257600080fd5b81516001600160a01b03811681146200040f57600080fd5b634e487b7160e01b600052601160045260246000fd5b65ffffffffffff818116838216019080821115620004f257620004f2620004ba565b5092915050565b63ffffffff828116828216039080821115620004f257620004f2620004ba565b61294a80620005296000396000f3fe6080604052600436106101e35760003560e01c80636d5115bd11610102578063b700961311610095578063d22b598911610064578063d22b598914610681578063d6bb62c6146106a1578063f801a698146106c1578063fe0776f5146106fb57600080fd5b8063b7009613146105ef578063b7d2b1621461062b578063cc1b6c811461064b578063d1f856ee1461066157600080fd5b8063a166aa89116100d1578063a166aa8914610521578063a64d95ce14610574578063abd9bd2a14610594578063ac9650d8146105c257600080fd5b80636d5115bd146104ac57806375b238fc146104cc578063853551b8146104e157806394c7d7ee1461050157600080fd5b806330cae1871161017a5780634665096d116101495780634665096d146104195780634c1da1e21461042f578063529629521461044f578063530dd4561461046f57600080fd5b806330cae1871461036d5780633adc277a1461038d5780633ca7c02a146103c45780634136a33c146103df57600080fd5b806318ff183c116101b657806318ff183c146102c05780631cff79cd146102e057806325c471a0146102f35780633078f1141461031357600080fd5b806308d6122d146101e85780630b0a93ba1461020a57806312be87271461026b578063167bd395146102a0575b600080fd5b3480156101f457600080fd5b506102086102033660046121c5565b61071b565b005b34801561021657600080fd5b5061024e61022536600461222b565b6001600160401b0390811660009081526001602081905260409091200154600160401b90041690565b6040516001600160401b0390911681526020015b60405180910390f35b34801561027757600080fd5b5061028b61028636600461222b565b610776565b60405163ffffffff9091168152602001610262565b3480156102ac57600080fd5b506102086102bb366004612246565b6107b1565b3480156102cc57600080fd5b506102086102db366004612284565b6107c7565b61028b6102ee3660046122f3565b61082e565b3480156102ff57600080fd5b5061020861030e36600461235b565b61095e565b34801561031f57600080fd5b5061033361032e3660046123a0565b610980565b604051610262949392919065ffffffffffff948516815263ffffffff93841660208201529190921660408201529116606082015260800190565b34801561037957600080fd5b506102086103883660046123bc565b6109e5565b34801561039957600080fd5b506103ad6103a83660046123ef565b6109f7565b60405165ffffffffffff9091168152602001610262565b3480156103d057600080fd5b5061024e6001600160401b0381565b3480156103eb57600080fd5b5061028b6103fa3660046123ef565b600090815260026020526040902054600160301b900463ffffffff1690565b34801561042557600080fd5b5062093a8061028b565b34801561043b57600080fd5b5061028b61044a366004612408565b610a2a565b34801561045b57600080fd5b5061020861046a3660046123bc565b610a58565b34801561047b57600080fd5b5061024e61048a36600461222b565b6001600160401b03908116600090815260016020819052604090912001541690565b3480156104b857600080fd5b5061024e6104c736600461243b565b610a6a565b3480156104d857600080fd5b5061024e600081565b3480156104ed57600080fd5b506102086104fc366004612469565b610aa5565b34801561050d57600080fd5b5061020861051c3660046122f3565b610b3c565b34801561052d57600080fd5b5061056461053c366004612408565b6001600160a01b0316600090815260208190526040902060010154600160701b900460ff1690565b6040519015158152602001610262565b34801561058057600080fd5b5061020861058f366004612487565b610be8565b3480156105a057600080fd5b506105b46105af3660046124b1565b610bfa565b604051908152602001610262565b3480156105ce57600080fd5b506105e26105dd366004612515565b610c33565b604051610262919061257a565b3480156105fb57600080fd5b5061060f61060a3660046125f4565b610d27565b60408051921515835263ffffffff909116602083015201610262565b34801561063757600080fd5b506102086106463660046123a0565b610dca565b34801561065757600080fd5b506206978061028b565b34801561066d57600080fd5b5061060f61067c3660046123a0565b610de1565b34801561068d57600080fd5b5061020861069c36600461263f565b610e5e565b3480156106ad57600080fd5b5061028b6106bc3660046124b1565b610e70565b3480156106cd57600080fd5b506106e16106dc36600461265d565b610fca565b6040805192835263ffffffff909116602083015201610262565b34801561070757600080fd5b506102086107163660046123a0565b61110f565b610723611138565b60005b8281101561076f5761075f85858584818110610744576107446126cf565b905060200201602081019061075991906126e5565b846111b3565b61076881612718565b9050610726565b5050505050565b6001600160401b0381166000908152600160208190526040822001546107ab90600160801b90046001600160701b0316611235565b92915050565b6107b9611138565b6107c38282611254565b5050565b6107cf611138565b604051637a9e5e4b60e01b81526001600160a01b038281166004830152831690637a9e5e4b90602401600060405180830381600087803b15801561081257600080fd5b505af1158015610826573d6000803e3d6000fd5b505050505050565b600033818061083f838888886112fa565b9150915081158015610855575063ffffffff8116155b156108a8578287610866888861134d565b6040516381c6f24b60e01b81526001600160a01b0393841660048201529290911660248301526001600160e01b03191660448201526064015b60405180910390fd5b60006108b684898989610bfa565b9050600063ffffffff83161515806108dd57506108d2826109f7565b65ffffffffffff1615155b156108ee576108eb82611365565b90505b6003546109048a6108ff8b8b61134d565b611465565b60038190555061094c8a8a8a8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152503492506114a7915050565b506003559450505050505b9392505050565b610966611138565b61097a838361097486610776565b84611544565b50505050565b6001600160401b03821660009081526001602090815260408083206001600160a01b03851684529091528120805465ffffffffffff8116929182918291906109d790600160301b90046001600160701b031661178f565b969991985096509350505050565b6109ed611138565b6107c382826117b2565b60008181526002602052604081205465ffffffffffff16610a1781611856565b610a215780610957565b60009392505050565b6001600160a01b0381166000908152602081905260408120600101546107ab906001600160701b0316611235565b610a60611138565b6107c38282611885565b6001600160a01b0382166000908152602081815260408083206001600160e01b0319851684529091529020546001600160401b031692915050565b610aad611138565b6001600160401b0383161580610acb57506001600160401b03838116145b15610af45760405163061c6a4360e21b81526001600160401b038416600482015260240161089f565b826001600160401b03167f1256f5b5ecb89caec12db449738f2fbcd1ba5806cf38f35413f4e5c15bf6a4508383604051610b2f92919061275a565b60405180910390a2505050565b60408051638fb3603760e01b80825291513392918391638fb36037916004808201926020929091908290030181865afa158015610b7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ba19190612776565b6001600160e01b03191614610bd457604051630641fee960e31b81526001600160a01b038216600482015260240161089f565b61076f610be385838686610bfa565b611365565b610bf0611138565b6107c38282611937565b600084848484604051602001610c139493929190612793565b604051602081830303815290604052805190602001209050949350505050565b6060816001600160401b03811115610c4d57610c4d6127c0565b604051908082528060200260200182016040528015610c8057816020015b6060815260200190600190039081610c6b5790505b50905060005b82811015610d2057610cf030858584818110610ca457610ca46126cf565b9050602002810190610cb691906127d6565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611a4892505050565b828281518110610d0257610d026126cf565b60200260200101819052508080610d1890612718565b915050610c86565b5092915050565b6001600160a01b0382166000908152602081905260408120600101548190600160701b900460ff1615610d5f57506000905080610dc2565b306001600160a01b03861603610d8457610d798484611abe565b600091509150610dc2565b6000610d908585610a6a565b9050600080610d9f8389610de1565b9150915081610db057600080610dba565b63ffffffff811615815b945094505050505b935093915050565b610dd2611138565b610ddc8282611ad5565b505050565b60008067fffffffffffffffe196001600160401b03851601610e095750600190506000610e57565b600080610e168686610980565b5050915091508165ffffffffffff16600014158015610e4c5750610e38611bc2565b65ffffffffffff168265ffffffffffff1611155b93509150610e579050565b9250929050565b610e66611138565b6107c38282611bd2565b60003381610e7e858561134d565b90506000610e8e88888888610bfa565b60008181526002602052604081205491925065ffffffffffff9091169003610ecc5760405163060a299b60e41b81526004810182905260240161089f565b826001600160a01b0316886001600160a01b031614610f68576000610ef2600085610de1565b5090506000610f0d610f076102258b87610a6a565b86610de1565b50905081158015610f1c575080155b15610f6557604051630ff89d4760e21b81526001600160a01b038087166004830152808c1660248301528a1660448201526001600160e01b03198516606482015260840161089f565b50505b600081815260026020526040808220805465ffffffffffff1916908190559051600160301b90910463ffffffff1691829184917fbd9ac67a6e2f6463b80927326310338bcbb4bdb7936ce1365ea3e01067e7b9f791a398975050505050505050565b6000803381610fdb828989896112fa565b91505060008163ffffffff16610fef611bc2565b610ff9919061281c565b905063ffffffff82161580611030575060008665ffffffffffff1611801561103057508065ffffffffffff168665ffffffffffff16105b156110415782896108668a8a61134d565b61105b8665ffffffffffff168265ffffffffffff16611c8f565b9550611069838a8a8a610bfa565b945061107485611ca5565b60008581526002602052604090819020805465ffffffffffff891669ffffffffffffffffffff19821617600160301b9182900463ffffffff90811660010190811692830291909117909255915190955086907f82a2da5dee54ea8021c6545b4444620291e07ee83be6dd57edb175062715f3b4906110fb908a9088908f908f908f9061283b565b60405180910390a350505094509492505050565b6001600160a01b0381163314610dd257604051635f159e6360e01b815260040160405180910390fd5b33600080611147838236611cf2565b9150915081610ddc578063ffffffff166000036111a357600061116a8136611daa565b5060405163f07e038f60e01b81526001600160a01b03871660048201526001600160401b0382166024820152909250604401905061089f565b61097a610be38430600036610bfa565b6001600160a01b0383166000818152602081815260408083206001600160e01b0319871680855290835292819020805467ffffffffffffffff19166001600160401b038716908117909155905192835292917f9ea6790c7dadfd01c9f8b9762b3682607af2c7e79e05a9f9fdf5580dde949151910160405180910390a3505050565b60008061124a836001600160701b031661178f565b5090949350505050565b306001600160a01b0383160361128857604051630b40d17960e31b81526001600160a01b038316600482015260240161089f565b6001600160a01b038216600081815260208190526040908190206001018054841515600160701b0260ff60701b19909116179055517f90d4e7bb7e5d933792b3562e1741306f8be94837e1348dacef9b6f1df56eb138906112ee90841515815260200190565b60405180910390a25050565b600080306001600160a01b0386160361132157611318868585611cf2565b91509150611344565b6004831061133d57611338868661060a878761134d565b611318565b5060009050805b94509492505050565b600061135c6004828486612881565b610957916128ab565b60008181526002602052604081205465ffffffffffff811690600160301b900463ffffffff168183036113ae5760405163060a299b60e41b81526004810185905260240161089f565b6113b6611bc2565b65ffffffffffff168265ffffffffffff1611156113e957604051630c65b5bd60e11b81526004810185905260240161089f565b6113f282611856565b1561141357604051631e2975b960e21b81526004810185905260240161089f565b600084815260026020526040808220805465ffffffffffff191690555163ffffffff83169186917f76a2a46953689d4861a5d3f6ed883ad7e6af674a21f8e162707159fc9dde614d9190a39392505050565b604080516001600160a01b03939093166020808501919091526001600160e01b0319929092168382015280518084038201815260609093019052815191012090565b6060814710156114cc5760405163cd78605960e01b815230600482015260240161089f565b600080856001600160a01b031684866040516114e891906128db565b60006040518083038185875af1925050503d8060008114611525576040519150601f19603f3d011682016040523d82523d6000602084013e61152a565b606091505b509150915061153a868383611f93565b9695505050505050565b600067fffffffffffffffe196001600160401b038616016115835760405163061c6a4360e21b81526001600160401b038616600482015260240161089f565b6001600160401b03851660009081526001602090815260408083206001600160a01b038816845290915281205465ffffffffffff1615908115611675578463ffffffff166115cf611bc2565b6115d9919061281c565b905060405180604001604052808265ffffffffffff1681526020016116078663ffffffff1663ffffffff1690565b6001600160701b039081169091526001600160401b03891660009081526001602090815260408083206001600160a01b038c1684528252909120835181549490920151909216600160301b026001600160a01b031990931665ffffffffffff90911617919091179055611721565b6001600160401b03871660009081526001602090815260408083206001600160a01b038a1684529091528120546116bf91600160301b9091046001600160701b0316908690611fef565b6001600160401b03891660009081526001602090815260408083206001600160a01b038c168452909152902080546001600160701b03909316600160301b0273ffffffffffffffffffffffffffff000000000000199093169290921790915590505b6040805163ffffffff8616815265ffffffffffff831660208201528315158183015290516001600160a01b038816916001600160401b038a16917ff98448b987f1428e0e230e1f3c6e2ce15b5693eaf31827fbd0b1ec4b424ae7cf9181900360600190a35095945050505050565b60008060006117a5846117a0611bc2565b612099565b9250925092509193909250565b6001600160401b03821615806117d057506001600160401b03828116145b156117f95760405163061c6a4360e21b81526001600160401b038316600482015260240161089f565b6001600160401b038281166000818152600160208190526040808320909101805467ffffffffffffffff19169486169485179055517f1fd6dd7631312dfac2205b52913f99de03b4d7e381d5d27d3dbfe0713e6e63409190a35050565b6000611860611bc2565b65ffffffffffff1661187562093a808461281c565b65ffffffffffff16111592915050565b6001600160401b03821615806118a357506001600160401b03828116145b156118cc5760405163061c6a4360e21b81526001600160401b038316600482015260240161089f565b6001600160401b03828116600081815260016020819052604080832090910180546fffffffffffffffff00000000000000001916600160401b958716958602179055517f7a8059630b897b5de4c08ade69f8b90c3ead1f8596d62d10b6c4d14a0afb4ae29190a35050565b67fffffffffffffffe196001600160401b038316016119745760405163061c6a4360e21b81526001600160401b038316600482015260240161089f565b6001600160401b0382166000908152600160208190526040822001546119ae90600160801b90046001600160701b03168362069780611fef565b6001600160401b0385166000818152600160208190526040918290200180546001600160701b03909516600160801b026dffffffffffffffffffffffffffff60801b199095169490941790935591519092507ffeb69018ee8b8fd50ea86348f1267d07673379f72cffdeccec63853ee8ce8b4890610b2f908590859063ffffffff92909216825265ffffffffffff16602082015260400190565b6060600080846001600160a01b031684604051611a6591906128db565b600060405180830381855af49150503d8060008114611aa0576040519150601f19603f3d011682016040523d82523d6000602084013e611aa5565b606091505b5091509150611ab5858383611f93565b95945050505050565b6000611aca8383611465565b600354149392505050565b600067fffffffffffffffe196001600160401b03841601611b145760405163061c6a4360e21b81526001600160401b038416600482015260240161089f565b6001600160401b03831660009081526001602090815260408083206001600160a01b038616845290915281205465ffffffffffff169003611b57575060006107ab565b6001600160401b03831660008181526001602090815260408083206001600160a01b038716808552925280832080546001600160a01b0319169055519092917ff229baa593af28c41b1d16b748cd7688f0c83aaf92d4be41c44005defe84c16691a350600192915050565b6000611bcd426120ed565b905090565b6001600160a01b038216600090815260208190526040812060010154611c05906001600160701b03168362069780611fef565b6001600160a01b0385166000818152602081815260409182902060010180546dffffffffffffffffffffffffffff19166001600160701b039690961695909517909455805163ffffffff8716815265ffffffffffff841694810194909452919350917fa56b76017453f399ec2327ba00375dbfb1fd070ff854341ad6191e6a2e2de19c9101610b2f565b6000818311611c9e5781610957565b5090919050565b60008181526002602052604090205465ffffffffffff168015801590611cd15750611ccf81611856565b155b156107c35760405163813e945960e01b81526004810183905260240161089f565b6000806004831015611d0957506000905080610dc2565b306001600160a01b03861603611d2c57610d7930611d27868661134d565b611abe565b6000806000611d3b8787611daa565b92509250925082611d555760008094509450505050610dc2565b600080611d62848b610de1565b9150915081611d7c57600080965096505050505050610dc2565b611d928363ffffffff168263ffffffff16611c8f565b63ffffffff8116159b909a5098505050505050505050565b600080806004841015611dc557506000915081905080611f8c565b6000611dd1868661134d565b90506001600160e01b031981166310a6aa3760e31b1480611e0257506001600160e01b031981166330cae18760e01b145b80611e1d57506001600160e01b0319811663294b14a960e11b145b80611e3857506001600160e01b03198116635326cae760e11b145b80611e5357506001600160e01b0319811663d22b598960e01b145b15611e6957600160008093509350935050611f8c565b6001600160e01b0319811663063fc60f60e21b1480611e9857506001600160e01b0319811663167bd39560e01b145b80611eb357506001600160e01b031981166308d6122d60e01b145b15611ef5576000611ec860246004888a612881565b810190611ed59190612408565b90506000611ee282610a2a565b60019650600095509350611f8c92505050565b6001600160e01b0319811663012e238d60e51b1480611f2457506001600160e01b03198116635be958b160e11b145b15611f7f576000611f3960246004888a612881565b810190611f46919061222b565b90506001611f70826001600160401b03908116600090815260016020819052604090912001541690565b60009450945094505050611f8c565b6000806000935093509350505b9250925092565b606082611fa857611fa382612124565b610957565b8151158015611fbf57506001600160a01b0384163b155b15611fe857604051639996b31560e01b81526001600160a01b038516600482015260240161089f565b5080610957565b6000806000612006866001600160701b0316611235565b905060006120438563ffffffff168763ffffffff168463ffffffff161161202e576000612038565b61203888856128f7565b63ffffffff16611c8f565b90508063ffffffff16612054611bc2565b61205e919061281c565b925063ffffffff8616602083901b67ffffffff0000000016604085901b6dffffffffffff000000000000000016171793505050935093915050565b6000808069ffffffffffffffffffff602086901c166001600160701b03861665ffffffffffff604088901c81169087168111156120d8578282826120dd565b816000805b9550955095505050509250925092565b600065ffffffffffff821115612120576040516306dfcc6560e41b8152603060048201526024810183905260440161089f565b5090565b8051156121345780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b50565b6001600160a01b038116811461214d57600080fd5b60008083601f84011261217757600080fd5b5081356001600160401b0381111561218e57600080fd5b6020830191508360208260051b8501011115610e5757600080fd5b80356001600160401b03811681146121c057600080fd5b919050565b600080600080606085870312156121db57600080fd5b84356121e681612150565b935060208501356001600160401b0381111561220157600080fd5b61220d87828801612165565b90945092506122209050604086016121a9565b905092959194509250565b60006020828403121561223d57600080fd5b610957826121a9565b6000806040838503121561225957600080fd5b823561226481612150565b91506020830135801515811461227957600080fd5b809150509250929050565b6000806040838503121561229757600080fd5b82356122a281612150565b9150602083013561227981612150565b60008083601f8401126122c457600080fd5b5081356001600160401b038111156122db57600080fd5b602083019150836020828501011115610e5757600080fd5b60008060006040848603121561230857600080fd5b833561231381612150565b925060208401356001600160401b0381111561232e57600080fd5b61233a868287016122b2565b9497909650939450505050565b803563ffffffff811681146121c057600080fd5b60008060006060848603121561237057600080fd5b612379846121a9565b9250602084013561238981612150565b915061239760408501612347565b90509250925092565b600080604083850312156123b357600080fd5b6122a2836121a9565b600080604083850312156123cf57600080fd5b6123d8836121a9565b91506123e6602084016121a9565b90509250929050565b60006020828403121561240157600080fd5b5035919050565b60006020828403121561241a57600080fd5b813561095781612150565b6001600160e01b03198116811461214d57600080fd5b6000806040838503121561244e57600080fd5b823561245981612150565b9150602083013561227981612425565b60008060006040848603121561247e57600080fd5b612313846121a9565b6000806040838503121561249a57600080fd5b6124a3836121a9565b91506123e660208401612347565b600080600080606085870312156124c757600080fd5b84356124d281612150565b935060208501356124e281612150565b925060408501356001600160401b038111156124fd57600080fd5b612509878288016122b2565b95989497509550505050565b6000806020838503121561252857600080fd5b82356001600160401b0381111561253e57600080fd5b61254a85828601612165565b90969095509350505050565b60005b83811015612571578181015183820152602001612559565b50506000910152565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b828110156125e757878503603f19018452815180518087526125c8818989018a8501612556565b601f01601f1916959095018601945092850192908501906001016125a1565b5092979650505050505050565b60008060006060848603121561260957600080fd5b833561261481612150565b9250602084013561262481612150565b9150604084013561263481612425565b809150509250925092565b6000806040838503121561265257600080fd5b82356124a381612150565b6000806000806060858703121561267357600080fd5b843561267e81612150565b935060208501356001600160401b0381111561269957600080fd5b6126a5878288016122b2565b909450925050604085013565ffffffffffff811681146126c457600080fd5b939692955090935050565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156126f757600080fd5b813561095781612425565b634e487b7160e01b600052601160045260246000fd5b60006001820161272a5761272a612702565b5060010190565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b60208152600061276e602083018486612731565b949350505050565b60006020828403121561278857600080fd5b815161095781612425565b6001600160a01b0385811682528416602082015260606040820181905260009061153a9083018486612731565b634e487b7160e01b600052604160045260246000fd5b6000808335601e198436030181126127ed57600080fd5b8301803591506001600160401b0382111561280757600080fd5b602001915036819003821315610e5757600080fd5b65ffffffffffff818116838216019080821115610d2057610d20612702565b65ffffffffffff861681526001600160a01b038581166020830152841660408201526080606082018190526000906128769083018486612731565b979650505050505050565b6000808585111561289157600080fd5b8386111561289e57600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156128d35780818660040360031b1b83161692505b505092915050565b600082516128ed818460208701612556565b9190910192915050565b63ffffffff828116828216039080821115610d2057610d2061270256fea2646970667358221220852e1b06c04d0d52371fd43f8845e54b847a0e8aa854c61f246ae78531fd2ee364736f6c63430008140033f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220a0991979246e38ac418a00c5ef1faedcb29304d2d22e42242332c9ef44cb0e2b64736f6c63430008140033",
1124
+ "bytecode": "0x608060405234801561001057600080fd5b50613a83806100206000396000f3fe608060405234801561001057600080fd5b50600436106102325760003560e01c80635dfa73db11610130578063bc62a0a5116100b8578063d05404431161007c578063d0540443146105a3578063d1f856ee146105ce578063d2192dbf146105e1578063eaf09b3714610614578063f2345aea1461062757600080fd5b8063bc62a0a514610524578063bcfb11b01461054c578063bf7e214f14610575578063c4d66de81461057d578063c6a001791461059057600080fd5b806386892313116100ff578063868923131461049b5780638fb36037146104ae578063b428b0b0146104cf578063b7009613146104e2578063b7d2b1621461051157600080fd5b80635dfa73db146104595780635fa8aad414610462578063605aa10a146104755780637a9e5e4b1461048857600080fd5b80633656481c116101be57806344ec4c301161018257806344ec4c30146103cc5780634a3a1e00146103df578063530dd456146103f25780635511a6f3146104265780635bfa50271461043957600080fd5b80633656481c1461033e57806337f135d714610369578063384c9a5714610386578063392f5f64146103995780633fd85561146103a157600080fd5b8063131021d911610205578063131021d9146102a55780631bdd0cf8146102e257806326decd401461030557806329db8c3d1461031857806330cae1871461032b57600080fd5b806303014974146102375780630c8ae53e1461025d57806312e1ebc51461027257806312f48f1514610292575b600080fd5b61024a61024536600461312e565b61063a565b6040519081526020015b60405180910390f35b61027061026b3660046131ed565b610661565b005b6102856102803660046132ac565b61075c565b6040516102549190613301565b6102706102a0366004613350565b61081a565b6102d560405180604001604052806011815260200170496e7374616e63654f776e6572526f6c6560781b81525081565b60405161025491906133c3565b6102f56102f036600461312e565b610833565b6040519015158152602001610254565b6102f56103133660046132ac565b610b53565b6102706103263660046131ed565b610bc2565b6102706103393660046133f6565b610c9b565b61035161034c36600461342f565b610d97565b6040516001600160a01b039091168152602001610254565b610371600081565b60405163ffffffff9091168152602001610254565b6102f561039436600461312e565b610dc2565b60035461024a565b6103b46103af366004613463565b610e48565b6040516001600160401b039091168152602001610254565b6102706103da366004613350565b610e8d565b6102706103ed36600461347c565b610f38565b6103b461040036600461312e565b6001600160401b0390811660009081526020819052604090206001015461010090041690565b6103b461043436600461342f565b610f4d565b61044c61044736600461312e565b610f7c565b604051610254919061349a565b6103b461271081565b610270610470366004613350565b611042565b6102f56104833660046132ac565b611057565b6102706104963660046132ac565b6110d0565b6102706104a93660046134fe565b611153565b6104b661128d565b6040516001600160e01b03199091168152602001610254565b6102f56104dd36600461352c565b6112c6565b6104f56104f0366004613572565b611575565b60408051921515835263ffffffff909116602083015201610254565b6102f561051f36600461352c565b6115fa565b6102d56040518060400160405280600981526020016841646d696e526f6c6560b81b81525081565b6102d56040518060400160405280600a8152602001695075626c6963526f6c6560b01b81525081565b610351611758565b61027061058b3660046132ac565b611774565b6102f561059e36600461312e565b611ad1565b6102d56040518060400160405280600c81526020016b496e7374616e6365526f6c6560a01b81525081565b6102f56105dc36600461352c565b611b32565b6105f46105ef3660046135b9565b611c2a565b604080516001600160401b03938416815292909116602083015201610254565b610351610622366004613612565b611c78565b61027061063536600461363e565b611ca1565b6001600160401b038116600090815260016020526040812061065b90611cc5565b92915050565b61066e335b600036611ccf565b600061067985611dcd565b6000818152600660205260409020549091506001600160a01b031660036001600160a01b03821660009081526005602052604090206001015460ff1660038111156106c6576106c66132c9565b036106f25780600360405163ecec011f60e01b81526004016106e99291906136a1565b60405180910390fd5b60036001600160401b03841660009081526020819052604090206001015460ff166003811115610724576107246132c9565b0361074757826003604051630bb1a0c760e01b81526004016106e99291906136be565b6107548183878787611e0b565b505050505050565b6040805160a080820183526000808352602080840182905283850182905260608401829052608084018290526001600160a01b038616825260058152908490208451928301909452835482526001840154929391929083019060ff1660038111156107c9576107c96132c9565b60038111156107da576107da6132c9565b81526001919091015460ff6101008204161515602083015264ffffffffff62010000820481166040840152600160381b9091041660609091015292915050565b61082333610666565b61082f82826001611ede565b5050565b6000816000610862826001600160401b0390811660009081526020819052604090206001015461010090041690565b600854604051631517388760e21b81526001600160401b038316600482015291925060009182916001600160a01b03169063d1f856ee9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156108d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108f991906136db565b336040518363ffffffff1660e01b81526004016109179291906136f8565b6040805180830381865afa158015610933573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610957919061371a565b915091508063ffffffff1660001461097157610971613752565b816109ac57335b6040516366c7cee960e01b81526001600160a01b0390911660048201526001600160401b03851660248201526044016106e9565b6109b586611ad1565b6109dd5760405163f5edec3f60e01b81526001600160401b03871660048201526024016106e9565b6001600160401b03861660009081526001602052604081206109fe90611cc5565b905060005b81811015610b48576001600160401b0388166000908152600160205260408120610a2d9083612322565b6001600160401b038a166000908152600160205260409020909150610a52908261232e565b50600854604051631517388760e21b81526001600160401b038b1660048201526001600160a01b039091169063b7d2b1629073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015610ac0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae491906136db565b836040518363ffffffff1660e01b8152600401610b029291906136f8565b600060405180830381600087803b158015610b1c57600080fd5b505af1158015610b30573d6000803e3d6000fd5b50505050508080610b409061377e565b915050610a03565b505050505050919050565b60085460405163a166aa8960e01b81526001600160a01b038381166004830152600092169063a166aa8990602401602060405180830381865afa158015610b9e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061065b9190613797565b610bcb33610666565b6000610bd685611dcd565b6000818152600660205260409020549091506001600160a01b031660016001600160a01b03821660009081526005602052604090206001015460ff166003811115610c2357610c236132c9565b03610c465780600160405163ecec011f60e01b81526004016106e99291906136a1565b60016001600160401b03841660009081526020819052604090206001015460ff166003811115610c7857610c786132c9565b0361074757826001604051630bb1a0c760e01b81526004016106e99291906136be565b610ca433610666565b610cad82611ad1565b610cd55760405163f5edec3f60e01b81526001600160401b03831660048201526024016106e9565b60016001600160401b03831660009081526020819052604090206001015460ff166003811115610d0757610d076132c9565b03610d2a57816001604051630bb1a0c760e01b81526004016106e99291906136be565b610d3381611ad1565b610d5b5760405163f5edec3f60e01b81526001600160401b03821660048201526024016106e9565b6001600160401b0391821660009081526020819052604090206001018054929091166101000268ffffffffffffffff0019909216919091179055565b600080610da383611dcd565b6000908152600660205260409020546001600160a01b03169392505050565b6001600160401b038116600090815260208190526040812060019081015460ff1690816003811115610df657610df66132c9565b1480610e1357506002816003811115610e1157610e116132c9565b145b15610e35578281604051630bb1a0c760e01b81526004016106e99291906136be565b33610e408482612343565b949350505050565b600060038281548110610e5d57610e5d6137b4565b90600052602060002090600491828204019190066008029054906101000a90046001600160401b03169050919050565b610e9633610666565b60095460405163c3c5a54760e01b81526001600160a01b0384811660048301529091169063c3c5a54790602401602060405180830381865afa158015610ee0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f049190613797565b610f2c576040516306ad3ea560e51b81526001600160a01b03831660048201526024016106e9565b61082f82826002611ede565b610f4133610666565b61082f8282600161247d565b600060026000610f5c84611dcd565b81526020810191909152604001600020546001600160401b031692915050565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526001600160401b03821660009081526020818152604091829020825160a08101909352805483526001810154909183019060ff166003811115610fec57610fec6132c9565b6003811115610ffd57610ffd6132c9565b8152600191909101546001600160401b03610100820416602083015264ffffffffff600160481b820481166040840152600160701b9091041660609091015292915050565b61104b33610666565b61082f82826003611ede565b6001600160a01b038116600090815260056020526040808220600101549051638d38cd4b60e01b81526201000090910464ffffffffff16600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b906024015b602060405180830381865af4158015610b9e573d6000803e3d6000fd5b336110d9611758565b6001600160a01b0316816001600160a01b0316146111145760405162d1953b60e31b81526001600160a01b03821660048201526024016106e9565b816001600160a01b03163b60000361114a576040516361798f2f60e11b81526001600160a01b03831660048201526024016106e9565b61082f8261283e565b61115c33610666565b6001600160a01b03821660008181526005602052604090206001015460ff1690158061119957506000816003811115611197576111976132c9565b145b156111c25760405163b8c1f4e560e01b81526001600160a01b03841660048201526024016106e9565b60018160038111156111d6576111d66132c9565b036111f857828160405163ecec011f60e01b81526004016106e99291906136a1565b6001600160a01b0383811660008181526005602052604090819020600101805461ff00191661010087151590810291909117909155600854915163167bd39560e01b8152600481019390935260248301529091169063167bd39590604401600060405180830381600087803b15801561127057600080fd5b505af1158015611284573d6000803e3d6000fd5b50505050505050565b600080516020613a2e833981519152805460009190600160a01b900460ff166112b75760006112c0565b638fb3603760e01b5b91505090565b60008260006112f5826001600160401b0390811660009081526020819052604090206001015461010090041690565b600854604051631517388760e21b81526001600160401b038316600482015291925060009182916001600160a01b03169063d1f856ee9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611368573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061138c91906136db565b336040518363ffffffff1660e01b81526004016113aa9291906136f8565b6040805180830381865afa1580156113c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ea919061371a565b915091508063ffffffff1660001461140457611404613752565b8161140f5733610978565b61141887611ad1565b6114405760405163f5edec3f60e01b81526001600160401b03881660048201526024016106e9565b6001600160401b0387166000908152600160205260409020611462908761289f565b9450841561156b57600854604051631517388760e21b81526001600160401b03891660048201526001600160a01b03909116906325c471a09073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156114d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114fb91906136db565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038916602482015260006044820152606401600060405180830381600087803b15801561155257600080fd5b505af1158015611566573d6000803e3d6000fd5b505050505b5050505092915050565b60085460405163b700961360e01b815260009182916001600160a01b039091169063b7009613906115ae908890889088906004016137ca565b6040805180830381865afa1580156115ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115ee919061371a565b91509150935093915050565b6000826000611629826001600160401b0390811660009081526020819052604090206001015461010090041690565b600854604051631517388760e21b81526001600160401b038316600482015291925060009182916001600160a01b03169063d1f856ee9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af415801561169c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116c091906136db565b336040518363ffffffff1660e01b81526004016116de9291906136f8565b6040805180830381865afa1580156116fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061171e919061371a565b915091508063ffffffff1660001461173857611738613752565b816117435733610978565b61174d8787612343565b979650505050505050565b600080516020613a2e833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156117b95750825b90506000826001600160401b031660011480156117d55750303b155b9050811580156117e3575080155b156118015760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561182b57845460ff60401b1916600160401b1785555b60008690506000816001600160a01b0316635ab1bd536040518163ffffffff1660e01b8152600401602060405180830381865afa158015611870573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061189491906137f7565b90506000826001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118fa91906137f7565b9050611905816128b4565b600880546001600160a01b038084166001600160a01b03199283161790925560098054928516929091169190911790556004805467ffffffffffffffff191661271017905561197e6119556128c8565b6040518060400160405280600981526020016841646d696e526f6c6560b81b815250600161247d565b6119b3611989612945565b6040518060400160405280600a8152602001695075626c6963526f6c6560b01b815250600161247d565b6119ea6119be612986565b6040518060400160405280600c81526020016b496e7374616e6365526f6c6560a01b815250600161247d565b611a266119f56129c2565b60405180604001604052806011815260200170496e7374616e63654f776e6572526f6c6560781b815250600261247d565b611a5b60016000611a356128c8565b6001600160401b03166001600160401b031681526020019081526020016000203061289f565b50611a6d611a67612986565b8a6112c6565b50611a81611a796129c2565b610339612986565b505050831561075457845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050505050565b6001600160401b038116600090815260208190526040808220600101549051638d38cd4b60e01b8152600160481b90910464ffffffffff16600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b906024016110b3565b600854604051631517388760e21b81526001600160401b03841660048201526000916001600160a01b03169063d1f856ee9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611ba0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bc491906136db565b846040518363ffffffff1660e01b8152600401611be29291906136f8565b6040805180830381865afa158015611bfe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c22919061371a565b509392505050565b600080611c3633610666565b611c3e6129fe565b9092509050611c4f8285600361247d565b611c5b8184600361247d565b611c658282610c9b565b611c71816103396129c2565b9250929050565b6001600160401b0382166000908152600160205260408120611c9a9083612322565b9392505050565b611caa33610666565b611cb68383600261247d565b611cc08382610c9b565b505050565b600061065b825490565b600080516020613a2e833981519152600080611d0a611cec611758565b8730611cfc600460008a8c613814565b611d059161383e565b612b40565b91509150816107545763ffffffff811615611daa57825460ff60a01b1916600160a01b178355611d38611758565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611d679392919061386e565b600060405180830381600087803b158015611d8157600080fd5b505af1158015611d95573d6000803e3d6000fd5b5050845460ff60a01b19168555506107549050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016106e9565b600080829050601f81511115611df8578260405163305a27a960e01b81526004016106e991906133c3565b8051611e03826138ae565b179392505050565b6001600160a01b038516611e3d5760405163b8c1f4e560e01b81526001600160a01b03861660048201526024016106e9565b611e4681611ad1565b611e6e5760405163f5edec3f60e01b81526001600160401b03821660048201526024016106e9565b6008546040516308d6122d60e01b815282916001600160a01b0316906308d6122d90611ea49089908890889087906004016138d5565b600060405180830381600087803b158015611ebe57600080fd5b505af1158015611ed2573d6000803e3d6000fd5b50505050505050505050565b6000611ee983611dcd565b9050611ef6848284612c37565b6001600160a01b03841660009081526005602052604090819020600101549051638d38cd4b60e01b81526201000090910464ffffffffff16600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af4158015611f6f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f939190613797565b15611fd4576001600160a01b03841660008181526005602052604090819020549051632969db5760e11b8152600481019290925260248201526044016106e9565b6000818152600660205260409020546001600160a01b03161561203557600081815260066020526040908190205490516361c0558f60e01b81526001600160a01b0380871660048301529091166024820152604481018290526064016106e9565b60085460405163a166aa8960e01b81526001600160a01b038681166004830152600092169063a166aa8990602401602060405180830381865afa158015612080573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120a49190613797565b90506040518060a001604052808381526020018460038111156120c9576120c96132c9565b8152602001821515815260200173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561211f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121439190613948565b64ffffffffff16815260200173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612198573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121bc9190613948565b64ffffffffff1690526001600160a01b0386166000908152600560209081526040909120825181559082015160018083018054909160ff199091169083600381111561220a5761220a6132c9565b021790555060408281015160019283018054606086015160809096015166ffffffffffff00199091166101009315159390930266ffffffffff00001916929092176201000064ffffffffff96871602176bffffffffff000000000000001916600160381b9590921694909402179092556000848152600660205282812080546001600160a01b03199081166001600160a01b038b169081179092556007805494850181559092527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68890920180549091169091179055517f1b6c9e4eef57701705db39664c8777cd8c15bb0f52556130a44b55e30cd501e89061231390879085908790869061396f565b60405180910390a15050505050565b6000611c9a8383612d23565b6000611c9a836001600160a01b038416612d4d565b600061234e83611ad1565b6123765760405163f5edec3f60e01b81526001600160401b03841660048201526024016106e9565b6001600160401b0383166000908152600160205260409020612398908361232e565b9050801561065b57600854604051631517388760e21b81526001600160401b03851660048201526001600160a01b039091169063b7d2b1629073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af415801561240d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061243191906136db565b846040518363ffffffff1660e01b815260040161244f9291906136f8565b600060405180830381600087803b15801561246957600080fd5b505af115801561156b573d6000803e3d6000fd5b600061248883611dcd565b9050612495848284612e47565b61249e84611ad1565b156124c7576040516330907ba960e01b81526001600160401b03851660048201526024016106e9565b6000818152600260205260409081902054905163a42e52e960e01b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063a42e52e990602401602060405180830381865af4158015612530573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125549190613797565b1561259d576000818152600260205260409081902054905163af48012f60e01b81526001600160401b0380871660048301529091166024820152604481018290526064016106e9565b6040518060a001604052808281526020018360038111156125c0576125c06132c9565b81526020016125cd6128c8565b6001600160401b0316815260200173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612624573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126489190613948565b64ffffffffff16815260200173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561269d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126c19190613948565b64ffffffffff1690526001600160401b038516600090815260208181526040909120825181559082015160018083018054909160ff199091169083600381111561270d5761270d6132c9565b02179055506040828101516001928301805460608601516080909601516dffffffffffffffffffffffffff00199091166101006001600160401b0394851681026dffffffffff000000000000000000191691909117600160481b64ffffffffff988916021764ffffffffff60701b1916600160701b979092169690960217905560008581526002602052828120805467ffffffffffffffff19168a8416908117909155600380549586018155918290527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b600486040180549590921660080290950a918202199093169302929092179055517f946b8e9c3ff1c1ed025292a56da516b43a836f1a9f35bc2ee6de53d879d6d6b090612830908690849086906139a4565b60405180910390a150505050565b600080516020613a2e83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6000611c9a836001600160a01b038416613036565b6128bc613085565b6128c5816130d0565b50565b6040516368aebf7b60e01b81526000600482018190529073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af415801561291c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061294091906136db565b905090565b6040516368aebf7b60e01b81526001600160401b03600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016128ff565b6040516368aebf7b60e01b8152610a28600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016128ff565b6040516368aebf7b60e01b815261076c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016128ff565b60045460009081906001600160401b031681612a1b8260016139c8565b9050612a288260026139c8565b6004805467ffffffffffffffff19166001600160401b039283161781556040516368aebf7b60e01b81529184169082015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015612a95573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ab991906136db565b6040516368aebf7b60e01b81526001600160401b038316600482015290945073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015612b14573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b3891906136db565b925050509091565b600080600080876001600160a01b0316878787604051602401612b65939291906137ca565b60408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251612b9a91906139e8565b600060405180830381855afa9150503d8060008114612bd5576040519150601f19603f3d011682016040523d82523d6000602084013e612bda565b606091505b50915091508115612c2c576040815110612c0c5780806020019051810190612c02919061371a565b9094509250612c2c565b6020815110612c2c5780806020019051810190612c299190613797565b93505b505094509492505050565b6000836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612c77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c9b91906137f7565b9050612ca5611758565b6001600160a01b0316816001600160a01b031614612ce957604051631db0625160e01b81526001600160a01b038086166004830152821660248201526044016106e9565b612cf2836130e1565b600003612d1d5760405163a12ddedf60e01b81526001600160a01b03851660048201526024016106e9565b50505050565b6000826000018281548110612d3a57612d3a6137b4565b9060005260206000200154905092915050565b60008181526001830160205260408120548015612e36576000612d71600183613a04565b8554909150600090612d8590600190613a04565b9050808214612dea576000866000018281548110612da557612da56137b4565b9060005260206000200154905080876000018481548110612dc857612dc86137b4565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080612dfb57612dfb613a17565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061065b565b600091505061065b565b5092915050565b604051631517388760e21b81526001600160401b038416600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612ea2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ec691906136db565b6001600160401b031690506003826003811115612ee557612ee56132c9565b148015612ef3575061271081105b15612f1c5760405163be511cc160e01b81526001600160401b03851660048201526024016106e9565b6003826003811115612f3057612f306132c9565b14158015612f4057506127108110155b8015612fd95750612f4f612945565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612fa8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fcc91906136db565b6001600160401b03168114155b1561300257604051630e08ff2d60e11b81526001600160401b03851660048201526024016106e9565b61300b836130e1565b600003612d1d57604051631367e80d60e31b81526001600160401b03851660048201526024016106e9565b600081815260018301602052604081205461307d5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561065b565b50600061065b565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166130ce57604051631afcd79f60e31b815260040160405180910390fd5b565b6130d8613085565b6128c58161283e565b600060ff8216601f81111561065b57604051632cd44ac360e21b815260040160405180910390fd5b6001600160401b03811681146128c557600080fd5b803561312981613109565b919050565b60006020828403121561314057600080fd5b8135611c9a81613109565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261317257600080fd5b81356001600160401b038082111561318c5761318c61314b565b604051601f8301601f19908116603f011681019082821181831017156131b4576131b461314b565b816040528381528660208588010111156131cd57600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806000806060858703121561320357600080fd5b84356001600160401b038082111561321a57600080fd5b61322688838901613161565b9550602087013591508082111561323c57600080fd5b818701915087601f83011261325057600080fd5b81358181111561325f57600080fd5b8860208260051b850101111561327457600080fd5b60208301955080945050505061328c6040860161311e565b905092959194509250565b6001600160a01b03811681146128c557600080fd5b6000602082840312156132be57600080fd5b8135611c9a81613297565b634e487b7160e01b600052602160045260246000fd5b600481106132fd57634e487b7160e01b600052602160045260246000fd5b9052565b8151815260208083015160a083019161331c908401826132df565b50604083015115156040830152606083015164ffffffffff8082166060850152806080860151166080850152505092915050565b6000806040838503121561336357600080fd5b823561336e81613297565b915060208301356001600160401b0381111561338957600080fd5b61339585828601613161565b9150509250929050565b60005b838110156133ba5781810151838201526020016133a2565b50506000910152565b60208152600082518060208401526133e281604085016020870161339f565b601f01601f19169190910160400192915050565b6000806040838503121561340957600080fd5b823561341481613109565b9150602083013561342481613109565b809150509250929050565b60006020828403121561344157600080fd5b81356001600160401b0381111561345757600080fd5b610e4084828501613161565b60006020828403121561347557600080fd5b5035919050565b6000806040838503121561348f57600080fd5b823561336e81613109565b8151815260208083015160a08301916134b5908401826132df565b506001600160401b036040840151166040830152606083015164ffffffffff8082166060850152806080860151166080850152505092915050565b80151581146128c557600080fd5b6000806040838503121561351157600080fd5b823561351c81613297565b91506020830135613424816134f0565b6000806040838503121561353f57600080fd5b823561354a81613109565b9150602083013561342481613297565b80356001600160e01b03198116811461312957600080fd5b60008060006060848603121561358757600080fd5b833561359281613297565b925060208401356135a281613297565b91506135b06040850161355a565b90509250925092565b600080604083850312156135cc57600080fd5b82356001600160401b03808211156135e357600080fd5b6135ef86838701613161565b9350602085013591508082111561360557600080fd5b5061339585828601613161565b6000806040838503121561362557600080fd5b823561363081613109565b946020939093013593505050565b60008060006060848603121561365357600080fd5b833561365e81613109565b925060208401356001600160401b0381111561367957600080fd5b61368586828701613161565b925050604084013561369681613109565b809150509250925092565b6001600160a01b038316815260408101611c9a60208301846132df565b6001600160401b038316815260408101611c9a60208301846132df565b6000602082840312156136ed57600080fd5b8151611c9a81613109565b6001600160401b039290921682526001600160a01b0316602082015260400190565b6000806040838503121561372d57600080fd5b8251613738816134f0565b602084015190925063ffffffff8116811461342457600080fd5b634e487b7160e01b600052600160045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006001820161379057613790613768565b5060010190565b6000602082840312156137a957600080fd5b8151611c9a816134f0565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b0393841681529190921660208201526001600160e01b0319909116604082015260600190565b60006020828403121561380957600080fd5b8151611c9a81613297565b6000808585111561382457600080fd5b8386111561383157600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156138665780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b805160208083015191908110156138cf576000198160200360031b1b821691505b50919050565b6001600160a01b038516815260606020808301829052908201849052600090859060808401835b87811015613929576001600160e01b03196139168561355a565b16825292820192908201906001016138fc565b508093505050506001600160401b038316604083015295945050505050565b60006020828403121561395a57600080fd5b815164ffffffffff81168114611c9a57600080fd5b6001600160a01b0385168152602081018490526080810161399360408301856132df565b821515606083015295945050505050565b6001600160401b03841681526020810183905260608101610e4060408301846132df565b6001600160401b03818116838216019080821115612e4057612e40613768565b600082516139fa81846020870161339f565b9190910192915050565b8181038181111561065b5761065b613768565b634e487b7160e01b600052603160045260246000fdfef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212207e0c2b137cb68f5c80d36a95807c42358f76926cdf337ff060b6ec79d1cdef4664736f6c63430008140033",
1125
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106102325760003560e01c80635dfa73db11610130578063bc62a0a5116100b8578063d05404431161007c578063d0540443146105a3578063d1f856ee146105ce578063d2192dbf146105e1578063eaf09b3714610614578063f2345aea1461062757600080fd5b8063bc62a0a514610524578063bcfb11b01461054c578063bf7e214f14610575578063c4d66de81461057d578063c6a001791461059057600080fd5b806386892313116100ff578063868923131461049b5780638fb36037146104ae578063b428b0b0146104cf578063b7009613146104e2578063b7d2b1621461051157600080fd5b80635dfa73db146104595780635fa8aad414610462578063605aa10a146104755780637a9e5e4b1461048857600080fd5b80633656481c116101be57806344ec4c301161018257806344ec4c30146103cc5780634a3a1e00146103df578063530dd456146103f25780635511a6f3146104265780635bfa50271461043957600080fd5b80633656481c1461033e57806337f135d714610369578063384c9a5714610386578063392f5f64146103995780633fd85561146103a157600080fd5b8063131021d911610205578063131021d9146102a55780631bdd0cf8146102e257806326decd401461030557806329db8c3d1461031857806330cae1871461032b57600080fd5b806303014974146102375780630c8ae53e1461025d57806312e1ebc51461027257806312f48f1514610292575b600080fd5b61024a61024536600461312e565b61063a565b6040519081526020015b60405180910390f35b61027061026b3660046131ed565b610661565b005b6102856102803660046132ac565b61075c565b6040516102549190613301565b6102706102a0366004613350565b61081a565b6102d560405180604001604052806011815260200170496e7374616e63654f776e6572526f6c6560781b81525081565b60405161025491906133c3565b6102f56102f036600461312e565b610833565b6040519015158152602001610254565b6102f56103133660046132ac565b610b53565b6102706103263660046131ed565b610bc2565b6102706103393660046133f6565b610c9b565b61035161034c36600461342f565b610d97565b6040516001600160a01b039091168152602001610254565b610371600081565b60405163ffffffff9091168152602001610254565b6102f561039436600461312e565b610dc2565b60035461024a565b6103b46103af366004613463565b610e48565b6040516001600160401b039091168152602001610254565b6102706103da366004613350565b610e8d565b6102706103ed36600461347c565b610f38565b6103b461040036600461312e565b6001600160401b0390811660009081526020819052604090206001015461010090041690565b6103b461043436600461342f565b610f4d565b61044c61044736600461312e565b610f7c565b604051610254919061349a565b6103b461271081565b610270610470366004613350565b611042565b6102f56104833660046132ac565b611057565b6102706104963660046132ac565b6110d0565b6102706104a93660046134fe565b611153565b6104b661128d565b6040516001600160e01b03199091168152602001610254565b6102f56104dd36600461352c565b6112c6565b6104f56104f0366004613572565b611575565b60408051921515835263ffffffff909116602083015201610254565b6102f561051f36600461352c565b6115fa565b6102d56040518060400160405280600981526020016841646d696e526f6c6560b81b81525081565b6102d56040518060400160405280600a8152602001695075626c6963526f6c6560b01b81525081565b610351611758565b61027061058b3660046132ac565b611774565b6102f561059e36600461312e565b611ad1565b6102d56040518060400160405280600c81526020016b496e7374616e6365526f6c6560a01b81525081565b6102f56105dc36600461352c565b611b32565b6105f46105ef3660046135b9565b611c2a565b604080516001600160401b03938416815292909116602083015201610254565b610351610622366004613612565b611c78565b61027061063536600461363e565b611ca1565b6001600160401b038116600090815260016020526040812061065b90611cc5565b92915050565b61066e335b600036611ccf565b600061067985611dcd565b6000818152600660205260409020549091506001600160a01b031660036001600160a01b03821660009081526005602052604090206001015460ff1660038111156106c6576106c66132c9565b036106f25780600360405163ecec011f60e01b81526004016106e99291906136a1565b60405180910390fd5b60036001600160401b03841660009081526020819052604090206001015460ff166003811115610724576107246132c9565b0361074757826003604051630bb1a0c760e01b81526004016106e99291906136be565b6107548183878787611e0b565b505050505050565b6040805160a080820183526000808352602080840182905283850182905260608401829052608084018290526001600160a01b038616825260058152908490208451928301909452835482526001840154929391929083019060ff1660038111156107c9576107c96132c9565b60038111156107da576107da6132c9565b81526001919091015460ff6101008204161515602083015264ffffffffff62010000820481166040840152600160381b9091041660609091015292915050565b61082333610666565b61082f82826001611ede565b5050565b6000816000610862826001600160401b0390811660009081526020819052604090206001015461010090041690565b600854604051631517388760e21b81526001600160401b038316600482015291925060009182916001600160a01b03169063d1f856ee9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156108d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108f991906136db565b336040518363ffffffff1660e01b81526004016109179291906136f8565b6040805180830381865afa158015610933573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610957919061371a565b915091508063ffffffff1660001461097157610971613752565b816109ac57335b6040516366c7cee960e01b81526001600160a01b0390911660048201526001600160401b03851660248201526044016106e9565b6109b586611ad1565b6109dd5760405163f5edec3f60e01b81526001600160401b03871660048201526024016106e9565b6001600160401b03861660009081526001602052604081206109fe90611cc5565b905060005b81811015610b48576001600160401b0388166000908152600160205260408120610a2d9083612322565b6001600160401b038a166000908152600160205260409020909150610a52908261232e565b50600854604051631517388760e21b81526001600160401b038b1660048201526001600160a01b039091169063b7d2b1629073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015610ac0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae491906136db565b836040518363ffffffff1660e01b8152600401610b029291906136f8565b600060405180830381600087803b158015610b1c57600080fd5b505af1158015610b30573d6000803e3d6000fd5b50505050508080610b409061377e565b915050610a03565b505050505050919050565b60085460405163a166aa8960e01b81526001600160a01b038381166004830152600092169063a166aa8990602401602060405180830381865afa158015610b9e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061065b9190613797565b610bcb33610666565b6000610bd685611dcd565b6000818152600660205260409020549091506001600160a01b031660016001600160a01b03821660009081526005602052604090206001015460ff166003811115610c2357610c236132c9565b03610c465780600160405163ecec011f60e01b81526004016106e99291906136a1565b60016001600160401b03841660009081526020819052604090206001015460ff166003811115610c7857610c786132c9565b0361074757826001604051630bb1a0c760e01b81526004016106e99291906136be565b610ca433610666565b610cad82611ad1565b610cd55760405163f5edec3f60e01b81526001600160401b03831660048201526024016106e9565b60016001600160401b03831660009081526020819052604090206001015460ff166003811115610d0757610d076132c9565b03610d2a57816001604051630bb1a0c760e01b81526004016106e99291906136be565b610d3381611ad1565b610d5b5760405163f5edec3f60e01b81526001600160401b03821660048201526024016106e9565b6001600160401b0391821660009081526020819052604090206001018054929091166101000268ffffffffffffffff0019909216919091179055565b600080610da383611dcd565b6000908152600660205260409020546001600160a01b03169392505050565b6001600160401b038116600090815260208190526040812060019081015460ff1690816003811115610df657610df66132c9565b1480610e1357506002816003811115610e1157610e116132c9565b145b15610e35578281604051630bb1a0c760e01b81526004016106e99291906136be565b33610e408482612343565b949350505050565b600060038281548110610e5d57610e5d6137b4565b90600052602060002090600491828204019190066008029054906101000a90046001600160401b03169050919050565b610e9633610666565b60095460405163c3c5a54760e01b81526001600160a01b0384811660048301529091169063c3c5a54790602401602060405180830381865afa158015610ee0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f049190613797565b610f2c576040516306ad3ea560e51b81526001600160a01b03831660048201526024016106e9565b61082f82826002611ede565b610f4133610666565b61082f8282600161247d565b600060026000610f5c84611dcd565b81526020810191909152604001600020546001600160401b031692915050565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526001600160401b03821660009081526020818152604091829020825160a08101909352805483526001810154909183019060ff166003811115610fec57610fec6132c9565b6003811115610ffd57610ffd6132c9565b8152600191909101546001600160401b03610100820416602083015264ffffffffff600160481b820481166040840152600160701b9091041660609091015292915050565b61104b33610666565b61082f82826003611ede565b6001600160a01b038116600090815260056020526040808220600101549051638d38cd4b60e01b81526201000090910464ffffffffff16600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b906024015b602060405180830381865af4158015610b9e573d6000803e3d6000fd5b336110d9611758565b6001600160a01b0316816001600160a01b0316146111145760405162d1953b60e31b81526001600160a01b03821660048201526024016106e9565b816001600160a01b03163b60000361114a576040516361798f2f60e11b81526001600160a01b03831660048201526024016106e9565b61082f8261283e565b61115c33610666565b6001600160a01b03821660008181526005602052604090206001015460ff1690158061119957506000816003811115611197576111976132c9565b145b156111c25760405163b8c1f4e560e01b81526001600160a01b03841660048201526024016106e9565b60018160038111156111d6576111d66132c9565b036111f857828160405163ecec011f60e01b81526004016106e99291906136a1565b6001600160a01b0383811660008181526005602052604090819020600101805461ff00191661010087151590810291909117909155600854915163167bd39560e01b8152600481019390935260248301529091169063167bd39590604401600060405180830381600087803b15801561127057600080fd5b505af1158015611284573d6000803e3d6000fd5b50505050505050565b600080516020613a2e833981519152805460009190600160a01b900460ff166112b75760006112c0565b638fb3603760e01b5b91505090565b60008260006112f5826001600160401b0390811660009081526020819052604090206001015461010090041690565b600854604051631517388760e21b81526001600160401b038316600482015291925060009182916001600160a01b03169063d1f856ee9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611368573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061138c91906136db565b336040518363ffffffff1660e01b81526004016113aa9291906136f8565b6040805180830381865afa1580156113c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ea919061371a565b915091508063ffffffff1660001461140457611404613752565b8161140f5733610978565b61141887611ad1565b6114405760405163f5edec3f60e01b81526001600160401b03881660048201526024016106e9565b6001600160401b0387166000908152600160205260409020611462908761289f565b9450841561156b57600854604051631517388760e21b81526001600160401b03891660048201526001600160a01b03909116906325c471a09073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156114d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114fb91906136db565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038916602482015260006044820152606401600060405180830381600087803b15801561155257600080fd5b505af1158015611566573d6000803e3d6000fd5b505050505b5050505092915050565b60085460405163b700961360e01b815260009182916001600160a01b039091169063b7009613906115ae908890889088906004016137ca565b6040805180830381865afa1580156115ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115ee919061371a565b91509150935093915050565b6000826000611629826001600160401b0390811660009081526020819052604090206001015461010090041690565b600854604051631517388760e21b81526001600160401b038316600482015291925060009182916001600160a01b03169063d1f856ee9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af415801561169c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116c091906136db565b336040518363ffffffff1660e01b81526004016116de9291906136f8565b6040805180830381865afa1580156116fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061171e919061371a565b915091508063ffffffff1660001461173857611738613752565b816117435733610978565b61174d8787612343565b979650505050505050565b600080516020613a2e833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156117b95750825b90506000826001600160401b031660011480156117d55750303b155b9050811580156117e3575080155b156118015760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561182b57845460ff60401b1916600160401b1785555b60008690506000816001600160a01b0316635ab1bd536040518163ffffffff1660e01b8152600401602060405180830381865afa158015611870573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061189491906137f7565b90506000826001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118fa91906137f7565b9050611905816128b4565b600880546001600160a01b038084166001600160a01b03199283161790925560098054928516929091169190911790556004805467ffffffffffffffff191661271017905561197e6119556128c8565b6040518060400160405280600981526020016841646d696e526f6c6560b81b815250600161247d565b6119b3611989612945565b6040518060400160405280600a8152602001695075626c6963526f6c6560b01b815250600161247d565b6119ea6119be612986565b6040518060400160405280600c81526020016b496e7374616e6365526f6c6560a01b815250600161247d565b611a266119f56129c2565b60405180604001604052806011815260200170496e7374616e63654f776e6572526f6c6560781b815250600261247d565b611a5b60016000611a356128c8565b6001600160401b03166001600160401b031681526020019081526020016000203061289f565b50611a6d611a67612986565b8a6112c6565b50611a81611a796129c2565b610339612986565b505050831561075457845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050505050565b6001600160401b038116600090815260208190526040808220600101549051638d38cd4b60e01b8152600160481b90910464ffffffffff16600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b906024016110b3565b600854604051631517388760e21b81526001600160401b03841660048201526000916001600160a01b03169063d1f856ee9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611ba0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bc491906136db565b846040518363ffffffff1660e01b8152600401611be29291906136f8565b6040805180830381865afa158015611bfe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c22919061371a565b509392505050565b600080611c3633610666565b611c3e6129fe565b9092509050611c4f8285600361247d565b611c5b8184600361247d565b611c658282610c9b565b611c71816103396129c2565b9250929050565b6001600160401b0382166000908152600160205260408120611c9a9083612322565b9392505050565b611caa33610666565b611cb68383600261247d565b611cc08382610c9b565b505050565b600061065b825490565b600080516020613a2e833981519152600080611d0a611cec611758565b8730611cfc600460008a8c613814565b611d059161383e565b612b40565b91509150816107545763ffffffff811615611daa57825460ff60a01b1916600160a01b178355611d38611758565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611d679392919061386e565b600060405180830381600087803b158015611d8157600080fd5b505af1158015611d95573d6000803e3d6000fd5b5050845460ff60a01b19168555506107549050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016106e9565b600080829050601f81511115611df8578260405163305a27a960e01b81526004016106e991906133c3565b8051611e03826138ae565b179392505050565b6001600160a01b038516611e3d5760405163b8c1f4e560e01b81526001600160a01b03861660048201526024016106e9565b611e4681611ad1565b611e6e5760405163f5edec3f60e01b81526001600160401b03821660048201526024016106e9565b6008546040516308d6122d60e01b815282916001600160a01b0316906308d6122d90611ea49089908890889087906004016138d5565b600060405180830381600087803b158015611ebe57600080fd5b505af1158015611ed2573d6000803e3d6000fd5b50505050505050505050565b6000611ee983611dcd565b9050611ef6848284612c37565b6001600160a01b03841660009081526005602052604090819020600101549051638d38cd4b60e01b81526201000090910464ffffffffff16600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af4158015611f6f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f939190613797565b15611fd4576001600160a01b03841660008181526005602052604090819020549051632969db5760e11b8152600481019290925260248201526044016106e9565b6000818152600660205260409020546001600160a01b03161561203557600081815260066020526040908190205490516361c0558f60e01b81526001600160a01b0380871660048301529091166024820152604481018290526064016106e9565b60085460405163a166aa8960e01b81526001600160a01b038681166004830152600092169063a166aa8990602401602060405180830381865afa158015612080573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120a49190613797565b90506040518060a001604052808381526020018460038111156120c9576120c96132c9565b8152602001821515815260200173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561211f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121439190613948565b64ffffffffff16815260200173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612198573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121bc9190613948565b64ffffffffff1690526001600160a01b0386166000908152600560209081526040909120825181559082015160018083018054909160ff199091169083600381111561220a5761220a6132c9565b021790555060408281015160019283018054606086015160809096015166ffffffffffff00199091166101009315159390930266ffffffffff00001916929092176201000064ffffffffff96871602176bffffffffff000000000000001916600160381b9590921694909402179092556000848152600660205282812080546001600160a01b03199081166001600160a01b038b169081179092556007805494850181559092527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68890920180549091169091179055517f1b6c9e4eef57701705db39664c8777cd8c15bb0f52556130a44b55e30cd501e89061231390879085908790869061396f565b60405180910390a15050505050565b6000611c9a8383612d23565b6000611c9a836001600160a01b038416612d4d565b600061234e83611ad1565b6123765760405163f5edec3f60e01b81526001600160401b03841660048201526024016106e9565b6001600160401b0383166000908152600160205260409020612398908361232e565b9050801561065b57600854604051631517388760e21b81526001600160401b03851660048201526001600160a01b039091169063b7d2b1629073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af415801561240d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061243191906136db565b846040518363ffffffff1660e01b815260040161244f9291906136f8565b600060405180830381600087803b15801561246957600080fd5b505af115801561156b573d6000803e3d6000fd5b600061248883611dcd565b9050612495848284612e47565b61249e84611ad1565b156124c7576040516330907ba960e01b81526001600160401b03851660048201526024016106e9565b6000818152600260205260409081902054905163a42e52e960e01b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063a42e52e990602401602060405180830381865af4158015612530573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125549190613797565b1561259d576000818152600260205260409081902054905163af48012f60e01b81526001600160401b0380871660048301529091166024820152604481018290526064016106e9565b6040518060a001604052808281526020018360038111156125c0576125c06132c9565b81526020016125cd6128c8565b6001600160401b0316815260200173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612624573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126489190613948565b64ffffffffff16815260200173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561269d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126c19190613948565b64ffffffffff1690526001600160401b038516600090815260208181526040909120825181559082015160018083018054909160ff199091169083600381111561270d5761270d6132c9565b02179055506040828101516001928301805460608601516080909601516dffffffffffffffffffffffffff00199091166101006001600160401b0394851681026dffffffffff000000000000000000191691909117600160481b64ffffffffff988916021764ffffffffff60701b1916600160701b979092169690960217905560008581526002602052828120805467ffffffffffffffff19168a8416908117909155600380549586018155918290527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b600486040180549590921660080290950a918202199093169302929092179055517f946b8e9c3ff1c1ed025292a56da516b43a836f1a9f35bc2ee6de53d879d6d6b090612830908690849086906139a4565b60405180910390a150505050565b600080516020613a2e83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6000611c9a836001600160a01b038416613036565b6128bc613085565b6128c5816130d0565b50565b6040516368aebf7b60e01b81526000600482018190529073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af415801561291c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061294091906136db565b905090565b6040516368aebf7b60e01b81526001600160401b03600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016128ff565b6040516368aebf7b60e01b8152610a28600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016128ff565b6040516368aebf7b60e01b815261076c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016128ff565b60045460009081906001600160401b031681612a1b8260016139c8565b9050612a288260026139c8565b6004805467ffffffffffffffff19166001600160401b039283161781556040516368aebf7b60e01b81529184169082015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015612a95573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ab991906136db565b6040516368aebf7b60e01b81526001600160401b038316600482015290945073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015612b14573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b3891906136db565b925050509091565b600080600080876001600160a01b0316878787604051602401612b65939291906137ca565b60408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251612b9a91906139e8565b600060405180830381855afa9150503d8060008114612bd5576040519150601f19603f3d011682016040523d82523d6000602084013e612bda565b606091505b50915091508115612c2c576040815110612c0c5780806020019051810190612c02919061371a565b9094509250612c2c565b6020815110612c2c5780806020019051810190612c299190613797565b93505b505094509492505050565b6000836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612c77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c9b91906137f7565b9050612ca5611758565b6001600160a01b0316816001600160a01b031614612ce957604051631db0625160e01b81526001600160a01b038086166004830152821660248201526044016106e9565b612cf2836130e1565b600003612d1d5760405163a12ddedf60e01b81526001600160a01b03851660048201526024016106e9565b50505050565b6000826000018281548110612d3a57612d3a6137b4565b9060005260206000200154905092915050565b60008181526001830160205260408120548015612e36576000612d71600183613a04565b8554909150600090612d8590600190613a04565b9050808214612dea576000866000018281548110612da557612da56137b4565b9060005260206000200154905080876000018481548110612dc857612dc86137b4565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080612dfb57612dfb613a17565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061065b565b600091505061065b565b5092915050565b604051631517388760e21b81526001600160401b038416600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612ea2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ec691906136db565b6001600160401b031690506003826003811115612ee557612ee56132c9565b148015612ef3575061271081105b15612f1c5760405163be511cc160e01b81526001600160401b03851660048201526024016106e9565b6003826003811115612f3057612f306132c9565b14158015612f4057506127108110155b8015612fd95750612f4f612945565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612fa8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fcc91906136db565b6001600160401b03168114155b1561300257604051630e08ff2d60e11b81526001600160401b03851660048201526024016106e9565b61300b836130e1565b600003612d1d57604051631367e80d60e31b81526001600160401b03851660048201526024016106e9565b600081815260018301602052604081205461307d5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561065b565b50600061065b565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166130ce57604051631afcd79f60e31b815260040160405180910390fd5b565b6130d8613085565b6128c58161283e565b600060ff8216601f81111561065b57604051632cd44ac360e21b815260040160405180910390fd5b6001600160401b03811681146128c557600080fd5b803561312981613109565b919050565b60006020828403121561314057600080fd5b8135611c9a81613109565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261317257600080fd5b81356001600160401b038082111561318c5761318c61314b565b604051601f8301601f19908116603f011681019082821181831017156131b4576131b461314b565b816040528381528660208588010111156131cd57600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806000806060858703121561320357600080fd5b84356001600160401b038082111561321a57600080fd5b61322688838901613161565b9550602087013591508082111561323c57600080fd5b818701915087601f83011261325057600080fd5b81358181111561325f57600080fd5b8860208260051b850101111561327457600080fd5b60208301955080945050505061328c6040860161311e565b905092959194509250565b6001600160a01b03811681146128c557600080fd5b6000602082840312156132be57600080fd5b8135611c9a81613297565b634e487b7160e01b600052602160045260246000fd5b600481106132fd57634e487b7160e01b600052602160045260246000fd5b9052565b8151815260208083015160a083019161331c908401826132df565b50604083015115156040830152606083015164ffffffffff8082166060850152806080860151166080850152505092915050565b6000806040838503121561336357600080fd5b823561336e81613297565b915060208301356001600160401b0381111561338957600080fd5b61339585828601613161565b9150509250929050565b60005b838110156133ba5781810151838201526020016133a2565b50506000910152565b60208152600082518060208401526133e281604085016020870161339f565b601f01601f19169190910160400192915050565b6000806040838503121561340957600080fd5b823561341481613109565b9150602083013561342481613109565b809150509250929050565b60006020828403121561344157600080fd5b81356001600160401b0381111561345757600080fd5b610e4084828501613161565b60006020828403121561347557600080fd5b5035919050565b6000806040838503121561348f57600080fd5b823561336e81613109565b8151815260208083015160a08301916134b5908401826132df565b506001600160401b036040840151166040830152606083015164ffffffffff8082166060850152806080860151166080850152505092915050565b80151581146128c557600080fd5b6000806040838503121561351157600080fd5b823561351c81613297565b91506020830135613424816134f0565b6000806040838503121561353f57600080fd5b823561354a81613109565b9150602083013561342481613297565b80356001600160e01b03198116811461312957600080fd5b60008060006060848603121561358757600080fd5b833561359281613297565b925060208401356135a281613297565b91506135b06040850161355a565b90509250925092565b600080604083850312156135cc57600080fd5b82356001600160401b03808211156135e357600080fd5b6135ef86838701613161565b9350602085013591508082111561360557600080fd5b5061339585828601613161565b6000806040838503121561362557600080fd5b823561363081613109565b946020939093013593505050565b60008060006060848603121561365357600080fd5b833561365e81613109565b925060208401356001600160401b0381111561367957600080fd5b61368586828701613161565b925050604084013561369681613109565b809150509250925092565b6001600160a01b038316815260408101611c9a60208301846132df565b6001600160401b038316815260408101611c9a60208301846132df565b6000602082840312156136ed57600080fd5b8151611c9a81613109565b6001600160401b039290921682526001600160a01b0316602082015260400190565b6000806040838503121561372d57600080fd5b8251613738816134f0565b602084015190925063ffffffff8116811461342457600080fd5b634e487b7160e01b600052600160045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006001820161379057613790613768565b5060010190565b6000602082840312156137a957600080fd5b8151611c9a816134f0565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b0393841681529190921660208201526001600160e01b0319909116604082015260600190565b60006020828403121561380957600080fd5b8151611c9a81613297565b6000808585111561382457600080fd5b8386111561383157600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156138665780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b805160208083015191908110156138cf576000198160200360031b1b821691505b50919050565b6001600160a01b038516815260606020808301829052908201849052600090859060808401835b87811015613929576001600160e01b03196139168561355a565b16825292820192908201906001016138fc565b508093505050506001600160401b038316604083015295945050505050565b60006020828403121561395a57600080fd5b815164ffffffffff81168114611c9a57600080fd5b6001600160a01b0385168152602081018490526080810161399360408301856132df565b821515606083015295945050505050565b6001600160401b03841681526020810183905260608101610e4060408301846132df565b6001600160401b03818116838216019080821115612e4057612e40613768565b600082516139fa81846020870161339f565b9190910192915050565b8181038181111561065b5761065b613768565b634e487b7160e01b600052603160045260246000fdfef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212207e0c2b137cb68f5c80d36a95807c42358f76926cdf337ff060b6ec79d1cdef4664736f6c63430008140033",
836
1126
  "linkReferences": {
837
1127
  "contracts/types/RoleId.sol": {
838
1128
  "RoleIdLib": [
839
1129
  {
840
1130
  "length": 20,
841
- "start": 2210
1131
+ "start": 2235
842
1132
  },
843
1133
  {
844
1134
  "length": 20,
845
- "start": 3915
1135
+ "start": 2726
846
1136
  },
847
1137
  {
848
1138
  "length": 20,
849
- "start": 4469
1139
+ "start": 4942
850
1140
  },
851
1141
  {
852
1142
  "length": 20,
853
- "start": 5266
1143
+ "start": 5309
854
1144
  },
855
1145
  {
856
1146
  "length": 20,
857
- "start": 5568
1147
+ "start": 5762
858
1148
  },
859
1149
  {
860
1150
  "length": 20,
861
- "start": 6093
1151
+ "start": 7046
862
1152
  },
863
1153
  {
864
1154
  "length": 20,
865
- "start": 10094
866
- }
867
- ]
868
- },
869
- "contracts/types/Timestamp.sol": {
870
- "TimestampLib": [
1155
+ "start": 9203
1156
+ },
1157
+ {
1158
+ "length": 20,
1159
+ "start": 9494
1160
+ },
1161
+ {
1162
+ "length": 20,
1163
+ "start": 10497
1164
+ },
1165
+ {
1166
+ "length": 20,
1167
+ "start": 10628
1168
+ },
1169
+ {
1170
+ "length": 20,
1171
+ "start": 10688
1172
+ },
1173
+ {
1174
+ "length": 20,
1175
+ "start": 10748
1176
+ },
871
1177
  {
872
1178
  "length": 20,
873
- "start": 2923
1179
+ "start": 10875
874
1180
  },
875
1181
  {
876
1182
  "length": 20,
877
- "start": 3511
1183
+ "start": 11002
878
1184
  },
879
1185
  {
880
1186
  "length": 20,
881
- "start": 6006
1187
+ "start": 11912
882
1188
  },
883
1189
  {
884
1190
  "length": 20,
885
- "start": 6835
1191
+ "start": 12174
1192
+ }
1193
+ ]
1194
+ },
1195
+ "contracts/types/Timestamp.sol": {
1196
+ "TimestampLib": [
1197
+ {
1198
+ "length": 20,
1199
+ "start": 4277
886
1200
  },
887
1201
  {
888
1202
  "length": 20,
889
- "start": 7314
1203
+ "start": 6960
890
1204
  },
891
1205
  {
892
1206
  "length": 20,
893
- "start": 7438
1207
+ "start": 8021
894
1208
  },
895
1209
  {
896
1210
  "length": 20,
897
- "start": 7967
1211
+ "start": 8440
898
1212
  },
899
1213
  {
900
1214
  "length": 20,
901
- "start": 8091
1215
+ "start": 8561
902
1216
  },
903
1217
  {
904
1218
  "length": 20,
905
- "start": 9653
1219
+ "start": 9725
1220
+ },
1221
+ {
1222
+ "length": 20,
1223
+ "start": 9846
906
1224
  }
907
1225
  ]
908
1226
  }
@@ -912,71 +1230,99 @@
912
1230
  "RoleIdLib": [
913
1231
  {
914
1232
  "length": 20,
915
- "start": 2178
1233
+ "start": 2203
916
1234
  },
917
1235
  {
918
1236
  "length": 20,
919
- "start": 3883
1237
+ "start": 2694
920
1238
  },
921
1239
  {
922
1240
  "length": 20,
923
- "start": 4437
1241
+ "start": 4910
924
1242
  },
925
1243
  {
926
1244
  "length": 20,
927
- "start": 5234
1245
+ "start": 5277
928
1246
  },
929
1247
  {
930
1248
  "length": 20,
931
- "start": 5536
1249
+ "start": 5730
932
1250
  },
933
1251
  {
934
1252
  "length": 20,
935
- "start": 6061
1253
+ "start": 7014
936
1254
  },
937
1255
  {
938
1256
  "length": 20,
939
- "start": 10062
940
- }
941
- ]
942
- },
943
- "contracts/types/Timestamp.sol": {
944
- "TimestampLib": [
1257
+ "start": 9171
1258
+ },
1259
+ {
1260
+ "length": 20,
1261
+ "start": 9462
1262
+ },
1263
+ {
1264
+ "length": 20,
1265
+ "start": 10465
1266
+ },
1267
+ {
1268
+ "length": 20,
1269
+ "start": 10596
1270
+ },
1271
+ {
1272
+ "length": 20,
1273
+ "start": 10656
1274
+ },
945
1275
  {
946
1276
  "length": 20,
947
- "start": 2891
1277
+ "start": 10716
948
1278
  },
949
1279
  {
950
1280
  "length": 20,
951
- "start": 3479
1281
+ "start": 10843
952
1282
  },
953
1283
  {
954
1284
  "length": 20,
955
- "start": 5974
1285
+ "start": 10970
1286
+ },
1287
+ {
1288
+ "length": 20,
1289
+ "start": 11880
1290
+ },
1291
+ {
1292
+ "length": 20,
1293
+ "start": 12142
1294
+ }
1295
+ ]
1296
+ },
1297
+ "contracts/types/Timestamp.sol": {
1298
+ "TimestampLib": [
1299
+ {
1300
+ "length": 20,
1301
+ "start": 4245
956
1302
  },
957
1303
  {
958
1304
  "length": 20,
959
- "start": 6803
1305
+ "start": 6928
960
1306
  },
961
1307
  {
962
1308
  "length": 20,
963
- "start": 7282
1309
+ "start": 7989
964
1310
  },
965
1311
  {
966
1312
  "length": 20,
967
- "start": 7406
1313
+ "start": 8408
968
1314
  },
969
1315
  {
970
1316
  "length": 20,
971
- "start": 7935
1317
+ "start": 8529
972
1318
  },
973
1319
  {
974
1320
  "length": 20,
975
- "start": 8059
1321
+ "start": 9693
976
1322
  },
977
1323
  {
978
1324
  "length": 20,
979
- "start": 9621
1325
+ "start": 9814
980
1326
  }
981
1327
  ]
982
1328
  }