@etherisc/gif-next 0.0.2-3087fdd-816 → 0.0.2-30a4eae-489

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