@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
@@ -41,6 +41,17 @@
41
41
  "name": "AccessManagedUnauthorized",
42
42
  "type": "error"
43
43
  },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "address",
48
+ "name": "authority",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "ErrorAuthorityInvalid",
53
+ "type": "error"
54
+ },
44
55
  {
45
56
  "inputs": [
46
57
  {
@@ -108,7 +119,7 @@
108
119
  },
109
120
  {
110
121
  "inputs": [],
111
- "name": "ErrorServiceNotImplemented",
122
+ "name": "ErrorRegisterableNotActive",
112
123
  "type": "error"
113
124
  },
114
125
  {
@@ -180,6 +191,17 @@
180
191
  "name": "ErrorStakingServiceNotStaking",
181
192
  "type": "error"
182
193
  },
194
+ {
195
+ "inputs": [
196
+ {
197
+ "internalType": "address",
198
+ "name": "account",
199
+ "type": "address"
200
+ }
201
+ ],
202
+ "name": "ErrorStakingServiceNotStakingOwner",
203
+ "type": "error"
204
+ },
183
205
  {
184
206
  "inputs": [
185
207
  {
@@ -202,11 +224,32 @@
202
224
  "name": "ErrorStakingServiceNotTargetNftId",
203
225
  "type": "error"
204
226
  },
227
+ {
228
+ "inputs": [
229
+ {
230
+ "internalType": "NftId",
231
+ "name": "targetNftId",
232
+ "type": "uint96"
233
+ }
234
+ ],
235
+ "name": "ErrorStakingServiceTargetUnknown",
236
+ "type": "error"
237
+ },
205
238
  {
206
239
  "inputs": [],
207
240
  "name": "ErrorStakingServiceZeroTargetNftId",
208
241
  "type": "error"
209
242
  },
243
+ {
244
+ "inputs": [],
245
+ "name": "ErrorVersionableInitializeNotImplemented",
246
+ "type": "error"
247
+ },
248
+ {
249
+ "inputs": [],
250
+ "name": "ErrorVersionableUpgradeNotImplemented",
251
+ "type": "error"
252
+ },
210
253
  {
211
254
  "inputs": [],
212
255
  "name": "InvalidInitialization",
@@ -248,6 +291,25 @@
248
291
  "name": "Initialized",
249
292
  "type": "event"
250
293
  },
294
+ {
295
+ "anonymous": false,
296
+ "inputs": [
297
+ {
298
+ "indexed": false,
299
+ "internalType": "NftId",
300
+ "name": "nftId",
301
+ "type": "uint96"
302
+ },
303
+ {
304
+ "indexed": false,
305
+ "internalType": "address",
306
+ "name": "owner",
307
+ "type": "address"
308
+ }
309
+ ],
310
+ "name": "LogNftOwnableNftLinkedToAddress",
311
+ "type": "event"
312
+ },
251
313
  {
252
314
  "anonymous": false,
253
315
  "inputs": [
@@ -318,13 +380,13 @@
318
380
  "indexed": false,
319
381
  "internalType": "UFixed",
320
382
  "name": "oldRewardRate",
321
- "type": "uint256"
383
+ "type": "uint160"
322
384
  },
323
385
  {
324
386
  "indexed": false,
325
387
  "internalType": "UFixed",
326
388
  "name": "rewardRate",
327
- "type": "uint256"
389
+ "type": "uint160"
328
390
  }
329
391
  ],
330
392
  "name": "LogStakingServiceRewardRateSet",
@@ -501,34 +563,83 @@
501
563
  "name": "stakeNftId",
502
564
  "type": "uint96"
503
565
  },
566
+ {
567
+ "indexed": false,
568
+ "internalType": "NftId",
569
+ "name": "targetNftId",
570
+ "type": "uint96"
571
+ },
504
572
  {
505
573
  "indexed": false,
506
574
  "internalType": "address",
507
575
  "name": "stakeOwner",
508
576
  "type": "address"
577
+ }
578
+ ],
579
+ "name": "LogStakingServiceStakeObjectCreated",
580
+ "type": "event"
581
+ },
582
+ {
583
+ "anonymous": false,
584
+ "inputs": [
585
+ {
586
+ "indexed": false,
587
+ "internalType": "address",
588
+ "name": "stakeOwner",
589
+ "type": "address"
590
+ },
591
+ {
592
+ "indexed": true,
593
+ "internalType": "NftId",
594
+ "name": "stakeNftId",
595
+ "type": "uint96"
509
596
  },
510
597
  {
511
598
  "indexed": false,
599
+ "internalType": "NftId",
600
+ "name": "newStakeNftId",
601
+ "type": "uint96"
602
+ },
603
+ {
604
+ "indexed": true,
605
+ "internalType": "NftId",
606
+ "name": "newTargetNftId",
607
+ "type": "uint96"
608
+ },
609
+ {
610
+ "indexed": true,
512
611
  "internalType": "Amount",
513
- "name": "totalAmount",
612
+ "name": "newStakeBalance",
514
613
  "type": "uint96"
515
614
  }
516
615
  ],
517
- "name": "LogStakingServiceUnstaked",
616
+ "name": "LogStakingServiceStakeRestaked",
518
617
  "type": "event"
519
618
  },
520
619
  {
521
- "inputs": [],
522
- "name": "GIF_RELEASE",
523
- "outputs": [
620
+ "anonymous": false,
621
+ "inputs": [
524
622
  {
525
- "internalType": "uint256",
526
- "name": "",
527
- "type": "uint256"
623
+ "indexed": false,
624
+ "internalType": "NftId",
625
+ "name": "stakeNftId",
626
+ "type": "uint96"
627
+ },
628
+ {
629
+ "indexed": false,
630
+ "internalType": "address",
631
+ "name": "stakeOwner",
632
+ "type": "address"
633
+ },
634
+ {
635
+ "indexed": false,
636
+ "internalType": "Amount",
637
+ "name": "totalAmount",
638
+ "type": "uint96"
528
639
  }
529
640
  ],
530
- "stateMutability": "view",
531
- "type": "function"
641
+ "name": "LogStakingServiceUnstaked",
642
+ "type": "event"
532
643
  },
533
644
  {
534
645
  "inputs": [],
@@ -569,6 +680,24 @@
569
680
  "stateMutability": "view",
570
681
  "type": "function"
571
682
  },
683
+ {
684
+ "inputs": [
685
+ {
686
+ "internalType": "contract IERC20Metadata",
687
+ "name": "token",
688
+ "type": "address"
689
+ },
690
+ {
691
+ "internalType": "Amount",
692
+ "name": "amount",
693
+ "type": "uint96"
694
+ }
695
+ ],
696
+ "name": "approveTokenHandler",
697
+ "outputs": [],
698
+ "stateMutability": "nonpayable",
699
+ "type": "function"
700
+ },
572
701
  {
573
702
  "inputs": [],
574
703
  "name": "authority",
@@ -586,11 +715,21 @@
586
715
  "inputs": [
587
716
  {
588
717
  "internalType": "NftId",
589
- "name": "stakeNftId",
718
+ "name": "targetNftId",
590
719
  "type": "uint96"
720
+ },
721
+ {
722
+ "internalType": "Seconds",
723
+ "name": "initialLockingPeriod",
724
+ "type": "uint40"
725
+ },
726
+ {
727
+ "internalType": "UFixed",
728
+ "name": "initialRewardRate",
729
+ "type": "uint160"
591
730
  }
592
731
  ],
593
- "name": "claimRewards",
732
+ "name": "createInstanceTarget",
594
733
  "outputs": [],
595
734
  "stateMutability": "nonpayable",
596
735
  "type": "function"
@@ -603,12 +742,12 @@
603
742
  "type": "uint96"
604
743
  },
605
744
  {
606
- "internalType": "Amount",
607
- "name": "dipAmount",
608
- "type": "uint96"
745
+ "internalType": "address",
746
+ "name": "stakeOwner",
747
+ "type": "address"
609
748
  }
610
749
  ],
611
- "name": "create",
750
+ "name": "createStakeObject",
612
751
  "outputs": [
613
752
  {
614
753
  "internalType": "NftId",
@@ -619,29 +758,6 @@
619
758
  "stateMutability": "nonpayable",
620
759
  "type": "function"
621
760
  },
622
- {
623
- "inputs": [
624
- {
625
- "internalType": "NftId",
626
- "name": "targetNftId",
627
- "type": "uint96"
628
- },
629
- {
630
- "internalType": "Seconds",
631
- "name": "initialLockingPeriod",
632
- "type": "uint40"
633
- },
634
- {
635
- "internalType": "UFixed",
636
- "name": "initialRewardRate",
637
- "type": "uint256"
638
- }
639
- ],
640
- "name": "createInstanceTarget",
641
- "outputs": [],
642
- "stateMutability": "nonpayable",
643
- "type": "function"
644
- },
645
761
  {
646
762
  "inputs": [],
647
763
  "name": "getDipToken",
@@ -652,7 +768,7 @@
652
768
  "type": "address"
653
769
  }
654
770
  ],
655
- "stateMutability": "nonpayable",
771
+ "stateMutability": "view",
656
772
  "type": "function"
657
773
  },
658
774
  {
@@ -767,7 +883,7 @@
767
883
  "type": "uint8"
768
884
  }
769
885
  ],
770
- "stateMutability": "pure",
886
+ "stateMutability": "view",
771
887
  "type": "function"
772
888
  },
773
889
  {
@@ -780,7 +896,7 @@
780
896
  "type": "uint64"
781
897
  }
782
898
  ],
783
- "stateMutability": "pure",
899
+ "stateMutability": "view",
784
900
  "type": "function"
785
901
  },
786
902
  {
@@ -793,7 +909,7 @@
793
909
  "type": "address"
794
910
  }
795
911
  ],
796
- "stateMutability": "nonpayable",
912
+ "stateMutability": "view",
797
913
  "type": "function"
798
914
  },
799
915
  {
@@ -806,7 +922,7 @@
806
922
  "type": "address"
807
923
  }
808
924
  ],
809
- "stateMutability": "nonpayable",
925
+ "stateMutability": "view",
810
926
  "type": "function"
811
927
  },
812
928
  {
@@ -840,6 +956,19 @@
840
956
  "stateMutability": "nonpayable",
841
957
  "type": "function"
842
958
  },
959
+ {
960
+ "inputs": [],
961
+ "name": "isActive",
962
+ "outputs": [
963
+ {
964
+ "internalType": "bool",
965
+ "name": "active",
966
+ "type": "bool"
967
+ }
968
+ ],
969
+ "stateMutability": "view",
970
+ "type": "function"
971
+ },
843
972
  {
844
973
  "inputs": [],
845
974
  "name": "isConsumingScheduledOp",
@@ -869,53 +998,36 @@
869
998
  {
870
999
  "inputs": [
871
1000
  {
872
- "internalType": "NftId",
873
- "name": "instanceNftId",
1001
+ "internalType": "Amount",
1002
+ "name": "dipAmount",
874
1003
  "type": "uint96"
875
1004
  },
876
1005
  {
877
1006
  "internalType": "address",
878
- "name": "rewardProvider",
1007
+ "name": "stakeOwner",
879
1008
  "type": "address"
880
- },
881
- {
882
- "internalType": "Amount",
883
- "name": "dipAmount",
884
- "type": "uint96"
885
- }
886
- ],
887
- "name": "refillInstanceRewardReserves",
888
- "outputs": [
889
- {
890
- "internalType": "Amount",
891
- "name": "newBalance",
892
- "type": "uint96"
893
1009
  }
894
1010
  ],
1011
+ "name": "pullDipToken",
1012
+ "outputs": [],
895
1013
  "stateMutability": "nonpayable",
896
1014
  "type": "function"
897
1015
  },
898
1016
  {
899
1017
  "inputs": [
900
- {
901
- "internalType": "NftId",
902
- "name": "targetNftId",
903
- "type": "uint96"
904
- },
905
1018
  {
906
1019
  "internalType": "Amount",
907
1020
  "name": "dipAmount",
908
1021
  "type": "uint96"
909
- }
910
- ],
911
- "name": "refillRewardReservesBySender",
912
- "outputs": [
1022
+ },
913
1023
  {
914
- "internalType": "Amount",
915
- "name": "newBalance",
916
- "type": "uint96"
1024
+ "internalType": "address",
1025
+ "name": "stakeOwner",
1026
+ "type": "address"
917
1027
  }
918
1028
  ],
1029
+ "name": "pushDipToken",
1030
+ "outputs": [],
919
1031
  "stateMutability": "nonpayable",
920
1032
  "type": "function"
921
1033
  },
@@ -923,20 +1035,25 @@
923
1035
  "inputs": [
924
1036
  {
925
1037
  "internalType": "NftId",
926
- "name": "stakeNftId",
1038
+ "name": "instanceNftId",
927
1039
  "type": "uint96"
928
1040
  },
929
1041
  {
930
- "internalType": "NftId",
931
- "name": "newTargetNftId",
1042
+ "internalType": "address",
1043
+ "name": "rewardProvider",
1044
+ "type": "address"
1045
+ },
1046
+ {
1047
+ "internalType": "Amount",
1048
+ "name": "dipAmount",
932
1049
  "type": "uint96"
933
1050
  }
934
1051
  ],
935
- "name": "restakeToNewTarget",
1052
+ "name": "refillInstanceRewardReserves",
936
1053
  "outputs": [
937
1054
  {
938
- "internalType": "NftId",
939
- "name": "newStakeNftId",
1055
+ "internalType": "Amount",
1056
+ "name": "newBalance",
940
1057
  "type": "uint96"
941
1058
  }
942
1059
  ],
@@ -982,12 +1099,12 @@
982
1099
  "type": "uint96"
983
1100
  },
984
1101
  {
985
- "internalType": "UFixed",
986
- "name": "rewardRate",
987
- "type": "uint256"
1102
+ "internalType": "Amount",
1103
+ "name": "maxStakingAmount",
1104
+ "type": "uint96"
988
1105
  }
989
1106
  ],
990
- "name": "setInstanceRewardRate",
1107
+ "name": "setInstanceMaxStakedAmount",
991
1108
  "outputs": [],
992
1109
  "stateMutability": "nonpayable",
993
1110
  "type": "function"
@@ -996,21 +1113,16 @@
996
1113
  "inputs": [
997
1114
  {
998
1115
  "internalType": "NftId",
999
- "name": "targetNftId",
1116
+ "name": "instanceNftId",
1000
1117
  "type": "uint96"
1001
1118
  },
1002
1119
  {
1003
- "internalType": "address",
1004
- "name": "token",
1005
- "type": "address"
1006
- },
1007
- {
1008
- "internalType": "Amount",
1009
- "name": "amount",
1010
- "type": "uint96"
1120
+ "internalType": "UFixed",
1121
+ "name": "rewardRate",
1122
+ "type": "uint160"
1011
1123
  }
1012
1124
  ],
1013
- "name": "setTotalValueLocked",
1125
+ "name": "setInstanceRewardRate",
1014
1126
  "outputs": [],
1015
1127
  "stateMutability": "nonpayable",
1016
1128
  "type": "function"
@@ -1019,16 +1131,21 @@
1019
1131
  "inputs": [
1020
1132
  {
1021
1133
  "internalType": "NftId",
1022
- "name": "stakeNftId",
1134
+ "name": "targetNftId",
1023
1135
  "type": "uint96"
1024
1136
  },
1137
+ {
1138
+ "internalType": "address",
1139
+ "name": "token",
1140
+ "type": "address"
1141
+ },
1025
1142
  {
1026
1143
  "internalType": "Amount",
1027
- "name": "dipAmount",
1144
+ "name": "amount",
1028
1145
  "type": "uint96"
1029
1146
  }
1030
1147
  ],
1031
- "name": "stake",
1148
+ "name": "setTotalValueLocked",
1032
1149
  "outputs": [],
1033
1150
  "stateMutability": "nonpayable",
1034
1151
  "type": "function"
@@ -1052,32 +1169,6 @@
1052
1169
  "stateMutability": "view",
1053
1170
  "type": "function"
1054
1171
  },
1055
- {
1056
- "inputs": [
1057
- {
1058
- "internalType": "NftId",
1059
- "name": "stakeNftId",
1060
- "type": "uint96"
1061
- }
1062
- ],
1063
- "name": "unstake",
1064
- "outputs": [],
1065
- "stateMutability": "nonpayable",
1066
- "type": "function"
1067
- },
1068
- {
1069
- "inputs": [
1070
- {
1071
- "internalType": "NftId",
1072
- "name": "stakeNftId",
1073
- "type": "uint96"
1074
- }
1075
- ],
1076
- "name": "updateRewards",
1077
- "outputs": [],
1078
- "stateMutability": "nonpayable",
1079
- "type": "function"
1080
- },
1081
1172
  {
1082
1173
  "inputs": [
1083
1174
  {
@@ -1116,26 +1207,18 @@
1116
1207
  "type": "function"
1117
1208
  }
1118
1209
  ],
1119
- "bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6137c5806100d65f395ff3fe608060405234801561000f575f80fd5b5060043610610208575f3560e01c80637a9e5e4b1161011f578063a8b9328a116100a9578063db1e36e711610079578063db1e36e7146104fd578063dea4ccf214610510578063dec3bdde14610523578063f11bcbe714610536578063f67fef6d14610566575f80fd5b8063a8b9328a146104c7578063ada9652e146104da578063b68d1809146104ee578063bf7e214f146104f5575f80fd5b80638899278a116100ef5780638899278a1461046f578063893d20e8146104775780638cf81e461461047f5780638fb3603714610493578063943bd197146104b4575f80fd5b80637a9e5e4b146104065780637b1391a61461041957806381d9b45f1461044957806386b0e0191461045c575f80fd5b806343d752d3116101a05780636c1e9dff116101705780636c1e9dff146103935780636c741e78146103a6578063719f761a146103c6578063756b30de146103d957806376b707b7146103ec575f80fd5b806343d752d31461030e57806349bb9e4b146103525780635ab1bd5314610365578063644c45e014610376575f80fd5b8063138461e0116101db578063138461e0146102935780631eff4b22146102b357806321ece657146102e8578063329d6e74146102fb575f80fd5b806301ffc9a71461020c5780630d8e6e2c1461024d5780630fec111c1461026957806310a0638a1461027e575b5f80fd5b61023861021a366004612e4c565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610255610579565b60405162ffffff9091168152602001610244565b610271610600565b6040516102449190612ea1565b61029161028c366004612f41565b6107be565b005b61029b61088a565b6040516001600160601b039091168152602001610244565b6102da7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610244565b61029b6102f6366004612f5c565b610894565b610291610309366004613077565b610a7a565b7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa303546001600160a01b03165b6040516001600160a01b039091168152602001610244565b6102916103603660046130bc565b610bc4565b6001546001600160a01b031661033a565b5f80516020613710833981519152546001600160601b031661029b565b6102916103a1366004612f5c565b610cc0565b6103ae610f46565b6040516001600160401b039091168152602001610244565b6102916103d4366004612f41565b610fd2565b61029b6103e7366004612f5c565b6111e1565b6103f461148c565b60405160ff9091168152602001610244565b610291610414366004613108565b611500565b7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa301546001600160a01b031661033a565b61029161045736600461313c565b611586565b61029b61046a366004612f5c565b611673565b6102da600381565b61033a611691565b6102da5f8051602061375083398151915281565b61049b6117c2565b6040516001600160e01b03199091168152602001610244565b6102916104c2366004613178565b6117f7565b6102916104d53660046131c0565b611805565b6102da5f8051602061371083398151915281565b60036103f4565b61033a61189d565b61029161050b3660046131ea565b6118b8565b61029161051e366004612f41565b611931565b61029b610531366004613178565b611bbb565b7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa302546001600160a01b031661033a565b61029b610574366004612f5c565b611bdb565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156105d7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105fb919061321d565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156106b0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106d4919061324a565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161071c611691565b6001600160a01b0316815260200182600101805461073990613265565b80601f016020809104026020016040519081016040528092919081815260200182805461076590613265565b80156107b05780601f10610787576101008083540402835291602001916107b0565b820191905f5260205f20905b81548152906001019060200180831161079357829003601f168201915b505050505081525091505090565b6107ca335b5f36611c95565b6107d5816021611d8b565b5f5f80516020613750833981519152600181015460405163085031c560e11b81526001600160601b03851660048201529192506001600160a01b0316906310a0638a906024015f604051808303815f87803b158015610832575f80fd5b505af1158015610844573d5f803e3d5ffd5b50506040516001600160601b03851681527ff154111adc6084a644ef1d75dc89b5549b77bd22f0ceb8607501175f6cf3da35925060200190505b60405180910390a15050565b5f6105fb30611e42565b5f61089e336107c3565b6108a983600a611d8b565b5f5f80516020613750833981519152600181015460405163e8ce883d60e01b81526001600160601b038088166004830152861660248201529192506001600160a01b03169063e8ce883d906044016020604051808303815f875af1158015610913573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610937919061324a565b91505f61094c6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03871660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610999573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109bd91906132a8565b90507f1cbf8b37af4df8c27db081983bda17400796238db4d1edf44edacf559b3a25d7858286866040516109f494939291906132c3565b60405180910390a16001820154604080516343d752d360e01b81529051610a72926001600160a01b0316916343d752d39160048083019260209291908290030181865afa158015610a47573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a6b91906132a8565b828661203b565b505092915050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610a9c610579565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610ada573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610afe919061330b565b5f805160206137708339815191528054600160401b900460ff1680610b30575080546001600160401b03808416911610155b15610b4e5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610b7883612112565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b5f805160206137708339815191528054600160401b810460ff1615906001600160401b03165f81158015610bf55750825b90505f826001600160401b03166001148015610c105750303b155b905081158015610c1e575080155b15610c3c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610c6657845460ff60401b1916600160401b1785555b610c70878761211a565b8315610cb757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610cc9336107c3565b81610cdc6001546001600160a01b031690565b6001600160a01b031663b303aaf882336040518363ffffffff1660e01b8152600401610d09929190613326565b602060405180830381865afa158015610d24573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d489190613357565b610d6c5760405163086391f760e31b81523360048201526024015b60405180910390fd5b610d77836021611d8b565b5f5f805160206137508339815191526001810154604051636c1e9dff60e01b81526001600160601b0380881660048301528616602482015291925033915f916001600160a01b031690636c1e9dff906044016020604051808303815f875af1158015610de5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e09919061324a565b6040516330b8415f60e01b81526001600160601b038716600482015290915073__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af4158015610e62573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e869190613357565b15610f3e577f51bb449f96e2d4d2c1cbcba003bf8c0e4859c17581ce0bc7542fd6d6279e9b9d86838784604051610ec094939291906132c3565b60405180910390a16001830154604080516343d752d360e01b81529051610f3e926001600160a01b0316916343d752d39160048083019260209291908290030181865afa158015610f13573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f3791906132a8565b838761239a565b505050505050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d36003610f6b61148c565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610fae573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105fb919061330b565b610fdb336107c3565b80610fee6001546001600160a01b031690565b6001600160a01b031663b303aaf882336040518363ffffffff1660e01b815260040161101b929190613326565b602060405180830381865afa158015611036573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061105a9190613357565b6110795760405163086391f760e31b8152336004820152602401610d63565b611084826021611d8b565b5f5f8051602061375083398151915260018101546040516338cfbb0d60e11b81526001600160601b038616600482015291925033915f916001600160a01b03169063719f761a906024016020604051808303815f875af11580156110ea573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061110e919061324a565b604080516001600160601b0388811682526001600160a01b038616602083015283168183015290519192507f560ee8c0a69c814defd43602fe8eb63663bc8df678239a581d560f7ed67afda8919081900360600190a16001830154604080516343d752d360e01b815290516111da926001600160a01b0316916343d752d39160048083019260209291908290030181865afa1580156111af573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111d391906132a8565b838361203b565b5050505050565b5f6111eb336107c3565b5f8051602061375083398151915280546040805160e0810180835263bc1b392d60e01b9052905133926001600160a01b031691638105cc7f91819073__$94a2c899be079b00d952d0d84fffaa5c34$__9063bc1b392d9060e4808501916020918187030181865af4158015611262573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611286919061324a565b6001600160601b03168152602001886001600160601b031681526020016112ab602190565b60ff1681526020015f151581526020015f6001600160a01b03168152602001846001600160a01b0316815260200160405180602001604052805f8152508152506040518263ffffffff1660e01b81526004016113079190612ea1565b6020604051808303815f875af1158015611323573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611347919061324a565b6001830154604051630c7b317360e21b81526001600160601b0380841660048301528089166024830152871660448201529194506001600160a01b0316906331ecc5cc906064015f604051808303815f87803b1580156113a5575f80fd5b505af11580156113b7573d5f803e3d5ffd5b5050604080516001600160601b03878116825289811660208301526001600160a01b038616828401528816606082015290517fbba1f5229b1626c1685c27c3604dd3296a6a69391e1ed009f8c176aa63b8e1d79350908190036080019150a16001820154604080516343d752d360e01b81529051610a72926001600160a01b0316916343d752d39160048083019260209291908290030181865afa158015611461573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061148591906132a8565b828661239a565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156114dc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105fb9190613389565b3361150961189d565b6001600160a01b0316816001600160a01b0316146115445760405162d1953b60e31b81526001600160a01b0382166004820152602401610d63565b816001600160a01b03163b5f03611579576040516361798f2f60e11b81526001600160a01b0383166004820152602401610d63565b611582826123d7565b5050565b61158f336107c3565b465f80516020613750833981519152600101546001600160a01b031663562119ee85600a6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044810184905264ffffffffff861660648201526084810185905260a4015f604051808303815f87803b158015611614575f80fd5b505af1158015611626573d5f803e3d5ffd5b5050604080516001600160601b0388168152602081018590527f471a2845289928aa76c379fe01dc0310ebf5000e7a977935811e173bdda224bd935001905060405180910390a150505050565b5f61167d336107c3565b33611689848285612430565b949350505050565b5f805f8051602061371083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156116fd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117219190613357565b156117ac576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611782573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117a691906132a8565b91505090565b54600160601b90046001600160a01b0316919050565b5f8051602061373083398151915280545f9190600160a01b900460ff166117e9575f6117a6565b638fb3603760e01b91505090565b611800336107c3565b505050565b61180e336107c3565b61181982600a611d8b565b7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa30154604051632a80f67360e01b81526001600160601b0384166004820152602481018390526001600160a01b0390911690632a80f673906044015b5f604051808303815f87803b15801561188b575f80fd5b505af1158015610f3e573d5f803e3d5ffd5b5f80516020613730833981519152546001600160a01b031690565b6118c1336107c3565b6118cc82600a611d8b565b7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa30154604051635ecf260f60e01b81526001600160601b038416600482015264ffffffffff831660248201526001600160a01b0390911690635ecf260f90604401611874565b61193a336107c3565b8061194d6001546001600160a01b031690565b6001600160a01b031663b303aaf882336040518363ffffffff1660e01b815260040161197a929190613326565b602060405180830381865afa158015611995573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119b99190613357565b6119d85760405163086391f760e31b8152336004820152602401610d63565b6119e3826021611d8b565b5f5f805160206137508339815191526001810154604051636f52667960e11b81526001600160601b038616600482015291925033915f9182916001600160a01b039091169063dea4ccf29060240160408051808303815f875af1158015611a4c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a7091906133a4565b915091505f611a7f838361257c565b604080516001600160601b038a811682526001600160a01b038816602083015283168183015290519192507fce678d95d8c12c4b7d7089c8f7db920fe5cc49352696a601b9e41f65ea3fd239919081900360600190a1846001015f9054906101000a90046001600160a01b03166001600160a01b03166343d752d36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b27573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b4b91906132a8565b6040516333f6af9b60e11b81526001600160a01b0386811660048301526001600160601b038416602483015291909116906367ed5f36906044015f604051808303815f87803b158015611b9c575f80fd5b505af1158015611bae573d5f803e3d5ffd5b5050505050505050505050565b5f611bc5336107c3565b611bd084600a611d8b565b611689848484612430565b5f611be5336107c3565b82611bf86001546001600160a01b031690565b6001600160a01b031663b303aaf882336040518363ffffffff1660e01b8152600401611c25929190613326565b602060405180830381865afa158015611c40573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c649190613357565b611c835760405163086391f760e31b8152336004820152602401610d63565b611c8e846021611d8b565b5092915050565b5f805160206137308339815191525f80611ccd611cb061189d565b8730611cbf60045f8a8c6133d1565b611cc8916133f8565b612607565b9150915081610f3e5763ffffffff811615611d6857825460ff60a01b1916600160a01b178355611cfb61189d565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611d2a9392919061342e565b5f604051808303815f87803b158015611d41575f80fd5b505af1158015611d53573d5f803e3d5ffd5b5050845460ff60a01b1916855550610f3e9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610d63565b6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa158015611ded573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e119190613357565b6115825760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610d63565b5f805f8051602061371083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611eae573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ed29190613357565b15611efe5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610d63565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611f50573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f749190613357565b611f9c5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610d63565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611fee573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612012919061324a565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b826001600160a01b03166354f0d84c846001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa158015612086573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120aa91906132a8565b6040516001600160e01b031960e084901b1681526001600160a01b03918216600482015290851660248201526001600160601b03841660448201526064015b5f604051808303815f87803b158015612100575f80fd5b505af1158015610cb7573d5f803e3d5ffd5b61020861270f565b5f805160206137708339815191528054600160401b810460ff1615906001600160401b03165f8115801561214b5750825b90505f826001600160401b031660011480156121665750303b155b905081158015612174575080155b156121925760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156121bc57845460ff60401b1916600160401b1785555b5f805f888060200190518101906121d3919061346d565b9250925092506121e482848c612747565b5f805160206137508339815191526121fc6002612887565b81546001600160a01b0319166001600160a01b03919091161781556122208261291e565b6001820180546001600160a01b0319166001600160a01b03929092169182179055604080516321df0da760e01b815290516321df0da7916004808201926020929091908290030181865afa15801561227a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061229e91906132a8565b6002820180546001600160a01b0319166001600160a01b039283161790556001820154604080516343d752d360e01b8152905191909216916343d752d39160048083019260209291908290030181865afa1580156122fe573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061232291906132a8565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055612354638694498960e01b612b91565b505050508315610cb757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610cae565b6040516340cda00760e11b81526001600160a01b0383811660048301526001600160601b038316602483015284169063819b400e906044016120e9565b5f8051602061373083398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200161087e565b5f805f80516020613750833981519152600181015460405163de0eb85f60e01b81526001600160601b038089166004830152861660248201529192506001600160a01b03169063de0eb85f906044016020604051808303815f875af115801561249b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124bf919061324a565b91507fcf86366087b008a90b57f4e7b955b94599f589d7267649942abfd34305fe5b2f858585856040516124f694939291906132c3565b60405180910390a16001810154604080516343d752d360e01b81529051612574926001600160a01b0316916343d752d39160048083019260209291908290030181865afa158015612549573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061256d91906132a8565b858561239a565b509392505050565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb3590604401602060405180830381865af41580156125dc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612600919061324a565b9392505050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161267591906134ac565b5f60405180830381855afa9150503d805f81146126ad576040519150601f19603f3d011682016040523d82523d5f602084013e6126b2565b606091505b509150915081156127045760408151106126e457808060200190518101906126da91906134c2565b9094509250612704565b602081511061270457808060200190518101906127019190613357565b93505b505094509492505050565b5f8051602061377083398151915254600160401b900460ff1661274557604051631afcd79f60e31b815260040160405180910390fd5b565b61274f61270f565b612757612bbd565b6001600160a01b038216156127745761276f82612bcd565b6127eb565b5f61277f6002612887565b90506127e9816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156127c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127e491906132a8565b612bcd565b505b61286783846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561282b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061284f919061324a565b60085f8560405180602001604052805f815250612be1565b612877634a531f3360e01b612b91565b61180063daf9067160e01b612b91565b5f61289a6001546001600160a01b031690565b6001600160a01b031663d39e6043836128b161148c565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156128f4573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061291891906132a8565b92915050565b5f806129326001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b0385811660048301529190911690638b09a5f0906024015f60405180830381865afa158015612977573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261299e9190810190613541565b80516040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156129fa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a1e9190613357565b15612a6f57612a3f8160400151612a33600390565b60ff9081169116141590565b15612a6857604051637dbf3cff60e11b81526001600160a01b0384166004820152602401610d63565b5090919050565b6040516301ffc9a760e01b8152637641aba360e01b60048201526001600160a01b038416906301ffc9a790602401602060405180830381865afa158015612ab8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612adc9190613357565b612b0457604051632bf4d8e560e21b81526001600160a01b0384166004820152602401610d63565b335f805160206137508339815191525460405163c4c79d8b60e01b81526001600160a01b03868116600483015283811660248301529091169063c4c79d8b906044015f604051808303815f875af1158015612b61573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612b889190810190613541565b50929392505050565b612b9961270f565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b612bc561270f565b612745612c86565b612bd561270f565b612bde81612cb4565b50565b612be961270f565b612bf38683612cc5565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301612c7c8382613655565b5050505050505050565b612c8e61270f565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b612cbc61270f565b612bde816123d7565b612ccd61270f565b612cd682612d3b565b612cde612e07565b6001600160a01b038116612d055760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061371083398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b612d4361270f565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015612d99573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612dbd9190613357565b612de55760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610d63565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b612e0f61270f565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b5f60208284031215612e5c575f80fd5b81356001600160e01b031981168114612600575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612ee9608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611689610100840182612e73565b6001600160601b0381168114612bde575f80fd5b5f60208284031215612f51575f80fd5b813561260081612f2d565b5f8060408385031215612f6d575f80fd5b8235612f7881612f2d565b91506020830135612f8881612f2d565b809150509250929050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715612fc957612fc9612f93565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612ff757612ff7612f93565b604052919050565b5f6001600160401b0382111561301757613017612f93565b50601f01601f191660200190565b5f82601f830112613034575f80fd5b813561304761304282612fff565b612fcf565b81815284602083860101111561305b575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215613087575f80fd5b81356001600160401b0381111561309c575f80fd5b61168984828501613025565b6001600160a01b0381168114612bde575f80fd5b5f80604083850312156130cd575f80fd5b82356130d8816130a8565b915060208301356001600160401b038111156130f2575f80fd5b6130fe85828601613025565b9150509250929050565b5f60208284031215613118575f80fd5b8135612600816130a8565b803564ffffffffff81168114613137575f80fd5b919050565b5f805f6060848603121561314e575f80fd5b833561315981612f2d565b925061316760208501613123565b929592945050506040919091013590565b5f805f6060848603121561318a575f80fd5b833561319581612f2d565b925060208401356131a5816130a8565b915060408401356131b581612f2d565b809150509250925092565b5f80604083850312156131d1575f80fd5b82356131dc81612f2d565b946020939093013593505050565b5f80604083850312156131fb575f80fd5b823561320681612f2d565b915061321460208401613123565b90509250929050565b5f6020828403121561322d575f80fd5b815162ffffff81168114612600575f80fd5b805161313781612f2d565b5f6020828403121561325a575f80fd5b815161260081612f2d565b600181811c9082168061327957607f821691505b60208210810361329757634e487b7160e01b5f52602260045260245ffd5b50919050565b8051613137816130a8565b5f602082840312156132b8575f80fd5b8151612600816130a8565b6001600160601b0394851681526001600160a01b039390931660208401529083166040830152909116606082015260800190565b6001600160401b0381168114612bde575f80fd5b5f6020828403121561331b575f80fd5b8151612600816132f7565b6001600160601b039290921682526001600160a01b0316602082015260400190565b80518015158114613137575f80fd5b5f60208284031215613367575f80fd5b61260082613348565b60ff81168114612bde575f80fd5b805161313781613370565b5f60208284031215613399575f80fd5b815161260081613370565b5f80604083850312156133b5575f80fd5b82516133c081612f2d565b6020840151909250612f8881612f2d565b5f80858511156133df575f80fd5b838611156133eb575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015611c8e576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f805f6060848603121561347f575f80fd5b835161348a816130a8565b602085015190935061349b816130a8565b60408501519092506131b5816130a8565b5f82518060208501845e5f920191825250919050565b5f80604083850312156134d3575f80fd5b6134dc83613348565b9150602083015163ffffffff81168114612f88575f80fd5b5f82601f830112613503575f80fd5b815161351161304282612fff565b818152846020838601011115613525575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215613551575f80fd5b81516001600160401b03811115613566575f80fd5b820160e08185031215613577575f80fd5b61357f612fa7565b6135888261323f565b81526135966020830161323f565b60208201526135a76040830161337e565b60408201526135b860608301613348565b60608201526135c96080830161329d565b60808201526135da60a0830161329d565b60a082015260c08201516001600160401b038111156135f7575f80fd5b613603868285016134f4565b60c083015250949350505050565b601f82111561180057805f5260205f20601f840160051c810160208510156136365750805b601f840160051c820191505b818110156111da575f8155600101613642565b81516001600160401b0381111561366e5761366e612f93565b6136828161367c8454613265565b84613611565b6020601f8211600181146136b4575f831561369d5750848201515b5f19600385901b1c1916600184901b1784556111da565b5f84815260208120601f198516915b828110156136e357878501518255602094850194600190920191016136c3565b508482101561370057868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a006548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa300f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212202664c06e1e6a47088688b15d1dee52c499069132788aedbd7b7fa92cdca593c264736f6c634300081a0033",
1120
- "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610208575f3560e01c80637a9e5e4b1161011f578063a8b9328a116100a9578063db1e36e711610079578063db1e36e7146104fd578063dea4ccf214610510578063dec3bdde14610523578063f11bcbe714610536578063f67fef6d14610566575f80fd5b8063a8b9328a146104c7578063ada9652e146104da578063b68d1809146104ee578063bf7e214f146104f5575f80fd5b80638899278a116100ef5780638899278a1461046f578063893d20e8146104775780638cf81e461461047f5780638fb3603714610493578063943bd197146104b4575f80fd5b80637a9e5e4b146104065780637b1391a61461041957806381d9b45f1461044957806386b0e0191461045c575f80fd5b806343d752d3116101a05780636c1e9dff116101705780636c1e9dff146103935780636c741e78146103a6578063719f761a146103c6578063756b30de146103d957806376b707b7146103ec575f80fd5b806343d752d31461030e57806349bb9e4b146103525780635ab1bd5314610365578063644c45e014610376575f80fd5b8063138461e0116101db578063138461e0146102935780631eff4b22146102b357806321ece657146102e8578063329d6e74146102fb575f80fd5b806301ffc9a71461020c5780630d8e6e2c1461024d5780630fec111c1461026957806310a0638a1461027e575b5f80fd5b61023861021a366004612e4c565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610255610579565b60405162ffffff9091168152602001610244565b610271610600565b6040516102449190612ea1565b61029161028c366004612f41565b6107be565b005b61029b61088a565b6040516001600160601b039091168152602001610244565b6102da7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610244565b61029b6102f6366004612f5c565b610894565b610291610309366004613077565b610a7a565b7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa303546001600160a01b03165b6040516001600160a01b039091168152602001610244565b6102916103603660046130bc565b610bc4565b6001546001600160a01b031661033a565b5f80516020613710833981519152546001600160601b031661029b565b6102916103a1366004612f5c565b610cc0565b6103ae610f46565b6040516001600160401b039091168152602001610244565b6102916103d4366004612f41565b610fd2565b61029b6103e7366004612f5c565b6111e1565b6103f461148c565b60405160ff9091168152602001610244565b610291610414366004613108565b611500565b7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa301546001600160a01b031661033a565b61029161045736600461313c565b611586565b61029b61046a366004612f5c565b611673565b6102da600381565b61033a611691565b6102da5f8051602061375083398151915281565b61049b6117c2565b6040516001600160e01b03199091168152602001610244565b6102916104c2366004613178565b6117f7565b6102916104d53660046131c0565b611805565b6102da5f8051602061371083398151915281565b60036103f4565b61033a61189d565b61029161050b3660046131ea565b6118b8565b61029161051e366004612f41565b611931565b61029b610531366004613178565b611bbb565b7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa302546001600160a01b031661033a565b61029b610574366004612f5c565b611bdb565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156105d7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105fb919061321d565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156106b0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106d4919061324a565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161071c611691565b6001600160a01b0316815260200182600101805461073990613265565b80601f016020809104026020016040519081016040528092919081815260200182805461076590613265565b80156107b05780601f10610787576101008083540402835291602001916107b0565b820191905f5260205f20905b81548152906001019060200180831161079357829003601f168201915b505050505081525091505090565b6107ca335b5f36611c95565b6107d5816021611d8b565b5f5f80516020613750833981519152600181015460405163085031c560e11b81526001600160601b03851660048201529192506001600160a01b0316906310a0638a906024015f604051808303815f87803b158015610832575f80fd5b505af1158015610844573d5f803e3d5ffd5b50506040516001600160601b03851681527ff154111adc6084a644ef1d75dc89b5549b77bd22f0ceb8607501175f6cf3da35925060200190505b60405180910390a15050565b5f6105fb30611e42565b5f61089e336107c3565b6108a983600a611d8b565b5f5f80516020613750833981519152600181015460405163e8ce883d60e01b81526001600160601b038088166004830152861660248201529192506001600160a01b03169063e8ce883d906044016020604051808303815f875af1158015610913573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610937919061324a565b91505f61094c6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03871660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610999573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109bd91906132a8565b90507f1cbf8b37af4df8c27db081983bda17400796238db4d1edf44edacf559b3a25d7858286866040516109f494939291906132c3565b60405180910390a16001820154604080516343d752d360e01b81529051610a72926001600160a01b0316916343d752d39160048083019260209291908290030181865afa158015610a47573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a6b91906132a8565b828661203b565b505092915050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610a9c610579565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610ada573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610afe919061330b565b5f805160206137708339815191528054600160401b900460ff1680610b30575080546001600160401b03808416911610155b15610b4e5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610b7883612112565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b5f805160206137708339815191528054600160401b810460ff1615906001600160401b03165f81158015610bf55750825b90505f826001600160401b03166001148015610c105750303b155b905081158015610c1e575080155b15610c3c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610c6657845460ff60401b1916600160401b1785555b610c70878761211a565b8315610cb757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610cc9336107c3565b81610cdc6001546001600160a01b031690565b6001600160a01b031663b303aaf882336040518363ffffffff1660e01b8152600401610d09929190613326565b602060405180830381865afa158015610d24573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d489190613357565b610d6c5760405163086391f760e31b81523360048201526024015b60405180910390fd5b610d77836021611d8b565b5f5f805160206137508339815191526001810154604051636c1e9dff60e01b81526001600160601b0380881660048301528616602482015291925033915f916001600160a01b031690636c1e9dff906044016020604051808303815f875af1158015610de5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e09919061324a565b6040516330b8415f60e01b81526001600160601b038716600482015290915073__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af4158015610e62573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e869190613357565b15610f3e577f51bb449f96e2d4d2c1cbcba003bf8c0e4859c17581ce0bc7542fd6d6279e9b9d86838784604051610ec094939291906132c3565b60405180910390a16001830154604080516343d752d360e01b81529051610f3e926001600160a01b0316916343d752d39160048083019260209291908290030181865afa158015610f13573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f3791906132a8565b838761239a565b505050505050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d36003610f6b61148c565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610fae573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105fb919061330b565b610fdb336107c3565b80610fee6001546001600160a01b031690565b6001600160a01b031663b303aaf882336040518363ffffffff1660e01b815260040161101b929190613326565b602060405180830381865afa158015611036573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061105a9190613357565b6110795760405163086391f760e31b8152336004820152602401610d63565b611084826021611d8b565b5f5f8051602061375083398151915260018101546040516338cfbb0d60e11b81526001600160601b038616600482015291925033915f916001600160a01b03169063719f761a906024016020604051808303815f875af11580156110ea573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061110e919061324a565b604080516001600160601b0388811682526001600160a01b038616602083015283168183015290519192507f560ee8c0a69c814defd43602fe8eb63663bc8df678239a581d560f7ed67afda8919081900360600190a16001830154604080516343d752d360e01b815290516111da926001600160a01b0316916343d752d39160048083019260209291908290030181865afa1580156111af573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111d391906132a8565b838361203b565b5050505050565b5f6111eb336107c3565b5f8051602061375083398151915280546040805160e0810180835263bc1b392d60e01b9052905133926001600160a01b031691638105cc7f91819073__$94a2c899be079b00d952d0d84fffaa5c34$__9063bc1b392d9060e4808501916020918187030181865af4158015611262573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611286919061324a565b6001600160601b03168152602001886001600160601b031681526020016112ab602190565b60ff1681526020015f151581526020015f6001600160a01b03168152602001846001600160a01b0316815260200160405180602001604052805f8152508152506040518263ffffffff1660e01b81526004016113079190612ea1565b6020604051808303815f875af1158015611323573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611347919061324a565b6001830154604051630c7b317360e21b81526001600160601b0380841660048301528089166024830152871660448201529194506001600160a01b0316906331ecc5cc906064015f604051808303815f87803b1580156113a5575f80fd5b505af11580156113b7573d5f803e3d5ffd5b5050604080516001600160601b03878116825289811660208301526001600160a01b038616828401528816606082015290517fbba1f5229b1626c1685c27c3604dd3296a6a69391e1ed009f8c176aa63b8e1d79350908190036080019150a16001820154604080516343d752d360e01b81529051610a72926001600160a01b0316916343d752d39160048083019260209291908290030181865afa158015611461573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061148591906132a8565b828661239a565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156114dc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105fb9190613389565b3361150961189d565b6001600160a01b0316816001600160a01b0316146115445760405162d1953b60e31b81526001600160a01b0382166004820152602401610d63565b816001600160a01b03163b5f03611579576040516361798f2f60e11b81526001600160a01b0383166004820152602401610d63565b611582826123d7565b5050565b61158f336107c3565b465f80516020613750833981519152600101546001600160a01b031663562119ee85600a6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044810184905264ffffffffff861660648201526084810185905260a4015f604051808303815f87803b158015611614575f80fd5b505af1158015611626573d5f803e3d5ffd5b5050604080516001600160601b0388168152602081018590527f471a2845289928aa76c379fe01dc0310ebf5000e7a977935811e173bdda224bd935001905060405180910390a150505050565b5f61167d336107c3565b33611689848285612430565b949350505050565b5f805f8051602061371083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156116fd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117219190613357565b156117ac576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611782573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117a691906132a8565b91505090565b54600160601b90046001600160a01b0316919050565b5f8051602061373083398151915280545f9190600160a01b900460ff166117e9575f6117a6565b638fb3603760e01b91505090565b611800336107c3565b505050565b61180e336107c3565b61181982600a611d8b565b7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa30154604051632a80f67360e01b81526001600160601b0384166004820152602481018390526001600160a01b0390911690632a80f673906044015b5f604051808303815f87803b15801561188b575f80fd5b505af1158015610f3e573d5f803e3d5ffd5b5f80516020613730833981519152546001600160a01b031690565b6118c1336107c3565b6118cc82600a611d8b565b7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa30154604051635ecf260f60e01b81526001600160601b038416600482015264ffffffffff831660248201526001600160a01b0390911690635ecf260f90604401611874565b61193a336107c3565b8061194d6001546001600160a01b031690565b6001600160a01b031663b303aaf882336040518363ffffffff1660e01b815260040161197a929190613326565b602060405180830381865afa158015611995573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119b99190613357565b6119d85760405163086391f760e31b8152336004820152602401610d63565b6119e3826021611d8b565b5f5f805160206137508339815191526001810154604051636f52667960e11b81526001600160601b038616600482015291925033915f9182916001600160a01b039091169063dea4ccf29060240160408051808303815f875af1158015611a4c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a7091906133a4565b915091505f611a7f838361257c565b604080516001600160601b038a811682526001600160a01b038816602083015283168183015290519192507fce678d95d8c12c4b7d7089c8f7db920fe5cc49352696a601b9e41f65ea3fd239919081900360600190a1846001015f9054906101000a90046001600160a01b03166001600160a01b03166343d752d36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b27573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b4b91906132a8565b6040516333f6af9b60e11b81526001600160a01b0386811660048301526001600160601b038416602483015291909116906367ed5f36906044015f604051808303815f87803b158015611b9c575f80fd5b505af1158015611bae573d5f803e3d5ffd5b5050505050505050505050565b5f611bc5336107c3565b611bd084600a611d8b565b611689848484612430565b5f611be5336107c3565b82611bf86001546001600160a01b031690565b6001600160a01b031663b303aaf882336040518363ffffffff1660e01b8152600401611c25929190613326565b602060405180830381865afa158015611c40573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c649190613357565b611c835760405163086391f760e31b8152336004820152602401610d63565b611c8e846021611d8b565b5092915050565b5f805160206137308339815191525f80611ccd611cb061189d565b8730611cbf60045f8a8c6133d1565b611cc8916133f8565b612607565b9150915081610f3e5763ffffffff811615611d6857825460ff60a01b1916600160a01b178355611cfb61189d565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611d2a9392919061342e565b5f604051808303815f87803b158015611d41575f80fd5b505af1158015611d53573d5f803e3d5ffd5b5050845460ff60a01b1916855550610f3e9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610d63565b6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa158015611ded573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e119190613357565b6115825760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610d63565b5f805f8051602061371083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611eae573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ed29190613357565b15611efe5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610d63565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611f50573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f749190613357565b611f9c5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610d63565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611fee573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612012919061324a565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b826001600160a01b03166354f0d84c846001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa158015612086573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120aa91906132a8565b6040516001600160e01b031960e084901b1681526001600160a01b03918216600482015290851660248201526001600160601b03841660448201526064015b5f604051808303815f87803b158015612100575f80fd5b505af1158015610cb7573d5f803e3d5ffd5b61020861270f565b5f805160206137708339815191528054600160401b810460ff1615906001600160401b03165f8115801561214b5750825b90505f826001600160401b031660011480156121665750303b155b905081158015612174575080155b156121925760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156121bc57845460ff60401b1916600160401b1785555b5f805f888060200190518101906121d3919061346d565b9250925092506121e482848c612747565b5f805160206137508339815191526121fc6002612887565b81546001600160a01b0319166001600160a01b03919091161781556122208261291e565b6001820180546001600160a01b0319166001600160a01b03929092169182179055604080516321df0da760e01b815290516321df0da7916004808201926020929091908290030181865afa15801561227a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061229e91906132a8565b6002820180546001600160a01b0319166001600160a01b039283161790556001820154604080516343d752d360e01b8152905191909216916343d752d39160048083019260209291908290030181865afa1580156122fe573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061232291906132a8565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055612354638694498960e01b612b91565b505050508315610cb757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610cae565b6040516340cda00760e11b81526001600160a01b0383811660048301526001600160601b038316602483015284169063819b400e906044016120e9565b5f8051602061373083398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200161087e565b5f805f80516020613750833981519152600181015460405163de0eb85f60e01b81526001600160601b038089166004830152861660248201529192506001600160a01b03169063de0eb85f906044016020604051808303815f875af115801561249b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124bf919061324a565b91507fcf86366087b008a90b57f4e7b955b94599f589d7267649942abfd34305fe5b2f858585856040516124f694939291906132c3565b60405180910390a16001810154604080516343d752d360e01b81529051612574926001600160a01b0316916343d752d39160048083019260209291908290030181865afa158015612549573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061256d91906132a8565b858561239a565b509392505050565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb3590604401602060405180830381865af41580156125dc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612600919061324a565b9392505050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161267591906134ac565b5f60405180830381855afa9150503d805f81146126ad576040519150601f19603f3d011682016040523d82523d5f602084013e6126b2565b606091505b509150915081156127045760408151106126e457808060200190518101906126da91906134c2565b9094509250612704565b602081511061270457808060200190518101906127019190613357565b93505b505094509492505050565b5f8051602061377083398151915254600160401b900460ff1661274557604051631afcd79f60e31b815260040160405180910390fd5b565b61274f61270f565b612757612bbd565b6001600160a01b038216156127745761276f82612bcd565b6127eb565b5f61277f6002612887565b90506127e9816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156127c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127e491906132a8565b612bcd565b505b61286783846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561282b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061284f919061324a565b60085f8560405180602001604052805f815250612be1565b612877634a531f3360e01b612b91565b61180063daf9067160e01b612b91565b5f61289a6001546001600160a01b031690565b6001600160a01b031663d39e6043836128b161148c565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156128f4573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061291891906132a8565b92915050565b5f806129326001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b0385811660048301529190911690638b09a5f0906024015f60405180830381865afa158015612977573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261299e9190810190613541565b80516040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156129fa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a1e9190613357565b15612a6f57612a3f8160400151612a33600390565b60ff9081169116141590565b15612a6857604051637dbf3cff60e11b81526001600160a01b0384166004820152602401610d63565b5090919050565b6040516301ffc9a760e01b8152637641aba360e01b60048201526001600160a01b038416906301ffc9a790602401602060405180830381865afa158015612ab8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612adc9190613357565b612b0457604051632bf4d8e560e21b81526001600160a01b0384166004820152602401610d63565b335f805160206137508339815191525460405163c4c79d8b60e01b81526001600160a01b03868116600483015283811660248301529091169063c4c79d8b906044015f604051808303815f875af1158015612b61573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612b889190810190613541565b50929392505050565b612b9961270f565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b612bc561270f565b612745612c86565b612bd561270f565b612bde81612cb4565b50565b612be961270f565b612bf38683612cc5565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301612c7c8382613655565b5050505050505050565b612c8e61270f565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b612cbc61270f565b612bde816123d7565b612ccd61270f565b612cd682612d3b565b612cde612e07565b6001600160a01b038116612d055760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061371083398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b612d4361270f565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015612d99573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612dbd9190613357565b612de55760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610d63565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b612e0f61270f565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b5f60208284031215612e5c575f80fd5b81356001600160e01b031981168114612600575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612ee9608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611689610100840182612e73565b6001600160601b0381168114612bde575f80fd5b5f60208284031215612f51575f80fd5b813561260081612f2d565b5f8060408385031215612f6d575f80fd5b8235612f7881612f2d565b91506020830135612f8881612f2d565b809150509250929050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715612fc957612fc9612f93565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612ff757612ff7612f93565b604052919050565b5f6001600160401b0382111561301757613017612f93565b50601f01601f191660200190565b5f82601f830112613034575f80fd5b813561304761304282612fff565b612fcf565b81815284602083860101111561305b575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215613087575f80fd5b81356001600160401b0381111561309c575f80fd5b61168984828501613025565b6001600160a01b0381168114612bde575f80fd5b5f80604083850312156130cd575f80fd5b82356130d8816130a8565b915060208301356001600160401b038111156130f2575f80fd5b6130fe85828601613025565b9150509250929050565b5f60208284031215613118575f80fd5b8135612600816130a8565b803564ffffffffff81168114613137575f80fd5b919050565b5f805f6060848603121561314e575f80fd5b833561315981612f2d565b925061316760208501613123565b929592945050506040919091013590565b5f805f6060848603121561318a575f80fd5b833561319581612f2d565b925060208401356131a5816130a8565b915060408401356131b581612f2d565b809150509250925092565b5f80604083850312156131d1575f80fd5b82356131dc81612f2d565b946020939093013593505050565b5f80604083850312156131fb575f80fd5b823561320681612f2d565b915061321460208401613123565b90509250929050565b5f6020828403121561322d575f80fd5b815162ffffff81168114612600575f80fd5b805161313781612f2d565b5f6020828403121561325a575f80fd5b815161260081612f2d565b600181811c9082168061327957607f821691505b60208210810361329757634e487b7160e01b5f52602260045260245ffd5b50919050565b8051613137816130a8565b5f602082840312156132b8575f80fd5b8151612600816130a8565b6001600160601b0394851681526001600160a01b039390931660208401529083166040830152909116606082015260800190565b6001600160401b0381168114612bde575f80fd5b5f6020828403121561331b575f80fd5b8151612600816132f7565b6001600160601b039290921682526001600160a01b0316602082015260400190565b80518015158114613137575f80fd5b5f60208284031215613367575f80fd5b61260082613348565b60ff81168114612bde575f80fd5b805161313781613370565b5f60208284031215613399575f80fd5b815161260081613370565b5f80604083850312156133b5575f80fd5b82516133c081612f2d565b6020840151909250612f8881612f2d565b5f80858511156133df575f80fd5b838611156133eb575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015611c8e576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f805f6060848603121561347f575f80fd5b835161348a816130a8565b602085015190935061349b816130a8565b60408501519092506131b5816130a8565b5f82518060208501845e5f920191825250919050565b5f80604083850312156134d3575f80fd5b6134dc83613348565b9150602083015163ffffffff81168114612f88575f80fd5b5f82601f830112613503575f80fd5b815161351161304282612fff565b818152846020838601011115613525575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215613551575f80fd5b81516001600160401b03811115613566575f80fd5b820160e08185031215613577575f80fd5b61357f612fa7565b6135888261323f565b81526135966020830161323f565b60208201526135a76040830161337e565b60408201526135b860608301613348565b60608201526135c96080830161329d565b60808201526135da60a0830161329d565b60a082015260c08201516001600160401b038111156135f7575f80fd5b613603868285016134f4565b60c083015250949350505050565b601f82111561180057805f5260205f20601f840160051c810160208510156136365750805b601f840160051c820191505b818110156111da575f8155600101613642565b81516001600160401b0381111561366e5761366e612f93565b6136828161367c8454613265565b84613611565b6020601f8211600181146136b4575f831561369d5750848201515b5f19600385901b1c1916600184901b1784556111da565b5f84815260208120601f198516915b828110156136e357878501518255602094850194600190920191016136c3565b508482101561370057868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a006548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa300f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212202664c06e1e6a47088688b15d1dee52c499069132788aedbd7b7fa92cdca593c264736f6c634300081a0033",
1210
+ "bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b612ee0806100d65f395ff3fe608060405234801561000f575f80fd5b50600436106101f2575f3560e01c806375cd310511610114578063ada9652e116100a9578063cb91455011610079578063cb91455014610488578063db1e36e71461049b578063dec3bdde146104ae578063f11bcbe7146104c1578063f71c4cef146104c9575f80fd5b8063ada9652e14610452578063b68d180914610466578063bf7e214f1461046d578063c26efb0514610475575f80fd5b8063893d20e8116100e4578063893d20e8146103ef5780638cf81e46146103f75780638fb360371461041e578063943bd1971461043f575f80fd5b806375cd3105146103a757806376b707b7146103ba5780637a9e5e4b146103d45780637b1391a6146103e7575f80fd5b80633e0dbe801161018a5780634bae314b1161015a5780634bae314b146103465780635ab1bd5314610359578063644c45e01461036a5780636c741e7814610387575f80fd5b80633e0dbe80146102ed578063419197fe1461030057806343d752d31461031357806349bb9e4b14610333575f80fd5b80631eff4b22116101c55780631eff4b221461028857806321ece657146102bd57806322f3e2d4146102d0578063329d6e74146102d8575f80fd5b806301ffc9a7146101f65780630d8e6e2c146102375780630fec111c14610253578063138461e014610268575b5f80fd5b61022261020436600461256e565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023f6104dc565b60405162ffffff909116815260200161022e565b61025b610563565b60405161022e91906125ca565b61027061071d565b6040516001600160601b03909116815260200161022e565b6102af7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161022e565b6102706102cb366004612672565b610727565b61022261088c565b6102eb6102e636600461278d565b610903565b005b6102706102fb3660046127d2565b610a4d565b6102eb61030e3660046127fe565b610c31565b61031b610cd3565b6040516001600160a01b03909116815260200161022e565b6102eb61034136600461281a565b610cee565b6102eb610354366004612672565b610dea565b6001546001600160a01b031661031b565b5f80516020612e4b833981519152546001600160601b0316610270565b61038f610e48565b6040516001600160401b03909116815260200161022e565b6102eb6103b536600461287f565b610ed4565b6103c2610fbc565b60405160ff909116815260200161022e565b6102eb6103e23660046128c5565b611024565b61031b6110aa565b61031b6110c5565b6102af7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa30081565b6104266111f6565b6040516001600160e01b0319909116815260200161022e565b6102eb61044d3660046128e0565b61122b565b6102af5f80516020612e4b83398151915281565b60036103c2565b61031b611239565b6102eb6104833660046127d2565b611254565b6102eb6104963660046127d2565b6112b2565b6102eb6104a936600461291d565b61132c565b6102706104bc3660046128e0565b61138f565b61031b6114f2565b6102eb6104d73660046127d2565b61150d565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af415801561053a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061055e9190612950565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561060f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610633919061297d565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161067b6110c5565b6001600160a01b0316815260200182600101805461069890612998565b80601f01602080910402602001604051908101604052809291908181526020018280546106c490612998565b801561070f5780601f106106e65761010080835404028352916020019161070f565b820191905f5260205f20905b8154815290600101906020018083116106f257829003601f168201915b505050505081525091505090565b5f61055e30611587565b5f610734335b5f366117dd565b61073f83600a6118d3565b5f610748611a07565b90505f61075d6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03871660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156107aa573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107ce91906129db565b600183015460405163ec0407d960e01b81529192506001600160a01b03169063ec0407d990610805908890889086906004016129f6565b6020604051808303815f875af1158015610821573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610845919061297d565b92507f1cbf8b37af4df8c27db081983bda17400796238db4d1edf44edacf559b3a25d78582868660405161087c9493929190612a22565b60405180910390a1505092915050565b5f610895611239565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa1580156108d9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108fd9190612a65565b15905090565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c6109256104dc565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610963573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109879190612a92565b5f80516020612e8b8339815191528054600160401b900460ff16806109b9575080546001600160401b03808416911610155b156109d75760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610a0183611a2b565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b5f610a573361072d565b610a5f611a07565b600101546001600160a01b03163314610a9257604051637dbf3cff60e11b81523360048201526024015b60405180910390fd5b5f610a9b611a07565b80546040805160e0810180835263bc1b392d60e01b905290519293506001600160a01b0390911691638105cc7f9190819073__$94a2c899be079b00d952d0d84fffaa5c34$__9063bc1b392d9060e4808501916020918187030181865af4158015610b08573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b2c919061297d565b6001600160601b03168152602001876001600160601b03168152602001610b51601e90565b60ff1681526020015f151581526020015f6001600160a01b03168152602001866001600160a01b0316815260200160405180602001604052805f8152508152506040518263ffffffff1660e01b8152600401610bad91906125ca565b6020604051808303815f875af1158015610bc9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bed919061297d565b91507f96325e799dd5dfa602546e55b37c9efdf3ff38c000bd677d4e75541033eef442828585604051610c22939291906129f6565b60405180910390a15092915050565b610c39611a07565b600101546001600160a01b03163314610c6757604051637dbf3cff60e11b8152336004820152602401610a89565b610c6f611a07565b6003015460405163ea0b3c7360e01b81526001600160a01b039091169063ea0b3c7390610ca29085908590600401612aad565b5f604051808303815f87803b158015610cb9575f80fd5b505af1158015610ccb573d5f803e3d5ffd5b505050505050565b5f610cdc611a07565b600301546001600160a01b0316919050565b5f80516020612e8b8339815191528054600160401b810460ff1615906001600160401b03165f81158015610d1f5750825b90505f826001600160401b03166001148015610d3a5750303b155b905081158015610d48575080155b15610d665760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610d9057845460ff60401b1916600160401b1785555b610d9a8787611a4c565b8315610de157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610df33361072d565b610dfe82600a6118d3565b610e06611a07565b60010154604051631b4e1ff960e21b81526001600160601b038085166004830152831660248201526001600160a01b0390911690636d387fe490604401610ca2565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63645ceefe6003610e6d610fbc565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610eb0573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061055e9190612a92565b610edd3361072d565b46610ee6611a07565b600101546001600160a01b03166344dcf73085600a6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff16602482015264ffffffffff861660448201526001600160a01b03851660648201526084015f604051808303815f87803b158015610f5d575f80fd5b505af1158015610f6f573d5f803e3d5ffd5b5050604080516001600160601b0388168152602081018590527f471a2845289928aa76c379fe01dc0310ebf5000e7a977935811e173bdda224bd935001905060405180910390a150505050565b5f610fc5611239565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611000573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061055e9190612ae8565b3361102d611239565b6001600160a01b0316816001600160a01b0316146110685760405162d1953b60e31b81526001600160a01b0382166004820152602401610a89565b816001600160a01b03163b5f0361109d576040516361798f2f60e11b81526001600160a01b0383166004820152602401610a89565b6110a682611cc9565b5050565b5f6110b3611a07565b600101546001600160a01b0316919050565b5f805f80516020612e4b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611131573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111559190612a65565b156111e0576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156111b6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111da91906129db565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020612e6b83398151915280545f9190600160a01b900460ff1661121d575f6111da565b638fb3603760e01b91505090565b6112343361072d565b505050565b5f80516020612e6b833981519152546001600160a01b031690565b61125d3361072d565b61126882600a6118d3565b611270611a07565b60010154604051630345861d60e01b81526001600160601b03841660048201526001600160a01b03838116602483015290911690630345861d90604401610ca2565b6112bb3361072d565b6112c3611a07565b600101546001600160a01b031633146112f157604051637dbf3cff60e11b8152336004820152602401610a89565b6112f9611a07565b600301546040516333f6af9b60e11b81526001600160a01b03909116906367ed5f3690610ca29084908690600401612aad565b6113353361072d565b61134082600a6118d3565b611348611a07565b60010154604051635ecf260f60e01b81526001600160601b038416600482015264ffffffffff831660248201526001600160a01b0390911690635ecf260f90604401610ca2565b5f6113993361072d565b6113a484600a6118d3565b5f6113ad611a07565b90505f6113c26001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03881660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561140f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061143391906129db565b600183015460405163d43a262360e01b81529192506001600160a01b03169063d43a26239061146a908990889086906004016129f6565b6020604051808303815f875af1158015611486573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114aa919061297d565b92507fcf86366087b008a90b57f4e7b955b94599f589d7267649942abfd34305fe5b2f868686866040516114e19493929190612a22565b60405180910390a150509392505050565b5f6114fb611a07565b600201546001600160a01b0316919050565b6115163361072d565b61151e611a07565b600101546001600160a01b0316331461154c57604051637dbf3cff60e11b8152336004820152602401610a89565b611554611a07565b60030154604051630f3f86bd60e31b81526001600160a01b03909116906379fc35e890610ca29084908690600401612aad565b5f805f80516020612e4b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156115f3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116179190612a65565b156116435780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610a89565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611695573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116b99190612a65565b6116e15760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610a89565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611733573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611757919061297d565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b54906117a36110c5565b604080516001600160601b0390931683526001600160a01b0390911660208301520160405180910390a1546001600160601b031692915050565b5f80516020612e6b8339815191525f806118156117f8611239565b873061180760045f8a8c612b03565b61181091612b2a565b611d29565b9150915081610ccb5763ffffffff8116156118b057825460ff60a01b1916600160a01b178355611843611239565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161187293929190612b62565b5f604051808303815f87803b158015611889575f80fd5b505af115801561189b573d5f803e3d5ffd5b5050845460ff60a01b1916855550610ccb9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610a89565b60405163037c8cb160e51b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015611923573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119479190612a65565b806119d557506001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa1580156119af573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119d39190612a65565b155b156110a65760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610a89565b7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa30090565b611a33611e31565b60405163502ec37160e01b815260040160405180910390fd5b5f80516020612e8b8339815191528054600160401b810460ff1615906001600160401b03165f81158015611a7d5750825b90505f826001600160401b03166001148015611a985750303b155b905081158015611aa6575080155b15611ac45760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611aee57845460ff60401b1916600160401b1785555b5f805f88806020019051810190611b059190612ba1565b925092509250611b1683838c611e69565b5f611b1f611a07565b9050611b2b6002611f06565b81546001600160a01b0319166001600160a01b0391909116178155611b4f82611f9d565b6001820180546001600160a01b0319166001600160a01b03929092169182179055604080516321df0da760e01b815290516321df0da7916004808201926020929091908290030181865afa158015611ba9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bcd91906129db565b6002820180546001600160a01b0319166001600160a01b039283161790556001820154604080516343d752d360e01b8152905191909216916343d752d39160048083019260209291908290030181865afa158015611c2d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c5191906129db565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055611c8363c6c96fe160e01b61220a565b505050508315610de157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610dd8565b5f80516020612e6b83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611d979190612be0565b5f60405180830381855afa9150503d805f8114611dcf576040519150601f19603f3d011682016040523d82523d5f602084013e611dd4565b606091505b50915091508115611e26576040815110611e065780806020019051810190611dfc9190612bf6565b9094509250611e26565b6020815110611e265780806020019051810190611e239190612a65565b93505b505094509492505050565b5f80516020612e8b83398151915254600160401b900460ff16611e6757604051631afcd79f60e31b815260040160405180910390fd5b565b611e71611e31565b611e7961223d565b611ef68383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611eba573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ede919061297d565b60085f8660405180602001604052805f81525061224d565b61123463daf9067160e01b61220a565b5f611f196001546001600160a01b031690565b6001600160a01b031663d39e604383611f30610fbc565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611f73573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f9791906129db565b92915050565b5f80611fb16001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b0385811660048301529190911690638b09a5f0906024015f60405180830381865afa158015611ff6573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261201d9190810190612c75565b80516040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612079573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061209d9190612a65565b156120ee576120be81604001516120b2600390565b60ff9081169116141590565b156120e757604051637dbf3cff60e11b81526001600160a01b0384166004820152602401610a89565b5090919050565b6040516301ffc9a760e01b8152632a9e68e360e11b60048201526001600160a01b038416906301ffc9a790602401602060405180830381865afa158015612137573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061215b9190612a65565b61218357604051632bf4d8e560e21b81526001600160a01b0384166004820152602401610a89565b3361218c611a07565b5460405163c4c79d8b60e01b81526001600160a01b03868116600483015283811660248301529091169063c4c79d8b906044015f604051808303815f875af11580156121da573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526122019190810190612c75565b50929392505050565b612212611e31565b61223a816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b612245611e31565b611e67612394565b612255611e31565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af41580156122ab573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122cf9190612a65565b6122f75760405163cf6935e560e01b81526001600160a01b0388166004820152602401610a89565b612300876123c2565b61230a86836123d3565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016123798382612d90565b5061238a634a531f3360e01b61220a565b5050505050505050565b61239c611e31565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b6123ca611e31565b61223a81612449565b6123db611e31565b6123e361245a565b6123ec826124a2565b6001600160a01b0381166124135760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020612e4b83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b612451611e31565b61223a81611cc9565b612462611e31565b611e676301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6124aa611e31565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015612500573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125249190612a65565b61254c5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a89565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b5f6020828403121561257e575f80fd5b81356001600160e01b031981168114612595575f80fd5b9392505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612612608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261265661010084018261259c565b949350505050565b6001600160601b038116811461223a575f80fd5b5f8060408385031215612683575f80fd5b823561268e8161265e565b9150602083013561269e8161265e565b809150509250929050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156126df576126df6126a9565b60405290565b604051601f8201601f191681016001600160401b038111828210171561270d5761270d6126a9565b604052919050565b5f6001600160401b0382111561272d5761272d6126a9565b50601f01601f191660200190565b5f82601f83011261274a575f80fd5b813561275d61275882612715565b6126e5565b818152846020838601011115612771575f80fd5b816020850160208301375f918101602001919091529392505050565b5f6020828403121561279d575f80fd5b81356001600160401b038111156127b2575f80fd5b6126568482850161273b565b6001600160a01b038116811461223a575f80fd5b5f80604083850312156127e3575f80fd5b82356127ee8161265e565b9150602083013561269e816127be565b5f806040838503121561280f575f80fd5b823561268e816127be565b5f806040838503121561282b575f80fd5b8235612836816127be565b915060208301356001600160401b03811115612850575f80fd5b61285c8582860161273b565b9150509250929050565b803564ffffffffff8116811461287a575f80fd5b919050565b5f805f60608486031215612891575f80fd5b833561289c8161265e565b92506128aa60208501612866565b915060408401356128ba816127be565b809150509250925092565b5f602082840312156128d5575f80fd5b8135612595816127be565b5f805f606084860312156128f2575f80fd5b83356128fd8161265e565b9250602084013561290d816127be565b915060408401356128ba8161265e565b5f806040838503121561292e575f80fd5b82356129398161265e565b915061294760208401612866565b90509250929050565b5f60208284031215612960575f80fd5b815162ffffff81168114612595575f80fd5b805161287a8161265e565b5f6020828403121561298d575f80fd5b81516125958161265e565b600181811c908216806129ac57607f821691505b6020821081036129ca57634e487b7160e01b5f52602260045260245ffd5b50919050565b805161287a816127be565b5f602082840312156129eb575f80fd5b8151612595816127be565b6001600160601b0393841681529190921660208201526001600160a01b03909116604082015260600190565b6001600160601b0394851681526001600160a01b039390931660208401529083166040830152909116606082015260800190565b8051801515811461287a575f80fd5b5f60208284031215612a75575f80fd5b61259582612a56565b6001600160401b038116811461223a575f80fd5b5f60208284031215612aa2575f80fd5b815161259581612a7e565b6001600160a01b039290921682526001600160601b0316602082015260400190565b60ff8116811461223a575f80fd5b805161287a81612acf565b5f60208284031215612af8575f80fd5b815161259581612acf565b5f8085851115612b11575f80fd5b83861115612b1d575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612b5b576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f805f60608486031215612bb3575f80fd5b8351612bbe816127be565b6020850151909350612bcf816127be565b60408501519092506128ba816127be565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612c07575f80fd5b612c1083612a56565b9150602083015163ffffffff8116811461269e575f80fd5b5f82601f830112612c37575f80fd5b8151612c4561275882612715565b818152846020838601011115612c59575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215612c85575f80fd5b81516001600160401b03811115612c9a575f80fd5b820160e08185031215612cab575f80fd5b612cb36126bd565b612cbc82612972565b8152612cca60208301612972565b6020820152612cdb60408301612add565b6040820152612cec60608301612a56565b6060820152612cfd608083016129d0565b6080820152612d0e60a083016129d0565b60a082015260c08201516001600160401b03811115612d2b575f80fd5b612d3786828501612c28565b60c083015250949350505050565b601f82111561123457805f5260205f20601f840160051c81016020851015612d6a5750805b601f840160051c820191505b81811015612d89575f8155600101612d76565b5050505050565b81516001600160401b03811115612da957612da96126a9565b612dbd81612db78454612998565b84612d45565b6020601f821160018114612def575f8315612dd85750848201515b5f19600385901b1c1916600184901b178455612d89565b5f84815260208120601f198516915b82811015612e1e5787850151825560209485019460019092019101612dfe565b5084821015612e3b57868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212208c8a80bc093331ce4eeef0568828126ee68036c4e7099137f9fd07011410e38864736f6c634300081a0033",
1211
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101f2575f3560e01c806375cd310511610114578063ada9652e116100a9578063cb91455011610079578063cb91455014610488578063db1e36e71461049b578063dec3bdde146104ae578063f11bcbe7146104c1578063f71c4cef146104c9575f80fd5b8063ada9652e14610452578063b68d180914610466578063bf7e214f1461046d578063c26efb0514610475575f80fd5b8063893d20e8116100e4578063893d20e8146103ef5780638cf81e46146103f75780638fb360371461041e578063943bd1971461043f575f80fd5b806375cd3105146103a757806376b707b7146103ba5780637a9e5e4b146103d45780637b1391a6146103e7575f80fd5b80633e0dbe801161018a5780634bae314b1161015a5780634bae314b146103465780635ab1bd5314610359578063644c45e01461036a5780636c741e7814610387575f80fd5b80633e0dbe80146102ed578063419197fe1461030057806343d752d31461031357806349bb9e4b14610333575f80fd5b80631eff4b22116101c55780631eff4b221461028857806321ece657146102bd57806322f3e2d4146102d0578063329d6e74146102d8575f80fd5b806301ffc9a7146101f65780630d8e6e2c146102375780630fec111c14610253578063138461e014610268575b5f80fd5b61022261020436600461256e565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023f6104dc565b60405162ffffff909116815260200161022e565b61025b610563565b60405161022e91906125ca565b61027061071d565b6040516001600160601b03909116815260200161022e565b6102af7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161022e565b6102706102cb366004612672565b610727565b61022261088c565b6102eb6102e636600461278d565b610903565b005b6102706102fb3660046127d2565b610a4d565b6102eb61030e3660046127fe565b610c31565b61031b610cd3565b6040516001600160a01b03909116815260200161022e565b6102eb61034136600461281a565b610cee565b6102eb610354366004612672565b610dea565b6001546001600160a01b031661031b565b5f80516020612e4b833981519152546001600160601b0316610270565b61038f610e48565b6040516001600160401b03909116815260200161022e565b6102eb6103b536600461287f565b610ed4565b6103c2610fbc565b60405160ff909116815260200161022e565b6102eb6103e23660046128c5565b611024565b61031b6110aa565b61031b6110c5565b6102af7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa30081565b6104266111f6565b6040516001600160e01b0319909116815260200161022e565b6102eb61044d3660046128e0565b61122b565b6102af5f80516020612e4b83398151915281565b60036103c2565b61031b611239565b6102eb6104833660046127d2565b611254565b6102eb6104963660046127d2565b6112b2565b6102eb6104a936600461291d565b61132c565b6102706104bc3660046128e0565b61138f565b61031b6114f2565b6102eb6104d73660046127d2565b61150d565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af415801561053a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061055e9190612950565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561060f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610633919061297d565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161067b6110c5565b6001600160a01b0316815260200182600101805461069890612998565b80601f01602080910402602001604051908101604052809291908181526020018280546106c490612998565b801561070f5780601f106106e65761010080835404028352916020019161070f565b820191905f5260205f20905b8154815290600101906020018083116106f257829003601f168201915b505050505081525091505090565b5f61055e30611587565b5f610734335b5f366117dd565b61073f83600a6118d3565b5f610748611a07565b90505f61075d6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03871660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156107aa573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107ce91906129db565b600183015460405163ec0407d960e01b81529192506001600160a01b03169063ec0407d990610805908890889086906004016129f6565b6020604051808303815f875af1158015610821573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610845919061297d565b92507f1cbf8b37af4df8c27db081983bda17400796238db4d1edf44edacf559b3a25d78582868660405161087c9493929190612a22565b60405180910390a1505092915050565b5f610895611239565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa1580156108d9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108fd9190612a65565b15905090565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c6109256104dc565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610963573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109879190612a92565b5f80516020612e8b8339815191528054600160401b900460ff16806109b9575080546001600160401b03808416911610155b156109d75760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610a0183611a2b565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b5f610a573361072d565b610a5f611a07565b600101546001600160a01b03163314610a9257604051637dbf3cff60e11b81523360048201526024015b60405180910390fd5b5f610a9b611a07565b80546040805160e0810180835263bc1b392d60e01b905290519293506001600160a01b0390911691638105cc7f9190819073__$94a2c899be079b00d952d0d84fffaa5c34$__9063bc1b392d9060e4808501916020918187030181865af4158015610b08573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b2c919061297d565b6001600160601b03168152602001876001600160601b03168152602001610b51601e90565b60ff1681526020015f151581526020015f6001600160a01b03168152602001866001600160a01b0316815260200160405180602001604052805f8152508152506040518263ffffffff1660e01b8152600401610bad91906125ca565b6020604051808303815f875af1158015610bc9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bed919061297d565b91507f96325e799dd5dfa602546e55b37c9efdf3ff38c000bd677d4e75541033eef442828585604051610c22939291906129f6565b60405180910390a15092915050565b610c39611a07565b600101546001600160a01b03163314610c6757604051637dbf3cff60e11b8152336004820152602401610a89565b610c6f611a07565b6003015460405163ea0b3c7360e01b81526001600160a01b039091169063ea0b3c7390610ca29085908590600401612aad565b5f604051808303815f87803b158015610cb9575f80fd5b505af1158015610ccb573d5f803e3d5ffd5b505050505050565b5f610cdc611a07565b600301546001600160a01b0316919050565b5f80516020612e8b8339815191528054600160401b810460ff1615906001600160401b03165f81158015610d1f5750825b90505f826001600160401b03166001148015610d3a5750303b155b905081158015610d48575080155b15610d665760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610d9057845460ff60401b1916600160401b1785555b610d9a8787611a4c565b8315610de157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610df33361072d565b610dfe82600a6118d3565b610e06611a07565b60010154604051631b4e1ff960e21b81526001600160601b038085166004830152831660248201526001600160a01b0390911690636d387fe490604401610ca2565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63645ceefe6003610e6d610fbc565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610eb0573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061055e9190612a92565b610edd3361072d565b46610ee6611a07565b600101546001600160a01b03166344dcf73085600a6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff16602482015264ffffffffff861660448201526001600160a01b03851660648201526084015f604051808303815f87803b158015610f5d575f80fd5b505af1158015610f6f573d5f803e3d5ffd5b5050604080516001600160601b0388168152602081018590527f471a2845289928aa76c379fe01dc0310ebf5000e7a977935811e173bdda224bd935001905060405180910390a150505050565b5f610fc5611239565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611000573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061055e9190612ae8565b3361102d611239565b6001600160a01b0316816001600160a01b0316146110685760405162d1953b60e31b81526001600160a01b0382166004820152602401610a89565b816001600160a01b03163b5f0361109d576040516361798f2f60e11b81526001600160a01b0383166004820152602401610a89565b6110a682611cc9565b5050565b5f6110b3611a07565b600101546001600160a01b0316919050565b5f805f80516020612e4b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611131573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111559190612a65565b156111e0576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156111b6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111da91906129db565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020612e6b83398151915280545f9190600160a01b900460ff1661121d575f6111da565b638fb3603760e01b91505090565b6112343361072d565b505050565b5f80516020612e6b833981519152546001600160a01b031690565b61125d3361072d565b61126882600a6118d3565b611270611a07565b60010154604051630345861d60e01b81526001600160601b03841660048201526001600160a01b03838116602483015290911690630345861d90604401610ca2565b6112bb3361072d565b6112c3611a07565b600101546001600160a01b031633146112f157604051637dbf3cff60e11b8152336004820152602401610a89565b6112f9611a07565b600301546040516333f6af9b60e11b81526001600160a01b03909116906367ed5f3690610ca29084908690600401612aad565b6113353361072d565b61134082600a6118d3565b611348611a07565b60010154604051635ecf260f60e01b81526001600160601b038416600482015264ffffffffff831660248201526001600160a01b0390911690635ecf260f90604401610ca2565b5f6113993361072d565b6113a484600a6118d3565b5f6113ad611a07565b90505f6113c26001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03881660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561140f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061143391906129db565b600183015460405163d43a262360e01b81529192506001600160a01b03169063d43a26239061146a908990889086906004016129f6565b6020604051808303815f875af1158015611486573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114aa919061297d565b92507fcf86366087b008a90b57f4e7b955b94599f589d7267649942abfd34305fe5b2f868686866040516114e19493929190612a22565b60405180910390a150509392505050565b5f6114fb611a07565b600201546001600160a01b0316919050565b6115163361072d565b61151e611a07565b600101546001600160a01b0316331461154c57604051637dbf3cff60e11b8152336004820152602401610a89565b611554611a07565b60030154604051630f3f86bd60e31b81526001600160a01b03909116906379fc35e890610ca29084908690600401612aad565b5f805f80516020612e4b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156115f3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116179190612a65565b156116435780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610a89565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611695573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116b99190612a65565b6116e15760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610a89565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611733573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611757919061297d565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b54906117a36110c5565b604080516001600160601b0390931683526001600160a01b0390911660208301520160405180910390a1546001600160601b031692915050565b5f80516020612e6b8339815191525f806118156117f8611239565b873061180760045f8a8c612b03565b61181091612b2a565b611d29565b9150915081610ccb5763ffffffff8116156118b057825460ff60a01b1916600160a01b178355611843611239565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161187293929190612b62565b5f604051808303815f87803b158015611889575f80fd5b505af115801561189b573d5f803e3d5ffd5b5050845460ff60a01b1916855550610ccb9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610a89565b60405163037c8cb160e51b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015611923573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119479190612a65565b806119d557506001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa1580156119af573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119d39190612a65565b155b156110a65760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610a89565b7f6548005c3f4340f82f348c576c0ff69f7f529cadd5ad41f96aae61abceeaa30090565b611a33611e31565b60405163502ec37160e01b815260040160405180910390fd5b5f80516020612e8b8339815191528054600160401b810460ff1615906001600160401b03165f81158015611a7d5750825b90505f826001600160401b03166001148015611a985750303b155b905081158015611aa6575080155b15611ac45760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611aee57845460ff60401b1916600160401b1785555b5f805f88806020019051810190611b059190612ba1565b925092509250611b1683838c611e69565b5f611b1f611a07565b9050611b2b6002611f06565b81546001600160a01b0319166001600160a01b0391909116178155611b4f82611f9d565b6001820180546001600160a01b0319166001600160a01b03929092169182179055604080516321df0da760e01b815290516321df0da7916004808201926020929091908290030181865afa158015611ba9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bcd91906129db565b6002820180546001600160a01b0319166001600160a01b039283161790556001820154604080516343d752d360e01b8152905191909216916343d752d39160048083019260209291908290030181865afa158015611c2d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c5191906129db565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055611c8363c6c96fe160e01b61220a565b505050508315610de157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610dd8565b5f80516020612e6b83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611d979190612be0565b5f60405180830381855afa9150503d805f8114611dcf576040519150601f19603f3d011682016040523d82523d5f602084013e611dd4565b606091505b50915091508115611e26576040815110611e065780806020019051810190611dfc9190612bf6565b9094509250611e26565b6020815110611e265780806020019051810190611e239190612a65565b93505b505094509492505050565b5f80516020612e8b83398151915254600160401b900460ff16611e6757604051631afcd79f60e31b815260040160405180910390fd5b565b611e71611e31565b611e7961223d565b611ef68383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611eba573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ede919061297d565b60085f8660405180602001604052805f81525061224d565b61123463daf9067160e01b61220a565b5f611f196001546001600160a01b031690565b6001600160a01b031663d39e604383611f30610fbc565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611f73573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f9791906129db565b92915050565b5f80611fb16001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b0385811660048301529190911690638b09a5f0906024015f60405180830381865afa158015611ff6573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261201d9190810190612c75565b80516040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612079573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061209d9190612a65565b156120ee576120be81604001516120b2600390565b60ff9081169116141590565b156120e757604051637dbf3cff60e11b81526001600160a01b0384166004820152602401610a89565b5090919050565b6040516301ffc9a760e01b8152632a9e68e360e11b60048201526001600160a01b038416906301ffc9a790602401602060405180830381865afa158015612137573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061215b9190612a65565b61218357604051632bf4d8e560e21b81526001600160a01b0384166004820152602401610a89565b3361218c611a07565b5460405163c4c79d8b60e01b81526001600160a01b03868116600483015283811660248301529091169063c4c79d8b906044015f604051808303815f875af11580156121da573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526122019190810190612c75565b50929392505050565b612212611e31565b61223a816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b612245611e31565b611e67612394565b612255611e31565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af41580156122ab573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122cf9190612a65565b6122f75760405163cf6935e560e01b81526001600160a01b0388166004820152602401610a89565b612300876123c2565b61230a86836123d3565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016123798382612d90565b5061238a634a531f3360e01b61220a565b5050505050505050565b61239c611e31565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b6123ca611e31565b61223a81612449565b6123db611e31565b6123e361245a565b6123ec826124a2565b6001600160a01b0381166124135760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020612e4b83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b612451611e31565b61223a81611cc9565b612462611e31565b611e676301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6124aa611e31565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015612500573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125249190612a65565b61254c5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a89565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b5f6020828403121561257e575f80fd5b81356001600160e01b031981168114612595575f80fd5b9392505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612612608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261265661010084018261259c565b949350505050565b6001600160601b038116811461223a575f80fd5b5f8060408385031215612683575f80fd5b823561268e8161265e565b9150602083013561269e8161265e565b809150509250929050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156126df576126df6126a9565b60405290565b604051601f8201601f191681016001600160401b038111828210171561270d5761270d6126a9565b604052919050565b5f6001600160401b0382111561272d5761272d6126a9565b50601f01601f191660200190565b5f82601f83011261274a575f80fd5b813561275d61275882612715565b6126e5565b818152846020838601011115612771575f80fd5b816020850160208301375f918101602001919091529392505050565b5f6020828403121561279d575f80fd5b81356001600160401b038111156127b2575f80fd5b6126568482850161273b565b6001600160a01b038116811461223a575f80fd5b5f80604083850312156127e3575f80fd5b82356127ee8161265e565b9150602083013561269e816127be565b5f806040838503121561280f575f80fd5b823561268e816127be565b5f806040838503121561282b575f80fd5b8235612836816127be565b915060208301356001600160401b03811115612850575f80fd5b61285c8582860161273b565b9150509250929050565b803564ffffffffff8116811461287a575f80fd5b919050565b5f805f60608486031215612891575f80fd5b833561289c8161265e565b92506128aa60208501612866565b915060408401356128ba816127be565b809150509250925092565b5f602082840312156128d5575f80fd5b8135612595816127be565b5f805f606084860312156128f2575f80fd5b83356128fd8161265e565b9250602084013561290d816127be565b915060408401356128ba8161265e565b5f806040838503121561292e575f80fd5b82356129398161265e565b915061294760208401612866565b90509250929050565b5f60208284031215612960575f80fd5b815162ffffff81168114612595575f80fd5b805161287a8161265e565b5f6020828403121561298d575f80fd5b81516125958161265e565b600181811c908216806129ac57607f821691505b6020821081036129ca57634e487b7160e01b5f52602260045260245ffd5b50919050565b805161287a816127be565b5f602082840312156129eb575f80fd5b8151612595816127be565b6001600160601b0393841681529190921660208201526001600160a01b03909116604082015260600190565b6001600160601b0394851681526001600160a01b039390931660208401529083166040830152909116606082015260800190565b8051801515811461287a575f80fd5b5f60208284031215612a75575f80fd5b61259582612a56565b6001600160401b038116811461223a575f80fd5b5f60208284031215612aa2575f80fd5b815161259581612a7e565b6001600160a01b039290921682526001600160601b0316602082015260400190565b60ff8116811461223a575f80fd5b805161287a81612acf565b5f60208284031215612af8575f80fd5b815161259581612acf565b5f8085851115612b11575f80fd5b83861115612b1d575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612b5b576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f805f60608486031215612bb3575f80fd5b8351612bbe816127be565b6020850151909350612bcf816127be565b60408501519092506128ba816127be565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612c07575f80fd5b612c1083612a56565b9150602083015163ffffffff8116811461269e575f80fd5b5f82601f830112612c37575f80fd5b8151612c4561275882612715565b818152846020838601011115612c59575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215612c85575f80fd5b81516001600160401b03811115612c9a575f80fd5b820160e08185031215612cab575f80fd5b612cb36126bd565b612cbc82612972565b8152612cca60208301612972565b6020820152612cdb60408301612add565b6040820152612cec60608301612a56565b6060820152612cfd608083016129d0565b6080820152612d0e60a083016129d0565b60a082015260c08201516001600160401b03811115612d2b575f80fd5b612d3786828501612c28565b60c083015250949350505050565b601f82111561123457805f5260205f20601f840160051c81016020851015612d6a5750805b601f840160051c820191505b81811015612d89575f8155600101612d76565b5050505050565b81516001600160401b03811115612da957612da96126a9565b612dbd81612db78454612998565b84612d45565b6020601f821160018114612def575f8315612dd85750848201515b5f19600385901b1c1916600184901b178455612d89565b5f84815260208120601f198516915b82811015612e1e5787850151825560209485019460019092019101612dfe565b5084821015612e3b57868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212208c8a80bc093331ce4eeef0568828126ee68036c4e7099137f9fd07011410e38864736f6c634300081a0033",
1121
1212
  "linkReferences": {
1122
1213
  "contracts/shared/ContractLib.sol": {
1123
1214
  "ContractLib": [
1124
1215
  {
1125
1216
  "length": 20,
1126
- "start": 11831
1127
- }
1128
- ]
1129
- },
1130
- "contracts/type/Amount.sol": {
1131
- "AmountLib": [
1132
- {
1133
- "length": 20,
1134
- "start": 3840
1217
+ "start": 9033
1135
1218
  },
1136
1219
  {
1137
1220
  "length": 20,
1138
- "start": 9850
1221
+ "start": 9630
1139
1222
  }
1140
1223
  ]
1141
1224
  },
@@ -1143,23 +1226,31 @@
1143
1226
  "NftIdLib": [
1144
1227
  {
1145
1228
  "length": 20,
1146
- "start": 1857
1229
+ "start": 1696
1147
1230
  },
1148
1231
  {
1149
1232
  "length": 20,
1150
- "start": 4862
1233
+ "start": 2980
1151
1234
  },
1152
1235
  {
1153
1236
  "length": 20,
1154
- "start": 6043
1237
+ "start": 4559
1155
1238
  },
1156
1239
  {
1157
1240
  "length": 20,
1158
- "start": 8012
1241
+ "start": 5777
1159
1242
  },
1160
1243
  {
1161
1244
  "length": 20,
1162
- "start": 10904
1245
+ "start": 8471
1246
+ }
1247
+ ]
1248
+ },
1249
+ "contracts/type/ObjectType.sol": {
1250
+ "ObjectTypeLib": [
1251
+ {
1252
+ "length": 20,
1253
+ "start": 6593
1163
1254
  }
1164
1255
  ]
1165
1256
  },
@@ -1167,7 +1258,7 @@
1167
1258
  "RoleIdLib": [
1168
1259
  {
1169
1260
  "length": 20,
1170
- "start": 4127
1261
+ "start": 3873
1171
1262
  }
1172
1263
  ]
1173
1264
  },
@@ -1175,17 +1266,11 @@
1175
1266
  "VersionLib": [
1176
1267
  {
1177
1268
  "length": 20,
1178
- "start": 1653
1269
+ "start": 1496
1179
1270
  },
1180
1271
  {
1181
1272
  "length": 20,
1182
- "start": 2898
1183
- }
1184
- ],
1185
- "VersionPartLib": [
1186
- {
1187
- "length": 20,
1188
- "start": 5498
1273
+ "start": 2523
1189
1274
  }
1190
1275
  ]
1191
1276
  }
@@ -1195,19 +1280,11 @@
1195
1280
  "ContractLib": [
1196
1281
  {
1197
1282
  "length": 20,
1198
- "start": 11617
1199
- }
1200
- ]
1201
- },
1202
- "contracts/type/Amount.sol": {
1203
- "AmountLib": [
1204
- {
1205
- "length": 20,
1206
- "start": 3626
1283
+ "start": 8819
1207
1284
  },
1208
1285
  {
1209
1286
  "length": 20,
1210
- "start": 9636
1287
+ "start": 9416
1211
1288
  }
1212
1289
  ]
1213
1290
  },
@@ -1215,23 +1292,31 @@
1215
1292
  "NftIdLib": [
1216
1293
  {
1217
1294
  "length": 20,
1218
- "start": 1643
1295
+ "start": 1482
1219
1296
  },
1220
1297
  {
1221
1298
  "length": 20,
1222
- "start": 4648
1299
+ "start": 2766
1223
1300
  },
1224
1301
  {
1225
1302
  "length": 20,
1226
- "start": 5829
1303
+ "start": 4345
1227
1304
  },
1228
1305
  {
1229
1306
  "length": 20,
1230
- "start": 7798
1307
+ "start": 5563
1231
1308
  },
1232
1309
  {
1233
1310
  "length": 20,
1234
- "start": 10690
1311
+ "start": 8257
1312
+ }
1313
+ ]
1314
+ },
1315
+ "contracts/type/ObjectType.sol": {
1316
+ "ObjectTypeLib": [
1317
+ {
1318
+ "length": 20,
1319
+ "start": 6379
1235
1320
  }
1236
1321
  ]
1237
1322
  },
@@ -1239,7 +1324,7 @@
1239
1324
  "RoleIdLib": [
1240
1325
  {
1241
1326
  "length": 20,
1242
- "start": 3913
1327
+ "start": 3659
1243
1328
  }
1244
1329
  ]
1245
1330
  },
@@ -1247,17 +1332,11 @@
1247
1332
  "VersionLib": [
1248
1333
  {
1249
1334
  "length": 20,
1250
- "start": 1439
1335
+ "start": 1282
1251
1336
  },
1252
1337
  {
1253
1338
  "length": 20,
1254
- "start": 2684
1255
- }
1256
- ],
1257
- "VersionPartLib": [
1258
- {
1259
- "length": 20,
1260
- "start": 5284
1339
+ "start": 2309
1261
1340
  }
1262
1341
  ]
1263
1342
  }