@etherisc/gif-next 0.0.2-f0d86c2-077 → 0.0.2-f0ebcc7-306

Sign up to get free protection for your applications and to get access to all the features.
Files changed (789) hide show
  1. package/README.md +320 -27
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1007 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +744 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +791 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1494 -0
  10. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +4 -0
  11. package/artifacts/contracts/{shared/IOwnable.sol/IOwnable.json → authorization/AccessAdmin.sol/IAccessManagedChecker.json} +4 -4
  12. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +673 -0
  14. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1403 -0
  16. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  17. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +615 -0
  18. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  19. package/artifacts/contracts/{instance/module/access → authorization}/IAccess.sol/IAccess.json +1 -1
  20. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1224 -0
  22. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +382 -0
  24. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +167 -0
  26. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  27. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +253 -0
  28. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1209 -0
  30. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +644 -0
  32. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +930 -0
  34. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1580 -0
  36. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  37. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +868 -0
  38. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  39. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +829 -0
  40. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  41. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +1071 -0
  42. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  44. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1445 -0
  46. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +644 -0
  48. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2002 -0
  50. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  51. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +644 -0
  52. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  53. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1388 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +644 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1152 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1612 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +644 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2389 -0
  66. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  67. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +644 -0
  68. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  69. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  70. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  71. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +373 -1390
  72. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  73. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +808 -0
  74. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  75. package/artifacts/contracts/instance/Instance.sol/Instance.json +454 -1613
  76. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  77. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2036 -0
  78. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  79. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +716 -0
  80. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  81. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +2458 -0
  82. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  83. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1054 -0
  84. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  85. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +734 -0
  86. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  87. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3728 -0
  88. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  89. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +853 -0
  90. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  91. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  92. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  93. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +137 -0
  94. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  96. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  98. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  99. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  100. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  101. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  102. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  103. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  104. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  105. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/IComponents.sol/IComponents.json} +2 -2
  106. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  107. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.json +10 -0
  108. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  109. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  110. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  111. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  112. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  113. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  114. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  115. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +938 -0
  116. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  117. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +632 -0
  118. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  119. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  120. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  121. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +753 -0
  122. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  123. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +733 -0
  124. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  125. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +854 -0
  126. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  127. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +997 -0
  128. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  129. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +764 -0
  130. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  131. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1231 -0
  132. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  133. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +644 -0
  134. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  135. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1261 -0
  136. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  137. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +800 -0
  138. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  139. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +880 -0
  140. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  141. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +886 -0
  142. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  143. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1230 -0
  144. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  145. package/artifacts/contracts/pool/Pool.sol/Pool.json +1006 -0
  146. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  147. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +456 -0
  148. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  149. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1574 -0
  150. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  151. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +808 -0
  152. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  153. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +879 -0
  154. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  155. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +740 -0
  156. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  157. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1140 -0
  158. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  159. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +644 -0
  160. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  161. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1496 -0
  162. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  163. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +848 -0
  164. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  165. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +639 -0
  166. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  167. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1064 -0
  168. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  169. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +981 -0
  170. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  171. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +623 -0
  172. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  173. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +997 -0
  174. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  175. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IRiskService.sol/IRiskService.json} +233 -230
  176. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  177. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1333 -0
  178. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  179. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +293 -0
  180. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  181. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +808 -0
  182. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  183. package/artifacts/contracts/product/PricingService.sol/PricingService.json +911 -0
  184. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  185. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +764 -0
  186. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  187. package/artifacts/contracts/product/Product.sol/Product.json +1098 -0
  188. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  189. package/artifacts/contracts/product/RiskService.sol/RiskService.json +688 -0
  190. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  191. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +736 -0
  192. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  193. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +242 -12
  194. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  195. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +1024 -119
  196. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  197. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +1043 -0
  198. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  199. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  200. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  201. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +39 -0
  202. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  203. package/artifacts/contracts/registry/Registry.sol/Registry.json +1450 -219
  204. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  205. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2018 -0
  206. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  207. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +878 -0
  208. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  209. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1269 -0
  210. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  211. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +735 -0
  212. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  213. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +1954 -0
  214. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  215. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  216. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  217. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1337 -0
  218. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  219. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +272 -0
  220. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  221. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +661 -0
  222. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  223. package/artifacts/contracts/shared/Component.sol/Component.json +686 -0
  224. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  225. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1556 -0
  226. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  227. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +816 -0
  228. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  229. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +485 -0
  230. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  231. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +597 -0
  232. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  233. package/artifacts/contracts/{instance/IInstanceLinked.sol/IInstanceLinked.json → shared/ContractLib.sol/IInstanceAdminHelper.json} +5 -5
  234. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  235. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  236. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  237. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  238. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  239. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +611 -0
  240. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  241. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1196 -0
  242. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  243. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +688 -0
  244. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  245. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +140 -141
  246. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  247. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  248. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  249. package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/INftOwnable.sol/INftOwnable.json} +47 -74
  250. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  251. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
  252. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  253. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +229 -21
  254. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  255. package/artifacts/contracts/{registry → shared}/IRegistryLinked.sol/IRegistryLinked.json +13 -2
  256. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  257. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → shared/IService.sol/IService.json} +198 -163
  258. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  259. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  260. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  261. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +776 -0
  262. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  263. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  264. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  265. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  266. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  267. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  268. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  269. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +209 -0
  270. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  271. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
  272. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  273. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +275 -18
  274. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  275. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
  276. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  277. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → shared/Service.sol/Service.json} +248 -171
  278. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  279. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +723 -0
  280. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  281. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  282. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  283. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  284. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  285. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1491 -0
  286. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  287. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1167 -0
  288. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  289. package/artifacts/contracts/staking/Staking.sol/Staking.json +1888 -0
  290. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  291. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +469 -0
  292. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  294. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  295. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +792 -0
  296. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  297. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +560 -0
  298. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  299. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1380 -0
  300. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  301. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +736 -0
  302. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  303. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2297 -0
  304. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  305. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +617 -0
  306. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  307. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  308. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  309. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  310. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  311. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  312. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  313. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  314. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  315. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  316. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  317. package/artifacts/contracts/type/Fee.sol/FeeLib.json +373 -0
  318. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  319. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  320. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  321. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  322. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  323. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  324. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  325. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  326. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  327. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +241 -0
  328. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  329. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  330. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  331. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  332. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  333. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  334. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  335. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +204 -0
  336. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  337. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +433 -0
  338. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  339. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +246 -0
  340. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  341. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  342. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  343. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  344. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  345. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  346. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  347. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  348. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  349. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  350. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  351. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +548 -0
  352. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  353. package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
  354. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  355. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +167 -0
  356. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  357. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +55 -0
  358. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  359. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +618 -0
  360. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  361. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  362. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  363. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +78 -0
  364. package/contracts/accounting/AccountingService.sol +262 -0
  365. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  366. package/contracts/accounting/IAccountingService.sol +45 -0
  367. package/contracts/authorization/AccessAdmin.sol +704 -0
  368. package/contracts/authorization/AccessAdminLib.sol +183 -0
  369. package/contracts/authorization/AccessManagerCloneable.sol +158 -0
  370. package/contracts/authorization/Authorization.sol +365 -0
  371. package/contracts/authorization/IAccess.sol +49 -0
  372. package/contracts/authorization/IAccessAdmin.sol +170 -0
  373. package/contracts/authorization/IAuthorization.sol +80 -0
  374. package/contracts/authorization/IServiceAuthorization.sol +40 -0
  375. package/contracts/authorization/ServiceAuthorization.sol +106 -0
  376. package/contracts/distribution/BasicDistribution.sol +141 -0
  377. package/contracts/distribution/BasicDistributionAuthorization.sol +60 -0
  378. package/contracts/distribution/Distribution.sol +244 -0
  379. package/contracts/distribution/DistributionService.sol +385 -0
  380. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  381. package/contracts/distribution/IDistributionComponent.sol +43 -0
  382. package/contracts/distribution/IDistributionService.sol +103 -0
  383. package/contracts/examples/fire/DamageLevel.sol +59 -0
  384. package/contracts/examples/fire/FirePool.sol +86 -0
  385. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  386. package/contracts/examples/fire/FireProduct.sol +433 -0
  387. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  388. package/contracts/examples/fire/FireUSD.sol +26 -0
  389. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  390. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  391. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  392. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  393. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  394. package/contracts/examples/unpermissioned/SimpleProduct.sol +373 -0
  395. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  396. package/contracts/instance/BundleSet.sol +130 -0
  397. package/contracts/instance/IInstance.sol +99 -45
  398. package/contracts/instance/IInstanceService.sol +88 -0
  399. package/contracts/instance/Instance.sol +291 -55
  400. package/contracts/instance/InstanceAdmin.sol +450 -0
  401. package/contracts/instance/InstanceAuthorizationV3.sol +235 -0
  402. package/contracts/instance/InstanceReader.sol +650 -0
  403. package/contracts/instance/InstanceService.sol +459 -0
  404. package/contracts/instance/InstanceServiceManager.sol +39 -0
  405. package/contracts/instance/InstanceStore.sol +298 -0
  406. package/contracts/instance/RiskSet.sol +118 -0
  407. package/contracts/instance/base/BalanceStore.sol +123 -0
  408. package/contracts/instance/base/Cloneable.sol +28 -0
  409. package/contracts/instance/base/ObjectCounter.sol +20 -0
  410. package/contracts/instance/base/ObjectLifecycle.sol +113 -0
  411. package/contracts/instance/base/ObjectSet.sol +77 -0
  412. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  413. package/contracts/instance/module/IBundle.sol +20 -0
  414. package/contracts/instance/module/IComponents.sol +50 -0
  415. package/contracts/instance/module/IDistribution.sol +44 -0
  416. package/contracts/instance/module/IPolicy.sol +85 -0
  417. package/contracts/instance/module/IRisk.sol +14 -0
  418. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  419. package/contracts/oracle/BasicOracle.sol +45 -0
  420. package/contracts/oracle/BasicOracleAuthorization.sol +37 -0
  421. package/contracts/oracle/IOracle.sol +36 -0
  422. package/contracts/oracle/IOracleComponent.sol +33 -0
  423. package/contracts/oracle/IOracleService.sol +66 -0
  424. package/contracts/oracle/Oracle.sol +154 -0
  425. package/contracts/oracle/OracleService.sol +310 -0
  426. package/contracts/oracle/OracleServiceManager.sol +39 -0
  427. package/contracts/pool/BasicPool.sol +173 -0
  428. package/contracts/pool/BasicPoolAuthorization.sol +76 -0
  429. package/contracts/pool/BundleService.sol +395 -0
  430. package/contracts/pool/BundleServiceManager.sol +39 -0
  431. package/contracts/pool/IBundleService.sol +115 -0
  432. package/contracts/pool/IPoolComponent.sol +62 -0
  433. package/contracts/pool/IPoolService.sol +165 -0
  434. package/contracts/pool/Pool.sol +343 -0
  435. package/contracts/pool/PoolLib.sol +216 -0
  436. package/contracts/pool/PoolService.sol +755 -0
  437. package/contracts/pool/PoolServiceManager.sol +39 -0
  438. package/contracts/product/ApplicationService.sol +274 -0
  439. package/contracts/product/ApplicationServiceManager.sol +38 -0
  440. package/contracts/product/BasicProduct.sol +49 -0
  441. package/contracts/product/BasicProductAuthorization.sol +56 -0
  442. package/contracts/product/ClaimService.sol +632 -0
  443. package/contracts/product/ClaimServiceManager.sol +38 -0
  444. package/contracts/product/IApplicationService.sol +69 -0
  445. package/contracts/product/IClaimService.sol +135 -0
  446. package/contracts/product/IPolicyService.sol +95 -0
  447. package/contracts/product/IPricingService.sol +40 -0
  448. package/contracts/product/IProductComponent.sol +62 -0
  449. package/contracts/product/IRiskService.sol +33 -0
  450. package/contracts/product/PolicyService.sol +664 -0
  451. package/contracts/product/PolicyServiceLib.sol +65 -0
  452. package/contracts/product/PolicyServiceManager.sol +39 -0
  453. package/contracts/product/PricingService.sol +309 -0
  454. package/contracts/product/PricingServiceManager.sol +39 -0
  455. package/contracts/product/Product.sol +467 -0
  456. package/contracts/product/RiskService.sol +154 -0
  457. package/contracts/product/RiskServiceManager.sol +39 -0
  458. package/contracts/registry/ChainNft.sol +130 -40
  459. package/contracts/registry/IRegistry.sol +138 -29
  460. package/contracts/registry/IRegistryService.sol +62 -0
  461. package/contracts/registry/IRelease.sol +26 -0
  462. package/contracts/registry/ITransferInterceptor.sol +6 -0
  463. package/contracts/registry/Registry.sol +631 -282
  464. package/contracts/registry/RegistryAdmin.sol +258 -0
  465. package/contracts/registry/RegistryAuthorization.sol +267 -0
  466. package/contracts/registry/RegistryService.sol +241 -0
  467. package/contracts/registry/RegistryServiceManager.sol +53 -0
  468. package/contracts/registry/ReleaseAdmin.sol +253 -0
  469. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  470. package/contracts/registry/ReleaseRegistry.sol +517 -0
  471. package/contracts/registry/ServiceAuthorizationV3.sol +331 -0
  472. package/contracts/registry/TokenRegistry.sol +313 -0
  473. package/contracts/shared/Component.sol +210 -0
  474. package/contracts/shared/ComponentService.sol +708 -0
  475. package/contracts/shared/ComponentServiceManager.sol +38 -0
  476. package/contracts/shared/ComponentVerifyingService.sol +128 -0
  477. package/contracts/shared/ContractLib.sol +281 -0
  478. package/contracts/shared/IComponent.sol +58 -0
  479. package/contracts/shared/IComponentService.sol +112 -0
  480. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  481. package/contracts/shared/IKeyValueStore.sol +54 -0
  482. package/contracts/{instance/base → shared}/ILifecycle.sol +6 -5
  483. package/contracts/shared/INftOwnable.sol +25 -0
  484. package/contracts/shared/IPolicyHolder.sol +35 -0
  485. package/contracts/shared/IRegisterable.sol +33 -20
  486. package/contracts/shared/IRegistryLinked.sol +11 -0
  487. package/contracts/shared/IService.sol +23 -0
  488. package/contracts/shared/InitializableERC165.sol +35 -0
  489. package/contracts/shared/InstanceLinkedComponent.sol +195 -0
  490. package/contracts/shared/KeyValueStore.sol +131 -0
  491. package/contracts/shared/Lifecycle.sol +88 -0
  492. package/contracts/shared/NftIdSet.sol +65 -0
  493. package/contracts/shared/NftOwnable.sol +127 -0
  494. package/contracts/shared/PolicyHolder.sol +62 -0
  495. package/contracts/shared/Registerable.sol +80 -60
  496. package/contracts/shared/RegistryLinked.sol +38 -0
  497. package/contracts/shared/Service.sol +65 -0
  498. package/contracts/shared/TokenHandler.sol +342 -0
  499. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  500. package/contracts/staking/IStaking.sol +175 -0
  501. package/contracts/staking/IStakingService.sol +172 -0
  502. package/contracts/staking/Staking.sol +546 -0
  503. package/contracts/staking/StakingLib.sol +281 -0
  504. package/contracts/staking/StakingLifecycle.sol +23 -0
  505. package/contracts/staking/StakingManager.sol +52 -0
  506. package/contracts/staking/StakingReader.sol +180 -0
  507. package/contracts/staking/StakingService.sol +464 -0
  508. package/contracts/staking/StakingServiceManager.sol +45 -0
  509. package/contracts/staking/StakingStore.sol +606 -0
  510. package/contracts/staking/TargetManagerLib.sol +211 -0
  511. package/contracts/{types → type}/AddressSet.sol +1 -1
  512. package/contracts/type/Amount.sol +150 -0
  513. package/contracts/{types → type}/Blocknumber.sol +27 -3
  514. package/contracts/type/ClaimId.sol +80 -0
  515. package/contracts/type/DistributorType.sol +55 -0
  516. package/contracts/type/Fee.sol +65 -0
  517. package/contracts/{types → type}/Key32.sol +10 -5
  518. package/contracts/type/Key32Set.sol +62 -0
  519. package/contracts/{types → type}/NftId.sol +28 -15
  520. package/contracts/type/NftIdSet.sol +62 -0
  521. package/contracts/type/ObjectType.sol +294 -0
  522. package/contracts/type/PayoutId.sol +82 -0
  523. package/contracts/type/Referral.sol +90 -0
  524. package/contracts/type/RequestId.sol +75 -0
  525. package/contracts/type/RiskId.sol +75 -0
  526. package/contracts/type/RoleId.sol +182 -0
  527. package/contracts/type/Seconds.sol +101 -0
  528. package/contracts/type/Selector.sol +107 -0
  529. package/contracts/{types → type}/StateId.sol +53 -5
  530. package/contracts/type/String.sol +53 -0
  531. package/contracts/{types → type}/Timestamp.sol +37 -19
  532. package/contracts/{types → type}/UFixed.sol +55 -19
  533. package/contracts/type/Version.sol +159 -0
  534. package/contracts/upgradeability/IVersionable.sol +53 -0
  535. package/contracts/upgradeability/ProxyManager.sol +232 -0
  536. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +14 -0
  537. package/contracts/upgradeability/Versionable.sol +59 -0
  538. package/package.json +13 -8
  539. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  540. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -174
  541. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  542. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  543. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -356
  544. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  545. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -279
  546. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  547. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -387
  548. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  549. package/artifacts/contracts/components/Product.sol/Product.json +0 -305
  550. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  551. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  552. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  553. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  554. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  555. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  556. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  557. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  558. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  559. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  560. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  561. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  562. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  563. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  564. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  565. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  566. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  567. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  568. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  569. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  570. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  571. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  572. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  573. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  574. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  575. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  576. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  577. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  578. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  579. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  580. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  581. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  582. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  583. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  584. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  585. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  586. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +0 -300
  587. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  588. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -63
  589. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  590. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  591. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  592. package/artifacts/contracts/instance/base/IService.sol/IService.json +0 -300
  593. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  594. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.json +0 -326
  595. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  596. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -692
  597. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  598. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  599. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  600. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  601. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +0 -300
  602. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  603. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  604. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  605. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  606. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  607. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  608. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -296
  609. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  610. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  611. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -296
  612. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +0 -4
  613. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +0 -10
  614. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +0 -4
  615. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.json +0 -10
  616. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +0 -4
  617. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.json +0 -10
  618. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  619. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -188
  620. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  621. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  622. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  623. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -188
  624. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  625. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  626. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -261
  627. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  628. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -261
  629. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  630. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  631. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  632. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -149
  633. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  634. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -149
  635. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  636. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  637. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -10
  638. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  639. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -10
  640. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  641. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.json +0 -10
  642. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  643. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -533
  644. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  645. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  646. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  647. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -533
  648. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  649. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -523
  650. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  651. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  652. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  653. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  654. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -471
  655. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  656. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -673
  657. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  658. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -452
  659. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  660. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  661. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  662. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  663. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  664. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -164
  665. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  666. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -164
  667. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  668. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  669. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  670. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -387
  671. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  672. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -393
  673. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  674. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -137
  675. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  676. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  677. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  678. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -379
  679. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  680. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -338
  681. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  682. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  683. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  684. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -206
  685. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  686. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -338
  687. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  688. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  689. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  690. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  691. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  692. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  693. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  694. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -218
  695. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  696. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -111
  697. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  698. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  699. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  700. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  701. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  702. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  703. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  704. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -30
  705. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  706. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  707. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  708. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -236
  709. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  710. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -479
  711. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  712. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -139
  713. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  714. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -30
  715. package/contracts/components/BaseComponent.sol +0 -88
  716. package/contracts/components/IBaseComponent.sol +0 -19
  717. package/contracts/components/IPoolComponent.sol +0 -57
  718. package/contracts/components/IProductComponent.sol +0 -19
  719. package/contracts/components/Pool.sol +0 -174
  720. package/contracts/components/Product.sol +0 -117
  721. package/contracts/experiment/errors/Require.sol +0 -38
  722. package/contracts/experiment/errors/Revert.sol +0 -44
  723. package/contracts/experiment/inheritance/A.sol +0 -53
  724. package/contracts/experiment/inheritance/B.sol +0 -28
  725. package/contracts/experiment/inheritance/C.sol +0 -34
  726. package/contracts/experiment/inheritance/IA.sol +0 -13
  727. package/contracts/experiment/inheritance/IB.sol +0 -10
  728. package/contracts/experiment/inheritance/IC.sol +0 -12
  729. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  730. package/contracts/experiment/statemachine/ISM.sol +0 -25
  731. package/contracts/experiment/statemachine/README.md +0 -112
  732. package/contracts/experiment/statemachine/SM.sol +0 -57
  733. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  734. package/contracts/experiment/types/TypeA.sol +0 -47
  735. package/contracts/experiment/types/TypeB.sol +0 -29
  736. package/contracts/instance/IInstanceLinked.sol +0 -8
  737. package/contracts/instance/base/ComponentServiceBase.sol +0 -42
  738. package/contracts/instance/base/IInstanceBase.sol +0 -14
  739. package/contracts/instance/base/IKeyValueStore.sol +0 -49
  740. package/contracts/instance/base/IService.sol +0 -15
  741. package/contracts/instance/base/InstanceBase.sol +0 -80
  742. package/contracts/instance/base/KeyValueStore.sol +0 -156
  743. package/contracts/instance/base/Lifecycle.sol +0 -95
  744. package/contracts/instance/base/ModuleBase.sol +0 -52
  745. package/contracts/instance/base/ServiceBase.sol +0 -37
  746. package/contracts/instance/module/access/Access.sol +0 -149
  747. package/contracts/instance/module/access/IAccess.sol +0 -53
  748. package/contracts/instance/module/bundle/BundleModule.sol +0 -136
  749. package/contracts/instance/module/bundle/IBundle.sol +0 -58
  750. package/contracts/instance/module/compensation/CompensationModule.sol +0 -8
  751. package/contracts/instance/module/compensation/ICompensation.sol +0 -10
  752. package/contracts/instance/module/component/ComponentModule.sol +0 -95
  753. package/contracts/instance/module/component/IComponent.sol +0 -53
  754. package/contracts/instance/module/policy/IPolicy.sol +0 -60
  755. package/contracts/instance/module/policy/PolicyModule.sol +0 -76
  756. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  757. package/contracts/instance/module/pool/PoolModule.sol +0 -87
  758. package/contracts/instance/module/risk/IRisk.sol +0 -10
  759. package/contracts/instance/module/risk/RiskModule.sol +0 -8
  760. package/contracts/instance/module/treasury/ITreasury.sol +0 -103
  761. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  762. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -152
  763. package/contracts/instance/service/ComponentOwnerService.sol +0 -170
  764. package/contracts/instance/service/IComponentOwnerService.sol +0 -22
  765. package/contracts/instance/service/IPoolService.sol +0 -30
  766. package/contracts/instance/service/IProductService.sol +0 -58
  767. package/contracts/instance/service/PoolService.sol +0 -123
  768. package/contracts/instance/service/ProductService.sol +0 -354
  769. package/contracts/registry/IChainNft.sol +0 -21
  770. package/contracts/registry/IRegistryLinked.sol +0 -8
  771. package/contracts/shared/ERC165.sol +0 -21
  772. package/contracts/shared/IOwnable.sol +0 -6
  773. package/contracts/shared/IVersionable.sol +0 -52
  774. package/contracts/shared/Versionable.sol +0 -89
  775. package/contracts/test/TestFee.sol +0 -25
  776. package/contracts/test/TestPool.sol +0 -22
  777. package/contracts/test/TestProduct.sol +0 -44
  778. package/contracts/test/TestRegisterable.sol +0 -19
  779. package/contracts/test/TestRoleId.sol +0 -14
  780. package/contracts/test/TestService.sol +0 -32
  781. package/contracts/test/TestToken.sol +0 -26
  782. package/contracts/test/TestVersion.sol +0 -44
  783. package/contracts/test/TestVersionable.sol +0 -17
  784. package/contracts/types/ChainId.sol +0 -38
  785. package/contracts/types/Fee.sol +0 -51
  786. package/contracts/types/NftIdSet.sol +0 -60
  787. package/contracts/types/ObjectType.sol +0 -115
  788. package/contracts/types/RoleId.sol +0 -38
  789. package/contracts/types/Version.sol +0 -95
@@ -0,0 +1,1888 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "Staking",
4
+ "sourceName": "contracts/staking/Staking.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "caller",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "address",
48
+ "name": "authority",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "ErrorAuthorityInvalid",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [],
57
+ "name": "ErrorComponentNameLengthZero",
58
+ "type": "error"
59
+ },
60
+ {
61
+ "inputs": [
62
+ {
63
+ "internalType": "address",
64
+ "name": "caller",
65
+ "type": "address"
66
+ }
67
+ ],
68
+ "name": "ErrorComponentNotChainNft",
69
+ "type": "error"
70
+ },
71
+ {
72
+ "inputs": [],
73
+ "name": "ErrorComponentProductNftIdNonzero",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [],
78
+ "name": "ErrorComponentProductNftIdZero",
79
+ "type": "error"
80
+ },
81
+ {
82
+ "inputs": [],
83
+ "name": "ErrorComponentWalletAddressIsSameAsCurrent",
84
+ "type": "error"
85
+ },
86
+ {
87
+ "inputs": [],
88
+ "name": "ErrorComponentWalletAddressZero",
89
+ "type": "error"
90
+ },
91
+ {
92
+ "inputs": [],
93
+ "name": "ErrorComponentWalletNotComponent",
94
+ "type": "error"
95
+ },
96
+ {
97
+ "inputs": [
98
+ {
99
+ "internalType": "NftId",
100
+ "name": "nftId",
101
+ "type": "uint96"
102
+ }
103
+ ],
104
+ "name": "ErrorNftOwnableAlreadyLinked",
105
+ "type": "error"
106
+ },
107
+ {
108
+ "inputs": [
109
+ {
110
+ "internalType": "address",
111
+ "name": "contractAddress",
112
+ "type": "address"
113
+ }
114
+ ],
115
+ "name": "ErrorNftOwnableContractNotRegistered",
116
+ "type": "error"
117
+ },
118
+ {
119
+ "inputs": [],
120
+ "name": "ErrorNftOwnableInitialOwnerZero",
121
+ "type": "error"
122
+ },
123
+ {
124
+ "inputs": [
125
+ {
126
+ "internalType": "NftId",
127
+ "name": "nftId",
128
+ "type": "uint96"
129
+ },
130
+ {
131
+ "internalType": "ObjectType",
132
+ "name": "expectedObjectType",
133
+ "type": "uint8"
134
+ }
135
+ ],
136
+ "name": "ErrorNftOwnableInvalidType",
137
+ "type": "error"
138
+ },
139
+ {
140
+ "inputs": [
141
+ {
142
+ "internalType": "address",
143
+ "name": "account",
144
+ "type": "address"
145
+ }
146
+ ],
147
+ "name": "ErrorNftOwnableNotOwner",
148
+ "type": "error"
149
+ },
150
+ {
151
+ "inputs": [
152
+ {
153
+ "internalType": "address",
154
+ "name": "registryAddress",
155
+ "type": "address"
156
+ }
157
+ ],
158
+ "name": "ErrorNotRegistry",
159
+ "type": "error"
160
+ },
161
+ {
162
+ "inputs": [],
163
+ "name": "ErrorRegisterableNotActive",
164
+ "type": "error"
165
+ },
166
+ {
167
+ "inputs": [
168
+ {
169
+ "internalType": "address",
170
+ "name": "owner",
171
+ "type": "address"
172
+ },
173
+ {
174
+ "internalType": "address",
175
+ "name": "tokenHandler",
176
+ "type": "address"
177
+ },
178
+ {
179
+ "internalType": "uint256",
180
+ "name": "amount",
181
+ "type": "uint256"
182
+ },
183
+ {
184
+ "internalType": "uint256",
185
+ "name": "dipAllowance",
186
+ "type": "uint256"
187
+ }
188
+ ],
189
+ "name": "ErrorStakingDipAllowanceInsufficient",
190
+ "type": "error"
191
+ },
192
+ {
193
+ "inputs": [
194
+ {
195
+ "internalType": "address",
196
+ "name": "owner",
197
+ "type": "address"
198
+ },
199
+ {
200
+ "internalType": "uint256",
201
+ "name": "amount",
202
+ "type": "uint256"
203
+ },
204
+ {
205
+ "internalType": "uint256",
206
+ "name": "dipBalance",
207
+ "type": "uint256"
208
+ }
209
+ ],
210
+ "name": "ErrorStakingDipBalanceInsufficient",
211
+ "type": "error"
212
+ },
213
+ {
214
+ "inputs": [
215
+ {
216
+ "internalType": "NftId",
217
+ "name": "targetNftId",
218
+ "type": "uint96"
219
+ },
220
+ {
221
+ "internalType": "Seconds",
222
+ "name": "maxLockingPeriod",
223
+ "type": "uint40"
224
+ },
225
+ {
226
+ "internalType": "Seconds",
227
+ "name": "lockingPeriod",
228
+ "type": "uint40"
229
+ }
230
+ ],
231
+ "name": "ErrorStakingLockingPeriodTooLong",
232
+ "type": "error"
233
+ },
234
+ {
235
+ "inputs": [
236
+ {
237
+ "internalType": "NftId",
238
+ "name": "targetNftId",
239
+ "type": "uint96"
240
+ },
241
+ {
242
+ "internalType": "Seconds",
243
+ "name": "minLockingPeriod",
244
+ "type": "uint40"
245
+ },
246
+ {
247
+ "internalType": "Seconds",
248
+ "name": "lockingPeriod",
249
+ "type": "uint40"
250
+ }
251
+ ],
252
+ "name": "ErrorStakingLockingPeriodTooShort",
253
+ "type": "error"
254
+ },
255
+ {
256
+ "inputs": [
257
+ {
258
+ "internalType": "NftId",
259
+ "name": "nftId",
260
+ "type": "uint96"
261
+ }
262
+ ],
263
+ "name": "ErrorStakingNotNftOwner",
264
+ "type": "error"
265
+ },
266
+ {
267
+ "inputs": [
268
+ {
269
+ "internalType": "address",
270
+ "name": "registry",
271
+ "type": "address"
272
+ }
273
+ ],
274
+ "name": "ErrorStakingNotRegistry",
275
+ "type": "error"
276
+ },
277
+ {
278
+ "inputs": [
279
+ {
280
+ "internalType": "NftId",
281
+ "name": "stakeNftId",
282
+ "type": "uint96"
283
+ }
284
+ ],
285
+ "name": "ErrorStakingNotStake",
286
+ "type": "error"
287
+ },
288
+ {
289
+ "inputs": [],
290
+ "name": "ErrorStakingNotStakingOwner",
291
+ "type": "error"
292
+ },
293
+ {
294
+ "inputs": [
295
+ {
296
+ "internalType": "NftId",
297
+ "name": "targetNftId",
298
+ "type": "uint96"
299
+ }
300
+ ],
301
+ "name": "ErrorStakingNotTarget",
302
+ "type": "error"
303
+ },
304
+ {
305
+ "inputs": [
306
+ {
307
+ "internalType": "NftId",
308
+ "name": "targetNftId",
309
+ "type": "uint96"
310
+ },
311
+ {
312
+ "internalType": "UFixed",
313
+ "name": "maxRewardRate",
314
+ "type": "uint128"
315
+ },
316
+ {
317
+ "internalType": "UFixed",
318
+ "name": "rewardRate",
319
+ "type": "uint128"
320
+ }
321
+ ],
322
+ "name": "ErrorStakingRewardRateTooHigh",
323
+ "type": "error"
324
+ },
325
+ {
326
+ "inputs": [
327
+ {
328
+ "internalType": "NftId",
329
+ "name": "targetNftId",
330
+ "type": "uint96"
331
+ }
332
+ ],
333
+ "name": "ErrorStakingStakeAmountZero",
334
+ "type": "error"
335
+ },
336
+ {
337
+ "inputs": [
338
+ {
339
+ "internalType": "NftId",
340
+ "name": "stakeNftId",
341
+ "type": "uint96"
342
+ },
343
+ {
344
+ "internalType": "Timestamp",
345
+ "name": "lockedUntil",
346
+ "type": "uint40"
347
+ }
348
+ ],
349
+ "name": "ErrorStakingStakeLocked",
350
+ "type": "error"
351
+ },
352
+ {
353
+ "inputs": [
354
+ {
355
+ "internalType": "address",
356
+ "name": "stakingByStakingReader",
357
+ "type": "address"
358
+ }
359
+ ],
360
+ "name": "ErrorStakingStakingReaderStakingMismatch",
361
+ "type": "error"
362
+ },
363
+ {
364
+ "inputs": [
365
+ {
366
+ "internalType": "NftId",
367
+ "name": "targetNftId",
368
+ "type": "uint96"
369
+ }
370
+ ],
371
+ "name": "ErrorStakingTargetAlreadyRegistered",
372
+ "type": "error"
373
+ },
374
+ {
375
+ "inputs": [
376
+ {
377
+ "internalType": "NftId",
378
+ "name": "targetNftId",
379
+ "type": "uint96"
380
+ },
381
+ {
382
+ "internalType": "Amount",
383
+ "name": "maxStakedAmount",
384
+ "type": "uint96"
385
+ },
386
+ {
387
+ "internalType": "Amount",
388
+ "name": "stakedAmount",
389
+ "type": "uint96"
390
+ }
391
+ ],
392
+ "name": "ErrorStakingTargetMaxStakedAmountExceeded",
393
+ "type": "error"
394
+ },
395
+ {
396
+ "inputs": [],
397
+ "name": "ErrorStakingTargetNftIdZero",
398
+ "type": "error"
399
+ },
400
+ {
401
+ "inputs": [
402
+ {
403
+ "internalType": "NftId",
404
+ "name": "targetNftId",
405
+ "type": "uint96"
406
+ }
407
+ ],
408
+ "name": "ErrorStakingTargetNotFound",
409
+ "type": "error"
410
+ },
411
+ {
412
+ "inputs": [
413
+ {
414
+ "internalType": "NftId",
415
+ "name": "targetNftId",
416
+ "type": "uint96"
417
+ },
418
+ {
419
+ "internalType": "uint256",
420
+ "name": "chainId",
421
+ "type": "uint256"
422
+ },
423
+ {
424
+ "internalType": "address",
425
+ "name": "token",
426
+ "type": "address"
427
+ }
428
+ ],
429
+ "name": "ErrorStakingTargetTokenNotFound",
430
+ "type": "error"
431
+ },
432
+ {
433
+ "inputs": [
434
+ {
435
+ "internalType": "NftId",
436
+ "name": "targetNftId",
437
+ "type": "uint96"
438
+ },
439
+ {
440
+ "internalType": "ObjectType",
441
+ "name": "objectType",
442
+ "type": "uint8"
443
+ }
444
+ ],
445
+ "name": "ErrorStakingTargetTypeNotSupported",
446
+ "type": "error"
447
+ },
448
+ {
449
+ "inputs": [
450
+ {
451
+ "internalType": "NftId",
452
+ "name": "targetNftId",
453
+ "type": "uint96"
454
+ },
455
+ {
456
+ "internalType": "ObjectType",
457
+ "name": "expectedObjectType",
458
+ "type": "uint8"
459
+ },
460
+ {
461
+ "internalType": "ObjectType",
462
+ "name": "actualObjectType",
463
+ "type": "uint8"
464
+ }
465
+ ],
466
+ "name": "ErrorStakingTargetUnexpectedObjectType",
467
+ "type": "error"
468
+ },
469
+ {
470
+ "inputs": [
471
+ {
472
+ "internalType": "uint256",
473
+ "name": "chainId",
474
+ "type": "uint256"
475
+ },
476
+ {
477
+ "internalType": "address",
478
+ "name": "token",
479
+ "type": "address"
480
+ }
481
+ ],
482
+ "name": "ErrorStakingTokenNotRegistered",
483
+ "type": "error"
484
+ },
485
+ {
486
+ "inputs": [],
487
+ "name": "InvalidInitialization",
488
+ "type": "error"
489
+ },
490
+ {
491
+ "inputs": [],
492
+ "name": "NotInitializing",
493
+ "type": "error"
494
+ },
495
+ {
496
+ "anonymous": false,
497
+ "inputs": [
498
+ {
499
+ "indexed": false,
500
+ "internalType": "address",
501
+ "name": "authority",
502
+ "type": "address"
503
+ }
504
+ ],
505
+ "name": "AuthorityUpdated",
506
+ "type": "event"
507
+ },
508
+ {
509
+ "anonymous": false,
510
+ "inputs": [
511
+ {
512
+ "indexed": false,
513
+ "internalType": "uint64",
514
+ "name": "version",
515
+ "type": "uint64"
516
+ }
517
+ ],
518
+ "name": "Initialized",
519
+ "type": "event"
520
+ },
521
+ {
522
+ "anonymous": false,
523
+ "inputs": [
524
+ {
525
+ "indexed": false,
526
+ "internalType": "address",
527
+ "name": "tokenHandler",
528
+ "type": "address"
529
+ },
530
+ {
531
+ "indexed": false,
532
+ "internalType": "address",
533
+ "name": "token",
534
+ "type": "address"
535
+ },
536
+ {
537
+ "indexed": false,
538
+ "internalType": "Amount",
539
+ "name": "limit",
540
+ "type": "uint96"
541
+ },
542
+ {
543
+ "indexed": false,
544
+ "internalType": "bool",
545
+ "name": "isMaxAmount",
546
+ "type": "bool"
547
+ }
548
+ ],
549
+ "name": "LogComponentTokenHandlerApproved",
550
+ "type": "event"
551
+ },
552
+ {
553
+ "anonymous": false,
554
+ "inputs": [
555
+ {
556
+ "indexed": false,
557
+ "internalType": "address",
558
+ "name": "oldWallet",
559
+ "type": "address"
560
+ },
561
+ {
562
+ "indexed": false,
563
+ "internalType": "address",
564
+ "name": "newWallet",
565
+ "type": "address"
566
+ }
567
+ ],
568
+ "name": "LogComponentWalletAddressChanged",
569
+ "type": "event"
570
+ },
571
+ {
572
+ "anonymous": false,
573
+ "inputs": [
574
+ {
575
+ "indexed": false,
576
+ "internalType": "address",
577
+ "name": "from",
578
+ "type": "address"
579
+ },
580
+ {
581
+ "indexed": false,
582
+ "internalType": "address",
583
+ "name": "to",
584
+ "type": "address"
585
+ },
586
+ {
587
+ "indexed": false,
588
+ "internalType": "uint256",
589
+ "name": "amount",
590
+ "type": "uint256"
591
+ }
592
+ ],
593
+ "name": "LogComponentWalletTokensTransferred",
594
+ "type": "event"
595
+ },
596
+ {
597
+ "anonymous": false,
598
+ "inputs": [
599
+ {
600
+ "indexed": false,
601
+ "internalType": "NftId",
602
+ "name": "targetNftId",
603
+ "type": "uint96"
604
+ },
605
+ {
606
+ "indexed": false,
607
+ "internalType": "Seconds",
608
+ "name": "oldLockingPeriod",
609
+ "type": "uint40"
610
+ },
611
+ {
612
+ "indexed": false,
613
+ "internalType": "Seconds",
614
+ "name": "lockingPeriod",
615
+ "type": "uint40"
616
+ }
617
+ ],
618
+ "name": "LogStakingLockingPeriodSet",
619
+ "type": "event"
620
+ },
621
+ {
622
+ "anonymous": false,
623
+ "inputs": [
624
+ {
625
+ "indexed": false,
626
+ "internalType": "NftId",
627
+ "name": "targetNftId",
628
+ "type": "uint96"
629
+ },
630
+ {
631
+ "indexed": false,
632
+ "internalType": "Amount",
633
+ "name": "maxStakedAmount",
634
+ "type": "uint96"
635
+ }
636
+ ],
637
+ "name": "LogStakingMaxStakedAmountSet",
638
+ "type": "event"
639
+ },
640
+ {
641
+ "anonymous": false,
642
+ "inputs": [
643
+ {
644
+ "indexed": false,
645
+ "internalType": "NftId",
646
+ "name": "targetNftId",
647
+ "type": "uint96"
648
+ },
649
+ {
650
+ "indexed": false,
651
+ "internalType": "UFixed",
652
+ "name": "oldRewardRate",
653
+ "type": "uint128"
654
+ },
655
+ {
656
+ "indexed": false,
657
+ "internalType": "UFixed",
658
+ "name": "rewardRate",
659
+ "type": "uint128"
660
+ }
661
+ ],
662
+ "name": "LogStakingRewardRateSet",
663
+ "type": "event"
664
+ },
665
+ {
666
+ "anonymous": false,
667
+ "inputs": [
668
+ {
669
+ "indexed": false,
670
+ "internalType": "uint256",
671
+ "name": "chainId",
672
+ "type": "uint256"
673
+ },
674
+ {
675
+ "indexed": false,
676
+ "internalType": "address",
677
+ "name": "token",
678
+ "type": "address"
679
+ },
680
+ {
681
+ "indexed": false,
682
+ "internalType": "UFixed",
683
+ "name": "oldStakingRate",
684
+ "type": "uint128"
685
+ },
686
+ {
687
+ "indexed": false,
688
+ "internalType": "UFixed",
689
+ "name": "newStakingRate",
690
+ "type": "uint128"
691
+ }
692
+ ],
693
+ "name": "LogStakingStakingRateSet",
694
+ "type": "event"
695
+ },
696
+ {
697
+ "inputs": [],
698
+ "name": "COMPONENT_LOCATION_V1",
699
+ "outputs": [
700
+ {
701
+ "internalType": "bytes32",
702
+ "name": "",
703
+ "type": "bytes32"
704
+ }
705
+ ],
706
+ "stateMutability": "view",
707
+ "type": "function"
708
+ },
709
+ {
710
+ "inputs": [],
711
+ "name": "CONTRACT_NAME",
712
+ "outputs": [
713
+ {
714
+ "internalType": "string",
715
+ "name": "",
716
+ "type": "string"
717
+ }
718
+ ],
719
+ "stateMutability": "view",
720
+ "type": "function"
721
+ },
722
+ {
723
+ "inputs": [],
724
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
725
+ "outputs": [
726
+ {
727
+ "internalType": "bytes32",
728
+ "name": "",
729
+ "type": "bytes32"
730
+ }
731
+ ],
732
+ "stateMutability": "view",
733
+ "type": "function"
734
+ },
735
+ {
736
+ "inputs": [],
737
+ "name": "REGISTERABLE_LOCATION_V1",
738
+ "outputs": [
739
+ {
740
+ "internalType": "bytes32",
741
+ "name": "",
742
+ "type": "bytes32"
743
+ }
744
+ ],
745
+ "stateMutability": "view",
746
+ "type": "function"
747
+ },
748
+ {
749
+ "inputs": [],
750
+ "name": "STAKING_LOCATION_V1",
751
+ "outputs": [
752
+ {
753
+ "internalType": "bytes32",
754
+ "name": "",
755
+ "type": "bytes32"
756
+ }
757
+ ],
758
+ "stateMutability": "view",
759
+ "type": "function"
760
+ },
761
+ {
762
+ "inputs": [
763
+ {
764
+ "internalType": "contract IERC20Metadata",
765
+ "name": "token",
766
+ "type": "address"
767
+ },
768
+ {
769
+ "internalType": "Amount",
770
+ "name": "amount",
771
+ "type": "uint96"
772
+ }
773
+ ],
774
+ "name": "approveTokenHandler",
775
+ "outputs": [],
776
+ "stateMutability": "nonpayable",
777
+ "type": "function"
778
+ },
779
+ {
780
+ "inputs": [],
781
+ "name": "authority",
782
+ "outputs": [
783
+ {
784
+ "internalType": "address",
785
+ "name": "",
786
+ "type": "address"
787
+ }
788
+ ],
789
+ "stateMutability": "view",
790
+ "type": "function"
791
+ },
792
+ {
793
+ "inputs": [
794
+ {
795
+ "internalType": "NftId",
796
+ "name": "stakeNftId",
797
+ "type": "uint96"
798
+ }
799
+ ],
800
+ "name": "claimRewards",
801
+ "outputs": [
802
+ {
803
+ "internalType": "Amount",
804
+ "name": "rewardsClaimedAmount",
805
+ "type": "uint96"
806
+ }
807
+ ],
808
+ "stateMutability": "nonpayable",
809
+ "type": "function"
810
+ },
811
+ {
812
+ "inputs": [
813
+ {
814
+ "internalType": "NftId",
815
+ "name": "stakeNftId",
816
+ "type": "uint96"
817
+ },
818
+ {
819
+ "internalType": "NftId",
820
+ "name": "targetNftId",
821
+ "type": "uint96"
822
+ },
823
+ {
824
+ "internalType": "Amount",
825
+ "name": "stakeAmount",
826
+ "type": "uint96"
827
+ }
828
+ ],
829
+ "name": "createStake",
830
+ "outputs": [],
831
+ "stateMutability": "nonpayable",
832
+ "type": "function"
833
+ },
834
+ {
835
+ "inputs": [
836
+ {
837
+ "internalType": "NftId",
838
+ "name": "targetNftId",
839
+ "type": "uint96"
840
+ },
841
+ {
842
+ "internalType": "address",
843
+ "name": "token",
844
+ "type": "address"
845
+ },
846
+ {
847
+ "internalType": "Amount",
848
+ "name": "amount",
849
+ "type": "uint96"
850
+ }
851
+ ],
852
+ "name": "decreaseTotalValueLocked",
853
+ "outputs": [
854
+ {
855
+ "internalType": "Amount",
856
+ "name": "newBalance",
857
+ "type": "uint96"
858
+ }
859
+ ],
860
+ "stateMutability": "nonpayable",
861
+ "type": "function"
862
+ },
863
+ {
864
+ "inputs": [],
865
+ "name": "getComponentInfo",
866
+ "outputs": [
867
+ {
868
+ "components": [
869
+ {
870
+ "internalType": "string",
871
+ "name": "name",
872
+ "type": "string"
873
+ },
874
+ {
875
+ "internalType": "contract TokenHandler",
876
+ "name": "tokenHandler",
877
+ "type": "address"
878
+ },
879
+ {
880
+ "internalType": "bytes",
881
+ "name": "data",
882
+ "type": "bytes"
883
+ }
884
+ ],
885
+ "internalType": "struct IComponents.ComponentInfo",
886
+ "name": "info",
887
+ "type": "tuple"
888
+ }
889
+ ],
890
+ "stateMutability": "view",
891
+ "type": "function"
892
+ },
893
+ {
894
+ "inputs": [],
895
+ "name": "getInitialComponentInfo",
896
+ "outputs": [
897
+ {
898
+ "components": [
899
+ {
900
+ "internalType": "string",
901
+ "name": "name",
902
+ "type": "string"
903
+ },
904
+ {
905
+ "internalType": "contract TokenHandler",
906
+ "name": "tokenHandler",
907
+ "type": "address"
908
+ },
909
+ {
910
+ "internalType": "bytes",
911
+ "name": "data",
912
+ "type": "bytes"
913
+ }
914
+ ],
915
+ "internalType": "struct IComponents.ComponentInfo",
916
+ "name": "info",
917
+ "type": "tuple"
918
+ }
919
+ ],
920
+ "stateMutability": "view",
921
+ "type": "function"
922
+ },
923
+ {
924
+ "inputs": [],
925
+ "name": "getInitialInfo",
926
+ "outputs": [
927
+ {
928
+ "components": [
929
+ {
930
+ "internalType": "NftId",
931
+ "name": "nftId",
932
+ "type": "uint96"
933
+ },
934
+ {
935
+ "internalType": "NftId",
936
+ "name": "parentNftId",
937
+ "type": "uint96"
938
+ },
939
+ {
940
+ "internalType": "ObjectType",
941
+ "name": "objectType",
942
+ "type": "uint8"
943
+ },
944
+ {
945
+ "internalType": "bool",
946
+ "name": "isInterceptor",
947
+ "type": "bool"
948
+ },
949
+ {
950
+ "internalType": "address",
951
+ "name": "objectAddress",
952
+ "type": "address"
953
+ },
954
+ {
955
+ "internalType": "address",
956
+ "name": "initialOwner",
957
+ "type": "address"
958
+ },
959
+ {
960
+ "internalType": "bytes",
961
+ "name": "data",
962
+ "type": "bytes"
963
+ }
964
+ ],
965
+ "internalType": "struct IRegistry.ObjectInfo",
966
+ "name": "info",
967
+ "type": "tuple"
968
+ }
969
+ ],
970
+ "stateMutability": "view",
971
+ "type": "function"
972
+ },
973
+ {
974
+ "inputs": [],
975
+ "name": "getName",
976
+ "outputs": [
977
+ {
978
+ "internalType": "string",
979
+ "name": "name",
980
+ "type": "string"
981
+ }
982
+ ],
983
+ "stateMutability": "view",
984
+ "type": "function"
985
+ },
986
+ {
987
+ "inputs": [],
988
+ "name": "getNftId",
989
+ "outputs": [
990
+ {
991
+ "internalType": "NftId",
992
+ "name": "",
993
+ "type": "uint96"
994
+ }
995
+ ],
996
+ "stateMutability": "view",
997
+ "type": "function"
998
+ },
999
+ {
1000
+ "inputs": [],
1001
+ "name": "getOwner",
1002
+ "outputs": [
1003
+ {
1004
+ "internalType": "address",
1005
+ "name": "",
1006
+ "type": "address"
1007
+ }
1008
+ ],
1009
+ "stateMutability": "view",
1010
+ "type": "function"
1011
+ },
1012
+ {
1013
+ "inputs": [],
1014
+ "name": "getRegistry",
1015
+ "outputs": [
1016
+ {
1017
+ "internalType": "contract IRegistry",
1018
+ "name": "",
1019
+ "type": "address"
1020
+ }
1021
+ ],
1022
+ "stateMutability": "view",
1023
+ "type": "function"
1024
+ },
1025
+ {
1026
+ "inputs": [],
1027
+ "name": "getRelease",
1028
+ "outputs": [
1029
+ {
1030
+ "internalType": "VersionPart",
1031
+ "name": "",
1032
+ "type": "uint8"
1033
+ }
1034
+ ],
1035
+ "stateMutability": "pure",
1036
+ "type": "function"
1037
+ },
1038
+ {
1039
+ "inputs": [],
1040
+ "name": "getStakingReader",
1041
+ "outputs": [
1042
+ {
1043
+ "internalType": "contract StakingReader",
1044
+ "name": "reader",
1045
+ "type": "address"
1046
+ }
1047
+ ],
1048
+ "stateMutability": "view",
1049
+ "type": "function"
1050
+ },
1051
+ {
1052
+ "inputs": [],
1053
+ "name": "getStakingStore",
1054
+ "outputs": [
1055
+ {
1056
+ "internalType": "contract StakingStore",
1057
+ "name": "stakingStore",
1058
+ "type": "address"
1059
+ }
1060
+ ],
1061
+ "stateMutability": "view",
1062
+ "type": "function"
1063
+ },
1064
+ {
1065
+ "inputs": [],
1066
+ "name": "getToken",
1067
+ "outputs": [
1068
+ {
1069
+ "internalType": "contract IERC20Metadata",
1070
+ "name": "token",
1071
+ "type": "address"
1072
+ }
1073
+ ],
1074
+ "stateMutability": "view",
1075
+ "type": "function"
1076
+ },
1077
+ {
1078
+ "inputs": [],
1079
+ "name": "getTokenHandler",
1080
+ "outputs": [
1081
+ {
1082
+ "internalType": "contract TokenHandler",
1083
+ "name": "tokenHandler",
1084
+ "type": "address"
1085
+ }
1086
+ ],
1087
+ "stateMutability": "view",
1088
+ "type": "function"
1089
+ },
1090
+ {
1091
+ "inputs": [],
1092
+ "name": "getTokenRegistryAddress",
1093
+ "outputs": [
1094
+ {
1095
+ "internalType": "address",
1096
+ "name": "tokenRegistry",
1097
+ "type": "address"
1098
+ }
1099
+ ],
1100
+ "stateMutability": "view",
1101
+ "type": "function"
1102
+ },
1103
+ {
1104
+ "inputs": [],
1105
+ "name": "getVersion",
1106
+ "outputs": [
1107
+ {
1108
+ "internalType": "Version",
1109
+ "name": "",
1110
+ "type": "uint24"
1111
+ }
1112
+ ],
1113
+ "stateMutability": "pure",
1114
+ "type": "function"
1115
+ },
1116
+ {
1117
+ "inputs": [],
1118
+ "name": "getWallet",
1119
+ "outputs": [
1120
+ {
1121
+ "internalType": "address",
1122
+ "name": "walletAddress",
1123
+ "type": "address"
1124
+ }
1125
+ ],
1126
+ "stateMutability": "view",
1127
+ "type": "function"
1128
+ },
1129
+ {
1130
+ "inputs": [
1131
+ {
1132
+ "internalType": "NftId",
1133
+ "name": "targetNftId",
1134
+ "type": "uint96"
1135
+ },
1136
+ {
1137
+ "internalType": "address",
1138
+ "name": "token",
1139
+ "type": "address"
1140
+ },
1141
+ {
1142
+ "internalType": "Amount",
1143
+ "name": "amount",
1144
+ "type": "uint96"
1145
+ }
1146
+ ],
1147
+ "name": "increaseTotalValueLocked",
1148
+ "outputs": [
1149
+ {
1150
+ "internalType": "Amount",
1151
+ "name": "newBalance",
1152
+ "type": "uint96"
1153
+ }
1154
+ ],
1155
+ "stateMutability": "nonpayable",
1156
+ "type": "function"
1157
+ },
1158
+ {
1159
+ "inputs": [],
1160
+ "name": "initializeTokenHandler",
1161
+ "outputs": [],
1162
+ "stateMutability": "nonpayable",
1163
+ "type": "function"
1164
+ },
1165
+ {
1166
+ "inputs": [
1167
+ {
1168
+ "internalType": "address",
1169
+ "name": "activatedBy",
1170
+ "type": "address"
1171
+ },
1172
+ {
1173
+ "internalType": "bytes",
1174
+ "name": "data",
1175
+ "type": "bytes"
1176
+ }
1177
+ ],
1178
+ "name": "initializeVersionable",
1179
+ "outputs": [],
1180
+ "stateMutability": "nonpayable",
1181
+ "type": "function"
1182
+ },
1183
+ {
1184
+ "inputs": [],
1185
+ "name": "isActive",
1186
+ "outputs": [
1187
+ {
1188
+ "internalType": "bool",
1189
+ "name": "active",
1190
+ "type": "bool"
1191
+ }
1192
+ ],
1193
+ "stateMutability": "view",
1194
+ "type": "function"
1195
+ },
1196
+ {
1197
+ "inputs": [],
1198
+ "name": "isConsumingScheduledOp",
1199
+ "outputs": [
1200
+ {
1201
+ "internalType": "bytes4",
1202
+ "name": "",
1203
+ "type": "bytes4"
1204
+ }
1205
+ ],
1206
+ "stateMutability": "view",
1207
+ "type": "function"
1208
+ },
1209
+ {
1210
+ "inputs": [],
1211
+ "name": "isNftInterceptor",
1212
+ "outputs": [
1213
+ {
1214
+ "internalType": "bool",
1215
+ "name": "isInterceptor",
1216
+ "type": "bool"
1217
+ }
1218
+ ],
1219
+ "stateMutability": "view",
1220
+ "type": "function"
1221
+ },
1222
+ {
1223
+ "inputs": [],
1224
+ "name": "isRegistered",
1225
+ "outputs": [
1226
+ {
1227
+ "internalType": "bool",
1228
+ "name": "",
1229
+ "type": "bool"
1230
+ }
1231
+ ],
1232
+ "stateMutability": "view",
1233
+ "type": "function"
1234
+ },
1235
+ {
1236
+ "inputs": [],
1237
+ "name": "linkToRegisteredNftId",
1238
+ "outputs": [
1239
+ {
1240
+ "internalType": "NftId",
1241
+ "name": "nftId",
1242
+ "type": "uint96"
1243
+ }
1244
+ ],
1245
+ "stateMutability": "nonpayable",
1246
+ "type": "function"
1247
+ },
1248
+ {
1249
+ "inputs": [
1250
+ {
1251
+ "internalType": "address",
1252
+ "name": "from",
1253
+ "type": "address"
1254
+ },
1255
+ {
1256
+ "internalType": "address",
1257
+ "name": "to",
1258
+ "type": "address"
1259
+ },
1260
+ {
1261
+ "internalType": "uint256",
1262
+ "name": "tokenId",
1263
+ "type": "uint256"
1264
+ },
1265
+ {
1266
+ "internalType": "address",
1267
+ "name": "operator",
1268
+ "type": "address"
1269
+ }
1270
+ ],
1271
+ "name": "nftTransferFrom",
1272
+ "outputs": [],
1273
+ "stateMutability": "nonpayable",
1274
+ "type": "function"
1275
+ },
1276
+ {
1277
+ "inputs": [
1278
+ {
1279
+ "internalType": "NftId",
1280
+ "name": "targetNftId",
1281
+ "type": "uint96"
1282
+ },
1283
+ {
1284
+ "internalType": "Amount",
1285
+ "name": "dipAmount",
1286
+ "type": "uint96"
1287
+ }
1288
+ ],
1289
+ "name": "refillRewardReserves",
1290
+ "outputs": [
1291
+ {
1292
+ "internalType": "Amount",
1293
+ "name": "newBalance",
1294
+ "type": "uint96"
1295
+ }
1296
+ ],
1297
+ "stateMutability": "nonpayable",
1298
+ "type": "function"
1299
+ },
1300
+ {
1301
+ "inputs": [
1302
+ {
1303
+ "internalType": "NftId",
1304
+ "name": "targetNftId",
1305
+ "type": "uint96"
1306
+ },
1307
+ {
1308
+ "components": [
1309
+ {
1310
+ "internalType": "ObjectType",
1311
+ "name": "objectType",
1312
+ "type": "uint8"
1313
+ },
1314
+ {
1315
+ "internalType": "uint256",
1316
+ "name": "chainId",
1317
+ "type": "uint256"
1318
+ },
1319
+ {
1320
+ "internalType": "Seconds",
1321
+ "name": "lockingPeriod",
1322
+ "type": "uint40"
1323
+ },
1324
+ {
1325
+ "internalType": "UFixed",
1326
+ "name": "rewardRate",
1327
+ "type": "uint128"
1328
+ },
1329
+ {
1330
+ "internalType": "Amount",
1331
+ "name": "maxStakedAmount",
1332
+ "type": "uint96"
1333
+ }
1334
+ ],
1335
+ "internalType": "struct IStaking.TargetInfo",
1336
+ "name": "targetInfo",
1337
+ "type": "tuple"
1338
+ }
1339
+ ],
1340
+ "name": "registerRemoteTarget",
1341
+ "outputs": [],
1342
+ "stateMutability": "nonpayable",
1343
+ "type": "function"
1344
+ },
1345
+ {
1346
+ "inputs": [
1347
+ {
1348
+ "internalType": "NftId",
1349
+ "name": "targetNftId",
1350
+ "type": "uint96"
1351
+ },
1352
+ {
1353
+ "internalType": "ObjectType",
1354
+ "name": "expectedObjectType",
1355
+ "type": "uint8"
1356
+ },
1357
+ {
1358
+ "internalType": "uint256",
1359
+ "name": "chainId",
1360
+ "type": "uint256"
1361
+ },
1362
+ {
1363
+ "internalType": "Seconds",
1364
+ "name": "initialLockingPeriod",
1365
+ "type": "uint40"
1366
+ },
1367
+ {
1368
+ "internalType": "UFixed",
1369
+ "name": "initialRewardRate",
1370
+ "type": "uint128"
1371
+ }
1372
+ ],
1373
+ "name": "registerTarget",
1374
+ "outputs": [],
1375
+ "stateMutability": "nonpayable",
1376
+ "type": "function"
1377
+ },
1378
+ {
1379
+ "inputs": [
1380
+ {
1381
+ "internalType": "NftId",
1382
+ "name": "stakeNftId",
1383
+ "type": "uint96"
1384
+ },
1385
+ {
1386
+ "internalType": "NftId",
1387
+ "name": "newStakeNftId",
1388
+ "type": "uint96"
1389
+ }
1390
+ ],
1391
+ "name": "restake",
1392
+ "outputs": [
1393
+ {
1394
+ "internalType": "Amount",
1395
+ "name": "newStakeBalance",
1396
+ "type": "uint96"
1397
+ }
1398
+ ],
1399
+ "stateMutability": "nonpayable",
1400
+ "type": "function"
1401
+ },
1402
+ {
1403
+ "inputs": [
1404
+ {
1405
+ "internalType": "address",
1406
+ "name": "newAuthority",
1407
+ "type": "address"
1408
+ }
1409
+ ],
1410
+ "name": "setAuthority",
1411
+ "outputs": [],
1412
+ "stateMutability": "nonpayable",
1413
+ "type": "function"
1414
+ },
1415
+ {
1416
+ "inputs": [
1417
+ {
1418
+ "internalType": "NftId",
1419
+ "name": "targetNftId",
1420
+ "type": "uint96"
1421
+ },
1422
+ {
1423
+ "internalType": "Seconds",
1424
+ "name": "lockingPeriod",
1425
+ "type": "uint40"
1426
+ }
1427
+ ],
1428
+ "name": "setLockingPeriod",
1429
+ "outputs": [],
1430
+ "stateMutability": "nonpayable",
1431
+ "type": "function"
1432
+ },
1433
+ {
1434
+ "inputs": [
1435
+ {
1436
+ "internalType": "NftId",
1437
+ "name": "targetNftId",
1438
+ "type": "uint96"
1439
+ },
1440
+ {
1441
+ "internalType": "Amount",
1442
+ "name": "maxStakedAmount",
1443
+ "type": "uint96"
1444
+ }
1445
+ ],
1446
+ "name": "setMaxStakedAmount",
1447
+ "outputs": [],
1448
+ "stateMutability": "nonpayable",
1449
+ "type": "function"
1450
+ },
1451
+ {
1452
+ "inputs": [
1453
+ {
1454
+ "internalType": "NftId",
1455
+ "name": "targetNftId",
1456
+ "type": "uint96"
1457
+ },
1458
+ {
1459
+ "internalType": "UFixed",
1460
+ "name": "rewardRate",
1461
+ "type": "uint128"
1462
+ }
1463
+ ],
1464
+ "name": "setRewardRate",
1465
+ "outputs": [],
1466
+ "stateMutability": "nonpayable",
1467
+ "type": "function"
1468
+ },
1469
+ {
1470
+ "inputs": [
1471
+ {
1472
+ "internalType": "uint256",
1473
+ "name": "chainId",
1474
+ "type": "uint256"
1475
+ },
1476
+ {
1477
+ "internalType": "address",
1478
+ "name": "token",
1479
+ "type": "address"
1480
+ },
1481
+ {
1482
+ "internalType": "UFixed",
1483
+ "name": "stakingRate",
1484
+ "type": "uint128"
1485
+ }
1486
+ ],
1487
+ "name": "setStakingRate",
1488
+ "outputs": [],
1489
+ "stateMutability": "nonpayable",
1490
+ "type": "function"
1491
+ },
1492
+ {
1493
+ "inputs": [
1494
+ {
1495
+ "internalType": "contract StakingReader",
1496
+ "name": "stakingReader",
1497
+ "type": "address"
1498
+ }
1499
+ ],
1500
+ "name": "setStakingReader",
1501
+ "outputs": [],
1502
+ "stateMutability": "nonpayable",
1503
+ "type": "function"
1504
+ },
1505
+ {
1506
+ "inputs": [
1507
+ {
1508
+ "internalType": "NftId",
1509
+ "name": "stakeNftId",
1510
+ "type": "uint96"
1511
+ },
1512
+ {
1513
+ "internalType": "Amount",
1514
+ "name": "stakeAmount",
1515
+ "type": "uint96"
1516
+ }
1517
+ ],
1518
+ "name": "stake",
1519
+ "outputs": [
1520
+ {
1521
+ "internalType": "Amount",
1522
+ "name": "stakeBalance",
1523
+ "type": "uint96"
1524
+ }
1525
+ ],
1526
+ "stateMutability": "nonpayable",
1527
+ "type": "function"
1528
+ },
1529
+ {
1530
+ "inputs": [
1531
+ {
1532
+ "internalType": "bytes4",
1533
+ "name": "interfaceId",
1534
+ "type": "bytes4"
1535
+ }
1536
+ ],
1537
+ "name": "supportsInterface",
1538
+ "outputs": [
1539
+ {
1540
+ "internalType": "bool",
1541
+ "name": "",
1542
+ "type": "bool"
1543
+ }
1544
+ ],
1545
+ "stateMutability": "view",
1546
+ "type": "function"
1547
+ },
1548
+ {
1549
+ "inputs": [
1550
+ {
1551
+ "internalType": "NftId",
1552
+ "name": "stakeNftId",
1553
+ "type": "uint96"
1554
+ }
1555
+ ],
1556
+ "name": "unstake",
1557
+ "outputs": [
1558
+ {
1559
+ "internalType": "Amount",
1560
+ "name": "unstakedAmount",
1561
+ "type": "uint96"
1562
+ },
1563
+ {
1564
+ "internalType": "Amount",
1565
+ "name": "rewardsClaimedAmount",
1566
+ "type": "uint96"
1567
+ }
1568
+ ],
1569
+ "stateMutability": "nonpayable",
1570
+ "type": "function"
1571
+ },
1572
+ {
1573
+ "inputs": [
1574
+ {
1575
+ "internalType": "NftId",
1576
+ "name": "targetNftId",
1577
+ "type": "uint96"
1578
+ },
1579
+ {
1580
+ "internalType": "address",
1581
+ "name": "token",
1582
+ "type": "address"
1583
+ },
1584
+ {
1585
+ "internalType": "Amount",
1586
+ "name": "amount",
1587
+ "type": "uint96"
1588
+ }
1589
+ ],
1590
+ "name": "updateRemoteTvl",
1591
+ "outputs": [],
1592
+ "stateMutability": "nonpayable",
1593
+ "type": "function"
1594
+ },
1595
+ {
1596
+ "inputs": [
1597
+ {
1598
+ "internalType": "NftId",
1599
+ "name": "stakeNftId",
1600
+ "type": "uint96"
1601
+ }
1602
+ ],
1603
+ "name": "updateRewards",
1604
+ "outputs": [],
1605
+ "stateMutability": "nonpayable",
1606
+ "type": "function"
1607
+ },
1608
+ {
1609
+ "inputs": [
1610
+ {
1611
+ "internalType": "bytes",
1612
+ "name": "data",
1613
+ "type": "bytes"
1614
+ }
1615
+ ],
1616
+ "name": "upgradeVersionable",
1617
+ "outputs": [],
1618
+ "stateMutability": "nonpayable",
1619
+ "type": "function"
1620
+ },
1621
+ {
1622
+ "inputs": [
1623
+ {
1624
+ "internalType": "NftId",
1625
+ "name": "targetNftId",
1626
+ "type": "uint96"
1627
+ },
1628
+ {
1629
+ "internalType": "Amount",
1630
+ "name": "dipAmount",
1631
+ "type": "uint96"
1632
+ }
1633
+ ],
1634
+ "name": "withdrawRewardReserves",
1635
+ "outputs": [
1636
+ {
1637
+ "internalType": "Amount",
1638
+ "name": "newBalance",
1639
+ "type": "uint96"
1640
+ }
1641
+ ],
1642
+ "stateMutability": "nonpayable",
1643
+ "type": "function"
1644
+ }
1645
+ ],
1646
+ "bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b614eb2806100d65f395ff3fe608060405234801561000f575f80fd5b50600436106102e5575f3560e01c8063614d08f81161019557806390edbd35116100e4578063caed98971161009e578063dea4ccf211610079578063dea4ccf2146106a2578063e8ce883d146106d5578063ea15869f146106e8578063ea48ce9b1461070f575f80fd5b8063caed989714610674578063d44f8a4b1461067c578063de0eb85f1461068f575f80fd5b806390edbd3514610615578063958697a01461062a578063ad12ad601461063d578063ada9652e14610650578063b423086c14610664578063bf7e214f1461066c575f80fd5b8063719f761a1161014f5780637d4b50441161012a5780637d4b5044146105d157806386c75754146105e4578063893d20e8146105ec5780638fb36037146105f4575f80fd5b8063719f761a1461059157806376b707b7146105a45780637a9e5e4b146105be575f80fd5b8063614d08f81461050d5780636291423a14610533578063644c45e01461053b57806368d602b4146105585780636c1e9dff1461056b5780636d387fe41461057e575f80fd5b8063223668441161025157806349bb9e4b1161020b5780635ab1bd53116101e65780635ab1bd53146104c35780635cbb7d85146104d45780635ecf260f146104e75780635fd1efec146104fa575f80fd5b806349bb9e4b14610495578063544e2263146104a85780635741e5e9146104bb575f80fd5b8063223668441461044457806322f3e2d41461044c57806331ecc5cc14610454578063329d6e7414610467578063419197fe1461047a57806343d752d31461048d575f80fd5b806311576805116102a257806311576805146103ad57806313299604146103c0578063138461e0146103e057806317d7de7c146104005780631eff4b221461041557806321df0da71461043c575f80fd5b806301ffc9a7146102e9578063062c9cdf1461032a57806309980bfd1461035f5780630d8e6e2c146103695780630fec111c1461038557806310a0638a1461039a575b5f80fd5b6103156102f7366004614169565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6103517fafe8d4462b2ed26a47154f4b8f6d1497d2f772496965791d25bd456e342b7f0081565b604051908152602001610321565b610367610722565b005b610371610918565b60405162ffffff9091168152602001610321565b61038d61099f565b60405161032191906141c5565b6103676103a8366004614265565b610b59565b6103676103bb366004614294565b610c3d565b6103c8610ea4565b6040516001600160a01b039091168152602001610321565b6103e8610f0c565b6040516001600160601b039091168152602001610321565b610408610f16565b60405161032191906142cb565b6103517f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6103c8610f26565b610315610f6a565b610315611060565b6103676104623660046142dd565b6110d7565b61036761047536600461442b565b611282565b610367610488366004614470565b6113cc565b6103c861141e565b6103676104a336600461449c565b611439565b6103676104b6366004614508565b611535565b610315611579565b6001546001600160a01b03166103c8565b6103e86104e236600461459f565b61162f565b6103676104f53660046145bb565b6117ad565b6103676105083660046145e7565b611a1c565b610408604051806040016040528060078152602001665374616b696e6760c81b81525081565b6103c8611b81565b5f80516020614e1d833981519152546001600160601b03166103e8565b610367610566366004614602565b611b9c565b6103e861057936600461459f565b611dc7565b61036761058c36600461459f565b611f0b565b6103e861059f366004614265565b612168565b6105ac6123d9565b60405160ff9091168152602001610321565b6103676105cc3660046145e7565b61244d565b6103676105df366004614636565b6124cf565b6103c8612695565b6103c86126b0565b6105fc6127e1565b6040516001600160e01b03199091168152602001610321565b61061d612816565b604051610321919061469a565b6103676106383660046146e8565b61283b565b61036761064b366004614715565b612884565b6103515f80516020614e1d83398151915281565b61061d612926565b6103c8612936565b6103c8612951565b6103e861068a3660046146e8565b612969565b6103e861069d36600461459f565b612af8565b6106b56106b0366004614265565b612b93565b604080516001600160601b03938416815292909116602083015201610321565b6103e86106e336600461459f565b612f0a565b6103517fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b6103e861071d3660046146e8565b612f61565b6001546001600160a01b0316331461075457604051632a6e1a8960e01b81523360048201526024015b60405180910390fd5b5f61075d6130a5565b90505f6107686130a5565b546040805163b201f70960e01b815290516001600160a01b039092169163b201f709916004808201926020929091908290030181865afa1580156107ae573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107d29190614775565b905073__$51089c37ca0df1177a910c640c8c5f8165$__6350c6470d6108006001546001600160a01b031690565b30846108146001546001600160a01b031690565b6001600160a01b031663e2b178a06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561084f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108739190614775565b60405160e086901b6001600160e01b03191681526001600160a01b039485166004820152928416602484015290831660448301529091166064820152608401602060405180830381865af41580156108cd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108f19190614775565b60019290920180546001600160a01b0319166001600160a01b039093169290921790915550565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610976573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061099a9190614790565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610a4b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a6f91906147bd565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610ab76126b0565b6001600160a01b03168152602001826001018054610ad4906147d8565b80601f0160208091040260200160405190810160405280929190818152602001828054610b00906147d8565b8015610b4b5780601f10610b2257610100808354040283529160200191610b4b565b820191905f5260205f20905b815481529060010190602001808311610b2e57829003601f168201915b505050505081525091505090565b610b65335b5f366130c9565b80610b6e6130a5565b60020154604051634f9c1c0960e01b81526001600160601b03831660048201526001600160a01b0390911690634f9c1c0990602401602060405180830381865afa158015610bbe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610be2919061481f565b610c0a57604051632ab4595b60e11b81526001600160601b038216600482015260240161074b565b5f610c136130a5565b60038101546002820154919250610c37916001600160a01b039182169116856131c7565b50505050565b610c4633610b5e565b81610c4f6130a5565b6002015f9054906101000a90046001600160a01b03166001600160a01b0316635cce3fa16040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ca0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cc49190614775565b604051634f9c1c0960e01b81526001600160601b03831660048201526001600160a01b039190911690634f9c1c0990602401602060405180830381865afa158015610d11573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d35919061481f565b610d5d576040516396cff01560e01b81526001600160601b038216600482015260240161074b565b5f8073__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__6340beafd53087876040518463ffffffff1660e01b8152600401610d9a93929190614838565b60c060405180830381865af4158015610db5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dd991906148e6565b91509150610de56130a5565b6002015460405163402ef10560e11b81526001600160a01b039091169063805de20a90610e18908890859060040161491a565b5f604051808303815f87803b158015610e2f575f80fd5b505af1158015610e41573d5f803e3d5ffd5b5050604080516001600160601b03891681526001600160801b0380871660208301528816918101919091527fde1f24c901906160b0ea3cfb06036a9fef1c0a0f363185589786a38aaf2772c2925060600190505b60405180910390a15050505050565b5f610ead61141e565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ee8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061099a9190614775565b5f61099a30613333565b6060610f20612816565b51919050565b5f610f2f61141e565b6001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ee8573d5f803e3d5ffd5b5f610f7d6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610fc1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fe591906147bd565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561103c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061099a919061481f565b5f611069612936565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa1580156110ad573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110d1919061481f565b15905090565b6110e033610b5e565b5f6110e96130a5565b6003810154604051630e8d845760e31b81526001600160a01b0390911660048201526001600160601b038086166024830152841660448201529091505f9073__$f048dbd5170c0ac319fa0222065b281d84$__9063746c22b890606401602060405180830381865af4158015611161573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611185919061497f565b60028301546040805160208101825264ffffffffff848116825291516331420df160e11b81526001600160601b038a166004820152905190911660248201529192506001600160a01b0316906362841be2906044015f604051808303815f87803b1580156111f1575f80fd5b505af1158015611203573d5f803e3d5ffd5b505050506002820154604051633861317f60e01b81526001600160601b0380881660048301528087166024830152851660448201526001600160a01b0390911690633861317f906064015b5f604051808303815f87803b158015611265575f80fd5b505af1158015611277573d5f803e3d5ffd5b505050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c6112a4610918565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156112e2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611306919061499a565b5f80516020614e5d8339815191528054600160401b900460ff1680611338575080546001600160401b03808416911610155b156113565760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556113808361352c565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b6113d533610b5e565b6113dd6126b0565b6001600160a01b0316336001600160a01b0316146114105760405163086391f760e31b815233600482015260240161074b565b61141a8282613534565b5050565b5f6114276130a5565b600101546001600160a01b0316919050565b5f80516020614e5d8339815191528054600160401b810460ff1615906001600160401b03165f8115801561146a5750825b90505f826001600160401b031660011480156114855750303b155b905081158015611493575080155b156114b15760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156114db57845460ff60401b1916600160401b1785555b6114e587876135a1565b831561152c57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b61153e33610b5e565b6115466126b0565b6001600160a01b0316336001600160a01b03161461141a5760405163086391f760e31b815233600482015260240161074b565b5f611582610f6a565b15611606576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa1580156115d6573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526115fd9190810190614a0d565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f015460ff1690565b5f61163933610b5e565b826116426130a5565b60020154604051634f9c1c0960e01b81526001600160601b03831660048201526001600160a01b0390911690634f9c1c0990602401602060405180830381865afa158015611692573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116b6919061481f565b6116de57604051632ab4595b60e11b81526001600160601b038216600482015260240161074b565b6116e984601e61396c565b6116f483601e61396c565b5f6116fd6130a5565b6003810154600282015460405163060550e560e41b81526001600160a01b039283166004820152911660248201526001600160601b0380881660448301528616606482015290915073__$f048dbd5170c0ac319fa0222065b281d84$__906360550e50906084015b602060405180830381865af4158015611780573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117a491906147bd565b95945050505050565b6117b633610b5e565b816117bf6130a5565b6002015f9054906101000a90046001600160a01b03166001600160a01b0316635cce3fa16040518163ffffffff1660e01b8152600401602060405180830381865afa158015611810573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118349190614775565b604051634f9c1c0960e01b81526001600160601b03831660048201526001600160a01b039190911690634f9c1c0990602401602060405180830381865afa158015611881573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118a5919061481f565b6118cd576040516396cff01560e01b81526001600160601b038216600482015260240161074b565b604051635f9c0df360e11b81523060048201526001600160601b038416602482015264ffffffffff831660448201525f90819073__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__9063bf381be69060640160c060405180830381865af415801561193a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061195e9190614add565b9150915061196a6130a5565b6002015460405163402ef10560e11b81526001600160a01b039091169063805de20a9061199d908890859060040161491a565b5f604051808303815f87803b1580156119b4575f80fd5b505af11580156119c6573d5f803e3d5ffd5b5050604080516001600160601b038916815264ffffffffff80871660208301528816918101919091527fb847665302c1d8b6f507e07b17145514cea04af84e1665d629d82246992311e792506060019050610e95565b611a246126b0565b6001600160a01b0316336001600160a01b031614611a575760405163086391f760e31b815233600482015260240161074b565b306001600160a01b0316816001600160a01b0316637b1391a66040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a9d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ac19190614775565b6001600160a01b031614611b5457806001600160a01b0316637b1391a66040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b0b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b2f9190614775565b604051631641c88f60e11b81526001600160a01b03909116600482015260240161074b565b80611b5d6130a5565b60030180546001600160a01b0319166001600160a01b039290921691909117905550565b5f611b8a6130a5565b600301546001600160a01b0316919050565b611ba46126b0565b6001600160a01b0316336001600160a01b031614611bd75760405163086391f760e31b815233600482015260240161074b565b5f611be06130a5565b8054604051631703edc360e31b8152600481018790526001600160a01b03868116602483015292935091169063b81f6e1890604401602060405180830381865afa158015611c30573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c54919061481f565b611c83576040516374ddbd6960e01b8152600481018590526001600160a01b038416602482015260440161074b565b6002810154604051637b21556160e01b8152600481018690526001600160a01b0385811660248301525f921690637b21556190604401602060405180830381865afa158015611cd4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cf89190614af9565b6002830154604051631a3580ad60e21b8152600481018890526001600160a01b0387811660248301526001600160801b03871660448301529293509116906368d602b4906064015f604051808303815f87803b158015611d56575f80fd5b505af1158015611d68573d5f803e3d5ffd5b5050604080518881526001600160a01b03881660208201526001600160801b038086169282019290925290861660608201527f4c0080673994ee59b6e555dd157b61ec0e49a97286af1f0a036db16c731ee99392506080019050610e95565b5f611dd133610b5e565b82611dda6130a5565b60020154604051634f9c1c0960e01b81526001600160601b03831660048201526001600160a01b0390911690634f9c1c0990602401602060405180830381865afa158015611e2a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e4e919061481f565b611e7657604051632ab4595b60e11b81526001600160601b038216600482015260240161074b565b5f611e7f6130a5565b905073__$f048dbd5170c0ac319fa0222065b281d84$__630fcf5d08611ead6001546001600160a01b031690565b6003840154600285015460405160e085901b6001600160e01b03191681526001600160a01b03938416600482015291831660248301529190911660448201526001600160601b0380891660648301528716608482015260a401611765565b611f1433610b5e565b81611f1d6130a5565b6002015f9054906101000a90046001600160a01b03166001600160a01b0316635cce3fa16040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f6e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f929190614775565b604051634f9c1c0960e01b81526001600160601b03831660048201526001600160a01b039190911690634f9c1c0990602401602060405180830381865afa158015611fdf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612003919061481f565b61202b576040516396cff01560e01b81526001600160601b038216600482015260240161074b565b5f612034611b81565b60405163153d412560e31b81526001600160601b03861660048201526001600160a01b03919091169063a9ea09289060240160a060405180830381865afa158015612081573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120a59190614b14565b6001600160601b038416608082015290506120be6130a5565b6002015460405163402ef10560e11b81526001600160a01b039091169063805de20a906120f1908790859060040161491a565b5f604051808303815f87803b158015612108575f80fd5b505af115801561211a573d5f803e3d5ffd5b5050604080516001600160601b038089168252871660208201527fad500c174503de7381b30d4ef78eace9ae22e817b4843b07b9b0522a231a75d7935001905060405180910390a150505050565b5f61217233610b5e565b8161217b6130a5565b60020154604051634f9c1c0960e01b81526001600160601b03831660048201526001600160a01b0390911690634f9c1c0990602401602060405180830381865afa1580156121cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121ef919061481f565b61221757604051632ab4595b60e11b81526001600160601b038216600482015260240161074b565b5f6122206130a5565b600381015460028201549192505f91612246916001600160a01b039081169116876131c7565b9050816002015f9054906101000a90046001600160a01b03166001600160a01b0316633fbdfe32868373__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af41580156122b6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122da91906147bd565b60405160e085901b6001600160e01b03191681526001600160601b039384166004820152918316602483015290911660448201526064016020604051808303815f875af115801561232d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061235191906147bd565b600283015460405163136cfef760e01b81526001600160601b038085166004830152831660248201529195506001600160a01b03169063136cfef7906044016020604051808303815f875af11580156123ac573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123d091906147bd565b50505050919050565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015612429573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061099a9190614b2e565b33612456612936565b6001600160a01b0316816001600160a01b0316146124915760405162d1953b60e31b81526001600160a01b038216600482015260240161074b565b816001600160a01b03163b5f036124c6576040516361798f2f60e11b81526001600160a01b038316600482015260240161074b565b61141a82613a23565b6124d833610b5e565b73__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__63fa8bc7ab6125046001546001600160a01b031690565b61250c6130a5565b6003015460405160e084901b6001600160e01b03191681526001600160a01b039283166004820152911660248201526001600160601b038816604482015260ff8716606482015264ffffffffff851660848201526001600160801b03841660a482015260c4015f6040518083038186803b158015612588575f80fd5b505af415801561259a573d5f803e3d5ffd5b505050506125a66130a5565b6002015f9054906101000a90046001600160a01b03166001600160a01b03166320a0e1a4866040518060a001604052808860ff1681526020018781526020018664ffffffffff168152602001856001600160801b0316815260200173__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015612648573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061266c91906147bd565b6001600160601b03168152506040518363ffffffff1660e01b815260040161124e92919061491a565b5f61269e6130a5565b600201546001600160a01b0316919050565b5f805f80516020614e1d83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561271c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612740919061481f565b156127cb576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156127a1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127c59190614775565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020614e3d83398151915280545f9190600160a01b900460ff16612808575f6127c5565b638fb3603760e01b91505090565b61281e614140565b612826610f6a565b156128335761099a613a83565b61099a612926565b61284433610b5e565b61284c6126b0565b6001600160a01b0316336001600160a01b03161461287f5760405163086391f760e31b815233600482015260240161074b565b505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156128cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128ef9190614775565b6001600160a01b0316336001600160a01b0316146129215760405162f0630960e01b815233600482015260240161074b565b610c37565b61292e614140565b61099a613a83565b5f80516020614e3d833981519152546001600160a01b031690565b5f61295a6130a5565b546001600160a01b0316919050565b5f61297333610b5e565b5f61297c6130a5565b600381015460405163153d412560e31b81526001600160601b03881660048201529192505f916001600160a01b039091169063a9ea09289060240160a060405180830381865afa1580156129d2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129f69190614b14565b602001516003830154604051637b21556160e01b8152600481018390526001600160a01b0388811660248301529293505f9290911690637b21556190604401602060405180830381865afa158015612a50573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a749190614af9565b600284015460405163eb8c20db60e01b81529192506001600160a01b03169063eb8c20db90612aad908a9085908b908b90600401614b49565b6020604051808303815f875af1158015612ac9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612aed91906147bd565b979650505050505050565b5f612b0233610b5e565b5f612b0b6130a5565b600281015460405163d7537c3760e01b81526001600160601b038088166004830152861660248201529192506001600160a01b03169063d7537c37906044015b6020604051808303815f875af1158015612b67573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b8b91906147bd565b949350505050565b5f80612b9e33610b5e565b82612ba76130a5565b60020154604051634f9c1c0960e01b81526001600160601b03831660048201526001600160a01b0390911690634f9c1c0990602401602060405180830381865afa158015612bf7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c1b919061481f565b612c4357604051632ab4595b60e11b81526001600160601b038216600482015260240161074b565b5f612c4c6130a5565b600381015460405163b3eff9e160e01b81526001600160a01b0390911660048201526001600160601b038716602482015290915073__$f048dbd5170c0ac319fa0222065b281d84$__9063b3eff9e190604401602060405180830381865af4158015612cba573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612cde919061497f565b50600381015460028201545f91612d02916001600160a01b039182169116886131c7565b9050816002015f9054906101000a90046001600160a01b03166001600160a01b031663eb98e8a0878373__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015612d72573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d9691906147bd565b73__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015612ddd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e0191906147bd565b60405160e086901b6001600160e01b03191681526001600160601b03948516600482015292841660248401529083166044830152909116606482015260840160408051808303815f875af1158015612e5b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e7f9190614b86565b600284015460405163136cfef760e01b81526001600160601b038086166004830152831660248201529297509095506001600160a01b03169063136cfef7906044016020604051808303815f875af1158015612edd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f0191906147bd565b50505050915091565b5f612f1433610b5e565b5f612f1d6130a5565b600281015460405163136cfef760e01b81526001600160601b038088166004830152861660248201529192506001600160a01b03169063136cfef790604401612b4b565b5f612f6b33610b5e565b5f612f746130a5565b600381015460405163153d412560e31b81526001600160601b03881660048201529192505f916001600160a01b039091169063a9ea09289060240160a060405180830381865afa158015612fca573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612fee9190614b14565b602001516003830154604051637b21556160e01b8152600481018390526001600160a01b0388811660248301529293505f9290911690637b21556190604401602060405180830381865afa158015613048573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061306c9190614af9565b600284015460405163d579dfa760e01b81529192506001600160a01b03169063d579dfa790612aad908a9085908b908b90600401614b49565b7fafe8d4462b2ed26a47154f4b8f6d1497d2f772496965791d25bd456e342b7f0090565b5f80516020614e3d8339815191525f806131016130e4612936565b87306130f360045f8a8c614bb3565b6130fc91614bda565b613b67565b91509150816131bf5763ffffffff81161561319c57825460ff60a01b1916600160a01b17835561312f612936565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161315e93929190614c12565b5f604051808303815f87803b158015613175575f80fd5b505af1158015613187573d5f803e3d5ffd5b5050845460ff60a01b19168555506131bf9050565b60405162d1953b60e31b81526001600160a01b038716600482015260240161074b565b505050505050565b6040516312b9a5c960e01b81526001600160601b03821660048201525f9081906001600160a01b038616906312b9a5c9906024016040805180830381865afa158015613215573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132399190614c51565b604051638a63e06760e01b815291935091505f9073__$f048dbd5170c0ac319fa0222065b281d84$__90638a63e0679061327b90899088908790600401614838565b6040805180830381865af4158015613295573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132b99190614b86565b50604051634a2101d160e01b81526001600160601b0380871660048301528086166024830152821660448201529091506001600160a01b03861690634a2101d1906064015f604051808303815f87803b158015613314575f80fd5b505af1158015613326573d5f803e3d5ffd5b5050505050509392505050565b5f805f80516020614e1d83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561339f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906133c3919061481f565b156133ef5780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161074b565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015613441573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613465919061481f565b61348d5760405163b9304b0d60e01b81526001600160a01b038416600482015260240161074b565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa1580156134df573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061350391906147bd565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b6102e5613c6f565b61353e6003613ca7565b6040516320c8cbff60e11b81526001600160a01b0384811660048301526001600160601b0384166024830152919091169063419197fe906044015f604051808303815f87803b15801561358f575f80fd5b505af11580156131bf573d5f803e3d5ffd5b5f80516020614e5d8339815191528054600160401b810460ff1615906001600160401b03165f811580156135d25750825b90505f826001600160401b031660011480156135ed5750303b155b9050811580156135fb575080155b156136195760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561364357845460ff60401b1916600160401b1785555b5f805f808980602001905181019061365b9190614c7e565b93509350935093505f8490505f816001600160a01b031663e2b178a06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156136a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906136c89190614775565b90505f8590505f816001600160a01b031663b201f7096040518163ffffffff1660e01b8152600401602060405180830381865afa15801561370b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061372f9190614775565b90505f61373a6130a5565b9050846001600160a01b031663fff74f6c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613778573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061379c91906147bd565b6003820180546001600160601b0392909216600160a01b026001600160a01b039283161790556002820180549189166001600160a01b0319929092168217905560408051633148a11d60e11b81529051636291423a916004808201926020929091908290030181865afa158015613815573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906138399190614775565b6003820180546001600160a01b03199081166001600160a01b039384161790915582541689821617825560408051630322622f60e51b815290516139119287928d92918a169163644c45e0916004808201926020929091908290030181865afa1580156138a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906138cc91906147bd565b6040805180820190915260078152665374616b696e6760c81b602082015260035f8c60405180602001604052805f81525060405180602001604052805f815250613d3e565b61392163b8f1f5b560e01b613e1a565b505050505050505050831561152c57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001611523565b6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa1580156139ce573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906139f2919061481f565b61141a5760405163d711af7560e01b81526001600160601b038316600482015260ff8216602482015260440161074b565b5f80516020614e3d83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b613a8b614140565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060600160405280825f018054613ac8906147d8565b80601f0160208091040260200160405190810160405280929190818152602001828054613af4906147d8565b8015613b3f5780601f10613b1657610100808354040283529160200191613b3f565b820191905f5260205f20905b815481529060010190602001808311613b2257829003601f168201915b505050505081526020015f6001600160a01b03168152602001826002018054610ad4906147d8565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251613bd59190614ccf565b5f60405180830381855afa9150503d805f8114613c0d576040519150601f19603f3d011682016040523d82523d5f602084013e613c12565b606091505b50915091508115613c64576040815110613c445780806020019051810190613c3a9190614ce5565b9094509250613c64565b6020815110613c645780806020019051810190613c61919061481f565b93505b505094509492505050565b5f80516020614e5d83398151915254600160401b900460ff16613ca557604051631afcd79f60e31b815260040160405180910390fd5b565b5f613cba6001546001600160a01b031690565b6001600160a01b031663d39e604383613cd16123d9565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613d14573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613d389190614775565b92915050565b613d46613c6f565b85515f03613d675760405163591eebf360e11b815260040160405180910390fd5b613d7689898988888888613e4d565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0080613da28882614d62565b5060018101805460ff191686151517905560028101613dc18382614d62565b50613dcc600b613ca7565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055613dfe634a531f3360e01b613e1a565b613e0e6306e9e5ff60e31b613e1a565b50505050505050505050565b613e22613c6f565b613e4a816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b613e55613c6f565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015613eab573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613ecf919061481f565b613ef75760405163cf6935e560e01b81526001600160a01b038816600482015260240161074b565b613f0087613f94565b613f0a8683613fa5565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101613f798382614d62565b50613f8a634a531f3360e01b613e1a565b5050505050505050565b613f9c613c6f565b613e4a8161401b565b613fad613c6f565b613fb561402c565b613fbe82614074565b6001600160a01b038116613fe55760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020614e1d83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b614023613c6f565b613e4a81613a23565b614034613c6f565b613ca56301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61407c613c6f565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af41580156140d2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906140f6919061481f565b61411e5760405163fdeac91f60e01b81526001600160a01b038216600482015260240161074b565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6040518060600160405280606081526020015f6001600160a01b03168152602001606081525090565b5f60208284031215614179575f80fd5b81356001600160e01b031981168114614190575f80fd5b9392505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f606083015161420d608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152612b8b610100840182614197565b6001600160601b0381168114613e4a575f80fd5b5f60208284031215614275575f80fd5b813561419081614251565b6001600160801b0381168114613e4a575f80fd5b5f80604083850312156142a5575f80fd5b82356142b081614251565b915060208301356142c081614280565b809150509250929050565b602081525f6141906020830184614197565b5f805f606084860312156142ef575f80fd5b83356142fa81614251565b9250602084013561430a81614251565b9150604084013561431a81614251565b809150509250925092565b634e487b7160e01b5f52604160045260245ffd5b60405160a081016001600160401b038111828210171561435b5761435b614325565b60405290565b60405160e081016001600160401b038111828210171561435b5761435b614325565b604051601f8201601f191681016001600160401b03811182821017156143ab576143ab614325565b604052919050565b5f6001600160401b038211156143cb576143cb614325565b50601f01601f191660200190565b5f82601f8301126143e8575f80fd5b81356143fb6143f6826143b3565b614383565b81815284602083860101111561440f575f80fd5b816020850160208301375f918101602001919091529392505050565b5f6020828403121561443b575f80fd5b81356001600160401b03811115614450575f80fd5b612b8b848285016143d9565b6001600160a01b0381168114613e4a575f80fd5b5f8060408385031215614481575f80fd5b823561448c8161445c565b915060208301356142c081614251565b5f80604083850312156144ad575f80fd5b82356144b88161445c565b915060208301356001600160401b038111156144d2575f80fd5b6144de858286016143d9565b9150509250929050565b60ff81168114613e4a575f80fd5b64ffffffffff81168114613e4a575f80fd5b5f8082840360c081121561451a575f80fd5b833561452581614251565b925060a0601f1982011215614538575f80fd5b50614541614339565b602084013561454f816144e8565b8152604084013560208201526060840135614569816144f6565b6040820152608084013561457c81614280565b606082015260a084013561458f81614251565b6080820152919491935090915050565b5f80604083850312156145b0575f80fd5b823561448c81614251565b5f80604083850312156145cc575f80fd5b82356145d781614251565b915060208301356142c0816144f6565b5f602082840312156145f7575f80fd5b81356141908161445c565b5f805f60608486031215614614575f80fd5b8335925060208401356146268161445c565b9150604084013561431a81614280565b5f805f805f60a0868803121561464a575f80fd5b853561465581614251565b94506020860135614665816144e8565b935060408601359250606086013561467c816144f6565b9150608086013561468c81614280565b809150509295509295909350565b602081525f8251606060208401526146b56080840182614197565b60208501516001600160a01b0316604085810191909152850151848203601f190160608601529091506117a48282614197565b5f805f606084860312156146fa575f80fd5b833561470581614251565b9250602084013561430a8161445c565b5f805f8060808587031215614728575f80fd5b84356147338161445c565b935060208501356147438161445c565b925060408501359150606085013561475a8161445c565b939692955090935050565b80516147708161445c565b919050565b5f60208284031215614785575f80fd5b81516141908161445c565b5f602082840312156147a0575f80fd5b815162ffffff81168114614190575f80fd5b805161477081614251565b5f602082840312156147cd575f80fd5b815161419081614251565b600181811c908216806147ec57607f821691505b60208210810361480a57634e487b7160e01b5f52602260045260245ffd5b50919050565b80518015158114614770575f80fd5b5f6020828403121561482f575f80fd5b61419082614810565b6001600160a01b039390931683526001600160601b039190911660208301526001600160801b0316604082015260600190565b8051614770816144e8565b5f60a08284031215614886575f80fd5b61488e614339565b9050815161489b816144e8565b81526020828101519082015260408201516148b5816144f6565b604082015260608201516148c881614280565b606082015260808201516148db81614251565b608082015292915050565b5f8060c083850312156148f7575f80fd5b825161490281614280565b91506149118460208501614876565b90509250929050565b5f60c0820190506001600160601b038416825260ff83511660208301526020830151604083015264ffffffffff60408401511660608301526001600160801b0360608401511660808301526001600160601b0360808401511660a08301529392505050565b5f6020828403121561498f575f80fd5b8151614190816144f6565b5f602082840312156149aa575f80fd5b81516001600160401b0381168114614190575f80fd5b5f82601f8301126149cf575f80fd5b81516149dd6143f6826143b3565b8181528460208386010111156149f1575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215614a1d575f80fd5b81516001600160401b03811115614a32575f80fd5b820160e08185031215614a43575f80fd5b614a4b614361565b614a54826147b2565b8152614a62602083016147b2565b6020820152614a736040830161486b565b6040820152614a8460608301614810565b6060820152614a9560808301614765565b6080820152614aa660a08301614765565b60a082015260c08201516001600160401b03811115614ac3575f80fd5b614acf868285016149c0565b60c083015250949350505050565b5f8060c08385031215614aee575f80fd5b8251614902816144f6565b5f60208284031215614b09575f80fd5b815161419081614280565b5f60a08284031215614b24575f80fd5b6141908383614876565b5f60208284031215614b3e575f80fd5b8151614190816144e8565b6001600160601b0394851681526001600160801b039390931660208401526001600160a01b03919091166040830152909116606082015260800190565b5f8060408385031215614b97575f80fd5b8251614ba281614251565b60208401519092506142c081614251565b5f8085851115614bc1575f80fd5b83861115614bcd575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015614c0b576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f8060408385031215614c62575f80fd5b8251614c6d81614251565b60208401519092506142c081614280565b5f805f8060808587031215614c91575f80fd5b8451614c9c8161445c565b6020860151909450614cad8161445c565b6040860151909350614cbe8161445c565b606086015190925061475a8161445c565b5f82518060208501845e5f920191825250919050565b5f8060408385031215614cf6575f80fd5b614cff83614810565b9150602083015163ffffffff811681146142c0575f80fd5b601f82111561287f57805f5260205f20601f840160051c81016020851015614d3c5750805b601f840160051c820191505b81811015614d5b575f8155600101614d48565b5050505050565b81516001600160401b03811115614d7b57614d7b614325565b614d8f81614d8984546147d8565b84614d17565b6020601f821160018114614dc1575f8315614daa5750848201515b5f19600385901b1c1916600184901b178455614d5b565b5f84815260208120601f198516915b82811015614df05787850151825560209485019460019092019101614dd0565b5084821015614e0d57868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a264697066735822122076f09d9ec5feebbe84213389575d2585e14f80cd2e61767243ab9268646b1fc464736f6c634300081a0033",
1647
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106102e5575f3560e01c8063614d08f81161019557806390edbd35116100e4578063caed98971161009e578063dea4ccf211610079578063dea4ccf2146106a2578063e8ce883d146106d5578063ea15869f146106e8578063ea48ce9b1461070f575f80fd5b8063caed989714610674578063d44f8a4b1461067c578063de0eb85f1461068f575f80fd5b806390edbd3514610615578063958697a01461062a578063ad12ad601461063d578063ada9652e14610650578063b423086c14610664578063bf7e214f1461066c575f80fd5b8063719f761a1161014f5780637d4b50441161012a5780637d4b5044146105d157806386c75754146105e4578063893d20e8146105ec5780638fb36037146105f4575f80fd5b8063719f761a1461059157806376b707b7146105a45780637a9e5e4b146105be575f80fd5b8063614d08f81461050d5780636291423a14610533578063644c45e01461053b57806368d602b4146105585780636c1e9dff1461056b5780636d387fe41461057e575f80fd5b8063223668441161025157806349bb9e4b1161020b5780635ab1bd53116101e65780635ab1bd53146104c35780635cbb7d85146104d45780635ecf260f146104e75780635fd1efec146104fa575f80fd5b806349bb9e4b14610495578063544e2263146104a85780635741e5e9146104bb575f80fd5b8063223668441461044457806322f3e2d41461044c57806331ecc5cc14610454578063329d6e7414610467578063419197fe1461047a57806343d752d31461048d575f80fd5b806311576805116102a257806311576805146103ad57806313299604146103c0578063138461e0146103e057806317d7de7c146104005780631eff4b221461041557806321df0da71461043c575f80fd5b806301ffc9a7146102e9578063062c9cdf1461032a57806309980bfd1461035f5780630d8e6e2c146103695780630fec111c1461038557806310a0638a1461039a575b5f80fd5b6103156102f7366004614169565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6103517fafe8d4462b2ed26a47154f4b8f6d1497d2f772496965791d25bd456e342b7f0081565b604051908152602001610321565b610367610722565b005b610371610918565b60405162ffffff9091168152602001610321565b61038d61099f565b60405161032191906141c5565b6103676103a8366004614265565b610b59565b6103676103bb366004614294565b610c3d565b6103c8610ea4565b6040516001600160a01b039091168152602001610321565b6103e8610f0c565b6040516001600160601b039091168152602001610321565b610408610f16565b60405161032191906142cb565b6103517f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6103c8610f26565b610315610f6a565b610315611060565b6103676104623660046142dd565b6110d7565b61036761047536600461442b565b611282565b610367610488366004614470565b6113cc565b6103c861141e565b6103676104a336600461449c565b611439565b6103676104b6366004614508565b611535565b610315611579565b6001546001600160a01b03166103c8565b6103e86104e236600461459f565b61162f565b6103676104f53660046145bb565b6117ad565b6103676105083660046145e7565b611a1c565b610408604051806040016040528060078152602001665374616b696e6760c81b81525081565b6103c8611b81565b5f80516020614e1d833981519152546001600160601b03166103e8565b610367610566366004614602565b611b9c565b6103e861057936600461459f565b611dc7565b61036761058c36600461459f565b611f0b565b6103e861059f366004614265565b612168565b6105ac6123d9565b60405160ff9091168152602001610321565b6103676105cc3660046145e7565b61244d565b6103676105df366004614636565b6124cf565b6103c8612695565b6103c86126b0565b6105fc6127e1565b6040516001600160e01b03199091168152602001610321565b61061d612816565b604051610321919061469a565b6103676106383660046146e8565b61283b565b61036761064b366004614715565b612884565b6103515f80516020614e1d83398151915281565b61061d612926565b6103c8612936565b6103c8612951565b6103e861068a3660046146e8565b612969565b6103e861069d36600461459f565b612af8565b6106b56106b0366004614265565b612b93565b604080516001600160601b03938416815292909116602083015201610321565b6103e86106e336600461459f565b612f0a565b6103517fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b6103e861071d3660046146e8565b612f61565b6001546001600160a01b0316331461075457604051632a6e1a8960e01b81523360048201526024015b60405180910390fd5b5f61075d6130a5565b90505f6107686130a5565b546040805163b201f70960e01b815290516001600160a01b039092169163b201f709916004808201926020929091908290030181865afa1580156107ae573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107d29190614775565b905073__$51089c37ca0df1177a910c640c8c5f8165$__6350c6470d6108006001546001600160a01b031690565b30846108146001546001600160a01b031690565b6001600160a01b031663e2b178a06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561084f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108739190614775565b60405160e086901b6001600160e01b03191681526001600160a01b039485166004820152928416602484015290831660448301529091166064820152608401602060405180830381865af41580156108cd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108f19190614775565b60019290920180546001600160a01b0319166001600160a01b039093169290921790915550565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610976573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061099a9190614790565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610a4b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a6f91906147bd565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610ab76126b0565b6001600160a01b03168152602001826001018054610ad4906147d8565b80601f0160208091040260200160405190810160405280929190818152602001828054610b00906147d8565b8015610b4b5780601f10610b2257610100808354040283529160200191610b4b565b820191905f5260205f20905b815481529060010190602001808311610b2e57829003601f168201915b505050505081525091505090565b610b65335b5f366130c9565b80610b6e6130a5565b60020154604051634f9c1c0960e01b81526001600160601b03831660048201526001600160a01b0390911690634f9c1c0990602401602060405180830381865afa158015610bbe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610be2919061481f565b610c0a57604051632ab4595b60e11b81526001600160601b038216600482015260240161074b565b5f610c136130a5565b60038101546002820154919250610c37916001600160a01b039182169116856131c7565b50505050565b610c4633610b5e565b81610c4f6130a5565b6002015f9054906101000a90046001600160a01b03166001600160a01b0316635cce3fa16040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ca0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cc49190614775565b604051634f9c1c0960e01b81526001600160601b03831660048201526001600160a01b039190911690634f9c1c0990602401602060405180830381865afa158015610d11573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d35919061481f565b610d5d576040516396cff01560e01b81526001600160601b038216600482015260240161074b565b5f8073__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__6340beafd53087876040518463ffffffff1660e01b8152600401610d9a93929190614838565b60c060405180830381865af4158015610db5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dd991906148e6565b91509150610de56130a5565b6002015460405163402ef10560e11b81526001600160a01b039091169063805de20a90610e18908890859060040161491a565b5f604051808303815f87803b158015610e2f575f80fd5b505af1158015610e41573d5f803e3d5ffd5b5050604080516001600160601b03891681526001600160801b0380871660208301528816918101919091527fde1f24c901906160b0ea3cfb06036a9fef1c0a0f363185589786a38aaf2772c2925060600190505b60405180910390a15050505050565b5f610ead61141e565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ee8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061099a9190614775565b5f61099a30613333565b6060610f20612816565b51919050565b5f610f2f61141e565b6001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ee8573d5f803e3d5ffd5b5f610f7d6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610fc1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fe591906147bd565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561103c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061099a919061481f565b5f611069612936565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa1580156110ad573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110d1919061481f565b15905090565b6110e033610b5e565b5f6110e96130a5565b6003810154604051630e8d845760e31b81526001600160a01b0390911660048201526001600160601b038086166024830152841660448201529091505f9073__$f048dbd5170c0ac319fa0222065b281d84$__9063746c22b890606401602060405180830381865af4158015611161573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611185919061497f565b60028301546040805160208101825264ffffffffff848116825291516331420df160e11b81526001600160601b038a166004820152905190911660248201529192506001600160a01b0316906362841be2906044015f604051808303815f87803b1580156111f1575f80fd5b505af1158015611203573d5f803e3d5ffd5b505050506002820154604051633861317f60e01b81526001600160601b0380881660048301528087166024830152851660448201526001600160a01b0390911690633861317f906064015b5f604051808303815f87803b158015611265575f80fd5b505af1158015611277573d5f803e3d5ffd5b505050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c6112a4610918565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156112e2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611306919061499a565b5f80516020614e5d8339815191528054600160401b900460ff1680611338575080546001600160401b03808416911610155b156113565760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556113808361352c565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b6113d533610b5e565b6113dd6126b0565b6001600160a01b0316336001600160a01b0316146114105760405163086391f760e31b815233600482015260240161074b565b61141a8282613534565b5050565b5f6114276130a5565b600101546001600160a01b0316919050565b5f80516020614e5d8339815191528054600160401b810460ff1615906001600160401b03165f8115801561146a5750825b90505f826001600160401b031660011480156114855750303b155b905081158015611493575080155b156114b15760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156114db57845460ff60401b1916600160401b1785555b6114e587876135a1565b831561152c57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b61153e33610b5e565b6115466126b0565b6001600160a01b0316336001600160a01b03161461141a5760405163086391f760e31b815233600482015260240161074b565b5f611582610f6a565b15611606576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa1580156115d6573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526115fd9190810190614a0d565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f015460ff1690565b5f61163933610b5e565b826116426130a5565b60020154604051634f9c1c0960e01b81526001600160601b03831660048201526001600160a01b0390911690634f9c1c0990602401602060405180830381865afa158015611692573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116b6919061481f565b6116de57604051632ab4595b60e11b81526001600160601b038216600482015260240161074b565b6116e984601e61396c565b6116f483601e61396c565b5f6116fd6130a5565b6003810154600282015460405163060550e560e41b81526001600160a01b039283166004820152911660248201526001600160601b0380881660448301528616606482015290915073__$f048dbd5170c0ac319fa0222065b281d84$__906360550e50906084015b602060405180830381865af4158015611780573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117a491906147bd565b95945050505050565b6117b633610b5e565b816117bf6130a5565b6002015f9054906101000a90046001600160a01b03166001600160a01b0316635cce3fa16040518163ffffffff1660e01b8152600401602060405180830381865afa158015611810573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118349190614775565b604051634f9c1c0960e01b81526001600160601b03831660048201526001600160a01b039190911690634f9c1c0990602401602060405180830381865afa158015611881573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118a5919061481f565b6118cd576040516396cff01560e01b81526001600160601b038216600482015260240161074b565b604051635f9c0df360e11b81523060048201526001600160601b038416602482015264ffffffffff831660448201525f90819073__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__9063bf381be69060640160c060405180830381865af415801561193a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061195e9190614add565b9150915061196a6130a5565b6002015460405163402ef10560e11b81526001600160a01b039091169063805de20a9061199d908890859060040161491a565b5f604051808303815f87803b1580156119b4575f80fd5b505af11580156119c6573d5f803e3d5ffd5b5050604080516001600160601b038916815264ffffffffff80871660208301528816918101919091527fb847665302c1d8b6f507e07b17145514cea04af84e1665d629d82246992311e792506060019050610e95565b611a246126b0565b6001600160a01b0316336001600160a01b031614611a575760405163086391f760e31b815233600482015260240161074b565b306001600160a01b0316816001600160a01b0316637b1391a66040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a9d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ac19190614775565b6001600160a01b031614611b5457806001600160a01b0316637b1391a66040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b0b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b2f9190614775565b604051631641c88f60e11b81526001600160a01b03909116600482015260240161074b565b80611b5d6130a5565b60030180546001600160a01b0319166001600160a01b039290921691909117905550565b5f611b8a6130a5565b600301546001600160a01b0316919050565b611ba46126b0565b6001600160a01b0316336001600160a01b031614611bd75760405163086391f760e31b815233600482015260240161074b565b5f611be06130a5565b8054604051631703edc360e31b8152600481018790526001600160a01b03868116602483015292935091169063b81f6e1890604401602060405180830381865afa158015611c30573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c54919061481f565b611c83576040516374ddbd6960e01b8152600481018590526001600160a01b038416602482015260440161074b565b6002810154604051637b21556160e01b8152600481018690526001600160a01b0385811660248301525f921690637b21556190604401602060405180830381865afa158015611cd4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cf89190614af9565b6002830154604051631a3580ad60e21b8152600481018890526001600160a01b0387811660248301526001600160801b03871660448301529293509116906368d602b4906064015f604051808303815f87803b158015611d56575f80fd5b505af1158015611d68573d5f803e3d5ffd5b5050604080518881526001600160a01b03881660208201526001600160801b038086169282019290925290861660608201527f4c0080673994ee59b6e555dd157b61ec0e49a97286af1f0a036db16c731ee99392506080019050610e95565b5f611dd133610b5e565b82611dda6130a5565b60020154604051634f9c1c0960e01b81526001600160601b03831660048201526001600160a01b0390911690634f9c1c0990602401602060405180830381865afa158015611e2a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e4e919061481f565b611e7657604051632ab4595b60e11b81526001600160601b038216600482015260240161074b565b5f611e7f6130a5565b905073__$f048dbd5170c0ac319fa0222065b281d84$__630fcf5d08611ead6001546001600160a01b031690565b6003840154600285015460405160e085901b6001600160e01b03191681526001600160a01b03938416600482015291831660248301529190911660448201526001600160601b0380891660648301528716608482015260a401611765565b611f1433610b5e565b81611f1d6130a5565b6002015f9054906101000a90046001600160a01b03166001600160a01b0316635cce3fa16040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f6e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f929190614775565b604051634f9c1c0960e01b81526001600160601b03831660048201526001600160a01b039190911690634f9c1c0990602401602060405180830381865afa158015611fdf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612003919061481f565b61202b576040516396cff01560e01b81526001600160601b038216600482015260240161074b565b5f612034611b81565b60405163153d412560e31b81526001600160601b03861660048201526001600160a01b03919091169063a9ea09289060240160a060405180830381865afa158015612081573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120a59190614b14565b6001600160601b038416608082015290506120be6130a5565b6002015460405163402ef10560e11b81526001600160a01b039091169063805de20a906120f1908790859060040161491a565b5f604051808303815f87803b158015612108575f80fd5b505af115801561211a573d5f803e3d5ffd5b5050604080516001600160601b038089168252871660208201527fad500c174503de7381b30d4ef78eace9ae22e817b4843b07b9b0522a231a75d7935001905060405180910390a150505050565b5f61217233610b5e565b8161217b6130a5565b60020154604051634f9c1c0960e01b81526001600160601b03831660048201526001600160a01b0390911690634f9c1c0990602401602060405180830381865afa1580156121cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121ef919061481f565b61221757604051632ab4595b60e11b81526001600160601b038216600482015260240161074b565b5f6122206130a5565b600381015460028201549192505f91612246916001600160a01b039081169116876131c7565b9050816002015f9054906101000a90046001600160a01b03166001600160a01b0316633fbdfe32868373__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af41580156122b6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122da91906147bd565b60405160e085901b6001600160e01b03191681526001600160601b039384166004820152918316602483015290911660448201526064016020604051808303815f875af115801561232d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061235191906147bd565b600283015460405163136cfef760e01b81526001600160601b038085166004830152831660248201529195506001600160a01b03169063136cfef7906044016020604051808303815f875af11580156123ac573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123d091906147bd565b50505050919050565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015612429573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061099a9190614b2e565b33612456612936565b6001600160a01b0316816001600160a01b0316146124915760405162d1953b60e31b81526001600160a01b038216600482015260240161074b565b816001600160a01b03163b5f036124c6576040516361798f2f60e11b81526001600160a01b038316600482015260240161074b565b61141a82613a23565b6124d833610b5e565b73__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__63fa8bc7ab6125046001546001600160a01b031690565b61250c6130a5565b6003015460405160e084901b6001600160e01b03191681526001600160a01b039283166004820152911660248201526001600160601b038816604482015260ff8716606482015264ffffffffff851660848201526001600160801b03841660a482015260c4015f6040518083038186803b158015612588575f80fd5b505af415801561259a573d5f803e3d5ffd5b505050506125a66130a5565b6002015f9054906101000a90046001600160a01b03166001600160a01b03166320a0e1a4866040518060a001604052808860ff1681526020018781526020018664ffffffffff168152602001856001600160801b0316815260200173__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015612648573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061266c91906147bd565b6001600160601b03168152506040518363ffffffff1660e01b815260040161124e92919061491a565b5f61269e6130a5565b600201546001600160a01b0316919050565b5f805f80516020614e1d83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561271c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612740919061481f565b156127cb576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156127a1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127c59190614775565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020614e3d83398151915280545f9190600160a01b900460ff16612808575f6127c5565b638fb3603760e01b91505090565b61281e614140565b612826610f6a565b156128335761099a613a83565b61099a612926565b61284433610b5e565b61284c6126b0565b6001600160a01b0316336001600160a01b03161461287f5760405163086391f760e31b815233600482015260240161074b565b505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156128cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128ef9190614775565b6001600160a01b0316336001600160a01b0316146129215760405162f0630960e01b815233600482015260240161074b565b610c37565b61292e614140565b61099a613a83565b5f80516020614e3d833981519152546001600160a01b031690565b5f61295a6130a5565b546001600160a01b0316919050565b5f61297333610b5e565b5f61297c6130a5565b600381015460405163153d412560e31b81526001600160601b03881660048201529192505f916001600160a01b039091169063a9ea09289060240160a060405180830381865afa1580156129d2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129f69190614b14565b602001516003830154604051637b21556160e01b8152600481018390526001600160a01b0388811660248301529293505f9290911690637b21556190604401602060405180830381865afa158015612a50573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a749190614af9565b600284015460405163eb8c20db60e01b81529192506001600160a01b03169063eb8c20db90612aad908a9085908b908b90600401614b49565b6020604051808303815f875af1158015612ac9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612aed91906147bd565b979650505050505050565b5f612b0233610b5e565b5f612b0b6130a5565b600281015460405163d7537c3760e01b81526001600160601b038088166004830152861660248201529192506001600160a01b03169063d7537c37906044015b6020604051808303815f875af1158015612b67573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b8b91906147bd565b949350505050565b5f80612b9e33610b5e565b82612ba76130a5565b60020154604051634f9c1c0960e01b81526001600160601b03831660048201526001600160a01b0390911690634f9c1c0990602401602060405180830381865afa158015612bf7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c1b919061481f565b612c4357604051632ab4595b60e11b81526001600160601b038216600482015260240161074b565b5f612c4c6130a5565b600381015460405163b3eff9e160e01b81526001600160a01b0390911660048201526001600160601b038716602482015290915073__$f048dbd5170c0ac319fa0222065b281d84$__9063b3eff9e190604401602060405180830381865af4158015612cba573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612cde919061497f565b50600381015460028201545f91612d02916001600160a01b039182169116886131c7565b9050816002015f9054906101000a90046001600160a01b03166001600160a01b031663eb98e8a0878373__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015612d72573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d9691906147bd565b73__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015612ddd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e0191906147bd565b60405160e086901b6001600160e01b03191681526001600160601b03948516600482015292841660248401529083166044830152909116606482015260840160408051808303815f875af1158015612e5b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e7f9190614b86565b600284015460405163136cfef760e01b81526001600160601b038086166004830152831660248201529297509095506001600160a01b03169063136cfef7906044016020604051808303815f875af1158015612edd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f0191906147bd565b50505050915091565b5f612f1433610b5e565b5f612f1d6130a5565b600281015460405163136cfef760e01b81526001600160601b038088166004830152861660248201529192506001600160a01b03169063136cfef790604401612b4b565b5f612f6b33610b5e565b5f612f746130a5565b600381015460405163153d412560e31b81526001600160601b03881660048201529192505f916001600160a01b039091169063a9ea09289060240160a060405180830381865afa158015612fca573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612fee9190614b14565b602001516003830154604051637b21556160e01b8152600481018390526001600160a01b0388811660248301529293505f9290911690637b21556190604401602060405180830381865afa158015613048573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061306c9190614af9565b600284015460405163d579dfa760e01b81529192506001600160a01b03169063d579dfa790612aad908a9085908b908b90600401614b49565b7fafe8d4462b2ed26a47154f4b8f6d1497d2f772496965791d25bd456e342b7f0090565b5f80516020614e3d8339815191525f806131016130e4612936565b87306130f360045f8a8c614bb3565b6130fc91614bda565b613b67565b91509150816131bf5763ffffffff81161561319c57825460ff60a01b1916600160a01b17835561312f612936565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161315e93929190614c12565b5f604051808303815f87803b158015613175575f80fd5b505af1158015613187573d5f803e3d5ffd5b5050845460ff60a01b19168555506131bf9050565b60405162d1953b60e31b81526001600160a01b038716600482015260240161074b565b505050505050565b6040516312b9a5c960e01b81526001600160601b03821660048201525f9081906001600160a01b038616906312b9a5c9906024016040805180830381865afa158015613215573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132399190614c51565b604051638a63e06760e01b815291935091505f9073__$f048dbd5170c0ac319fa0222065b281d84$__90638a63e0679061327b90899088908790600401614838565b6040805180830381865af4158015613295573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132b99190614b86565b50604051634a2101d160e01b81526001600160601b0380871660048301528086166024830152821660448201529091506001600160a01b03861690634a2101d1906064015f604051808303815f87803b158015613314575f80fd5b505af1158015613326573d5f803e3d5ffd5b5050505050509392505050565b5f805f80516020614e1d83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561339f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906133c3919061481f565b156133ef5780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161074b565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015613441573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613465919061481f565b61348d5760405163b9304b0d60e01b81526001600160a01b038416600482015260240161074b565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa1580156134df573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061350391906147bd565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b6102e5613c6f565b61353e6003613ca7565b6040516320c8cbff60e11b81526001600160a01b0384811660048301526001600160601b0384166024830152919091169063419197fe906044015f604051808303815f87803b15801561358f575f80fd5b505af11580156131bf573d5f803e3d5ffd5b5f80516020614e5d8339815191528054600160401b810460ff1615906001600160401b03165f811580156135d25750825b90505f826001600160401b031660011480156135ed5750303b155b9050811580156135fb575080155b156136195760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561364357845460ff60401b1916600160401b1785555b5f805f808980602001905181019061365b9190614c7e565b93509350935093505f8490505f816001600160a01b031663e2b178a06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156136a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906136c89190614775565b90505f8590505f816001600160a01b031663b201f7096040518163ffffffff1660e01b8152600401602060405180830381865afa15801561370b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061372f9190614775565b90505f61373a6130a5565b9050846001600160a01b031663fff74f6c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613778573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061379c91906147bd565b6003820180546001600160601b0392909216600160a01b026001600160a01b039283161790556002820180549189166001600160a01b0319929092168217905560408051633148a11d60e11b81529051636291423a916004808201926020929091908290030181865afa158015613815573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906138399190614775565b6003820180546001600160a01b03199081166001600160a01b039384161790915582541689821617825560408051630322622f60e51b815290516139119287928d92918a169163644c45e0916004808201926020929091908290030181865afa1580156138a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906138cc91906147bd565b6040805180820190915260078152665374616b696e6760c81b602082015260035f8c60405180602001604052805f81525060405180602001604052805f815250613d3e565b61392163b8f1f5b560e01b613e1a565b505050505050505050831561152c57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001611523565b6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa1580156139ce573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906139f2919061481f565b61141a5760405163d711af7560e01b81526001600160601b038316600482015260ff8216602482015260440161074b565b5f80516020614e3d83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b613a8b614140565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060600160405280825f018054613ac8906147d8565b80601f0160208091040260200160405190810160405280929190818152602001828054613af4906147d8565b8015613b3f5780601f10613b1657610100808354040283529160200191613b3f565b820191905f5260205f20905b815481529060010190602001808311613b2257829003601f168201915b505050505081526020015f6001600160a01b03168152602001826002018054610ad4906147d8565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251613bd59190614ccf565b5f60405180830381855afa9150503d805f8114613c0d576040519150601f19603f3d011682016040523d82523d5f602084013e613c12565b606091505b50915091508115613c64576040815110613c445780806020019051810190613c3a9190614ce5565b9094509250613c64565b6020815110613c645780806020019051810190613c61919061481f565b93505b505094509492505050565b5f80516020614e5d83398151915254600160401b900460ff16613ca557604051631afcd79f60e31b815260040160405180910390fd5b565b5f613cba6001546001600160a01b031690565b6001600160a01b031663d39e604383613cd16123d9565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613d14573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613d389190614775565b92915050565b613d46613c6f565b85515f03613d675760405163591eebf360e11b815260040160405180910390fd5b613d7689898988888888613e4d565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0080613da28882614d62565b5060018101805460ff191686151517905560028101613dc18382614d62565b50613dcc600b613ca7565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055613dfe634a531f3360e01b613e1a565b613e0e6306e9e5ff60e31b613e1a565b50505050505050505050565b613e22613c6f565b613e4a816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b613e55613c6f565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015613eab573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613ecf919061481f565b613ef75760405163cf6935e560e01b81526001600160a01b038816600482015260240161074b565b613f0087613f94565b613f0a8683613fa5565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101613f798382614d62565b50613f8a634a531f3360e01b613e1a565b5050505050505050565b613f9c613c6f565b613e4a8161401b565b613fad613c6f565b613fb561402c565b613fbe82614074565b6001600160a01b038116613fe55760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020614e1d83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b614023613c6f565b613e4a81613a23565b614034613c6f565b613ca56301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61407c613c6f565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af41580156140d2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906140f6919061481f565b61411e5760405163fdeac91f60e01b81526001600160a01b038216600482015260240161074b565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6040518060600160405280606081526020015f6001600160a01b03168152602001606081525090565b5f60208284031215614179575f80fd5b81356001600160e01b031981168114614190575f80fd5b9392505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f606083015161420d608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152612b8b610100840182614197565b6001600160601b0381168114613e4a575f80fd5b5f60208284031215614275575f80fd5b813561419081614251565b6001600160801b0381168114613e4a575f80fd5b5f80604083850312156142a5575f80fd5b82356142b081614251565b915060208301356142c081614280565b809150509250929050565b602081525f6141906020830184614197565b5f805f606084860312156142ef575f80fd5b83356142fa81614251565b9250602084013561430a81614251565b9150604084013561431a81614251565b809150509250925092565b634e487b7160e01b5f52604160045260245ffd5b60405160a081016001600160401b038111828210171561435b5761435b614325565b60405290565b60405160e081016001600160401b038111828210171561435b5761435b614325565b604051601f8201601f191681016001600160401b03811182821017156143ab576143ab614325565b604052919050565b5f6001600160401b038211156143cb576143cb614325565b50601f01601f191660200190565b5f82601f8301126143e8575f80fd5b81356143fb6143f6826143b3565b614383565b81815284602083860101111561440f575f80fd5b816020850160208301375f918101602001919091529392505050565b5f6020828403121561443b575f80fd5b81356001600160401b03811115614450575f80fd5b612b8b848285016143d9565b6001600160a01b0381168114613e4a575f80fd5b5f8060408385031215614481575f80fd5b823561448c8161445c565b915060208301356142c081614251565b5f80604083850312156144ad575f80fd5b82356144b88161445c565b915060208301356001600160401b038111156144d2575f80fd5b6144de858286016143d9565b9150509250929050565b60ff81168114613e4a575f80fd5b64ffffffffff81168114613e4a575f80fd5b5f8082840360c081121561451a575f80fd5b833561452581614251565b925060a0601f1982011215614538575f80fd5b50614541614339565b602084013561454f816144e8565b8152604084013560208201526060840135614569816144f6565b6040820152608084013561457c81614280565b606082015260a084013561458f81614251565b6080820152919491935090915050565b5f80604083850312156145b0575f80fd5b823561448c81614251565b5f80604083850312156145cc575f80fd5b82356145d781614251565b915060208301356142c0816144f6565b5f602082840312156145f7575f80fd5b81356141908161445c565b5f805f60608486031215614614575f80fd5b8335925060208401356146268161445c565b9150604084013561431a81614280565b5f805f805f60a0868803121561464a575f80fd5b853561465581614251565b94506020860135614665816144e8565b935060408601359250606086013561467c816144f6565b9150608086013561468c81614280565b809150509295509295909350565b602081525f8251606060208401526146b56080840182614197565b60208501516001600160a01b0316604085810191909152850151848203601f190160608601529091506117a48282614197565b5f805f606084860312156146fa575f80fd5b833561470581614251565b9250602084013561430a8161445c565b5f805f8060808587031215614728575f80fd5b84356147338161445c565b935060208501356147438161445c565b925060408501359150606085013561475a8161445c565b939692955090935050565b80516147708161445c565b919050565b5f60208284031215614785575f80fd5b81516141908161445c565b5f602082840312156147a0575f80fd5b815162ffffff81168114614190575f80fd5b805161477081614251565b5f602082840312156147cd575f80fd5b815161419081614251565b600181811c908216806147ec57607f821691505b60208210810361480a57634e487b7160e01b5f52602260045260245ffd5b50919050565b80518015158114614770575f80fd5b5f6020828403121561482f575f80fd5b61419082614810565b6001600160a01b039390931683526001600160601b039190911660208301526001600160801b0316604082015260600190565b8051614770816144e8565b5f60a08284031215614886575f80fd5b61488e614339565b9050815161489b816144e8565b81526020828101519082015260408201516148b5816144f6565b604082015260608201516148c881614280565b606082015260808201516148db81614251565b608082015292915050565b5f8060c083850312156148f7575f80fd5b825161490281614280565b91506149118460208501614876565b90509250929050565b5f60c0820190506001600160601b038416825260ff83511660208301526020830151604083015264ffffffffff60408401511660608301526001600160801b0360608401511660808301526001600160601b0360808401511660a08301529392505050565b5f6020828403121561498f575f80fd5b8151614190816144f6565b5f602082840312156149aa575f80fd5b81516001600160401b0381168114614190575f80fd5b5f82601f8301126149cf575f80fd5b81516149dd6143f6826143b3565b8181528460208386010111156149f1575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215614a1d575f80fd5b81516001600160401b03811115614a32575f80fd5b820160e08185031215614a43575f80fd5b614a4b614361565b614a54826147b2565b8152614a62602083016147b2565b6020820152614a736040830161486b565b6040820152614a8460608301614810565b6060820152614a9560808301614765565b6080820152614aa660a08301614765565b60a082015260c08201516001600160401b03811115614ac3575f80fd5b614acf868285016149c0565b60c083015250949350505050565b5f8060c08385031215614aee575f80fd5b8251614902816144f6565b5f60208284031215614b09575f80fd5b815161419081614280565b5f60a08284031215614b24575f80fd5b6141908383614876565b5f60208284031215614b3e575f80fd5b8151614190816144e8565b6001600160601b0394851681526001600160801b039390931660208401526001600160a01b03919091166040830152909116606082015260800190565b5f8060408385031215614b97575f80fd5b8251614ba281614251565b60208401519092506142c081614251565b5f8085851115614bc1575f80fd5b83861115614bcd575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015614c0b576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f8060408385031215614c62575f80fd5b8251614c6d81614251565b60208401519092506142c081614280565b5f805f8060808587031215614c91575f80fd5b8451614c9c8161445c565b6020860151909450614cad8161445c565b6040860151909350614cbe8161445c565b606086015190925061475a8161445c565b5f82518060208501845e5f920191825250919050565b5f8060408385031215614cf6575f80fd5b614cff83614810565b9150602083015163ffffffff811681146142c0575f80fd5b601f82111561287f57805f5260205f20601f840160051c81016020851015614d3c5750805b601f840160051c820191505b81811015614d5b575f8155600101614d48565b5050505050565b81516001600160401b03811115614d7b57614d7b614325565b614d8f81614d8984546147d8565b84614d17565b6020601f821160018114614dc1575f8315614daa5750848201515b5f19600385901b1c1916600184901b178455614d5b565b5f84815260208120601f198516915b82811015614df05787850151825560209485019460019092019101614dd0565b5084821015614e0d57868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a264697066735822122076f09d9ec5feebbe84213389575d2585e14f80cd2e61767243ab9268646b1fc464736f6c634300081a0033",
1648
+ "linkReferences": {
1649
+ "contracts/shared/ContractLib.sol": {
1650
+ "ContractLib": [
1651
+ {
1652
+ "length": 20,
1653
+ "start": 16201
1654
+ },
1655
+ {
1656
+ "length": 20,
1657
+ "start": 16752
1658
+ }
1659
+ ]
1660
+ },
1661
+ "contracts/shared/TokenHandlerDeployerLib.sol": {
1662
+ "TokenHandlerDeployerLib": [
1663
+ {
1664
+ "length": 20,
1665
+ "start": 2220
1666
+ }
1667
+ ]
1668
+ },
1669
+ "contracts/staking/StakingLib.sol": {
1670
+ "StakingLib": [
1671
+ {
1672
+ "length": 20,
1673
+ "start": 4607
1674
+ },
1675
+ {
1676
+ "length": 20,
1677
+ "start": 6173
1678
+ },
1679
+ {
1680
+ "length": 20,
1681
+ "start": 8025
1682
+ },
1683
+ {
1684
+ "length": 20,
1685
+ "start": 11608
1686
+ },
1687
+ {
1688
+ "length": 20,
1689
+ "start": 13093
1690
+ }
1691
+ ]
1692
+ },
1693
+ "contracts/staking/TargetManagerLib.sol": {
1694
+ "TargetManagerLib": [
1695
+ {
1696
+ "length": 20,
1697
+ "start": 3639
1698
+ },
1699
+ {
1700
+ "length": 20,
1701
+ "start": 6616
1702
+ },
1703
+ {
1704
+ "length": 20,
1705
+ "start": 9648
1706
+ }
1707
+ ]
1708
+ },
1709
+ "contracts/type/Amount.sol": {
1710
+ "AmountLib": [
1711
+ {
1712
+ "length": 20,
1713
+ "start": 9031
1714
+ },
1715
+ {
1716
+ "length": 20,
1717
+ "start": 9945
1718
+ },
1719
+ {
1720
+ "length": 20,
1721
+ "start": 11779
1722
+ },
1723
+ {
1724
+ "length": 20,
1725
+ "start": 11886
1726
+ }
1727
+ ]
1728
+ },
1729
+ "contracts/type/NftId.sol": {
1730
+ "NftIdLib": [
1731
+ {
1732
+ "length": 20,
1733
+ "start": 2780
1734
+ },
1735
+ {
1736
+ "length": 20,
1737
+ "start": 4314
1738
+ },
1739
+ {
1740
+ "length": 20,
1741
+ "start": 10170
1742
+ },
1743
+ {
1744
+ "length": 20,
1745
+ "start": 13373
1746
+ }
1747
+ ]
1748
+ },
1749
+ "contracts/type/Version.sol": {
1750
+ "VersionLib": [
1751
+ {
1752
+ "length": 20,
1753
+ "start": 2580
1754
+ },
1755
+ {
1756
+ "length": 20,
1757
+ "start": 4954
1758
+ }
1759
+ ],
1760
+ "VersionPartLib": [
1761
+ {
1762
+ "length": 20,
1763
+ "start": 9415
1764
+ }
1765
+ ]
1766
+ }
1767
+ },
1768
+ "deployedLinkReferences": {
1769
+ "contracts/shared/ContractLib.sol": {
1770
+ "ContractLib": [
1771
+ {
1772
+ "length": 20,
1773
+ "start": 15987
1774
+ },
1775
+ {
1776
+ "length": 20,
1777
+ "start": 16538
1778
+ }
1779
+ ]
1780
+ },
1781
+ "contracts/shared/TokenHandlerDeployerLib.sol": {
1782
+ "TokenHandlerDeployerLib": [
1783
+ {
1784
+ "length": 20,
1785
+ "start": 2006
1786
+ }
1787
+ ]
1788
+ },
1789
+ "contracts/staking/StakingLib.sol": {
1790
+ "StakingLib": [
1791
+ {
1792
+ "length": 20,
1793
+ "start": 4393
1794
+ },
1795
+ {
1796
+ "length": 20,
1797
+ "start": 5959
1798
+ },
1799
+ {
1800
+ "length": 20,
1801
+ "start": 7811
1802
+ },
1803
+ {
1804
+ "length": 20,
1805
+ "start": 11394
1806
+ },
1807
+ {
1808
+ "length": 20,
1809
+ "start": 12879
1810
+ }
1811
+ ]
1812
+ },
1813
+ "contracts/staking/TargetManagerLib.sol": {
1814
+ "TargetManagerLib": [
1815
+ {
1816
+ "length": 20,
1817
+ "start": 3425
1818
+ },
1819
+ {
1820
+ "length": 20,
1821
+ "start": 6402
1822
+ },
1823
+ {
1824
+ "length": 20,
1825
+ "start": 9434
1826
+ }
1827
+ ]
1828
+ },
1829
+ "contracts/type/Amount.sol": {
1830
+ "AmountLib": [
1831
+ {
1832
+ "length": 20,
1833
+ "start": 8817
1834
+ },
1835
+ {
1836
+ "length": 20,
1837
+ "start": 9731
1838
+ },
1839
+ {
1840
+ "length": 20,
1841
+ "start": 11565
1842
+ },
1843
+ {
1844
+ "length": 20,
1845
+ "start": 11672
1846
+ }
1847
+ ]
1848
+ },
1849
+ "contracts/type/NftId.sol": {
1850
+ "NftIdLib": [
1851
+ {
1852
+ "length": 20,
1853
+ "start": 2566
1854
+ },
1855
+ {
1856
+ "length": 20,
1857
+ "start": 4100
1858
+ },
1859
+ {
1860
+ "length": 20,
1861
+ "start": 9956
1862
+ },
1863
+ {
1864
+ "length": 20,
1865
+ "start": 13159
1866
+ }
1867
+ ]
1868
+ },
1869
+ "contracts/type/Version.sol": {
1870
+ "VersionLib": [
1871
+ {
1872
+ "length": 20,
1873
+ "start": 2366
1874
+ },
1875
+ {
1876
+ "length": 20,
1877
+ "start": 4740
1878
+ }
1879
+ ],
1880
+ "VersionPartLib": [
1881
+ {
1882
+ "length": 20,
1883
+ "start": 9201
1884
+ }
1885
+ ]
1886
+ }
1887
+ }
1888
+ }