@etherisc/gif-next 0.0.2-f12cf4d-104 → 0.0.2-f13d67f-541

Sign up to get free protection for your applications and to get access to all the features.
Files changed (555) hide show
  1. package/README.md +86 -312
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1075 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +810 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +843 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +729 -287
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +2008 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +202 -5
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +438 -35
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
  17. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +560 -220
  19. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +191 -21
  21. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +256 -16
  23. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +426 -27
  25. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +128 -218
  27. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +427 -53
  29. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +58 -137
  31. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +555 -217
  33. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +170 -82
  35. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +37 -116
  37. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +401 -78
  39. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +1 -1
  40. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +1 -1
  41. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +183 -138
  42. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +1 -1
  43. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +401 -59
  44. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +1 -1
  45. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +324 -260
  46. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +1 -1
  47. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +426 -52
  48. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +1 -1
  49. package/artifacts/contracts/examples/flight/FlightLib.sol/FlightLib.dbg.json +4 -0
  50. package/artifacts/contracts/examples/flight/FlightLib.sol/FlightLib.json +408 -0
  51. package/artifacts/contracts/examples/flight/FlightOracle.sol/FlightOracle.dbg.json +4 -0
  52. package/artifacts/contracts/examples/flight/FlightOracle.sol/FlightOracle.json +1198 -0
  53. package/artifacts/contracts/examples/flight/FlightOracleAuthorization.sol/FlightOracleAuthorization.dbg.json +4 -0
  54. package/artifacts/contracts/examples/flight/FlightOracleAuthorization.sol/FlightOracleAuthorization.json +849 -0
  55. package/artifacts/contracts/examples/flight/FlightPool.sol/FlightPool.dbg.json +4 -0
  56. package/artifacts/contracts/examples/flight/FlightPool.sol/FlightPool.json +1466 -0
  57. package/artifacts/contracts/examples/flight/FlightPoolAuthorization.sol/FlightPoolAuthorization.dbg.json +4 -0
  58. package/artifacts/contracts/examples/flight/FlightPoolAuthorization.sol/FlightPoolAuthorization.json +844 -0
  59. package/artifacts/contracts/examples/flight/FlightProduct.sol/FlightProduct.dbg.json +4 -0
  60. package/artifacts/contracts/examples/flight/FlightProduct.sol/FlightProduct.json +2185 -0
  61. package/artifacts/contracts/examples/flight/FlightProductAuthorization.sol/FlightProductAuthorization.dbg.json +4 -0
  62. package/artifacts/contracts/examples/flight/FlightProductAuthorization.sol/FlightProductAuthorization.json +844 -0
  63. package/artifacts/contracts/examples/flight/FlightUSD.sol/FlightUSD.dbg.json +4 -0
  64. package/artifacts/contracts/examples/flight/FlightUSD.sol/FlightUSD.json +376 -0
  65. package/artifacts/contracts/examples/flight/originalV1.sol/FlightDelayChainlink.dbg.json +4 -0
  66. package/artifacts/contracts/examples/flight/originalV1.sol/FlightDelayChainlink.json +901 -0
  67. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +1 -1
  68. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +214 -215
  69. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  70. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +844 -0
  71. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +1 -1
  72. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +94 -110
  73. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +1 -1
  74. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +196 -165
  75. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  76. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +844 -0
  77. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +1 -1
  78. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +600 -306
  79. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  80. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +844 -0
  81. package/artifacts/contracts/instance/BaseStore.sol/BaseStore.dbg.json +4 -0
  82. package/artifacts/contracts/{shared/IKeyValueStore.sol/IKeyValueStore.json → instance/BaseStore.sol/BaseStore.json} +51 -229
  83. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  84. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +193 -45
  85. package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.dbg.json +4 -0
  86. package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.json +304 -0
  87. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  88. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +551 -50
  89. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  90. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +415 -15
  91. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  92. package/artifacts/contracts/instance/Instance.sol/Instance.json +606 -112
  93. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  94. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1121 -374
  95. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  96. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +379 -68
  97. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  98. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1136 -561
  99. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  100. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +419 -82
  101. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  102. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +100 -54
  103. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  104. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1283 -1912
  105. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.dbg.json +4 -0
  106. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.json +3427 -0
  107. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  108. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +866 -0
  109. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  110. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +8 -8
  111. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  112. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  113. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  114. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  115. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +2 -2
  116. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  117. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +16 -5
  118. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  119. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  120. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  121. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  122. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  123. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  124. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  125. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  126. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  127. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +77 -91
  128. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  129. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +425 -54
  130. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  131. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  132. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +41 -55
  133. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  134. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +56 -3
  135. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  136. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +61 -75
  137. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  138. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +141 -81
  139. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  140. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +134 -50
  141. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  142. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +102 -124
  143. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  144. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +401 -59
  145. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  146. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +298 -329
  147. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  148. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +133 -97
  149. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  150. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +200 -131
  151. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  152. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +59 -73
  153. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  154. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +333 -169
  155. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  156. package/artifacts/contracts/pool/Pool.sol/Pool.json +72 -86
  157. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  158. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  159. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  160. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +565 -367
  161. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  162. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +169 -69
  163. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  164. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +313 -64
  165. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  166. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +123 -47
  167. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  168. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +193 -192
  169. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  170. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +426 -52
  171. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  172. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +292 -195
  173. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  174. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +142 -94
  175. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  176. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +268 -10
  177. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  178. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +181 -19
  179. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  180. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +160 -55
  181. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  182. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +77 -3
  183. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  184. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +168 -167
  185. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +1 -1
  186. package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +258 -22
  187. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  188. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +283 -195
  189. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  190. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  191. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  192. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +153 -81
  193. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  194. package/artifacts/contracts/product/PricingService.sol/PricingService.json +135 -126
  195. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  196. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +118 -70
  197. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  198. package/artifacts/contracts/product/Product.sol/Product.json +187 -186
  199. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +1 -1
  200. package/artifacts/contracts/product/RiskService.sol/RiskService.json +326 -91
  201. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +1 -1
  202. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +123 -47
  203. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  204. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
  205. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  206. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +54 -19
  207. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  208. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +56 -3
  209. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  210. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  211. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  212. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  213. package/artifacts/contracts/registry/Registry.sol/Registry.json +92 -57
  214. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  215. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +845 -489
  216. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  217. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1137 -0
  218. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  219. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +71 -35
  220. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  221. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +99 -43
  222. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  223. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2271 -0
  224. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  225. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +2 -2
  226. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  227. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +398 -64
  228. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  229. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +459 -26
  230. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  231. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +120 -60
  232. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  233. package/artifacts/contracts/shared/Component.sol/Component.json +60 -60
  234. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  235. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +269 -561
  236. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  237. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +134 -86
  238. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +1 -1
  239. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +525 -4
  240. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  241. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  242. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  243. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  244. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  245. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  246. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  247. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +41 -41
  248. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  249. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +155 -382
  250. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  251. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +41 -55
  252. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  253. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  254. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +19 -0
  255. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  256. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  257. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +139 -1
  258. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  259. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  260. package/artifacts/contracts/shared/IService.sol/IService.json +56 -3
  261. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  262. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +2 -2
  263. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  264. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +60 -74
  265. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  266. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  267. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  268. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  269. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +21 -2
  270. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  271. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +2 -2
  272. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  273. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +137 -62
  274. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  275. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
  276. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  277. package/artifacts/contracts/shared/Service.sol/Service.json +51 -11
  278. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  279. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +63 -162
  280. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +1 -1
  281. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +118 -29
  282. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +1 -1
  283. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +32 -32
  284. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  285. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1457 -145
  286. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  287. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +214 -110
  288. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +4 -0
  289. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.json +50 -0
  290. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  291. package/artifacts/contracts/staking/Staking.sol/Staking.json +1634 -275
  292. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
  294. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  295. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +149 -62
  296. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  297. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +294 -177
  298. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  299. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +253 -174
  300. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  301. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +102 -50
  302. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  303. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +1632 -818
  304. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +4 -0
  305. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +309 -0
  306. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  307. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +160 -88
  308. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  309. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  310. package/artifacts/contracts/type/Amount.sol/AmountLib.json +11 -11
  311. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  312. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +64 -19
  313. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
  314. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
  315. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  316. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +2 -2
  317. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  318. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  319. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  320. package/artifacts/contracts/type/Fee.sol/FeeLib.json +94 -38
  321. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  322. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  323. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  324. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  325. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  326. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +23 -4
  327. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  328. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  329. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  330. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +49 -50
  331. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  332. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +2 -2
  333. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  334. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +23 -4
  335. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  336. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  337. package/artifacts/contracts/type/RequestIdSet.sol/LibRequestIdSet.dbg.json +4 -0
  338. package/artifacts/contracts/type/RequestIdSet.sol/LibRequestIdSet.json +33 -0
  339. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  340. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +69 -7
  341. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  342. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +42 -157
  343. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  344. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +64 -2
  345. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  346. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +21 -2
  347. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  348. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +2 -2
  349. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  350. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  351. package/artifacts/contracts/type/String.sol/StrLib.json +69 -2
  352. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  353. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +37 -5
  354. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  355. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +61 -37
  356. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  357. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
  358. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  359. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +101 -2
  360. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  361. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +10 -0
  362. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  363. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +81 -27
  364. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  365. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +15 -2
  366. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  367. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +10 -0
  368. package/contracts/accounting/AccountingService.sol +274 -0
  369. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  370. package/contracts/accounting/IAccountingService.sol +47 -0
  371. package/contracts/authorization/AccessAdmin.sol +389 -306
  372. package/contracts/authorization/AccessAdminLib.sol +678 -0
  373. package/contracts/authorization/AccessManagerCloneable.sol +128 -4
  374. package/contracts/authorization/Authorization.sol +161 -260
  375. package/contracts/authorization/IAccess.sol +29 -12
  376. package/contracts/authorization/IAccessAdmin.sol +89 -84
  377. package/contracts/authorization/IAuthorization.sol +9 -43
  378. package/contracts/authorization/IServiceAuthorization.sol +55 -17
  379. package/contracts/authorization/ServiceAuthorization.sol +228 -34
  380. package/contracts/distribution/BasicDistribution.sol +19 -18
  381. package/contracts/distribution/BasicDistributionAuthorization.sol +30 -10
  382. package/contracts/distribution/Distribution.sol +45 -85
  383. package/contracts/distribution/DistributionService.sol +192 -99
  384. package/contracts/distribution/DistributionServiceManager.sol +1 -1
  385. package/contracts/distribution/IDistributionComponent.sol +3 -10
  386. package/contracts/distribution/IDistributionService.sol +38 -24
  387. package/contracts/examples/fire/FirePool.sol +6 -6
  388. package/contracts/examples/fire/FirePoolAuthorization.sol +2 -1
  389. package/contracts/examples/fire/FireProduct.sol +15 -13
  390. package/contracts/examples/fire/FireProductAuthorization.sol +2 -1
  391. package/contracts/examples/flight/FlightLib.sol +279 -0
  392. package/contracts/examples/flight/FlightOracle.sol +168 -0
  393. package/contracts/examples/flight/FlightOracleAuthorization.sol +34 -0
  394. package/contracts/examples/flight/FlightPool.sol +89 -0
  395. package/contracts/examples/flight/FlightPoolAuthorization.sol +37 -0
  396. package/contracts/examples/flight/FlightProduct.sol +470 -0
  397. package/contracts/examples/flight/FlightProductAuthorization.sol +44 -0
  398. package/contracts/examples/flight/FlightUSD.sol +26 -0
  399. package/contracts/examples/flight/originalV1.sol +396 -0
  400. package/contracts/examples/unpermissioned/SimpleDistribution.sol +34 -11
  401. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  402. package/contracts/examples/unpermissioned/SimpleOracle.sol +4 -8
  403. package/contracts/examples/unpermissioned/SimplePool.sol +7 -13
  404. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  405. package/contracts/examples/unpermissioned/SimpleProduct.sol +119 -27
  406. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  407. package/contracts/instance/BaseStore.sol +93 -0
  408. package/contracts/instance/BundleSet.sol +42 -38
  409. package/contracts/instance/IBaseStore.sol +37 -0
  410. package/contracts/instance/IInstance.sol +109 -19
  411. package/contracts/instance/IInstanceService.sol +59 -11
  412. package/contracts/instance/Instance.sol +184 -65
  413. package/contracts/instance/InstanceAdmin.sol +221 -191
  414. package/contracts/instance/InstanceAuthorizationV3.sol +153 -72
  415. package/contracts/instance/InstanceReader.sol +447 -314
  416. package/contracts/instance/InstanceService.sol +305 -205
  417. package/contracts/instance/InstanceServiceManager.sol +1 -1
  418. package/contracts/instance/InstanceStore.sol +152 -116
  419. package/contracts/instance/ProductStore.sol +290 -0
  420. package/contracts/instance/RiskSet.sol +126 -0
  421. package/contracts/instance/TargetNames.sol +10 -0
  422. package/contracts/instance/base/BalanceStore.sol +4 -6
  423. package/contracts/instance/base/ObjectCounter.sol +1 -2
  424. package/contracts/instance/base/ObjectLifecycle.sol +6 -8
  425. package/contracts/instance/base/ObjectSet.sol +31 -33
  426. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  427. package/contracts/instance/module/IBundle.sol +6 -5
  428. package/contracts/instance/module/IComponents.sol +18 -8
  429. package/contracts/instance/module/IDistribution.sol +21 -8
  430. package/contracts/instance/module/IPolicy.sol +28 -8
  431. package/contracts/instance/module/IRisk.sol +5 -0
  432. package/contracts/oracle/BasicOracle.sol +3 -6
  433. package/contracts/oracle/BasicOracleAuthorization.sol +15 -8
  434. package/contracts/oracle/IOracle.sol +9 -4
  435. package/contracts/oracle/IOracleService.sol +12 -12
  436. package/contracts/oracle/Oracle.sol +5 -9
  437. package/contracts/oracle/OracleService.sol +98 -80
  438. package/contracts/oracle/OracleServiceManager.sol +1 -1
  439. package/contracts/pool/BasicPool.sol +4 -18
  440. package/contracts/pool/BasicPoolAuthorization.sol +29 -16
  441. package/contracts/pool/BundleService.sol +66 -165
  442. package/contracts/pool/BundleServiceManager.sol +1 -1
  443. package/contracts/pool/IBundleService.sol +27 -51
  444. package/contracts/pool/IPoolService.sol +56 -58
  445. package/contracts/pool/Pool.sol +15 -29
  446. package/contracts/pool/PoolLib.sol +341 -0
  447. package/contracts/pool/PoolService.sol +221 -227
  448. package/contracts/pool/PoolServiceManager.sol +1 -1
  449. package/contracts/product/ApplicationService.sol +93 -25
  450. package/contracts/product/ApplicationServiceManager.sol +1 -1
  451. package/contracts/product/BasicProduct.sol +4 -5
  452. package/contracts/product/BasicProductAuthorization.sol +33 -11
  453. package/contracts/product/ClaimService.sol +221 -209
  454. package/contracts/product/ClaimServiceManager.sol +1 -1
  455. package/contracts/product/IApplicationService.sol +28 -3
  456. package/contracts/product/IClaimService.sol +18 -5
  457. package/contracts/product/IPolicyService.sol +31 -11
  458. package/contracts/product/IPricingService.sol +1 -0
  459. package/contracts/product/IProductComponent.sol +4 -1
  460. package/contracts/product/IRiskService.sol +25 -10
  461. package/contracts/product/PolicyService.sol +252 -302
  462. package/contracts/product/PolicyServiceLib.sol +139 -0
  463. package/contracts/product/PolicyServiceManager.sol +1 -1
  464. package/contracts/product/PricingService.sol +52 -46
  465. package/contracts/product/PricingServiceManager.sol +3 -3
  466. package/contracts/product/Product.sol +95 -36
  467. package/contracts/product/RiskService.sol +130 -37
  468. package/contracts/product/RiskServiceManager.sol +1 -1
  469. package/contracts/registry/ChainNft.sol +4 -2
  470. package/contracts/registry/IRegistry.sol +23 -24
  471. package/contracts/registry/IRelease.sol +29 -0
  472. package/contracts/registry/Registry.sol +22 -11
  473. package/contracts/registry/RegistryAdmin.sol +94 -383
  474. package/contracts/registry/RegistryAuthorization.sol +337 -0
  475. package/contracts/registry/RegistryService.sol +4 -4
  476. package/contracts/registry/RegistryServiceManager.sol +1 -1
  477. package/contracts/registry/ReleaseAdmin.sol +199 -0
  478. package/contracts/registry/ReleaseLifecycle.sol +2 -0
  479. package/contracts/registry/ReleaseRegistry.sol +157 -117
  480. package/contracts/registry/ServiceAuthorizationV3.sol +193 -54
  481. package/contracts/registry/TokenRegistry.sol +61 -59
  482. package/contracts/shared/Component.sol +36 -55
  483. package/contracts/shared/ComponentService.sol +350 -438
  484. package/contracts/shared/ComponentServiceManager.sol +1 -1
  485. package/contracts/shared/ContractLib.sol +260 -2
  486. package/contracts/shared/IComponent.sol +1 -10
  487. package/contracts/shared/IComponentService.sol +22 -41
  488. package/contracts/shared/IInstanceLinkedComponent.sol +0 -11
  489. package/contracts/shared/INftOwnable.sol +2 -0
  490. package/contracts/shared/IRegisterable.sol +15 -5
  491. package/contracts/shared/IService.sol +3 -5
  492. package/contracts/shared/InitializableERC165.sol +9 -1
  493. package/contracts/shared/InstanceLinkedComponent.sol +62 -35
  494. package/contracts/shared/NftOwnable.sol +8 -6
  495. package/contracts/shared/PolicyHolder.sol +4 -3
  496. package/contracts/shared/Registerable.sol +42 -19
  497. package/contracts/shared/RegistryLinked.sol +1 -1
  498. package/contracts/shared/Service.sol +13 -30
  499. package/contracts/shared/TokenHandler.sol +45 -100
  500. package/contracts/staking/IStaking.sol +265 -72
  501. package/contracts/staking/IStakingService.sol +45 -75
  502. package/contracts/staking/ITargetLimitHandler.sol +17 -0
  503. package/contracts/staking/Staking.sol +502 -210
  504. package/contracts/staking/{StakeManagerLib.sol → StakingLib.sol} +55 -84
  505. package/contracts/staking/StakingManager.sol +4 -3
  506. package/contracts/staking/StakingReader.sol +58 -77
  507. package/contracts/staking/StakingService.sol +62 -194
  508. package/contracts/staking/StakingServiceManager.sol +6 -4
  509. package/contracts/staking/StakingStore.sol +1093 -330
  510. package/contracts/staking/TargetHandler.sol +132 -0
  511. package/contracts/staking/TargetManagerLib.sol +69 -46
  512. package/contracts/type/Amount.sol +4 -0
  513. package/contracts/type/Blocknumber.sol +17 -22
  514. package/contracts/type/ChainId.sol +101 -0
  515. package/contracts/type/Fee.sol +8 -8
  516. package/contracts/type/Key32.sol +2 -2
  517. package/contracts/type/Key32Set.sol +62 -0
  518. package/contracts/type/NftId.sol +6 -0
  519. package/contracts/type/ObjectType.sol +70 -68
  520. package/contracts/type/Referral.sol +6 -0
  521. package/contracts/type/RequestIdSet.sol +62 -0
  522. package/contracts/type/RiskId.sol +26 -8
  523. package/contracts/type/RoleId.sol +63 -45
  524. package/contracts/type/Seconds.sol +23 -0
  525. package/contracts/type/Selector.sol +5 -0
  526. package/contracts/type/String.sol +42 -0
  527. package/contracts/type/Timestamp.sol +14 -8
  528. package/contracts/type/UFixed.sol +35 -127
  529. package/contracts/type/Version.sol +54 -5
  530. package/contracts/upgradeability/IVersionable.sol +3 -0
  531. package/contracts/upgradeability/ProxyManager.sol +27 -13
  532. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +12 -2
  533. package/contracts/upgradeability/Versionable.sol +6 -3
  534. package/package.json +2 -2
  535. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.dbg.json +0 -4
  536. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.json +0 -1196
  537. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  538. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -129
  539. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +0 -4
  540. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +0 -474
  541. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  542. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  543. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +0 -538
  544. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +0 -4
  545. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +0 -440
  546. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +0 -4
  547. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +0 -205
  548. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  549. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -16
  550. package/contracts/authorization/ReleaseAccessManager.sol +0 -38
  551. package/contracts/instance/module/IAccess.sol +0 -46
  552. package/contracts/shared/ComponentVerifyingService.sol +0 -128
  553. package/contracts/shared/IKeyValueStore.sol +0 -54
  554. package/contracts/shared/KeyValueStore.sol +0 -131
  555. package/contracts/staking/StakingLifecycle.sol +0 -23
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/07d82f1dc8f74cd984692082cfe2d8b4.json"
3
+ "buildInfo": "../../../../build-info/d354309e749e9f959e2ce2e5857f93a2.json"
4
4
  }
@@ -24,11 +24,6 @@
24
24
  "internalType": "address",
25
25
  "name": "initialOwner",
26
26
  "type": "address"
27
- },
28
- {
29
- "internalType": "address",
30
- "name": "token",
31
- "type": "address"
32
27
  }
33
28
  ],
34
29
  "stateMutability": "nonpayable",
@@ -72,6 +67,17 @@
72
67
  "name": "AccessManagedUnauthorized",
73
68
  "type": "error"
74
69
  },
70
+ {
71
+ "inputs": [
72
+ {
73
+ "internalType": "address",
74
+ "name": "authority",
75
+ "type": "address"
76
+ }
77
+ ],
78
+ "name": "ErrorAuthorityInvalid",
79
+ "type": "error"
80
+ },
75
81
  {
76
82
  "inputs": [],
77
83
  "name": "ErrorComponentNameLengthZero",
@@ -98,16 +104,6 @@
98
104
  "name": "ErrorComponentProductNftIdZero",
99
105
  "type": "error"
100
106
  },
101
- {
102
- "inputs": [],
103
- "name": "ErrorComponentTokenAddressNonzero",
104
- "type": "error"
105
- },
106
- {
107
- "inputs": [],
108
- "name": "ErrorComponentTokenAddressZero",
109
- "type": "error"
110
- },
111
107
  {
112
108
  "inputs": [],
113
109
  "name": "ErrorComponentWalletAddressIsSameAsCurrent",
@@ -231,6 +227,11 @@
231
227
  "name": "ErrorOracleNotImplemented",
232
228
  "type": "error"
233
229
  },
230
+ {
231
+ "inputs": [],
232
+ "name": "ErrorRegisterableNotActive",
233
+ "type": "error"
234
+ },
234
235
  {
235
236
  "inputs": [],
236
237
  "name": "InvalidInitialization",
@@ -342,6 +343,25 @@
342
343
  "name": "LogComponentWalletTokensTransferred",
343
344
  "type": "event"
344
345
  },
346
+ {
347
+ "anonymous": false,
348
+ "inputs": [
349
+ {
350
+ "indexed": false,
351
+ "internalType": "NftId",
352
+ "name": "nftId",
353
+ "type": "uint96"
354
+ },
355
+ {
356
+ "indexed": false,
357
+ "internalType": "address",
358
+ "name": "owner",
359
+ "type": "address"
360
+ }
361
+ ],
362
+ "name": "LogNftOwnableNftLinkedToAddress",
363
+ "type": "event"
364
+ },
345
365
  {
346
366
  "anonymous": false,
347
367
  "inputs": [
@@ -450,19 +470,6 @@
450
470
  "stateMutability": "view",
451
471
  "type": "function"
452
472
  },
453
- {
454
- "inputs": [],
455
- "name": "GIF_RELEASE",
456
- "outputs": [
457
- {
458
- "internalType": "uint256",
459
- "name": "",
460
- "type": "uint256"
461
- }
462
- ],
463
- "stateMutability": "view",
464
- "type": "function"
465
- },
466
473
  {
467
474
  "inputs": [],
468
475
  "name": "INSTANCE_LINKED_COMPONENT_LOCATION_V1",
@@ -515,24 +522,6 @@
515
522
  "stateMutability": "view",
516
523
  "type": "function"
517
524
  },
518
- {
519
- "inputs": [
520
- {
521
- "internalType": "contract IERC20Metadata",
522
- "name": "token",
523
- "type": "address"
524
- },
525
- {
526
- "internalType": "Amount",
527
- "name": "amount",
528
- "type": "uint96"
529
- }
530
- ],
531
- "name": "approveTokenHandler",
532
- "outputs": [],
533
- "stateMutability": "nonpayable",
534
- "type": "function"
535
- },
536
525
  {
537
526
  "inputs": [],
538
527
  "name": "authority",
@@ -583,20 +572,10 @@
583
572
  "name": "name",
584
573
  "type": "string"
585
574
  },
586
- {
587
- "internalType": "contract IERC20Metadata",
588
- "name": "token",
589
- "type": "address"
590
- },
591
575
  {
592
576
  "internalType": "contract TokenHandler",
593
577
  "name": "tokenHandler",
594
578
  "type": "address"
595
- },
596
- {
597
- "internalType": "bytes",
598
- "name": "data",
599
- "type": "bytes"
600
579
  }
601
580
  ],
602
581
  "internalType": "struct IComponents.ComponentInfo",
@@ -618,20 +597,10 @@
618
597
  "name": "name",
619
598
  "type": "string"
620
599
  },
621
- {
622
- "internalType": "contract IERC20Metadata",
623
- "name": "token",
624
- "type": "address"
625
- },
626
600
  {
627
601
  "internalType": "contract TokenHandler",
628
602
  "name": "tokenHandler",
629
603
  "type": "address"
630
- },
631
- {
632
- "internalType": "bytes",
633
- "name": "data",
634
- "type": "bytes"
635
604
  }
636
605
  ],
637
606
  "internalType": "struct IComponents.ComponentInfo",
@@ -767,7 +736,7 @@
767
736
  "type": "uint8"
768
737
  }
769
738
  ],
770
- "stateMutability": "pure",
739
+ "stateMutability": "view",
771
740
  "type": "function"
772
741
  },
773
742
  {
@@ -796,6 +765,19 @@
796
765
  "stateMutability": "view",
797
766
  "type": "function"
798
767
  },
768
+ {
769
+ "inputs": [],
770
+ "name": "getVersion",
771
+ "outputs": [
772
+ {
773
+ "internalType": "Version",
774
+ "name": "version",
775
+ "type": "uint24"
776
+ }
777
+ ],
778
+ "stateMutability": "view",
779
+ "type": "function"
780
+ },
799
781
  {
800
782
  "inputs": [],
801
783
  "name": "getWallet",
@@ -835,11 +817,6 @@
835
817
  "internalType": "string",
836
818
  "name": "name",
837
819
  "type": "string"
838
- },
839
- {
840
- "internalType": "address",
841
- "name": "token",
842
- "type": "address"
843
820
  }
844
821
  ],
845
822
  "name": "initialize",
@@ -847,6 +824,19 @@
847
824
  "stateMutability": "nonpayable",
848
825
  "type": "function"
849
826
  },
827
+ {
828
+ "inputs": [],
829
+ "name": "isActive",
830
+ "outputs": [
831
+ {
832
+ "internalType": "bool",
833
+ "name": "active",
834
+ "type": "bool"
835
+ }
836
+ ],
837
+ "stateMutability": "view",
838
+ "type": "function"
839
+ },
850
840
  {
851
841
  "inputs": [],
852
842
  "name": "isConsumingScheduledOp",
@@ -912,13 +902,6 @@
912
902
  "stateMutability": "nonpayable",
913
903
  "type": "function"
914
904
  },
915
- {
916
- "inputs": [],
917
- "name": "lock",
918
- "outputs": [],
919
- "stateMutability": "nonpayable",
920
- "type": "function"
921
- },
922
905
  {
923
906
  "inputs": [
924
907
  {
@@ -1053,13 +1036,6 @@
1053
1036
  "stateMutability": "view",
1054
1037
  "type": "function"
1055
1038
  },
1056
- {
1057
- "inputs": [],
1058
- "name": "unlock",
1059
- "outputs": [],
1060
- "stateMutability": "nonpayable",
1061
- "type": "function"
1062
- },
1063
1039
  {
1064
1040
  "inputs": [
1065
1041
  {
@@ -1072,7 +1048,7 @@
1072
1048
  "outputs": [
1073
1049
  {
1074
1050
  "internalType": "Amount",
1075
- "name": "withdrawnAmount",
1051
+ "name": "",
1076
1052
  "type": "uint96"
1077
1053
  }
1078
1054
  ],
@@ -1080,18 +1056,26 @@
1080
1056
  "type": "function"
1081
1057
  }
1082
1058
  ],
1083
- "bytecode": "0x608060405234801561000f575f80fd5b50604051613f36380380613f3683398101604081905261002e91610be0565b610066858585856040518060400160405280600c81526020016b53696d706c654f7261636c6560a01b8152508661007060201b60201c565b5050505050610f97565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff1615906001600160401b03165f811580156100b95750825b90505f826001600160401b031660011480156100d45750303b155b9050811580156100e2575080155b156101005760405163f92ee8a960e01b815260040160405180910390fd5b84546001600160401b0319166001178555831561012e57845460ff60401b1916680100000000000000001785555b61013c8b8b8b8b8b8b61018f565b831561018257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050565b6101976101c2565b6101ba86868686868660405180602001604052805f81525061021260201b60201c565b505050505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff1661021057604051631afcd79f60e31b815260040160405180910390fd5b565b61021a6101c2565b61022d87878585600d8a60018b896102bf565b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f90061025d600b6104f4565b6104f4565b81546001600160a01b0319166001600160a01b0391909116178155610283610258600d90565b6001820180546001600160a01b0319166001600160a01b03929092169190911790556102b563c0d4275760e01b61058b565b5050505050505050565b6102c76101c2565b5f6102d38a8a886105b7565b90505f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0060405163bf8e179760e01b81526001600160601b03841660048201529091506001600160a01b038c169063bf8e179790602401602060405180830381865afa158015610345573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103699190610c4d565b81546001600160a01b0319166001600160a01b039190911690811782556040805163bf7e214f60e01b81529051610409929163bf7e214f9160048083019260209291908290030181865afa1580156103c3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103e79190610c4d565b8c8c8c8c8c8b8b60405180602001604052805f8152508c61066860201b60201c565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa158015610450573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104749190610c4d565b6001820180546001600160a01b03199081166001600160a01b03938416179091556002830180549091169188169190911790556104b2610258600b90565b6003820180546001600160a01b0319166001600160a01b03929092169190911790556104e4634a531f3360e01b61058b565b6101826307bb0a0360e51b61058b565b5f6105076001546001600160a01b031690565b6001600160a01b031663d39e60438361051e610780565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015610561573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105859190610c4d565b92915050565b6105936101c2565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f60ff8216600c036105d8576105cf8484600a6107f9565b50829050610661565b5f6105e58585600c6107f9565b6040516305247a1760e51b81526001600160601b03861660048201529091506001600160a01b0382169063a48f42e0906024015f60405180830381865afa158015610632573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526106599190810190610d55565b602001519150505b9392505050565b6106706101c2565b6001600160a01b038616610697576040516327eab2e360e11b815260040160405180910390fd5b86515f036106b85760405163591eebf360e11b815260040160405180910390fd5b6106c68989878787876108c3565b6106cf8a61096b565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00806106fb8982610ea9565b50600181018054861515600160a01b026001600160a81b03199091166001600160a01b038a1617179055600281016107338382610ea9565b5061073e600b6104f4565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055610770634a531f3360e01b61058b565b610182633b6f5c0360e11b61058b565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156107d0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107f49190610f63565b905090565b6040516305247a1760e51b81526001600160601b038316600482015283905f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa158015610847573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261086e9190810190610d55565b905061088581604001518460ff9081169116141590565b156108bb57604080820151905163b0c1f6eb60e01b815260ff808616600483015290911660248201526044015b60405180910390fd5b509392505050565b6108cb6101c2565b6108d5868361097f565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166001600160681b0319909116176c0100000000000000000000000060ff8716021760ff60681b19166d0100000000000000000000000000851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016102b58382610ea9565b6109736101c2565b61097c81610a11565b50565b6109876101c2565b61099082610a22565b610998610aee565b6001600160a01b0381166109bf5760405163f17ef42d60e01b815260040160405180910390fd5b7f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0080546001600160601b03166c010000000000000000000000006001600160a01b039093169290920291909117905550565b610a196101c2565b61097c81610b33565b610a2a6101c2565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015610a80573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610aa49190610f7e565b610acc5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108b2565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b610af66101c2565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b7ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a0080546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6001600160a01b038116811461097c575f80fd5b8051610bc581610ba6565b919050565b80516001600160601b0381168114610bc5575f80fd5b5f805f805f60a08688031215610bf4575f80fd5b8551610bff81610ba6565b9450610c0d60208701610bca565b93506040860151610c1d81610ba6565b6060870151909350610c2e81610ba6565b6080870151909250610c3f81610ba6565b809150509295509295909350565b5f60208284031215610c5d575f80fd5b815161066181610ba6565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715610c9e57610c9e610c68565b60405290565b60ff8116811461097c575f80fd5b8051610bc581610ca4565b80518015158114610bc5575f80fd5b5f82601f830112610cdb575f80fd5b81516001600160401b03811115610cf457610cf4610c68565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610d2257610d22610c68565b604052818152838201602001851015610d39575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215610d65575f80fd5b81516001600160401b03811115610d7a575f80fd5b820160e08185031215610d8b575f80fd5b610d93610c7c565b610d9c82610bca565b8152610daa60208301610bca565b6020820152610dbb60408301610cb2565b6040820152610dcc60608301610cbd565b6060820152610ddd60808301610bba565b6080820152610dee60a08301610bba565b60a082015260c08201516001600160401b03811115610e0b575f80fd5b610e1786828501610ccc565b60c083015250949350505050565b600181811c90821680610e3957607f821691505b602082108103610e5757634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610ea457805f5260205f20601f840160051c81016020851015610e825750805b601f840160051c820191505b81811015610ea1575f8155600101610e8e565b50505b505050565b81516001600160401b03811115610ec257610ec2610c68565b610ed681610ed08454610e25565b84610e5d565b6020601f821160018114610f08575f8315610ef15750848201515b5f19600385901b1c1916600184901b178455610ea1565b5f84815260208120601f198516915b82811015610f375787850151825560209485019460019092019101610f17565b5084821015610f5457868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f60208284031215610f73575f80fd5b815161066181610ca4565b5f60208284031215610f8e575f80fd5b61066182610cbd565b612f9280610fa45f395ff3fe608060405234801561000f575f80fd5b5060043610610229575f3560e01c80636bd1c0eb1161012a578063a8b81cd8116100b4578063cf4ee77a11610079578063cf4ee77a1461052e578063de7b5d1414610541578063ea15869f14610571578063f83d08ba14610585578063f86664d21461058d575f80fd5b8063a8b81cd8146104bb578063ad12ad60146104f7578063ada9652e1461050a578063b423086c1461051e578063bf7e214f14610526575f80fd5b80638899278a116100fa5780638899278a1461046d578063893d20e8146104755780638fb360371461047d57806390edbd351461049e578063a69df4b5146104b3575f80fd5b80636bd1c0eb1461040a57806376b707b71461043a5780637a9e5e4b1461045457806387ef9ba014610467575f80fd5b806321df0da7116101b65780634bd100e41161017b5780634bd100e41461039a5780634c125e79146103c15780635741e5e9146103d45780635ab1bd53146103dc578063644c45e0146103ed575f80fd5b806321df0da71461034857806322366844146103505780632eb3e6f414610358578063419197fe1461037f57806343d752d314610392575f80fd5b806313299604116101fc57806313299604146102ab578063138461e0146102cb57806317d7de7c146102eb5780631c6b2190146103005780631eff4b2214610313575f80fd5b806301ffc9a71461022d57806306caeae41461026e5780630b29e28e146102835780630fec111c14610296575b5f80fd5b61025961023b366004612371565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61028161027c3660046124e1565b6105a0565b005b610281610291366004612561565b610630565b61029e610650565b604051610265919061262e565b6102b361080e565b6040516001600160a01b039091168152602001610265565b6102d361087b565b6040516001600160601b039091168152602001610265565b6102f3610885565b60405161026591906126c2565b6102d361030e3660046126d4565b610895565b61033a7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610265565b6102b3610917565b610259610929565b61033a7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0081565b61028161038d366004612703565b610a1f565b6102b3610a68565b61033a7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f90081565b6102816103cf36600461273a565b610a7a565b610259610a8f565b6001546001600160a01b03166102b3565b5f80516020612efd833981519152546001600160601b03166102d3565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b03166102b3565b610442610b4c565b60405160ff9091168152602001610265565b610281610462366004612753565b610bc0565b5f610259565b61033a600381565b6102b3610c42565b610485610d73565b6040516001600160e01b03199091168152602001610265565b6104a6610da8565b604051610265919061276e565b610281610dcd565b6102f36040518060400160405280601b81526020017f6f7261636c6520636f6e7374616e742073796e6320616e73776572000000000081525081565b6102816105053660046127d4565b610e6b565b61033a5f80516020612efd83398151915281565b6104a6610f0d565b6102b3610f1d565b61028161053c366004612824565b610f38565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00546001600160a01b03166102b3565b61033a5f80516020612f1d83398151915281565b610281610f4b565b61028161059b366004612881565b610fbf565b5f604051806060016040528084151581526020018364ffffffffff168152602001858152506040516020016105d59190612916565b60405160208183030381529060405290506105f085826110d5565b7f925e3838f1b49d365407bb3580a651fc78742e3bd3eb1063171421beb4a6b495858560405161062192919061294d565b60405180910390a15050505050565b61063c335b5f3661116b565b6106498585858585611269565b5050505050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610700573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107249190612979565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161076c610c42565b6001600160a01b0316815260200182600101805461078990612994565b80601f01602080910402602001604051908101604052809291908181526020018280546107b590612994565b80156108005780601f106107d757610100808354040283529160200191610800565b820191905f5260205f20905b8154815290600101906020018083116107e357829003601f168201915b505050505081525091505090565b5f610817610a68565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa158015610852573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061087691906129d7565b905090565b5f610876306112d4565b606061088f610da8565b51919050565b5f61089e610c42565b6001600160a01b0316336001600160a01b0316146108d65760405163086391f760e31b81523360048201526024015b60405180910390fd5b6108df33610635565b60405163ca49882f60e01b815260206004820152600c60248201526b77697468647261774665657360a01b60448201526064016108cd565b5f610920610da8565b60200151905090565b5f61093c6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610980573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109a49190612979565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156109fb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061087691906129fd565b610a27610c42565b6001600160a01b0316336001600160a01b031614610a5a5760405163086391f760e31b81523360048201526024016108cd565b610a6482826114cd565b5050565b5f610a71610da8565b60400151905090565b610a8333610635565b610a8c81611541565b50565b5f610a98610929565b15610b1c576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610aec573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610b139190810190612a85565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0154600160a01b900460ff1690565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610b9c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108769190612b55565b33610bc9610f1d565b6001600160a01b0316816001600160a01b031614610c045760405162d1953b60e31b81526001600160a01b03821660048201526024016108cd565b816001600160a01b03163b5f03610c39576040516361798f2f60e11b81526001600160a01b03831660048201526024016108cd565b610a6482611580565b5f805f80516020612efd83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610cae573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cd291906129fd565b15610d5d576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610d33573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d5791906129d7565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020612f3d83398151915280545f9190600160a01b900460ff16610d9a575f610d57565b638fb3603760e01b91505090565b610db0612339565b610db8610929565b15610dc5576108766115e1565b610876610f0d565b610dd5610c42565b6001600160a01b0316336001600160a01b031614610e085760405163086391f760e31b81523360048201526024016108cd565b610e12600a6117c7565b60405163581e954760e11b81525f60048201526001600160a01b03919091169063b03d2a8e906024015b5f604051808303815f87803b158015610e53575f80fd5b505af1158015610e65573d5f803e3d5ffd5b50505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015610eb2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ed691906129d7565b6001600160a01b0316336001600160a01b031614610f085760405162f0630960e01b81523360048201526024016108cd565b610e65565b610f15612339565b6108766115e1565b5f80516020612f3d833981519152546001600160a01b031690565b610f4133610635565b610a6482826110d5565b610f53610c42565b6001600160a01b0316336001600160a01b031614610f865760405163086391f760e31b81523360048201526024016108cd565b610f90600a6117c7565b60405163581e954760e11b8152600160048201526001600160a01b03919091169063b03d2a8e90602401610e3c565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156110035750825b90505f826001600160401b0316600114801561101e5750303b155b90508115801561102c575080155b1561104a5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561107457845460ff60401b1916600160401b1785555b6110828b8b8b8b8b8b61185e565b83156110c857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050565b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f901546040516367a773bd60e11b81526001600160a01b039091169063cf4ee77a90611126908590859060040161294d565b6020604051808303815f875af1158015611142573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061116691906129fd565b505050565b5f80516020612f3d8339815191525f806111a3611186610f1d565b873061119560045f8a8c612b70565b61119e91612b97565b611883565b91509150816112615763ffffffff81161561123e57825460ff60a01b1916600160a01b1783556111d1610f1d565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161120093929190612bcf565b5f604051808303815f87803b158015611217575f80fd5b505af1158015611229573d5f803e3d5ffd5b5050845460ff60a01b19168555506112619050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016108cd565b505050505050565b5f61127683850185612c0e565b805190915015611289576112898661198b565b805160208201516040517f79ebe5a74e4370f670722a495368b194369cfc7be8997d68517841c3c307a3e8926112c4928a928a929190612ca8565b60405180910390a1505050505050565b5f805f80516020612efd83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611340573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061136491906129fd565b156113905780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016108cd565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156113e2573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061140691906129fd565b61142e5760405163b9304b0d60e01b81526001600160a01b03841660048201526024016108cd565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611480573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114a49190612979565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f80516020612f1d833981519152600301546040516320c8cbff60e11b81526001600160a01b0384811660048301526001600160601b03841660248301529091169063419197fe906044015f604051808303815f87803b15801561152f575f80fd5b505af1158015611261573d5f803e3d5ffd5b6040516001600160401b03821681527fb63fd0f73fdf39db6db268f3ff7ee59fdad31d592b7faff69608adc0312225ab9060200160405180910390a150565b5f80516020612f3d83398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020015b60405180910390a15050565b6115e9612339565b5f6115fc6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611640573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116649190612979565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156116bd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116e191906129fd565b156117bf577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b03166001600160a01b031663f0ea17c361173d5f80516020612efd833981519152546001600160601b031690565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa15801561177e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526117a59190810190612cea565b60408101519092506001600160a01b0316156117bf575090565b610d57611a53565b5f6117da6001546001600160a01b031690565b6001600160a01b031663d39e6043836117f1610b4c565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611834573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061185891906129d7565b92915050565b611866611b32565b61126186868686868660405180602001604052805f815250611b7d565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516118f19190612db3565b5f60405180830381855afa9150503d805f8114611929576040519150601f19603f3d011682016040523d82523d5f602084013e61192e565b606091505b5091509150811561198057604081511061196057808060200190518101906119569190612dc9565b9094509250611980565b6020815110611980578080602001905181019061197d91906129fd565b93505b505094509492505050565b5f6040518060400160405280601b81526020017f6f7261636c6520636f6e7374616e742073796e6320616e7377657200000000008152506040516020016119d291906126c2565b60405160208183030381529060405290506119ed82826110d5565b7f0a858417ad6c170851e15bdb7f5fef061814ba176a976d7468e9e97588608fbc826040518060400160405280601b81526020017f6f7261636c6520636f6e7374616e742073796e6320616e7377657200000000008152506040516115d592919061294d565b611a5b612339565b5f5f80516020612f1d83398151915290506040518060800160405280825f018054611a8590612994565b80601f0160208091040260200160405190810160405280929190818152602001828054611ab190612994565b8015611afc5780601f10611ad357610100808354040283529160200191611afc565b820191905f5260205f20905b815481529060010190602001808311611adf57829003601f168201915b505050918352505060018301546001600160a01b031660208201525f604082015260028301805460609092019161078990612994565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16611b7b57604051631afcd79f60e31b815260040160405180910390fd5b565b611b85611b32565b611b9887878585600d8a60018b89611c24565b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f900611bc3600b6117c7565b81546001600160a01b0319166001600160a01b0391909116178155611be8600d6117c7565b6001820180546001600160a01b0319166001600160a01b0392909216919091179055611c1a63c0d4275760e01b611e4e565b5050505050505050565b611c2c611b32565b5f611c388a8a88611e7a565b90505f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0060405163bf8e179760e01b81526001600160601b03841660048201529091506001600160a01b038c169063bf8e179790602401602060405180830381865afa158015611caa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cce91906129d7565b81546001600160a01b0319166001600160a01b039190911690811782556040805163bf7e214f60e01b81529051611d68929163bf7e214f9160048083019260209291908290030181865afa158015611d28573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d4c91906129d7565b8c8c8c8c8c8b8b60405180602001604052805f8152508c611f2b565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa158015611daf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dd391906129d7565b6001820180546001600160a01b03199081166001600160a01b0393841617909155600283018054909116918816919091179055611e10600b6117c7565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055611e42634a531f3360e01b611e4e565b6110c86307bb0a0360e51b5b611e56611b32565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f60ff8216600c03611e9b57611e928484600a612030565b50829050611f24565b5f611ea88585600c612030565b6040516305247a1760e51b81526001600160601b03861660048201529091506001600160a01b0382169063a48f42e0906024015f60405180830381865afa158015611ef5573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611f1c9190810190612a85565b602001519150505b9392505050565b611f33611b32565b6001600160a01b038616611f5a576040516327eab2e360e11b815260040160405180910390fd5b86515f03611f7b5760405163591eebf360e11b815260040160405180910390fd5b611f898989878787876120f5565b611f928a612190565b5f80516020612f1d83398151915280611fab8982612e42565b50600181018054861515600160a01b026001600160a81b03199091166001600160a01b038a161717905560028101611fe38382612e42565b50611fee600b6117c7565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055612020634a531f3360e01b611e4e565b6110c8633b6f5c0360e11b611e4e565b6040516305247a1760e51b81526001600160601b038316600482015283905f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa15801561207e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526120a59190810190612a85565b90506120bc81604001518460ff9081169116141590565b156120ed57604080820151905163b0c1f6eb60e01b815260ff808616600483015290911660248201526044016108cd565b509392505050565b6120fd611b32565b61210786836121a1565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301611c1a8382612e42565b612198611b32565b610a8c81612217565b6121a9611b32565b6121b282612228565b6121ba6122f4565b6001600160a01b0381166121e15760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020612efd83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b61221f611b32565b610a8c81611580565b612230611b32565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015612286573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122aa91906129fd565b6122d25760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108cd565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6122fc611b32565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6040518060800160405280606081526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f60208284031215612381575f80fd5b81356001600160e01b031981168114611f24575f80fd5b80356001600160401b03811681146123ae575f80fd5b919050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156123e9576123e96123b3565b60405290565b604051608081016001600160401b03811182821017156123e9576123e96123b3565b604051601f8201601f191681016001600160401b0381118282101715612439576124396123b3565b604052919050565b5f6001600160401b03821115612459576124596123b3565b50601f01601f191660200190565b5f61247961247484612441565b612411565b905082815283838301111561248c575f80fd5b828260208301375f602084830101529392505050565b5f82601f8301126124b1575f80fd5b611f2483833560208501612467565b8015158114610a8c575f80fd5b803564ffffffffff811681146123ae575f80fd5b5f805f80608085870312156124f4575f80fd5b6124fd85612398565b935060208501356001600160401b03811115612517575f80fd5b612523878288016124a2565b9350506040850135612534816124c0565b9150612542606086016124cd565b905092959194509250565b6001600160601b0381168114610a8c575f80fd5b5f805f805f60808688031215612575575f80fd5b61257e86612398565b9450602086013561258e8161254d565b935060408601356001600160401b038111156125a8575f80fd5b8601601f810188136125b8575f80fd5b80356001600160401b038111156125cd575f80fd5b8860208284010111156125de575f80fd5b602091909101935091506125f4606087016124cd565b90509295509295909350565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612676608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e0808401526126ba610100840182612600565b949350505050565b602081525f611f246020830184612600565b5f602082840312156126e4575f80fd5b8135611f248161254d565b6001600160a01b0381168114610a8c575f80fd5b5f8060408385031215612714575f80fd5b823561271f816126ef565b9150602083013561272f8161254d565b809150509250929050565b5f6020828403121561274a575f80fd5b611f2482612398565b5f60208284031215612763575f80fd5b8135611f24816126ef565b602081525f82516080602084015261278960a0840182612600565b60208501516001600160a01b0390811660408681019190915286015116606080860191909152850151848203601f190160808601529091506127cb8282612600565b95945050505050565b5f805f80608085870312156127e7575f80fd5b84356127f2816126ef565b93506020850135612802816126ef565b9250604085013591506060850135612819816126ef565b939692955090935050565b5f8060408385031215612835575f80fd5b61283e83612398565b915060208301356001600160401b03811115612858575f80fd5b8301601f81018513612868575f80fd5b61287785823560208401612467565b9150509250929050565b5f805f805f8060c08789031215612896575f80fd5b86356128a1816126ef565b955060208701356128b18161254d565b945060408701356128c1816126ef565b935060608701356128d1816126ef565b925060808701356001600160401b038111156128eb575f80fd5b6128f789828a016124a2565b92505060a0870135612908816126ef565b809150509295509295509295565b6020815281511515602082015264ffffffffff60208301511660408201525f60408301516060808401526126ba6080840182612600565b6001600160401b0383168152604060208201525f6126ba6040830184612600565b80516123ae8161254d565b5f60208284031215612989575f80fd5b8151611f248161254d565b600181811c908216806129a857607f821691505b6020821081036129c657634e487b7160e01b5f52602260045260245ffd5b50919050565b80516123ae816126ef565b5f602082840312156129e7575f80fd5b8151611f24816126ef565b80516123ae816124c0565b5f60208284031215612a0d575f80fd5b8151611f24816124c0565b60ff81168114610a8c575f80fd5b80516123ae81612a18565b5f612a3e61247484612441565b9050828152838383011115612a51575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f830112612a76575f80fd5b611f2483835160208501612a31565b5f60208284031215612a95575f80fd5b81516001600160401b03811115612aaa575f80fd5b820160e08185031215612abb575f80fd5b612ac36123c7565b612acc8261296e565b8152612ada6020830161296e565b6020820152612aeb60408301612a26565b6040820152612afc606083016129f2565b6060820152612b0d608083016129cc565b6080820152612b1e60a083016129cc565b60a082015260c08201516001600160401b03811115612b3b575f80fd5b612b4786828501612a67565b60c083015250949350505050565b5f60208284031215612b65575f80fd5b8151611f2481612a18565b5f8085851115612b7e575f80fd5b83861115612b8a575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612bc8576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f60208284031215612c1e575f80fd5b81356001600160401b03811115612c33575f80fd5b820160408185031215612c44575f80fd5b604080519081016001600160401b0381118282101715612c6657612c666123b3565b6040528135612c74816124c0565b815260208201356001600160401b03811115612c8e575f80fd5b612c9a868285016124a2565b602083015250949350505050565b6001600160401b03851681526001600160601b03841660208201528215156040820152608060608201525f612ce06080830184612600565b9695505050505050565b5f60208284031215612cfa575f80fd5b81516001600160401b03811115612d0f575f80fd5b820160808185031215612d20575f80fd5b612d286123ef565b81516001600160401b03811115612d3d575f80fd5b8201601f81018613612d4d575f80fd5b612d5c86825160208401612a31565b825250612d6b602083016129cc565b6020820152612d7c604083016129cc565b604082015260608201516001600160401b03811115612d99575f80fd5b612da586828501612a67565b606083015250949350505050565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612dda575f80fd5b8251612de5816124c0565b602084015190925063ffffffff8116811461272f575f80fd5b601f82111561116657805f5260205f20601f840160051c81016020851015612e235750805b601f840160051c820191505b81811015610649575f8155600101612e2f565b81516001600160401b03811115612e5b57612e5b6123b3565b612e6f81612e698454612994565b84612dfe565b6020601f821160018114612ea1575f8315612e8a5750848201515b5f19600385901b1c1916600184901b178455610649565b5f84815260208120601f198516915b82811015612ed05787850151825560209485019460019092019101612eb0565b5084821015612eed57868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00ffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a264697066735822122057387dbf13b004226e69ce5e901d184ab5d4fb02a32f2183c8f900bf68d5f84f64736f6c634300081a0033",
1084
- "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610229575f3560e01c80636bd1c0eb1161012a578063a8b81cd8116100b4578063cf4ee77a11610079578063cf4ee77a1461052e578063de7b5d1414610541578063ea15869f14610571578063f83d08ba14610585578063f86664d21461058d575f80fd5b8063a8b81cd8146104bb578063ad12ad60146104f7578063ada9652e1461050a578063b423086c1461051e578063bf7e214f14610526575f80fd5b80638899278a116100fa5780638899278a1461046d578063893d20e8146104755780638fb360371461047d57806390edbd351461049e578063a69df4b5146104b3575f80fd5b80636bd1c0eb1461040a57806376b707b71461043a5780637a9e5e4b1461045457806387ef9ba014610467575f80fd5b806321df0da7116101b65780634bd100e41161017b5780634bd100e41461039a5780634c125e79146103c15780635741e5e9146103d45780635ab1bd53146103dc578063644c45e0146103ed575f80fd5b806321df0da71461034857806322366844146103505780632eb3e6f414610358578063419197fe1461037f57806343d752d314610392575f80fd5b806313299604116101fc57806313299604146102ab578063138461e0146102cb57806317d7de7c146102eb5780631c6b2190146103005780631eff4b2214610313575f80fd5b806301ffc9a71461022d57806306caeae41461026e5780630b29e28e146102835780630fec111c14610296575b5f80fd5b61025961023b366004612371565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61028161027c3660046124e1565b6105a0565b005b610281610291366004612561565b610630565b61029e610650565b604051610265919061262e565b6102b361080e565b6040516001600160a01b039091168152602001610265565b6102d361087b565b6040516001600160601b039091168152602001610265565b6102f3610885565b60405161026591906126c2565b6102d361030e3660046126d4565b610895565b61033a7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610265565b6102b3610917565b610259610929565b61033a7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0081565b61028161038d366004612703565b610a1f565b6102b3610a68565b61033a7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f90081565b6102816103cf36600461273a565b610a7a565b610259610a8f565b6001546001600160a01b03166102b3565b5f80516020612efd833981519152546001600160601b03166102d3565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b03166102b3565b610442610b4c565b60405160ff9091168152602001610265565b610281610462366004612753565b610bc0565b5f610259565b61033a600381565b6102b3610c42565b610485610d73565b6040516001600160e01b03199091168152602001610265565b6104a6610da8565b604051610265919061276e565b610281610dcd565b6102f36040518060400160405280601b81526020017f6f7261636c6520636f6e7374616e742073796e6320616e73776572000000000081525081565b6102816105053660046127d4565b610e6b565b61033a5f80516020612efd83398151915281565b6104a6610f0d565b6102b3610f1d565b61028161053c366004612824565b610f38565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00546001600160a01b03166102b3565b61033a5f80516020612f1d83398151915281565b610281610f4b565b61028161059b366004612881565b610fbf565b5f604051806060016040528084151581526020018364ffffffffff168152602001858152506040516020016105d59190612916565b60405160208183030381529060405290506105f085826110d5565b7f925e3838f1b49d365407bb3580a651fc78742e3bd3eb1063171421beb4a6b495858560405161062192919061294d565b60405180910390a15050505050565b61063c335b5f3661116b565b6106498585858585611269565b5050505050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610700573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107249190612979565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161076c610c42565b6001600160a01b0316815260200182600101805461078990612994565b80601f01602080910402602001604051908101604052809291908181526020018280546107b590612994565b80156108005780601f106107d757610100808354040283529160200191610800565b820191905f5260205f20905b8154815290600101906020018083116107e357829003601f168201915b505050505081525091505090565b5f610817610a68565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa158015610852573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061087691906129d7565b905090565b5f610876306112d4565b606061088f610da8565b51919050565b5f61089e610c42565b6001600160a01b0316336001600160a01b0316146108d65760405163086391f760e31b81523360048201526024015b60405180910390fd5b6108df33610635565b60405163ca49882f60e01b815260206004820152600c60248201526b77697468647261774665657360a01b60448201526064016108cd565b5f610920610da8565b60200151905090565b5f61093c6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610980573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109a49190612979565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156109fb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061087691906129fd565b610a27610c42565b6001600160a01b0316336001600160a01b031614610a5a5760405163086391f760e31b81523360048201526024016108cd565b610a6482826114cd565b5050565b5f610a71610da8565b60400151905090565b610a8333610635565b610a8c81611541565b50565b5f610a98610929565b15610b1c576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610aec573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610b139190810190612a85565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0154600160a01b900460ff1690565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610b9c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108769190612b55565b33610bc9610f1d565b6001600160a01b0316816001600160a01b031614610c045760405162d1953b60e31b81526001600160a01b03821660048201526024016108cd565b816001600160a01b03163b5f03610c39576040516361798f2f60e11b81526001600160a01b03831660048201526024016108cd565b610a6482611580565b5f805f80516020612efd83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610cae573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cd291906129fd565b15610d5d576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610d33573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d5791906129d7565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020612f3d83398151915280545f9190600160a01b900460ff16610d9a575f610d57565b638fb3603760e01b91505090565b610db0612339565b610db8610929565b15610dc5576108766115e1565b610876610f0d565b610dd5610c42565b6001600160a01b0316336001600160a01b031614610e085760405163086391f760e31b81523360048201526024016108cd565b610e12600a6117c7565b60405163581e954760e11b81525f60048201526001600160a01b03919091169063b03d2a8e906024015b5f604051808303815f87803b158015610e53575f80fd5b505af1158015610e65573d5f803e3d5ffd5b50505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015610eb2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ed691906129d7565b6001600160a01b0316336001600160a01b031614610f085760405162f0630960e01b81523360048201526024016108cd565b610e65565b610f15612339565b6108766115e1565b5f80516020612f3d833981519152546001600160a01b031690565b610f4133610635565b610a6482826110d5565b610f53610c42565b6001600160a01b0316336001600160a01b031614610f865760405163086391f760e31b81523360048201526024016108cd565b610f90600a6117c7565b60405163581e954760e11b8152600160048201526001600160a01b03919091169063b03d2a8e90602401610e3c565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156110035750825b90505f826001600160401b0316600114801561101e5750303b155b90508115801561102c575080155b1561104a5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561107457845460ff60401b1916600160401b1785555b6110828b8b8b8b8b8b61185e565b83156110c857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050565b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f901546040516367a773bd60e11b81526001600160a01b039091169063cf4ee77a90611126908590859060040161294d565b6020604051808303815f875af1158015611142573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061116691906129fd565b505050565b5f80516020612f3d8339815191525f806111a3611186610f1d565b873061119560045f8a8c612b70565b61119e91612b97565b611883565b91509150816112615763ffffffff81161561123e57825460ff60a01b1916600160a01b1783556111d1610f1d565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161120093929190612bcf565b5f604051808303815f87803b158015611217575f80fd5b505af1158015611229573d5f803e3d5ffd5b5050845460ff60a01b19168555506112619050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016108cd565b505050505050565b5f61127683850185612c0e565b805190915015611289576112898661198b565b805160208201516040517f79ebe5a74e4370f670722a495368b194369cfc7be8997d68517841c3c307a3e8926112c4928a928a929190612ca8565b60405180910390a1505050505050565b5f805f80516020612efd83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611340573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061136491906129fd565b156113905780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016108cd565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156113e2573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061140691906129fd565b61142e5760405163b9304b0d60e01b81526001600160a01b03841660048201526024016108cd565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611480573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114a49190612979565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f80516020612f1d833981519152600301546040516320c8cbff60e11b81526001600160a01b0384811660048301526001600160601b03841660248301529091169063419197fe906044015f604051808303815f87803b15801561152f575f80fd5b505af1158015611261573d5f803e3d5ffd5b6040516001600160401b03821681527fb63fd0f73fdf39db6db268f3ff7ee59fdad31d592b7faff69608adc0312225ab9060200160405180910390a150565b5f80516020612f3d83398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020015b60405180910390a15050565b6115e9612339565b5f6115fc6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611640573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116649190612979565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156116bd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116e191906129fd565b156117bf577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b03166001600160a01b031663f0ea17c361173d5f80516020612efd833981519152546001600160601b031690565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa15801561177e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526117a59190810190612cea565b60408101519092506001600160a01b0316156117bf575090565b610d57611a53565b5f6117da6001546001600160a01b031690565b6001600160a01b031663d39e6043836117f1610b4c565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611834573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061185891906129d7565b92915050565b611866611b32565b61126186868686868660405180602001604052805f815250611b7d565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516118f19190612db3565b5f60405180830381855afa9150503d805f8114611929576040519150601f19603f3d011682016040523d82523d5f602084013e61192e565b606091505b5091509150811561198057604081511061196057808060200190518101906119569190612dc9565b9094509250611980565b6020815110611980578080602001905181019061197d91906129fd565b93505b505094509492505050565b5f6040518060400160405280601b81526020017f6f7261636c6520636f6e7374616e742073796e6320616e7377657200000000008152506040516020016119d291906126c2565b60405160208183030381529060405290506119ed82826110d5565b7f0a858417ad6c170851e15bdb7f5fef061814ba176a976d7468e9e97588608fbc826040518060400160405280601b81526020017f6f7261636c6520636f6e7374616e742073796e6320616e7377657200000000008152506040516115d592919061294d565b611a5b612339565b5f5f80516020612f1d83398151915290506040518060800160405280825f018054611a8590612994565b80601f0160208091040260200160405190810160405280929190818152602001828054611ab190612994565b8015611afc5780601f10611ad357610100808354040283529160200191611afc565b820191905f5260205f20905b815481529060010190602001808311611adf57829003601f168201915b505050918352505060018301546001600160a01b031660208201525f604082015260028301805460609092019161078990612994565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16611b7b57604051631afcd79f60e31b815260040160405180910390fd5b565b611b85611b32565b611b9887878585600d8a60018b89611c24565b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f900611bc3600b6117c7565b81546001600160a01b0319166001600160a01b0391909116178155611be8600d6117c7565b6001820180546001600160a01b0319166001600160a01b0392909216919091179055611c1a63c0d4275760e01b611e4e565b5050505050505050565b611c2c611b32565b5f611c388a8a88611e7a565b90505f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0060405163bf8e179760e01b81526001600160601b03841660048201529091506001600160a01b038c169063bf8e179790602401602060405180830381865afa158015611caa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cce91906129d7565b81546001600160a01b0319166001600160a01b039190911690811782556040805163bf7e214f60e01b81529051611d68929163bf7e214f9160048083019260209291908290030181865afa158015611d28573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d4c91906129d7565b8c8c8c8c8c8b8b60405180602001604052805f8152508c611f2b565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa158015611daf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dd391906129d7565b6001820180546001600160a01b03199081166001600160a01b0393841617909155600283018054909116918816919091179055611e10600b6117c7565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055611e42634a531f3360e01b611e4e565b6110c86307bb0a0360e51b5b611e56611b32565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f60ff8216600c03611e9b57611e928484600a612030565b50829050611f24565b5f611ea88585600c612030565b6040516305247a1760e51b81526001600160601b03861660048201529091506001600160a01b0382169063a48f42e0906024015f60405180830381865afa158015611ef5573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611f1c9190810190612a85565b602001519150505b9392505050565b611f33611b32565b6001600160a01b038616611f5a576040516327eab2e360e11b815260040160405180910390fd5b86515f03611f7b5760405163591eebf360e11b815260040160405180910390fd5b611f898989878787876120f5565b611f928a612190565b5f80516020612f1d83398151915280611fab8982612e42565b50600181018054861515600160a01b026001600160a81b03199091166001600160a01b038a161717905560028101611fe38382612e42565b50611fee600b6117c7565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055612020634a531f3360e01b611e4e565b6110c8633b6f5c0360e11b611e4e565b6040516305247a1760e51b81526001600160601b038316600482015283905f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa15801561207e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526120a59190810190612a85565b90506120bc81604001518460ff9081169116141590565b156120ed57604080820151905163b0c1f6eb60e01b815260ff808616600483015290911660248201526044016108cd565b509392505050565b6120fd611b32565b61210786836121a1565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301611c1a8382612e42565b612198611b32565b610a8c81612217565b6121a9611b32565b6121b282612228565b6121ba6122f4565b6001600160a01b0381166121e15760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020612efd83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b61221f611b32565b610a8c81611580565b612230611b32565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015612286573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122aa91906129fd565b6122d25760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108cd565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6122fc611b32565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6040518060800160405280606081526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f60208284031215612381575f80fd5b81356001600160e01b031981168114611f24575f80fd5b80356001600160401b03811681146123ae575f80fd5b919050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156123e9576123e96123b3565b60405290565b604051608081016001600160401b03811182821017156123e9576123e96123b3565b604051601f8201601f191681016001600160401b0381118282101715612439576124396123b3565b604052919050565b5f6001600160401b03821115612459576124596123b3565b50601f01601f191660200190565b5f61247961247484612441565b612411565b905082815283838301111561248c575f80fd5b828260208301375f602084830101529392505050565b5f82601f8301126124b1575f80fd5b611f2483833560208501612467565b8015158114610a8c575f80fd5b803564ffffffffff811681146123ae575f80fd5b5f805f80608085870312156124f4575f80fd5b6124fd85612398565b935060208501356001600160401b03811115612517575f80fd5b612523878288016124a2565b9350506040850135612534816124c0565b9150612542606086016124cd565b905092959194509250565b6001600160601b0381168114610a8c575f80fd5b5f805f805f60808688031215612575575f80fd5b61257e86612398565b9450602086013561258e8161254d565b935060408601356001600160401b038111156125a8575f80fd5b8601601f810188136125b8575f80fd5b80356001600160401b038111156125cd575f80fd5b8860208284010111156125de575f80fd5b602091909101935091506125f4606087016124cd565b90509295509295909350565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612676608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e0808401526126ba610100840182612600565b949350505050565b602081525f611f246020830184612600565b5f602082840312156126e4575f80fd5b8135611f248161254d565b6001600160a01b0381168114610a8c575f80fd5b5f8060408385031215612714575f80fd5b823561271f816126ef565b9150602083013561272f8161254d565b809150509250929050565b5f6020828403121561274a575f80fd5b611f2482612398565b5f60208284031215612763575f80fd5b8135611f24816126ef565b602081525f82516080602084015261278960a0840182612600565b60208501516001600160a01b0390811660408681019190915286015116606080860191909152850151848203601f190160808601529091506127cb8282612600565b95945050505050565b5f805f80608085870312156127e7575f80fd5b84356127f2816126ef565b93506020850135612802816126ef565b9250604085013591506060850135612819816126ef565b939692955090935050565b5f8060408385031215612835575f80fd5b61283e83612398565b915060208301356001600160401b03811115612858575f80fd5b8301601f81018513612868575f80fd5b61287785823560208401612467565b9150509250929050565b5f805f805f8060c08789031215612896575f80fd5b86356128a1816126ef565b955060208701356128b18161254d565b945060408701356128c1816126ef565b935060608701356128d1816126ef565b925060808701356001600160401b038111156128eb575f80fd5b6128f789828a016124a2565b92505060a0870135612908816126ef565b809150509295509295509295565b6020815281511515602082015264ffffffffff60208301511660408201525f60408301516060808401526126ba6080840182612600565b6001600160401b0383168152604060208201525f6126ba6040830184612600565b80516123ae8161254d565b5f60208284031215612989575f80fd5b8151611f248161254d565b600181811c908216806129a857607f821691505b6020821081036129c657634e487b7160e01b5f52602260045260245ffd5b50919050565b80516123ae816126ef565b5f602082840312156129e7575f80fd5b8151611f24816126ef565b80516123ae816124c0565b5f60208284031215612a0d575f80fd5b8151611f24816124c0565b60ff81168114610a8c575f80fd5b80516123ae81612a18565b5f612a3e61247484612441565b9050828152838383011115612a51575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f830112612a76575f80fd5b611f2483835160208501612a31565b5f60208284031215612a95575f80fd5b81516001600160401b03811115612aaa575f80fd5b820160e08185031215612abb575f80fd5b612ac36123c7565b612acc8261296e565b8152612ada6020830161296e565b6020820152612aeb60408301612a26565b6040820152612afc606083016129f2565b6060820152612b0d608083016129cc565b6080820152612b1e60a083016129cc565b60a082015260c08201516001600160401b03811115612b3b575f80fd5b612b4786828501612a67565b60c083015250949350505050565b5f60208284031215612b65575f80fd5b8151611f2481612a18565b5f8085851115612b7e575f80fd5b83861115612b8a575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612bc8576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f60208284031215612c1e575f80fd5b81356001600160401b03811115612c33575f80fd5b820160408185031215612c44575f80fd5b604080519081016001600160401b0381118282101715612c6657612c666123b3565b6040528135612c74816124c0565b815260208201356001600160401b03811115612c8e575f80fd5b612c9a868285016124a2565b602083015250949350505050565b6001600160401b03851681526001600160601b03841660208201528215156040820152608060608201525f612ce06080830184612600565b9695505050505050565b5f60208284031215612cfa575f80fd5b81516001600160401b03811115612d0f575f80fd5b820160808185031215612d20575f80fd5b612d286123ef565b81516001600160401b03811115612d3d575f80fd5b8201601f81018613612d4d575f80fd5b612d5c86825160208401612a31565b825250612d6b602083016129cc565b6020820152612d7c604083016129cc565b604082015260608201516001600160401b03811115612d99575f80fd5b612da586828501612a67565b606083015250949350505050565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612dda575f80fd5b8251612de5816124c0565b602084015190925063ffffffff8116811461272f575f80fd5b601f82111561116657805f5260205f20601f840160051c81016020851015612e235750805b601f840160051c820191505b81811015610649575f8155600101612e2f565b81516001600160401b03811115612e5b57612e5b6123b3565b612e6f81612e698454612994565b84612dfe565b6020601f821160018114612ea1575f8315612e8a5750848201515b5f19600385901b1c1916600184901b178455610649565b5f84815260208120601f198516915b82811015612ed05787850151825560209485019460019092019101612eb0565b5084821015612eed57868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00ffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a264697066735822122057387dbf13b004226e69ce5e901d184ab5d4fb02a32f2183c8f900bf68d5f84f64736f6c634300081a0033",
1059
+ "bytecode": "0x608060405234801561000f575f80fd5b50604051613efd380380613efd83398101604081905261002e91610c62565b610065848484846040518060400160405280600c81526020016b53696d706c654f7261636c6560a01b81525061006e60201b60201c565b5050505061101a565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff1615906001600160401b03165f811580156100b75750825b90505f826001600160401b031660011480156100d25750303b155b9050811580156100e0575080155b156100fe5760405163f92ee8a960e01b815260040160405180910390fd5b84546001600160401b0319166001178555831561012c57845460ff60401b1916680100000000000000001785555b6101398a8a8a8a8a61018b565b831561017f57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050505050565b6101936101a7565b6101a085858585856101f7565b5050505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff166101f557604051631afcd79f60e31b815260040160405180910390fd5b565b6101ff6101a7565b610210858583600d876001886102a0565b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f900610240600b6104fb565b6104fb565b81546001600160a01b0319166001600160a01b039190911617815561026661023b600d90565b6001820180546001600160a01b0319166001600160a01b039290921691909117905561029863c0d4275760e01b610592565b505050505050565b6102a86101a7565b5f6102b48888876105c5565b90505f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0060405163bf8e179760e01b81526001600160601b03841660048201529091506001600160a01b038a169063bf8e179790602401602060405180830381865afa158015610326573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061034a9190610cba565b81546001600160a01b0319166001600160a01b039190911690811782556040805163bf7e214f60e01b815290516103e8929163bf7e214f9160048083019260209291908290030181865afa1580156103a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103c89190610cba565b8a8a8a8a898960405180602001604052805f81525061067060201b60201c565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa15801561042f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104539190610cba565b6001820180546001600160a01b03199081166001600160a01b039384161790915560028301805490911691871691909117905561049161023b600b90565b6003820180546001600160a01b0319166001600160a01b03929092169190911790556104be61023b600d90565b6004820180546001600160a01b0319166001600160a01b03929092169190911790556104f063a9c1bc6f60e01b610592565b505050505050505050565b5f61050e6001546001600160a01b031690565b6001600160a01b031663d39e604383610525610739565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015610568573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061058c9190610cba565b92915050565b61059a6101a7565b6105c2816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b5f60ff8216600c036105e6576105dd8484600a6107cf565b50829050610669565b5f6105f38585600c6107cf565b60405163677d3feb60e11b81526001600160601b03861660048201529091506001600160a01b0382169063cefa7fd690602401602060405180830381865afa158015610641573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106659190610cd5565b9150505b9392505050565b6106786101a7565b84515f036106995760405163591eebf360e11b815260040160405180910390fd5b6106a888888887878787610899565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00806106d48782610d83565b5060018101805460ff19168515151790556106f061023b600b90565b6001820180546001600160a01b039290921661010002610100600160a81b0319909216919091179055610729634a531f3360e01b610592565b6104f06306e9e5ff60e31b610592565b5f61076b7ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00546001600160a01b031690565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107ca9190610e56565b905090565b6040516305247a1760e51b81526001600160601b038316600482015283905f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa15801561081d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526108449190810190610f31565b905061085b81604001518460ff9081169116141590565b1561089157604080820151905163b0c1f6eb60e01b815260ff808616600483015290911660248201526044015b60405180910390fd5b509392505050565b6108a16101a7565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af41580156108f7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061091b9190611001565b6109435760405163cf6935e560e01b81526001600160a01b0388166004820152602401610888565b61094c876109ed565b61095686836109fe565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d0100000000000000000000000000861515021781559050600181016109d28382610d83565b506109e3634a531f3360e01b610592565b5050505050505050565b6109f56101a7565b6105c281610a90565b610a066101a7565b610a0e610aa1565b610a1782610ae9565b6001600160a01b038116610a3e5760405163f17ef42d60e01b815260040160405180910390fd5b7f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0080546001600160601b03166c010000000000000000000000006001600160a01b039093169290920291909117905550565b610a986101a7565b6105c281610bb5565b610aa96101a7565b6101f56301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b610af16101a7565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015610b47573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b6b9190611001565b610b935760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610888565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b7ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a0080546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6001600160a01b03811681146105c2575f80fd5b8051610c4781610c28565b919050565b80516001600160601b0381168114610c47575f80fd5b5f805f8060808587031215610c75575f80fd5b8451610c8081610c28565b9350610c8e60208601610c4c565b92506040850151610c9e81610c28565b6060860151909250610caf81610c28565b939692955090935050565b5f60208284031215610cca575f80fd5b815161066981610c28565b5f60208284031215610ce5575f80fd5b61066982610c4c565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680610d1657607f821691505b602082108103610d3457634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610d7e57805f5260205f20601f840160051c81016020851015610d5f5750805b601f840160051c820191505b818110156101a0575f8155600101610d6b565b505050565b81516001600160401b03811115610d9c57610d9c610cee565b610db081610daa8454610d02565b84610d3a565b6020601f821160018114610de2575f8315610dcb5750848201515b5f19600385901b1c1916600184901b1784556101a0565b5f84815260208120601f198516915b82811015610e115787850151825560209485019460019092019101610df1565b5084821015610e2e57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b60ff811681146105c2575f80fd5b8051610c4781610e3d565b5f60208284031215610e66575f80fd5b815161066981610e3d565b60405160e081016001600160401b0381118282101715610e9357610e93610cee565b60405290565b80518015158114610c47575f80fd5b5f82601f830112610eb7575f80fd5b81516001600160401b03811115610ed057610ed0610cee565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610efe57610efe610cee565b604052818152838201602001851015610f15575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215610f41575f80fd5b81516001600160401b03811115610f56575f80fd5b820160e08185031215610f67575f80fd5b610f6f610e71565b610f7882610c4c565b8152610f8660208301610c4c565b6020820152610f9760408301610e4b565b6040820152610fa860608301610e99565b6060820152610fb960808301610c3c565b6080820152610fca60a08301610c3c565b60a082015260c08201516001600160401b03811115610fe7575f80fd5b610ff386828501610ea8565b60c083015250949350505050565b5f60208284031215611011575f80fd5b61066982610e99565b612ed6806110275f395ff3fe608060405234801561000f575f80fd5b5060043610610213575f3560e01c80635ab1bd531161011f578063963cb067116100a9578063b423086c11610079578063b423086c1461051c578063bf7e214f14610524578063cf4ee77a1461052c578063de7b5d141461053f578063ea15869f1461056f575f80fd5b8063963cb067146104a6578063a8b81cd8146104b9578063ad12ad60146104f5578063ada9652e14610508575f80fd5b80637a9e5e4b116100ef5780637a9e5e4b1461044f57806387ef9ba014610462578063893d20e8146104685780638fb360371461047057806390edbd3514610491575f80fd5b80635ab1bd53146103d7578063644c45e0146103e85780636bd1c0eb1461040557806376b707b714610435575f80fd5b80631eff4b22116101a05780632eb3e6f4116101705780632eb3e6f41461036657806343d752d31461038d5780634bd100e4146103955780634c125e79146103bc5780635741e5e9146103cf575f80fd5b80631eff4b221461031957806321df0da71461034e578063223668441461035657806322f3e2d41461035e575f80fd5b80630fec111c116101e65780630fec111c1461029c57806313299604146102b1578063138461e0146102d157806317d7de7c146102f15780631c6b219014610306575f80fd5b806301ffc9a71461021757806306caeae4146102585780630b29e28e1461026d5780630d8e6e2c14610280575b5f80fd5b61024361022536600461236e565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61026b6102663660046124de565b610596565b005b61026b61027b36600461255e565b610626565b610288610646565b60405162ffffff909116815260200161024f565b6102a46106cd565b60405161024f919061262b565b6102b9610887565b6040516001600160a01b03909116815260200161024f565b6102d96108ef565b6040516001600160601b03909116815260200161024f565b6102f96108f9565b60405161024f91906126bf565b6102d96103143660046126d1565b610909565b6103407f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161024f565b6102b961098b565b6102436109cf565b610243610ac5565b6103407fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0081565b6102b9610b3c565b6103407faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f90081565b61026b6103ca3660046126ec565b610b4e565b610243610b63565b6001546001600160a01b03166102b9565b5f80516020612e61833981519152546001600160601b03166102d9565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b03166102b9565b61043d610c19565b60405160ff909116815260200161024f565b61026b61045d366004612719565b610c81565b5f610243565b6102b9610d07565b610478610e38565b6040516001600160e01b0319909116815260200161024f565b610499610e6d565b60405161024f9190612734565b61026b6104b4366004612770565b610e9e565b6102f96040518060400160405280601b81526020017f6f7261636c6520636f6e7374616e742073796e6320616e73776572000000000081525081565b61026b6105033660046127f2565b610fb2565b6103405f80516020612e6183398151915281565b610499611055565b6102b9611071565b61026b61053a366004612842565b61108c565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00546001600160a01b03166102b9565b6103407fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b5f604051806060016040528084151581526020018364ffffffffff168152602001858152506040516020016105cb919061289f565b60405160208183030381529060405290506105e6858261109b565b7f925e3838f1b49d365407bb3580a651fc78742e3bd3eb1063171421beb4a6b49585856040516106179291906128d6565b60405180910390a15050505050565b610632335b5f36611131565b61063f858585858561122f565b5050505050565b604051632efe011360e01b8152600160048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156106a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106c891906128f7565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610779573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061079d9190612924565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016107e5610d07565b6001600160a01b031681526020018260010180546108029061293f565b80601f016020809104026020016040519081016040528092919081815260200182805461082e9061293f565b80156108795780601f1061085057610100808354040283529160200191610879565b820191905f5260205f20905b81548152906001019060200180831161085c57829003601f168201915b505050505081525091505090565b5f610890610b3c565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106c89190612982565b5f6106c83061129a565b6060610903610e6d565b51919050565b5f610912610d07565b6001600160a01b0316336001600160a01b03161461094a5760405163086391f760e31b81523360048201526024015b60405180910390fd5b6109533361062b565b60405163ca49882f60e01b815260206004820152600c60248201526b77697468647261774665657360a01b6044820152606401610941565b5f610994610b3c565b6001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108cb573d5f803e3d5ffd5b5f6109e26001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610a26573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a4a9190612924565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610aa1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106c891906129a8565b5f610ace611071565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610b12573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b3691906129a8565b15905090565b5f610b45610e6d565b60200151905090565b610b573361062b565b610b60816114f0565b50565b5f610b6c6109cf565b15610bf0576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610bc0573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610be79190810190612a30565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f015460ff1690565b5f610c22611071565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c5d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106c89190612b00565b33610c8a611071565b6001600160a01b0316816001600160a01b031614610cc55760405162d1953b60e31b81526001600160a01b0382166004820152602401610941565b816001600160a01b03163b5f03610cfa576040516361798f2f60e11b81526001600160a01b0383166004820152602401610941565b610d038261152f565b5050565b5f805f80516020612e6183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610d73573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d9791906129a8565b15610e22576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610df8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e1c9190612982565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020612e8183398151915280545f9190600160a01b900460ff16610e5f575f610e1c565b638fb3603760e01b91505090565b60408051808201909152606081525f6020820152610e896109cf565b15610e96576106c8611590565b6106c8611055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f81158015610ee25750825b90505f826001600160401b03166001148015610efd5750303b155b905081158015610f0b575080155b15610f295760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610f5357845460ff60401b1916600160401b1785555b610f608a8a8a8a8a611782565b8315610fa657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ff9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061101d9190612982565b6001600160a01b0316336001600160a01b03161461104f5760405162f0630960e01b8152336004820152602401610941565b50505050565b60408051808201909152606081525f60208201526106c8611590565b5f80516020612e81833981519152546001600160a01b031690565b6110953361062b565b610d0382825b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f901546040516367a773bd60e11b81526001600160a01b039091169063cf4ee77a906110ec90859085906004016128d6565b6020604051808303815f875af1158015611108573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061112c91906129a8565b505050565b5f80516020612e818339815191525f8061116961114c611071565b873061115b60045f8a8c612b1b565b61116491612b42565b611797565b91509150816112275763ffffffff81161561120457825460ff60a01b1916600160a01b178355611197611071565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016111c693929190612b7a565b5f604051808303815f87803b1580156111dd575f80fd5b505af11580156111ef573d5f803e3d5ffd5b5050845460ff60a01b19168555506112279050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610941565b505050505050565b5f61123c83850185612bb9565b80519091501561124f5761124f8661189f565b805160208201516040517f79ebe5a74e4370f670722a495368b194369cfc7be8997d68517841c3c307a3e89261128a928a928a929190612c36565b60405180910390a1505050505050565b5f805f80516020612e6183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611306573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061132a91906129a8565b156113565780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610941565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156113a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113cc91906129a8565b6113f45760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610941565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611446573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061146a9190612924565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b54906114b6610d07565b604080516001600160601b0390931683526001600160a01b0390911660208301520160405180910390a1546001600160601b031692915050565b6040516001600160401b03821681527fb63fd0f73fdf39db6db268f3ff7ee59fdad31d592b7faff69608adc0312225ab9060200160405180910390a150565b5f80516020612e8183398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020015b60405180910390a15050565b60408051808201909152606081525f60208201525f6115b76001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa1580156115fb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061161f9190612924565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611678573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061169c91906129a8565b1561177a577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b03166001600160a01b031663f0ea17c36116f85f80516020612e61833981519152546001600160601b031690565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015611739573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526117609190810190612c78565b60208101519092506001600160a01b03161561177a575090565b610e1c611967565b61178a611a44565b61063f8585858585611a8f565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516118059190612d0c565b5f60405180830381855afa9150503d805f811461183d576040519150601f19603f3d011682016040523d82523d5f602084013e611842565b606091505b50915091508115611894576040815110611874578080602001905181019061186a9190612d22565b9094509250611894565b6020815110611894578080602001905181019061189191906129a8565b93505b505094509492505050565b5f6040518060400160405280601b81526020017f6f7261636c6520636f6e7374616e742073796e6320616e7377657200000000008152506040516020016118e691906126bf565b6040516020818303038152906040529050611901828261109b565b7f0a858417ad6c170851e15bdb7f5fef061814ba176a976d7468e9e97588608fbc826040518060400160405280601b81526020017f6f7261636c6520636f6e7374616e742073796e6320616e7377657200000000008152506040516115849291906128d6565b60408051808201909152606081525f60208201525f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060400160405280825f0180546119b89061293f565b80601f01602080910402602001604051908101604052809291908181526020018280546119e49061293f565b8015611a2f5780601f10611a0657610100808354040283529160200191611a2f565b820191905f5260205f20905b815481529060010190602001808311611a1257829003601f168201915b50505091835250505f60209091015292915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16611a8d57604051631afcd79f60e31b815260040160405180910390fd5b565b611a97611a44565b611aa8858583600d87600188611b2a565b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f900611ad3600b611d7d565b81546001600160a01b0319166001600160a01b0391909116178155611af8600d611d7d565b6001820180546001600160a01b0319166001600160a01b039290921691909117905561122763c0d4275760e01b611e14565b611b32611a44565b5f611b3e888887611e44565b90505f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0060405163bf8e179760e01b81526001600160601b03841660048201529091506001600160a01b038a169063bf8e179790602401602060405180830381865afa158015611bb0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bd49190612982565b81546001600160a01b0319166001600160a01b039190911690811782556040805163bf7e214f60e01b81529051611c6c929163bf7e214f9160048083019260209291908290030181865afa158015611c2e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c529190612982565b8a8a8a8a898960405180602001604052805f815250611eef565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa158015611cb3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cd79190612982565b6001820180546001600160a01b03199081166001600160a01b0393841617909155600283018054909116918716919091179055611d14600b611d7d565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055611d40600d611d7d565b6004820180546001600160a01b0319166001600160a01b0392909216919091179055611d7263a9c1bc6f60e01b611e14565b505050505050505050565b5f611d906001546001600160a01b031690565b6001600160a01b031663d39e604383611da7610c19565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611dea573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e0e9190612982565b92915050565b611e1c611a44565b610b60816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f60ff8216600c03611e6557611e5c8484600a611fb6565b50829050611ee8565b5f611e728585600c611fb6565b60405163677d3feb60e11b81526001600160601b03861660048201529091506001600160a01b0382169063cefa7fd690602401602060405180830381865afa158015611ec0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ee49190612924565b9150505b9392505050565b611ef7611a44565b84515f03611f185760405163591eebf360e11b815260040160405180910390fd5b611f278888888787878761207b565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0080611f538782612da6565b5060018101805460ff1916851515179055611f6e600b611d7d565b8160010160016101000a8154816001600160a01b0302191690836001600160a01b03160217905550611fa6634a531f3360e01b611e14565b611d726306e9e5ff60e31b611e14565b6040516305247a1760e51b81526001600160601b038316600482015283905f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa158015612004573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261202b9190810190612a30565b905061204281604001518460ff9081169116141590565b1561207357604080820151905163b0c1f6eb60e01b815260ff80861660048301529091166024820152604401610941565b509392505050565b612083611a44565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af41580156120d9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120fd91906129a8565b6121255760405163cf6935e560e01b81526001600160a01b0388166004820152602401610941565b61212e876121c2565b61213886836121d3565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016121a78382612da6565b506121b8634a531f3360e01b611e14565b5050505050505050565b6121ca611a44565b610b6081612249565b6121db611a44565b6121e361225a565b6121ec826122a2565b6001600160a01b0381166122135760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020612e6183398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b612251611a44565b610b608161152f565b612262611a44565b611a8d6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6122aa611a44565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015612300573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061232491906129a8565b61234c5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610941565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b5f6020828403121561237e575f80fd5b81356001600160e01b031981168114611ee8575f80fd5b80356001600160401b03811681146123ab575f80fd5b919050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156123e6576123e66123b0565b60405290565b604080519081016001600160401b03811182821017156123e6576123e66123b0565b604051601f8201601f191681016001600160401b0381118282101715612436576124366123b0565b604052919050565b5f6001600160401b03821115612456576124566123b0565b50601f01601f191660200190565b5f6124766124718461243e565b61240e565b9050828152838383011115612489575f80fd5b828260208301375f602084830101529392505050565b5f82601f8301126124ae575f80fd5b611ee883833560208501612464565b8015158114610b60575f80fd5b803564ffffffffff811681146123ab575f80fd5b5f805f80608085870312156124f1575f80fd5b6124fa85612395565b935060208501356001600160401b03811115612514575f80fd5b6125208782880161249f565b9350506040850135612531816124bd565b915061253f606086016124ca565b905092959194509250565b6001600160601b0381168114610b60575f80fd5b5f805f805f60808688031215612572575f80fd5b61257b86612395565b9450602086013561258b8161254a565b935060408601356001600160401b038111156125a5575f80fd5b8601601f810188136125b5575f80fd5b80356001600160401b038111156125ca575f80fd5b8860208284010111156125db575f80fd5b602091909101935091506125f1606087016124ca565b90509295509295909350565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612673608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e0808401526126b76101008401826125fd565b949350505050565b602081525f611ee860208301846125fd565b5f602082840312156126e1575f80fd5b8135611ee88161254a565b5f602082840312156126fc575f80fd5b611ee882612395565b6001600160a01b0381168114610b60575f80fd5b5f60208284031215612729575f80fd5b8135611ee881612705565b602081525f82516040602084015261274f60608401826125fd565b602094909401516001600160a01b0316604093909301929092525090919050565b5f805f805f60a08688031215612784575f80fd5b853561278f81612705565b9450602086013561279f8161254a565b935060408601356127af81612705565b925060608601356127bf81612705565b915060808601356001600160401b038111156127d9575f80fd5b6127e58882890161249f565b9150509295509295909350565b5f805f8060808587031215612805575f80fd5b843561281081612705565b9350602085013561282081612705565b925060408501359150606085013561283781612705565b939692955090935050565b5f8060408385031215612853575f80fd5b61285c83612395565b915060208301356001600160401b03811115612876575f80fd5b8301601f81018513612886575f80fd5b61289585823560208401612464565b9150509250929050565b6020815281511515602082015264ffffffffff60208301511660408201525f60408301516060808401526126b760808401826125fd565b6001600160401b0383168152604060208201525f6126b760408301846125fd565b5f60208284031215612907575f80fd5b815162ffffff81168114611ee8575f80fd5b80516123ab8161254a565b5f60208284031215612934575f80fd5b8151611ee88161254a565b600181811c9082168061295357607f821691505b60208210810361297157634e487b7160e01b5f52602260045260245ffd5b50919050565b80516123ab81612705565b5f60208284031215612992575f80fd5b8151611ee881612705565b80516123ab816124bd565b5f602082840312156129b8575f80fd5b8151611ee8816124bd565b60ff81168114610b60575f80fd5b80516123ab816129c3565b5f6129e96124718461243e565b90508281528383830111156129fc575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f830112612a21575f80fd5b611ee8838351602085016129dc565b5f60208284031215612a40575f80fd5b81516001600160401b03811115612a55575f80fd5b820160e08185031215612a66575f80fd5b612a6e6123c4565b612a7782612919565b8152612a8560208301612919565b6020820152612a96604083016129d1565b6040820152612aa76060830161299d565b6060820152612ab860808301612977565b6080820152612ac960a08301612977565b60a082015260c08201516001600160401b03811115612ae6575f80fd5b612af286828501612a12565b60c083015250949350505050565b5f60208284031215612b10575f80fd5b8151611ee8816129c3565b5f8085851115612b29575f80fd5b83861115612b35575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612b73576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f60208284031215612bc9575f80fd5b81356001600160401b03811115612bde575f80fd5b820160408185031215612bef575f80fd5b612bf76123ec565b8135612c02816124bd565b815260208201356001600160401b03811115612c1c575f80fd5b612c288682850161249f565b602083015250949350505050565b6001600160401b03851681526001600160601b03841660208201528215156040820152608060608201525f612c6e60808301846125fd565b9695505050505050565b5f60208284031215612c88575f80fd5b81516001600160401b03811115612c9d575f80fd5b820160408185031215612cae575f80fd5b612cb66123ec565b81516001600160401b03811115612ccb575f80fd5b8201601f81018613612cdb575f80fd5b612cea868251602084016129dc565b82525060208201519150612cfd82612705565b60208101919091529392505050565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612d33575f80fd5b8251612d3e816124bd565b602084015190925063ffffffff81168114612d57575f80fd5b809150509250929050565b601f82111561112c57805f5260205f20601f840160051c81016020851015612d875750805b601f840160051c820191505b8181101561063f575f8155600101612d93565b81516001600160401b03811115612dbf57612dbf6123b0565b612dd381612dcd845461293f565b84612d62565b6020601f821160018114612e05575f8315612dee5750848201515b5f19600385901b1c1916600184901b17845561063f565b5f84815260208120601f198516915b82811015612e345787850151825560209485019460019092019101612e14565b5084821015612e5157868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220e2678d04896b4803bc3d38eec4542d1b19ed57d26e148958819dc4f791d50b9664736f6c634300081a0033",
1060
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610213575f3560e01c80635ab1bd531161011f578063963cb067116100a9578063b423086c11610079578063b423086c1461051c578063bf7e214f14610524578063cf4ee77a1461052c578063de7b5d141461053f578063ea15869f1461056f575f80fd5b8063963cb067146104a6578063a8b81cd8146104b9578063ad12ad60146104f5578063ada9652e14610508575f80fd5b80637a9e5e4b116100ef5780637a9e5e4b1461044f57806387ef9ba014610462578063893d20e8146104685780638fb360371461047057806390edbd3514610491575f80fd5b80635ab1bd53146103d7578063644c45e0146103e85780636bd1c0eb1461040557806376b707b714610435575f80fd5b80631eff4b22116101a05780632eb3e6f4116101705780632eb3e6f41461036657806343d752d31461038d5780634bd100e4146103955780634c125e79146103bc5780635741e5e9146103cf575f80fd5b80631eff4b221461031957806321df0da71461034e578063223668441461035657806322f3e2d41461035e575f80fd5b80630fec111c116101e65780630fec111c1461029c57806313299604146102b1578063138461e0146102d157806317d7de7c146102f15780631c6b219014610306575f80fd5b806301ffc9a71461021757806306caeae4146102585780630b29e28e1461026d5780630d8e6e2c14610280575b5f80fd5b61024361022536600461236e565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61026b6102663660046124de565b610596565b005b61026b61027b36600461255e565b610626565b610288610646565b60405162ffffff909116815260200161024f565b6102a46106cd565b60405161024f919061262b565b6102b9610887565b6040516001600160a01b03909116815260200161024f565b6102d96108ef565b6040516001600160601b03909116815260200161024f565b6102f96108f9565b60405161024f91906126bf565b6102d96103143660046126d1565b610909565b6103407f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161024f565b6102b961098b565b6102436109cf565b610243610ac5565b6103407fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0081565b6102b9610b3c565b6103407faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f90081565b61026b6103ca3660046126ec565b610b4e565b610243610b63565b6001546001600160a01b03166102b9565b5f80516020612e61833981519152546001600160601b03166102d9565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b03166102b9565b61043d610c19565b60405160ff909116815260200161024f565b61026b61045d366004612719565b610c81565b5f610243565b6102b9610d07565b610478610e38565b6040516001600160e01b0319909116815260200161024f565b610499610e6d565b60405161024f9190612734565b61026b6104b4366004612770565b610e9e565b6102f96040518060400160405280601b81526020017f6f7261636c6520636f6e7374616e742073796e6320616e73776572000000000081525081565b61026b6105033660046127f2565b610fb2565b6103405f80516020612e6183398151915281565b610499611055565b6102b9611071565b61026b61053a366004612842565b61108c565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00546001600160a01b03166102b9565b6103407fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b5f604051806060016040528084151581526020018364ffffffffff168152602001858152506040516020016105cb919061289f565b60405160208183030381529060405290506105e6858261109b565b7f925e3838f1b49d365407bb3580a651fc78742e3bd3eb1063171421beb4a6b49585856040516106179291906128d6565b60405180910390a15050505050565b610632335b5f36611131565b61063f858585858561122f565b5050505050565b604051632efe011360e01b8152600160048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156106a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106c891906128f7565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610779573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061079d9190612924565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016107e5610d07565b6001600160a01b031681526020018260010180546108029061293f565b80601f016020809104026020016040519081016040528092919081815260200182805461082e9061293f565b80156108795780601f1061085057610100808354040283529160200191610879565b820191905f5260205f20905b81548152906001019060200180831161085c57829003601f168201915b505050505081525091505090565b5f610890610b3c565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106c89190612982565b5f6106c83061129a565b6060610903610e6d565b51919050565b5f610912610d07565b6001600160a01b0316336001600160a01b03161461094a5760405163086391f760e31b81523360048201526024015b60405180910390fd5b6109533361062b565b60405163ca49882f60e01b815260206004820152600c60248201526b77697468647261774665657360a01b6044820152606401610941565b5f610994610b3c565b6001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108cb573d5f803e3d5ffd5b5f6109e26001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610a26573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a4a9190612924565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610aa1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106c891906129a8565b5f610ace611071565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610b12573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b3691906129a8565b15905090565b5f610b45610e6d565b60200151905090565b610b573361062b565b610b60816114f0565b50565b5f610b6c6109cf565b15610bf0576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610bc0573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610be79190810190612a30565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f015460ff1690565b5f610c22611071565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c5d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106c89190612b00565b33610c8a611071565b6001600160a01b0316816001600160a01b031614610cc55760405162d1953b60e31b81526001600160a01b0382166004820152602401610941565b816001600160a01b03163b5f03610cfa576040516361798f2f60e11b81526001600160a01b0383166004820152602401610941565b610d038261152f565b5050565b5f805f80516020612e6183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610d73573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d9791906129a8565b15610e22576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610df8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e1c9190612982565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020612e8183398151915280545f9190600160a01b900460ff16610e5f575f610e1c565b638fb3603760e01b91505090565b60408051808201909152606081525f6020820152610e896109cf565b15610e96576106c8611590565b6106c8611055565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f81158015610ee25750825b90505f826001600160401b03166001148015610efd5750303b155b905081158015610f0b575080155b15610f295760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610f5357845460ff60401b1916600160401b1785555b610f608a8a8a8a8a611782565b8315610fa657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ff9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061101d9190612982565b6001600160a01b0316336001600160a01b03161461104f5760405162f0630960e01b8152336004820152602401610941565b50505050565b60408051808201909152606081525f60208201526106c8611590565b5f80516020612e81833981519152546001600160a01b031690565b6110953361062b565b610d0382825b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f901546040516367a773bd60e11b81526001600160a01b039091169063cf4ee77a906110ec90859085906004016128d6565b6020604051808303815f875af1158015611108573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061112c91906129a8565b505050565b5f80516020612e818339815191525f8061116961114c611071565b873061115b60045f8a8c612b1b565b61116491612b42565b611797565b91509150816112275763ffffffff81161561120457825460ff60a01b1916600160a01b178355611197611071565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016111c693929190612b7a565b5f604051808303815f87803b1580156111dd575f80fd5b505af11580156111ef573d5f803e3d5ffd5b5050845460ff60a01b19168555506112279050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610941565b505050505050565b5f61123c83850185612bb9565b80519091501561124f5761124f8661189f565b805160208201516040517f79ebe5a74e4370f670722a495368b194369cfc7be8997d68517841c3c307a3e89261128a928a928a929190612c36565b60405180910390a1505050505050565b5f805f80516020612e6183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611306573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061132a91906129a8565b156113565780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610941565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156113a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113cc91906129a8565b6113f45760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610941565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611446573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061146a9190612924565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b54906114b6610d07565b604080516001600160601b0390931683526001600160a01b0390911660208301520160405180910390a1546001600160601b031692915050565b6040516001600160401b03821681527fb63fd0f73fdf39db6db268f3ff7ee59fdad31d592b7faff69608adc0312225ab9060200160405180910390a150565b5f80516020612e8183398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020015b60405180910390a15050565b60408051808201909152606081525f60208201525f6115b76001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa1580156115fb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061161f9190612924565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611678573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061169c91906129a8565b1561177a577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b03166001600160a01b031663f0ea17c36116f85f80516020612e61833981519152546001600160601b031690565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015611739573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526117609190810190612c78565b60208101519092506001600160a01b03161561177a575090565b610e1c611967565b61178a611a44565b61063f8585858585611a8f565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516118059190612d0c565b5f60405180830381855afa9150503d805f811461183d576040519150601f19603f3d011682016040523d82523d5f602084013e611842565b606091505b50915091508115611894576040815110611874578080602001905181019061186a9190612d22565b9094509250611894565b6020815110611894578080602001905181019061189191906129a8565b93505b505094509492505050565b5f6040518060400160405280601b81526020017f6f7261636c6520636f6e7374616e742073796e6320616e7377657200000000008152506040516020016118e691906126bf565b6040516020818303038152906040529050611901828261109b565b7f0a858417ad6c170851e15bdb7f5fef061814ba176a976d7468e9e97588608fbc826040518060400160405280601b81526020017f6f7261636c6520636f6e7374616e742073796e6320616e7377657200000000008152506040516115849291906128d6565b60408051808201909152606081525f60208201525f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060400160405280825f0180546119b89061293f565b80601f01602080910402602001604051908101604052809291908181526020018280546119e49061293f565b8015611a2f5780601f10611a0657610100808354040283529160200191611a2f565b820191905f5260205f20905b815481529060010190602001808311611a1257829003601f168201915b50505091835250505f60209091015292915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16611a8d57604051631afcd79f60e31b815260040160405180910390fd5b565b611a97611a44565b611aa8858583600d87600188611b2a565b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f900611ad3600b611d7d565b81546001600160a01b0319166001600160a01b0391909116178155611af8600d611d7d565b6001820180546001600160a01b0319166001600160a01b039290921691909117905561122763c0d4275760e01b611e14565b611b32611a44565b5f611b3e888887611e44565b90505f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0060405163bf8e179760e01b81526001600160601b03841660048201529091506001600160a01b038a169063bf8e179790602401602060405180830381865afa158015611bb0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bd49190612982565b81546001600160a01b0319166001600160a01b039190911690811782556040805163bf7e214f60e01b81529051611c6c929163bf7e214f9160048083019260209291908290030181865afa158015611c2e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c529190612982565b8a8a8a8a898960405180602001604052805f815250611eef565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa158015611cb3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cd79190612982565b6001820180546001600160a01b03199081166001600160a01b0393841617909155600283018054909116918716919091179055611d14600b611d7d565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055611d40600d611d7d565b6004820180546001600160a01b0319166001600160a01b0392909216919091179055611d7263a9c1bc6f60e01b611e14565b505050505050505050565b5f611d906001546001600160a01b031690565b6001600160a01b031663d39e604383611da7610c19565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611dea573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e0e9190612982565b92915050565b611e1c611a44565b610b60816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f60ff8216600c03611e6557611e5c8484600a611fb6565b50829050611ee8565b5f611e728585600c611fb6565b60405163677d3feb60e11b81526001600160601b03861660048201529091506001600160a01b0382169063cefa7fd690602401602060405180830381865afa158015611ec0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ee49190612924565b9150505b9392505050565b611ef7611a44565b84515f03611f185760405163591eebf360e11b815260040160405180910390fd5b611f278888888787878761207b565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0080611f538782612da6565b5060018101805460ff1916851515179055611f6e600b611d7d565b8160010160016101000a8154816001600160a01b0302191690836001600160a01b03160217905550611fa6634a531f3360e01b611e14565b611d726306e9e5ff60e31b611e14565b6040516305247a1760e51b81526001600160601b038316600482015283905f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa158015612004573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261202b9190810190612a30565b905061204281604001518460ff9081169116141590565b1561207357604080820151905163b0c1f6eb60e01b815260ff80861660048301529091166024820152604401610941565b509392505050565b612083611a44565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af41580156120d9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120fd91906129a8565b6121255760405163cf6935e560e01b81526001600160a01b0388166004820152602401610941565b61212e876121c2565b61213886836121d3565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016121a78382612da6565b506121b8634a531f3360e01b611e14565b5050505050505050565b6121ca611a44565b610b6081612249565b6121db611a44565b6121e361225a565b6121ec826122a2565b6001600160a01b0381166122135760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020612e6183398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b612251611a44565b610b608161152f565b612262611a44565b611a8d6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6122aa611a44565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015612300573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061232491906129a8565b61234c5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610941565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b5f6020828403121561237e575f80fd5b81356001600160e01b031981168114611ee8575f80fd5b80356001600160401b03811681146123ab575f80fd5b919050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156123e6576123e66123b0565b60405290565b604080519081016001600160401b03811182821017156123e6576123e66123b0565b604051601f8201601f191681016001600160401b0381118282101715612436576124366123b0565b604052919050565b5f6001600160401b03821115612456576124566123b0565b50601f01601f191660200190565b5f6124766124718461243e565b61240e565b9050828152838383011115612489575f80fd5b828260208301375f602084830101529392505050565b5f82601f8301126124ae575f80fd5b611ee883833560208501612464565b8015158114610b60575f80fd5b803564ffffffffff811681146123ab575f80fd5b5f805f80608085870312156124f1575f80fd5b6124fa85612395565b935060208501356001600160401b03811115612514575f80fd5b6125208782880161249f565b9350506040850135612531816124bd565b915061253f606086016124ca565b905092959194509250565b6001600160601b0381168114610b60575f80fd5b5f805f805f60808688031215612572575f80fd5b61257b86612395565b9450602086013561258b8161254a565b935060408601356001600160401b038111156125a5575f80fd5b8601601f810188136125b5575f80fd5b80356001600160401b038111156125ca575f80fd5b8860208284010111156125db575f80fd5b602091909101935091506125f1606087016124ca565b90509295509295909350565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612673608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e0808401526126b76101008401826125fd565b949350505050565b602081525f611ee860208301846125fd565b5f602082840312156126e1575f80fd5b8135611ee88161254a565b5f602082840312156126fc575f80fd5b611ee882612395565b6001600160a01b0381168114610b60575f80fd5b5f60208284031215612729575f80fd5b8135611ee881612705565b602081525f82516040602084015261274f60608401826125fd565b602094909401516001600160a01b0316604093909301929092525090919050565b5f805f805f60a08688031215612784575f80fd5b853561278f81612705565b9450602086013561279f8161254a565b935060408601356127af81612705565b925060608601356127bf81612705565b915060808601356001600160401b038111156127d9575f80fd5b6127e58882890161249f565b9150509295509295909350565b5f805f8060808587031215612805575f80fd5b843561281081612705565b9350602085013561282081612705565b925060408501359150606085013561283781612705565b939692955090935050565b5f8060408385031215612853575f80fd5b61285c83612395565b915060208301356001600160401b03811115612876575f80fd5b8301601f81018513612886575f80fd5b61289585823560208401612464565b9150509250929050565b6020815281511515602082015264ffffffffff60208301511660408201525f60408301516060808401526126b760808401826125fd565b6001600160401b0383168152604060208201525f6126b760408301846125fd565b5f60208284031215612907575f80fd5b815162ffffff81168114611ee8575f80fd5b80516123ab8161254a565b5f60208284031215612934575f80fd5b8151611ee88161254a565b600181811c9082168061295357607f821691505b60208210810361297157634e487b7160e01b5f52602260045260245ffd5b50919050565b80516123ab81612705565b5f60208284031215612992575f80fd5b8151611ee881612705565b80516123ab816124bd565b5f602082840312156129b8575f80fd5b8151611ee8816124bd565b60ff81168114610b60575f80fd5b80516123ab816129c3565b5f6129e96124718461243e565b90508281528383830111156129fc575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f830112612a21575f80fd5b611ee8838351602085016129dc565b5f60208284031215612a40575f80fd5b81516001600160401b03811115612a55575f80fd5b820160e08185031215612a66575f80fd5b612a6e6123c4565b612a7782612919565b8152612a8560208301612919565b6020820152612a96604083016129d1565b6040820152612aa76060830161299d565b6060820152612ab860808301612977565b6080820152612ac960a08301612977565b60a082015260c08201516001600160401b03811115612ae6575f80fd5b612af286828501612a12565b60c083015250949350505050565b5f60208284031215612b10575f80fd5b8151611ee8816129c3565b5f8085851115612b29575f80fd5b83861115612b35575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612b73576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f60208284031215612bc9575f80fd5b81356001600160401b03811115612bde575f80fd5b820160408185031215612bef575f80fd5b612bf76123ec565b8135612c02816124bd565b815260208201356001600160401b03811115612c1c575f80fd5b612c288682850161249f565b602083015250949350505050565b6001600160401b03851681526001600160601b03841660208201528215156040820152608060608201525f612c6e60808301846125fd565b9695505050505050565b5f60208284031215612c88575f80fd5b81516001600160401b03811115612c9d575f80fd5b820160408185031215612cae575f80fd5b612cb66123ec565b81516001600160401b03811115612ccb575f80fd5b8201601f81018613612cdb575f80fd5b612cea868251602084016129dc565b82525060208201519150612cfd82612705565b60208101919091529392505050565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612d33575f80fd5b8251612d3e816124bd565b602084015190925063ffffffff81168114612d57575f80fd5b809150509250929050565b601f82111561112c57805f5260205f20601f840160051c81016020851015612d875750805b601f840160051c820191505b8181101561063f575f8155600101612d93565b81516001600160401b03811115612dbf57612dbf6123b0565b612dd381612dcd845461293f565b84612d62565b6020601f821160018114612e05575f8315612dee5750848201515b5f19600385901b1c1916600184901b17845561063f565b5f84815260208120601f198516915b82811015612e345787850151825560209485019460019092019101612e14565b5084821015612e5157868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220e2678d04896b4803bc3d38eec4542d1b19ed57d26e148958819dc4f791d50b9664736f6c634300081a0033",
1085
1061
  "linkReferences": {
1086
1062
  "contracts/shared/ContractLib.sol": {
1087
1063
  "ContractLib": [
1088
1064
  {
1089
1065
  "length": 20,
1090
- "start": 2632
1066
+ "start": 2239
1091
1067
  },
1092
1068
  {
1093
1069
  "length": 20,
1094
- "start": 12786
1070
+ "start": 2831
1071
+ },
1072
+ {
1073
+ "length": 20,
1074
+ "start": 12488
1075
+ },
1076
+ {
1077
+ "length": 20,
1078
+ "start": 13039
1095
1079
  }
1096
1080
  ]
1097
1081
  },
@@ -1099,35 +1083,31 @@
1099
1083
  "NftIdLib": [
1100
1084
  {
1101
1085
  "length": 20,
1102
- "start": 5727
1086
+ "start": 5979
1103
1087
  },
1104
1088
  {
1105
1089
  "length": 20,
1106
- "start": 6503
1090
+ "start": 6800
1107
1091
  },
1108
1092
  {
1109
1093
  "length": 20,
1110
- "start": 7194
1094
+ "start": 7522
1111
1095
  },
1112
1096
  {
1113
1097
  "length": 20,
1114
- "start": 8876
1098
+ "start": 8949
1115
1099
  },
1116
1100
  {
1117
1101
  "length": 20,
1118
- "start": 9769
1102
+ "start": 9831
1119
1103
  }
1120
1104
  ]
1121
1105
  },
1122
1106
  "contracts/type/Version.sol": {
1123
- "VersionPartLib": [
1124
- {
1125
- "length": 20,
1126
- "start": 1944
1127
- },
1107
+ "VersionLib": [
1128
1108
  {
1129
1109
  "length": 20,
1130
- "start": 6920
1110
+ "start": 5779
1131
1111
  }
1132
1112
  ]
1133
1113
  }
@@ -1137,7 +1117,11 @@
1137
1117
  "ContractLib": [
1138
1118
  {
1139
1119
  "length": 20,
1140
- "start": 8782
1120
+ "start": 8353
1121
+ },
1122
+ {
1123
+ "length": 20,
1124
+ "start": 8904
1141
1125
  }
1142
1126
  ]
1143
1127
  },
@@ -1145,31 +1129,31 @@
1145
1129
  "NftIdLib": [
1146
1130
  {
1147
1131
  "length": 20,
1148
- "start": 1723
1132
+ "start": 1844
1149
1133
  },
1150
1134
  {
1151
1135
  "length": 20,
1152
- "start": 2499
1136
+ "start": 2665
1153
1137
  },
1154
1138
  {
1155
1139
  "length": 20,
1156
- "start": 3190
1140
+ "start": 3387
1157
1141
  },
1158
1142
  {
1159
1143
  "length": 20,
1160
- "start": 4872
1144
+ "start": 4814
1161
1145
  },
1162
1146
  {
1163
1147
  "length": 20,
1164
- "start": 5765
1148
+ "start": 5696
1165
1149
  }
1166
1150
  ]
1167
1151
  },
1168
1152
  "contracts/type/Version.sol": {
1169
- "VersionPartLib": [
1153
+ "VersionLib": [
1170
1154
  {
1171
1155
  "length": 20,
1172
- "start": 2916
1156
+ "start": 1644
1173
1157
  }
1174
1158
  ]
1175
1159
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/07d82f1dc8f74cd984692082cfe2d8b4.json"
3
+ "buildInfo": "../../../../build-info/d354309e749e9f959e2ce2e5857f93a2.json"
4
4
  }