@etherisc/gif-next 0.0.2-fe88ad7-208 → 0.0.2-fe8cf39-182

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