@etherisc/gif-next 0.0.2-ce87da3-250 → 0.0.2-cf22d7b-845

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