@etherisc/gif-next 0.0.2-d551b5e-892 → 0.0.2-d59d51e-694

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