@etherisc/gif-next 0.0.2-e875d61-189 → 0.0.2-e8a628e-326

Sign up to get free protection for your applications and to get access to all the features.
Files changed (801) hide show
  1. package/README.md +384 -45
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1075 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +790 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +843 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1664 -0
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1289 -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 +1372 -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 +1244 -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 +949 -0
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1809 -0
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +930 -0
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  37. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +848 -0
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  39. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +1284 -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 +1484 -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 +2053 -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 +1439 -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 +1171 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1647 -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 +2585 -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/BaseStore.sol/BaseStore.dbg.json +4 -0
  67. package/artifacts/contracts/instance/BaseStore.sol/BaseStore.json +498 -0
  68. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  69. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  70. package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.dbg.json +4 -0
  71. package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.json +470 -0
  72. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +585 -1289
  74. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  75. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +1092 -0
  76. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  77. package/artifacts/contracts/instance/Instance.sol/Instance.json +689 -1567
  78. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  79. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2284 -0
  80. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  81. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +837 -0
  82. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  83. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +2646 -0
  84. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  85. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1338 -0
  86. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  87. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +772 -0
  88. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  89. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3378 -0
  90. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.dbg.json +4 -0
  91. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.json +1759 -0
  92. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  93. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +866 -0
  94. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  96. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +137 -0
  98. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  99. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  100. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  101. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  102. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  103. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  104. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  105. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  106. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  107. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  108. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  109. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/IComponents.sol/IComponents.json} +2 -2
  110. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  111. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.json +10 -0
  112. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  113. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  114. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  115. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  116. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  117. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  118. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  119. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +957 -0
  120. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  121. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +810 -0
  122. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  123. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  124. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  125. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +772 -0
  126. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  127. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +762 -0
  128. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  129. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +873 -0
  130. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  131. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1042 -0
  132. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  133. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +810 -0
  134. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  135. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1242 -0
  136. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  137. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +805 -0
  138. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  139. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1438 -0
  140. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  141. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +866 -0
  142. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  143. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +1033 -0
  144. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  145. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +905 -0
  146. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  147. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1449 -0
  148. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  149. package/artifacts/contracts/pool/Pool.sol/Pool.json +1025 -0
  150. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  151. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  152. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  153. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1833 -0
  154. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  155. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +866 -0
  156. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  157. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +1036 -0
  158. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  159. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +790 -0
  160. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  161. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1159 -0
  162. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  163. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +805 -0
  164. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  165. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1536 -0
  166. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  167. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +886 -0
  168. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  169. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +804 -0
  170. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  171. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1104 -0
  172. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  173. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +1036 -0
  174. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  175. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +652 -0
  176. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  177. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +1016 -0
  178. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  179. package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +665 -0
  180. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  181. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1404 -0
  182. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  183. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  184. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  185. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +854 -0
  186. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  187. package/artifacts/contracts/product/PricingService.sol/PricingService.json +932 -0
  188. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  189. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +814 -0
  190. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  191. package/artifacts/contracts/product/Product.sol/Product.json +1117 -0
  192. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  193. package/artifacts/contracts/product/RiskService.sol/RiskService.json +873 -0
  194. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  195. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +774 -0
  196. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  197. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +242 -12
  198. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  199. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +1035 -119
  200. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  201. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +1072 -0
  202. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  203. package/artifacts/contracts/{instance/IInstanceLinked.sol/IInstanceLinked.json → registry/IRelease.sol/IRelease.json} +6 -6
  204. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  205. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +39 -0
  206. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  207. package/artifacts/contracts/registry/Registry.sol/Registry.json +1473 -231
  208. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  209. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2160 -0
  210. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  211. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1074 -0
  212. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  213. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1298 -0
  214. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  215. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +773 -0
  216. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  217. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
  218. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  219. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  220. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  221. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1389 -0
  222. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  223. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +683 -0
  224. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  225. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +721 -0
  226. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  227. package/artifacts/contracts/shared/Component.sol/Component.json +705 -0
  228. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  229. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1551 -0
  230. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  231. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +862 -0
  232. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  233. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
  234. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  235. package/artifacts/contracts/shared/{IOwnable.sol/IOwnable.json → ContractLib.sol/IInstanceAdminHelper.json} +5 -5
  236. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  237. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  238. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  239. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  240. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  241. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +630 -0
  242. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  243. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1175 -0
  244. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  245. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +707 -0
  246. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  247. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +165 -178
  248. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  249. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  250. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  251. package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/INftOwnable.sol/INftOwnable.json} +62 -70
  252. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  253. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
  254. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  255. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +248 -21
  256. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  257. package/artifacts/contracts/{registry → shared}/IRegistryLinked.sol/IRegistryLinked.json +13 -2
  258. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  259. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → shared/IService.sol/IService.json} +224 -160
  260. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  261. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  262. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  263. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +795 -0
  264. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  265. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +575 -0
  266. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  267. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  268. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  269. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  270. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  271. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +228 -0
  272. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  273. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
  274. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  275. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +294 -18
  276. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  277. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
  278. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  279. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → shared/Service.sol/Service.json} +239 -234
  280. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  281. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +723 -0
  282. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  283. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  284. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  285. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  286. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  287. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +2757 -0
  288. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  289. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1147 -0
  290. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +4 -0
  291. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.json +50 -0
  292. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  293. package/artifacts/contracts/staking/Staking.sol/Staking.json +3185 -0
  294. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  295. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
  296. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  297. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +847 -0
  298. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  299. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +704 -0
  300. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  301. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1344 -0
  302. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  303. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +766 -0
  304. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  305. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +3097 -0
  306. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +4 -0
  307. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +309 -0
  308. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  309. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +679 -0
  310. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  311. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  312. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  313. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  314. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  315. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +251 -0
  316. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
  317. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
  318. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  319. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  320. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  321. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  322. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  323. package/artifacts/contracts/type/Fee.sol/FeeLib.json +373 -0
  324. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  325. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  326. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  327. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  328. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  329. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  330. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  331. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  332. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  333. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +241 -0
  334. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  335. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  336. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  337. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  338. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  339. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  340. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  341. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +204 -0
  342. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  343. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +254 -0
  344. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  345. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +289 -0
  346. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  347. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  348. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  349. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  350. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  351. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  352. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  353. package/artifacts/contracts/type/String.sol/StrLib.json +180 -0
  354. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  355. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  356. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  357. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +572 -0
  358. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  359. package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
  360. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  361. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +167 -0
  362. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  363. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +65 -0
  364. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  365. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +656 -0
  366. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  367. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +142 -0
  368. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  369. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +88 -0
  370. package/contracts/accounting/AccountingService.sol +274 -0
  371. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  372. package/contracts/accounting/IAccountingService.sol +47 -0
  373. package/contracts/authorization/AccessAdmin.sol +780 -0
  374. package/contracts/authorization/AccessAdminLib.sol +396 -0
  375. package/contracts/authorization/AccessManagerCloneable.sol +158 -0
  376. package/contracts/authorization/Authorization.sol +169 -0
  377. package/contracts/authorization/IAccess.sol +67 -0
  378. package/contracts/authorization/IAccessAdmin.sol +144 -0
  379. package/contracts/authorization/IAuthorization.sol +26 -0
  380. package/contracts/authorization/IServiceAuthorization.sol +78 -0
  381. package/contracts/authorization/ServiceAuthorization.sol +320 -0
  382. package/contracts/distribution/BasicDistribution.sol +141 -0
  383. package/contracts/distribution/BasicDistributionAuthorization.sol +67 -0
  384. package/contracts/distribution/Distribution.sol +247 -0
  385. package/contracts/distribution/DistributionService.sol +448 -0
  386. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  387. package/contracts/distribution/IDistributionComponent.sol +45 -0
  388. package/contracts/distribution/IDistributionService.sol +115 -0
  389. package/contracts/examples/fire/DamageLevel.sol +59 -0
  390. package/contracts/examples/fire/FirePool.sol +86 -0
  391. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  392. package/contracts/examples/fire/FireProduct.sol +433 -0
  393. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  394. package/contracts/examples/fire/FireUSD.sol +26 -0
  395. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  396. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  397. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  398. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  399. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  400. package/contracts/examples/unpermissioned/SimpleProduct.sol +437 -0
  401. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  402. package/contracts/instance/BaseStore.sol +97 -0
  403. package/contracts/instance/BundleSet.sol +130 -0
  404. package/contracts/instance/IBaseStore.sol +43 -0
  405. package/contracts/instance/IInstance.sol +150 -44
  406. package/contracts/instance/IInstanceService.sol +119 -0
  407. package/contracts/instance/Instance.sol +350 -63
  408. package/contracts/instance/InstanceAdmin.sol +379 -0
  409. package/contracts/instance/InstanceAuthorizationV3.sol +275 -0
  410. package/contracts/instance/InstanceReader.sol +634 -0
  411. package/contracts/instance/InstanceService.sol +514 -0
  412. package/contracts/instance/InstanceServiceManager.sol +39 -0
  413. package/contracts/instance/InstanceStore.sol +271 -0
  414. package/contracts/instance/ProductStore.sol +110 -0
  415. package/contracts/instance/RiskSet.sol +126 -0
  416. package/contracts/instance/TargetNames.sol +10 -0
  417. package/contracts/instance/base/BalanceStore.sol +121 -0
  418. package/contracts/instance/base/Cloneable.sol +28 -0
  419. package/contracts/instance/base/ObjectCounter.sol +20 -0
  420. package/contracts/instance/base/ObjectLifecycle.sol +109 -0
  421. package/contracts/instance/base/ObjectSet.sol +77 -0
  422. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  423. package/contracts/instance/module/IBundle.sol +21 -0
  424. package/contracts/instance/module/IComponents.sol +62 -0
  425. package/contracts/instance/module/IDistribution.sol +54 -0
  426. package/contracts/instance/module/IPolicy.sol +105 -0
  427. package/contracts/instance/module/IRisk.sol +16 -0
  428. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  429. package/contracts/oracle/BasicOracle.sol +45 -0
  430. package/contracts/oracle/BasicOracleAuthorization.sol +53 -0
  431. package/contracts/oracle/IOracle.sol +41 -0
  432. package/contracts/oracle/IOracleComponent.sol +33 -0
  433. package/contracts/oracle/IOracleService.sol +66 -0
  434. package/contracts/oracle/Oracle.sol +154 -0
  435. package/contracts/oracle/OracleService.sol +310 -0
  436. package/contracts/oracle/OracleServiceManager.sol +39 -0
  437. package/contracts/pool/BasicPool.sol +162 -0
  438. package/contracts/pool/BasicPoolAuthorization.sol +81 -0
  439. package/contracts/pool/BundleService.sol +386 -0
  440. package/contracts/pool/BundleServiceManager.sol +39 -0
  441. package/contracts/pool/IBundleService.sol +116 -0
  442. package/contracts/pool/IPoolComponent.sol +62 -0
  443. package/contracts/pool/IPoolService.sol +170 -0
  444. package/contracts/pool/Pool.sol +333 -0
  445. package/contracts/pool/PoolLib.sol +341 -0
  446. package/contracts/pool/PoolService.sol +614 -0
  447. package/contracts/pool/PoolServiceManager.sol +39 -0
  448. package/contracts/product/ApplicationService.sol +327 -0
  449. package/contracts/product/ApplicationServiceManager.sol +38 -0
  450. package/contracts/product/BasicProduct.sol +49 -0
  451. package/contracts/product/BasicProductAuthorization.sol +63 -0
  452. package/contracts/product/ClaimService.sol +626 -0
  453. package/contracts/product/ClaimServiceManager.sol +38 -0
  454. package/contracts/product/IApplicationService.sol +88 -0
  455. package/contracts/product/IClaimService.sol +136 -0
  456. package/contracts/product/IPolicyService.sol +102 -0
  457. package/contracts/product/IPricingService.sol +40 -0
  458. package/contracts/product/IProductComponent.sol +62 -0
  459. package/contracts/product/IRiskService.sol +48 -0
  460. package/contracts/product/PolicyService.sol +645 -0
  461. package/contracts/product/PolicyServiceLib.sol +139 -0
  462. package/contracts/product/PolicyServiceManager.sol +39 -0
  463. package/contracts/product/PricingService.sol +306 -0
  464. package/contracts/product/PricingServiceManager.sol +39 -0
  465. package/contracts/product/Product.sol +493 -0
  466. package/contracts/product/RiskService.sol +190 -0
  467. package/contracts/product/RiskServiceManager.sol +39 -0
  468. package/contracts/registry/ChainNft.sol +130 -40
  469. package/contracts/registry/IRegistry.sol +144 -29
  470. package/contracts/registry/IRegistryService.sol +62 -0
  471. package/contracts/registry/IRelease.sol +29 -0
  472. package/contracts/registry/ITransferInterceptor.sol +6 -0
  473. package/contracts/registry/Registry.sol +637 -282
  474. package/contracts/registry/RegistryAdmin.sol +191 -0
  475. package/contracts/registry/RegistryAuthorization.sol +336 -0
  476. package/contracts/registry/RegistryService.sol +241 -0
  477. package/contracts/registry/RegistryServiceManager.sol +53 -0
  478. package/contracts/registry/ReleaseAdmin.sol +195 -0
  479. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  480. package/contracts/registry/ReleaseRegistry.sol +525 -0
  481. package/contracts/registry/ServiceAuthorizationV3.sol +342 -0
  482. package/contracts/registry/TokenRegistry.sol +317 -0
  483. package/contracts/shared/Component.sol +214 -0
  484. package/contracts/shared/ComponentService.sol +687 -0
  485. package/contracts/shared/ComponentServiceManager.sol +38 -0
  486. package/contracts/shared/ContractLib.sol +312 -0
  487. package/contracts/shared/IComponent.sol +58 -0
  488. package/contracts/shared/IComponentService.sol +111 -0
  489. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  490. package/contracts/shared/IKeyValueStore.sol +62 -0
  491. package/contracts/{instance/base → shared}/ILifecycle.sol +6 -5
  492. package/contracts/shared/INftOwnable.sol +27 -0
  493. package/contracts/shared/IPolicyHolder.sol +35 -0
  494. package/contracts/shared/IRegisterable.sol +31 -19
  495. package/contracts/shared/IRegistryLinked.sol +11 -0
  496. package/contracts/shared/IService.sol +23 -0
  497. package/contracts/shared/InitializableERC165.sol +35 -0
  498. package/contracts/shared/InstanceLinkedComponent.sol +194 -0
  499. package/contracts/shared/KeyValueStore.sol +131 -0
  500. package/contracts/shared/Lifecycle.sol +88 -0
  501. package/contracts/shared/NftIdSet.sol +65 -0
  502. package/contracts/shared/NftOwnable.sol +129 -0
  503. package/contracts/shared/PolicyHolder.sol +63 -0
  504. package/contracts/shared/Registerable.sol +80 -60
  505. package/contracts/shared/RegistryLinked.sol +38 -0
  506. package/contracts/shared/Service.sol +67 -0
  507. package/contracts/shared/TokenHandler.sol +342 -0
  508. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  509. package/contracts/staking/IStaking.sol +367 -0
  510. package/contracts/staking/IStakingService.sol +127 -0
  511. package/contracts/staking/ITargetLimitHandler.sol +17 -0
  512. package/contracts/staking/Staking.sol +798 -0
  513. package/contracts/staking/StakingLib.sol +195 -0
  514. package/contracts/staking/StakingManager.sol +53 -0
  515. package/contracts/staking/StakingReader.sol +171 -0
  516. package/contracts/staking/StakingService.sol +321 -0
  517. package/contracts/staking/StakingServiceManager.sol +46 -0
  518. package/contracts/staking/StakingStore.sol +1368 -0
  519. package/contracts/staking/TargetHandler.sol +132 -0
  520. package/contracts/staking/TargetManagerLib.sol +234 -0
  521. package/contracts/{types → type}/AddressSet.sol +1 -1
  522. package/contracts/type/Amount.sol +154 -0
  523. package/contracts/{types → type}/Blocknumber.sol +36 -12
  524. package/contracts/type/ChainId.sol +101 -0
  525. package/contracts/type/ClaimId.sol +80 -0
  526. package/contracts/type/DistributorType.sol +55 -0
  527. package/contracts/type/Fee.sol +66 -0
  528. package/contracts/{types → type}/Key32.sol +10 -5
  529. package/contracts/type/Key32Set.sol +62 -0
  530. package/contracts/{types → type}/NftId.sol +28 -15
  531. package/contracts/type/NftIdSet.sol +62 -0
  532. package/contracts/type/ObjectType.sol +307 -0
  533. package/contracts/type/PayoutId.sol +82 -0
  534. package/contracts/type/Referral.sol +90 -0
  535. package/contracts/type/RequestId.sol +75 -0
  536. package/contracts/type/RiskId.sol +75 -0
  537. package/contracts/type/RoleId.sol +180 -0
  538. package/contracts/type/Seconds.sol +120 -0
  539. package/contracts/type/Selector.sol +107 -0
  540. package/contracts/{types → type}/StateId.sol +53 -5
  541. package/contracts/type/String.sol +65 -0
  542. package/contracts/{types → type}/Timestamp.sol +39 -19
  543. package/contracts/{types → type}/UFixed.sol +73 -19
  544. package/contracts/type/Version.sol +159 -0
  545. package/contracts/upgradeability/IVersionable.sol +56 -0
  546. package/contracts/upgradeability/ProxyManager.sol +246 -0
  547. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +24 -0
  548. package/contracts/upgradeability/Versionable.sol +62 -0
  549. package/package.json +13 -8
  550. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  551. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -174
  552. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  553. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  554. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -356
  555. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  556. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -279
  557. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  558. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -455
  559. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  560. package/artifacts/contracts/components/Product.sol/Product.json +0 -348
  561. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  562. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  563. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  564. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  565. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  566. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  567. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  568. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  569. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  570. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  571. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  572. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  573. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  574. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  575. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  576. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  577. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  578. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  579. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  580. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  581. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  582. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  583. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  584. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  585. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  586. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  587. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  588. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  589. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  590. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  591. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  592. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  593. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  594. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  595. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  596. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  597. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +0 -300
  598. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  599. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -81
  600. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  601. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  602. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  603. package/artifacts/contracts/instance/base/IService.sol/IService.json +0 -300
  604. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  605. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.json +0 -344
  606. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  607. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -710
  608. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  609. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  610. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  611. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  612. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +0 -300
  613. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  614. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  615. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  616. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  617. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  618. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  619. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -265
  620. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  621. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  622. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -265
  623. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +0 -4
  624. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +0 -10
  625. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +0 -4
  626. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.json +0 -10
  627. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +0 -4
  628. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.json +0 -10
  629. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  630. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -136
  631. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  632. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  633. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  634. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -136
  635. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  636. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  637. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -273
  638. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  639. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -273
  640. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  641. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  642. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  643. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -144
  644. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  645. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -144
  646. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  647. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  648. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -10
  649. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  650. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -10
  651. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  652. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.json +0 -10
  653. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  654. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -531
  655. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  656. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  657. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  658. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -531
  659. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  660. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -523
  661. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  662. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  663. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +0 -376
  664. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  665. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  666. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -471
  667. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  668. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -673
  669. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  670. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -452
  671. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  672. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  673. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  674. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  675. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  676. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -164
  677. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  678. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -164
  679. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  680. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  681. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  682. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -455
  683. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  684. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -436
  685. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  686. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -137
  687. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  688. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  689. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  690. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -379
  691. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  692. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -338
  693. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  694. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  695. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  696. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -206
  697. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  698. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -338
  699. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  700. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  701. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  702. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  703. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  704. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  705. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  706. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -218
  707. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  708. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -111
  709. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  710. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  711. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  712. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  713. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  714. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  715. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  716. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -30
  717. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  718. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  719. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  720. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -236
  721. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  722. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -479
  723. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  724. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -139
  725. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  726. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -30
  727. package/contracts/components/BaseComponent.sol +0 -94
  728. package/contracts/components/IBaseComponent.sol +0 -19
  729. package/contracts/components/IPoolComponent.sol +0 -57
  730. package/contracts/components/IProductComponent.sol +0 -19
  731. package/contracts/components/Pool.sol +0 -191
  732. package/contracts/components/Product.sol +0 -134
  733. package/contracts/experiment/errors/Require.sol +0 -38
  734. package/contracts/experiment/errors/Revert.sol +0 -44
  735. package/contracts/experiment/inheritance/A.sol +0 -53
  736. package/contracts/experiment/inheritance/B.sol +0 -28
  737. package/contracts/experiment/inheritance/C.sol +0 -34
  738. package/contracts/experiment/inheritance/IA.sol +0 -13
  739. package/contracts/experiment/inheritance/IB.sol +0 -10
  740. package/contracts/experiment/inheritance/IC.sol +0 -12
  741. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  742. package/contracts/experiment/statemachine/ISM.sol +0 -25
  743. package/contracts/experiment/statemachine/README.md +0 -112
  744. package/contracts/experiment/statemachine/SM.sol +0 -57
  745. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  746. package/contracts/experiment/types/TypeA.sol +0 -47
  747. package/contracts/experiment/types/TypeB.sol +0 -29
  748. package/contracts/instance/IInstanceLinked.sol +0 -8
  749. package/contracts/instance/base/ComponentServiceBase.sol +0 -42
  750. package/contracts/instance/base/IInstanceBase.sol +0 -19
  751. package/contracts/instance/base/IKeyValueStore.sol +0 -50
  752. package/contracts/instance/base/IService.sol +0 -15
  753. package/contracts/instance/base/InstanceBase.sol +0 -84
  754. package/contracts/instance/base/KeyValueStore.sol +0 -161
  755. package/contracts/instance/base/Lifecycle.sol +0 -92
  756. package/contracts/instance/base/ModuleBase.sol +0 -46
  757. package/contracts/instance/base/ServiceBase.sol +0 -37
  758. package/contracts/instance/module/access/Access.sol +0 -149
  759. package/contracts/instance/module/access/IAccess.sol +0 -53
  760. package/contracts/instance/module/bundle/BundleModule.sol +0 -135
  761. package/contracts/instance/module/bundle/IBundle.sol +0 -51
  762. package/contracts/instance/module/compensation/CompensationModule.sol +0 -17
  763. package/contracts/instance/module/compensation/ICompensation.sol +0 -10
  764. package/contracts/instance/module/component/ComponentModule.sol +0 -81
  765. package/contracts/instance/module/component/IComponent.sol +0 -29
  766. package/contracts/instance/module/policy/IPolicy.sol +0 -59
  767. package/contracts/instance/module/policy/PolicyModule.sol +0 -89
  768. package/contracts/instance/module/pool/IPoolModule.sol +0 -40
  769. package/contracts/instance/module/pool/PoolModule.sol +0 -90
  770. package/contracts/instance/module/risk/IRisk.sol +0 -10
  771. package/contracts/instance/module/risk/RiskModule.sol +0 -17
  772. package/contracts/instance/module/treasury/ITreasury.sol +0 -96
  773. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  774. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -171
  775. package/contracts/instance/service/ComponentOwnerService.sol +0 -155
  776. package/contracts/instance/service/IComponentOwnerService.sol +0 -22
  777. package/contracts/instance/service/IPoolService.sol +0 -30
  778. package/contracts/instance/service/IProductService.sol +0 -58
  779. package/contracts/instance/service/PoolService.sol +0 -129
  780. package/contracts/instance/service/ProductService.sol +0 -366
  781. package/contracts/registry/IChainNft.sol +0 -21
  782. package/contracts/registry/IRegistryLinked.sol +0 -8
  783. package/contracts/shared/ERC165.sol +0 -21
  784. package/contracts/shared/IOwnable.sol +0 -6
  785. package/contracts/shared/IVersionable.sol +0 -52
  786. package/contracts/shared/Versionable.sol +0 -89
  787. package/contracts/test/TestFee.sol +0 -25
  788. package/contracts/test/TestPool.sol +0 -24
  789. package/contracts/test/TestProduct.sol +0 -51
  790. package/contracts/test/TestRegisterable.sol +0 -19
  791. package/contracts/test/TestRoleId.sol +0 -14
  792. package/contracts/test/TestService.sol +0 -32
  793. package/contracts/test/TestToken.sol +0 -26
  794. package/contracts/test/TestVersion.sol +0 -44
  795. package/contracts/test/TestVersionable.sol +0 -17
  796. package/contracts/types/ChainId.sol +0 -38
  797. package/contracts/types/Fee.sol +0 -51
  798. package/contracts/types/NftIdSet.sol +0 -60
  799. package/contracts/types/ObjectType.sol +0 -123
  800. package/contracts/types/RoleId.sol +0 -38
  801. package/contracts/types/Version.sol +0 -95
@@ -0,0 +1,1338 @@
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
+ "name": "ErrorInstanceServiceProductStoreAuthorityMismatch",
276
+ "type": "error"
277
+ },
278
+ {
279
+ "inputs": [],
280
+ "name": "ErrorInstanceServiceProductStoreZero",
281
+ "type": "error"
282
+ },
283
+ {
284
+ "inputs": [
285
+ {
286
+ "internalType": "address",
287
+ "name": "caller",
288
+ "type": "address"
289
+ }
290
+ ],
291
+ "name": "ErrorInstanceServiceRequestUnauhorized",
292
+ "type": "error"
293
+ },
294
+ {
295
+ "inputs": [],
296
+ "name": "ErrorInstanceServiceRiskSetAuthorityMismatch",
297
+ "type": "error"
298
+ },
299
+ {
300
+ "inputs": [],
301
+ "name": "ErrorInstanceServiceRiskSetInstanceMismatch",
302
+ "type": "error"
303
+ },
304
+ {
305
+ "inputs": [],
306
+ "name": "ErrorInstanceServiceRiskSetZero",
307
+ "type": "error"
308
+ },
309
+ {
310
+ "inputs": [
311
+ {
312
+ "internalType": "NftId",
313
+ "name": "nftId",
314
+ "type": "uint96"
315
+ }
316
+ ],
317
+ "name": "ErrorNftOwnableAlreadyLinked",
318
+ "type": "error"
319
+ },
320
+ {
321
+ "inputs": [
322
+ {
323
+ "internalType": "address",
324
+ "name": "contractAddress",
325
+ "type": "address"
326
+ }
327
+ ],
328
+ "name": "ErrorNftOwnableContractNotRegistered",
329
+ "type": "error"
330
+ },
331
+ {
332
+ "inputs": [],
333
+ "name": "ErrorNftOwnableInitialOwnerZero",
334
+ "type": "error"
335
+ },
336
+ {
337
+ "inputs": [
338
+ {
339
+ "internalType": "NftId",
340
+ "name": "nftId",
341
+ "type": "uint96"
342
+ },
343
+ {
344
+ "internalType": "ObjectType",
345
+ "name": "expectedObjectType",
346
+ "type": "uint8"
347
+ }
348
+ ],
349
+ "name": "ErrorNftOwnableInvalidType",
350
+ "type": "error"
351
+ },
352
+ {
353
+ "inputs": [
354
+ {
355
+ "internalType": "address",
356
+ "name": "account",
357
+ "type": "address"
358
+ }
359
+ ],
360
+ "name": "ErrorNftOwnableNotOwner",
361
+ "type": "error"
362
+ },
363
+ {
364
+ "inputs": [
365
+ {
366
+ "internalType": "address",
367
+ "name": "registryAddress",
368
+ "type": "address"
369
+ }
370
+ ],
371
+ "name": "ErrorNotRegistry",
372
+ "type": "error"
373
+ },
374
+ {
375
+ "inputs": [],
376
+ "name": "ErrorRegisterableNotActive",
377
+ "type": "error"
378
+ },
379
+ {
380
+ "inputs": [],
381
+ "name": "ErrorVersionableInitializeNotImplemented",
382
+ "type": "error"
383
+ },
384
+ {
385
+ "inputs": [],
386
+ "name": "ErrorVersionableUpgradeNotImplemented",
387
+ "type": "error"
388
+ },
389
+ {
390
+ "inputs": [],
391
+ "name": "InvalidInitialization",
392
+ "type": "error"
393
+ },
394
+ {
395
+ "inputs": [],
396
+ "name": "NotInitializing",
397
+ "type": "error"
398
+ },
399
+ {
400
+ "inputs": [],
401
+ "name": "ReentrancyGuardReentrantCall",
402
+ "type": "error"
403
+ },
404
+ {
405
+ "anonymous": false,
406
+ "inputs": [
407
+ {
408
+ "indexed": false,
409
+ "internalType": "address",
410
+ "name": "authority",
411
+ "type": "address"
412
+ }
413
+ ],
414
+ "name": "AuthorityUpdated",
415
+ "type": "event"
416
+ },
417
+ {
418
+ "anonymous": false,
419
+ "inputs": [
420
+ {
421
+ "indexed": false,
422
+ "internalType": "uint64",
423
+ "name": "version",
424
+ "type": "uint64"
425
+ }
426
+ ],
427
+ "name": "Initialized",
428
+ "type": "event"
429
+ },
430
+ {
431
+ "anonymous": false,
432
+ "inputs": [
433
+ {
434
+ "indexed": false,
435
+ "internalType": "NftId",
436
+ "name": "instanceNftId",
437
+ "type": "uint96"
438
+ },
439
+ {
440
+ "indexed": false,
441
+ "internalType": "address",
442
+ "name": "instance",
443
+ "type": "address"
444
+ }
445
+ ],
446
+ "name": "LogInstanceServiceInstanceCreated",
447
+ "type": "event"
448
+ },
449
+ {
450
+ "anonymous": false,
451
+ "inputs": [
452
+ {
453
+ "indexed": false,
454
+ "internalType": "NftId",
455
+ "name": "instanceNftId",
456
+ "type": "uint96"
457
+ },
458
+ {
459
+ "indexed": false,
460
+ "internalType": "bool",
461
+ "name": "locked",
462
+ "type": "bool"
463
+ }
464
+ ],
465
+ "name": "LogInstanceServiceInstanceLocked",
466
+ "type": "event"
467
+ },
468
+ {
469
+ "anonymous": false,
470
+ "inputs": [
471
+ {
472
+ "indexed": false,
473
+ "internalType": "NftId",
474
+ "name": "instanceNfId",
475
+ "type": "uint96"
476
+ },
477
+ {
478
+ "indexed": false,
479
+ "internalType": "address",
480
+ "name": "newInstanceReader",
481
+ "type": "address"
482
+ }
483
+ ],
484
+ "name": "LogInstanceServiceInstanceReaderUpgraded",
485
+ "type": "event"
486
+ },
487
+ {
488
+ "anonymous": false,
489
+ "inputs": [
490
+ {
491
+ "indexed": false,
492
+ "internalType": "NftId",
493
+ "name": "instanceNfId",
494
+ "type": "uint96"
495
+ },
496
+ {
497
+ "indexed": false,
498
+ "internalType": "address",
499
+ "name": "newInstanceReader",
500
+ "type": "address"
501
+ }
502
+ ],
503
+ "name": "LogInstanceServiceMasterInstanceReaderUpgraded",
504
+ "type": "event"
505
+ },
506
+ {
507
+ "anonymous": false,
508
+ "inputs": [
509
+ {
510
+ "indexed": false,
511
+ "internalType": "NftId",
512
+ "name": "nftId",
513
+ "type": "uint96"
514
+ },
515
+ {
516
+ "indexed": false,
517
+ "internalType": "address",
518
+ "name": "owner",
519
+ "type": "address"
520
+ }
521
+ ],
522
+ "name": "LogNftOwnableNftLinkedToAddress",
523
+ "type": "event"
524
+ },
525
+ {
526
+ "inputs": [],
527
+ "name": "INSTANCE_CREATION_CODE_HASH",
528
+ "outputs": [
529
+ {
530
+ "internalType": "bytes32",
531
+ "name": "",
532
+ "type": "bytes32"
533
+ }
534
+ ],
535
+ "stateMutability": "view",
536
+ "type": "function"
537
+ },
538
+ {
539
+ "inputs": [],
540
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
541
+ "outputs": [
542
+ {
543
+ "internalType": "bytes32",
544
+ "name": "",
545
+ "type": "bytes32"
546
+ }
547
+ ],
548
+ "stateMutability": "view",
549
+ "type": "function"
550
+ },
551
+ {
552
+ "inputs": [],
553
+ "name": "REGISTERABLE_LOCATION_V1",
554
+ "outputs": [
555
+ {
556
+ "internalType": "bytes32",
557
+ "name": "",
558
+ "type": "bytes32"
559
+ }
560
+ ],
561
+ "stateMutability": "view",
562
+ "type": "function"
563
+ },
564
+ {
565
+ "inputs": [],
566
+ "name": "authority",
567
+ "outputs": [
568
+ {
569
+ "internalType": "address",
570
+ "name": "",
571
+ "type": "address"
572
+ }
573
+ ],
574
+ "stateMutability": "view",
575
+ "type": "function"
576
+ },
577
+ {
578
+ "inputs": [
579
+ {
580
+ "internalType": "address",
581
+ "name": "target",
582
+ "type": "address"
583
+ },
584
+ {
585
+ "internalType": "RoleId",
586
+ "name": "roleId",
587
+ "type": "uint64"
588
+ },
589
+ {
590
+ "components": [
591
+ {
592
+ "internalType": "Str",
593
+ "name": "name",
594
+ "type": "bytes32"
595
+ },
596
+ {
597
+ "internalType": "Selector",
598
+ "name": "selector",
599
+ "type": "bytes4"
600
+ },
601
+ {
602
+ "internalType": "Timestamp",
603
+ "name": "createdAt",
604
+ "type": "uint40"
605
+ }
606
+ ],
607
+ "internalType": "struct IAccess.FunctionInfo[]",
608
+ "name": "functions",
609
+ "type": "tuple[]"
610
+ }
611
+ ],
612
+ "name": "authorizeFunctions",
613
+ "outputs": [],
614
+ "stateMutability": "nonpayable",
615
+ "type": "function"
616
+ },
617
+ {
618
+ "inputs": [
619
+ {
620
+ "internalType": "bool",
621
+ "name": "allowAnyToken",
622
+ "type": "bool"
623
+ }
624
+ ],
625
+ "name": "createInstance",
626
+ "outputs": [
627
+ {
628
+ "internalType": "contract IInstance",
629
+ "name": "instance",
630
+ "type": "address"
631
+ },
632
+ {
633
+ "internalType": "NftId",
634
+ "name": "instanceNftId",
635
+ "type": "uint96"
636
+ }
637
+ ],
638
+ "stateMutability": "nonpayable",
639
+ "type": "function"
640
+ },
641
+ {
642
+ "inputs": [
643
+ {
644
+ "internalType": "string",
645
+ "name": "roleName",
646
+ "type": "string"
647
+ },
648
+ {
649
+ "internalType": "RoleId",
650
+ "name": "adminRoleId",
651
+ "type": "uint64"
652
+ },
653
+ {
654
+ "internalType": "uint32",
655
+ "name": "maxMemberCount",
656
+ "type": "uint32"
657
+ }
658
+ ],
659
+ "name": "createRole",
660
+ "outputs": [
661
+ {
662
+ "internalType": "RoleId",
663
+ "name": "roleId",
664
+ "type": "uint64"
665
+ }
666
+ ],
667
+ "stateMutability": "nonpayable",
668
+ "type": "function"
669
+ },
670
+ {
671
+ "inputs": [
672
+ {
673
+ "internalType": "address",
674
+ "name": "target",
675
+ "type": "address"
676
+ },
677
+ {
678
+ "internalType": "string",
679
+ "name": "name",
680
+ "type": "string"
681
+ }
682
+ ],
683
+ "name": "createTarget",
684
+ "outputs": [
685
+ {
686
+ "internalType": "RoleId",
687
+ "name": "contractRoleId",
688
+ "type": "uint64"
689
+ }
690
+ ],
691
+ "stateMutability": "nonpayable",
692
+ "type": "function"
693
+ },
694
+ {
695
+ "inputs": [],
696
+ "name": "getDomain",
697
+ "outputs": [
698
+ {
699
+ "internalType": "ObjectType",
700
+ "name": "serviceDomain",
701
+ "type": "uint8"
702
+ }
703
+ ],
704
+ "stateMutability": "pure",
705
+ "type": "function"
706
+ },
707
+ {
708
+ "inputs": [],
709
+ "name": "getInitialInfo",
710
+ "outputs": [
711
+ {
712
+ "components": [
713
+ {
714
+ "internalType": "NftId",
715
+ "name": "nftId",
716
+ "type": "uint96"
717
+ },
718
+ {
719
+ "internalType": "NftId",
720
+ "name": "parentNftId",
721
+ "type": "uint96"
722
+ },
723
+ {
724
+ "internalType": "ObjectType",
725
+ "name": "objectType",
726
+ "type": "uint8"
727
+ },
728
+ {
729
+ "internalType": "bool",
730
+ "name": "isInterceptor",
731
+ "type": "bool"
732
+ },
733
+ {
734
+ "internalType": "address",
735
+ "name": "objectAddress",
736
+ "type": "address"
737
+ },
738
+ {
739
+ "internalType": "address",
740
+ "name": "initialOwner",
741
+ "type": "address"
742
+ },
743
+ {
744
+ "internalType": "bytes",
745
+ "name": "data",
746
+ "type": "bytes"
747
+ }
748
+ ],
749
+ "internalType": "struct IRegistry.ObjectInfo",
750
+ "name": "info",
751
+ "type": "tuple"
752
+ }
753
+ ],
754
+ "stateMutability": "view",
755
+ "type": "function"
756
+ },
757
+ {
758
+ "inputs": [],
759
+ "name": "getMasterInstanceReader",
760
+ "outputs": [
761
+ {
762
+ "internalType": "address",
763
+ "name": "",
764
+ "type": "address"
765
+ }
766
+ ],
767
+ "stateMutability": "view",
768
+ "type": "function"
769
+ },
770
+ {
771
+ "inputs": [],
772
+ "name": "getNftId",
773
+ "outputs": [
774
+ {
775
+ "internalType": "NftId",
776
+ "name": "",
777
+ "type": "uint96"
778
+ }
779
+ ],
780
+ "stateMutability": "view",
781
+ "type": "function"
782
+ },
783
+ {
784
+ "inputs": [],
785
+ "name": "getOwner",
786
+ "outputs": [
787
+ {
788
+ "internalType": "address",
789
+ "name": "",
790
+ "type": "address"
791
+ }
792
+ ],
793
+ "stateMutability": "view",
794
+ "type": "function"
795
+ },
796
+ {
797
+ "inputs": [],
798
+ "name": "getRegistry",
799
+ "outputs": [
800
+ {
801
+ "internalType": "contract IRegistry",
802
+ "name": "",
803
+ "type": "address"
804
+ }
805
+ ],
806
+ "stateMutability": "view",
807
+ "type": "function"
808
+ },
809
+ {
810
+ "inputs": [],
811
+ "name": "getRelease",
812
+ "outputs": [
813
+ {
814
+ "internalType": "VersionPart",
815
+ "name": "release",
816
+ "type": "uint8"
817
+ }
818
+ ],
819
+ "stateMutability": "view",
820
+ "type": "function"
821
+ },
822
+ {
823
+ "inputs": [],
824
+ "name": "getRoleId",
825
+ "outputs": [
826
+ {
827
+ "internalType": "RoleId",
828
+ "name": "serviceRoleId",
829
+ "type": "uint64"
830
+ }
831
+ ],
832
+ "stateMutability": "view",
833
+ "type": "function"
834
+ },
835
+ {
836
+ "inputs": [],
837
+ "name": "getVersion",
838
+ "outputs": [
839
+ {
840
+ "internalType": "Version",
841
+ "name": "",
842
+ "type": "uint24"
843
+ }
844
+ ],
845
+ "stateMutability": "pure",
846
+ "type": "function"
847
+ },
848
+ {
849
+ "inputs": [
850
+ {
851
+ "internalType": "RoleId",
852
+ "name": "roleId",
853
+ "type": "uint64"
854
+ },
855
+ {
856
+ "internalType": "address",
857
+ "name": "account",
858
+ "type": "address"
859
+ }
860
+ ],
861
+ "name": "grantRole",
862
+ "outputs": [],
863
+ "stateMutability": "nonpayable",
864
+ "type": "function"
865
+ },
866
+ {
867
+ "inputs": [
868
+ {
869
+ "internalType": "address",
870
+ "name": "activatedBy",
871
+ "type": "address"
872
+ },
873
+ {
874
+ "internalType": "bytes",
875
+ "name": "data",
876
+ "type": "bytes"
877
+ }
878
+ ],
879
+ "name": "initializeVersionable",
880
+ "outputs": [],
881
+ "stateMutability": "nonpayable",
882
+ "type": "function"
883
+ },
884
+ {
885
+ "inputs": [],
886
+ "name": "isActive",
887
+ "outputs": [
888
+ {
889
+ "internalType": "bool",
890
+ "name": "active",
891
+ "type": "bool"
892
+ }
893
+ ],
894
+ "stateMutability": "view",
895
+ "type": "function"
896
+ },
897
+ {
898
+ "inputs": [],
899
+ "name": "isConsumingScheduledOp",
900
+ "outputs": [
901
+ {
902
+ "internalType": "bytes4",
903
+ "name": "",
904
+ "type": "bytes4"
905
+ }
906
+ ],
907
+ "stateMutability": "view",
908
+ "type": "function"
909
+ },
910
+ {
911
+ "inputs": [],
912
+ "name": "linkToRegisteredNftId",
913
+ "outputs": [
914
+ {
915
+ "internalType": "NftId",
916
+ "name": "nftId",
917
+ "type": "uint96"
918
+ }
919
+ ],
920
+ "stateMutability": "nonpayable",
921
+ "type": "function"
922
+ },
923
+ {
924
+ "inputs": [
925
+ {
926
+ "internalType": "address",
927
+ "name": "rewardProvider",
928
+ "type": "address"
929
+ },
930
+ {
931
+ "internalType": "Amount",
932
+ "name": "dipAmount",
933
+ "type": "uint96"
934
+ }
935
+ ],
936
+ "name": "refillInstanceRewardReserves",
937
+ "outputs": [
938
+ {
939
+ "internalType": "Amount",
940
+ "name": "newBalance",
941
+ "type": "uint96"
942
+ }
943
+ ],
944
+ "stateMutability": "nonpayable",
945
+ "type": "function"
946
+ },
947
+ {
948
+ "inputs": [
949
+ {
950
+ "internalType": "RoleId",
951
+ "name": "roleId",
952
+ "type": "uint64"
953
+ },
954
+ {
955
+ "internalType": "address",
956
+ "name": "account",
957
+ "type": "address"
958
+ }
959
+ ],
960
+ "name": "revokeRole",
961
+ "outputs": [],
962
+ "stateMutability": "nonpayable",
963
+ "type": "function"
964
+ },
965
+ {
966
+ "inputs": [
967
+ {
968
+ "internalType": "address",
969
+ "name": "instanceAddress",
970
+ "type": "address"
971
+ }
972
+ ],
973
+ "name": "setAndRegisterMasterInstance",
974
+ "outputs": [
975
+ {
976
+ "internalType": "NftId",
977
+ "name": "masterInstanceNftId",
978
+ "type": "uint96"
979
+ }
980
+ ],
981
+ "stateMutability": "nonpayable",
982
+ "type": "function"
983
+ },
984
+ {
985
+ "inputs": [
986
+ {
987
+ "internalType": "address",
988
+ "name": "newAuthority",
989
+ "type": "address"
990
+ }
991
+ ],
992
+ "name": "setAuthority",
993
+ "outputs": [],
994
+ "stateMutability": "nonpayable",
995
+ "type": "function"
996
+ },
997
+ {
998
+ "inputs": [
999
+ {
1000
+ "internalType": "bool",
1001
+ "name": "locked",
1002
+ "type": "bool"
1003
+ }
1004
+ ],
1005
+ "name": "setInstanceLocked",
1006
+ "outputs": [],
1007
+ "stateMutability": "nonpayable",
1008
+ "type": "function"
1009
+ },
1010
+ {
1011
+ "inputs": [
1012
+ {
1013
+ "internalType": "RoleId",
1014
+ "name": "roleId",
1015
+ "type": "uint64"
1016
+ },
1017
+ {
1018
+ "internalType": "bool",
1019
+ "name": "active",
1020
+ "type": "bool"
1021
+ }
1022
+ ],
1023
+ "name": "setRoleActive",
1024
+ "outputs": [],
1025
+ "stateMutability": "nonpayable",
1026
+ "type": "function"
1027
+ },
1028
+ {
1029
+ "inputs": [
1030
+ {
1031
+ "internalType": "Seconds",
1032
+ "name": "stakeLockingPeriod",
1033
+ "type": "uint40"
1034
+ }
1035
+ ],
1036
+ "name": "setStakingLockingPeriod",
1037
+ "outputs": [],
1038
+ "stateMutability": "nonpayable",
1039
+ "type": "function"
1040
+ },
1041
+ {
1042
+ "inputs": [
1043
+ {
1044
+ "internalType": "Amount",
1045
+ "name": "maxStakedAmount",
1046
+ "type": "uint96"
1047
+ }
1048
+ ],
1049
+ "name": "setStakingMaxAmount",
1050
+ "outputs": [],
1051
+ "stateMutability": "nonpayable",
1052
+ "type": "function"
1053
+ },
1054
+ {
1055
+ "inputs": [
1056
+ {
1057
+ "internalType": "UFixed",
1058
+ "name": "rewardRate",
1059
+ "type": "uint160"
1060
+ }
1061
+ ],
1062
+ "name": "setStakingRewardRate",
1063
+ "outputs": [],
1064
+ "stateMutability": "nonpayable",
1065
+ "type": "function"
1066
+ },
1067
+ {
1068
+ "inputs": [
1069
+ {
1070
+ "internalType": "address",
1071
+ "name": "target",
1072
+ "type": "address"
1073
+ },
1074
+ {
1075
+ "internalType": "bool",
1076
+ "name": "locked",
1077
+ "type": "bool"
1078
+ }
1079
+ ],
1080
+ "name": "setTargetLocked",
1081
+ "outputs": [],
1082
+ "stateMutability": "nonpayable",
1083
+ "type": "function"
1084
+ },
1085
+ {
1086
+ "inputs": [
1087
+ {
1088
+ "internalType": "bytes4",
1089
+ "name": "interfaceId",
1090
+ "type": "bytes4"
1091
+ }
1092
+ ],
1093
+ "name": "supportsInterface",
1094
+ "outputs": [
1095
+ {
1096
+ "internalType": "bool",
1097
+ "name": "",
1098
+ "type": "bool"
1099
+ }
1100
+ ],
1101
+ "stateMutability": "view",
1102
+ "type": "function"
1103
+ },
1104
+ {
1105
+ "inputs": [
1106
+ {
1107
+ "internalType": "address",
1108
+ "name": "target",
1109
+ "type": "address"
1110
+ },
1111
+ {
1112
+ "components": [
1113
+ {
1114
+ "internalType": "Str",
1115
+ "name": "name",
1116
+ "type": "bytes32"
1117
+ },
1118
+ {
1119
+ "internalType": "Selector",
1120
+ "name": "selector",
1121
+ "type": "bytes4"
1122
+ },
1123
+ {
1124
+ "internalType": "Timestamp",
1125
+ "name": "createdAt",
1126
+ "type": "uint40"
1127
+ }
1128
+ ],
1129
+ "internalType": "struct IAccess.FunctionInfo[]",
1130
+ "name": "functions",
1131
+ "type": "tuple[]"
1132
+ }
1133
+ ],
1134
+ "name": "unauthorizeFunctions",
1135
+ "outputs": [],
1136
+ "stateMutability": "nonpayable",
1137
+ "type": "function"
1138
+ },
1139
+ {
1140
+ "inputs": [],
1141
+ "name": "upgradeInstanceReader",
1142
+ "outputs": [],
1143
+ "stateMutability": "nonpayable",
1144
+ "type": "function"
1145
+ },
1146
+ {
1147
+ "inputs": [
1148
+ {
1149
+ "internalType": "address",
1150
+ "name": "instanceReaderAddress",
1151
+ "type": "address"
1152
+ }
1153
+ ],
1154
+ "name": "upgradeMasterInstanceReader",
1155
+ "outputs": [],
1156
+ "stateMutability": "nonpayable",
1157
+ "type": "function"
1158
+ },
1159
+ {
1160
+ "inputs": [
1161
+ {
1162
+ "internalType": "bytes",
1163
+ "name": "data",
1164
+ "type": "bytes"
1165
+ }
1166
+ ],
1167
+ "name": "upgradeVersionable",
1168
+ "outputs": [],
1169
+ "stateMutability": "nonpayable",
1170
+ "type": "function"
1171
+ },
1172
+ {
1173
+ "inputs": [
1174
+ {
1175
+ "internalType": "Amount",
1176
+ "name": "dipAmount",
1177
+ "type": "uint96"
1178
+ }
1179
+ ],
1180
+ "name": "withdrawInstanceRewardReserves",
1181
+ "outputs": [
1182
+ {
1183
+ "internalType": "Amount",
1184
+ "name": "newBalance",
1185
+ "type": "uint96"
1186
+ }
1187
+ ],
1188
+ "stateMutability": "nonpayable",
1189
+ "type": "function"
1190
+ }
1191
+ ],
1192
+ "bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b614d10806100d65f395ff3fe608060405234801561000f575f80fd5b5060043610610229575f3560e01c80636c741e781161012a578063ada9652e116100b4578063c265172511610079578063c265172514610510578063d127388714610518578063edabac0314610552578063f153f82414610563578063f4b4ee4d14610576575f80fd5b8063ada9652e146104c7578063b428b0b0146104db578063b68d1809146104ee578063b7d2b162146104f5578063bf7e214f14610508575f80fd5b806386892313116100fa5780638689231314610471578063872309c714610484578063893d20e81461048b5780638fb360371461049357806396cdfa3f146104b4575f80fd5b80636c741e781461042957806376b707b7146104315780637a9e5e4b1461044b5780637de45f131461045e575f80fd5b8063254f6866116101b657806349bb9e4b1161017b57806349bb9e4b146103ae5780635ab1bd53146103c15780635fa8aad4146103e6578063644c45e0146103f95780636a778e7314610416575f80fd5b8063254f68661461034f5780632d764ef814610362578063329d6e74146103755780633dfa1a3d146103885780633fa526151461039b575f80fd5b8063138461e0116101fc578063138461e0146102b45780631eff4b22146102d45780631f481d641461030957806322f3e2d41461033457806323dff7921461033c575f80fd5b806301ffc9a71461022d5780630d8e6e2c1461026e5780630fec111c1461028a57806311f778431461029f575b5f80fd5b61025961023b366004614137565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610276610589565b60405162ffffff9091168152602001610265565b610292610610565b6040516102659190614180565b6102b26102ad366004614220565b6107ca565b005b6102bc6108c6565b6040516001600160601b039091168152602001610265565b6102fb7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610265565b61031c610317366004614368565b6108d0565b6040516001600160401b039091168152602001610265565b6102596109c2565b6102b261034a3660046143d4565b610a39565b6102b261035d366004614220565b610b1f565b6102b261037036600461441d565b610d4d565b6102b2610383366004614438565b610e24565b6102bc61039636600461447d565b610f6f565b6102bc6103a93660046144a9565b61108f565b6102b26103bc3660046144c4565b6111a4565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610265565b61031c6103f43660046144c4565b61129f565b5f80516020614c7b833981519152546001600160601b03166102bc565b6102bc610424366004614220565b611386565b61031c6120ce565b61043961215a565b60405160ff9091168152602001610265565b6102b2610459366004614220565b6121c2565b6102b261046c3660046144a9565b612248565b6102b261047f366004614510565b61231a565b6102fb5f81565b6103ce6123cb565b61049b6124fc565b6040516001600160e01b03199091168152602001610265565b6102b26104c236600461452c565b612531565b6102fb5f80516020614c7b83398151915281565b6102b26104e9366004614547565b6126be565b600a610439565b6102b2610503366004614547565b612776565b6103ce61282e565b6102b2612849565b61052b61052636600461452c565b6129d5565b604080516001600160a01b0390931683526001600160601b03909116602083015201610265565b6008546001600160a01b03166103ce565b6102b2610571366004614633565b612e40565b6102b2610584366004614675565b612ee6565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156105e7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060b91906146d2565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156106bc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106e091906146ff565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016107286123cb565b6001600160a01b031681526020018260010180546107459061471a565b80601f01602080910402602001604051908101604052809291908181526020018280546107719061471a565b80156107bc5780601f10610793576101008083540402835291602001916107bc565b820191905f5260205f20905b81548152906001019060200180831161079f57829003601f168201915b505050505081525091505090565b6107d6335b5f36612fc2565b6107e7336107e261215a565b6130b8565b5f6107fa6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa15801561083e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061086291906146ff565b60035460405163c26efb0560e01b81529192506001600160a01b03169063c26efb05906108959084908690600401614752565b5f604051808303815f87803b1580156108ac575f80fd5b505af11580156108be573d5f803e3d5ffd5b505050505050565b5f61060b306133b4565b5f6108da336107cf565b6108e6336107e261215a565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610926573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061094a9190614774565b6001600160a01b0316631f481d648686866040518463ffffffff1660e01b81526004016109799392919061478f565b6020604051808303815f875af1158015610995573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109b991906147c6565b95945050505050565b5f6109cb61282e565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610a0f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a3391906147ec565b15905090565b610a42336107cf565b610a4e336107e261215a565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a8e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ab29190614774565b6040516311effbc960e11b81526001600160401b038516600482015283151560248201526001600160a01b0391909116906323dff792906044015b5f604051808303815f87803b158015610b04575f80fd5b505af1158015610b16573d5f803e3d5ffd5b50505050505050565b610b276123cb565b6001600160a01b0316336001600160a01b031614610b5f5760405163086391f760e31b81523360048201526024015b60405180910390fd5b6008546001600160a01b0316610b88576040516358e5a4af60e01b815260040160405180910390fd5b6001600160a01b038116610baf57604051631aa1808560e31b815260040160405180910390fd5b6008546001600160a01b0390811690821603610bde57604051630666e2a560e01b815260040160405180910390fd5b6007546040805163379ed74560e21b8152905183926001600160a01b03908116929084169163de7b5d14916004808201926020929091908290030181865afa158015610c2c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c509190614774565b6001600160a01b031614610c775760405163f026367160e01b815260040160405180910390fd5b600880546001600160a01b0384166001600160a01b03199091161790557fa1504e1ebc0f8c6bcbe8014d6921eafe6dfa35ede293c521db58073161319dbe610cc76001546001600160a01b031690565b600754604051632f2a35f760e11b81526001600160a01b039182166004820152911690635e546bee90602401602060405180830381865afa158015610d0e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d3291906146ff565b83604051610d41929190614752565b60405180910390a15050565b610d56336107cf565b610d62336107e261215a565b5f610d756001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610db9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ddd91906146ff565b60035460405163db1e36e760e01b81526001600160601b038316600482015264ffffffffff851660248201529192506001600160a01b03169063db1e36e790604401610895565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610e46610589565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610e84573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ea891906147c6565b5f80516020614cbb8339815191528054600160401b900460ff1680610eda575080546001600160401b03808416911610155b15610ef85760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610f22836135f6565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a1505050565b5f610f79336107cf565b610f85336107e261215a565b5f610f986001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610fdc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061100091906146ff565b600354604051636f61deef60e11b81526001600160601b0380841660048301526001600160a01b038881166024840152908716604483015292935091169063dec3bdde906064016020604051808303815f875af1158015611063573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061108791906146ff565b949350505050565b5f611099336107cf565b6110a5336107e261215a565b5f6110b86001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa1580156110fc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061112091906146ff565b6003546040516321ece65760e01b81526001600160601b038084166004830152861660248201529192506001600160a01b0316906321ece657906044016020604051808303815f875af1158015611179573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061119d91906146ff565b9392505050565b5f80516020614cbb8339815191528054600160401b810460ff1615906001600160401b03165f811580156111d55750825b90505f826001600160401b031660011480156111f05750303b155b9050811580156111fe575080155b1561121c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561124657845460ff60401b1916600160401b1785555b6112508787613617565b8315610b1657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a150505050505050565b5f6112a9336107cf565b6112b5336107e261215a565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112f5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113199190614774565b6001600160a01b0316635fa8aad485856040518363ffffffff1660e01b8152600401611346929190614807565b6020604051808303815f875af1158015611362573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061108791906147c6565b5f61138f6123cb565b6001600160a01b0316336001600160a01b0316146113c25760405163086391f760e31b8152336004820152602401610b56565b6007546001600160a01b0316156113ec57604051632c237de760e11b815260040160405180910390fd5b6006546001600160a01b0316156114165760405163ab0cc43960e01b815260040160405180910390fd5b6009546001600160a01b0316156114405760405163558f4f7b60e11b815260040160405180910390fd5b600a546001600160a01b03161561146a5760405163d518f81b60e01b815260040160405180910390fd5b6001600160a01b038216611491576040516309353e4560e11b815260040160405180910390fd5b5f8290505f816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114d2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114f69190614774565b90505f826001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611535573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115599190614774565b90505f8190505f846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561159c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115c09190614774565b90505f8190505f866001600160a01b0316636dddada46040518163ffffffff1660e01b8152600401602060405180830381865afa158015611603573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116279190614774565b90505f8190505f886001600160a01b0316630e0c586d6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561166a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061168e9190614774565b90505f8190505f8a6001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116d1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116f59190614774565b90505f8190505f8c6001600160a01b031663b7b02c4e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611738573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061175c9190614774565b9050806001600160a01b038d16611786576040516327ccc33d60e11b815260040160405180910390fd5b6001600160a01b038b166117ac576040516295661560e31b815260040160405180910390fd5b6001600160a01b0389166117d35760405163e267254160e01b815260040160405180910390fd5b6001600160a01b0387166117fa5760405163bfebabd760e01b815260040160405180910390fd5b6001600160a01b03851661182157604051634e336b1d60e11b815260040160405180910390fd5b6001600160a01b038316611848576040516301fa2a2b60e01b815260040160405180910390fd5b6001600160a01b03811661186f57604051637c05309760e11b815260040160405180910390fd5b8b6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118ab573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118cf9190614774565b6001600160a01b03168e6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611914573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119389190614774565b6001600160a01b03161461195f576040516334ddf1a760e21b815260040160405180910390fd5b8b6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561199b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119bf9190614774565b6001600160a01b0316886001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a04573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a289190614774565b6001600160a01b031614611a4f5760405163e168da3760e01b815260040160405180910390fd5b8b6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a8b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611aaf9190614774565b6001600160a01b0316866001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611af4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b189190614774565b6001600160a01b031614611b3f576040516303bc742960e01b815260040160405180910390fd5b8b6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b7b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b9f9190614774565b6001600160a01b0316846001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611be4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c089190614774565b6001600160a01b031614611c2f57604051631129422760e31b815260040160405180910390fd5b8b6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c6b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c8f9190614774565b6001600160a01b0316826001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611cd4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cf89190614774565b6001600160a01b031614611d1f576040516373f8418f60e11b815260040160405180910390fd5b8d6001600160a01b0316886001600160a01b031663681e65f06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d65573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d899190614774565b6001600160a01b031614611db057604051630bbd547960e01b815260040160405180910390fd5b8d6001600160a01b0316866001600160a01b031663681e65f06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611df6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e1a9190614774565b6001600160a01b031614611e4157604051632b34b6d960e01b815260040160405180910390fd5b8d6001600160a01b03168a6001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e87573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611eab9190614774565b6001600160a01b031614611ed2576040516331783c7160e11b815260040160405180910390fd5b8c60055f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508a60065f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508f60075f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508860085f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508660095f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555084600a5f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555082600b5f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555080600c5f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555050505050505050505050505050505f60075f9054906101000a90046001600160a01b031690505f60025f9054906101000a90046001600160a01b03166001600160a01b031663026bc43b836120556123cb565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044015f604051808303815f875af115801561209e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526120c5919081019061489b565b51949350505050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63645ceefe600a6120f361215a565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015612136573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060b91906147c6565b5f61216361282e565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa15801561219e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060b919061496b565b336121cb61282e565b6001600160a01b0316816001600160a01b0316146122065760405162d1953b60e31b81526001600160a01b0382166004820152602401610b56565b816001600160a01b03163b5f0361223b576040516361798f2f60e11b81526001600160a01b0383166004820152602401610b56565b612244826137af565b5050565b612251336107cf565b61225d336107e261215a565b5f6122706001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa1580156122b4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122d891906146ff565b600354604051634bae314b60e01b81526001600160601b038084166004830152851660248201529192506001600160a01b031690634bae314b90604401610895565b612323336107cf565b61232f336107e261215a565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa15801561236f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123939190614774565b604051638689231360e01b81526001600160a01b03858116600483015284151560248301529190911690638689231390604401610aed565b5f805f80516020614c7b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612437573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061245b91906147ec565b156124e6576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156124bc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124e09190614774565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020614c9b83398151915280545f9190600160a01b900460ff16612523575f6124e0565b638fb3603760e01b91505090565b61253a336107cf565b612546336107e261215a565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612586573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125aa9190614774565b6040516396cdfa3f60e01b815283151560048201526001600160a01b0391909116906396cdfa3f906024015f604051808303815f87803b1580156125ec575f80fd5b505af11580156125fe573d5f803e3d5ffd5b505050507faabc2aefa17583d33fc341e11bdc4d9f417f9e9879c5e200ae5df09bf7c676ed6126356001546001600160a01b031690565b604051632f2a35f760e11b81526001600160a01b0384811660048301529190911690635e546bee90602401602060405180830381865afa15801561267b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061269f91906146ff565b604080516001600160601b039092168252841515602083015201610d41565b6126c7336107cf565b6126d3336107e261215a565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612713573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127379190614774565b604051630b428b0b60e41b81526001600160401b03851660048201526001600160a01b038481166024830152919091169063b428b0b090604401610aed565b61277f336107cf565b61278b336107e261215a565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156127cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127ef9190614774565b604051635be958b160e11b81526001600160401b03851660048201526001600160a01b038481166024830152919091169063b7d2b16290604401610aed565b5f80516020614c9b833981519152546001600160a01b031690565b612852336107cf565b61285e336107e261215a565b600854339081905f90612879906001600160a01b0316613808565b604051636791f7ab60e01b81526001600160a01b03858116600483015291925090821690636791f7ab906024015f604051808303815f87803b1580156128bd575f80fd5b505af11580156128cf573d5f803e3d5ffd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528516925063f7bc431c91506024015f604051808303815f87803b158015612913575f80fd5b505af1158015612925573d5f803e3d5ffd5b505050507f3ceb16815c8726af4f729a63cfef71e374192daa36372503d0d0cd50213a915861295c6001546001600160a01b031690565b604051632f2a35f760e11b81526001600160a01b0386811660048301529190911690635e546bee90602401602060405180830381865afa1580156129a2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129c691906146ff565b82604051610f62929190614752565b5f806129e0336107cf565b335f6129ea613877565b90506129f7818387613990565b60025460405163026bc43b60e01b81526001600160a01b038084166004830152858116602483015292965091169063026bc43b906044015f604051808303815f875af1158015612a49573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612a70919081019061489b565b5f015192505f60065f9054906101000a90046001600160a01b03166001600160a01b0316638e5bc2936040518163ffffffff1660e01b8152600401602060405180830381865afa158015612ac6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612aea9190614774565b9050816001600160a01b03166304d670b9612b0d6001546001600160a01b031690565b83612b1661215a565b6040516001600160e01b031960e086901b1681526001600160a01b039384166004820152918316602483015260ff16604482015290881660648201526084015f604051808303815f87803b158015612b6c575f80fd5b505af1158015612b7e573d5f803e3d5ffd5b50505050612b946001546001600160a01b031690565b6001600160a01b0316856001600160a01b0316635ab1bd536040518163ffffffff1660e01b8152600401602060405180830381865afa158015612bd9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612bfd9190614774565b6001600160a01b031614612c1357612c13614986565b612c89856001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612c52573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c76919061496b565b612c7e61215a565b60ff90811691161490565b612c9557612c95614986565b60035f9054906101000a90046001600160a01b03166001600160a01b03166375cd31058573__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__63c6edc3dd6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612d00573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d24919061499a565b73__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__63f87bf3736040518163ffffffff1660e01b8152600401602060405180830381865af4158015612d6b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d8f9190614774565b6040516001600160e01b031960e086901b1681526001600160601b03909316600484015264ffffffffff90911660248301526001600160a01b031660448201526064015f604051808303815f87803b158015612de9575f80fd5b505af1158015612dfb573d5f803e3d5ffd5b505050507fbd6800584d7105d7fd4de0db92f641ba5543ffb40d1ec8eb59617e12e32afed28486604051612e30929190614752565b60405180910390a1505050915091565b612e49336107cf565b612e55336107e261215a565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612e95573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612eb99190614774565b6001600160a01b031663f153f82484846040518363ffffffff1660e01b8152600401610aed929190614a19565b612eef336107cf565b612efb336107e261215a565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612f3b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f5f9190614774565b6001600160a01b031663f4b4ee4d8585856040518463ffffffff1660e01b8152600401612f8e93929190614a3c565b5f604051808303815f87803b158015612fa5575f80fd5b505af1158015612fb7573d5f803e3d5ffd5b50505050505b505050565b5f80516020614c9b8339815191525f80612ffa612fdd61282e565b8730612fec60045f8a8c614a6e565b612ff591614a95565b613b54565b91509150816108be5763ffffffff81161561309557825460ff60a01b1916600160a01b17835561302861282e565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161305793929190614acd565b5f604051808303815f87803b15801561306e575f80fd5b505af1158015613080573d5f803e3d5ffd5b5050845460ff60a01b19168555506108be9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610b56565b5f6130cb6001546001600160a01b031690565b604051632f2a35f760e11b81526001600160a01b0385811660048301529192505f91831690635e546bee90602401602060405180830381865afa158015613114573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061313891906146ff565b604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015613191573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906131b591906147ec565b156131de576040516308afbeb960e31b81526001600160a01b0385166004820152602401610b56565b6040516305247a1760e51b81526001600160601b03821660048201525f906001600160a01b0384169063a48f42e0906024015f60405180830381865afa15801561322a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613251919081019061489b565b60400151905060ff8116600a1461328f57604051632e87cd2360e11b81526001600160a01b038616600482015260ff82166024820152604401610b56565b60405163b2466acf60e01b815260ff8516600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063b2466acf90602401602060405180830381865af41580156132df573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061330391906147ec565b156133ad575f856001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015613345573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613369919061496b565b905060ff808216908616146108be57604051632f251c8760e21b81526001600160601b038416600482015260ff808716602483015282166044820152606401610b56565b5050505050565b5f805f80516020614c7b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015613420573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061344491906147ec565b156134705780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610b56565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156134c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906134e691906147ec565b61350e5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610b56565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015613560573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061358491906146ff565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b54906135d06123cb565b6040516135de929190614752565b60405180910390a1546001600160601b031692915050565b6135fe613c5c565b60405163502ec37160e01b815260040160405180910390fd5b5f80516020614cbb8339815191528054600160401b810460ff1615906001600160401b03165f811580156136485750825b90505f826001600160401b031660011480156136635750303b155b905081158015613671575080155b1561368f5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156136b957845460ff60401b1916600160401b1785555b5f80878060200190518101906136cf9190614b0c565b915091506136de82828b613c94565b6136e86002613d31565b600280546001600160a01b0319166001600160a01b03929092169190911790556137126003613d31565b600380546001600160a01b0319166001600160a01b039290921691909117905561373c600b613d31565b600480546001600160a01b0319166001600160a01b039290921691909117905561376b62519cf160e01b613dc8565b50508315610b1657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200161128e565b5f80516020614c9b83398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad90602001610d41565b5f763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c175f526e5af43d82803e903d91602b57fd5bf38260781b17602052603760095ff090506001600160a01b038116613872576040516330be1a3d60e21b815260040160405180910390fd5b919050565b5f806138f560065f9054906101000a90046001600160a01b03166001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156138cc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906138f09190614774565b613808565b60065490915061390d906001600160a01b0316613808565b604080516379ccf11760e11b81526001600160a01b0384811660048301526024820192909252600d60448201526c24b739ba30b731b2a0b236b4b760991b606482015291935083169063f399e22e906084015f604051808303815f87803b158015613976575f80fd5b505af1158015613988573d5f803e3d5ffd5b505050505090565b6007545f9081906139a9906001600160a01b0316613808565b9050806001600160a01b031663e60c4fd06040518060c00160405280886001600160a01b031681526020016139f1600b5f9054906101000a90046001600160a01b0316613808565b6001600160a01b039081168252600c54602090920191613a119116613808565b6001600160a01b039081168252600954602090920191613a319116613808565b6001600160a01b039081168252600a54602090920191613a519116613808565b6001600160a01b039081168252600854602090920191613a719116613808565b6001600160a01b03169052613a8e6001546001600160a01b031690565b613a9661215a565b604080516001600160e01b031960e087901b16815284516001600160a01b039081166004830152602086015181166024830152918501518216604482015260608501518216606482015260808501518216608482015260a090940151811660a485015291821660c484015260ff1660e48301528716610104820152851515610124820152610144015f604051808303815f87803b158015613b35575f80fd5b505af1158015613b47573d5f803e3d5ffd5b5092979650505050505050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251613bc29190614b39565b5f60405180830381855afa9150503d805f8114613bfa576040519150601f19603f3d011682016040523d82523d5f602084013e613bff565b606091505b50915091508115613c51576040815110613c315780806020019051810190613c279190614b4f565b9094509250613c51565b6020815110613c515780806020019051810190613c4e91906147ec565b93505b505094509492505050565b5f80516020614cbb83398151915254600160401b900460ff16613c9257604051631afcd79f60e31b815260040160405180910390fd5b565b613c9c613c5c565b613ca4613dfb565b613d218383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015613ce5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613d0991906146ff565b60085f8660405180602001604052805f815250613e0b565b612fbd63daf9067160e01b613dc8565b5f613d446001546001600160a01b031690565b6001600160a01b031663d39e604383613d5b61215a565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613d9e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613dc29190614774565b92915050565b613dd0613c5c565b613df8816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b613e03613c5c565b613c92613f48565b613e13613c5c565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015613e69573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613e8d91906147ec565b613eb55760405163cf6935e560e01b81526001600160a01b0388166004820152602401610b56565b613ebe87613f76565b613ec88683613f87565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101613f378382614bc0565b50612fb7634a531f3360e01b613dc8565b613f50613c5c565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b613f7e613c5c565b613df881613ffd565b613f8f613c5c565b613f9761400e565b613fa082614056565b6001600160a01b038116613fc75760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020614c7b83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b614005613c5c565b613df8816137af565b614016613c5c565b613c926301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61405e613c5c565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af41580156140b4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906140d891906147ec565b6141005760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610b56565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160e01b031981168114613df8575f80fd5b5f60208284031215614147575f80fd5b813561119d81614122565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516141c8608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611087610100840182614152565b6001600160a01b0381168114613df8575f80fd5b5f60208284031215614230575f80fd5b813561119d8161420c565b634e487b7160e01b5f52604160045260245ffd5b604051606081016001600160401b03811182821017156142715761427161423b565b60405290565b60405160e081016001600160401b03811182821017156142715761427161423b565b604051601f8201601f191681016001600160401b03811182821017156142c1576142c161423b565b604052919050565b5f6001600160401b038211156142e1576142e161423b565b50601f01601f191660200190565b5f82601f8301126142fe575f80fd5b8135602083015f614316614311846142c9565b614299565b9050828152858383011115614329575f80fd5b828260208301375f92810160200192909252509392505050565b6001600160401b0381168114613df8575f80fd5b63ffffffff81168114613df8575f80fd5b5f805f6060848603121561437a575f80fd5b83356001600160401b0381111561438f575f80fd5b61439b868287016142ef565b93505060208401356143ac81614343565b915060408401356143bc81614357565b809150509250925092565b8015158114613df8575f80fd5b5f80604083850312156143e5575f80fd5b82356143f081614343565b91506020830135614400816143c7565b809150509250929050565b64ffffffffff81168114613df8575f80fd5b5f6020828403121561442d575f80fd5b813561119d8161440b565b5f60208284031215614448575f80fd5b81356001600160401b0381111561445d575f80fd5b611087848285016142ef565b6001600160601b0381168114613df8575f80fd5b5f806040838503121561448e575f80fd5b82356144998161420c565b9150602083013561440081614469565b5f602082840312156144b9575f80fd5b813561119d81614469565b5f80604083850312156144d5575f80fd5b82356144e08161420c565b915060208301356001600160401b038111156144fa575f80fd5b614506858286016142ef565b9150509250929050565b5f8060408385031215614521575f80fd5b82356143f08161420c565b5f6020828403121561453c575f80fd5b813561119d816143c7565b5f8060408385031215614558575f80fd5b823561456381614343565b915060208301356144008161420c565b5f82601f830112614582575f80fd5b81356001600160401b0381111561459b5761459b61423b565b6145aa60208260051b01614299565b808282526020820191506020606084028601019250858311156145cb575f80fd5b602085015b8381101561462957606081880312156145e7575f80fd5b6145ef61424f565b81358152602082013561460181614122565b602082015260408201356146148161440b565b604082015283526020909201916060016145d0565b5095945050505050565b5f8060408385031215614644575f80fd5b823561464f8161420c565b915060208301356001600160401b03811115614669575f80fd5b61450685828601614573565b5f805f60608486031215614687575f80fd5b83356146928161420c565b925060208401356146a281614343565b915060408401356001600160401b038111156146bc575f80fd5b6146c886828701614573565b9150509250925092565b5f602082840312156146e2575f80fd5b815162ffffff8116811461119d575f80fd5b805161387281614469565b5f6020828403121561470f575f80fd5b815161119d81614469565b600181811c9082168061472e57607f821691505b60208210810361474c57634e487b7160e01b5f52602260045260245ffd5b50919050565b6001600160601b039290921682526001600160a01b0316602082015260400190565b5f60208284031215614784575f80fd5b815161119d8161420c565b606081525f6147a16060830186614152565b90506001600160401b038416602083015263ffffffff83166040830152949350505050565b5f602082840312156147d6575f80fd5b815161119d81614343565b8051613872816143c7565b5f602082840312156147fc575f80fd5b815161119d816143c7565b6001600160a01b03831681526040602082018190525f9061108790830184614152565b80516138728161420c565b60ff81168114613df8575f80fd5b805161387281614835565b5f82601f83011261485d575f80fd5b815161486b614311826142c9565b81815284602083860101111561487f575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f602082840312156148ab575f80fd5b81516001600160401b038111156148c0575f80fd5b820160e081850312156148d1575f80fd5b6148d9614277565b6148e2826146f4565b81526148f0602083016146f4565b602082015261490160408301614843565b6040820152614912606083016147e1565b60608201526149236080830161482a565b608082015261493460a0830161482a565b60a082015260c08201516001600160401b03811115614951575f80fd5b61495d8682850161484e565b60c083015250949350505050565b5f6020828403121561497b575f80fd5b815161119d81614835565b634e487b7160e01b5f52600160045260245ffd5b5f602082840312156149aa575f80fd5b815161119d8161440b565b5f8151808452602084019350602083015f5b82811015614a0f578151805187526020808201516001600160e01b0319168189015260409182015164ffffffffff1691880191909152606090960195909101906001016149c7565b5093949350505050565b6001600160a01b03831681526040602082018190525f90611087908301846149b5565b6001600160a01b03841681526001600160401b03831660208201526060604082018190525f906109b9908301846149b5565b5f8085851115614a7c575f80fd5b83861115614a88575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015614ac6576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f8060408385031215614b1d575f80fd5b8251614b288161420c565b60208401519092506144008161420c565b5f82518060208501845e5f920191825250919050565b5f8060408385031215614b60575f80fd5b8251614b6b816143c7565b602084015190925061440081614357565b601f821115612fbd57805f5260205f20601f840160051c81016020851015614ba15750805b601f840160051c820191505b818110156133ad575f8155600101614bad565b81516001600160401b03811115614bd957614bd961423b565b614bed81614be7845461471a565b84614b7c565b6020601f821160018114614c1f575f8315614c085750848201515b5f19600385901b1c1916600184901b1784556133ad565b5f84815260208120601f198516915b82811015614c4e5787850151825560209485019460019092019101614c2e565b5084821015614c6b57868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220a46e5b550b1ed289fecacf65b13afc5c4c5536168d840328a698d0a68a89536364736f6c634300081a0033",
1193
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610229575f3560e01c80636c741e781161012a578063ada9652e116100b4578063c265172511610079578063c265172514610510578063d127388714610518578063edabac0314610552578063f153f82414610563578063f4b4ee4d14610576575f80fd5b8063ada9652e146104c7578063b428b0b0146104db578063b68d1809146104ee578063b7d2b162146104f5578063bf7e214f14610508575f80fd5b806386892313116100fa5780638689231314610471578063872309c714610484578063893d20e81461048b5780638fb360371461049357806396cdfa3f146104b4575f80fd5b80636c741e781461042957806376b707b7146104315780637a9e5e4b1461044b5780637de45f131461045e575f80fd5b8063254f6866116101b657806349bb9e4b1161017b57806349bb9e4b146103ae5780635ab1bd53146103c15780635fa8aad4146103e6578063644c45e0146103f95780636a778e7314610416575f80fd5b8063254f68661461034f5780632d764ef814610362578063329d6e74146103755780633dfa1a3d146103885780633fa526151461039b575f80fd5b8063138461e0116101fc578063138461e0146102b45780631eff4b22146102d45780631f481d641461030957806322f3e2d41461033457806323dff7921461033c575f80fd5b806301ffc9a71461022d5780630d8e6e2c1461026e5780630fec111c1461028a57806311f778431461029f575b5f80fd5b61025961023b366004614137565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610276610589565b60405162ffffff9091168152602001610265565b610292610610565b6040516102659190614180565b6102b26102ad366004614220565b6107ca565b005b6102bc6108c6565b6040516001600160601b039091168152602001610265565b6102fb7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610265565b61031c610317366004614368565b6108d0565b6040516001600160401b039091168152602001610265565b6102596109c2565b6102b261034a3660046143d4565b610a39565b6102b261035d366004614220565b610b1f565b6102b261037036600461441d565b610d4d565b6102b2610383366004614438565b610e24565b6102bc61039636600461447d565b610f6f565b6102bc6103a93660046144a9565b61108f565b6102b26103bc3660046144c4565b6111a4565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610265565b61031c6103f43660046144c4565b61129f565b5f80516020614c7b833981519152546001600160601b03166102bc565b6102bc610424366004614220565b611386565b61031c6120ce565b61043961215a565b60405160ff9091168152602001610265565b6102b2610459366004614220565b6121c2565b6102b261046c3660046144a9565b612248565b6102b261047f366004614510565b61231a565b6102fb5f81565b6103ce6123cb565b61049b6124fc565b6040516001600160e01b03199091168152602001610265565b6102b26104c236600461452c565b612531565b6102fb5f80516020614c7b83398151915281565b6102b26104e9366004614547565b6126be565b600a610439565b6102b2610503366004614547565b612776565b6103ce61282e565b6102b2612849565b61052b61052636600461452c565b6129d5565b604080516001600160a01b0390931683526001600160601b03909116602083015201610265565b6008546001600160a01b03166103ce565b6102b2610571366004614633565b612e40565b6102b2610584366004614675565b612ee6565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156105e7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060b91906146d2565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156106bc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106e091906146ff565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016107286123cb565b6001600160a01b031681526020018260010180546107459061471a565b80601f01602080910402602001604051908101604052809291908181526020018280546107719061471a565b80156107bc5780601f10610793576101008083540402835291602001916107bc565b820191905f5260205f20905b81548152906001019060200180831161079f57829003601f168201915b505050505081525091505090565b6107d6335b5f36612fc2565b6107e7336107e261215a565b6130b8565b5f6107fa6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa15801561083e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061086291906146ff565b60035460405163c26efb0560e01b81529192506001600160a01b03169063c26efb05906108959084908690600401614752565b5f604051808303815f87803b1580156108ac575f80fd5b505af11580156108be573d5f803e3d5ffd5b505050505050565b5f61060b306133b4565b5f6108da336107cf565b6108e6336107e261215a565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610926573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061094a9190614774565b6001600160a01b0316631f481d648686866040518463ffffffff1660e01b81526004016109799392919061478f565b6020604051808303815f875af1158015610995573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109b991906147c6565b95945050505050565b5f6109cb61282e565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610a0f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a3391906147ec565b15905090565b610a42336107cf565b610a4e336107e261215a565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a8e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ab29190614774565b6040516311effbc960e11b81526001600160401b038516600482015283151560248201526001600160a01b0391909116906323dff792906044015b5f604051808303815f87803b158015610b04575f80fd5b505af1158015610b16573d5f803e3d5ffd5b50505050505050565b610b276123cb565b6001600160a01b0316336001600160a01b031614610b5f5760405163086391f760e31b81523360048201526024015b60405180910390fd5b6008546001600160a01b0316610b88576040516358e5a4af60e01b815260040160405180910390fd5b6001600160a01b038116610baf57604051631aa1808560e31b815260040160405180910390fd5b6008546001600160a01b0390811690821603610bde57604051630666e2a560e01b815260040160405180910390fd5b6007546040805163379ed74560e21b8152905183926001600160a01b03908116929084169163de7b5d14916004808201926020929091908290030181865afa158015610c2c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c509190614774565b6001600160a01b031614610c775760405163f026367160e01b815260040160405180910390fd5b600880546001600160a01b0384166001600160a01b03199091161790557fa1504e1ebc0f8c6bcbe8014d6921eafe6dfa35ede293c521db58073161319dbe610cc76001546001600160a01b031690565b600754604051632f2a35f760e11b81526001600160a01b039182166004820152911690635e546bee90602401602060405180830381865afa158015610d0e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d3291906146ff565b83604051610d41929190614752565b60405180910390a15050565b610d56336107cf565b610d62336107e261215a565b5f610d756001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610db9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ddd91906146ff565b60035460405163db1e36e760e01b81526001600160601b038316600482015264ffffffffff851660248201529192506001600160a01b03169063db1e36e790604401610895565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610e46610589565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610e84573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ea891906147c6565b5f80516020614cbb8339815191528054600160401b900460ff1680610eda575080546001600160401b03808416911610155b15610ef85760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610f22836135f6565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a1505050565b5f610f79336107cf565b610f85336107e261215a565b5f610f986001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610fdc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061100091906146ff565b600354604051636f61deef60e11b81526001600160601b0380841660048301526001600160a01b038881166024840152908716604483015292935091169063dec3bdde906064016020604051808303815f875af1158015611063573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061108791906146ff565b949350505050565b5f611099336107cf565b6110a5336107e261215a565b5f6110b86001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa1580156110fc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061112091906146ff565b6003546040516321ece65760e01b81526001600160601b038084166004830152861660248201529192506001600160a01b0316906321ece657906044016020604051808303815f875af1158015611179573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061119d91906146ff565b9392505050565b5f80516020614cbb8339815191528054600160401b810460ff1615906001600160401b03165f811580156111d55750825b90505f826001600160401b031660011480156111f05750303b155b9050811580156111fe575080155b1561121c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561124657845460ff60401b1916600160401b1785555b6112508787613617565b8315610b1657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a150505050505050565b5f6112a9336107cf565b6112b5336107e261215a565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112f5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113199190614774565b6001600160a01b0316635fa8aad485856040518363ffffffff1660e01b8152600401611346929190614807565b6020604051808303815f875af1158015611362573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061108791906147c6565b5f61138f6123cb565b6001600160a01b0316336001600160a01b0316146113c25760405163086391f760e31b8152336004820152602401610b56565b6007546001600160a01b0316156113ec57604051632c237de760e11b815260040160405180910390fd5b6006546001600160a01b0316156114165760405163ab0cc43960e01b815260040160405180910390fd5b6009546001600160a01b0316156114405760405163558f4f7b60e11b815260040160405180910390fd5b600a546001600160a01b03161561146a5760405163d518f81b60e01b815260040160405180910390fd5b6001600160a01b038216611491576040516309353e4560e11b815260040160405180910390fd5b5f8290505f816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114d2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114f69190614774565b90505f826001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611535573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115599190614774565b90505f8190505f846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561159c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115c09190614774565b90505f8190505f866001600160a01b0316636dddada46040518163ffffffff1660e01b8152600401602060405180830381865afa158015611603573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116279190614774565b90505f8190505f886001600160a01b0316630e0c586d6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561166a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061168e9190614774565b90505f8190505f8a6001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116d1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116f59190614774565b90505f8190505f8c6001600160a01b031663b7b02c4e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611738573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061175c9190614774565b9050806001600160a01b038d16611786576040516327ccc33d60e11b815260040160405180910390fd5b6001600160a01b038b166117ac576040516295661560e31b815260040160405180910390fd5b6001600160a01b0389166117d35760405163e267254160e01b815260040160405180910390fd5b6001600160a01b0387166117fa5760405163bfebabd760e01b815260040160405180910390fd5b6001600160a01b03851661182157604051634e336b1d60e11b815260040160405180910390fd5b6001600160a01b038316611848576040516301fa2a2b60e01b815260040160405180910390fd5b6001600160a01b03811661186f57604051637c05309760e11b815260040160405180910390fd5b8b6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118ab573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118cf9190614774565b6001600160a01b03168e6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611914573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119389190614774565b6001600160a01b03161461195f576040516334ddf1a760e21b815260040160405180910390fd5b8b6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561199b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119bf9190614774565b6001600160a01b0316886001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a04573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a289190614774565b6001600160a01b031614611a4f5760405163e168da3760e01b815260040160405180910390fd5b8b6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a8b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611aaf9190614774565b6001600160a01b0316866001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611af4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b189190614774565b6001600160a01b031614611b3f576040516303bc742960e01b815260040160405180910390fd5b8b6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b7b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b9f9190614774565b6001600160a01b0316846001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611be4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c089190614774565b6001600160a01b031614611c2f57604051631129422760e31b815260040160405180910390fd5b8b6001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c6b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c8f9190614774565b6001600160a01b0316826001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611cd4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cf89190614774565b6001600160a01b031614611d1f576040516373f8418f60e11b815260040160405180910390fd5b8d6001600160a01b0316886001600160a01b031663681e65f06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d65573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d899190614774565b6001600160a01b031614611db057604051630bbd547960e01b815260040160405180910390fd5b8d6001600160a01b0316866001600160a01b031663681e65f06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611df6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e1a9190614774565b6001600160a01b031614611e4157604051632b34b6d960e01b815260040160405180910390fd5b8d6001600160a01b03168a6001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e87573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611eab9190614774565b6001600160a01b031614611ed2576040516331783c7160e11b815260040160405180910390fd5b8c60055f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508a60065f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508f60075f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508860085f6101000a8154816001600160a01b0302191690836001600160a01b031602179055508660095f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555084600a5f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555082600b5f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555080600c5f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555050505050505050505050505050505f60075f9054906101000a90046001600160a01b031690505f60025f9054906101000a90046001600160a01b03166001600160a01b031663026bc43b836120556123cb565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044015f604051808303815f875af115801561209e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526120c5919081019061489b565b51949350505050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63645ceefe600a6120f361215a565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015612136573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060b91906147c6565b5f61216361282e565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa15801561219e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060b919061496b565b336121cb61282e565b6001600160a01b0316816001600160a01b0316146122065760405162d1953b60e31b81526001600160a01b0382166004820152602401610b56565b816001600160a01b03163b5f0361223b576040516361798f2f60e11b81526001600160a01b0383166004820152602401610b56565b612244826137af565b5050565b612251336107cf565b61225d336107e261215a565b5f6122706001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa1580156122b4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122d891906146ff565b600354604051634bae314b60e01b81526001600160601b038084166004830152851660248201529192506001600160a01b031690634bae314b90604401610895565b612323336107cf565b61232f336107e261215a565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa15801561236f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123939190614774565b604051638689231360e01b81526001600160a01b03858116600483015284151560248301529190911690638689231390604401610aed565b5f805f80516020614c7b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612437573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061245b91906147ec565b156124e6576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156124bc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124e09190614774565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020614c9b83398151915280545f9190600160a01b900460ff16612523575f6124e0565b638fb3603760e01b91505090565b61253a336107cf565b612546336107e261215a565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612586573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125aa9190614774565b6040516396cdfa3f60e01b815283151560048201526001600160a01b0391909116906396cdfa3f906024015f604051808303815f87803b1580156125ec575f80fd5b505af11580156125fe573d5f803e3d5ffd5b505050507faabc2aefa17583d33fc341e11bdc4d9f417f9e9879c5e200ae5df09bf7c676ed6126356001546001600160a01b031690565b604051632f2a35f760e11b81526001600160a01b0384811660048301529190911690635e546bee90602401602060405180830381865afa15801561267b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061269f91906146ff565b604080516001600160601b039092168252841515602083015201610d41565b6126c7336107cf565b6126d3336107e261215a565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612713573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127379190614774565b604051630b428b0b60e41b81526001600160401b03851660048201526001600160a01b038481166024830152919091169063b428b0b090604401610aed565b61277f336107cf565b61278b336107e261215a565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156127cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127ef9190614774565b604051635be958b160e11b81526001600160401b03851660048201526001600160a01b038481166024830152919091169063b7d2b16290604401610aed565b5f80516020614c9b833981519152546001600160a01b031690565b612852336107cf565b61285e336107e261215a565b600854339081905f90612879906001600160a01b0316613808565b604051636791f7ab60e01b81526001600160a01b03858116600483015291925090821690636791f7ab906024015f604051808303815f87803b1580156128bd575f80fd5b505af11580156128cf573d5f803e3d5ffd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528516925063f7bc431c91506024015f604051808303815f87803b158015612913575f80fd5b505af1158015612925573d5f803e3d5ffd5b505050507f3ceb16815c8726af4f729a63cfef71e374192daa36372503d0d0cd50213a915861295c6001546001600160a01b031690565b604051632f2a35f760e11b81526001600160a01b0386811660048301529190911690635e546bee90602401602060405180830381865afa1580156129a2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129c691906146ff565b82604051610f62929190614752565b5f806129e0336107cf565b335f6129ea613877565b90506129f7818387613990565b60025460405163026bc43b60e01b81526001600160a01b038084166004830152858116602483015292965091169063026bc43b906044015f604051808303815f875af1158015612a49573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612a70919081019061489b565b5f015192505f60065f9054906101000a90046001600160a01b03166001600160a01b0316638e5bc2936040518163ffffffff1660e01b8152600401602060405180830381865afa158015612ac6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612aea9190614774565b9050816001600160a01b03166304d670b9612b0d6001546001600160a01b031690565b83612b1661215a565b6040516001600160e01b031960e086901b1681526001600160a01b039384166004820152918316602483015260ff16604482015290881660648201526084015f604051808303815f87803b158015612b6c575f80fd5b505af1158015612b7e573d5f803e3d5ffd5b50505050612b946001546001600160a01b031690565b6001600160a01b0316856001600160a01b0316635ab1bd536040518163ffffffff1660e01b8152600401602060405180830381865afa158015612bd9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612bfd9190614774565b6001600160a01b031614612c1357612c13614986565b612c89856001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612c52573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c76919061496b565b612c7e61215a565b60ff90811691161490565b612c9557612c95614986565b60035f9054906101000a90046001600160a01b03166001600160a01b03166375cd31058573__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__63c6edc3dd6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612d00573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d24919061499a565b73__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__63f87bf3736040518163ffffffff1660e01b8152600401602060405180830381865af4158015612d6b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d8f9190614774565b6040516001600160e01b031960e086901b1681526001600160601b03909316600484015264ffffffffff90911660248301526001600160a01b031660448201526064015f604051808303815f87803b158015612de9575f80fd5b505af1158015612dfb573d5f803e3d5ffd5b505050507fbd6800584d7105d7fd4de0db92f641ba5543ffb40d1ec8eb59617e12e32afed28486604051612e30929190614752565b60405180910390a1505050915091565b612e49336107cf565b612e55336107e261215a565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612e95573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612eb99190614774565b6001600160a01b031663f153f82484846040518363ffffffff1660e01b8152600401610aed929190614a19565b612eef336107cf565b612efb336107e261215a565b5f339050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612f3b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f5f9190614774565b6001600160a01b031663f4b4ee4d8585856040518463ffffffff1660e01b8152600401612f8e93929190614a3c565b5f604051808303815f87803b158015612fa5575f80fd5b505af1158015612fb7573d5f803e3d5ffd5b50505050505b505050565b5f80516020614c9b8339815191525f80612ffa612fdd61282e565b8730612fec60045f8a8c614a6e565b612ff591614a95565b613b54565b91509150816108be5763ffffffff81161561309557825460ff60a01b1916600160a01b17835561302861282e565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161305793929190614acd565b5f604051808303815f87803b15801561306e575f80fd5b505af1158015613080573d5f803e3d5ffd5b5050845460ff60a01b19168555506108be9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610b56565b5f6130cb6001546001600160a01b031690565b604051632f2a35f760e11b81526001600160a01b0385811660048301529192505f91831690635e546bee90602401602060405180830381865afa158015613114573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061313891906146ff565b604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015613191573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906131b591906147ec565b156131de576040516308afbeb960e31b81526001600160a01b0385166004820152602401610b56565b6040516305247a1760e51b81526001600160601b03821660048201525f906001600160a01b0384169063a48f42e0906024015f60405180830381865afa15801561322a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613251919081019061489b565b60400151905060ff8116600a1461328f57604051632e87cd2360e11b81526001600160a01b038616600482015260ff82166024820152604401610b56565b60405163b2466acf60e01b815260ff8516600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__9063b2466acf90602401602060405180830381865af41580156132df573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061330391906147ec565b156133ad575f856001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015613345573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613369919061496b565b905060ff808216908616146108be57604051632f251c8760e21b81526001600160601b038416600482015260ff808716602483015282166044820152606401610b56565b5050505050565b5f805f80516020614c7b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015613420573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061344491906147ec565b156134705780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610b56565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156134c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906134e691906147ec565b61350e5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610b56565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015613560573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061358491906146ff565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b54906135d06123cb565b6040516135de929190614752565b60405180910390a1546001600160601b031692915050565b6135fe613c5c565b60405163502ec37160e01b815260040160405180910390fd5b5f80516020614cbb8339815191528054600160401b810460ff1615906001600160401b03165f811580156136485750825b90505f826001600160401b031660011480156136635750303b155b905081158015613671575080155b1561368f5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156136b957845460ff60401b1916600160401b1785555b5f80878060200190518101906136cf9190614b0c565b915091506136de82828b613c94565b6136e86002613d31565b600280546001600160a01b0319166001600160a01b03929092169190911790556137126003613d31565b600380546001600160a01b0319166001600160a01b039290921691909117905561373c600b613d31565b600480546001600160a01b0319166001600160a01b039290921691909117905561376b62519cf160e01b613dc8565b50508315610b1657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200161128e565b5f80516020614c9b83398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad90602001610d41565b5f763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c175f526e5af43d82803e903d91602b57fd5bf38260781b17602052603760095ff090506001600160a01b038116613872576040516330be1a3d60e21b815260040160405180910390fd5b919050565b5f806138f560065f9054906101000a90046001600160a01b03166001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156138cc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906138f09190614774565b613808565b60065490915061390d906001600160a01b0316613808565b604080516379ccf11760e11b81526001600160a01b0384811660048301526024820192909252600d60448201526c24b739ba30b731b2a0b236b4b760991b606482015291935083169063f399e22e906084015f604051808303815f87803b158015613976575f80fd5b505af1158015613988573d5f803e3d5ffd5b505050505090565b6007545f9081906139a9906001600160a01b0316613808565b9050806001600160a01b031663e60c4fd06040518060c00160405280886001600160a01b031681526020016139f1600b5f9054906101000a90046001600160a01b0316613808565b6001600160a01b039081168252600c54602090920191613a119116613808565b6001600160a01b039081168252600954602090920191613a319116613808565b6001600160a01b039081168252600a54602090920191613a519116613808565b6001600160a01b039081168252600854602090920191613a719116613808565b6001600160a01b03169052613a8e6001546001600160a01b031690565b613a9661215a565b604080516001600160e01b031960e087901b16815284516001600160a01b039081166004830152602086015181166024830152918501518216604482015260608501518216606482015260808501518216608482015260a090940151811660a485015291821660c484015260ff1660e48301528716610104820152851515610124820152610144015f604051808303815f87803b158015613b35575f80fd5b505af1158015613b47573d5f803e3d5ffd5b5092979650505050505050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251613bc29190614b39565b5f60405180830381855afa9150503d805f8114613bfa576040519150601f19603f3d011682016040523d82523d5f602084013e613bff565b606091505b50915091508115613c51576040815110613c315780806020019051810190613c279190614b4f565b9094509250613c51565b6020815110613c515780806020019051810190613c4e91906147ec565b93505b505094509492505050565b5f80516020614cbb83398151915254600160401b900460ff16613c9257604051631afcd79f60e31b815260040160405180910390fd5b565b613c9c613c5c565b613ca4613dfb565b613d218383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015613ce5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613d0991906146ff565b60085f8660405180602001604052805f815250613e0b565b612fbd63daf9067160e01b613dc8565b5f613d446001546001600160a01b031690565b6001600160a01b031663d39e604383613d5b61215a565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613d9e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613dc29190614774565b92915050565b613dd0613c5c565b613df8816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b613e03613c5c565b613c92613f48565b613e13613c5c565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015613e69573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613e8d91906147ec565b613eb55760405163cf6935e560e01b81526001600160a01b0388166004820152602401610b56565b613ebe87613f76565b613ec88683613f87565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101613f378382614bc0565b50612fb7634a531f3360e01b613dc8565b613f50613c5c565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b613f7e613c5c565b613df881613ffd565b613f8f613c5c565b613f9761400e565b613fa082614056565b6001600160a01b038116613fc75760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020614c7b83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b614005613c5c565b613df8816137af565b614016613c5c565b613c926301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61405e613c5c565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af41580156140b4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906140d891906147ec565b6141005760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610b56565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160e01b031981168114613df8575f80fd5b5f60208284031215614147575f80fd5b813561119d81614122565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516141c8608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611087610100840182614152565b6001600160a01b0381168114613df8575f80fd5b5f60208284031215614230575f80fd5b813561119d8161420c565b634e487b7160e01b5f52604160045260245ffd5b604051606081016001600160401b03811182821017156142715761427161423b565b60405290565b60405160e081016001600160401b03811182821017156142715761427161423b565b604051601f8201601f191681016001600160401b03811182821017156142c1576142c161423b565b604052919050565b5f6001600160401b038211156142e1576142e161423b565b50601f01601f191660200190565b5f82601f8301126142fe575f80fd5b8135602083015f614316614311846142c9565b614299565b9050828152858383011115614329575f80fd5b828260208301375f92810160200192909252509392505050565b6001600160401b0381168114613df8575f80fd5b63ffffffff81168114613df8575f80fd5b5f805f6060848603121561437a575f80fd5b83356001600160401b0381111561438f575f80fd5b61439b868287016142ef565b93505060208401356143ac81614343565b915060408401356143bc81614357565b809150509250925092565b8015158114613df8575f80fd5b5f80604083850312156143e5575f80fd5b82356143f081614343565b91506020830135614400816143c7565b809150509250929050565b64ffffffffff81168114613df8575f80fd5b5f6020828403121561442d575f80fd5b813561119d8161440b565b5f60208284031215614448575f80fd5b81356001600160401b0381111561445d575f80fd5b611087848285016142ef565b6001600160601b0381168114613df8575f80fd5b5f806040838503121561448e575f80fd5b82356144998161420c565b9150602083013561440081614469565b5f602082840312156144b9575f80fd5b813561119d81614469565b5f80604083850312156144d5575f80fd5b82356144e08161420c565b915060208301356001600160401b038111156144fa575f80fd5b614506858286016142ef565b9150509250929050565b5f8060408385031215614521575f80fd5b82356143f08161420c565b5f6020828403121561453c575f80fd5b813561119d816143c7565b5f8060408385031215614558575f80fd5b823561456381614343565b915060208301356144008161420c565b5f82601f830112614582575f80fd5b81356001600160401b0381111561459b5761459b61423b565b6145aa60208260051b01614299565b808282526020820191506020606084028601019250858311156145cb575f80fd5b602085015b8381101561462957606081880312156145e7575f80fd5b6145ef61424f565b81358152602082013561460181614122565b602082015260408201356146148161440b565b604082015283526020909201916060016145d0565b5095945050505050565b5f8060408385031215614644575f80fd5b823561464f8161420c565b915060208301356001600160401b03811115614669575f80fd5b61450685828601614573565b5f805f60608486031215614687575f80fd5b83356146928161420c565b925060208401356146a281614343565b915060408401356001600160401b038111156146bc575f80fd5b6146c886828701614573565b9150509250925092565b5f602082840312156146e2575f80fd5b815162ffffff8116811461119d575f80fd5b805161387281614469565b5f6020828403121561470f575f80fd5b815161119d81614469565b600181811c9082168061472e57607f821691505b60208210810361474c57634e487b7160e01b5f52602260045260245ffd5b50919050565b6001600160601b039290921682526001600160a01b0316602082015260400190565b5f60208284031215614784575f80fd5b815161119d8161420c565b606081525f6147a16060830186614152565b90506001600160401b038416602083015263ffffffff83166040830152949350505050565b5f602082840312156147d6575f80fd5b815161119d81614343565b8051613872816143c7565b5f602082840312156147fc575f80fd5b815161119d816143c7565b6001600160a01b03831681526040602082018190525f9061108790830184614152565b80516138728161420c565b60ff81168114613df8575f80fd5b805161387281614835565b5f82601f83011261485d575f80fd5b815161486b614311826142c9565b81815284602083860101111561487f575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f602082840312156148ab575f80fd5b81516001600160401b038111156148c0575f80fd5b820160e081850312156148d1575f80fd5b6148d9614277565b6148e2826146f4565b81526148f0602083016146f4565b602082015261490160408301614843565b6040820152614912606083016147e1565b60608201526149236080830161482a565b608082015261493460a0830161482a565b60a082015260c08201516001600160401b03811115614951575f80fd5b61495d8682850161484e565b60c083015250949350505050565b5f6020828403121561497b575f80fd5b815161119d81614835565b634e487b7160e01b5f52600160045260245ffd5b5f602082840312156149aa575f80fd5b815161119d8161440b565b5f8151808452602084019350602083015f5b82811015614a0f578151805187526020808201516001600160e01b0319168189015260409182015164ffffffffff1691880191909152606090960195909101906001016149c7565b5093949350505050565b6001600160a01b03831681526040602082018190525f90611087908301846149b5565b6001600160a01b03841681526001600160401b03831660208201526060604082018190525f906109b9908301846149b5565b5f8085851115614a7c575f80fd5b83861115614a88575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015614ac6576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f8060408385031215614b1d575f80fd5b8251614b288161420c565b60208401519092506144008161420c565b5f82518060208501845e5f920191825250919050565b5f8060408385031215614b60575f80fd5b8251614b6b816143c7565b602084015190925061440081614357565b601f821115612fbd57805f5260205f20601f840160051c81016020851015614ba15750805b601f840160051c820191505b818110156133ad575f8155600101614bad565b81516001600160401b03811115614bd957614bd961423b565b614bed81614be7845461471a565b84614b7c565b6020601f821160018114614c1f575f8315614c085750848201515b5f19600385901b1c1916600184901b1784556133ad565b5f84815260208120601f198516915b82811015614c4e5787850151825560209485019460019092019101614c2e565b5084821015614c6b57868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220a46e5b550b1ed289fecacf65b13afc5c4c5536168d840328a698d0a68a89536364736f6c634300081a0033",
1194
+ "linkReferences": {
1195
+ "contracts/shared/ContractLib.sol": {
1196
+ "ContractLib": [
1197
+ {
1198
+ "length": 20,
1199
+ "start": 16135
1200
+ },
1201
+ {
1202
+ "length": 20,
1203
+ "start": 16722
1204
+ }
1205
+ ]
1206
+ },
1207
+ "contracts/staking/TargetManagerLib.sol": {
1208
+ "TargetManagerLib": [
1209
+ {
1210
+ "length": 20,
1211
+ "start": 11665
1212
+ },
1213
+ {
1214
+ "length": 20,
1215
+ "start": 11772
1216
+ }
1217
+ ]
1218
+ },
1219
+ "contracts/type/NftId.sol": {
1220
+ "NftIdLib": [
1221
+ {
1222
+ "length": 20,
1223
+ "start": 1869
1224
+ },
1225
+ {
1226
+ "length": 20,
1227
+ "start": 9429
1228
+ },
1229
+ {
1230
+ "length": 20,
1231
+ "start": 12847
1232
+ },
1233
+ {
1234
+ "length": 20,
1235
+ "start": 13502
1236
+ }
1237
+ ]
1238
+ },
1239
+ "contracts/type/RoleId.sol": {
1240
+ "RoleIdLib": [
1241
+ {
1242
+ "length": 20,
1243
+ "start": 8615
1244
+ }
1245
+ ]
1246
+ },
1247
+ "contracts/type/Version.sol": {
1248
+ "VersionLib": [
1249
+ {
1250
+ "length": 20,
1251
+ "start": 1669
1252
+ },
1253
+ {
1254
+ "length": 20,
1255
+ "start": 3836
1256
+ }
1257
+ ],
1258
+ "VersionPartLib": [
1259
+ {
1260
+ "length": 20,
1261
+ "start": 13181
1262
+ }
1263
+ ]
1264
+ }
1265
+ },
1266
+ "deployedLinkReferences": {
1267
+ "contracts/shared/ContractLib.sol": {
1268
+ "ContractLib": [
1269
+ {
1270
+ "length": 20,
1271
+ "start": 15921
1272
+ },
1273
+ {
1274
+ "length": 20,
1275
+ "start": 16508
1276
+ }
1277
+ ]
1278
+ },
1279
+ "contracts/staking/TargetManagerLib.sol": {
1280
+ "TargetManagerLib": [
1281
+ {
1282
+ "length": 20,
1283
+ "start": 11451
1284
+ },
1285
+ {
1286
+ "length": 20,
1287
+ "start": 11558
1288
+ }
1289
+ ]
1290
+ },
1291
+ "contracts/type/NftId.sol": {
1292
+ "NftIdLib": [
1293
+ {
1294
+ "length": 20,
1295
+ "start": 1655
1296
+ },
1297
+ {
1298
+ "length": 20,
1299
+ "start": 9215
1300
+ },
1301
+ {
1302
+ "length": 20,
1303
+ "start": 12633
1304
+ },
1305
+ {
1306
+ "length": 20,
1307
+ "start": 13288
1308
+ }
1309
+ ]
1310
+ },
1311
+ "contracts/type/RoleId.sol": {
1312
+ "RoleIdLib": [
1313
+ {
1314
+ "length": 20,
1315
+ "start": 8401
1316
+ }
1317
+ ]
1318
+ },
1319
+ "contracts/type/Version.sol": {
1320
+ "VersionLib": [
1321
+ {
1322
+ "length": 20,
1323
+ "start": 1455
1324
+ },
1325
+ {
1326
+ "length": 20,
1327
+ "start": 3622
1328
+ }
1329
+ ],
1330
+ "VersionPartLib": [
1331
+ {
1332
+ "length": 20,
1333
+ "start": 12967
1334
+ }
1335
+ ]
1336
+ }
1337
+ }
1338
+ }