@etherisc/gif-next 0.0.2-de220d6-949 → 0.0.2-e1e92ab-754

Sign up to get free protection for your applications and to get access to all the features.
Files changed (302) hide show
  1. package/README.md +82 -0
  2. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +1 -1
  3. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +166 -39
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +557 -0
  6. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +1 -1
  7. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +119 -39
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +177 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +108 -156
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +67 -139
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +417 -88
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +360 -51
  18. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  19. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  20. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +2 -34
  21. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  22. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  23. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  24. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  26. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  28. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  29. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
  30. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +2 -2
  31. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
  32. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
  33. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
  34. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
  35. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  36. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  37. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  38. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +762 -698
  39. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +1 -1
  40. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  41. package/artifacts/contracts/instance/Instance.sol/Instance.json +945 -817
  42. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +224 -43
  44. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +1 -1
  45. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +51 -1
  46. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  47. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +49 -0
  48. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  49. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +1 -1
  50. package/artifacts/contracts/instance/base/IService.sol/IService.json +174 -53
  51. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +1 -1
  52. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.json +263 -45
  53. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  54. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +41 -23
  55. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  56. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +4 -4
  57. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +1 -1
  58. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +1 -1
  59. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +220 -52
  60. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +1 -1
  61. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +55 -54
  62. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +1 -1
  63. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +1 -1
  64. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +56 -55
  65. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +1 -1
  66. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +22 -93
  67. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +1 -1
  68. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +1 -1
  69. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +22 -93
  70. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +4 -0
  71. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +10 -0
  72. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +4 -0
  73. package/artifacts/contracts/instance/module/{access/IAccess.sol/IAccess.json → distribution/IDistribution.sol/IDistribution.json} +2 -2
  74. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +4 -0
  75. package/artifacts/contracts/instance/module/{compensation/ICompensation.sol/ICompensation.json → distribution/IDistribution.sol/IDistributionModule.json} +2 -2
  76. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +1 -1
  77. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +1 -1
  78. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +53 -53
  79. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +1 -1
  80. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +53 -53
  81. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +1 -1
  82. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +1 -1
  83. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +29 -14
  84. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +1 -1
  85. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +28 -13
  86. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +1 -1
  87. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +1 -1
  88. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +104 -1
  89. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +1 -1
  90. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +126 -5
  91. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +1 -1
  92. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +1 -1
  93. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +326 -221
  94. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  95. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +2 -2
  96. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +1 -1
  97. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +326 -221
  98. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +1 -1
  99. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +374 -70
  100. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  101. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +630 -0
  102. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +1 -1
  103. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +176 -74
  104. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  105. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +446 -0
  106. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  107. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +235 -50
  108. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  109. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +325 -51
  110. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  111. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +335 -53
  112. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  113. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +468 -73
  114. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  115. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +141 -12
  116. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +1 -1
  117. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +5 -0
  118. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  119. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +190 -51
  120. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  121. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +872 -0
  122. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  123. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
  124. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  125. package/artifacts/contracts/registry/Registry.sol/Registry.json +380 -139
  126. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  127. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1245 -0
  128. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  129. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +490 -0
  130. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  131. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  132. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  133. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
  134. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  135. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +127 -0
  136. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  137. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +117 -37
  138. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  139. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +55 -14
  140. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  141. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +158 -0
  142. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  143. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +349 -0
  144. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  145. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +190 -37
  146. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  147. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  148. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  149. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +78 -14
  150. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +4 -0
  151. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +557 -0
  152. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  153. package/artifacts/contracts/test/TestFee.sol/TestFee.json +4 -4
  154. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +1 -1
  155. package/artifacts/contracts/test/TestPool.sol/TestPool.json +417 -88
  156. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +1 -1
  157. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +407 -56
  158. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  159. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +204 -36
  160. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  161. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +2 -2
  162. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  163. package/artifacts/contracts/test/TestService.sol/TestService.json +267 -62
  164. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  165. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
  166. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  167. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  168. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  169. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +89 -25
  170. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  171. package/artifacts/contracts/test/Usdc.sol/USDC.json +91 -53
  172. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  173. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  174. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  175. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  176. package/artifacts/contracts/types/Fee.sol/FeeLib.json +52 -13
  177. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  178. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  179. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  180. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
  181. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  182. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +2 -2
  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/ReferralId.sol/ReferralIdLib.dbg.json +4 -0
  186. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.json +99 -0
  187. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
  188. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
  189. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  190. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  191. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  192. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  193. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  194. package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
  195. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  196. package/artifacts/contracts/types/UFixed.sol/{UFixedMathLib.json → UFixedLib.json} +3 -3
  197. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  198. package/artifacts/contracts/types/Version.sol/VersionLib.json +40 -2
  199. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  200. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
  201. package/contracts/components/BaseComponent.sol +11 -20
  202. package/contracts/components/Distribution.sol +155 -0
  203. package/contracts/components/IBaseComponent.sol +1 -1
  204. package/contracts/components/IDistributionComponent.sol +46 -0
  205. package/contracts/components/IPoolComponent.sol +15 -8
  206. package/contracts/components/IProductComponent.sol +26 -8
  207. package/contracts/components/Pool.sol +99 -27
  208. package/contracts/components/Product.sol +204 -22
  209. package/contracts/experiment/errors/Revert.sol +4 -13
  210. package/contracts/instance/IInstance.sol +11 -11
  211. package/contracts/instance/Instance.sol +28 -13
  212. package/contracts/instance/base/ComponentServiceBase.sol +13 -6
  213. package/contracts/instance/base/IInstanceBase.sol +11 -2
  214. package/contracts/instance/base/IKeyValueStore.sol +4 -3
  215. package/contracts/instance/base/InstanceBase.sol +19 -10
  216. package/contracts/instance/base/KeyValueStore.sol +12 -7
  217. package/contracts/instance/base/Lifecycle.sol +15 -10
  218. package/contracts/instance/base/ModuleBase.sol +22 -17
  219. package/contracts/instance/base/ServiceBase.sol +20 -13
  220. package/contracts/instance/module/bundle/BundleModule.sol +10 -12
  221. package/contracts/instance/module/bundle/IBundle.sol +6 -11
  222. package/contracts/instance/module/component/ComponentModule.sol +33 -57
  223. package/contracts/instance/module/component/IComponent.sol +6 -31
  224. package/contracts/instance/module/distribution/DistributionModule.sol +17 -0
  225. package/contracts/instance/module/distribution/IDistribution.sol +10 -0
  226. package/contracts/instance/module/policy/IPolicy.sol +11 -9
  227. package/contracts/instance/module/policy/PolicyModule.sol +33 -19
  228. package/contracts/instance/module/pool/IPoolModule.sol +4 -4
  229. package/contracts/instance/module/pool/PoolModule.sol +23 -15
  230. package/contracts/instance/module/risk/IRisk.sol +18 -2
  231. package/contracts/instance/module/risk/RiskModule.sol +56 -2
  232. package/contracts/instance/module/treasury/ITreasury.sol +31 -50
  233. package/contracts/instance/module/treasury/TokenHandler.sol +1 -1
  234. package/contracts/instance/module/treasury/TreasuryModule.sol +70 -91
  235. package/contracts/instance/service/ComponentOwnerService.sol +238 -93
  236. package/contracts/instance/service/DistributionService.sol +54 -0
  237. package/contracts/instance/service/IComponentOwnerService.sol +0 -2
  238. package/contracts/instance/service/IDistributionService.sol +12 -0
  239. package/contracts/instance/service/IPoolService.sol +7 -0
  240. package/contracts/instance/service/IProductService.sol +56 -7
  241. package/contracts/instance/service/PoolService.sol +49 -23
  242. package/contracts/instance/service/ProductService.sol +249 -93
  243. package/contracts/registry/ChainNft.sol +42 -14
  244. package/contracts/registry/IChainNft.sol +2 -1
  245. package/contracts/registry/IRegistry.sol +27 -27
  246. package/contracts/registry/IRegistryService.sol +35 -0
  247. package/contracts/registry/ITransferInterceptor.sol +6 -0
  248. package/contracts/registry/Registry.sol +313 -268
  249. package/contracts/registry/RegistryService.sol +441 -0
  250. package/contracts/registry/RegistryServiceManager.sol +63 -0
  251. package/contracts/shared/ContractDeployerLib.sol +72 -0
  252. package/contracts/shared/INftOwnable.sol +22 -0
  253. package/contracts/shared/IRegisterable.sol +8 -15
  254. package/contracts/shared/IVersionable.sol +55 -11
  255. package/contracts/shared/NftOwnable.sol +136 -0
  256. package/contracts/shared/ProxyManager.sol +94 -0
  257. package/contracts/shared/Registerable.sol +62 -59
  258. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  259. package/contracts/shared/Versionable.sol +112 -54
  260. package/contracts/test/TestDistribution.sol +22 -0
  261. package/contracts/test/TestFee.sol +2 -2
  262. package/contracts/test/TestPool.sol +7 -2
  263. package/contracts/test/TestProduct.sol +37 -7
  264. package/contracts/test/TestRegisterable.sol +5 -6
  265. package/contracts/test/TestService.sol +5 -11
  266. package/contracts/types/Fee.sol +10 -5
  267. package/contracts/types/ObjectType.sol +24 -8
  268. package/contracts/types/ReferralId.sol +48 -0
  269. package/contracts/types/RiskId.sol +43 -0
  270. package/contracts/types/RoleId.sol +9 -2
  271. package/contracts/types/UFixed.sol +128 -12
  272. package/contracts/types/Version.sol +9 -0
  273. package/package.json +4 -3
  274. package/artifacts/contracts/experiment/errors/IncrementRevert.sol/IIncrementRevert.dbg.json +0 -4
  275. package/artifacts/contracts/experiment/errors/IncrementRevert.sol/IIncrementRevert.json +0 -27
  276. package/artifacts/contracts/experiment/errors/IncrementRevert.sol/IncrementRevert.dbg.json +0 -4
  277. package/artifacts/contracts/experiment/errors/IncrementRevert.sol/IncrementRevert.json +0 -83
  278. package/artifacts/contracts/experiment/errors/Revert.sol/IRevert.dbg.json +0 -4
  279. package/artifacts/contracts/experiment/errors/Revert.sol/IRevert.json +0 -75
  280. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  281. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  282. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  283. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  284. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  285. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +0 -4
  286. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +0 -10
  287. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +0 -4
  288. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +0 -4
  289. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.json +0 -10
  290. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  291. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +0 -24
  292. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  293. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
  294. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  295. package/contracts/experiment/errors/IncrementRevert.sol +0 -43
  296. package/contracts/experiment/statemachine/README.md +0 -112
  297. package/contracts/instance/module/access/Access.sol +0 -149
  298. package/contracts/instance/module/access/IAccess.sol +0 -53
  299. package/contracts/instance/module/compensation/CompensationModule.sol +0 -8
  300. package/contracts/instance/module/compensation/ICompensation.sol +0 -10
  301. package/contracts/registry/IRegistryLinked.sol +0 -8
  302. package/contracts/shared/IOwnable.sol +0 -6
@@ -14,11 +14,120 @@
14
14
  "internalType": "NftId",
15
15
  "name": "registryNftId",
16
16
  "type": "uint96"
17
+ },
18
+ {
19
+ "internalType": "address",
20
+ "name": "initialOwner",
21
+ "type": "address"
17
22
  }
18
23
  ],
19
24
  "stateMutability": "nonpayable",
20
25
  "type": "constructor"
21
26
  },
27
+ {
28
+ "inputs": [
29
+ {
30
+ "internalType": "address",
31
+ "name": "registry",
32
+ "type": "address"
33
+ },
34
+ {
35
+ "internalType": "NftId",
36
+ "name": "nftId",
37
+ "type": "uint96"
38
+ }
39
+ ],
40
+ "name": "ErrorAlreadyLinked",
41
+ "type": "error"
42
+ },
43
+ {
44
+ "inputs": [
45
+ {
46
+ "internalType": "address",
47
+ "name": "contractAddress",
48
+ "type": "address"
49
+ }
50
+ ],
51
+ "name": "ErrorContractNotRegistered",
52
+ "type": "error"
53
+ },
54
+ {
55
+ "inputs": [
56
+ {
57
+ "internalType": "address",
58
+ "name": "account",
59
+ "type": "address"
60
+ }
61
+ ],
62
+ "name": "ErrorNotOwner",
63
+ "type": "error"
64
+ },
65
+ {
66
+ "inputs": [
67
+ {
68
+ "internalType": "address",
69
+ "name": "registryAddress",
70
+ "type": "address"
71
+ }
72
+ ],
73
+ "name": "ErrorNotRegistry",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [
78
+ {
79
+ "internalType": "address",
80
+ "name": "registryAddress",
81
+ "type": "address"
82
+ }
83
+ ],
84
+ "name": "ErrorRegisterableNotRegistry",
85
+ "type": "error"
86
+ },
87
+ {
88
+ "inputs": [],
89
+ "name": "ErrorRegistryAddressZero",
90
+ "type": "error"
91
+ },
92
+ {
93
+ "inputs": [
94
+ {
95
+ "internalType": "address",
96
+ "name": "registry",
97
+ "type": "address"
98
+ }
99
+ ],
100
+ "name": "ErrorRegistryAlreadyInitialized",
101
+ "type": "error"
102
+ },
103
+ {
104
+ "inputs": [],
105
+ "name": "ErrorRegistryNotInitialized",
106
+ "type": "error"
107
+ },
108
+ {
109
+ "inputs": [],
110
+ "name": "InvalidInitialization",
111
+ "type": "error"
112
+ },
113
+ {
114
+ "inputs": [],
115
+ "name": "NotInitializing",
116
+ "type": "error"
117
+ },
118
+ {
119
+ "anonymous": false,
120
+ "inputs": [
121
+ {
122
+ "indexed": false,
123
+ "internalType": "uint64",
124
+ "name": "version",
125
+ "type": "uint64"
126
+ }
127
+ ],
128
+ "name": "Initialized",
129
+ "type": "event"
130
+ },
22
131
  {
23
132
  "anonymous": false,
24
133
  "inputs": [
@@ -54,7 +163,7 @@
54
163
  "type": "address"
55
164
  }
56
165
  ],
57
- "name": "LogVersionableActivated",
166
+ "name": "LogVersionableInitialized",
58
167
  "type": "event"
59
168
  },
60
169
  {
@@ -70,6 +179,19 @@
70
179
  "stateMutability": "view",
71
180
  "type": "function"
72
181
  },
182
+ {
183
+ "inputs": [],
184
+ "name": "REGISTERABLE_LOCATION_V1",
185
+ "outputs": [
186
+ {
187
+ "internalType": "bytes32",
188
+ "name": "",
189
+ "type": "bytes32"
190
+ }
191
+ ],
192
+ "stateMutability": "view",
193
+ "type": "function"
194
+ },
73
195
  {
74
196
  "inputs": [
75
197
  {
@@ -91,19 +213,65 @@
91
213
  {
92
214
  "inputs": [
93
215
  {
94
- "internalType": "address",
95
- "name": "implementation",
96
- "type": "address"
216
+ "internalType": "RiskId",
217
+ "name": "riskId",
218
+ "type": "bytes8"
97
219
  },
98
220
  {
99
- "internalType": "address",
100
- "name": "activatedBy",
101
- "type": "address"
221
+ "internalType": "uint256",
222
+ "name": "sumInsuredAmount",
223
+ "type": "uint256"
224
+ },
225
+ {
226
+ "internalType": "uint256",
227
+ "name": "lifetime",
228
+ "type": "uint256"
229
+ },
230
+ {
231
+ "internalType": "bytes",
232
+ "name": "applicationData",
233
+ "type": "bytes"
234
+ },
235
+ {
236
+ "internalType": "NftId",
237
+ "name": "bundleNftId",
238
+ "type": "uint96"
239
+ },
240
+ {
241
+ "internalType": "ReferralId",
242
+ "name": "referralId",
243
+ "type": "bytes8"
102
244
  }
103
245
  ],
104
- "name": "activate",
105
- "outputs": [],
106
- "stateMutability": "nonpayable",
246
+ "name": "calculatePremium",
247
+ "outputs": [
248
+ {
249
+ "internalType": "uint256",
250
+ "name": "premiumAmount",
251
+ "type": "uint256"
252
+ },
253
+ {
254
+ "internalType": "uint256",
255
+ "name": "productFeeAmount",
256
+ "type": "uint256"
257
+ },
258
+ {
259
+ "internalType": "uint256",
260
+ "name": "poolFeeAmount",
261
+ "type": "uint256"
262
+ },
263
+ {
264
+ "internalType": "uint256",
265
+ "name": "bundleFeeAmount",
266
+ "type": "uint256"
267
+ },
268
+ {
269
+ "internalType": "uint256",
270
+ "name": "distributionFeeAmount",
271
+ "type": "uint256"
272
+ }
273
+ ],
274
+ "stateMutability": "view",
107
275
  "type": "function"
108
276
  },
109
277
  {
@@ -169,13 +337,13 @@
169
337
  "type": "address"
170
338
  },
171
339
  {
172
- "internalType": "uint256",
173
- "name": "sumInsuredAmount",
174
- "type": "uint256"
340
+ "internalType": "RiskId",
341
+ "name": "riskId",
342
+ "type": "bytes8"
175
343
  },
176
344
  {
177
345
  "internalType": "uint256",
178
- "name": "premiumAmount",
346
+ "name": "sumInsuredAmount",
179
347
  "type": "uint256"
180
348
  },
181
349
  {
@@ -183,10 +351,20 @@
183
351
  "name": "lifetime",
184
352
  "type": "uint256"
185
353
  },
354
+ {
355
+ "internalType": "bytes",
356
+ "name": "applicationData",
357
+ "type": "bytes"
358
+ },
186
359
  {
187
360
  "internalType": "NftId",
188
361
  "name": "bundleNftId",
189
362
  "type": "uint96"
363
+ },
364
+ {
365
+ "internalType": "ReferralId",
366
+ "name": "referralId",
367
+ "type": "bytes8"
190
368
  }
191
369
  ],
192
370
  "name": "createApplication",
@@ -200,10 +378,70 @@
200
378
  "stateMutability": "nonpayable",
201
379
  "type": "function"
202
380
  },
381
+ {
382
+ "inputs": [
383
+ {
384
+ "internalType": "RiskId",
385
+ "name": "riskId",
386
+ "type": "bytes8"
387
+ },
388
+ {
389
+ "internalType": "bytes",
390
+ "name": "data",
391
+ "type": "bytes"
392
+ }
393
+ ],
394
+ "name": "createRisk",
395
+ "outputs": [],
396
+ "stateMutability": "nonpayable",
397
+ "type": "function"
398
+ },
203
399
  {
204
400
  "inputs": [],
205
- "name": "getData",
401
+ "name": "getInitialInfo",
206
402
  "outputs": [
403
+ {
404
+ "components": [
405
+ {
406
+ "internalType": "NftId",
407
+ "name": "nftId",
408
+ "type": "uint96"
409
+ },
410
+ {
411
+ "internalType": "NftId",
412
+ "name": "parentNftId",
413
+ "type": "uint96"
414
+ },
415
+ {
416
+ "internalType": "ObjectType",
417
+ "name": "objectType",
418
+ "type": "uint8"
419
+ },
420
+ {
421
+ "internalType": "bool",
422
+ "name": "isInterceptor",
423
+ "type": "bool"
424
+ },
425
+ {
426
+ "internalType": "address",
427
+ "name": "objectAddress",
428
+ "type": "address"
429
+ },
430
+ {
431
+ "internalType": "address",
432
+ "name": "initialOwner",
433
+ "type": "address"
434
+ },
435
+ {
436
+ "internalType": "bytes",
437
+ "name": "data",
438
+ "type": "bytes"
439
+ }
440
+ ],
441
+ "internalType": "struct IRegistry.ObjectInfo",
442
+ "name": "",
443
+ "type": "tuple"
444
+ },
207
445
  {
208
446
  "internalType": "bytes",
209
447
  "name": "data",
@@ -213,6 +451,19 @@
213
451
  "stateMutability": "view",
214
452
  "type": "function"
215
453
  },
454
+ {
455
+ "inputs": [],
456
+ "name": "getInitializedVersion",
457
+ "outputs": [
458
+ {
459
+ "internalType": "uint64",
460
+ "name": "",
461
+ "type": "uint64"
462
+ }
463
+ ],
464
+ "stateMutability": "view",
465
+ "type": "function"
466
+ },
216
467
  {
217
468
  "inputs": [],
218
469
  "name": "getMajorVersion",
@@ -245,7 +496,7 @@
245
496
  "outputs": [
246
497
  {
247
498
  "internalType": "NftId",
248
- "name": "nftId",
499
+ "name": "",
249
500
  "type": "uint96"
250
501
  }
251
502
  ],
@@ -258,33 +509,20 @@
258
509
  "outputs": [
259
510
  {
260
511
  "internalType": "address",
261
- "name": "owner",
512
+ "name": "",
262
513
  "type": "address"
263
514
  }
264
515
  ],
265
516
  "stateMutability": "view",
266
517
  "type": "function"
267
518
  },
268
- {
269
- "inputs": [],
270
- "name": "getParentNftId",
271
- "outputs": [
272
- {
273
- "internalType": "NftId",
274
- "name": "nftId",
275
- "type": "uint96"
276
- }
277
- ],
278
- "stateMutability": "view",
279
- "type": "function"
280
- },
281
519
  {
282
520
  "inputs": [],
283
521
  "name": "getRegistry",
284
522
  "outputs": [
285
523
  {
286
524
  "internalType": "contract IRegistry",
287
- "name": "registry",
525
+ "name": "",
288
526
  "type": "address"
289
527
  }
290
528
  ],
@@ -293,15 +531,15 @@
293
531
  },
294
532
  {
295
533
  "inputs": [],
296
- "name": "getType",
534
+ "name": "getRegistryService",
297
535
  "outputs": [
298
536
  {
299
- "internalType": "ObjectType",
537
+ "internalType": "contract IRegistryService",
300
538
  "name": "",
301
- "type": "uint8"
539
+ "type": "address"
302
540
  }
303
541
  ],
304
- "stateMutability": "pure",
542
+ "stateMutability": "view",
305
543
  "type": "function"
306
544
  },
307
545
  {
@@ -395,6 +633,29 @@
395
633
  "stateMutability": "view",
396
634
  "type": "function"
397
635
  },
636
+ {
637
+ "inputs": [
638
+ {
639
+ "internalType": "address",
640
+ "name": "implementation",
641
+ "type": "address"
642
+ },
643
+ {
644
+ "internalType": "address",
645
+ "name": "activatedBy",
646
+ "type": "address"
647
+ },
648
+ {
649
+ "internalType": "bytes",
650
+ "name": "data",
651
+ "type": "bytes"
652
+ }
653
+ ],
654
+ "name": "initialize",
655
+ "outputs": [],
656
+ "stateMutability": "nonpayable",
657
+ "type": "function"
658
+ },
398
659
  {
399
660
  "inputs": [
400
661
  {
@@ -403,7 +664,7 @@
403
664
  "type": "uint24"
404
665
  }
405
666
  ],
406
- "name": "isActivated",
667
+ "name": "isInitialized",
407
668
  "outputs": [
408
669
  {
409
670
  "internalType": "bool",
@@ -416,14 +677,21 @@
416
677
  },
417
678
  {
418
679
  "inputs": [],
419
- "name": "register",
420
- "outputs": [
680
+ "name": "linkToRegisteredNftId",
681
+ "outputs": [],
682
+ "stateMutability": "nonpayable",
683
+ "type": "function"
684
+ },
685
+ {
686
+ "inputs": [
421
687
  {
422
688
  "internalType": "NftId",
423
- "name": "nftId",
689
+ "name": "policyNftId",
424
690
  "type": "uint96"
425
691
  }
426
692
  ],
693
+ "name": "revoke",
694
+ "outputs": [],
427
695
  "stateMutability": "nonpayable",
428
696
  "type": "function"
429
697
  },
@@ -443,7 +711,7 @@
443
711
  }
444
712
  ],
445
713
  "internalType": "struct Fee",
446
- "name": "policyFee",
714
+ "name": "productFee",
447
715
  "type": "tuple"
448
716
  },
449
717
  {
@@ -469,6 +737,36 @@
469
737
  "stateMutability": "nonpayable",
470
738
  "type": "function"
471
739
  },
740
+ {
741
+ "inputs": [
742
+ {
743
+ "internalType": "RiskId",
744
+ "name": "riskId",
745
+ "type": "bytes8"
746
+ },
747
+ {
748
+ "components": [
749
+ {
750
+ "internalType": "NftId",
751
+ "name": "productNftId",
752
+ "type": "uint96"
753
+ },
754
+ {
755
+ "internalType": "bytes",
756
+ "name": "data",
757
+ "type": "bytes"
758
+ }
759
+ ],
760
+ "internalType": "struct IRisk.RiskInfo",
761
+ "name": "info",
762
+ "type": "tuple"
763
+ }
764
+ ],
765
+ "name": "setRiskInfo",
766
+ "outputs": [],
767
+ "stateMutability": "nonpayable",
768
+ "type": "function"
769
+ },
472
770
  {
473
771
  "inputs": [
474
772
  {
@@ -510,20 +808,57 @@
510
808
  "outputs": [],
511
809
  "stateMutability": "nonpayable",
512
810
  "type": "function"
811
+ },
812
+ {
813
+ "inputs": [
814
+ {
815
+ "internalType": "RiskId",
816
+ "name": "riskId",
817
+ "type": "bytes8"
818
+ },
819
+ {
820
+ "internalType": "StateId",
821
+ "name": "state",
822
+ "type": "uint8"
823
+ }
824
+ ],
825
+ "name": "updateRiskState",
826
+ "outputs": [],
827
+ "stateMutability": "nonpayable",
828
+ "type": "function"
829
+ },
830
+ {
831
+ "inputs": [
832
+ {
833
+ "internalType": "address",
834
+ "name": "implementation",
835
+ "type": "address"
836
+ },
837
+ {
838
+ "internalType": "address",
839
+ "name": "activatedBy",
840
+ "type": "address"
841
+ },
842
+ {
843
+ "internalType": "bytes",
844
+ "name": "data",
845
+ "type": "bytes"
846
+ }
847
+ ],
848
+ "name": "upgrade",
849
+ "outputs": [],
850
+ "stateMutability": "nonpayable",
851
+ "type": "function"
513
852
  }
514
853
  ],
515
- "bytecode": "0x60e06040523480156200001157600080fd5b5060405162003b7e38038062003b7e833981016040819052620000349162000760565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff191660011790558181818181816001600160a01b038216620000d25760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a5247422d3031303a52454749535452595f5a45524f000000000060448201526064015b60405180910390fd5b6001600160a01b03821660808190526040516301ffc9a760e01b81526306ecd8ef60e01b60048201526301ffc9a790602401602060405180830381865afa15801562000122573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001489190620007b5565b620001965760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5247422d3031313a4e4f545f52454749535452590000000000006044820152606401620000c9565b6001600160601b03811660a081905260805160405163e74d052f60e01b815260048101929092526001600160a01b03169063e74d052f90602401602060405180830381865afa158015620001ee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002149190620007b5565b6200026e5760405162461bcd60e51b815260206004820152602360248201527f4552524f523a5247422d3031323a504152454e545f4e4f545f5245474953544560448201526214915160ea1b6064820152608401620000c9565b3360c052631dfba64760e11b60009081526020527f95e5a2564f7af40498dc043c6da135e06324c5edb1f60c2bf4dcdf2da207fa45805460ff1916600117905550620002be905060003362000343565b631b4612f160e31b60009081526020527ffc58a5a01198e68c5a5d0bcd463f9ab550fc4337b1df271aed6dbb33d25fef25805460ff1916600117905550505050620003166363f3353f60e11b6200031e60201b60201c565b505062000859565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b60006200034f6200061b565b90506200035c81620006a8565b15620003bb5760405162461bcd60e51b815260206004820152602760248201527f4552524f523a56524e2d3030313a56455253494f4e5f414c52454144595f41436044820152661512559055115160ca1b6064820152608401620000c9565b600254156200047c576002805460009190620003da90600190620007e0565b81548110620003ed57620003ed62000802565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff1690506200042082826200074e565b6200047a5760405162461bcd60e51b8152602060048201526024808201527f4552524f523a56524e2d3030323a56455253494f4e5f4e4f545f494e4352454160448201526353494e4760e01b6064820152608401620000c9565b505b60028054600181018255600091909152600a8082047f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace01805462ffffff808616600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b03808616602084015284169082015260608101620005064290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff80841660009081526001602081815260409283902086518154928801516001600160a01b039081166301000000026001600160b81b0319909416919096161791909117815585830151910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517f68e7327fca0057a787cde34ababb9ef9844ba8065ee03e8781d8122fc15d4419906200060e9083908690869062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b60405180910390a1505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156200067d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620006a3919062000818565b905090565b62ffffff81166000908152600160208190526040808320909101549051631bbffab160e21b8152600160c81b90910463ffffffff166004820152819073__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af415801562000721573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200074791906200083f565b1192915050565b62ffffff808216908316115b92915050565b600080604083850312156200077457600080fd5b82516001600160a01b03811681146200078c57600080fd5b60208401519092506001600160601b0381168114620007aa57600080fd5b809150509250929050565b600060208284031215620007c857600080fd5b81518015158114620007d957600080fd5b9392505050565b818103818111156200075a57634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6000602082840312156200082b57600080fd5b815162ffffff81168114620007d957600080fd5b6000602082840312156200085257600080fd5b5051919050565b60805160a05160c0516132b6620008c86000396000610ed70152600061024b0152600081816103a70152818161067001528181610de901528181610e5a01528181610f1a015281816116230152818161177f0152818161187501528181611ccc015261203801526132b66000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c80635fd1a5f5116100c3578063a3f4df7e1161007c578063a3f4df7e1461043e578063b18ebd3c1461046b578063b6b412ba1461047e578063b88da75914610491578063bbfbbfba146104a4578063cde749f4146104b757600080fd5b80635fd1a5f5146103df578063630361f614610400578063644c45e014610413578063893d20e81461041b578063946dfcfe146104235780639555c4db1461042b57600080fd5b80631aa3a008116101155780631aa3a0081461022957806331b62a3b146102495780633bc5de301461026f5780634d459c90146102835780634d5e16a9146103925780635ab1bd53146103a557600080fd5b806301ffc9a71461015d5780630aaba8e81461019f5780630abd8434146101b25780630d8e6e2c146101c557806315dae03e146101e157806317d7de7c146101f6575b600080fd5b61018a61016b366004612544565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101b06101ad366004612583565b50565b005b61018a6101c03660046125b1565b6104bf565b6101cd610562565b60405162ffffff9091168152602001610196565b60285b60405160ff9091168152602001610196565b60408051808201909152600e81526d50726f647563745365727669636560901b60208201525b604051610196919061261e565b6102316105ec565b6040516001600160601b039091168152602001610196565b7f0000000000000000000000000000000000000000000000000000000000000000610231565b60408051602081019091526000815261021c565b6103356102913660046125b1565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091525062ffffff908116600090815260016020818152604092839020835160a0810185528154958616815263010000009095046001600160a01b03908116928601929092529091015490811691830191909152600160a01b810464ffffffffff166060830152600160c81b900463ffffffff16608082015290565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610196565b6101b06103a0366004612644565b6106e5565b7f00000000000000000000000000000000000000000000000000000000000000005b6040516001600160a01b039091168152602001610196565b6103f26103ed36600461267d565b610945565b604051908152602001610196565b6101b061040e3660046126ad565b610a4e565b610231610dd1565b6103c7610e38565b6002546103f2565b6101b061043936600461270d565b610f93565b61021c6040518060400160405280600e81526020016d50726f647563745365727669636560901b81525081565b61023161047936600461273b565b610fa1565b6101b061048c36600461286b565b611154565b6101cd61049f3660046128a0565b611197565b6101b06104b2366004612644565b6111d8565b6101e46114fd565b62ffffff81166000908152600160208190526040808320909101549051631bbffab160e21b8152600160c81b90910463ffffffff166004820152819073__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610537573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061055b91906128b9565b1192915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156105c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e791906128d2565b905090565b60006105f6610e38565b6001600160a01b0316336001600160a01b03161461065b5760405162461bcd60e51b815260206004820152601760248201527f4552524f523a5247422d3030313a4e4f545f4f574e455200000000000000000060448201526064015b60405180910390fd5b604051632210724360e11b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690634420e486906024016020604051808303816000875af11580156106c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e791906128ff565b60006106f160646115da565b60405163bd7d9d8560e01b81526001600160601b0386166004820152909250600091506001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015610745573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261076d91908101906129e8565b61018081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af41580156107cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f19190612b63565b61083d5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032303a414c52454144595f414354495641544544006044820152606401610652565b64ffffffffff83166101808201819052610100820151604051631ded81af60e31b81526004810192909252602482015273__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af41580156108a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108cd9190612b80565b64ffffffffff166101a082015260646080820152604051631f0453eb60e31b81526001600160a01b0383169063f8229f589061090d908490600401612b9d565b600060405180830381600087803b15801561092757600080fd5b505af115801561093b573d6000803e3d6000fd5b5050505050505050565b6040516322f5db0f60e11b815260048101829052600090819073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__906345ebb61e90602401602060405180830381865af415801561099a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109be91906128b9565b905060006109cc85836118fa565b604051632255341b60e11b81526004810182905290915073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__906344aa683690602401602060405180830381865af4158015610a1f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4391906128b9565b925050505b92915050565b600080610a5b60646115da565b815160405163bd7d9d8560e01b81526001600160601b0389166004820152929450909250906000906001600160a01b0384169063bd7d9d8590602401600060405180830381865afa158015610ab4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610adc91908101906129e8565b9050610af88160200151836001600160601b0390811691161490565b610b445760405162461bcd60e51b815260206004820152601760248201527f504f4c4943595f50524f445543545f4d49534d415443480000000000000000006044820152606401610652565b610b5f8160800151610b54600a90565b60ff90811691161490565b610bab5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032313a53544154455f4e4f545f4150504c494544006044820152606401610652565b6000806000806000610bbd8887611916565b94509450945094509450610bd388858e86611b84565b93508a15610c21576000610bed89878f8a60c00151611c21565b90508660c001518760e001818151610c059190612d1a565b90525060a085018051829190610c1c908390612d1a565b905250505b6028608087015263ffffffff43166101e0870152610c4b8a60005b64ffffffffff90811691161190565b15610cf55764ffffffffff8a166101808701819052610100870151604051631ded81af60e31b81526004810192909252602482015273__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af4158015610cbc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ce09190612b80565b64ffffffffff166101a0870152606460808701525b604051631f0453eb60e31b81526001600160a01b0389169063f8229f5890610d21908990600401612b9d565b600060405180830381600087803b158015610d3b57600080fd5b505af1158015610d4f573d6000803e3d6000fd5b505060405163107a5b2f60e11b81526001600160a01b038b1692506320f4b65e9150610d7f908790600401612d2d565b600060405180830381600087803b158015610d9957600080fd5b505af1158015610dad573d6000803e3d6000fd5b505050508115610dc357610dc385878386612011565b505050505050505050505050565b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401602060405180830381865afa1580156106c1573d6000803e3d6000fd5b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa158015610ea1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec591906128ff565b90506001600160601b038116610efc577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa158015610f69573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f8d9190612dbc565b91505090565b610f9d8282612128565b5050565b60008080610faf60646115da565b91509150600082600001519050306001600160a01b0316635ab1bd536040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ffa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061101e9190612dbc565b6001600160a01b0316635ef14b5e8260c86040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526001600160a01b038c166044820152608060648201526000608482015260a4016020604051808303816000875af115801561109a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110be91906128ff565b604051633ad03f6960e11b81526001600160601b0380841660048301528083166024830152604482018b9052606482018a905260848201899052871660a48201529094506001600160a01b038316906375a07ed29060c401600060405180830381600087803b15801561113057600080fd5b505af1158015611144573d6000803e3d6000fd5b5050505050505095945050505050565b60008061116160646115da565b8151604051636e130e1d60e11b81529294509092506001600160a01b0383169163dc261c3a9161090d9188908890600401612dd9565b6000600282815481106111ac576111ac612e16565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000806111e560646115da565b60405163bd7d9d8560e01b81526001600160601b038716600482015291935091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa15801561123a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261126291908101906129e8565b8351604051634fd077f560e01b81526001600160601b0390911660048201529091506000906001600160a01b03841690634fd077f59060240161012060405180830381865afa1580156112b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112dd9190612e5c565b60c08301519091506112f184838984611c21565b50808360e0018181516113049190612d1a565b9052504363ffffffff166101e084015261131f866000610c3c565b156114965761018083015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015611381573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113a59190612b63565b6113f15760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3033303a414c52454144595f414354495641544544006044820152606401610652565b64ffffffffff86166101808401819052610100840151604051631ded81af60e31b81526004810192909252602482015273__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af415801561145d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114819190612b80565b64ffffffffff166101a0840152606460808401525b604051631f0453eb60e31b81526001600160a01b0385169063f8229f58906114c2908690600401612b9d565b600060405180830381600087803b1580156114dc57600080fd5b505af11580156114f0573d6000803e3d6000fd5b5050505050505050505050565b6000306001600160a01b0316630d8e6e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561153d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061156191906128d2565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156115b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e79190612f15565b6040805160c08101825260008082526020820181905281830181905260608083018290526080830182905260a08301529151636939560f60e11b815233600482015290919081907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401602060405180830381865afa158015611672573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061169691906128ff565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156116f1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117159190612b63565b6117615760405162461bcd60e51b815260206004820152601760248201527f4552524f525f434f4d504f4e454e545f554e4b4e4f574e0000000000000000006044820152606401610652565b6040516305247a1760e51b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063a48f42e090602401600060405180830381865afa1580156117ce573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117f69190810190612f32565b925061180c83604001518560ff90811691161490565b61184e5760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b6044820152606401610652565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063a48f42e090602401600060405180830381865afa1580156118c4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526118ec9190810190612f32565b606001519395939450505050565b600061190f8383670de0b6b3a76400006123f6565b9392505050565b6119706040805160e0810182526000808252602080830182905282840182905260608301829052608083018290528351808501855282815280820183905260a084015283518085019094528184528301529060c082015290565b6119786124df565b6020830151604051634fd077f560e01b81526001600160601b03909116600482015260009081906060906001600160a01b03881690634fd077f59060240161012060405180830381865afa1580156119d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119f89190612e5c565b6040878101519051634793b4ab60e01b81526001600160601b0390911660048201529095506001600160a01b03881690634793b4ab90602401600060405180830381865afa158015611a4e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a769190810190612ffa565b9350611a96846020015186604001516001600160601b0390811691161490565b611adb5760405162461bcd60e51b81526020600482015260166024820152750a09e989286b2be84aa9c88988abe9a92a69a82a886960531b6044820152606401610652565b60408581015190516357f80bbf60e01b81526001600160601b03821660048201526000906001600160a01b038a16906357f80bbf90602401606060405180830381865afa158015611b30573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b5491906130ca565b905080602001519350611b6f81604001518960a00151610945565b94508560400151925050509295509295909350565b611b8c6124df565b8184608001818151611b9e9190612d1a565b905250835160405163e1f64d7760e01b81526001600160601b0391821660048201529084166024820152604481018390526001600160a01b0386169063e1f64d7790606401600060405180830381600087803b158015611bfd57600080fd5b505af1158015611c11573d6000803e3d6000fd5b505050508390505b949350505050565b60008115611c1957835160405163a310e2a360e01b81526001600160601b0390911660048201526000906001600160a01b0387169063a310e2a390602401602060405180830381865afa158015611c7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ca09190612dbc565b60405163df33330b60e01b81526001600160601b03861660048201529091506000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063df33330b90602401602060405180830381865afa158015611d13573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d379190612dbc565b6040808801519051630660151560e31b81526001600160601b0390911660048201529091506000906001600160a01b03891690633300a8a89060240160c060405180830381865afa158015611d90573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611db49190613135565b6020015160a08801516040516346f0526160e11b81528796509192509073__$a23651848365a6a5ca15f07b4331037f48$__90638de0a4c290611dfb9084906004016131b8565b602060405180830381865af4158015611e18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e3c9190612b63565b15611eb0576040516317d5759960e31b81526001600160a01b03848116600483015283811660248301526044820188905285169063beabacc890606401600060405180830381600087803b158015611e9357600080fd5b505af1158015611ea7573d6000803e3d6000fd5b50505050612005565b6000808a6001600160a01b031663f274e87d89856040518363ffffffff1660e01b8152600401611ee19291906131cf565b6040805180830381865afa158015611efd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f2191906131ed565b60808c01516040516317d5759960e31b81526001600160a01b03898116600483015291821660248201526044810184905292945090925087169063beabacc890606401600060405180830381600087803b158015611f7e57600080fd5b505af1158015611f92573d6000803e3d6000fd5b50506040516317d5759960e31b81526001600160a01b0388811660048301528781166024830152604482018590528916925063beabacc89150606401600060405180830381600087803b158015611fe857600080fd5b505af1158015611ffc573d6000803e3d6000fd5b50929850505050505b50505050949350505050565b60408481015190516305247a1760e51b81526001600160601b0390911660048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063a48f42e090602401600060405180830381865afa158015612087573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526120af9190810190612f32565b6060015184516101208601516040516332f7fe0d60e11b815292935083926001600160a01b038416926365effc1a926120ee9289908990600401613211565b600060405180830381600087803b15801561210857600080fd5b505af115801561211c573d6000803e3d6000fd5b50505050505050505050565b6000612132610562565b905061213d816104bf565b1561219a5760405162461bcd60e51b815260206004820152602760248201527f4552524f523a56524e2d3030313a56455253494f4e5f414c52454144595f41436044820152661512559055115160ca1b6064820152608401610652565b600254156122595760028054600091906121b690600190613257565b815481106121c6576121c6612e16565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff1690506121ff828262ffffff90811691161190565b6122575760405162461bcd60e51b8152602060048201526024808201527f4552524f523a56524e2d3030323a56455253494f4e5f4e4f545f494e4352454160448201526353494e4760e01b6064820152608401610652565b505b60028054600181018255600091909152600a8082047f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace01805462ffffff808616600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b038086166020840152841690820152606081016122e24290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff80841660009081526001602081815260409283902086518154928801516001600160a01b039081166301000000026001600160b81b0319909416919096161791909117815585830151910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517f68e7327fca0057a787cde34ababb9ef9844ba8065ee03e8781d8122fc15d4419906123e99083908690869062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b60405180910390a1505050565b6000808060001985870985870292508281108382030391505080600003612430578382816124265761242661326a565b049250505061190f565b8084116124775760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b6044820152606401610652565b600084868809600260036001881981018916988990049182028318808302840302808302840302808302840302808302840302808302840302918202909203026000889003889004909101858311909403939093029303949094049190911702949350505050565b60405180610100016040528060006001600160601b0316815260200160006001600160601b0316815260200160608152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b60006020828403121561255657600080fd5b81356001600160e01b03198116811461190f57600080fd5b6001600160601b03811681146101ad57600080fd5b60006020828403121561259557600080fd5b813561190f8161256e565b62ffffff811681146101ad57600080fd5b6000602082840312156125c357600080fd5b813561190f816125a0565b60005b838110156125e95781810151838201526020016125d1565b50506000910152565b6000815180845261260a8160208601602086016125ce565b601f01601f19169290920160200192915050565b60208152600061190f60208301846125f2565b64ffffffffff811681146101ad57600080fd5b6000806040838503121561265757600080fd5b82356126628161256e565b9150602083013561267281612631565b809150509250929050565b6000806040838503121561269057600080fd5b50508035926020909101359150565b80151581146101ad57600080fd5b6000806000606084860312156126c257600080fd5b83356126cd8161256e565b925060208401356126dd8161269f565b915060408401356126ed81612631565b809150509250925092565b6001600160a01b03811681146101ad57600080fd5b6000806040838503121561272057600080fd5b823561272b816126f8565b91506020830135612672816126f8565b600080600080600060a0868803121561275357600080fd5b853561275e816126f8565b945060208601359350604086013592506060860135915060808601356127838161256e565b809150509295509295909350565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff811182821017156127ca576127ca612791565b60405290565b604051610200810167ffffffffffffffff811182821017156127ca576127ca612791565b60405160c0810167ffffffffffffffff811182821017156127ca576127ca612791565b604051610100810167ffffffffffffffff811182821017156127ca576127ca612791565b60006040828403121561284d57600080fd5b6128556127a7565b9050813581526020820135602082015292915050565b6000806080838503121561287e57600080fd5b612888848461283b565b9150612897846040850161283b565b90509250929050565b6000602082840312156128b257600080fd5b5035919050565b6000602082840312156128cb57600080fd5b5051919050565b6000602082840312156128e457600080fd5b815161190f816125a0565b80516128fa8161256e565b919050565b60006020828403121561291157600080fd5b815161190f8161256e565b80516128fa816126f8565b60ff811681146101ad57600080fd5b80516128fa81612927565b600082601f83011261295257600080fd5b815167ffffffffffffffff8082111561296d5761296d612791565b604051601f8301601f19908116603f0116810190828211818310171561299557612995612791565b816040528381528660208588010111156129ae57600080fd5b6129bf8460208301602089016125ce565b9695505050505050565b80516128fa81612631565b805163ffffffff811681146128fa57600080fd5b6000602082840312156129fa57600080fd5b815167ffffffffffffffff80821115612a1257600080fd5b908301906102008286031215612a2757600080fd5b612a2f6127d0565b612a38836128ef565b8152612a46602084016128ef565b6020820152612a57604084016128ef565b6040820152612a686060840161291c565b6060820152612a7960808401612936565b608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015181830152506101208084015183811115612abc57600080fd5b612ac888828701612941565b8284015250506101408084015183811115612ae257600080fd5b612aee88828701612941565b8284015250506101609150612b048284016129c9565b828201526101809150612b188284016129c9565b828201526101a09150612b2c8284016129c9565b828201526101c09150612b408284016129c9565b828201526101e09150612b548284016129d4565b91810191909152949350505050565b600060208284031215612b7557600080fd5b815161190f8161269f565b600060208284031215612b9257600080fd5b815161190f81612631565b60208152612bb76020820183516001600160601b03169052565b60006020830151612bd360408401826001600160601b03169052565b5060408301516001600160601b03811660608401525060608301516001600160a01b038116608084015250608083015160ff811660a08401525060a083015160c083015260c083015160e083015260e08301516101008181850152808501519150506101208181850152808501519150506102006101408181860152612c5d6102208601846125f2565b9250808601519050610160601f198685030181870152612c7d84836125f2565b935080870151915050610180612c9b8187018364ffffffffff169052565b86015190506101a0612cb58682018364ffffffffff169052565b86015190506101c0612ccf8682018364ffffffffff169052565b86015190506101e0612ce98682018364ffffffffff169052565b86015163ffffffff81168387015290505b5090949350505050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610a4857610a48612d04565b6020815260006001600160601b03808451166020840152806020850151166040840152506040830151610100806060850152612d6d6101208501836125f2565b915060608501516080850152608085015160a085015260a085015160c085015260c0850151612da560e086018264ffffffffff169052565b5060e085015164ffffffffff811685830152612cfa565b600060208284031215612dce57600080fd5b815161190f816126f8565b6001600160601b038416815260a08101612e00602083018580518252602090810151910152565b8251606083015260208301516080830152611c19565b634e487b7160e01b600052603260045260246000fd5b600060408284031215612e3e57600080fd5b612e466127a7565b9050815181526020820151602082015292915050565b60006101208284031215612e6f57600080fd5b60405160e0810181811067ffffffffffffffff82111715612e9257612e92612791565b6040528251612ea08161256e565b81526020830151612eb08161256e565b60208201526040830151612ec38161256e565b6040820152612ed46060840161291c565b6060820152612ee56080840161291c565b6080820152612ef78460a08501612e2c565b60a0820152612f098460e08501612e2c565b60c08201529392505050565b600060208284031215612f2757600080fd5b815161190f81612927565b600060208284031215612f4457600080fd5b815167ffffffffffffffff80821115612f5c57600080fd5b9083019060c08286031215612f7057600080fd5b612f786127f4565b8251612f838161256e565b81526020830151612f938161256e565b60208201526040830151612fa681612927565b6040820152612fb76060840161291c565b6060820152612fc86080840161291c565b608082015260a083015182811115612fdf57600080fd5b612feb87828601612941565b60a08301525095945050505050565b60006020828403121561300c57600080fd5b815167ffffffffffffffff8082111561302457600080fd5b90830190610100828603121561303957600080fd5b613041612817565b61304a836128ef565b8152613058602084016128ef565b602082015260408301518281111561306f57600080fd5b61307b87828601612941565b604083015250606083015160608201526080830151608082015260a083015160a08201526130ab60c084016129c9565b60c08201526130bc60e084016129c9565b60e082015295945050505050565b6000606082840312156130dc57600080fd5b6040516060810181811067ffffffffffffffff821117156130ff576130ff612791565b604052825161310d8161256e565b8152602083015161311d8161269f565b60208201526040928301519281019290925250919050565b600060c0828403121561314757600080fd5b6040516080810181811067ffffffffffffffff8211171561316a5761316a612791565b60405282516131788161256e565b81526020830151613188816126f8565b602082015261319a8460408501612e2c565b60408201526131ac8460808501612e2c565b60608201529392505050565b815181526020808301519082015260408101610a48565b8281526060810161190f602083018480518252602090810151910152565b6000806040838503121561320057600080fd5b505080516020909101519092909150565b6001600160601b038516815260806020820152600061323360808301866125f2565b828103604084015261324581866125f2565b91505082606083015295945050505050565b81810381811115610a4857610a48612d04565b634e487b7160e01b600052601260045260246000fdfea2646970667358221220ae6a05c4d63ca97094aa7f547e74ec7a79a88f99aced5162a6a35bb4409fa90c64736f6c63430008140033",
516
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101585760003560e01c80635fd1a5f5116100c3578063a3f4df7e1161007c578063a3f4df7e1461043e578063b18ebd3c1461046b578063b6b412ba1461047e578063b88da75914610491578063bbfbbfba146104a4578063cde749f4146104b757600080fd5b80635fd1a5f5146103df578063630361f614610400578063644c45e014610413578063893d20e81461041b578063946dfcfe146104235780639555c4db1461042b57600080fd5b80631aa3a008116101155780631aa3a0081461022957806331b62a3b146102495780633bc5de301461026f5780634d459c90146102835780634d5e16a9146103925780635ab1bd53146103a557600080fd5b806301ffc9a71461015d5780630aaba8e81461019f5780630abd8434146101b25780630d8e6e2c146101c557806315dae03e146101e157806317d7de7c146101f6575b600080fd5b61018a61016b366004612544565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101b06101ad366004612583565b50565b005b61018a6101c03660046125b1565b6104bf565b6101cd610562565b60405162ffffff9091168152602001610196565b60285b60405160ff9091168152602001610196565b60408051808201909152600e81526d50726f647563745365727669636560901b60208201525b604051610196919061261e565b6102316105ec565b6040516001600160601b039091168152602001610196565b7f0000000000000000000000000000000000000000000000000000000000000000610231565b60408051602081019091526000815261021c565b6103356102913660046125b1565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091525062ffffff908116600090815260016020818152604092839020835160a0810185528154958616815263010000009095046001600160a01b03908116928601929092529091015490811691830191909152600160a01b810464ffffffffff166060830152600160c81b900463ffffffff16608082015290565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610196565b6101b06103a0366004612644565b6106e5565b7f00000000000000000000000000000000000000000000000000000000000000005b6040516001600160a01b039091168152602001610196565b6103f26103ed36600461267d565b610945565b604051908152602001610196565b6101b061040e3660046126ad565b610a4e565b610231610dd1565b6103c7610e38565b6002546103f2565b6101b061043936600461270d565b610f93565b61021c6040518060400160405280600e81526020016d50726f647563745365727669636560901b81525081565b61023161047936600461273b565b610fa1565b6101b061048c36600461286b565b611154565b6101cd61049f3660046128a0565b611197565b6101b06104b2366004612644565b6111d8565b6101e46114fd565b62ffffff81166000908152600160208190526040808320909101549051631bbffab160e21b8152600160c81b90910463ffffffff166004820152819073__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610537573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061055b91906128b9565b1192915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156105c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e791906128d2565b905090565b60006105f6610e38565b6001600160a01b0316336001600160a01b03161461065b5760405162461bcd60e51b815260206004820152601760248201527f4552524f523a5247422d3030313a4e4f545f4f574e455200000000000000000060448201526064015b60405180910390fd5b604051632210724360e11b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690634420e486906024016020604051808303816000875af11580156106c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e791906128ff565b60006106f160646115da565b60405163bd7d9d8560e01b81526001600160601b0386166004820152909250600091506001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015610745573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261076d91908101906129e8565b61018081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af41580156107cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f19190612b63565b61083d5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032303a414c52454144595f414354495641544544006044820152606401610652565b64ffffffffff83166101808201819052610100820151604051631ded81af60e31b81526004810192909252602482015273__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af41580156108a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108cd9190612b80565b64ffffffffff166101a082015260646080820152604051631f0453eb60e31b81526001600160a01b0383169063f8229f589061090d908490600401612b9d565b600060405180830381600087803b15801561092757600080fd5b505af115801561093b573d6000803e3d6000fd5b5050505050505050565b6040516322f5db0f60e11b815260048101829052600090819073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__906345ebb61e90602401602060405180830381865af415801561099a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109be91906128b9565b905060006109cc85836118fa565b604051632255341b60e11b81526004810182905290915073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__906344aa683690602401602060405180830381865af4158015610a1f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4391906128b9565b925050505b92915050565b600080610a5b60646115da565b815160405163bd7d9d8560e01b81526001600160601b0389166004820152929450909250906000906001600160a01b0384169063bd7d9d8590602401600060405180830381865afa158015610ab4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610adc91908101906129e8565b9050610af88160200151836001600160601b0390811691161490565b610b445760405162461bcd60e51b815260206004820152601760248201527f504f4c4943595f50524f445543545f4d49534d415443480000000000000000006044820152606401610652565b610b5f8160800151610b54600a90565b60ff90811691161490565b610bab5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032313a53544154455f4e4f545f4150504c494544006044820152606401610652565b6000806000806000610bbd8887611916565b94509450945094509450610bd388858e86611b84565b93508a15610c21576000610bed89878f8a60c00151611c21565b90508660c001518760e001818151610c059190612d1a565b90525060a085018051829190610c1c908390612d1a565b905250505b6028608087015263ffffffff43166101e0870152610c4b8a60005b64ffffffffff90811691161190565b15610cf55764ffffffffff8a166101808701819052610100870151604051631ded81af60e31b81526004810192909252602482015273__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af4158015610cbc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ce09190612b80565b64ffffffffff166101a0870152606460808701525b604051631f0453eb60e31b81526001600160a01b0389169063f8229f5890610d21908990600401612b9d565b600060405180830381600087803b158015610d3b57600080fd5b505af1158015610d4f573d6000803e3d6000fd5b505060405163107a5b2f60e11b81526001600160a01b038b1692506320f4b65e9150610d7f908790600401612d2d565b600060405180830381600087803b158015610d9957600080fd5b505af1158015610dad573d6000803e3d6000fd5b505050508115610dc357610dc385878386612011565b505050505050505050505050565b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401602060405180830381865afa1580156106c1573d6000803e3d6000fd5b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa158015610ea1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec591906128ff565b90506001600160601b038116610efc577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa158015610f69573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f8d9190612dbc565b91505090565b610f9d8282612128565b5050565b60008080610faf60646115da565b91509150600082600001519050306001600160a01b0316635ab1bd536040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ffa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061101e9190612dbc565b6001600160a01b0316635ef14b5e8260c86040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526001600160a01b038c166044820152608060648201526000608482015260a4016020604051808303816000875af115801561109a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110be91906128ff565b604051633ad03f6960e11b81526001600160601b0380841660048301528083166024830152604482018b9052606482018a905260848201899052871660a48201529094506001600160a01b038316906375a07ed29060c401600060405180830381600087803b15801561113057600080fd5b505af1158015611144573d6000803e3d6000fd5b5050505050505095945050505050565b60008061116160646115da565b8151604051636e130e1d60e11b81529294509092506001600160a01b0383169163dc261c3a9161090d9188908890600401612dd9565b6000600282815481106111ac576111ac612e16565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000806111e560646115da565b60405163bd7d9d8560e01b81526001600160601b038716600482015291935091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa15801561123a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261126291908101906129e8565b8351604051634fd077f560e01b81526001600160601b0390911660048201529091506000906001600160a01b03841690634fd077f59060240161012060405180830381865afa1580156112b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112dd9190612e5c565b60c08301519091506112f184838984611c21565b50808360e0018181516113049190612d1a565b9052504363ffffffff166101e084015261131f866000610c3c565b156114965761018083015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015611381573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113a59190612b63565b6113f15760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3033303a414c52454144595f414354495641544544006044820152606401610652565b64ffffffffff86166101808401819052610100840151604051631ded81af60e31b81526004810192909252602482015273__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af415801561145d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114819190612b80565b64ffffffffff166101a0840152606460808401525b604051631f0453eb60e31b81526001600160a01b0385169063f8229f58906114c2908690600401612b9d565b600060405180830381600087803b1580156114dc57600080fd5b505af11580156114f0573d6000803e3d6000fd5b5050505050505050505050565b6000306001600160a01b0316630d8e6e2c6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561153d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061156191906128d2565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156115b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e79190612f15565b6040805160c08101825260008082526020820181905281830181905260608083018290526080830182905260a08301529151636939560f60e11b815233600482015290919081907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401602060405180830381865afa158015611672573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061169691906128ff565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156116f1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117159190612b63565b6117615760405162461bcd60e51b815260206004820152601760248201527f4552524f525f434f4d504f4e454e545f554e4b4e4f574e0000000000000000006044820152606401610652565b6040516305247a1760e51b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063a48f42e090602401600060405180830381865afa1580156117ce573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117f69190810190612f32565b925061180c83604001518560ff90811691161490565b61184e5760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b6044820152606401610652565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063a48f42e090602401600060405180830381865afa1580156118c4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526118ec9190810190612f32565b606001519395939450505050565b600061190f8383670de0b6b3a76400006123f6565b9392505050565b6119706040805160e0810182526000808252602080830182905282840182905260608301829052608083018290528351808501855282815280820183905260a084015283518085019094528184528301529060c082015290565b6119786124df565b6020830151604051634fd077f560e01b81526001600160601b03909116600482015260009081906060906001600160a01b03881690634fd077f59060240161012060405180830381865afa1580156119d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119f89190612e5c565b6040878101519051634793b4ab60e01b81526001600160601b0390911660048201529095506001600160a01b03881690634793b4ab90602401600060405180830381865afa158015611a4e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a769190810190612ffa565b9350611a96846020015186604001516001600160601b0390811691161490565b611adb5760405162461bcd60e51b81526020600482015260166024820152750a09e989286b2be84aa9c88988abe9a92a69a82a886960531b6044820152606401610652565b60408581015190516357f80bbf60e01b81526001600160601b03821660048201526000906001600160a01b038a16906357f80bbf90602401606060405180830381865afa158015611b30573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b5491906130ca565b905080602001519350611b6f81604001518960a00151610945565b94508560400151925050509295509295909350565b611b8c6124df565b8184608001818151611b9e9190612d1a565b905250835160405163e1f64d7760e01b81526001600160601b0391821660048201529084166024820152604481018390526001600160a01b0386169063e1f64d7790606401600060405180830381600087803b158015611bfd57600080fd5b505af1158015611c11573d6000803e3d6000fd5b505050508390505b949350505050565b60008115611c1957835160405163a310e2a360e01b81526001600160601b0390911660048201526000906001600160a01b0387169063a310e2a390602401602060405180830381865afa158015611c7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ca09190612dbc565b60405163df33330b60e01b81526001600160601b03861660048201529091506000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063df33330b90602401602060405180830381865afa158015611d13573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d379190612dbc565b6040808801519051630660151560e31b81526001600160601b0390911660048201529091506000906001600160a01b03891690633300a8a89060240160c060405180830381865afa158015611d90573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611db49190613135565b6020015160a08801516040516346f0526160e11b81528796509192509073__$a23651848365a6a5ca15f07b4331037f48$__90638de0a4c290611dfb9084906004016131b8565b602060405180830381865af4158015611e18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e3c9190612b63565b15611eb0576040516317d5759960e31b81526001600160a01b03848116600483015283811660248301526044820188905285169063beabacc890606401600060405180830381600087803b158015611e9357600080fd5b505af1158015611ea7573d6000803e3d6000fd5b50505050612005565b6000808a6001600160a01b031663f274e87d89856040518363ffffffff1660e01b8152600401611ee19291906131cf565b6040805180830381865afa158015611efd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f2191906131ed565b60808c01516040516317d5759960e31b81526001600160a01b03898116600483015291821660248201526044810184905292945090925087169063beabacc890606401600060405180830381600087803b158015611f7e57600080fd5b505af1158015611f92573d6000803e3d6000fd5b50506040516317d5759960e31b81526001600160a01b0388811660048301528781166024830152604482018590528916925063beabacc89150606401600060405180830381600087803b158015611fe857600080fd5b505af1158015611ffc573d6000803e3d6000fd5b50929850505050505b50505050949350505050565b60408481015190516305247a1760e51b81526001600160601b0390911660048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063a48f42e090602401600060405180830381865afa158015612087573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526120af9190810190612f32565b6060015184516101208601516040516332f7fe0d60e11b815292935083926001600160a01b038416926365effc1a926120ee9289908990600401613211565b600060405180830381600087803b15801561210857600080fd5b505af115801561211c573d6000803e3d6000fd5b50505050505050505050565b6000612132610562565b905061213d816104bf565b1561219a5760405162461bcd60e51b815260206004820152602760248201527f4552524f523a56524e2d3030313a56455253494f4e5f414c52454144595f41436044820152661512559055115160ca1b6064820152608401610652565b600254156122595760028054600091906121b690600190613257565b815481106121c6576121c6612e16565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff1690506121ff828262ffffff90811691161190565b6122575760405162461bcd60e51b8152602060048201526024808201527f4552524f523a56524e2d3030323a56455253494f4e5f4e4f545f494e4352454160448201526353494e4760e01b6064820152608401610652565b505b60028054600181018255600091909152600a8082047f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace01805462ffffff808616600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b038086166020840152841690820152606081016122e24290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff80841660009081526001602081815260409283902086518154928801516001600160a01b039081166301000000026001600160b81b0319909416919096161791909117815585830151910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517f68e7327fca0057a787cde34ababb9ef9844ba8065ee03e8781d8122fc15d4419906123e99083908690869062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b60405180910390a1505050565b6000808060001985870985870292508281108382030391505080600003612430578382816124265761242661326a565b049250505061190f565b8084116124775760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b6044820152606401610652565b600084868809600260036001881981018916988990049182028318808302840302808302840302808302840302808302840302808302840302918202909203026000889003889004909101858311909403939093029303949094049190911702949350505050565b60405180610100016040528060006001600160601b0316815260200160006001600160601b0316815260200160608152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b60006020828403121561255657600080fd5b81356001600160e01b03198116811461190f57600080fd5b6001600160601b03811681146101ad57600080fd5b60006020828403121561259557600080fd5b813561190f8161256e565b62ffffff811681146101ad57600080fd5b6000602082840312156125c357600080fd5b813561190f816125a0565b60005b838110156125e95781810151838201526020016125d1565b50506000910152565b6000815180845261260a8160208601602086016125ce565b601f01601f19169290920160200192915050565b60208152600061190f60208301846125f2565b64ffffffffff811681146101ad57600080fd5b6000806040838503121561265757600080fd5b82356126628161256e565b9150602083013561267281612631565b809150509250929050565b6000806040838503121561269057600080fd5b50508035926020909101359150565b80151581146101ad57600080fd5b6000806000606084860312156126c257600080fd5b83356126cd8161256e565b925060208401356126dd8161269f565b915060408401356126ed81612631565b809150509250925092565b6001600160a01b03811681146101ad57600080fd5b6000806040838503121561272057600080fd5b823561272b816126f8565b91506020830135612672816126f8565b600080600080600060a0868803121561275357600080fd5b853561275e816126f8565b945060208601359350604086013592506060860135915060808601356127838161256e565b809150509295509295909350565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff811182821017156127ca576127ca612791565b60405290565b604051610200810167ffffffffffffffff811182821017156127ca576127ca612791565b60405160c0810167ffffffffffffffff811182821017156127ca576127ca612791565b604051610100810167ffffffffffffffff811182821017156127ca576127ca612791565b60006040828403121561284d57600080fd5b6128556127a7565b9050813581526020820135602082015292915050565b6000806080838503121561287e57600080fd5b612888848461283b565b9150612897846040850161283b565b90509250929050565b6000602082840312156128b257600080fd5b5035919050565b6000602082840312156128cb57600080fd5b5051919050565b6000602082840312156128e457600080fd5b815161190f816125a0565b80516128fa8161256e565b919050565b60006020828403121561291157600080fd5b815161190f8161256e565b80516128fa816126f8565b60ff811681146101ad57600080fd5b80516128fa81612927565b600082601f83011261295257600080fd5b815167ffffffffffffffff8082111561296d5761296d612791565b604051601f8301601f19908116603f0116810190828211818310171561299557612995612791565b816040528381528660208588010111156129ae57600080fd5b6129bf8460208301602089016125ce565b9695505050505050565b80516128fa81612631565b805163ffffffff811681146128fa57600080fd5b6000602082840312156129fa57600080fd5b815167ffffffffffffffff80821115612a1257600080fd5b908301906102008286031215612a2757600080fd5b612a2f6127d0565b612a38836128ef565b8152612a46602084016128ef565b6020820152612a57604084016128ef565b6040820152612a686060840161291c565b6060820152612a7960808401612936565b608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015181830152506101208084015183811115612abc57600080fd5b612ac888828701612941565b8284015250506101408084015183811115612ae257600080fd5b612aee88828701612941565b8284015250506101609150612b048284016129c9565b828201526101809150612b188284016129c9565b828201526101a09150612b2c8284016129c9565b828201526101c09150612b408284016129c9565b828201526101e09150612b548284016129d4565b91810191909152949350505050565b600060208284031215612b7557600080fd5b815161190f8161269f565b600060208284031215612b9257600080fd5b815161190f81612631565b60208152612bb76020820183516001600160601b03169052565b60006020830151612bd360408401826001600160601b03169052565b5060408301516001600160601b03811660608401525060608301516001600160a01b038116608084015250608083015160ff811660a08401525060a083015160c083015260c083015160e083015260e08301516101008181850152808501519150506101208181850152808501519150506102006101408181860152612c5d6102208601846125f2565b9250808601519050610160601f198685030181870152612c7d84836125f2565b935080870151915050610180612c9b8187018364ffffffffff169052565b86015190506101a0612cb58682018364ffffffffff169052565b86015190506101c0612ccf8682018364ffffffffff169052565b86015190506101e0612ce98682018364ffffffffff169052565b86015163ffffffff81168387015290505b5090949350505050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610a4857610a48612d04565b6020815260006001600160601b03808451166020840152806020850151166040840152506040830151610100806060850152612d6d6101208501836125f2565b915060608501516080850152608085015160a085015260a085015160c085015260c0850151612da560e086018264ffffffffff169052565b5060e085015164ffffffffff811685830152612cfa565b600060208284031215612dce57600080fd5b815161190f816126f8565b6001600160601b038416815260a08101612e00602083018580518252602090810151910152565b8251606083015260208301516080830152611c19565b634e487b7160e01b600052603260045260246000fd5b600060408284031215612e3e57600080fd5b612e466127a7565b9050815181526020820151602082015292915050565b60006101208284031215612e6f57600080fd5b60405160e0810181811067ffffffffffffffff82111715612e9257612e92612791565b6040528251612ea08161256e565b81526020830151612eb08161256e565b60208201526040830151612ec38161256e565b6040820152612ed46060840161291c565b6060820152612ee56080840161291c565b6080820152612ef78460a08501612e2c565b60a0820152612f098460e08501612e2c565b60c08201529392505050565b600060208284031215612f2757600080fd5b815161190f81612927565b600060208284031215612f4457600080fd5b815167ffffffffffffffff80821115612f5c57600080fd5b9083019060c08286031215612f7057600080fd5b612f786127f4565b8251612f838161256e565b81526020830151612f938161256e565b60208201526040830151612fa681612927565b6040820152612fb76060840161291c565b6060820152612fc86080840161291c565b608082015260a083015182811115612fdf57600080fd5b612feb87828601612941565b60a08301525095945050505050565b60006020828403121561300c57600080fd5b815167ffffffffffffffff8082111561302457600080fd5b90830190610100828603121561303957600080fd5b613041612817565b61304a836128ef565b8152613058602084016128ef565b602082015260408301518281111561306f57600080fd5b61307b87828601612941565b604083015250606083015160608201526080830151608082015260a083015160a08201526130ab60c084016129c9565b60c08201526130bc60e084016129c9565b60e082015295945050505050565b6000606082840312156130dc57600080fd5b6040516060810181811067ffffffffffffffff821117156130ff576130ff612791565b604052825161310d8161256e565b8152602083015161311d8161269f565b60208201526040928301519281019290925250919050565b600060c0828403121561314757600080fd5b6040516080810181811067ffffffffffffffff8211171561316a5761316a612791565b60405282516131788161256e565b81526020830151613188816126f8565b602082015261319a8460408501612e2c565b60408201526131ac8460808501612e2c565b60608201529392505050565b815181526020808301519082015260408101610a48565b8281526060810161190f602083018480518252602090810151910152565b6000806040838503121561320057600080fd5b505080516020909101519092909150565b6001600160601b038516815260806020820152600061323360808301866125f2565b828103604084015261324581866125f2565b91505082606083015295945050505050565b81810381811115610a4857610a48612d04565b634e487b7160e01b600052601260045260246000fdfea2646970667358221220ae6a05c4d63ca97094aa7f547e74ec7a79a88f99aced5162a6a35bb4409fa90c64736f6c63430008140033",
854
+ "bytecode": "0x60806040523480156200001157600080fd5b5060405162005163380380620051638339810160408190526200003491620005e8565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055828282600280546001600160a01b031916331790556200008f620000e5565b6200009c83838362000199565b505050620000b7637fc6295b60e01b620000c060201b60201c565b50505062000882565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620001365760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001965780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6000620001c760408051808201909152600e81526d50726f647563745365727669636560901b602082015290565b620001d16200024a565b604051602001620001e492919062000640565b60408051808303601f190181529190529050620002088484602860008686620002d7565b631b4612f160e31b60009081526020527ffc58a5a01198e68c5a5d0bcd463f9ab550fc4337b1df271aed6dbb33d25fef25805460ff1916600117905550505050565b600062000256620003a8565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015620002ac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002d291906200069a565b905090565b620002e3828762000430565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d0100000000000000000000000000861515021781559050600181016200036283826200076b565b506303fb044760e21b60009081526020527fb43e4f3791bfcdefa3a0fbe2a5555f8d6490b90e01de0ff40c66f18b49b562c5805460ff1916600117905550505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156200040a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002d2919062000837565b600280546001600160a01b0319166001600160a01b03841617905562000456816200045a565b5050565b6001546001600160a01b031615620004995760015460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024015b60405180910390fd5b6001600160a01b038116620004c15760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003620004f95760405163fdeac91f60e01b81526001600160a01b038216600482015260240162000490565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263350fb35160e11b60048201526301ffc9a790602401602060405180830381865afa92505050801562000576575060408051601f3d908101601f1916820190925262000573918101906200085e565b60015b620005a05760405163fdeac91f60e01b81526001600160a01b038216600482015260240162000490565b80620004565760405163fdeac91f60e01b81526001600160a01b038316600482015260240162000490565b80516001600160a01b0381168114620005e357600080fd5b919050565b600080600060608486031215620005fe57600080fd5b6200060984620005cb565b60208501519093506001600160601b03811681146200062757600080fd5b91506200063760408501620005cb565b90509250925092565b604081526000835180604084015260005b8181101562000670576020818701810151606086840101520162000651565b506000606082850101526060601f19601f83011684010191505060ff831660208301529392505050565b600060208284031215620006ad57600080fd5b815160ff81168114620006bf57600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620006f157607f821691505b6020821081036200071257634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200076657600081815260208120601f850160051c81016020861015620007415750805b601f850160051c820191505b8181101562000762578281556001016200074d565b5050505b505050565b81516001600160401b03811115620007875762000787620006c6565b6200079f81620007988454620006dc565b8462000718565b602080601f831160018114620007d75760008415620007be5750858301515b600019600386901b1c1916600185901b17855562000762565b600085815260208120601f198616915b828110156200080857888601518255948401946001909101908401620007e7565b5085821015620008275787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200084a57600080fd5b815162ffffff81168114620006bf57600080fd5b6000602082840312156200087157600080fd5b81518015158114620006bf57600080fd5b6148d180620008926000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c8063630361f61161010f578063b3c65015116100a2578063c2c7498711610071578063c2c74987146105e6578063caf4e3d4146105f9578063cde749f414610601578063cf7a1d771461061b57600080fd5b8063b3c650151461058d578063b6b412ba146105ad578063b88da759146105c0578063bbfbbfba146105d357600080fd5b8063946dfcfe116100de578063946dfcfe146104eb5780639cdaa7f914610512578063a3f4df7e1461054d578063a745e3df1461057a57600080fd5b8063630361f614610491578063644c45e0146104a45780637cef4842146104d0578063893d20e8146104e357600080fd5b80631eff4b22116101875780634f421333116101565780634f421333146104335780635ab1bd53146104465780635fd1a5f51461046b578063603ccaad1461047e57600080fd5b80631eff4b22146102bf578063423eb9fa146102f45780634d459c90146103075780634d5e16a91461042057600080fd5b80630d8e6e2c116101c35780630d8e6e2c146102525780630fec111c1461026e578063138461e01461028457806317d7de7c1461028c57600080fd5b806301ffc9a7146101ea578063095e2b721461022c5780630aaba8e814610241575b600080fd5b6102176101f83660046136e0565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023f61023a366004613896565b61062e565b005b61023f61024f3660046138fa565b50565b61025a6106ad565b60405162ffffff9091168152602001610223565b610276610737565b6040516102239291906139e0565b61023f61088a565b60408051808201909152600e81526d50726f647563745365727669636560901b60208201525b6040516102239190613a05565b6102e67f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b61023f610302366004613a18565b610aac565b6103c3610315366004613abd565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915260008051602061487c83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610223565b61023f61042e366004613aed565b610b21565b610217610441366004613abd565b610df4565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b6102e6610479366004613b26565b610ea7565b61023f61048c3660046138fa565b610fb0565b61023f61049f366004613b56565b611002565b600154600160a01b90046001600160601b03165b6040516001600160601b039091168152602001610223565b61023f6104de366004613bb0565b6115d7565b610453611626565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102e6565b610525610520366004613bde565b61173f565b604080519586526020860194909452928401919091526060830152608082015260a001610223565b6102b26040518060400160405280600e81526020016d50726f647563745365727669636560901b81525081565b61023f610588366004613c7b565b61181d565b610595611977565b6040516001600160401b039091168152602001610223565b61023f6105bb366004613d0c565b611998565b61025a6105ce366004613d41565b611a9c565b61023f6105e1366004613aed565b611aed565b6104b86105f4366004613d5a565b611e77565b610453612038565b6106096120ed565b60405160ff9091168152602001610223565b61023f610629366004613c7b565b612170565b60008061063b606e612278565b8151604051635c48084160e11b8152929450909250906001600160a01b0383169063b89010829061067490889085908990600401613df6565b600060405180830381600087803b15801561068e57600080fd5b505af11580156106a2573d6000803e3d6000fd5b505050505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561070e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107329190613e2a565b905090565b61073f61358c565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528061078b6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016107d3611626565b6001600160a01b031681526020018260010180546107f090613e47565b80601f016020809104026020016040519081016040528092919081815260200182805461081c90613e47565b80156108695780601f1061083e57610100808354040283529160200191610869565b820191906000526020600020905b81548152906001019060200180831161084c57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156108ec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109109190613e91565b15610957576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166109805760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156109c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ed9190613e91565b610a15576040516372657a5160e01b81526001600160a01b038216600482015260240161094e565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610a5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a839190613eb9565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b6000610ab8606e612278565b60405163211f5cfd60e11b81529092506001600160a01b038316915063423eb9fa90610aea9086908690600401613ed6565b600060405180830381600087803b158015610b0457600080fd5b505af1158015610b18573d6000803e3d6000fd5b50505050505050565b6000610b2d606e612278565b60405163bd7d9d8560e01b81526001600160601b0386166004820152909250600091506001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015610b81573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ba99190810190613f7d565b61016081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610c09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c2d9190613e91565b610c795760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032303a414c52454144595f41435449564154454400604482015260640161094e565b64ffffffffff83166101608201819052610100820151604051631ded81af60e31b81526004810192909252602482015273__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af4158015610ce5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d0991906140cf565b64ffffffffff16610180820152604051621ebc3760e61b81526001600160a01b038316906307af0dc090610d4390879085906004016140ec565b600060405180830381600087803b158015610d5d57600080fd5b505af1158015610d71573d6000803e3d6000fd5b50505050816001600160a01b0316635d4345cc85610d8d606490565b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b158015610dd657600080fd5b505af1158015610dea573d6000803e3d6000fd5b5050505050505050565b60008060008051602061487c83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610e7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea0919061423c565b1192915050565b6040516322f5db0f60e11b815260048101829052600090819073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af4158015610efc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f20919061423c565b90506000610f2e8583612544565b604051632255341b60e11b81526004810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610f81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa5919061423c565b925050505b92915050565b60405162461bcd60e51b815260206004820152602160248201527f4552524f523a5052532d3233343a4e4f545f5945545f494d504c454d454e54456044820152601160fa1b606482015260840161094e565b60008061100f606e612278565b815160405163bd7d9d8560e01b81526001600160601b0389166004820152929450909250906000906001600160a01b0384169063bd7d9d8590602401600060405180830381865afa158015611068573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526110909190810190613f7d565b80519091506001600160601b038381169116146110ef5760405162461bcd60e51b815260206004820152601760248201527f504f4c4943595f50524f445543545f4d49534d41544348000000000000000000604482015260640161094e565b6111ff6001600160a01b0384166309648a9d73__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038c1660d26040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af4158015611173573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611197919061423c565b6040518263ffffffff1660e01b81526004016111b591815260200190565b602060405180830381865afa1580156111d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111f69190614260565b60ff16600a1490565b61124b5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032313a53544154455f4e4f545f4150504c49454400604482015260640161094e565b6112536135ca565b600061125d613669565b60006112698786612560565b929650909450925090506112808784848e85612759565b91506001600160a01b038716635d4345cc8c60286040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b1580156112dd57600080fd5b505af11580156112f1573d6000803e3d6000fd5b5050505061131089611301600090565b64ffffffffff90811691161190565b156114265764ffffffffff89166101608601819052610100860151604051631ded81af60e31b81526004810192909252602482015273__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af4158015611381573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113a591906140cf565b64ffffffffff166101808601526001600160a01b038716635d4345cc8c60646040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b15801561140d57600080fd5b505af1158015611421573d6000803e3d6000fd5b505050505b8915611477576000611443888a60000151878f8a60c001516127f4565b90508560c001518660e00181815161145b919061427d565b90525060a08301805182919061147290839061427d565b905250505b604051621ebc3760e61b81526001600160a01b038816906307af0dc0906114a4908e9089906004016140ec565b600060405180830381600087803b1580156114be57600080fd5b505af11580156114d2573d6000803e3d6000fd5b5050604051637e8a1e3b60e11b81526001600160a01b038a16925063fd143c769150611504908690869060040161429e565b600060405180830381600087803b15801561151e57600080fd5b505af1158015611532573d6000803e3d6000fd5b505085516040516357f80bbf60e01b81526001600160601b0382166004820152909250600091506001600160a01b038a16906357f80bbf906024016040805180830381865afa158015611589573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115ad9190614349565b8051909150156115c8576115c8868e89876040015187612c40565b50505050505050505050505050565b60006115e3606e612278565b604051633e77a42160e11b81526001600160c01b03198616600482015260ff851660248201529092506001600160a01b0383169150637cef484290604401610aea565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561168b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116af9190613e91565b1561172f57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa15801561170b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107329190614383565b506002546001600160a01b031690565b600080600080600080611750612d0d565b90506000816001600160a01b0316635e78426b8d8f8e8e6040518563ffffffff1660e01b815260040161178694939291906143a0565b602060405180830381865afa1580156117a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117c7919061423c565b90506117d581838b8b612d2c565b929850909650945092506117e9868261427d565b96506117f5848661427d565b6117ff908861427d565b965061180b838861427d565b96505050965096509650965096915050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c61183f6106ad565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af415801561187f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118a391906143db565b60008051602061485c8339815191528054600160401b900460ff16806118d6575080546001600160401b03808416911610155b156118f45760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561191f8585613227565b61192883613462565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b600061073260008051602061485c833981519152546001600160401b031690565b6000806119a5606e612278565b815160405163f2b246c360e01b81526001600160601b0382166004820152929450909250906000906001600160a01b0384169063f2b246c3906024016101e060405180830381865afa1580156119ff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a239190614434565b60608101879052608081018690526040516306a5298b60e01b81529091506001600160a01b038416906306a5298b90611a6290859085906004016144f3565b600060405180830381600087803b158015611a7c57600080fd5b505af1158015611a90573d6000803e3d6000fd5b50505050505050505050565b600060008051602061487c8339815191526001018281548110611ac157611ac16145da565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600080611afa606e612278565b60405163bd7d9d8560e01b81526001600160601b038716600482015291935091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015611b4f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b779190810190613f7d565b835160405163f2b246c360e01b81526001600160601b0390911660048201529091506000906001600160a01b0384169063f2b246c3906024016101e060405180830381865afa158015611bce573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bf29190614434565b60c0830151855191925090611c0b908590848a856127f4565b50808360e001818151611c1e919061427d565b905250611c2c866000611301565b15611e0f5761016083015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015611c8e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cb29190613e91565b611cfe5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3033303a414c52454144595f41435449564154454400604482015260640161094e565b64ffffffffff86166101608401819052610100840151604051631ded81af60e31b81526004810192909252602482015273__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af4158015611d6a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d8e91906140cf565b64ffffffffff166101808401526001600160a01b038416635d4345cc8860646040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b158015611df657600080fd5b505af1158015611e0a573d6000803e3d6000fd5b505050505b604051621ebc3760e61b81526001600160a01b038516906307af0dc090611e3c908a9087906004016140ec565b600060405180830381600087803b158015611e5657600080fd5b505af1158015611e6a573d6000803e3d6000fd5b5050505050505050505050565b60008080611e85606e612278565b91509150611e91612038565b6001600160a01b0316635c992fed6040518060e00160405280611eb2600090565b6001600160601b039081168252865116602082015260400160d260ff16815260200160001515815260200160006001600160a01b031681526020018d6001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b8152600401611f2b91906145f0565b6020604051808303816000875af1158015611f4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f6e9190613eb9565b92506000611f808a8a8a8a8a8a61173f565b50508551604051630d9b998d60e01b81526001600160601b03808a16600483015291821660248201526001600160c01b0319808b1660448301528f166064820152608481018e905260a4810185905260c481018d9052908a1660e4820152929350506001600160a01b03841691630d9b998d915061010401600060405180830381600087803b15801561201257600080fd5b505af1158015612026573d6000803e3d6000fd5b50505050505050979650505050505050565b60008061204d6001546001600160a01b031690565b6001600160a01b031663a3bcd81d6120636120ed565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa1580156120c9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610faa9190614383565b60006120f76106ad565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801561214c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107329190614260565b60008051602061485c8339815191528054600160401b810460ff1615906001600160401b03166000811580156121a35750825b90506000826001600160401b031660011480156121bf5750303b155b9050811580156121cd575080155b156121eb5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561221557845460ff60401b1916600160401b1785555b61221f8888613227565b6122298787613462565b8315610dea57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050505050505050565b61228061358c565b6000806122956001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa1580156122db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122ff9190613eb9565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561235a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061237e9190613e91565b6123ca5760405162461bcd60e51b815260206004820152601760248201527f4552524f525f434f4d504f4e454e545f554e4b4e4f574e000000000000000000604482015260640161094e565b6001546001600160a01b03166040516305247a1760e51b81526001600160601b03831660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015612425573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261244d9190810190614603565b925061246383604001518560ff90811691161490565b6124a55760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b604482015260640161094e565b60006124b96001546001600160a01b031690565b60208501516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561250e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526125369190810190614603565b608001519395939450505050565b60006125598383670de0b6b3a764000061346a565b9392505050565b6125686135ca565b6000612572613669565b835160405163f2b246c360e01b81526001600160601b0390911660048201526000906001600160a01b0387169063f2b246c3906024016101e060405180830381865afa1580156125c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125ea9190614434565b6020860151604051634793b4ab60e01b81526001600160601b038216600482015291955093506001600160a01b03871690634793b4ab90602401600060405180830381865afa158015612641573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261266991908101906146d5565b805185519193506001600160601b039081169116146126c35760405162461bcd60e51b81526020600482015260166024820152750a09e989286b2be84aa9c88988abe9a92a69a82a886960531b604482015260640161094e565b83516040516357f80bbf60e01b81526001600160601b03821660048201526000906001600160a01b038916906357f80bbf906024016040805180830381865afa158015612714573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127389190614349565b905061274c81602001518860a00151610ea7565b9250505092959194509250565b612761613669565b8184608001818151612773919061427d565b90525060405163e1f64d7760e01b81526001600160601b03808716600483015284166024820152604481018390526001600160a01b0387169063e1f64d7790606401600060405180830381600087803b1580156127cf57600080fd5b505af11580156127e3573d6000803e3d6000fd5b505050508390505b95945050505050565b600081156127eb5760405163a310e2a360e01b81526001600160601b03861660048201526000906001600160a01b0388169063a310e2a390602401602060405180830381865afa15801561284c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128709190614383565b905060006128866001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03871660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156128d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128f99190614383565b8651604051630d48c43b60e11b81526001600160601b0390911660048201529091506000906001600160a01b038a1690631a91887690602401602060405180830381865afa15801561294f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129739190614383565b60608801516040516346f0526160e11b81528796509192509073__$a23651848365a6a5ca15f07b4331037f48$__90638de0a4c2906129b69084906004016147a6565b602060405180830381865af41580156129d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129f79190613e91565b15612a6b576040516317d5759960e31b81526001600160a01b03848116600483015283811660248301526044820188905285169063beabacc890606401600060405180830381600087803b158015612a4e57600080fd5b505af1158015612a62573d6000803e3d6000fd5b50505050612c33565b6000808b6001600160a01b031663f274e87d89856040518363ffffffff1660e01b8152600401612a9c9291906147bd565b6040805180830381865afa158015612ab8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612adc91906147db565b604051630d48c43b60e11b81526001600160601b038e16600482015291935091506000906001600160a01b038e1690631a91887690602401602060405180830381865afa158015612b31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b559190614383565b6040516317d5759960e31b81526001600160a01b0388811660048301528083166024830152604482018690529192509088169063beabacc890606401600060405180830381600087803b158015612bab57600080fd5b505af1158015612bbf573d6000803e3d6000fd5b50506040516317d5759960e31b81526001600160a01b0389811660048301528881166024830152604482018690528a16925063beabacc89150606401600060405180830381600087803b158015612c1557600080fd5b505af1158015612c29573d6000803e3d6000fd5b5093995050505050505b5050505095945050505050565b6000612c546001546001600160a01b031690565b86516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015612ca6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612cce9190810190614603565b608001516101208501516040516332f7fe0d60e11b815291925082916001600160a01b038316916365effc1a91611e3c918a91899089906004016147ff565b6000612d1761358c565b612d21606e612278565b506080015192915050565b6000806000806000876001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015612d72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d969190614383565b90506000816001600160a01b031663f2b246c38a6001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612de7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e0b9190613eb9565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024016101e060405180830381865afa158015612e50573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e749190614434565b604051634793b4ab60e01b81526001600160601b038a1660048201529091506000906001600160a01b03841690634793b4ab90602401600060405180830381865afa158015612ec7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612eef91908101906146d5565b805183519192506001600160601b03908116911614612f5b5760405162461bcd60e51b815260206004820152602260248201527f4552524f523a5052532d3033353a42554e444c455f504f4f4c5f4d49534d4154604482015261086960f31b606482015260840161094e565b606082015160405163012ebd8360e21b8152815160048201526020909101516024820152604481018c905273__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015612fc1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fe591906147db565b5060a083015160405163012ebd8360e21b8152815160048201526020909101516024820152604481018d905290975073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af415801561304f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061307391906147db565b5060208281015160405163012ebd8360e21b8152815160048201529101516024820152604481018d905290965073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af41580156130db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130ff91906147db565b50945060006131166001546001600160a01b031690565b60208401516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561316b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526131939190810190614603565b6080810151604051637be9cef560e11b81526001600160c01b03198c166004820152602481018f9052919250906001600160a01b0382169063f7d39dea90604401602060405180830381865afa1580156131f1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613215919061423c565b95505050505050945094509450949050565b61322f613553565b60008051602061487c833981519152600061325f60008051602061485c833981519152546001600160401b031690565b9050600061326b6106ad565b9050816001600160401b03166001036132985760028301805462ffffff191662ffffff83161790556132e6565b600283015462ffffff908116908216116132e65760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b604482015260640161094e565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b0380891692840192909252908616908201526060810161335a4290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf68906119689083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101e5613553565b60008080600019858709858702925082811083820303915050806000036134a45783828161349a5761349a614845565b0492505050612559565b8084116134eb5760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b604482015260640161094e565b600084868809600260036001881981018916988990049182028318808302840302808302840302808302840302808302840302808302840302918202909203026000889003889004909101858311909403939093029303949094049190911702949350505050565b60008051602061485c83398151915254600160401b900460ff1661358a57604051631afcd79f60e31b815260040160405180910390fd5b565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6040805161012081018252600080825260208083018290528284018290528351808501855282815280820183905260608401528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e084015283518085019094528184528301529061010082015290565b60405180610100016040528060006001600160601b031681526020016136a2604051806040016040528060008152602001600081525090565b815260200160608152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b6000602082840312156136f257600080fd5b81356001600160e01b03198116811461255957600080fd5b6001600160c01b03198116811461024f57600080fd5b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b038111828210171561375857613758613720565b60405290565b6040516101c081016001600160401b038111828210171561375857613758613720565b60405161012081016001600160401b038111828210171561375857613758613720565b60405160e081016001600160401b038111828210171561375857613758613720565b60405161010081016001600160401b038111828210171561375857613758613720565b604051601f8201601f191681016001600160401b038111828210171561381157613811613720565b604052919050565b60006001600160401b0382111561383257613832613720565b50601f01601f191660200190565b600082601f83011261385157600080fd5b813561386461385f82613819565b6137e9565b81815284602083860101111561387957600080fd5b816020850160208301376000918101602001919091529392505050565b600080604083850312156138a957600080fd5b82356138b48161370a565b915060208301356001600160401b038111156138cf57600080fd5b6138db85828601613840565b9150509250929050565b6001600160601b038116811461024f57600080fd5b60006020828403121561390c57600080fd5b8135612559816138e5565b60005b8381101561393257818101518382015260200161391a565b50506000910152565b60008151808452613953816020860160208601613917565b601f01601f19169290920160200192915050565b60006001600160601b038083511684528060208401511660208501525060ff6040830151166040840152606082015115156060840152608082015160018060a01b0380821660808601528060a08501511660a0860152505060c082015160e060c08501526139d860e085018261393b565b949350505050565b6040815260006139f36040830185613967565b82810360208401526127eb818561393b565b602081526000612559602083018461393b565b60008060408385031215613a2b57600080fd5b8235613a368161370a565b915060208301356001600160401b0380821115613a5257600080fd5b9084019060408287031215613a6657600080fd5b613a6e613736565b8235613a79816138e5565b8152602083013582811115613a8d57600080fd5b613a9988828601613840565b6020830152508093505050509250929050565b62ffffff8116811461024f57600080fd5b600060208284031215613acf57600080fd5b813561255981613aac565b64ffffffffff8116811461024f57600080fd5b60008060408385031215613b0057600080fd5b8235613b0b816138e5565b91506020830135613b1b81613ada565b809150509250929050565b60008060408385031215613b3957600080fd5b50508035926020909101359150565b801515811461024f57600080fd5b600080600060608486031215613b6b57600080fd5b8335613b76816138e5565b92506020840135613b8681613b48565b91506040840135613b9681613ada565b809150509250925092565b60ff8116811461024f57600080fd5b60008060408385031215613bc357600080fd5b8235613bce8161370a565b91506020830135613b1b81613ba1565b60008060008060008060c08789031215613bf757600080fd5b8635613c028161370a565b9550602087013594506040870135935060608701356001600160401b03811115613c2b57600080fd5b613c3789828a01613840565b9350506080870135613c48816138e5565b915060a0870135613c588161370a565b809150509295509295509295565b6001600160a01b038116811461024f57600080fd5b600080600060608486031215613c9057600080fd5b8335613c9b81613c66565b92506020840135613cab81613c66565b915060408401356001600160401b03811115613cc657600080fd5b613cd286828701613840565b9150509250925092565b600060408284031215613cee57600080fd5b613cf6613736565b9050813581526020820135602082015292915050565b60008060808385031215613d1f57600080fd5b613d298484613cdc565b9150613d388460408501613cdc565b90509250929050565b600060208284031215613d5357600080fd5b5035919050565b600080600080600080600060e0888a031215613d7557600080fd5b8735613d8081613c66565b96506020880135613d908161370a565b9550604088013594506060880135935060808801356001600160401b03811115613db957600080fd5b613dc58a828b01613840565b93505060a0880135613dd6816138e5565b915060c0880135613de68161370a565b8091505092959891949750929550565b6001600160401b0360c01b841681526001600160601b03831660208201526060604082015260006127eb606083018461393b565b600060208284031215613e3c57600080fd5b815161255981613aac565b600181811c90821680613e5b57607f821691505b602082108103613e7b57634e487b7160e01b600052602260045260246000fd5b50919050565b8051613e8c81613b48565b919050565b600060208284031215613ea357600080fd5b815161255981613b48565b8051613e8c816138e5565b600060208284031215613ecb57600080fd5b8151612559816138e5565b6001600160401b0360c01b83168152604060208201526001600160601b03825116604082015260006020830151604060608401526127eb608084018261393b565b8051613e8c8161370a565b8051613e8c81613c66565b600082601f830112613f3e57600080fd5b8151613f4c61385f82613819565b818152846020838601011115613f6157600080fd5b6139d8826020830160208701613917565b8051613e8c81613ada565b600060208284031215613f8f57600080fd5b81516001600160401b0380821115613fa657600080fd5b908301906101c08286031215613fbb57600080fd5b613fc361375e565b613fcc83613eae565b8152613fda60208401613eae565b6020820152613feb60408401613f17565b6040820152613ffc60608401613f22565b606082015261400d60808401613f17565b608082015260a083015160a082015260c083015160c082015260e083015160e0820152610100808401518183015250610120808401518381111561405057600080fd5b61405c88828701613f2d565b828401525050610140808401518381111561407657600080fd5b61408288828701613f2d565b8284015250506101609150614098828401613f72565b8282015261018091506140ac828401613f72565b828201526101a091506140c0828401613f72565b91810191909152949350505050565b6000602082840312156140e157600080fd5b815161255981613ada565b6001600160601b0383168152604060208201526141156040820183516001600160601b03169052565b6000602083015161413160608401826001600160601b03169052565b5060408301516001600160c01b0319811660808401525060608301516001600160a01b03811660a08401525060808301516001600160c01b0319811660c08401525060a083015160e083015260c0830151610100818185015260e08501519150610120828186015281860151925061014091508282860152808601519250506101c061016081818701526141c961020087018561393b565b9350828701519250610180603f1987860301818801526141e9858561393b565b94508188015193506101a091506142088288018564ffffffffff169052565b87015164ffffffffff811683880152925086015164ffffffffff81166101e087015291506142339050565b50949350505050565b60006020828403121561424e57600080fd5b5051919050565b8051613e8c81613ba1565b60006020828403121561427257600080fd5b815161255981613ba1565b80820180821115610faa57634e487b7160e01b600052601160045260246000fd5b60006001600160601b038085168352604060208401528084511660408401525060208301516142da606084018280518252602090810151910152565b5060408301516101208060a08501526142f761016085018361393b565b9150606085015160c0850152608085015160e085015260a085015161010085015260c085015161432f8286018264ffffffffff169052565b505060e084015164ffffffffff8116610140850152614233565b60006040828403121561435b57600080fd5b614363613736565b825161436e81613b48565b81526020928301519281019290925250919050565b60006020828403121561439557600080fd5b815161255981613c66565b8481526001600160401b0360c01b841660208201528260408201526080606082015260006143d1608083018461393b565b9695505050505050565b6000602082840312156143ed57600080fd5b81516001600160401b038116811461255957600080fd5b60006040828403121561441657600080fd5b61441e613736565b9050815181526020820151602082015292915050565b60006101e0828403121561444757600080fd5b61444f613781565b61445883613eae565b815261446660208401613eae565b602082015261447760408401613f22565b60408201526144898460608501614404565b606082015261449b8460a08501614404565b60808201526144ad8460e08501614404565b60a08201526144c0846101208501614404565b60c08201526144d3846101608501614404565b60e08201526144e6846101a08501614404565b6101008201529392505050565b6001600160601b03838116825282511660208083019190915282015161020082019061452a60408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a083015161010061458c8185018380518252602090810151910152565b60c0850151805161014086015260209081015161016086015260e086015180516101808701528101516101a086015294015180516101c0850152909301516101e09092019190915292915050565b634e487b7160e01b600052603260045260246000fd5b6020815260006125596020830184613967565b60006020828403121561461557600080fd5b81516001600160401b038082111561462c57600080fd5b9083019060e0828603121561464057600080fd5b6146486137a4565b61465183613eae565b815261465f60208401613eae565b602082015261467060408401614255565b604082015261468160608401613e81565b606082015261469260808401613f22565b60808201526146a360a08401613f22565b60a082015260c0830151828111156146ba57600080fd5b6146c687828601613f2d565b60c08301525095945050505050565b6000602082840312156146e757600080fd5b81516001600160401b03808211156146fe57600080fd5b90830190610120828603121561471357600080fd5b61471b6137c6565b61472483613eae565b81526147338660208501614404565b602082015260608301518281111561474a57600080fd5b61475687828601613f2d565b6040830152506080830151606082015260a0830151608082015260c083015160a082015261478660e08401613f72565b60c08201526147986101008401613f72565b60e082015295945050505050565b815181526020808301519082015260408101610faa565b82815260608101612559602083018480518252602090810151910152565b600080604083850312156147ee57600080fd5b505080516020909101519092909150565b6001600160601b0385168152608060208201526000614821608083018661393b565b8281036040840152614833818661393b565b91505082606083015295945050505050565b634e487b7160e01b600052601260045260246000fdfef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a264697066735822122075a7c249516d9be9b9858d560c5f3a95f2249968e30c58ff252c7381addc968f64736f6c63430008140033",
855
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101e55760003560e01c8063630361f61161010f578063b3c65015116100a2578063c2c7498711610071578063c2c74987146105e6578063caf4e3d4146105f9578063cde749f414610601578063cf7a1d771461061b57600080fd5b8063b3c650151461058d578063b6b412ba146105ad578063b88da759146105c0578063bbfbbfba146105d357600080fd5b8063946dfcfe116100de578063946dfcfe146104eb5780639cdaa7f914610512578063a3f4df7e1461054d578063a745e3df1461057a57600080fd5b8063630361f614610491578063644c45e0146104a45780637cef4842146104d0578063893d20e8146104e357600080fd5b80631eff4b22116101875780634f421333116101565780634f421333146104335780635ab1bd53146104465780635fd1a5f51461046b578063603ccaad1461047e57600080fd5b80631eff4b22146102bf578063423eb9fa146102f45780634d459c90146103075780634d5e16a91461042057600080fd5b80630d8e6e2c116101c35780630d8e6e2c146102525780630fec111c1461026e578063138461e01461028457806317d7de7c1461028c57600080fd5b806301ffc9a7146101ea578063095e2b721461022c5780630aaba8e814610241575b600080fd5b6102176101f83660046136e0565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023f61023a366004613896565b61062e565b005b61023f61024f3660046138fa565b50565b61025a6106ad565b60405162ffffff9091168152602001610223565b610276610737565b6040516102239291906139e0565b61023f61088a565b60408051808201909152600e81526d50726f647563745365727669636560901b60208201525b6040516102239190613a05565b6102e67f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b61023f610302366004613a18565b610aac565b6103c3610315366004613abd565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915260008051602061487c83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610223565b61023f61042e366004613aed565b610b21565b610217610441366004613abd565b610df4565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b6102e6610479366004613b26565b610ea7565b61023f61048c3660046138fa565b610fb0565b61023f61049f366004613b56565b611002565b600154600160a01b90046001600160601b03165b6040516001600160601b039091168152602001610223565b61023f6104de366004613bb0565b6115d7565b610453611626565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102e6565b610525610520366004613bde565b61173f565b604080519586526020860194909452928401919091526060830152608082015260a001610223565b6102b26040518060400160405280600e81526020016d50726f647563745365727669636560901b81525081565b61023f610588366004613c7b565b61181d565b610595611977565b6040516001600160401b039091168152602001610223565b61023f6105bb366004613d0c565b611998565b61025a6105ce366004613d41565b611a9c565b61023f6105e1366004613aed565b611aed565b6104b86105f4366004613d5a565b611e77565b610453612038565b6106096120ed565b60405160ff9091168152602001610223565b61023f610629366004613c7b565b612170565b60008061063b606e612278565b8151604051635c48084160e11b8152929450909250906001600160a01b0383169063b89010829061067490889085908990600401613df6565b600060405180830381600087803b15801561068e57600080fd5b505af11580156106a2573d6000803e3d6000fd5b505050505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561070e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107329190613e2a565b905090565b61073f61358c565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528061078b6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016107d3611626565b6001600160a01b031681526020018260010180546107f090613e47565b80601f016020809104026020016040519081016040528092919081815260200182805461081c90613e47565b80156108695780601f1061083e57610100808354040283529160200191610869565b820191906000526020600020905b81548152906001019060200180831161084c57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156108ec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109109190613e91565b15610957576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166109805760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156109c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ed9190613e91565b610a15576040516372657a5160e01b81526001600160a01b038216600482015260240161094e565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610a5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a839190613eb9565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b6000610ab8606e612278565b60405163211f5cfd60e11b81529092506001600160a01b038316915063423eb9fa90610aea9086908690600401613ed6565b600060405180830381600087803b158015610b0457600080fd5b505af1158015610b18573d6000803e3d6000fd5b50505050505050565b6000610b2d606e612278565b60405163bd7d9d8560e01b81526001600160601b0386166004820152909250600091506001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015610b81573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ba99190810190613f7d565b61016081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610c09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c2d9190613e91565b610c795760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032303a414c52454144595f41435449564154454400604482015260640161094e565b64ffffffffff83166101608201819052610100820151604051631ded81af60e31b81526004810192909252602482015273__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af4158015610ce5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d0991906140cf565b64ffffffffff16610180820152604051621ebc3760e61b81526001600160a01b038316906307af0dc090610d4390879085906004016140ec565b600060405180830381600087803b158015610d5d57600080fd5b505af1158015610d71573d6000803e3d6000fd5b50505050816001600160a01b0316635d4345cc85610d8d606490565b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b158015610dd657600080fd5b505af1158015610dea573d6000803e3d6000fd5b5050505050505050565b60008060008051602061487c83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610e7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea0919061423c565b1192915050565b6040516322f5db0f60e11b815260048101829052600090819073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af4158015610efc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f20919061423c565b90506000610f2e8583612544565b604051632255341b60e11b81526004810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610f81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa5919061423c565b925050505b92915050565b60405162461bcd60e51b815260206004820152602160248201527f4552524f523a5052532d3233343a4e4f545f5945545f494d504c454d454e54456044820152601160fa1b606482015260840161094e565b60008061100f606e612278565b815160405163bd7d9d8560e01b81526001600160601b0389166004820152929450909250906000906001600160a01b0384169063bd7d9d8590602401600060405180830381865afa158015611068573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526110909190810190613f7d565b80519091506001600160601b038381169116146110ef5760405162461bcd60e51b815260206004820152601760248201527f504f4c4943595f50524f445543545f4d49534d41544348000000000000000000604482015260640161094e565b6111ff6001600160a01b0384166309648a9d73__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038c1660d26040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af4158015611173573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611197919061423c565b6040518263ffffffff1660e01b81526004016111b591815260200190565b602060405180830381865afa1580156111d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111f69190614260565b60ff16600a1490565b61124b5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032313a53544154455f4e4f545f4150504c49454400604482015260640161094e565b6112536135ca565b600061125d613669565b60006112698786612560565b929650909450925090506112808784848e85612759565b91506001600160a01b038716635d4345cc8c60286040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b1580156112dd57600080fd5b505af11580156112f1573d6000803e3d6000fd5b5050505061131089611301600090565b64ffffffffff90811691161190565b156114265764ffffffffff89166101608601819052610100860151604051631ded81af60e31b81526004810192909252602482015273__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af4158015611381573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113a591906140cf565b64ffffffffff166101808601526001600160a01b038716635d4345cc8c60646040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b15801561140d57600080fd5b505af1158015611421573d6000803e3d6000fd5b505050505b8915611477576000611443888a60000151878f8a60c001516127f4565b90508560c001518660e00181815161145b919061427d565b90525060a08301805182919061147290839061427d565b905250505b604051621ebc3760e61b81526001600160a01b038816906307af0dc0906114a4908e9089906004016140ec565b600060405180830381600087803b1580156114be57600080fd5b505af11580156114d2573d6000803e3d6000fd5b5050604051637e8a1e3b60e11b81526001600160a01b038a16925063fd143c769150611504908690869060040161429e565b600060405180830381600087803b15801561151e57600080fd5b505af1158015611532573d6000803e3d6000fd5b505085516040516357f80bbf60e01b81526001600160601b0382166004820152909250600091506001600160a01b038a16906357f80bbf906024016040805180830381865afa158015611589573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115ad9190614349565b8051909150156115c8576115c8868e89876040015187612c40565b50505050505050505050505050565b60006115e3606e612278565b604051633e77a42160e11b81526001600160c01b03198616600482015260ff851660248201529092506001600160a01b0383169150637cef484290604401610aea565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561168b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116af9190613e91565b1561172f57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa15801561170b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107329190614383565b506002546001600160a01b031690565b600080600080600080611750612d0d565b90506000816001600160a01b0316635e78426b8d8f8e8e6040518563ffffffff1660e01b815260040161178694939291906143a0565b602060405180830381865afa1580156117a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117c7919061423c565b90506117d581838b8b612d2c565b929850909650945092506117e9868261427d565b96506117f5848661427d565b6117ff908861427d565b965061180b838861427d565b96505050965096509650965096915050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c61183f6106ad565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af415801561187f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118a391906143db565b60008051602061485c8339815191528054600160401b900460ff16806118d6575080546001600160401b03808416911610155b156118f45760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561191f8585613227565b61192883613462565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b600061073260008051602061485c833981519152546001600160401b031690565b6000806119a5606e612278565b815160405163f2b246c360e01b81526001600160601b0382166004820152929450909250906000906001600160a01b0384169063f2b246c3906024016101e060405180830381865afa1580156119ff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a239190614434565b60608101879052608081018690526040516306a5298b60e01b81529091506001600160a01b038416906306a5298b90611a6290859085906004016144f3565b600060405180830381600087803b158015611a7c57600080fd5b505af1158015611a90573d6000803e3d6000fd5b50505050505050505050565b600060008051602061487c8339815191526001018281548110611ac157611ac16145da565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600080611afa606e612278565b60405163bd7d9d8560e01b81526001600160601b038716600482015291935091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015611b4f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b779190810190613f7d565b835160405163f2b246c360e01b81526001600160601b0390911660048201529091506000906001600160a01b0384169063f2b246c3906024016101e060405180830381865afa158015611bce573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bf29190614434565b60c0830151855191925090611c0b908590848a856127f4565b50808360e001818151611c1e919061427d565b905250611c2c866000611301565b15611e0f5761016083015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015611c8e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cb29190613e91565b611cfe5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3033303a414c52454144595f41435449564154454400604482015260640161094e565b64ffffffffff86166101608401819052610100840151604051631ded81af60e31b81526004810192909252602482015273__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af4158015611d6a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d8e91906140cf565b64ffffffffff166101808401526001600160a01b038416635d4345cc8860646040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b158015611df657600080fd5b505af1158015611e0a573d6000803e3d6000fd5b505050505b604051621ebc3760e61b81526001600160a01b038516906307af0dc090611e3c908a9087906004016140ec565b600060405180830381600087803b158015611e5657600080fd5b505af1158015611e6a573d6000803e3d6000fd5b5050505050505050505050565b60008080611e85606e612278565b91509150611e91612038565b6001600160a01b0316635c992fed6040518060e00160405280611eb2600090565b6001600160601b039081168252865116602082015260400160d260ff16815260200160001515815260200160006001600160a01b031681526020018d6001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b8152600401611f2b91906145f0565b6020604051808303816000875af1158015611f4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f6e9190613eb9565b92506000611f808a8a8a8a8a8a61173f565b50508551604051630d9b998d60e01b81526001600160601b03808a16600483015291821660248201526001600160c01b0319808b1660448301528f166064820152608481018e905260a4810185905260c481018d9052908a1660e4820152929350506001600160a01b03841691630d9b998d915061010401600060405180830381600087803b15801561201257600080fd5b505af1158015612026573d6000803e3d6000fd5b50505050505050979650505050505050565b60008061204d6001546001600160a01b031690565b6001600160a01b031663a3bcd81d6120636120ed565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa1580156120c9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610faa9190614383565b60006120f76106ad565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801561214c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107329190614260565b60008051602061485c8339815191528054600160401b810460ff1615906001600160401b03166000811580156121a35750825b90506000826001600160401b031660011480156121bf5750303b155b9050811580156121cd575080155b156121eb5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561221557845460ff60401b1916600160401b1785555b61221f8888613227565b6122298787613462565b8315610dea57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050505050505050565b61228061358c565b6000806122956001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa1580156122db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122ff9190613eb9565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561235a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061237e9190613e91565b6123ca5760405162461bcd60e51b815260206004820152601760248201527f4552524f525f434f4d504f4e454e545f554e4b4e4f574e000000000000000000604482015260640161094e565b6001546001600160a01b03166040516305247a1760e51b81526001600160601b03831660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015612425573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261244d9190810190614603565b925061246383604001518560ff90811691161490565b6124a55760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b604482015260640161094e565b60006124b96001546001600160a01b031690565b60208501516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561250e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526125369190810190614603565b608001519395939450505050565b60006125598383670de0b6b3a764000061346a565b9392505050565b6125686135ca565b6000612572613669565b835160405163f2b246c360e01b81526001600160601b0390911660048201526000906001600160a01b0387169063f2b246c3906024016101e060405180830381865afa1580156125c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125ea9190614434565b6020860151604051634793b4ab60e01b81526001600160601b038216600482015291955093506001600160a01b03871690634793b4ab90602401600060405180830381865afa158015612641573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261266991908101906146d5565b805185519193506001600160601b039081169116146126c35760405162461bcd60e51b81526020600482015260166024820152750a09e989286b2be84aa9c88988abe9a92a69a82a886960531b604482015260640161094e565b83516040516357f80bbf60e01b81526001600160601b03821660048201526000906001600160a01b038916906357f80bbf906024016040805180830381865afa158015612714573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127389190614349565b905061274c81602001518860a00151610ea7565b9250505092959194509250565b612761613669565b8184608001818151612773919061427d565b90525060405163e1f64d7760e01b81526001600160601b03808716600483015284166024820152604481018390526001600160a01b0387169063e1f64d7790606401600060405180830381600087803b1580156127cf57600080fd5b505af11580156127e3573d6000803e3d6000fd5b505050508390505b95945050505050565b600081156127eb5760405163a310e2a360e01b81526001600160601b03861660048201526000906001600160a01b0388169063a310e2a390602401602060405180830381865afa15801561284c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128709190614383565b905060006128866001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03871660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156128d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128f99190614383565b8651604051630d48c43b60e11b81526001600160601b0390911660048201529091506000906001600160a01b038a1690631a91887690602401602060405180830381865afa15801561294f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129739190614383565b60608801516040516346f0526160e11b81528796509192509073__$a23651848365a6a5ca15f07b4331037f48$__90638de0a4c2906129b69084906004016147a6565b602060405180830381865af41580156129d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129f79190613e91565b15612a6b576040516317d5759960e31b81526001600160a01b03848116600483015283811660248301526044820188905285169063beabacc890606401600060405180830381600087803b158015612a4e57600080fd5b505af1158015612a62573d6000803e3d6000fd5b50505050612c33565b6000808b6001600160a01b031663f274e87d89856040518363ffffffff1660e01b8152600401612a9c9291906147bd565b6040805180830381865afa158015612ab8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612adc91906147db565b604051630d48c43b60e11b81526001600160601b038e16600482015291935091506000906001600160a01b038e1690631a91887690602401602060405180830381865afa158015612b31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b559190614383565b6040516317d5759960e31b81526001600160a01b0388811660048301528083166024830152604482018690529192509088169063beabacc890606401600060405180830381600087803b158015612bab57600080fd5b505af1158015612bbf573d6000803e3d6000fd5b50506040516317d5759960e31b81526001600160a01b0389811660048301528881166024830152604482018690528a16925063beabacc89150606401600060405180830381600087803b158015612c1557600080fd5b505af1158015612c29573d6000803e3d6000fd5b5093995050505050505b5050505095945050505050565b6000612c546001546001600160a01b031690565b86516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015612ca6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612cce9190810190614603565b608001516101208501516040516332f7fe0d60e11b815291925082916001600160a01b038316916365effc1a91611e3c918a91899089906004016147ff565b6000612d1761358c565b612d21606e612278565b506080015192915050565b6000806000806000876001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015612d72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d969190614383565b90506000816001600160a01b031663f2b246c38a6001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612de7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e0b9190613eb9565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024016101e060405180830381865afa158015612e50573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e749190614434565b604051634793b4ab60e01b81526001600160601b038a1660048201529091506000906001600160a01b03841690634793b4ab90602401600060405180830381865afa158015612ec7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612eef91908101906146d5565b805183519192506001600160601b03908116911614612f5b5760405162461bcd60e51b815260206004820152602260248201527f4552524f523a5052532d3033353a42554e444c455f504f4f4c5f4d49534d4154604482015261086960f31b606482015260840161094e565b606082015160405163012ebd8360e21b8152815160048201526020909101516024820152604481018c905273__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015612fc1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fe591906147db565b5060a083015160405163012ebd8360e21b8152815160048201526020909101516024820152604481018d905290975073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af415801561304f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061307391906147db565b5060208281015160405163012ebd8360e21b8152815160048201529101516024820152604481018d905290965073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af41580156130db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130ff91906147db565b50945060006131166001546001600160a01b031690565b60208401516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561316b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526131939190810190614603565b6080810151604051637be9cef560e11b81526001600160c01b03198c166004820152602481018f9052919250906001600160a01b0382169063f7d39dea90604401602060405180830381865afa1580156131f1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613215919061423c565b95505050505050945094509450949050565b61322f613553565b60008051602061487c833981519152600061325f60008051602061485c833981519152546001600160401b031690565b9050600061326b6106ad565b9050816001600160401b03166001036132985760028301805462ffffff191662ffffff83161790556132e6565b600283015462ffffff908116908216116132e65760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b604482015260640161094e565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b0380891692840192909252908616908201526060810161335a4290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf68906119689083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101e5613553565b60008080600019858709858702925082811083820303915050806000036134a45783828161349a5761349a614845565b0492505050612559565b8084116134eb5760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b604482015260640161094e565b600084868809600260036001881981018916988990049182028318808302840302808302840302808302840302808302840302808302840302918202909203026000889003889004909101858311909403939093029303949094049190911702949350505050565b60008051602061485c83398151915254600160401b900460ff1661358a57604051631afcd79f60e31b815260040160405180910390fd5b565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6040805161012081018252600080825260208083018290528284018290528351808501855282815280820183905260608401528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e084015283518085019094528184528301529061010082015290565b60405180610100016040528060006001600160601b031681526020016136a2604051806040016040528060008152602001600081525090565b815260200160608152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b6000602082840312156136f257600080fd5b81356001600160e01b03198116811461255957600080fd5b6001600160c01b03198116811461024f57600080fd5b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b038111828210171561375857613758613720565b60405290565b6040516101c081016001600160401b038111828210171561375857613758613720565b60405161012081016001600160401b038111828210171561375857613758613720565b60405160e081016001600160401b038111828210171561375857613758613720565b60405161010081016001600160401b038111828210171561375857613758613720565b604051601f8201601f191681016001600160401b038111828210171561381157613811613720565b604052919050565b60006001600160401b0382111561383257613832613720565b50601f01601f191660200190565b600082601f83011261385157600080fd5b813561386461385f82613819565b6137e9565b81815284602083860101111561387957600080fd5b816020850160208301376000918101602001919091529392505050565b600080604083850312156138a957600080fd5b82356138b48161370a565b915060208301356001600160401b038111156138cf57600080fd5b6138db85828601613840565b9150509250929050565b6001600160601b038116811461024f57600080fd5b60006020828403121561390c57600080fd5b8135612559816138e5565b60005b8381101561393257818101518382015260200161391a565b50506000910152565b60008151808452613953816020860160208601613917565b601f01601f19169290920160200192915050565b60006001600160601b038083511684528060208401511660208501525060ff6040830151166040840152606082015115156060840152608082015160018060a01b0380821660808601528060a08501511660a0860152505060c082015160e060c08501526139d860e085018261393b565b949350505050565b6040815260006139f36040830185613967565b82810360208401526127eb818561393b565b602081526000612559602083018461393b565b60008060408385031215613a2b57600080fd5b8235613a368161370a565b915060208301356001600160401b0380821115613a5257600080fd5b9084019060408287031215613a6657600080fd5b613a6e613736565b8235613a79816138e5565b8152602083013582811115613a8d57600080fd5b613a9988828601613840565b6020830152508093505050509250929050565b62ffffff8116811461024f57600080fd5b600060208284031215613acf57600080fd5b813561255981613aac565b64ffffffffff8116811461024f57600080fd5b60008060408385031215613b0057600080fd5b8235613b0b816138e5565b91506020830135613b1b81613ada565b809150509250929050565b60008060408385031215613b3957600080fd5b50508035926020909101359150565b801515811461024f57600080fd5b600080600060608486031215613b6b57600080fd5b8335613b76816138e5565b92506020840135613b8681613b48565b91506040840135613b9681613ada565b809150509250925092565b60ff8116811461024f57600080fd5b60008060408385031215613bc357600080fd5b8235613bce8161370a565b91506020830135613b1b81613ba1565b60008060008060008060c08789031215613bf757600080fd5b8635613c028161370a565b9550602087013594506040870135935060608701356001600160401b03811115613c2b57600080fd5b613c3789828a01613840565b9350506080870135613c48816138e5565b915060a0870135613c588161370a565b809150509295509295509295565b6001600160a01b038116811461024f57600080fd5b600080600060608486031215613c9057600080fd5b8335613c9b81613c66565b92506020840135613cab81613c66565b915060408401356001600160401b03811115613cc657600080fd5b613cd286828701613840565b9150509250925092565b600060408284031215613cee57600080fd5b613cf6613736565b9050813581526020820135602082015292915050565b60008060808385031215613d1f57600080fd5b613d298484613cdc565b9150613d388460408501613cdc565b90509250929050565b600060208284031215613d5357600080fd5b5035919050565b600080600080600080600060e0888a031215613d7557600080fd5b8735613d8081613c66565b96506020880135613d908161370a565b9550604088013594506060880135935060808801356001600160401b03811115613db957600080fd5b613dc58a828b01613840565b93505060a0880135613dd6816138e5565b915060c0880135613de68161370a565b8091505092959891949750929550565b6001600160401b0360c01b841681526001600160601b03831660208201526060604082015260006127eb606083018461393b565b600060208284031215613e3c57600080fd5b815161255981613aac565b600181811c90821680613e5b57607f821691505b602082108103613e7b57634e487b7160e01b600052602260045260246000fd5b50919050565b8051613e8c81613b48565b919050565b600060208284031215613ea357600080fd5b815161255981613b48565b8051613e8c816138e5565b600060208284031215613ecb57600080fd5b8151612559816138e5565b6001600160401b0360c01b83168152604060208201526001600160601b03825116604082015260006020830151604060608401526127eb608084018261393b565b8051613e8c8161370a565b8051613e8c81613c66565b600082601f830112613f3e57600080fd5b8151613f4c61385f82613819565b818152846020838601011115613f6157600080fd5b6139d8826020830160208701613917565b8051613e8c81613ada565b600060208284031215613f8f57600080fd5b81516001600160401b0380821115613fa657600080fd5b908301906101c08286031215613fbb57600080fd5b613fc361375e565b613fcc83613eae565b8152613fda60208401613eae565b6020820152613feb60408401613f17565b6040820152613ffc60608401613f22565b606082015261400d60808401613f17565b608082015260a083015160a082015260c083015160c082015260e083015160e0820152610100808401518183015250610120808401518381111561405057600080fd5b61405c88828701613f2d565b828401525050610140808401518381111561407657600080fd5b61408288828701613f2d565b8284015250506101609150614098828401613f72565b8282015261018091506140ac828401613f72565b828201526101a091506140c0828401613f72565b91810191909152949350505050565b6000602082840312156140e157600080fd5b815161255981613ada565b6001600160601b0383168152604060208201526141156040820183516001600160601b03169052565b6000602083015161413160608401826001600160601b03169052565b5060408301516001600160c01b0319811660808401525060608301516001600160a01b03811660a08401525060808301516001600160c01b0319811660c08401525060a083015160e083015260c0830151610100818185015260e08501519150610120828186015281860151925061014091508282860152808601519250506101c061016081818701526141c961020087018561393b565b9350828701519250610180603f1987860301818801526141e9858561393b565b94508188015193506101a091506142088288018564ffffffffff169052565b87015164ffffffffff811683880152925086015164ffffffffff81166101e087015291506142339050565b50949350505050565b60006020828403121561424e57600080fd5b5051919050565b8051613e8c81613ba1565b60006020828403121561427257600080fd5b815161255981613ba1565b80820180821115610faa57634e487b7160e01b600052601160045260246000fd5b60006001600160601b038085168352604060208401528084511660408401525060208301516142da606084018280518252602090810151910152565b5060408301516101208060a08501526142f761016085018361393b565b9150606085015160c0850152608085015160e085015260a085015161010085015260c085015161432f8286018264ffffffffff169052565b505060e084015164ffffffffff8116610140850152614233565b60006040828403121561435b57600080fd5b614363613736565b825161436e81613b48565b81526020928301519281019290925250919050565b60006020828403121561439557600080fd5b815161255981613c66565b8481526001600160401b0360c01b841660208201528260408201526080606082015260006143d1608083018461393b565b9695505050505050565b6000602082840312156143ed57600080fd5b81516001600160401b038116811461255957600080fd5b60006040828403121561441657600080fd5b61441e613736565b9050815181526020820151602082015292915050565b60006101e0828403121561444757600080fd5b61444f613781565b61445883613eae565b815261446660208401613eae565b602082015261447760408401613f22565b60408201526144898460608501614404565b606082015261449b8460a08501614404565b60808201526144ad8460e08501614404565b60a08201526144c0846101208501614404565b60c08201526144d3846101608501614404565b60e08201526144e6846101a08501614404565b6101008201529392505050565b6001600160601b03838116825282511660208083019190915282015161020082019061452a60408401826001600160601b03169052565b5060408301516001600160a01b038116606084015250606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a083015161010061458c8185018380518252602090810151910152565b60c0850151805161014086015260209081015161016086015260e086015180516101808701528101516101a086015294015180516101c0850152909301516101e09092019190915292915050565b634e487b7160e01b600052603260045260246000fd5b6020815260006125596020830184613967565b60006020828403121561461557600080fd5b81516001600160401b038082111561462c57600080fd5b9083019060e0828603121561464057600080fd5b6146486137a4565b61465183613eae565b815261465f60208401613eae565b602082015261467060408401614255565b604082015261468160608401613e81565b606082015261469260808401613f22565b60808201526146a360a08401613f22565b60a082015260c0830151828111156146ba57600080fd5b6146c687828601613f2d565b60c08301525095945050505050565b6000602082840312156146e757600080fd5b81516001600160401b03808211156146fe57600080fd5b90830190610120828603121561471357600080fd5b61471b6137c6565b61472483613eae565b81526147338660208501614404565b602082015260608301518281111561474a57600080fd5b61475687828601613f2d565b6040830152506080830151606082015260a0830151608082015260c083015160a082015261478660e08401613f72565b60c08201526147986101008401613f72565b60e082015295945050505050565b815181526020808301519082015260408101610faa565b82815260608101612559602083018480518252602090810151910152565b600080604083850312156147ee57600080fd5b505080516020909101519092909150565b6001600160601b0385168152608060208201526000614821608083018661393b565b8281036040840152614833818661393b565b91505082606083015295945050505050565b634e487b7160e01b600052601260045260246000fdfef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a264697066735822122075a7c249516d9be9b9858d560c5f3a95f2249968e30c58ff252c7381addc968f64736f6c63430008140033",
517
856
  "linkReferences": {
518
857
  "contracts/types/Blocknumber.sol": {
519
858
  "BlocknumberLib": [
520
859
  {
521
860
  "length": 20,
522
- "start": 1766
523
- },
524
- {
525
- "length": 20,
526
- "start": 3525
861
+ "start": 5844
527
862
  }
528
863
  ]
529
864
  },
@@ -531,7 +866,19 @@
531
866
  "FeeLib": [
532
867
  {
533
868
  "length": 20,
534
- "start": 9883
869
+ "start": 12832
870
+ },
871
+ {
872
+ "length": 20,
873
+ "start": 14362
874
+ },
875
+ {
876
+ "length": 20,
877
+ "start": 14504
878
+ },
879
+ {
880
+ "length": 20,
881
+ "start": 14644
535
882
  }
536
883
  ]
537
884
  },
@@ -539,7 +886,19 @@
539
886
  "NftIdLib": [
540
887
  {
541
888
  "length": 20,
542
- "start": 8063
889
+ "start": 4420
890
+ },
891
+ {
892
+ "length": 20,
893
+ "start": 6549
894
+ },
895
+ {
896
+ "length": 20,
897
+ "start": 7907
898
+ },
899
+ {
900
+ "length": 20,
901
+ "start": 11186
543
902
  }
544
903
  ]
545
904
  },
@@ -547,35 +906,35 @@
547
906
  "TimestampLib": [
548
907
  {
549
908
  "length": 20,
550
- "start": 4187
909
+ "start": 5217
551
910
  },
552
911
  {
553
912
  "length": 20,
554
- "start": 4407
913
+ "start": 5437
555
914
  },
556
915
  {
557
916
  "length": 20,
558
- "start": 5450
917
+ "start": 7129
559
918
  },
560
919
  {
561
920
  "length": 20,
562
- "start": 7183
921
+ "start": 9446
563
922
  },
564
923
  {
565
924
  "length": 20,
566
- "start": 7403
925
+ "start": 9666
567
926
  }
568
927
  ]
569
928
  },
570
929
  "contracts/types/UFixed.sol": {
571
- "UFixedMathLib": [
930
+ "UFixedLib": [
572
931
  {
573
932
  "length": 20,
574
- "start": 4648
933
+ "start": 5972
575
934
  },
576
935
  {
577
936
  "length": 20,
578
- "start": 4781
937
+ "start": 6105
579
938
  }
580
939
  ]
581
940
  },
@@ -583,15 +942,23 @@
583
942
  "VersionLib": [
584
943
  {
585
944
  "length": 20,
586
- "start": 1602
945
+ "start": 625
587
946
  },
588
947
  {
589
948
  "length": 20,
590
- "start": 3665
949
+ "start": 975
591
950
  },
592
951
  {
593
952
  "length": 20,
594
- "start": 7748
953
+ "start": 3942
954
+ },
955
+ {
956
+ "length": 20,
957
+ "start": 8369
958
+ },
959
+ {
960
+ "length": 20,
961
+ "start": 10660
595
962
  }
596
963
  ]
597
964
  }
@@ -601,7 +968,7 @@
601
968
  "BlocknumberLib": [
602
969
  {
603
970
  "length": 20,
604
- "start": 1277
971
+ "start": 3650
605
972
  }
606
973
  ]
607
974
  },
@@ -609,7 +976,19 @@
609
976
  "FeeLib": [
610
977
  {
611
978
  "length": 20,
612
- "start": 7635
979
+ "start": 10638
980
+ },
981
+ {
982
+ "length": 20,
983
+ "start": 12168
984
+ },
985
+ {
986
+ "length": 20,
987
+ "start": 12310
988
+ },
989
+ {
990
+ "length": 20,
991
+ "start": 12450
613
992
  }
614
993
  ]
615
994
  },
@@ -617,7 +996,19 @@
617
996
  "NftIdLib": [
618
997
  {
619
998
  "length": 20,
620
- "start": 5815
999
+ "start": 2226
1000
+ },
1001
+ {
1002
+ "length": 20,
1003
+ "start": 4355
1004
+ },
1005
+ {
1006
+ "length": 20,
1007
+ "start": 5713
1008
+ },
1009
+ {
1010
+ "length": 20,
1011
+ "start": 8992
621
1012
  }
622
1013
  ]
623
1014
  },
@@ -625,35 +1016,35 @@
625
1016
  "TimestampLib": [
626
1017
  {
627
1018
  "length": 20,
628
- "start": 1939
1019
+ "start": 3023
629
1020
  },
630
1021
  {
631
1022
  "length": 20,
632
- "start": 2159
1023
+ "start": 3243
633
1024
  },
634
1025
  {
635
1026
  "length": 20,
636
- "start": 3202
1027
+ "start": 4935
637
1028
  },
638
1029
  {
639
1030
  "length": 20,
640
- "start": 4935
1031
+ "start": 7252
641
1032
  },
642
1033
  {
643
1034
  "length": 20,
644
- "start": 5155
1035
+ "start": 7472
645
1036
  }
646
1037
  ]
647
1038
  },
648
1039
  "contracts/types/UFixed.sol": {
649
- "UFixedMathLib": [
1040
+ "UFixedLib": [
650
1041
  {
651
1042
  "length": 20,
652
- "start": 2400
1043
+ "start": 3778
653
1044
  },
654
1045
  {
655
1046
  "length": 20,
656
- "start": 2533
1047
+ "start": 3911
657
1048
  }
658
1049
  ]
659
1050
  },
@@ -661,11 +1052,15 @@
661
1052
  "VersionLib": [
662
1053
  {
663
1054
  "length": 20,
664
- "start": 1417
1055
+ "start": 1748
1056
+ },
1057
+ {
1058
+ "length": 20,
1059
+ "start": 6175
665
1060
  },
666
1061
  {
667
1062
  "length": 20,
668
- "start": 5500
1063
+ "start": 8466
669
1064
  }
670
1065
  ]
671
1066
  }