@etherisc/gif-next 0.0.2-8d47fa1-080 → 0.0.2-8d681eb-812

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (810) hide show
  1. package/README.md +305 -21
  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 +1652 -0
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1279 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1403 -0
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +790 -0
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  17. package/artifacts/contracts/{instance/module/access → authorization}/IAccess.sol/IAccess.json +1 -1
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1333 -0
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +455 -0
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +397 -0
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +646 -0
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1209 -0
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +805 -0
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +930 -0
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1633 -0
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +896 -0
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  37. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +829 -0
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  39. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +1100 -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 +1445 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +805 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2002 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +805 -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 +1388 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +805 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1152 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1612 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +805 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2389 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +805 -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 +502 -1599
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  71. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +915 -0
  72. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/Instance.sol/Instance.json +627 -1971
  74. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  75. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2338 -0
  76. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  77. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +902 -0
  78. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  79. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +2698 -0
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  81. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1161 -0
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  83. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +734 -0
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  85. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3728 -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/base/Cloneable.sol/Cloneable.json +137 -0
  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 +4 -0
  101. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  102. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  103. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/IComponents.sol/IComponents.json} +2 -2
  104. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  105. package/artifacts/contracts/instance/module/{distribution/IDistribution.sol → IDistribution.sol}/IDistribution.json +1 -1
  106. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  107. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  108. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  109. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  110. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  111. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  112. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  113. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +938 -0
  114. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  115. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +810 -0
  116. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  117. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  118. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  119. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +753 -0
  120. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  121. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +733 -0
  122. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  123. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +854 -0
  124. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  125. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +997 -0
  126. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  127. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +764 -0
  128. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  129. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1231 -0
  130. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  131. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +805 -0
  132. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  133. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1261 -0
  134. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  135. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +800 -0
  136. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  137. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +880 -0
  138. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  139. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +886 -0
  140. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  141. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1230 -0
  142. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  143. package/artifacts/contracts/pool/Pool.sol/Pool.json +1006 -0
  144. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  145. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  146. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  147. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1574 -0
  148. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  149. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +808 -0
  150. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  151. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +879 -0
  152. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  153. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +740 -0
  154. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  155. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1140 -0
  156. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  157. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +805 -0
  158. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  159. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1496 -0
  160. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  161. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +848 -0
  162. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  163. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IApplicationService.sol/IApplicationService.json} +295 -330
  164. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  165. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1064 -0
  166. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  167. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +981 -0
  168. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  169. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +623 -0
  170. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  171. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +997 -0
  172. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  173. package/artifacts/contracts/{instance/base/ServiceBase.sol/ServiceBase.json → product/IRiskService.sol/IRiskService.json} +246 -146
  174. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  175. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1333 -0
  176. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  177. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +349 -0
  178. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  179. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +808 -0
  180. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  181. package/artifacts/contracts/product/PricingService.sol/PricingService.json +911 -0
  182. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  183. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +764 -0
  184. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  185. package/artifacts/contracts/product/Product.sol/Product.json +1098 -0
  186. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  187. package/artifacts/contracts/product/RiskService.sol/RiskService.json +688 -0
  188. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  189. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +736 -0
  190. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  191. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +103 -2
  192. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  193. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +810 -171
  194. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  195. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +561 -186
  196. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  197. package/artifacts/contracts/{instance/IInstanceLinked.sol/IInstanceLinked.json → registry/IRelease.sol/IRelease.json} +6 -6
  198. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  199. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -0
  200. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  201. package/artifacts/contracts/registry/Registry.sol/Registry.json +1016 -148
  202. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  203. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2127 -0
  204. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  205. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1053 -0
  206. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  207. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +625 -217
  208. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  209. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +735 -0
  210. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  211. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2140 -0
  212. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  213. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  214. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  215. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1393 -0
  216. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  217. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +683 -0
  218. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  219. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +661 -0
  220. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  221. package/artifacts/contracts/shared/Component.sol/Component.json +686 -0
  222. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  223. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1556 -0
  224. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  225. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +816 -0
  226. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  227. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +253 -161
  228. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  229. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +616 -0
  230. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  231. package/artifacts/contracts/shared/{IOwnable.sol/IOwnable.json → ContractLib.sol/IInstanceAdminHelper.json} +5 -5
  232. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  233. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  234. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  235. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  236. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  237. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +611 -0
  238. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  239. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1196 -0
  240. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  241. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +688 -0
  242. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  243. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +122 -172
  244. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  245. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  246. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  247. package/artifacts/contracts/{instance/module/component/ComponentModule.sol/ComponentModule.json → shared/INftOwnable.sol/INftOwnable.json} +82 -52
  248. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  249. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
  250. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  251. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +213 -8
  252. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  253. package/artifacts/contracts/{registry → shared}/IRegistryLinked.sol/IRegistryLinked.json +13 -2
  254. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  255. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → shared/IService.sol/IService.json} +189 -179
  256. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  257. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  258. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  259. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +776 -0
  260. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  261. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  262. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  263. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  264. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  265. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  266. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  267. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +209 -0
  268. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  269. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
  270. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  271. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +226 -8
  272. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  273. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
  274. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  275. package/artifacts/contracts/{instance/base/InstanceBase.sol/InstanceBase.json → shared/Service.sol/Service.json} +196 -199
  276. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  277. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +723 -0
  278. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  279. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  280. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  281. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  282. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  283. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1491 -0
  284. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  285. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1167 -0
  286. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  287. package/artifacts/contracts/staking/Staking.sol/Staking.json +1888 -0
  288. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  289. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +469 -0
  290. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  291. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  292. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +792 -0
  294. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  295. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +560 -0
  296. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  297. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1380 -0
  298. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  299. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +736 -0
  300. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  301. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2297 -0
  302. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  303. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +617 -0
  304. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  305. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  306. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  307. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  308. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  309. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  310. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  311. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  312. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  313. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  314. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  315. package/artifacts/contracts/type/Fee.sol/FeeLib.json +373 -0
  316. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  317. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  318. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  319. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  320. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  321. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  322. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  323. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  324. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  325. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +241 -0
  326. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  327. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  328. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  329. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  330. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  331. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  332. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  333. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +204 -0
  334. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  335. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +254 -0
  336. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  337. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +246 -0
  338. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  339. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  340. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  341. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  342. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  343. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  344. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  345. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  346. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  347. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  348. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  349. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +572 -0
  350. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  351. package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
  352. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  353. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +167 -0
  354. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  355. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +55 -0
  356. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  357. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +618 -0
  358. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  359. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  360. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  361. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +78 -0
  362. package/contracts/accounting/AccountingService.sol +262 -0
  363. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  364. package/contracts/accounting/IAccountingService.sol +45 -0
  365. package/contracts/authorization/AccessAdmin.sol +789 -0
  366. package/contracts/authorization/AccessAdminLib.sol +387 -0
  367. package/contracts/authorization/AccessManagerCloneable.sol +158 -0
  368. package/contracts/authorization/Authorization.sol +174 -0
  369. package/contracts/authorization/IAccess.sol +67 -0
  370. package/contracts/authorization/IAccessAdmin.sol +137 -0
  371. package/contracts/authorization/IAuthorization.sol +27 -0
  372. package/contracts/authorization/IServiceAuthorization.sol +78 -0
  373. package/contracts/authorization/ServiceAuthorization.sol +320 -0
  374. package/contracts/distribution/BasicDistribution.sol +141 -0
  375. package/contracts/distribution/BasicDistributionAuthorization.sol +67 -0
  376. package/contracts/distribution/Distribution.sol +245 -0
  377. package/contracts/distribution/DistributionService.sol +438 -0
  378. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  379. package/contracts/distribution/IDistributionComponent.sol +45 -0
  380. package/contracts/distribution/IDistributionService.sol +109 -0
  381. package/contracts/examples/fire/DamageLevel.sol +59 -0
  382. package/contracts/examples/fire/FirePool.sol +86 -0
  383. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  384. package/contracts/examples/fire/FireProduct.sol +433 -0
  385. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  386. package/contracts/examples/fire/FireUSD.sol +26 -0
  387. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  388. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  389. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  390. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  391. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  392. package/contracts/examples/unpermissioned/SimpleProduct.sol +373 -0
  393. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  394. package/contracts/instance/BundleSet.sol +130 -0
  395. package/contracts/instance/IInstance.sol +132 -47
  396. package/contracts/instance/IInstanceService.sol +105 -0
  397. package/contracts/instance/Instance.sol +328 -72
  398. package/contracts/instance/InstanceAdmin.sol +355 -0
  399. package/contracts/instance/InstanceAuthorizationV3.sol +262 -0
  400. package/contracts/instance/InstanceReader.sol +705 -0
  401. package/contracts/instance/InstanceService.sol +514 -0
  402. package/contracts/instance/InstanceServiceManager.sol +39 -0
  403. package/contracts/instance/InstanceStore.sol +298 -0
  404. package/contracts/instance/RiskSet.sol +118 -0
  405. package/contracts/instance/base/BalanceStore.sol +123 -0
  406. package/contracts/instance/base/Cloneable.sol +28 -0
  407. package/contracts/instance/base/ObjectCounter.sol +20 -0
  408. package/contracts/instance/base/ObjectLifecycle.sol +113 -0
  409. package/contracts/instance/base/ObjectSet.sol +77 -0
  410. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  411. package/contracts/instance/module/IBundle.sol +21 -0
  412. package/contracts/instance/module/IComponents.sol +62 -0
  413. package/contracts/instance/module/IDistribution.sol +54 -0
  414. package/contracts/instance/module/IPolicy.sol +105 -0
  415. package/contracts/instance/module/IRisk.sol +16 -0
  416. package/contracts/{test/TestToken.sol → mock/Dip.sol} +6 -6
  417. package/contracts/oracle/BasicOracle.sol +45 -0
  418. package/contracts/oracle/BasicOracleAuthorization.sol +53 -0
  419. package/contracts/oracle/IOracle.sol +41 -0
  420. package/contracts/oracle/IOracleComponent.sol +33 -0
  421. package/contracts/oracle/IOracleService.sol +66 -0
  422. package/contracts/oracle/Oracle.sol +154 -0
  423. package/contracts/oracle/OracleService.sol +310 -0
  424. package/contracts/oracle/OracleServiceManager.sol +39 -0
  425. package/contracts/pool/BasicPool.sol +173 -0
  426. package/contracts/pool/BasicPoolAuthorization.sol +82 -0
  427. package/contracts/pool/BundleService.sol +395 -0
  428. package/contracts/pool/BundleServiceManager.sol +39 -0
  429. package/contracts/pool/IBundleService.sol +115 -0
  430. package/contracts/pool/IPoolComponent.sol +62 -0
  431. package/contracts/pool/IPoolService.sol +165 -0
  432. package/contracts/pool/Pool.sol +343 -0
  433. package/contracts/pool/PoolLib.sol +260 -0
  434. package/contracts/pool/PoolService.sol +733 -0
  435. package/contracts/pool/PoolServiceManager.sol +39 -0
  436. package/contracts/product/ApplicationService.sol +274 -0
  437. package/contracts/product/ApplicationServiceManager.sol +38 -0
  438. package/contracts/product/BasicProduct.sol +49 -0
  439. package/contracts/product/BasicProductAuthorization.sol +61 -0
  440. package/contracts/product/ClaimService.sol +630 -0
  441. package/contracts/product/ClaimServiceManager.sol +38 -0
  442. package/contracts/product/IApplicationService.sol +69 -0
  443. package/contracts/product/IClaimService.sol +135 -0
  444. package/contracts/product/IPolicyService.sol +95 -0
  445. package/contracts/product/IPricingService.sol +40 -0
  446. package/contracts/product/IProductComponent.sol +62 -0
  447. package/contracts/product/IRiskService.sol +33 -0
  448. package/contracts/product/PolicyService.sol +664 -0
  449. package/contracts/product/PolicyServiceLib.sol +86 -0
  450. package/contracts/product/PolicyServiceManager.sol +39 -0
  451. package/contracts/product/PricingService.sol +309 -0
  452. package/contracts/product/PricingServiceManager.sol +39 -0
  453. package/contracts/product/Product.sol +467 -0
  454. package/contracts/product/RiskService.sol +154 -0
  455. package/contracts/product/RiskServiceManager.sol +39 -0
  456. package/contracts/registry/ChainNft.sol +99 -37
  457. package/contracts/registry/IRegistry.sol +135 -40
  458. package/contracts/registry/IRegistryService.sol +49 -16
  459. package/contracts/registry/IRelease.sol +29 -0
  460. package/contracts/registry/ITransferInterceptor.sol +1 -1
  461. package/contracts/registry/Registry.sol +569 -344
  462. package/contracts/registry/RegistryAdmin.sol +188 -0
  463. package/contracts/registry/RegistryAuthorization.sol +277 -0
  464. package/contracts/registry/RegistryService.sol +147 -289
  465. package/contracts/registry/RegistryServiceManager.sol +53 -0
  466. package/contracts/registry/ReleaseAdmin.sol +195 -0
  467. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  468. package/contracts/registry/ReleaseRegistry.sol +520 -0
  469. package/contracts/registry/ServiceAuthorizationV3.sol +341 -0
  470. package/contracts/registry/TokenRegistry.sol +314 -0
  471. package/contracts/shared/Component.sol +210 -0
  472. package/contracts/shared/ComponentService.sol +708 -0
  473. package/contracts/shared/ComponentServiceManager.sol +38 -0
  474. package/contracts/shared/ComponentVerifyingService.sol +128 -0
  475. package/contracts/shared/ContractLib.sol +292 -0
  476. package/contracts/shared/IComponent.sol +58 -0
  477. package/contracts/shared/IComponentService.sol +112 -0
  478. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  479. package/contracts/shared/IKeyValueStore.sol +54 -0
  480. package/contracts/{instance/base → shared}/ILifecycle.sol +6 -5
  481. package/contracts/shared/INftOwnable.sol +25 -0
  482. package/contracts/shared/IPolicyHolder.sol +35 -0
  483. package/contracts/shared/IRegisterable.sol +24 -9
  484. package/contracts/shared/IRegistryLinked.sol +11 -0
  485. package/contracts/shared/IService.sol +23 -0
  486. package/contracts/shared/InitializableERC165.sol +35 -0
  487. package/contracts/shared/InstanceLinkedComponent.sol +195 -0
  488. package/contracts/shared/KeyValueStore.sol +131 -0
  489. package/contracts/shared/Lifecycle.sol +88 -0
  490. package/contracts/shared/NftIdSet.sol +65 -0
  491. package/contracts/shared/NftOwnable.sol +127 -0
  492. package/contracts/shared/PolicyHolder.sol +62 -0
  493. package/contracts/shared/Registerable.sol +51 -62
  494. package/contracts/shared/RegistryLinked.sol +38 -0
  495. package/contracts/shared/Service.sol +67 -0
  496. package/contracts/shared/TokenHandler.sol +342 -0
  497. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  498. package/contracts/staking/IStaking.sol +179 -0
  499. package/contracts/staking/IStakingService.sol +172 -0
  500. package/contracts/staking/Staking.sol +546 -0
  501. package/contracts/staking/StakingLib.sol +281 -0
  502. package/contracts/staking/StakingLifecycle.sol +23 -0
  503. package/contracts/staking/StakingManager.sol +52 -0
  504. package/contracts/staking/StakingReader.sol +180 -0
  505. package/contracts/staking/StakingService.sol +464 -0
  506. package/contracts/staking/StakingServiceManager.sol +45 -0
  507. package/contracts/staking/StakingStore.sol +606 -0
  508. package/contracts/staking/TargetManagerLib.sol +211 -0
  509. package/contracts/{types → type}/AddressSet.sol +1 -1
  510. package/contracts/type/Amount.sol +150 -0
  511. package/contracts/{types → type}/Blocknumber.sol +27 -3
  512. package/contracts/type/ClaimId.sol +80 -0
  513. package/contracts/type/DistributorType.sol +55 -0
  514. package/contracts/type/Fee.sol +66 -0
  515. package/contracts/{types → type}/Key32.sol +10 -5
  516. package/contracts/type/Key32Set.sol +62 -0
  517. package/contracts/{types → type}/NftId.sol +28 -15
  518. package/contracts/type/NftIdSet.sol +62 -0
  519. package/contracts/type/ObjectType.sol +307 -0
  520. package/contracts/type/PayoutId.sol +82 -0
  521. package/contracts/type/Referral.sol +90 -0
  522. package/contracts/type/RequestId.sol +75 -0
  523. package/contracts/type/RiskId.sol +75 -0
  524. package/contracts/type/RoleId.sol +180 -0
  525. package/contracts/type/Seconds.sol +101 -0
  526. package/contracts/type/Selector.sol +107 -0
  527. package/contracts/{types → type}/StateId.sol +53 -5
  528. package/contracts/type/String.sol +53 -0
  529. package/contracts/{types → type}/Timestamp.sol +37 -19
  530. package/contracts/{types → type}/UFixed.sol +72 -19
  531. package/contracts/{types → type}/Version.sol +61 -6
  532. package/contracts/{shared → upgradeability}/IVersionable.sol +5 -48
  533. package/contracts/upgradeability/ProxyManager.sol +234 -0
  534. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +2 -4
  535. package/contracts/upgradeability/Versionable.sol +62 -0
  536. package/package.json +13 -8
  537. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  538. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -213
  539. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  540. package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -445
  541. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  542. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -177
  543. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  544. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -343
  545. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  546. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -474
  547. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  548. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -373
  549. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  550. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -602
  551. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  552. package/artifacts/contracts/components/Product.sol/Product.json +0 -502
  553. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  554. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  555. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  556. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  557. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  558. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  559. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  560. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  561. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  562. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  563. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  564. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  565. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  566. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  567. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  568. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  569. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  570. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  571. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  572. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  573. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  574. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  575. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  576. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  577. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  578. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  579. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  580. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  581. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  582. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  583. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  584. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  585. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  586. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  587. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  588. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  589. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  590. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  591. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  592. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  593. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  594. package/artifacts/contracts/instance/base/IService.sol/IService.json +0 -344
  595. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  596. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  597. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -710
  598. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  599. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  600. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  601. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  602. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  603. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  604. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  605. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  606. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  607. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  608. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -297
  609. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  610. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  611. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -297
  612. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  613. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  614. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  615. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  616. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -117
  617. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +0 -4
  618. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +0 -10
  619. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +0 -4
  620. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +0 -4
  621. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.json +0 -10
  622. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  623. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  624. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -284
  625. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  626. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -284
  627. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  628. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  629. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  630. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -164
  631. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  632. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -164
  633. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  634. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  635. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -113
  636. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  637. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -131
  638. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  639. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.json +0 -10
  640. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  641. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -638
  642. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  643. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  644. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  645. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -638
  646. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  647. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -690
  648. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  649. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -526
  650. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  651. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  652. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -369
  653. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  654. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +0 -484
  655. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  656. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  657. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -649
  658. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  659. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -964
  660. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  661. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -457
  662. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  663. package/artifacts/contracts/registry/RegistryInstaller.sol/RegistryInstaller.dbg.json +0 -4
  664. package/artifacts/contracts/registry/RegistryInstaller.sol/RegistryInstaller.json +0 -344
  665. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  666. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  667. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  668. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  669. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -205
  670. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  671. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -310
  672. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  673. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  674. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  675. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -228
  676. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +0 -4
  677. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +0 -445
  678. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  679. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  680. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  681. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -602
  682. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  683. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -632
  684. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  685. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -191
  686. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  687. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  688. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  689. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -472
  690. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  691. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -338
  692. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  693. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  694. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  695. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -270
  696. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  697. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -338
  698. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  699. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  700. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  701. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  702. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  703. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  704. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  705. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  706. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  707. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -111
  708. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  709. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  710. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  711. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  712. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  713. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  714. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +0 -4
  715. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.json +0 -99
  716. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  717. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  718. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  719. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -30
  720. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  721. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  722. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  723. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -236
  724. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  725. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -479
  726. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  727. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  728. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  729. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -30
  730. package/contracts/components/BaseComponent.sol +0 -79
  731. package/contracts/components/Distribution.sol +0 -155
  732. package/contracts/components/IBaseComponent.sol +0 -19
  733. package/contracts/components/IDistributionComponent.sol +0 -47
  734. package/contracts/components/IPoolComponent.sol +0 -65
  735. package/contracts/components/IProductComponent.sol +0 -39
  736. package/contracts/components/Pool.sol +0 -246
  737. package/contracts/components/Product.sol +0 -299
  738. package/contracts/experiment/errors/Require.sol +0 -38
  739. package/contracts/experiment/errors/Revert.sol +0 -44
  740. package/contracts/experiment/inheritance/A.sol +0 -53
  741. package/contracts/experiment/inheritance/B.sol +0 -28
  742. package/contracts/experiment/inheritance/C.sol +0 -34
  743. package/contracts/experiment/inheritance/IA.sol +0 -13
  744. package/contracts/experiment/inheritance/IB.sol +0 -10
  745. package/contracts/experiment/inheritance/IC.sol +0 -12
  746. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  747. package/contracts/experiment/statemachine/ISM.sol +0 -25
  748. package/contracts/experiment/statemachine/SM.sol +0 -57
  749. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  750. package/contracts/experiment/types/TypeA.sol +0 -47
  751. package/contracts/experiment/types/TypeB.sol +0 -29
  752. package/contracts/instance/IInstanceLinked.sol +0 -8
  753. package/contracts/instance/base/ComponentServiceBase.sol +0 -49
  754. package/contracts/instance/base/IInstanceBase.sol +0 -23
  755. package/contracts/instance/base/IKeyValueStore.sol +0 -50
  756. package/contracts/instance/base/IService.sol +0 -15
  757. package/contracts/instance/base/InstanceBase.sol +0 -89
  758. package/contracts/instance/base/KeyValueStore.sol +0 -161
  759. package/contracts/instance/base/Lifecycle.sol +0 -100
  760. package/contracts/instance/base/ModuleBase.sol +0 -57
  761. package/contracts/instance/base/ServiceBase.sol +0 -43
  762. package/contracts/instance/module/access/Access.sol +0 -149
  763. package/contracts/instance/module/access/IAccess.sol +0 -53
  764. package/contracts/instance/module/bundle/BundleModule.sol +0 -134
  765. package/contracts/instance/module/bundle/IBundle.sol +0 -53
  766. package/contracts/instance/module/component/ComponentModule.sol +0 -71
  767. package/contracts/instance/module/component/IComponent.sol +0 -28
  768. package/contracts/instance/module/distribution/DistributionModule.sol +0 -17
  769. package/contracts/instance/module/distribution/IDistribution.sol +0 -10
  770. package/contracts/instance/module/policy/IPolicy.sol +0 -63
  771. package/contracts/instance/module/policy/PolicyModule.sol +0 -91
  772. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  773. package/contracts/instance/module/pool/PoolModule.sol +0 -95
  774. package/contracts/instance/module/risk/IRisk.sol +0 -26
  775. package/contracts/instance/module/risk/RiskModule.sol +0 -62
  776. package/contracts/instance/module/treasury/ITreasury.sol +0 -84
  777. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  778. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -131
  779. package/contracts/instance/service/ComponentOwnerService.sol +0 -272
  780. package/contracts/instance/service/DistributionService.sol +0 -54
  781. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  782. package/contracts/instance/service/IDistributionService.sol +0 -12
  783. package/contracts/instance/service/IPoolService.sol +0 -37
  784. package/contracts/instance/service/IProductService.sol +0 -107
  785. package/contracts/instance/service/PoolService.sol +0 -149
  786. package/contracts/instance/service/ProductService.sol +0 -509
  787. package/contracts/registry/IChainNft.sol +0 -22
  788. package/contracts/registry/IRegistryLinked.sol +0 -8
  789. package/contracts/registry/RegistryInstaller.sol +0 -100
  790. package/contracts/shared/ERC165.sol +0 -21
  791. package/contracts/shared/IOwnable.sol +0 -6
  792. package/contracts/shared/ProxyManager.sol +0 -115
  793. package/contracts/shared/Versionable.sol +0 -147
  794. package/contracts/test/TestDistribution.sol +0 -22
  795. package/contracts/test/TestFee.sol +0 -25
  796. package/contracts/test/TestPool.sol +0 -27
  797. package/contracts/test/TestProduct.sol +0 -74
  798. package/contracts/test/TestRegisterable.sol +0 -18
  799. package/contracts/test/TestRoleId.sol +0 -14
  800. package/contracts/test/TestService.sol +0 -26
  801. package/contracts/test/TestVersion.sol +0 -44
  802. package/contracts/test/TestVersionable.sol +0 -17
  803. package/contracts/test/Usdc.sol +0 -26
  804. package/contracts/types/ChainId.sol +0 -38
  805. package/contracts/types/Fee.sol +0 -56
  806. package/contracts/types/NftIdSet.sol +0 -60
  807. package/contracts/types/ObjectType.sol +0 -131
  808. package/contracts/types/ReferralId.sol +0 -48
  809. package/contracts/types/RiskId.sol +0 -43
  810. package/contracts/types/RoleId.sol +0 -38
@@ -0,0 +1,1161 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "InstanceService",
4
+ "sourceName": "contracts/instance/InstanceService.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
+ "name": "ERC1167FailedCreateClone",
47
+ "type": "error"
48
+ },
49
+ {
50
+ "inputs": [
51
+ {
52
+ "internalType": "address",
53
+ "name": "authority",
54
+ "type": "address"
55
+ }
56
+ ],
57
+ "name": "ErrorAuthorityInvalid",
58
+ "type": "error"
59
+ },
60
+ {
61
+ "inputs": [],
62
+ "name": "ErrorInstanceServiceAccessManagerZero",
63
+ "type": "error"
64
+ },
65
+ {
66
+ "inputs": [],
67
+ "name": "ErrorInstanceServiceBundleSetAuthorityMismatch",
68
+ "type": "error"
69
+ },
70
+ {
71
+ "inputs": [],
72
+ "name": "ErrorInstanceServiceBundleSetInstanceMismatch",
73
+ "type": "error"
74
+ },
75
+ {
76
+ "inputs": [],
77
+ "name": "ErrorInstanceServiceBundleSetZero",
78
+ "type": "error"
79
+ },
80
+ {
81
+ "inputs": [
82
+ {
83
+ "internalType": "address",
84
+ "name": "component",
85
+ "type": "address"
86
+ }
87
+ ],
88
+ "name": "ErrorInstanceServiceComponentNotInstanceLinked",
89
+ "type": "error"
90
+ },
91
+ {
92
+ "inputs": [
93
+ {
94
+ "internalType": "address",
95
+ "name": "componentAddress",
96
+ "type": "address"
97
+ }
98
+ ],
99
+ "name": "ErrorInstanceServiceComponentNotRegistered",
100
+ "type": "error"
101
+ },
102
+ {
103
+ "inputs": [],
104
+ "name": "ErrorInstanceServiceInstanceAddressZero",
105
+ "type": "error"
106
+ },
107
+ {
108
+ "inputs": [],
109
+ "name": "ErrorInstanceServiceInstanceAdminZero",
110
+ "type": "error"
111
+ },
112
+ {
113
+ "inputs": [],
114
+ "name": "ErrorInstanceServiceInstanceAuthorityMismatch",
115
+ "type": "error"
116
+ },
117
+ {
118
+ "inputs": [
119
+ {
120
+ "internalType": "NftId",
121
+ "name": "instanceNftId",
122
+ "type": "uint96"
123
+ },
124
+ {
125
+ "internalType": "NftId",
126
+ "name": "componentNftId",
127
+ "type": "uint96"
128
+ }
129
+ ],
130
+ "name": "ErrorInstanceServiceInstanceComponentMismatch",
131
+ "type": "error"
132
+ },
133
+ {
134
+ "inputs": [],
135
+ "name": "ErrorInstanceServiceInstanceReaderAddressZero",
136
+ "type": "error"
137
+ },
138
+ {
139
+ "inputs": [],
140
+ "name": "ErrorInstanceServiceInstanceReaderInstanceMismatch",
141
+ "type": "error"
142
+ },
143
+ {
144
+ "inputs": [],
145
+ "name": "ErrorInstanceServiceInstanceReaderInstanceMismatch2",
146
+ "type": "error"
147
+ },
148
+ {
149
+ "inputs": [],
150
+ "name": "ErrorInstanceServiceInstanceReaderSameAsMasterInstanceReader",
151
+ "type": "error"
152
+ },
153
+ {
154
+ "inputs": [],
155
+ "name": "ErrorInstanceServiceInstanceReaderZero",
156
+ "type": "error"
157
+ },
158
+ {
159
+ "inputs": [],
160
+ "name": "ErrorInstanceServiceInstanceStoreAuthorityMismatch",
161
+ "type": "error"
162
+ },
163
+ {
164
+ "inputs": [],
165
+ "name": "ErrorInstanceServiceInstanceStoreZero",
166
+ "type": "error"
167
+ },
168
+ {
169
+ "inputs": [
170
+ {
171
+ "internalType": "NftId",
172
+ "name": "instanceNftId",
173
+ "type": "uint96"
174
+ },
175
+ {
176
+ "internalType": "VersionPart",
177
+ "name": "expectedRelease",
178
+ "type": "uint8"
179
+ },
180
+ {
181
+ "internalType": "VersionPart",
182
+ "name": "instanceRelease",
183
+ "type": "uint8"
184
+ }
185
+ ],
186
+ "name": "ErrorInstanceServiceInstanceVersionMismatch",
187
+ "type": "error"
188
+ },
189
+ {
190
+ "inputs": [
191
+ {
192
+ "internalType": "address",
193
+ "name": "componentAddress",
194
+ "type": "address"
195
+ },
196
+ {
197
+ "internalType": "ObjectType",
198
+ "name": "expectedType",
199
+ "type": "uint8"
200
+ },
201
+ {
202
+ "internalType": "ObjectType",
203
+ "name": "componentType",
204
+ "type": "uint8"
205
+ }
206
+ ],
207
+ "name": "ErrorInstanceServiceInvalidComponentType",
208
+ "type": "error"
209
+ },
210
+ {
211
+ "inputs": [],
212
+ "name": "ErrorInstanceServiceMasterBundleSetAlreadySet",
213
+ "type": "error"
214
+ },
215
+ {
216
+ "inputs": [],
217
+ "name": "ErrorInstanceServiceMasterInstanceAdminAlreadySet",
218
+ "type": "error"
219
+ },
220
+ {
221
+ "inputs": [],
222
+ "name": "ErrorInstanceServiceMasterInstanceAlreadySet",
223
+ "type": "error"
224
+ },
225
+ {
226
+ "inputs": [],
227
+ "name": "ErrorInstanceServiceMasterInstanceReaderNotSet",
228
+ "type": "error"
229
+ },
230
+ {
231
+ "inputs": [],
232
+ "name": "ErrorInstanceServiceMasterRiskSetAlreadySet",
233
+ "type": "error"
234
+ },
235
+ {
236
+ "inputs": [
237
+ {
238
+ "internalType": "address",
239
+ "name": "instance",
240
+ "type": "address"
241
+ },
242
+ {
243
+ "internalType": "ObjectType",
244
+ "name": "objectType",
245
+ "type": "uint8"
246
+ }
247
+ ],
248
+ "name": "ErrorInstanceServiceNotInstance",
249
+ "type": "error"
250
+ },
251
+ {
252
+ "inputs": [
253
+ {
254
+ "internalType": "NftId",
255
+ "name": "nftId",
256
+ "type": "uint96"
257
+ }
258
+ ],
259
+ "name": "ErrorInstanceServiceNotInstanceNftId",
260
+ "type": "error"
261
+ },
262
+ {
263
+ "inputs": [
264
+ {
265
+ "internalType": "address",
266
+ "name": "instance",
267
+ "type": "address"
268
+ }
269
+ ],
270
+ "name": "ErrorInstanceServiceNotRegistered",
271
+ "type": "error"
272
+ },
273
+ {
274
+ "inputs": [
275
+ {
276
+ "internalType": "address",
277
+ "name": "caller",
278
+ "type": "address"
279
+ }
280
+ ],
281
+ "name": "ErrorInstanceServiceRequestUnauhorized",
282
+ "type": "error"
283
+ },
284
+ {
285
+ "inputs": [],
286
+ "name": "ErrorInstanceServiceRiskSetAuthorityMismatch",
287
+ "type": "error"
288
+ },
289
+ {
290
+ "inputs": [],
291
+ "name": "ErrorInstanceServiceRiskSetInstanceMismatch",
292
+ "type": "error"
293
+ },
294
+ {
295
+ "inputs": [],
296
+ "name": "ErrorInstanceServiceRiskSetZero",
297
+ "type": "error"
298
+ },
299
+ {
300
+ "inputs": [
301
+ {
302
+ "internalType": "NftId",
303
+ "name": "nftId",
304
+ "type": "uint96"
305
+ }
306
+ ],
307
+ "name": "ErrorNftOwnableAlreadyLinked",
308
+ "type": "error"
309
+ },
310
+ {
311
+ "inputs": [
312
+ {
313
+ "internalType": "address",
314
+ "name": "contractAddress",
315
+ "type": "address"
316
+ }
317
+ ],
318
+ "name": "ErrorNftOwnableContractNotRegistered",
319
+ "type": "error"
320
+ },
321
+ {
322
+ "inputs": [],
323
+ "name": "ErrorNftOwnableInitialOwnerZero",
324
+ "type": "error"
325
+ },
326
+ {
327
+ "inputs": [
328
+ {
329
+ "internalType": "NftId",
330
+ "name": "nftId",
331
+ "type": "uint96"
332
+ },
333
+ {
334
+ "internalType": "ObjectType",
335
+ "name": "expectedObjectType",
336
+ "type": "uint8"
337
+ }
338
+ ],
339
+ "name": "ErrorNftOwnableInvalidType",
340
+ "type": "error"
341
+ },
342
+ {
343
+ "inputs": [
344
+ {
345
+ "internalType": "address",
346
+ "name": "account",
347
+ "type": "address"
348
+ }
349
+ ],
350
+ "name": "ErrorNftOwnableNotOwner",
351
+ "type": "error"
352
+ },
353
+ {
354
+ "inputs": [
355
+ {
356
+ "internalType": "address",
357
+ "name": "registryAddress",
358
+ "type": "address"
359
+ }
360
+ ],
361
+ "name": "ErrorNotRegistry",
362
+ "type": "error"
363
+ },
364
+ {
365
+ "inputs": [],
366
+ "name": "ErrorRegisterableNotActive",
367
+ "type": "error"
368
+ },
369
+ {
370
+ "inputs": [],
371
+ "name": "InvalidInitialization",
372
+ "type": "error"
373
+ },
374
+ {
375
+ "inputs": [],
376
+ "name": "NotInitializing",
377
+ "type": "error"
378
+ },
379
+ {
380
+ "inputs": [],
381
+ "name": "ReentrancyGuardReentrantCall",
382
+ "type": "error"
383
+ },
384
+ {
385
+ "anonymous": false,
386
+ "inputs": [
387
+ {
388
+ "indexed": false,
389
+ "internalType": "address",
390
+ "name": "authority",
391
+ "type": "address"
392
+ }
393
+ ],
394
+ "name": "AuthorityUpdated",
395
+ "type": "event"
396
+ },
397
+ {
398
+ "anonymous": false,
399
+ "inputs": [
400
+ {
401
+ "indexed": false,
402
+ "internalType": "uint64",
403
+ "name": "version",
404
+ "type": "uint64"
405
+ }
406
+ ],
407
+ "name": "Initialized",
408
+ "type": "event"
409
+ },
410
+ {
411
+ "anonymous": false,
412
+ "inputs": [
413
+ {
414
+ "indexed": false,
415
+ "internalType": "NftId",
416
+ "name": "instanceNftId",
417
+ "type": "uint96"
418
+ },
419
+ {
420
+ "indexed": false,
421
+ "internalType": "address",
422
+ "name": "instance",
423
+ "type": "address"
424
+ }
425
+ ],
426
+ "name": "LogInstanceCloned",
427
+ "type": "event"
428
+ },
429
+ {
430
+ "inputs": [],
431
+ "name": "INSTANCE_CREATION_CODE_HASH",
432
+ "outputs": [
433
+ {
434
+ "internalType": "bytes32",
435
+ "name": "",
436
+ "type": "bytes32"
437
+ }
438
+ ],
439
+ "stateMutability": "view",
440
+ "type": "function"
441
+ },
442
+ {
443
+ "inputs": [],
444
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
445
+ "outputs": [
446
+ {
447
+ "internalType": "bytes32",
448
+ "name": "",
449
+ "type": "bytes32"
450
+ }
451
+ ],
452
+ "stateMutability": "view",
453
+ "type": "function"
454
+ },
455
+ {
456
+ "inputs": [],
457
+ "name": "REGISTERABLE_LOCATION_V1",
458
+ "outputs": [
459
+ {
460
+ "internalType": "bytes32",
461
+ "name": "",
462
+ "type": "bytes32"
463
+ }
464
+ ],
465
+ "stateMutability": "view",
466
+ "type": "function"
467
+ },
468
+ {
469
+ "inputs": [],
470
+ "name": "authority",
471
+ "outputs": [
472
+ {
473
+ "internalType": "address",
474
+ "name": "",
475
+ "type": "address"
476
+ }
477
+ ],
478
+ "stateMutability": "view",
479
+ "type": "function"
480
+ },
481
+ {
482
+ "inputs": [
483
+ {
484
+ "internalType": "bool",
485
+ "name": "allowAnyToken",
486
+ "type": "bool"
487
+ }
488
+ ],
489
+ "name": "createInstance",
490
+ "outputs": [
491
+ {
492
+ "internalType": "contract IInstance",
493
+ "name": "instance",
494
+ "type": "address"
495
+ },
496
+ {
497
+ "internalType": "NftId",
498
+ "name": "instanceNftId",
499
+ "type": "uint96"
500
+ }
501
+ ],
502
+ "stateMutability": "nonpayable",
503
+ "type": "function"
504
+ },
505
+ {
506
+ "inputs": [
507
+ {
508
+ "internalType": "string",
509
+ "name": "roleName",
510
+ "type": "string"
511
+ },
512
+ {
513
+ "internalType": "RoleId",
514
+ "name": "adminRoleId",
515
+ "type": "uint64"
516
+ },
517
+ {
518
+ "internalType": "uint32",
519
+ "name": "maxMemberCount",
520
+ "type": "uint32"
521
+ }
522
+ ],
523
+ "name": "createRole",
524
+ "outputs": [
525
+ {
526
+ "internalType": "RoleId",
527
+ "name": "roleId",
528
+ "type": "uint64"
529
+ }
530
+ ],
531
+ "stateMutability": "nonpayable",
532
+ "type": "function"
533
+ },
534
+ {
535
+ "inputs": [
536
+ {
537
+ "internalType": "address",
538
+ "name": "target",
539
+ "type": "address"
540
+ },
541
+ {
542
+ "internalType": "string",
543
+ "name": "name",
544
+ "type": "string"
545
+ }
546
+ ],
547
+ "name": "createTarget",
548
+ "outputs": [
549
+ {
550
+ "internalType": "RoleId",
551
+ "name": "contractRoleId",
552
+ "type": "uint64"
553
+ }
554
+ ],
555
+ "stateMutability": "nonpayable",
556
+ "type": "function"
557
+ },
558
+ {
559
+ "inputs": [],
560
+ "name": "getDomain",
561
+ "outputs": [
562
+ {
563
+ "internalType": "ObjectType",
564
+ "name": "serviceDomain",
565
+ "type": "uint8"
566
+ }
567
+ ],
568
+ "stateMutability": "pure",
569
+ "type": "function"
570
+ },
571
+ {
572
+ "inputs": [],
573
+ "name": "getInitialInfo",
574
+ "outputs": [
575
+ {
576
+ "components": [
577
+ {
578
+ "internalType": "NftId",
579
+ "name": "nftId",
580
+ "type": "uint96"
581
+ },
582
+ {
583
+ "internalType": "NftId",
584
+ "name": "parentNftId",
585
+ "type": "uint96"
586
+ },
587
+ {
588
+ "internalType": "ObjectType",
589
+ "name": "objectType",
590
+ "type": "uint8"
591
+ },
592
+ {
593
+ "internalType": "bool",
594
+ "name": "isInterceptor",
595
+ "type": "bool"
596
+ },
597
+ {
598
+ "internalType": "address",
599
+ "name": "objectAddress",
600
+ "type": "address"
601
+ },
602
+ {
603
+ "internalType": "address",
604
+ "name": "initialOwner",
605
+ "type": "address"
606
+ },
607
+ {
608
+ "internalType": "bytes",
609
+ "name": "data",
610
+ "type": "bytes"
611
+ }
612
+ ],
613
+ "internalType": "struct IRegistry.ObjectInfo",
614
+ "name": "info",
615
+ "type": "tuple"
616
+ }
617
+ ],
618
+ "stateMutability": "view",
619
+ "type": "function"
620
+ },
621
+ {
622
+ "inputs": [],
623
+ "name": "getMasterInstanceReader",
624
+ "outputs": [
625
+ {
626
+ "internalType": "address",
627
+ "name": "",
628
+ "type": "address"
629
+ }
630
+ ],
631
+ "stateMutability": "view",
632
+ "type": "function"
633
+ },
634
+ {
635
+ "inputs": [],
636
+ "name": "getNftId",
637
+ "outputs": [
638
+ {
639
+ "internalType": "NftId",
640
+ "name": "",
641
+ "type": "uint96"
642
+ }
643
+ ],
644
+ "stateMutability": "view",
645
+ "type": "function"
646
+ },
647
+ {
648
+ "inputs": [],
649
+ "name": "getOwner",
650
+ "outputs": [
651
+ {
652
+ "internalType": "address",
653
+ "name": "",
654
+ "type": "address"
655
+ }
656
+ ],
657
+ "stateMutability": "view",
658
+ "type": "function"
659
+ },
660
+ {
661
+ "inputs": [],
662
+ "name": "getRegistry",
663
+ "outputs": [
664
+ {
665
+ "internalType": "contract IRegistry",
666
+ "name": "",
667
+ "type": "address"
668
+ }
669
+ ],
670
+ "stateMutability": "view",
671
+ "type": "function"
672
+ },
673
+ {
674
+ "inputs": [],
675
+ "name": "getRelease",
676
+ "outputs": [
677
+ {
678
+ "internalType": "VersionPart",
679
+ "name": "release",
680
+ "type": "uint8"
681
+ }
682
+ ],
683
+ "stateMutability": "view",
684
+ "type": "function"
685
+ },
686
+ {
687
+ "inputs": [],
688
+ "name": "getRoleId",
689
+ "outputs": [
690
+ {
691
+ "internalType": "RoleId",
692
+ "name": "serviceRoleId",
693
+ "type": "uint64"
694
+ }
695
+ ],
696
+ "stateMutability": "view",
697
+ "type": "function"
698
+ },
699
+ {
700
+ "inputs": [],
701
+ "name": "getVersion",
702
+ "outputs": [
703
+ {
704
+ "internalType": "Version",
705
+ "name": "",
706
+ "type": "uint24"
707
+ }
708
+ ],
709
+ "stateMutability": "pure",
710
+ "type": "function"
711
+ },
712
+ {
713
+ "inputs": [
714
+ {
715
+ "internalType": "RoleId",
716
+ "name": "roleId",
717
+ "type": "uint64"
718
+ },
719
+ {
720
+ "internalType": "address",
721
+ "name": "account",
722
+ "type": "address"
723
+ }
724
+ ],
725
+ "name": "grantRole",
726
+ "outputs": [],
727
+ "stateMutability": "nonpayable",
728
+ "type": "function"
729
+ },
730
+ {
731
+ "inputs": [
732
+ {
733
+ "internalType": "address",
734
+ "name": "activatedBy",
735
+ "type": "address"
736
+ },
737
+ {
738
+ "internalType": "bytes",
739
+ "name": "data",
740
+ "type": "bytes"
741
+ }
742
+ ],
743
+ "name": "initializeVersionable",
744
+ "outputs": [],
745
+ "stateMutability": "nonpayable",
746
+ "type": "function"
747
+ },
748
+ {
749
+ "inputs": [],
750
+ "name": "isActive",
751
+ "outputs": [
752
+ {
753
+ "internalType": "bool",
754
+ "name": "active",
755
+ "type": "bool"
756
+ }
757
+ ],
758
+ "stateMutability": "view",
759
+ "type": "function"
760
+ },
761
+ {
762
+ "inputs": [],
763
+ "name": "isConsumingScheduledOp",
764
+ "outputs": [
765
+ {
766
+ "internalType": "bytes4",
767
+ "name": "",
768
+ "type": "bytes4"
769
+ }
770
+ ],
771
+ "stateMutability": "view",
772
+ "type": "function"
773
+ },
774
+ {
775
+ "inputs": [],
776
+ "name": "linkToRegisteredNftId",
777
+ "outputs": [
778
+ {
779
+ "internalType": "NftId",
780
+ "name": "nftId",
781
+ "type": "uint96"
782
+ }
783
+ ],
784
+ "stateMutability": "nonpayable",
785
+ "type": "function"
786
+ },
787
+ {
788
+ "inputs": [
789
+ {
790
+ "internalType": "address",
791
+ "name": "rewardProvider",
792
+ "type": "address"
793
+ },
794
+ {
795
+ "internalType": "Amount",
796
+ "name": "dipAmount",
797
+ "type": "uint96"
798
+ }
799
+ ],
800
+ "name": "refillStakingRewardReserves",
801
+ "outputs": [],
802
+ "stateMutability": "nonpayable",
803
+ "type": "function"
804
+ },
805
+ {
806
+ "inputs": [
807
+ {
808
+ "internalType": "RoleId",
809
+ "name": "roleId",
810
+ "type": "uint64"
811
+ },
812
+ {
813
+ "internalType": "address",
814
+ "name": "account",
815
+ "type": "address"
816
+ }
817
+ ],
818
+ "name": "revokeRole",
819
+ "outputs": [],
820
+ "stateMutability": "nonpayable",
821
+ "type": "function"
822
+ },
823
+ {
824
+ "inputs": [
825
+ {
826
+ "internalType": "address",
827
+ "name": "instanceAddress",
828
+ "type": "address"
829
+ }
830
+ ],
831
+ "name": "setAndRegisterMasterInstance",
832
+ "outputs": [
833
+ {
834
+ "internalType": "NftId",
835
+ "name": "masterInstanceNftId",
836
+ "type": "uint96"
837
+ }
838
+ ],
839
+ "stateMutability": "nonpayable",
840
+ "type": "function"
841
+ },
842
+ {
843
+ "inputs": [
844
+ {
845
+ "internalType": "address",
846
+ "name": "newAuthority",
847
+ "type": "address"
848
+ }
849
+ ],
850
+ "name": "setAuthority",
851
+ "outputs": [],
852
+ "stateMutability": "nonpayable",
853
+ "type": "function"
854
+ },
855
+ {
856
+ "inputs": [
857
+ {
858
+ "internalType": "bool",
859
+ "name": "locked",
860
+ "type": "bool"
861
+ }
862
+ ],
863
+ "name": "setInstanceLocked",
864
+ "outputs": [],
865
+ "stateMutability": "nonpayable",
866
+ "type": "function"
867
+ },
868
+ {
869
+ "inputs": [
870
+ {
871
+ "internalType": "RoleId",
872
+ "name": "roleId",
873
+ "type": "uint64"
874
+ },
875
+ {
876
+ "internalType": "bool",
877
+ "name": "active",
878
+ "type": "bool"
879
+ }
880
+ ],
881
+ "name": "setRoleActive",
882
+ "outputs": [],
883
+ "stateMutability": "nonpayable",
884
+ "type": "function"
885
+ },
886
+ {
887
+ "inputs": [
888
+ {
889
+ "internalType": "Seconds",
890
+ "name": "stakeLockingPeriod",
891
+ "type": "uint40"
892
+ }
893
+ ],
894
+ "name": "setStakingLockingPeriod",
895
+ "outputs": [],
896
+ "stateMutability": "nonpayable",
897
+ "type": "function"
898
+ },
899
+ {
900
+ "inputs": [
901
+ {
902
+ "internalType": "Amount",
903
+ "name": "maxStakedAmount",
904
+ "type": "uint96"
905
+ }
906
+ ],
907
+ "name": "setStakingMaxAmount",
908
+ "outputs": [],
909
+ "stateMutability": "nonpayable",
910
+ "type": "function"
911
+ },
912
+ {
913
+ "inputs": [
914
+ {
915
+ "internalType": "UFixed",
916
+ "name": "rewardRate",
917
+ "type": "uint160"
918
+ }
919
+ ],
920
+ "name": "setStakingRewardRate",
921
+ "outputs": [],
922
+ "stateMutability": "nonpayable",
923
+ "type": "function"
924
+ },
925
+ {
926
+ "inputs": [
927
+ {
928
+ "internalType": "address",
929
+ "name": "target",
930
+ "type": "address"
931
+ },
932
+ {
933
+ "internalType": "bool",
934
+ "name": "locked",
935
+ "type": "bool"
936
+ }
937
+ ],
938
+ "name": "setTargetLocked",
939
+ "outputs": [],
940
+ "stateMutability": "nonpayable",
941
+ "type": "function"
942
+ },
943
+ {
944
+ "inputs": [
945
+ {
946
+ "internalType": "bytes4",
947
+ "name": "interfaceId",
948
+ "type": "bytes4"
949
+ }
950
+ ],
951
+ "name": "supportsInterface",
952
+ "outputs": [
953
+ {
954
+ "internalType": "bool",
955
+ "name": "",
956
+ "type": "bool"
957
+ }
958
+ ],
959
+ "stateMutability": "view",
960
+ "type": "function"
961
+ },
962
+ {
963
+ "inputs": [],
964
+ "name": "upgradeInstanceReader",
965
+ "outputs": [],
966
+ "stateMutability": "nonpayable",
967
+ "type": "function"
968
+ },
969
+ {
970
+ "inputs": [
971
+ {
972
+ "internalType": "address",
973
+ "name": "instanceReaderAddress",
974
+ "type": "address"
975
+ }
976
+ ],
977
+ "name": "upgradeMasterInstanceReader",
978
+ "outputs": [],
979
+ "stateMutability": "nonpayable",
980
+ "type": "function"
981
+ },
982
+ {
983
+ "inputs": [
984
+ {
985
+ "internalType": "bytes",
986
+ "name": "data",
987
+ "type": "bytes"
988
+ }
989
+ ],
990
+ "name": "upgradeVersionable",
991
+ "outputs": [],
992
+ "stateMutability": "nonpayable",
993
+ "type": "function"
994
+ },
995
+ {
996
+ "inputs": [
997
+ {
998
+ "internalType": "Amount",
999
+ "name": "dipAmount",
1000
+ "type": "uint96"
1001
+ }
1002
+ ],
1003
+ "name": "withdrawStakingRewardReserves",
1004
+ "outputs": [
1005
+ {
1006
+ "internalType": "Amount",
1007
+ "name": "newBalance",
1008
+ "type": "uint96"
1009
+ }
1010
+ ],
1011
+ "stateMutability": "nonpayable",
1012
+ "type": "function"
1013
+ }
1014
+ ],
1015
+ "bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b614429806100d65f395ff3fe608060405234801561000f575f80fd5b5060043610610213575f3560e01c806376b707b71161011f578063ada9652e116100a9578063bf7e214f11610079578063bf7e214f146104df578063c2651725146104e7578063d1273887146104ef578063e52ba1cb14610529578063edabac031461053c575f80fd5b8063ada9652e1461049e578063b428b0b0146104b2578063b68d1809146104c5578063b7d2b162146104cc575f80fd5b8063872309c7116100ef578063872309c714610448578063893d20e81461044f5780638fb360371461045757806396cdfa3f14610478578063a2356b3a1461048b575f80fd5b806376b707b7146103f55780637a9e5e4b1461040f5780637de45f13146104225780638689231314610435575f80fd5b8063254f6866116101a05780635ab1bd53116101705780635ab1bd53146103855780635fa8aad4146103aa578063644c45e0146103bd5780636a778e73146103da5780636c741e78146103ed575f80fd5b8063254f6866146103395780632d764ef81461034c578063329d6e741461035f57806349bb9e4b14610372575f80fd5b8063138461e0116101e6578063138461e01461029e5780631eff4b22146102be5780631f481d64146102f357806322f3e2d41461031e57806323dff79214610326575f80fd5b806301ffc9a7146102175780630d8e6e2c146102585780630fec111c1461027457806311f7784314610289575b5f80fd5b610243610225366004613a99565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61026061054d565b60405162ffffff909116815260200161024f565b61027c6105d4565b60405161024f9190613af5565b61029c610297366004613b95565b61078e565b005b6102a6610896565b6040516001600160601b03909116815260200161024f565b6102e57f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161024f565b610306610301366004613cbb565b6108a0565b6040516001600160401b03909116815260200161024f565b610243610992565b61029c610334366004613d27565b610a09565b61029c610347366004613b95565b610aef565b61029c61035a366004613d70565b610c6a565b61029c61036d366004613d8b565b610d41565b61029c610380366004613dbc565b610e8b565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161024f565b6103066103b8366004613dbc565b610f86565b5f80516020614394833981519152546001600160601b03166102a6565b6102a66103e8366004613b95565b611075565b610306611c1d565b6103fd611ca9565b60405160ff909116815260200161024f565b61029c61041d366004613b95565b611d11565b61029c610430366004613e1c565b611d97565b61029c610443366004613e37565b611e69565b6102e55f81565b610392611f1a565b61045f61204b565b6040516001600160e01b0319909116815260200161024f565b61029c610486366004613e53565b612080565b61029c610499366004613e6e565b612129565b6102e55f8051602061439483398151915281565b61029c6104c0366004613e9a565b612246565b600a6103fd565b61029c6104da366004613e9a565b6122fe565b6103926123b6565b61029c6123d1565b6105026104fd366004613e53565b612489565b604080516001600160a01b0390931683526001600160601b0390911660208301520161024f565b6102a6610537366004613e1c565b612906565b6008546001600160a01b0316610392565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156105ab573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105cf9190613ec6565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610680573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106a49190613ef3565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016106ec611f1a565b6001600160a01b0316815260200182600101805461070990613f0e565b80601f016020809104026020016040519081016040528092919081815260200182805461073590613f0e565b80156107805780601f1061075757610100808354040283529160200191610780565b820191905f5260205f20905b81548152906001019060200180831161076357829003601f168201915b505050505081525091505090565b61079a335b5f36612a1b565b6107ab336107a6611ca9565b612b11565b5f6107be6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610802573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108269190613ef3565b60035460405163c26efb0560e01b81526001600160601b03831660048201526001600160a01b03858116602483015292935091169063c26efb05906044015b5f604051808303815f87803b15801561087c575f80fd5b505af115801561088e573d5f803e3d5ffd5b505050505050565b5f6105cf30612e0d565b5f6108aa33610793565b6108b6336107a6611ca9565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108f6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061091a9190613f46565b6001600160a01b0316631f481d648686866040518463ffffffff1660e01b815260040161094993929190613f61565b6020604051808303815f875af1158015610965573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109899190613f98565b95945050505050565b5f61099b6123b6565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa1580156109df573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a039190613fbe565b15905090565b610a1233610793565b610a1e336107a6611ca9565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a5e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a829190613f46565b6040516311effbc960e11b81526001600160401b038516600482015283151560248201526001600160a01b0391909116906323dff792906044015b5f604051808303815f87803b158015610ad4575f80fd5b505af1158015610ae6573d5f803e3d5ffd5b50505050505050565b610af7611f1a565b6001600160a01b0316336001600160a01b031614610b2f5760405163086391f760e31b81523360048201526024015b60405180910390fd5b6008546001600160a01b0316610b58576040516358e5a4af60e01b815260040160405180910390fd5b6001600160a01b038116610b7f57604051631aa1808560e31b815260040160405180910390fd5b6008546001600160a01b0390811690821603610bae57604051630666e2a560e01b815260040160405180910390fd5b6007546040805163379ed74560e21b8152905183926001600160a01b03908116929084169163de7b5d14916004808201926020929091908290030181865afa158015610bfc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c209190613f46565b6001600160a01b031614610c475760405163f026367160e01b815260040160405180910390fd5b50600880546001600160a01b0319166001600160a01b0392909216919091179055565b610c7333610793565b610c7f336107a6611ca9565b5f610c926001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610cd6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cfa9190613ef3565b60035460405163db1e36e760e01b81526001600160601b038316600482015264ffffffffff851660248201529192506001600160a01b03169063db1e36e790604401610865565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610d6361054d565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610da1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dc59190613f98565b5f805160206143d48339815191528054600160401b900460ff1680610df7575080546001600160401b03808416911610155b15610e155760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610e3f83613006565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b5f805160206143d48339815191528054600160401b810460ff1615906001600160401b03165f81158015610ebc5750825b90505f826001600160401b03166001148015610ed75750303b155b905081158015610ee5575080155b15610f035760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610f2d57845460ff60401b1916600160401b1785555b610f37878761300e565b8315610ae657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a150505050505050565b5f610f9033610793565b610f9c336107a6611ca9565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fdc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110009190613f46565b6001600160a01b0316635fa8aad485856040518363ffffffff1660e01b815260040161102d929190613fd9565b6020604051808303815f875af1158015611049573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061106d9190613f98565b949350505050565b5f61107e611f1a565b6001600160a01b0316336001600160a01b0316146110b15760405163086391f760e31b8152336004820152602401610b26565b6007546001600160a01b0316156110db57604051632c237de760e11b815260040160405180910390fd5b6006546001600160a01b0316156111055760405163ab0cc43960e01b815260040160405180910390fd5b6009546001600160a01b03161561112f5760405163558f4f7b60e11b815260040160405180910390fd5b600a546001600160a01b0316156111595760405163d518f81b60e01b815260040160405180910390fd5b6001600160a01b038216611180576040516309353e4560e11b815260040160405180910390fd5b5f8290505f816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111c1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111e59190613f46565b90505f826001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611224573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112489190613f46565b90505f8190505f846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561128b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112af9190613f46565b90505f8190505f866001600160a01b0316636dddada46040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112f2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113169190613f46565b90505f8190505f886001600160a01b0316630e0c586d6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611359573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061137d9190613f46565b90505f8190505f8a6001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113e49190613f46565b9050806001600160a01b038b1661140e576040516327ccc33d60e11b815260040160405180910390fd5b6001600160a01b038916611434576040516295661560e31b815260040160405180910390fd5b6001600160a01b03871661145b5760405163e267254160e01b815260040160405180910390fd5b6001600160a01b0385166114825760405163bfebabd760e01b815260040160405180910390fd5b6001600160a01b0383166114a957604051634e336b1d60e11b815260040160405180910390fd5b6001600160a01b0381166114d0576040516301fa2a2b60e01b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561150c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115309190613f46565b6001600160a01b03168c6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611575573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115999190613f46565b6001600160a01b0316146115c0576040516334ddf1a760e21b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115fc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116209190613f46565b6001600160a01b0316866001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611665573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116899190613f46565b6001600160a01b0316146116b05760405163e168da3760e01b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116ec573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117109190613f46565b6001600160a01b0316846001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611755573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117799190613f46565b6001600160a01b0316146117a0576040516303bc742960e01b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156117dc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118009190613f46565b6001600160a01b0316826001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611845573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118699190613f46565b6001600160a01b03161461189057604051631129422760e31b815260040160405180910390fd5b8b6001600160a01b0316866001600160a01b031663681e65f06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118d6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118fa9190613f46565b6001600160a01b03161461192157604051630bbd547960e01b815260040160405180910390fd5b8b6001600160a01b0316846001600160a01b031663681e65f06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611967573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061198b9190613f46565b6001600160a01b0316146119b257604051632b34b6d960e01b815260040160405180910390fd5b8b6001600160a01b0316886001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119f8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a1c9190613f46565b6001600160a01b031614611a43576040516331783c7160e11b815260040160405180910390fd5b8a60055f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508860065f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508d60075f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508660085f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508460095f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555082600a5f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555080600b5f6101000a8154816001600160a01b0302191690836001600160a01b031602179055505f60075f9054906101000a90046001600160a01b031690505f60025f9054906101000a90046001600160a01b03166001600160a01b031663026bc43b83611b92611f1a565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044015f604051808303815f875af1158015611bdb573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611c02919081019061406d565b9050805f01519e505050505050505050505050505050919050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63645ceefe600a611c42611ca9565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015611c85573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105cf9190613f98565b5f611cb26123b6565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ced573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105cf919061413d565b33611d1a6123b6565b6001600160a01b0316816001600160a01b031614611d555760405162d1953b60e31b81526001600160a01b0382166004820152602401610b26565b816001600160a01b03163b5f03611d8a576040516361798f2f60e11b81526001600160a01b0383166004820152602401610b26565b611d93826131a7565b5050565b611da033610793565b611dac336107a6611ca9565b5f611dbf6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611e03573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e279190613ef3565b600354604051634bae314b60e01b81526001600160601b038084166004830152851660248201529192506001600160a01b031690634bae314b90604401610865565b611e7233610793565b611e7e336107a6611ca9565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ebe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ee29190613f46565b604051638689231360e01b81526001600160a01b03858116600483015284151560248301529190911690638689231390604401610abd565b5f805f8051602061439483398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611f86573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611faa9190613fbe565b15612035576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561200b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061202f9190613f46565b91505090565b54600160601b90046001600160a01b0316919050565b5f805160206143b483398151915280545f9190600160a01b900460ff16612072575f61202f565b638fb3603760e01b91505090565b61208933610793565b612095336107a6611ca9565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156120d5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120f99190613f46565b6040516396cdfa3f60e01b815283151560048201526001600160a01b0391909116906396cdfa3f90602401610865565b61213233610793565b61213e336107a6611ca9565b5f6121516001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015612195573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121b99190613ef3565b600354604051636f61deef60e11b81526001600160601b0380841660048301526001600160a01b038781166024840152908616604483015292935091169063dec3bdde906064016020604051808303815f875af115801561221c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122409190613ef3565b50505050565b61224f33610793565b61225b336107a6611ca9565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa15801561229b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122bf9190613f46565b604051630b428b0b60e41b81526001600160401b03851660048201526001600160a01b038481166024830152919091169063b428b0b090604401610abd565b61230733610793565b612313336107a6611ca9565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612353573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123779190613f46565b604051635be958b160e11b81526001600160401b03851660048201526001600160a01b038481166024830152919091169063b7d2b16290604401610abd565b5f805160206143b4833981519152546001600160a01b031690565b6123da33610793565b6123e6336107a6611ca9565b600854339081905f90612401906001600160a01b0316613207565b604051636791f7ab60e01b81526001600160a01b03858116600483015291925090821690636791f7ab906024015f604051808303815f87803b158015612445575f80fd5b505af1158015612457573d5f803e3d5ffd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528516925063f7bc431c9150602401610abd565b5f8061249433610793565b335f61249e613276565b90506124ab81838761338f565b60025460405163026bc43b60e01b81526001600160a01b038084166004830152858116602483015292965091169063026bc43b906044015f604051808303815f875af11580156124fd573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612524919081019061406d565b5f015192505f60065f9054906101000a90046001600160a01b03166001600160a01b0316638e5bc2936040518163ffffffff1660e01b8152600401602060405180830381865afa15801561257a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061259e9190613f46565b9050816001600160a01b03166304d670b96125c16001546001600160a01b031690565b836125ca611ca9565b6040516001600160e01b031960e086901b1681526001600160a01b039384166004820152918316602483015260ff16604482015290881660648201526084015f604051808303815f87803b158015612620575f80fd5b505af1158015612632573d5f803e3d5ffd5b505050506126486001546001600160a01b031690565b6001600160a01b0316856001600160a01b0316635ab1bd536040518163ffffffff1660e01b8152600401602060405180830381865afa15801561268d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126b19190613f46565b6001600160a01b0316146126c7576126c7614158565b61273d856001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612706573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061272a919061413d565b612732611ca9565b60ff90811691161490565b61274957612749614158565b60035f9054906101000a90046001600160a01b03166001600160a01b03166375cd31058573__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__63c6edc3dd6040518163ffffffff1660e01b8152600401602060405180830381865af41580156127b4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127d8919061416c565b73__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__63f87bf3736040518163ffffffff1660e01b8152600401602060405180830381865af415801561281f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128439190613f46565b6040516001600160e01b031960e086901b1681526001600160601b03909316600484015264ffffffffff90911660248301526001600160a01b031660448201526064015f604051808303815f87803b15801561289d575f80fd5b505af11580156128af573d5f803e3d5ffd5b5050604080516001600160601b03881681526001600160a01b03891660208201527f5f38ba73d945d51535b3c678f341052a70a580bed77c5db38464d02366c29fa8935001905060405180910390a1505050915091565b5f61291033610793565b61291c336107a6611ca9565b5f61292f6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015612973573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129979190613ef3565b6003546040516321ece65760e01b81526001600160601b038084166004830152861660248201529192506001600160a01b0316906321ece657906044016020604051808303815f875af11580156129f0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a149190613ef3565b5050919050565b5f805160206143b48339815191525f80612a53612a366123b6565b8730612a4560045f8a8c614187565b612a4e916141ae565b6134bc565b915091508161088e5763ffffffff811615612aee57825460ff60a01b1916600160a01b178355612a816123b6565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612ab0939291906141e6565b5f604051808303815f87803b158015612ac7575f80fd5b505af1158015612ad9573d5f803e3d5ffd5b5050845460ff60a01b191685555061088e9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610b26565b5f612b246001546001600160a01b031690565b604051632f2a35f760e11b81526001600160a01b0385811660048301529192505f91831690635e546bee90602401602060405180830381865afa158015612b6d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b919190613ef3565b604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015612bea573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c0e9190613fbe565b15612c37576040516308afbeb960e31b81526001600160a01b0385166004820152602401610b26565b6040516305247a1760e51b81526001600160601b03821660048201525f906001600160a01b0384169063a48f42e0906024015f60405180830381865afa158015612c83573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612caa919081019061406d565b60400151905060ff8116600a14612ce857604051632e87cd2360e11b81526001600160a01b038616600482015260ff82166024820152604401610b26565b60405163b2466acf60e01b815260ff8516600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063b2466acf90602401602060405180830381865af4158015612d38573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d5c9190613fbe565b15612e06575f856001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612d9e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612dc2919061413d565b905060ff8082169086161461088e57604051632f251c8760e21b81526001600160601b038416600482015260ff808716602483015282166044820152606401610b26565b5050505050565b5f805f8051602061439483398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612e79573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e9d9190613fbe565b15612ec95780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610b26565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015612f1b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f3f9190613fbe565b612f675760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610b26565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015612fb9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612fdd9190613ef3565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b6102136135c4565b5f805160206143d48339815191528054600160401b810460ff1615906001600160401b03165f8115801561303f5750825b90505f826001600160401b0316600114801561305a5750303b155b905081158015613068575080155b156130865760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156130b057845460ff60401b1916600160401b1785555b5f80878060200190518101906130c69190614225565b915091506130d582828b6135fc565b6130df600261369e565b600280546001600160a01b0319166001600160a01b0392909216919091179055613109600361369e565b600380546001600160a01b0319166001600160a01b0392909216919091179055613133600b61369e565b600480546001600160a01b0319166001600160a01b03929092169190911790556131636340f77c4160e01b613735565b50508315610ae657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610f75565b5f805160206143b483398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b5f763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c175f526e5af43d82803e903d91602b57fd5bf38260781b17602052603760095ff090506001600160a01b038116613271576040516330be1a3d60e21b815260040160405180910390fd5b919050565b5f806132f460065f9054906101000a90046001600160a01b03166001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156132cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132ef9190613f46565b613207565b60065490915061330c906001600160a01b0316613207565b604080516379ccf11760e11b81526001600160a01b0384811660048301526024820192909252600d60448201526c24b739ba30b731b2a0b236b4b760991b606482015291935083169063f399e22e906084015f604051808303815f87803b158015613375575f80fd5b505af1158015613387573d5f803e3d5ffd5b505050505090565b6007545f9081906133a8906001600160a01b0316613207565b600b549091506001600160a01b038083169163d6d0a65b9188916133cc9116613207565b6009546133e1906001600160a01b0316613207565b600a546133f6906001600160a01b0316613207565b60085461340b906001600160a01b0316613207565b6001546001600160a01b031661341f611ca9565b6040516001600160e01b031960e08a901b1681526001600160a01b03978816600482015295871660248701529386166044860152918516606485015284166084840152831660a483015260ff1660c482015290871660e4820152851515610104820152610124015f604051808303815f87803b15801561349d575f80fd5b505af11580156134af573d5f803e3d5ffd5b5092979650505050505050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161352a9190614252565b5f60405180830381855afa9150503d805f8114613562576040519150601f19603f3d011682016040523d82523d5f602084013e613567565b606091505b509150915081156135b9576040815110613599578080602001905181019061358f9190614268565b90945092506135b9565b60208151106135b957808060200190518101906135b69190613fbe565b93505b505094509492505050565b5f805160206143d483398151915254600160401b900460ff166135fa57604051631afcd79f60e31b815260040160405180910390fd5b565b6136046135c4565b61360c613768565b6136898383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561364d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906136719190613ef3565b60085f8660405180602001604052805f815250613778565b61369963daf9067160e01b613735565b505050565b5f6136b16001546001600160a01b031690565b6001600160a01b031663d39e6043836136c8611ca9565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561370b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061372f9190613f46565b92915050565b61373d6135c4565b613765816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b6137706135c4565b6135fa6138bf565b6137806135c4565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af41580156137d6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906137fa9190613fbe565b6138225760405163cf6935e560e01b81526001600160a01b0388166004820152602401610b26565b61382b876138ed565b61383586836138fe565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016138a483826142d9565b506138b5634a531f3360e01b613735565b5050505050505050565b6138c76135c4565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b6138f56135c4565b61376581613974565b6139066135c4565b61390e613985565b613917826139cd565b6001600160a01b03811661393e5760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061439483398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b61397c6135c4565b613765816131a7565b61398d6135c4565b6135fa6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6139d56135c4565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015613a2b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613a4f9190613fbe565b613a775760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610b26565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b5f60208284031215613aa9575f80fd5b81356001600160e01b031981168114613ac0575f80fd5b9392505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151613b3d608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261106d610100840182613ac7565b6001600160a01b0381168114613765575f80fd5b5f60208284031215613ba5575f80fd5b8135613ac081613b81565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715613be657613be6613bb0565b60405290565b604051601f8201601f191681016001600160401b0381118282101715613c1457613c14613bb0565b604052919050565b5f6001600160401b03821115613c3457613c34613bb0565b50601f01601f191660200190565b5f82601f830112613c51575f80fd5b8135602083015f613c69613c6484613c1c565b613bec565b9050828152858383011115613c7c575f80fd5b828260208301375f92810160200192909252509392505050565b6001600160401b0381168114613765575f80fd5b63ffffffff81168114613765575f80fd5b5f805f60608486031215613ccd575f80fd5b83356001600160401b03811115613ce2575f80fd5b613cee86828701613c42565b9350506020840135613cff81613c96565b91506040840135613d0f81613caa565b809150509250925092565b8015158114613765575f80fd5b5f8060408385031215613d38575f80fd5b8235613d4381613c96565b91506020830135613d5381613d1a565b809150509250929050565b64ffffffffff81168114613765575f80fd5b5f60208284031215613d80575f80fd5b8135613ac081613d5e565b5f60208284031215613d9b575f80fd5b81356001600160401b03811115613db0575f80fd5b61106d84828501613c42565b5f8060408385031215613dcd575f80fd5b8235613dd881613b81565b915060208301356001600160401b03811115613df2575f80fd5b613dfe85828601613c42565b9150509250929050565b6001600160601b0381168114613765575f80fd5b5f60208284031215613e2c575f80fd5b8135613ac081613e08565b5f8060408385031215613e48575f80fd5b8235613d4381613b81565b5f60208284031215613e63575f80fd5b8135613ac081613d1a565b5f8060408385031215613e7f575f80fd5b8235613e8a81613b81565b91506020830135613d5381613e08565b5f8060408385031215613eab575f80fd5b8235613eb681613c96565b91506020830135613d5381613b81565b5f60208284031215613ed6575f80fd5b815162ffffff81168114613ac0575f80fd5b805161327181613e08565b5f60208284031215613f03575f80fd5b8151613ac081613e08565b600181811c90821680613f2257607f821691505b602082108103613f4057634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215613f56575f80fd5b8151613ac081613b81565b606081525f613f736060830186613ac7565b90506001600160401b038416602083015263ffffffff83166040830152949350505050565b5f60208284031215613fa8575f80fd5b8151613ac081613c96565b805161327181613d1a565b5f60208284031215613fce575f80fd5b8151613ac081613d1a565b6001600160a01b03831681526040602082018190525f9061106d90830184613ac7565b805161327181613b81565b60ff81168114613765575f80fd5b805161327181614007565b5f82601f83011261402f575f80fd5b815161403d613c6482613c1c565b818152846020838601011115614051575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f6020828403121561407d575f80fd5b81516001600160401b03811115614092575f80fd5b820160e081850312156140a3575f80fd5b6140ab613bc4565b6140b482613ee8565b81526140c260208301613ee8565b60208201526140d360408301614015565b60408201526140e460608301613fb3565b60608201526140f560808301613ffc565b608082015261410660a08301613ffc565b60a082015260c08201516001600160401b03811115614123575f80fd5b61412f86828501614020565b60c083015250949350505050565b5f6020828403121561414d575f80fd5b8151613ac081614007565b634e487b7160e01b5f52600160045260245ffd5b5f6020828403121561417c575f80fd5b8151613ac081613d5e565b5f8085851115614195575f80fd5b838611156141a1575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156141df576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f8060408385031215614236575f80fd5b825161424181613b81565b6020840151909250613d5381613b81565b5f82518060208501845e5f920191825250919050565b5f8060408385031215614279575f80fd5b825161428481613d1a565b6020840151909250613d5381613caa565b601f82111561369957805f5260205f20601f840160051c810160208510156142ba5750805b601f840160051c820191505b81811015612e06575f81556001016142c6565b81516001600160401b038111156142f2576142f2613bb0565b614306816143008454613f0e565b84614295565b6020601f821160018114614338575f83156143215750848201515b5f19600385901b1c1916600184901b178455612e06565b5f84815260208120601f198516915b828110156143675787850151825560209485019460019092019101614347565b508482101561438457868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212207325b0726a27ad928128af0a3bc0a19454cdb09f01537581ddb64a46fbb43b2864736f6c634300081a0033",
1016
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610213575f3560e01c806376b707b71161011f578063ada9652e116100a9578063bf7e214f11610079578063bf7e214f146104df578063c2651725146104e7578063d1273887146104ef578063e52ba1cb14610529578063edabac031461053c575f80fd5b8063ada9652e1461049e578063b428b0b0146104b2578063b68d1809146104c5578063b7d2b162146104cc575f80fd5b8063872309c7116100ef578063872309c714610448578063893d20e81461044f5780638fb360371461045757806396cdfa3f14610478578063a2356b3a1461048b575f80fd5b806376b707b7146103f55780637a9e5e4b1461040f5780637de45f13146104225780638689231314610435575f80fd5b8063254f6866116101a05780635ab1bd53116101705780635ab1bd53146103855780635fa8aad4146103aa578063644c45e0146103bd5780636a778e73146103da5780636c741e78146103ed575f80fd5b8063254f6866146103395780632d764ef81461034c578063329d6e741461035f57806349bb9e4b14610372575f80fd5b8063138461e0116101e6578063138461e01461029e5780631eff4b22146102be5780631f481d64146102f357806322f3e2d41461031e57806323dff79214610326575f80fd5b806301ffc9a7146102175780630d8e6e2c146102585780630fec111c1461027457806311f7784314610289575b5f80fd5b610243610225366004613a99565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61026061054d565b60405162ffffff909116815260200161024f565b61027c6105d4565b60405161024f9190613af5565b61029c610297366004613b95565b61078e565b005b6102a6610896565b6040516001600160601b03909116815260200161024f565b6102e57f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161024f565b610306610301366004613cbb565b6108a0565b6040516001600160401b03909116815260200161024f565b610243610992565b61029c610334366004613d27565b610a09565b61029c610347366004613b95565b610aef565b61029c61035a366004613d70565b610c6a565b61029c61036d366004613d8b565b610d41565b61029c610380366004613dbc565b610e8b565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161024f565b6103066103b8366004613dbc565b610f86565b5f80516020614394833981519152546001600160601b03166102a6565b6102a66103e8366004613b95565b611075565b610306611c1d565b6103fd611ca9565b60405160ff909116815260200161024f565b61029c61041d366004613b95565b611d11565b61029c610430366004613e1c565b611d97565b61029c610443366004613e37565b611e69565b6102e55f81565b610392611f1a565b61045f61204b565b6040516001600160e01b0319909116815260200161024f565b61029c610486366004613e53565b612080565b61029c610499366004613e6e565b612129565b6102e55f8051602061439483398151915281565b61029c6104c0366004613e9a565b612246565b600a6103fd565b61029c6104da366004613e9a565b6122fe565b6103926123b6565b61029c6123d1565b6105026104fd366004613e53565b612489565b604080516001600160a01b0390931683526001600160601b0390911660208301520161024f565b6102a6610537366004613e1c565b612906565b6008546001600160a01b0316610392565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156105ab573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105cf9190613ec6565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610680573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106a49190613ef3565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016106ec611f1a565b6001600160a01b0316815260200182600101805461070990613f0e565b80601f016020809104026020016040519081016040528092919081815260200182805461073590613f0e565b80156107805780601f1061075757610100808354040283529160200191610780565b820191905f5260205f20905b81548152906001019060200180831161076357829003601f168201915b505050505081525091505090565b61079a335b5f36612a1b565b6107ab336107a6611ca9565b612b11565b5f6107be6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610802573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108269190613ef3565b60035460405163c26efb0560e01b81526001600160601b03831660048201526001600160a01b03858116602483015292935091169063c26efb05906044015b5f604051808303815f87803b15801561087c575f80fd5b505af115801561088e573d5f803e3d5ffd5b505050505050565b5f6105cf30612e0d565b5f6108aa33610793565b6108b6336107a6611ca9565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108f6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061091a9190613f46565b6001600160a01b0316631f481d648686866040518463ffffffff1660e01b815260040161094993929190613f61565b6020604051808303815f875af1158015610965573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109899190613f98565b95945050505050565b5f61099b6123b6565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa1580156109df573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a039190613fbe565b15905090565b610a1233610793565b610a1e336107a6611ca9565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a5e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a829190613f46565b6040516311effbc960e11b81526001600160401b038516600482015283151560248201526001600160a01b0391909116906323dff792906044015b5f604051808303815f87803b158015610ad4575f80fd5b505af1158015610ae6573d5f803e3d5ffd5b50505050505050565b610af7611f1a565b6001600160a01b0316336001600160a01b031614610b2f5760405163086391f760e31b81523360048201526024015b60405180910390fd5b6008546001600160a01b0316610b58576040516358e5a4af60e01b815260040160405180910390fd5b6001600160a01b038116610b7f57604051631aa1808560e31b815260040160405180910390fd5b6008546001600160a01b0390811690821603610bae57604051630666e2a560e01b815260040160405180910390fd5b6007546040805163379ed74560e21b8152905183926001600160a01b03908116929084169163de7b5d14916004808201926020929091908290030181865afa158015610bfc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c209190613f46565b6001600160a01b031614610c475760405163f026367160e01b815260040160405180910390fd5b50600880546001600160a01b0319166001600160a01b0392909216919091179055565b610c7333610793565b610c7f336107a6611ca9565b5f610c926001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610cd6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cfa9190613ef3565b60035460405163db1e36e760e01b81526001600160601b038316600482015264ffffffffff851660248201529192506001600160a01b03169063db1e36e790604401610865565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610d6361054d565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610da1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dc59190613f98565b5f805160206143d48339815191528054600160401b900460ff1680610df7575080546001600160401b03808416911610155b15610e155760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610e3f83613006565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b5f805160206143d48339815191528054600160401b810460ff1615906001600160401b03165f81158015610ebc5750825b90505f826001600160401b03166001148015610ed75750303b155b905081158015610ee5575080155b15610f035760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610f2d57845460ff60401b1916600160401b1785555b610f37878761300e565b8315610ae657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a150505050505050565b5f610f9033610793565b610f9c336107a6611ca9565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fdc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110009190613f46565b6001600160a01b0316635fa8aad485856040518363ffffffff1660e01b815260040161102d929190613fd9565b6020604051808303815f875af1158015611049573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061106d9190613f98565b949350505050565b5f61107e611f1a565b6001600160a01b0316336001600160a01b0316146110b15760405163086391f760e31b8152336004820152602401610b26565b6007546001600160a01b0316156110db57604051632c237de760e11b815260040160405180910390fd5b6006546001600160a01b0316156111055760405163ab0cc43960e01b815260040160405180910390fd5b6009546001600160a01b03161561112f5760405163558f4f7b60e11b815260040160405180910390fd5b600a546001600160a01b0316156111595760405163d518f81b60e01b815260040160405180910390fd5b6001600160a01b038216611180576040516309353e4560e11b815260040160405180910390fd5b5f8290505f816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111c1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111e59190613f46565b90505f826001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611224573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112489190613f46565b90505f8190505f846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561128b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112af9190613f46565b90505f8190505f866001600160a01b0316636dddada46040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112f2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113169190613f46565b90505f8190505f886001600160a01b0316630e0c586d6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611359573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061137d9190613f46565b90505f8190505f8a6001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113e49190613f46565b9050806001600160a01b038b1661140e576040516327ccc33d60e11b815260040160405180910390fd5b6001600160a01b038916611434576040516295661560e31b815260040160405180910390fd5b6001600160a01b03871661145b5760405163e267254160e01b815260040160405180910390fd5b6001600160a01b0385166114825760405163bfebabd760e01b815260040160405180910390fd5b6001600160a01b0383166114a957604051634e336b1d60e11b815260040160405180910390fd5b6001600160a01b0381166114d0576040516301fa2a2b60e01b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561150c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115309190613f46565b6001600160a01b03168c6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611575573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115999190613f46565b6001600160a01b0316146115c0576040516334ddf1a760e21b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115fc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116209190613f46565b6001600160a01b0316866001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611665573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116899190613f46565b6001600160a01b0316146116b05760405163e168da3760e01b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116ec573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117109190613f46565b6001600160a01b0316846001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611755573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117799190613f46565b6001600160a01b0316146117a0576040516303bc742960e01b815260040160405180910390fd5b896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156117dc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118009190613f46565b6001600160a01b0316826001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611845573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118699190613f46565b6001600160a01b03161461189057604051631129422760e31b815260040160405180910390fd5b8b6001600160a01b0316866001600160a01b031663681e65f06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118d6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118fa9190613f46565b6001600160a01b03161461192157604051630bbd547960e01b815260040160405180910390fd5b8b6001600160a01b0316846001600160a01b031663681e65f06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611967573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061198b9190613f46565b6001600160a01b0316146119b257604051632b34b6d960e01b815260040160405180910390fd5b8b6001600160a01b0316886001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119f8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a1c9190613f46565b6001600160a01b031614611a43576040516331783c7160e11b815260040160405180910390fd5b8a60055f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508860065f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508d60075f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508660085f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508460095f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555082600a5f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555080600b5f6101000a8154816001600160a01b0302191690836001600160a01b031602179055505f60075f9054906101000a90046001600160a01b031690505f60025f9054906101000a90046001600160a01b03166001600160a01b031663026bc43b83611b92611f1a565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044015f604051808303815f875af1158015611bdb573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611c02919081019061406d565b9050805f01519e505050505050505050505050505050919050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63645ceefe600a611c42611ca9565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015611c85573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105cf9190613f98565b5f611cb26123b6565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ced573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105cf919061413d565b33611d1a6123b6565b6001600160a01b0316816001600160a01b031614611d555760405162d1953b60e31b81526001600160a01b0382166004820152602401610b26565b816001600160a01b03163b5f03611d8a576040516361798f2f60e11b81526001600160a01b0383166004820152602401610b26565b611d93826131a7565b5050565b611da033610793565b611dac336107a6611ca9565b5f611dbf6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611e03573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e279190613ef3565b600354604051634bae314b60e01b81526001600160601b038084166004830152851660248201529192506001600160a01b031690634bae314b90604401610865565b611e7233610793565b611e7e336107a6611ca9565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ebe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ee29190613f46565b604051638689231360e01b81526001600160a01b03858116600483015284151560248301529190911690638689231390604401610abd565b5f805f8051602061439483398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611f86573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611faa9190613fbe565b15612035576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561200b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061202f9190613f46565b91505090565b54600160601b90046001600160a01b0316919050565b5f805160206143b483398151915280545f9190600160a01b900460ff16612072575f61202f565b638fb3603760e01b91505090565b61208933610793565b612095336107a6611ca9565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156120d5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120f99190613f46565b6040516396cdfa3f60e01b815283151560048201526001600160a01b0391909116906396cdfa3f90602401610865565b61213233610793565b61213e336107a6611ca9565b5f6121516001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015612195573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121b99190613ef3565b600354604051636f61deef60e11b81526001600160601b0380841660048301526001600160a01b038781166024840152908616604483015292935091169063dec3bdde906064016020604051808303815f875af115801561221c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122409190613ef3565b50505050565b61224f33610793565b61225b336107a6611ca9565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa15801561229b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122bf9190613f46565b604051630b428b0b60e41b81526001600160401b03851660048201526001600160a01b038481166024830152919091169063b428b0b090604401610abd565b61230733610793565b612313336107a6611ca9565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612353573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123779190613f46565b604051635be958b160e11b81526001600160401b03851660048201526001600160a01b038481166024830152919091169063b7d2b16290604401610abd565b5f805160206143b4833981519152546001600160a01b031690565b6123da33610793565b6123e6336107a6611ca9565b600854339081905f90612401906001600160a01b0316613207565b604051636791f7ab60e01b81526001600160a01b03858116600483015291925090821690636791f7ab906024015f604051808303815f87803b158015612445575f80fd5b505af1158015612457573d5f803e3d5ffd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528516925063f7bc431c9150602401610abd565b5f8061249433610793565b335f61249e613276565b90506124ab81838761338f565b60025460405163026bc43b60e01b81526001600160a01b038084166004830152858116602483015292965091169063026bc43b906044015f604051808303815f875af11580156124fd573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612524919081019061406d565b5f015192505f60065f9054906101000a90046001600160a01b03166001600160a01b0316638e5bc2936040518163ffffffff1660e01b8152600401602060405180830381865afa15801561257a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061259e9190613f46565b9050816001600160a01b03166304d670b96125c16001546001600160a01b031690565b836125ca611ca9565b6040516001600160e01b031960e086901b1681526001600160a01b039384166004820152918316602483015260ff16604482015290881660648201526084015f604051808303815f87803b158015612620575f80fd5b505af1158015612632573d5f803e3d5ffd5b505050506126486001546001600160a01b031690565b6001600160a01b0316856001600160a01b0316635ab1bd536040518163ffffffff1660e01b8152600401602060405180830381865afa15801561268d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126b19190613f46565b6001600160a01b0316146126c7576126c7614158565b61273d856001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612706573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061272a919061413d565b612732611ca9565b60ff90811691161490565b61274957612749614158565b60035f9054906101000a90046001600160a01b03166001600160a01b03166375cd31058573__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__63c6edc3dd6040518163ffffffff1660e01b8152600401602060405180830381865af41580156127b4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127d8919061416c565b73__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__63f87bf3736040518163ffffffff1660e01b8152600401602060405180830381865af415801561281f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128439190613f46565b6040516001600160e01b031960e086901b1681526001600160601b03909316600484015264ffffffffff90911660248301526001600160a01b031660448201526064015f604051808303815f87803b15801561289d575f80fd5b505af11580156128af573d5f803e3d5ffd5b5050604080516001600160601b03881681526001600160a01b03891660208201527f5f38ba73d945d51535b3c678f341052a70a580bed77c5db38464d02366c29fa8935001905060405180910390a1505050915091565b5f61291033610793565b61291c336107a6611ca9565b5f61292f6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015612973573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129979190613ef3565b6003546040516321ece65760e01b81526001600160601b038084166004830152861660248201529192506001600160a01b0316906321ece657906044016020604051808303815f875af11580156129f0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a149190613ef3565b5050919050565b5f805160206143b48339815191525f80612a53612a366123b6565b8730612a4560045f8a8c614187565b612a4e916141ae565b6134bc565b915091508161088e5763ffffffff811615612aee57825460ff60a01b1916600160a01b178355612a816123b6565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612ab0939291906141e6565b5f604051808303815f87803b158015612ac7575f80fd5b505af1158015612ad9573d5f803e3d5ffd5b5050845460ff60a01b191685555061088e9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610b26565b5f612b246001546001600160a01b031690565b604051632f2a35f760e11b81526001600160a01b0385811660048301529192505f91831690635e546bee90602401602060405180830381865afa158015612b6d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b919190613ef3565b604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015612bea573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c0e9190613fbe565b15612c37576040516308afbeb960e31b81526001600160a01b0385166004820152602401610b26565b6040516305247a1760e51b81526001600160601b03821660048201525f906001600160a01b0384169063a48f42e0906024015f60405180830381865afa158015612c83573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612caa919081019061406d565b60400151905060ff8116600a14612ce857604051632e87cd2360e11b81526001600160a01b038616600482015260ff82166024820152604401610b26565b60405163b2466acf60e01b815260ff8516600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063b2466acf90602401602060405180830381865af4158015612d38573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d5c9190613fbe565b15612e06575f856001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612d9e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612dc2919061413d565b905060ff8082169086161461088e57604051632f251c8760e21b81526001600160601b038416600482015260ff808716602483015282166044820152606401610b26565b5050505050565b5f805f8051602061439483398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612e79573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e9d9190613fbe565b15612ec95780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610b26565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015612f1b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f3f9190613fbe565b612f675760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610b26565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015612fb9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612fdd9190613ef3565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b6102136135c4565b5f805160206143d48339815191528054600160401b810460ff1615906001600160401b03165f8115801561303f5750825b90505f826001600160401b0316600114801561305a5750303b155b905081158015613068575080155b156130865760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156130b057845460ff60401b1916600160401b1785555b5f80878060200190518101906130c69190614225565b915091506130d582828b6135fc565b6130df600261369e565b600280546001600160a01b0319166001600160a01b0392909216919091179055613109600361369e565b600380546001600160a01b0319166001600160a01b0392909216919091179055613133600b61369e565b600480546001600160a01b0319166001600160a01b03929092169190911790556131636340f77c4160e01b613735565b50508315610ae657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610f75565b5f805160206143b483398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b5f763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c175f526e5af43d82803e903d91602b57fd5bf38260781b17602052603760095ff090506001600160a01b038116613271576040516330be1a3d60e21b815260040160405180910390fd5b919050565b5f806132f460065f9054906101000a90046001600160a01b03166001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156132cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132ef9190613f46565b613207565b60065490915061330c906001600160a01b0316613207565b604080516379ccf11760e11b81526001600160a01b0384811660048301526024820192909252600d60448201526c24b739ba30b731b2a0b236b4b760991b606482015291935083169063f399e22e906084015f604051808303815f87803b158015613375575f80fd5b505af1158015613387573d5f803e3d5ffd5b505050505090565b6007545f9081906133a8906001600160a01b0316613207565b600b549091506001600160a01b038083169163d6d0a65b9188916133cc9116613207565b6009546133e1906001600160a01b0316613207565b600a546133f6906001600160a01b0316613207565b60085461340b906001600160a01b0316613207565b6001546001600160a01b031661341f611ca9565b6040516001600160e01b031960e08a901b1681526001600160a01b03978816600482015295871660248701529386166044860152918516606485015284166084840152831660a483015260ff1660c482015290871660e4820152851515610104820152610124015f604051808303815f87803b15801561349d575f80fd5b505af11580156134af573d5f803e3d5ffd5b5092979650505050505050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161352a9190614252565b5f60405180830381855afa9150503d805f8114613562576040519150601f19603f3d011682016040523d82523d5f602084013e613567565b606091505b509150915081156135b9576040815110613599578080602001905181019061358f9190614268565b90945092506135b9565b60208151106135b957808060200190518101906135b69190613fbe565b93505b505094509492505050565b5f805160206143d483398151915254600160401b900460ff166135fa57604051631afcd79f60e31b815260040160405180910390fd5b565b6136046135c4565b61360c613768565b6136898383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561364d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906136719190613ef3565b60085f8660405180602001604052805f815250613778565b61369963daf9067160e01b613735565b505050565b5f6136b16001546001600160a01b031690565b6001600160a01b031663d39e6043836136c8611ca9565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561370b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061372f9190613f46565b92915050565b61373d6135c4565b613765816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b6137706135c4565b6135fa6138bf565b6137806135c4565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af41580156137d6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906137fa9190613fbe565b6138225760405163cf6935e560e01b81526001600160a01b0388166004820152602401610b26565b61382b876138ed565b61383586836138fe565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016138a483826142d9565b506138b5634a531f3360e01b613735565b5050505050505050565b6138c76135c4565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b6138f56135c4565b61376581613974565b6139066135c4565b61390e613985565b613917826139cd565b6001600160a01b03811661393e5760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061439483398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b61397c6135c4565b613765816131a7565b61398d6135c4565b6135fa6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6139d56135c4565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015613a2b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613a4f9190613fbe565b613a775760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610b26565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b5f60208284031215613aa9575f80fd5b81356001600160e01b031981168114613ac0575f80fd5b9392505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151613b3d608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261106d610100840182613ac7565b6001600160a01b0381168114613765575f80fd5b5f60208284031215613ba5575f80fd5b8135613ac081613b81565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715613be657613be6613bb0565b60405290565b604051601f8201601f191681016001600160401b0381118282101715613c1457613c14613bb0565b604052919050565b5f6001600160401b03821115613c3457613c34613bb0565b50601f01601f191660200190565b5f82601f830112613c51575f80fd5b8135602083015f613c69613c6484613c1c565b613bec565b9050828152858383011115613c7c575f80fd5b828260208301375f92810160200192909252509392505050565b6001600160401b0381168114613765575f80fd5b63ffffffff81168114613765575f80fd5b5f805f60608486031215613ccd575f80fd5b83356001600160401b03811115613ce2575f80fd5b613cee86828701613c42565b9350506020840135613cff81613c96565b91506040840135613d0f81613caa565b809150509250925092565b8015158114613765575f80fd5b5f8060408385031215613d38575f80fd5b8235613d4381613c96565b91506020830135613d5381613d1a565b809150509250929050565b64ffffffffff81168114613765575f80fd5b5f60208284031215613d80575f80fd5b8135613ac081613d5e565b5f60208284031215613d9b575f80fd5b81356001600160401b03811115613db0575f80fd5b61106d84828501613c42565b5f8060408385031215613dcd575f80fd5b8235613dd881613b81565b915060208301356001600160401b03811115613df2575f80fd5b613dfe85828601613c42565b9150509250929050565b6001600160601b0381168114613765575f80fd5b5f60208284031215613e2c575f80fd5b8135613ac081613e08565b5f8060408385031215613e48575f80fd5b8235613d4381613b81565b5f60208284031215613e63575f80fd5b8135613ac081613d1a565b5f8060408385031215613e7f575f80fd5b8235613e8a81613b81565b91506020830135613d5381613e08565b5f8060408385031215613eab575f80fd5b8235613eb681613c96565b91506020830135613d5381613b81565b5f60208284031215613ed6575f80fd5b815162ffffff81168114613ac0575f80fd5b805161327181613e08565b5f60208284031215613f03575f80fd5b8151613ac081613e08565b600181811c90821680613f2257607f821691505b602082108103613f4057634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215613f56575f80fd5b8151613ac081613b81565b606081525f613f736060830186613ac7565b90506001600160401b038416602083015263ffffffff83166040830152949350505050565b5f60208284031215613fa8575f80fd5b8151613ac081613c96565b805161327181613d1a565b5f60208284031215613fce575f80fd5b8151613ac081613d1a565b6001600160a01b03831681526040602082018190525f9061106d90830184613ac7565b805161327181613b81565b60ff81168114613765575f80fd5b805161327181614007565b5f82601f83011261402f575f80fd5b815161403d613c6482613c1c565b818152846020838601011115614051575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f6020828403121561407d575f80fd5b81516001600160401b03811115614092575f80fd5b820160e081850312156140a3575f80fd5b6140ab613bc4565b6140b482613ee8565b81526140c260208301613ee8565b60208201526140d360408301614015565b60408201526140e460608301613fb3565b60608201526140f560808301613ffc565b608082015261410660a08301613ffc565b60a082015260c08201516001600160401b03811115614123575f80fd5b61412f86828501614020565b60c083015250949350505050565b5f6020828403121561414d575f80fd5b8151613ac081614007565b634e487b7160e01b5f52600160045260245ffd5b5f6020828403121561417c575f80fd5b8151613ac081613d5e565b5f8085851115614195575f80fd5b838611156141a1575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156141df576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f8060408385031215614236575f80fd5b825161424181613b81565b6020840151909250613d5381613b81565b5f82518060208501845e5f920191825250919050565b5f8060408385031215614279575f80fd5b825161428481613d1a565b6020840151909250613d5381613caa565b601f82111561369957805f5260205f20601f840160051c810160208510156142ba5750805b601f840160051c820191505b81811015612e06575f81556001016142c6565b81516001600160401b038111156142f2576142f2613bb0565b614306816143008454613f0e565b84614295565b6020601f821160018114614338575f83156143215750848201515b5f19600385901b1c1916600184901b178455612e06565b5f84815260208120601f198516915b828110156143675787850151825560209485019460019092019101614347565b508482101561438457868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212207325b0726a27ad928128af0a3bc0a19454cdb09f01537581ddb64a46fbb43b2864736f6c634300081a0033",
1017
+ "linkReferences": {
1018
+ "contracts/shared/ContractLib.sol": {
1019
+ "ContractLib": [
1020
+ {
1021
+ "length": 20,
1022
+ "start": 14452
1023
+ },
1024
+ {
1025
+ "length": 20,
1026
+ "start": 15049
1027
+ }
1028
+ ]
1029
+ },
1030
+ "contracts/staking/TargetManagerLib.sol": {
1031
+ "TargetManagerLib": [
1032
+ {
1033
+ "length": 20,
1034
+ "start": 10309
1035
+ },
1036
+ {
1037
+ "length": 20,
1038
+ "start": 10416
1039
+ }
1040
+ ]
1041
+ },
1042
+ "contracts/type/NftId.sol": {
1043
+ "NftIdLib": [
1044
+ {
1045
+ "length": 20,
1046
+ "start": 1809
1047
+ },
1048
+ {
1049
+ "length": 20,
1050
+ "start": 8228
1051
+ },
1052
+ {
1053
+ "length": 20,
1054
+ "start": 11400
1055
+ },
1056
+ {
1057
+ "length": 20,
1058
+ "start": 12055
1059
+ }
1060
+ ]
1061
+ },
1062
+ "contracts/type/RoleId.sol": {
1063
+ "RoleIdLib": [
1064
+ {
1065
+ "length": 20,
1066
+ "start": 7414
1067
+ }
1068
+ ]
1069
+ },
1070
+ "contracts/type/Version.sol": {
1071
+ "VersionLib": [
1072
+ {
1073
+ "length": 20,
1074
+ "start": 1609
1075
+ },
1076
+ {
1077
+ "length": 20,
1078
+ "start": 3609
1079
+ }
1080
+ ],
1081
+ "VersionPartLib": [
1082
+ {
1083
+ "length": 20,
1084
+ "start": 11734
1085
+ }
1086
+ ]
1087
+ }
1088
+ },
1089
+ "deployedLinkReferences": {
1090
+ "contracts/shared/ContractLib.sol": {
1091
+ "ContractLib": [
1092
+ {
1093
+ "length": 20,
1094
+ "start": 14238
1095
+ },
1096
+ {
1097
+ "length": 20,
1098
+ "start": 14835
1099
+ }
1100
+ ]
1101
+ },
1102
+ "contracts/staking/TargetManagerLib.sol": {
1103
+ "TargetManagerLib": [
1104
+ {
1105
+ "length": 20,
1106
+ "start": 10095
1107
+ },
1108
+ {
1109
+ "length": 20,
1110
+ "start": 10202
1111
+ }
1112
+ ]
1113
+ },
1114
+ "contracts/type/NftId.sol": {
1115
+ "NftIdLib": [
1116
+ {
1117
+ "length": 20,
1118
+ "start": 1595
1119
+ },
1120
+ {
1121
+ "length": 20,
1122
+ "start": 8014
1123
+ },
1124
+ {
1125
+ "length": 20,
1126
+ "start": 11186
1127
+ },
1128
+ {
1129
+ "length": 20,
1130
+ "start": 11841
1131
+ }
1132
+ ]
1133
+ },
1134
+ "contracts/type/RoleId.sol": {
1135
+ "RoleIdLib": [
1136
+ {
1137
+ "length": 20,
1138
+ "start": 7200
1139
+ }
1140
+ ]
1141
+ },
1142
+ "contracts/type/Version.sol": {
1143
+ "VersionLib": [
1144
+ {
1145
+ "length": 20,
1146
+ "start": 1395
1147
+ },
1148
+ {
1149
+ "length": 20,
1150
+ "start": 3395
1151
+ }
1152
+ ],
1153
+ "VersionPartLib": [
1154
+ {
1155
+ "length": 20,
1156
+ "start": 11520
1157
+ }
1158
+ ]
1159
+ }
1160
+ }
1161
+ }