@etherisc/gif-next 0.0.2-77c72ae-504 → 0.0.2-782e47c-610
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +57 -88
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1253 -0
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1206 -0
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +358 -0
- package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
- package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
- package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
- package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1032 -0
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +258 -0
- package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +290 -0
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +148 -0
- package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +390 -0
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +190 -0
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1342 -0
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +410 -0
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1012 -0
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1400 -0
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +787 -0
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
- package/artifacts/contracts/{components → distribution}/IDistributionComponent.sol/IDistributionComponent.json +282 -319
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +932 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1411 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1171 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1517 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +1978 -0
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +703 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +292 -2124
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +328 -69
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +351 -2924
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1626 -0
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +601 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +864 -400
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +353 -340
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +105 -115
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3587 -0
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
- package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
- package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -49
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +182 -0
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +181 -0
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +25 -150
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
- package/artifacts/contracts/instance/module/{ITreasury.sol/ITreasury.json → IComponents.sol/IComponents.json} +2 -2
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
- package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
- package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +979 -0
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +418 -0
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +765 -0
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IBundleService.sol/IBundleService.json → oracle/IOracleService.sol/IOracleService.json} +338 -285
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
- package/artifacts/contracts/{components/Component.sol/Component.json → oracle/Oracle.sol/Oracle.json} +304 -286
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +922 -0
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +679 -0
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
- package/artifacts/contracts/{components/Pool.sol/Pool.json → pool/BasicPool.sol/BasicPool.json} +447 -521
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +410 -0
- package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1362 -0
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +771 -0
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +907 -0
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
- package/artifacts/contracts/{components → pool}/IPoolComponent.sol/IPoolComponent.json +405 -383
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1198 -0
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
- package/artifacts/contracts/pool/Pool.sol/Pool.json +1034 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1469 -0
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +695 -0
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +732 -0
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +667 -0
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
- package/artifacts/contracts/{components/Product.sol/Product.json → product/BasicProduct.sol/BasicProduct.json} +344 -494
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +410 -0
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1325 -0
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +775 -0
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service → product}/IApplicationService.sol/IApplicationService.json +144 -89
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +886 -0
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +785 -0
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IPolicyService.sol/IPolicyService.json → product/IPricingService.sol/IPricingService.json} +208 -231
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
- package/artifacts/contracts/{components → product}/IProductComponent.sol/IProductComponent.json +409 -267
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IRiskService.sol/IRiskService.json} +91 -64
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1104 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +715 -0
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +860 -0
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +715 -0
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
- package/artifacts/contracts/product/Product.sol/Product.json +1054 -0
- package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
- package/artifacts/contracts/product/RiskService.sol/RiskService.json +583 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +651 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +72 -16
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +394 -21
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +199 -138
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +793 -37
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1861 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +367 -193
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +100 -100
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +164 -0
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1169 -0
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +214 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +316 -153
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/{instance/base/ComponentService.sol/ComponentService.json → shared/Component.sol/Component.json} +315 -171
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1568 -0
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +753 -0
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
- package/artifacts/contracts/{instance/service/IClaimService.sol/IClaimService.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +151 -122
- package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/{components → shared}/IComponent.sol/IComponent.json +219 -127
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1033 -0
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +700 -0
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +59 -14
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
- package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -6
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +3 -10
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +48 -12
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +3 -10
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -13
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +106 -18
- package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
- package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
- package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
- package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +793 -0
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +497 -0
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +133 -0
- package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
- package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +12 -70
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +22 -82
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +18 -106
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -28
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +92 -111
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +382 -9
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +108 -0
- package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
- package/artifacts/contracts/{components/Distribution.sol/Distribution.json → staking/IStaking.sol/IStaking.json} +692 -643
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1035 -0
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +440 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.json +1828 -0
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +164 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +714 -0
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +592 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1231 -0
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +667 -0
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2242 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +607 -0
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
- package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
- package/artifacts/contracts/type/Amount.sol/AmountLib.json +374 -0
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
- package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
- package/artifacts/contracts/type/Fee.sol/FeeLib.json +317 -0
- package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
- package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
- package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/NftId.sol/NftIdLib.json +209 -0
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +239 -0
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
- package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
- package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +86 -0
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +369 -0
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +246 -0
- package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
- package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
- package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
- package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
- package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
- package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
- package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
- package/artifacts/contracts/type/UFixed.sol/MathLib.json +16 -0
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +535 -0
- package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
- package/artifacts/contracts/type/Version.sol/VersionLib.json +177 -0
- package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
- package/artifacts/contracts/type/Version.sol/VersionPartLib.json +68 -0
- package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
- package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +1 -1
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +566 -0
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
- package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
- package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +1 -1
- package/contracts/authorization/AccessAdmin.sol +589 -0
- package/contracts/authorization/AccessManagerCloneable.sol +16 -0
- package/contracts/authorization/Authorization.sol +217 -0
- package/contracts/authorization/IAccess.sol +48 -0
- package/contracts/authorization/IAccessAdmin.sol +136 -0
- package/contracts/authorization/IAuthorization.sol +54 -0
- package/contracts/authorization/IModuleAuthorization.sol +21 -0
- package/contracts/authorization/IServiceAuthorization.sol +38 -0
- package/contracts/authorization/ModuleAuthorization.sol +78 -0
- package/contracts/authorization/ServiceAuthorization.sol +90 -0
- package/contracts/distribution/BasicDistribution.sol +138 -0
- package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
- package/contracts/distribution/Distribution.sol +295 -0
- package/contracts/distribution/DistributionService.sol +336 -0
- package/contracts/distribution/DistributionServiceManager.sol +39 -0
- package/contracts/distribution/IDistributionComponent.sol +52 -0
- package/contracts/distribution/IDistributionService.sol +101 -0
- package/contracts/examples/unpermissioned/SimpleDistribution.sol +50 -0
- package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
- package/contracts/examples/unpermissioned/SimplePool.sol +76 -0
- package/contracts/examples/unpermissioned/SimpleProduct.sol +351 -0
- package/contracts/instance/{BundleManager.sol → BundleSet.sol} +33 -32
- package/contracts/instance/IInstance.sol +43 -72
- package/contracts/instance/IInstanceService.sol +57 -24
- package/contracts/instance/Instance.sol +160 -222
- package/contracts/instance/InstanceAdmin.sol +285 -0
- package/contracts/instance/InstanceAuthorizationV3.sol +204 -0
- package/contracts/instance/InstanceReader.sol +202 -65
- package/contracts/instance/InstanceService.sol +333 -342
- package/contracts/instance/InstanceServiceManager.sol +12 -26
- package/contracts/instance/InstanceStore.sol +287 -0
- package/contracts/instance/base/BalanceStore.sol +123 -0
- package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +4 -22
- package/contracts/instance/base/ObjectCounter.sol +21 -0
- package/contracts/instance/base/ObjectLifecycle.sol +111 -0
- package/contracts/instance/{ObjectManager.sol → base/ObjectSet.sol} +19 -24
- package/contracts/instance/module/IAccess.sol +19 -20
- package/contracts/instance/module/IBundle.sol +8 -8
- package/contracts/instance/module/{ISetup.sol → IComponents.sol} +21 -22
- package/contracts/instance/module/IDistribution.sol +6 -4
- package/contracts/instance/module/IPolicy.sol +55 -18
- package/contracts/instance/module/IRisk.sol +1 -1
- package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
- package/contracts/oracle/BasicOracle.sol +48 -0
- package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
- package/contracts/oracle/IOracle.sol +36 -0
- package/contracts/oracle/IOracleComponent.sol +33 -0
- package/contracts/oracle/IOracleService.sol +65 -0
- package/contracts/oracle/Oracle.sol +167 -0
- package/contracts/oracle/OracleService.sol +279 -0
- package/contracts/oracle/OracleServiceManager.sol +39 -0
- package/contracts/pool/BasicPool.sol +166 -0
- package/contracts/pool/BasicPoolAuthorization.sol +58 -0
- package/contracts/pool/BundleService.sol +438 -0
- package/contracts/pool/BundleServiceManager.sol +39 -0
- package/contracts/pool/IBundleService.sol +134 -0
- package/contracts/pool/IPoolComponent.sol +58 -0
- package/contracts/pool/IPoolService.sol +160 -0
- package/contracts/pool/Pool.sol +326 -0
- package/contracts/pool/PoolService.sol +509 -0
- package/contracts/pool/PoolServiceManager.sol +39 -0
- package/contracts/product/ApplicationService.sol +248 -0
- package/contracts/{instance/service → product}/ApplicationServiceManager.sol +11 -8
- package/contracts/product/BasicProduct.sol +53 -0
- package/contracts/product/BasicProductAuthorization.sol +43 -0
- package/contracts/product/ClaimService.sol +487 -0
- package/contracts/{instance/service → product}/ClaimServiceManager.sol +11 -8
- package/contracts/{instance/service → product}/IApplicationService.sol +17 -36
- package/contracts/product/IClaimService.sol +122 -0
- package/contracts/product/IPolicyService.sol +73 -0
- package/contracts/product/IPricingService.sol +39 -0
- package/contracts/product/IProductComponent.sol +39 -0
- package/contracts/product/IRiskService.sol +33 -0
- package/contracts/product/PolicyService.sol +573 -0
- package/contracts/product/PolicyServiceManager.sol +39 -0
- package/contracts/product/PricingService.sol +301 -0
- package/contracts/product/PricingServiceManager.sol +39 -0
- package/contracts/product/Product.sol +425 -0
- package/contracts/product/RiskService.sol +97 -0
- package/contracts/product/RiskServiceManager.sol +39 -0
- package/contracts/registry/ChainNft.sol +80 -32
- package/contracts/registry/IRegistry.sol +94 -25
- package/contracts/registry/IRegistryService.sol +44 -42
- package/contracts/registry/ITransferInterceptor.sol +1 -0
- package/contracts/registry/Registry.sol +439 -201
- package/contracts/registry/RegistryAdmin.sol +464 -0
- package/contracts/registry/RegistryService.sol +70 -101
- package/contracts/registry/RegistryServiceManager.sol +23 -32
- package/contracts/registry/ReleaseLifecycle.sol +27 -0
- package/contracts/registry/ReleaseRegistry.sol +491 -0
- package/contracts/registry/ServiceAuthorizationV3.sol +199 -0
- package/contracts/registry/TokenRegistry.sol +261 -62
- package/contracts/shared/Component.sol +268 -0
- package/contracts/shared/ComponentService.sol +641 -0
- package/contracts/shared/ComponentServiceManager.sol +35 -0
- package/contracts/shared/ComponentVerifyingService.sol +117 -0
- package/contracts/shared/IComponent.sol +70 -0
- package/contracts/shared/IComponentService.sol +108 -0
- package/contracts/shared/IInstanceLinkedComponent.sol +49 -0
- package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
- package/contracts/{instance/base → shared}/ILifecycle.sol +3 -4
- package/contracts/shared/INftOwnable.sol +2 -2
- package/contracts/shared/IPolicyHolder.sol +22 -12
- package/contracts/shared/IRegistryLinked.sol +0 -1
- package/contracts/shared/IService.sol +15 -6
- package/contracts/shared/InitializableCustom.sol +177 -0
- package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +4 -4
- package/contracts/shared/InstanceLinkedComponent.sol +172 -0
- package/contracts/shared/KeyValueStore.sol +131 -0
- package/contracts/shared/Lifecycle.sol +77 -0
- package/contracts/shared/NftIdSet.sol +65 -0
- package/contracts/shared/NftOwnable.sol +10 -23
- package/contracts/shared/PolicyHolder.sol +18 -43
- package/contracts/shared/Registerable.sol +19 -18
- package/contracts/shared/RegistryLinked.sol +3 -7
- package/contracts/shared/Service.sol +51 -27
- package/contracts/shared/TokenHandler.sol +122 -10
- package/contracts/shared/TokenHandlerDeployerLib.sol +12 -0
- package/contracts/staking/IStaking.sol +168 -0
- package/contracts/staking/IStakingService.sol +160 -0
- package/contracts/staking/StakeManagerLib.sol +224 -0
- package/contracts/staking/Staking.sol +498 -0
- package/contracts/staking/StakingLifecycle.sol +23 -0
- package/contracts/staking/StakingManager.sol +50 -0
- package/contracts/staking/StakingReader.sol +183 -0
- package/contracts/staking/StakingService.sol +407 -0
- package/contracts/staking/StakingServiceManager.sol +44 -0
- package/contracts/staking/StakingStore.sol +605 -0
- package/contracts/staking/TargetManagerLib.sol +211 -0
- package/contracts/{types → type}/AddressSet.sol +1 -1
- package/contracts/type/Amount.sol +135 -0
- package/contracts/{types → type}/Blocknumber.sol +27 -3
- package/contracts/{types → type}/ClaimId.sol +25 -2
- package/contracts/{types → type}/Fee.sol +33 -23
- package/contracts/{types → type}/NftId.sol +21 -15
- package/contracts/{types → type}/NftIdSet.sol +2 -2
- package/contracts/type/ObjectType.sol +275 -0
- package/contracts/{types → type}/PayoutId.sol +33 -5
- package/contracts/{types → type}/Referral.sol +6 -1
- package/contracts/type/RequestId.sol +75 -0
- package/contracts/{types → type}/RiskId.sol +1 -1
- package/contracts/type/RoleId.sol +174 -0
- package/contracts/type/Seconds.sol +101 -0
- package/contracts/type/Selector.sol +102 -0
- package/contracts/{types → type}/StateId.sol +35 -4
- package/contracts/type/String.sol +53 -0
- package/contracts/{types → type}/Timestamp.sol +34 -15
- package/contracts/{types → type}/UFixed.sol +35 -9
- package/contracts/{types → type}/Version.sol +5 -2
- package/contracts/{shared → upgradeability}/IVersionable.sol +1 -1
- package/contracts/{shared → upgradeability}/ProxyManager.sol +37 -8
- package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
- package/contracts/{shared → upgradeability}/Versionable.sol +1 -1
- package/package.json +8 -5
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -764
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -984
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -261
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +0 -858
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +0 -657
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1085
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -661
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +0 -743
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +0 -637
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -935
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -677
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -480
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +0 -336
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1109
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -717
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -716
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -649
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -766
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -649
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -547
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -582
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
- package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -383
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
- package/artifacts/contracts/test/TestService.sol/TestService.json +0 -510
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -104
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
- package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +0 -100
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
- package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -33
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +0 -100
- package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -249
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
- package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
- package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
- package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
- package/contracts/components/Component.sol +0 -241
- package/contracts/components/Distribution.sol +0 -308
- package/contracts/components/IComponent.sol +0 -54
- package/contracts/components/IDistributionComponent.sol +0 -100
- package/contracts/components/IPoolComponent.sol +0 -87
- package/contracts/components/IProductComponent.sol +0 -39
- package/contracts/components/Pool.sol +0 -254
- package/contracts/components/Product.sol +0 -285
- package/contracts/instance/InstanceAccessManager.sol +0 -297
- package/contracts/instance/base/ComponentService.sol +0 -134
- package/contracts/instance/base/KeyValueStore.sol +0 -172
- package/contracts/instance/base/Lifecycle.sol +0 -100
- package/contracts/instance/module/ITreasury.sol +0 -23
- package/contracts/instance/service/ApplicationService.sol +0 -268
- package/contracts/instance/service/BundleService.sol +0 -298
- package/contracts/instance/service/BundleServiceManager.sol +0 -51
- package/contracts/instance/service/ClaimService.sol +0 -151
- package/contracts/instance/service/DistributionService.sol +0 -277
- package/contracts/instance/service/DistributionServiceManager.sol +0 -51
- package/contracts/instance/service/IBundleService.sol +0 -54
- package/contracts/instance/service/IClaimService.sol +0 -61
- package/contracts/instance/service/IDistributionService.sol +0 -65
- package/contracts/instance/service/IPolicyService.sol +0 -89
- package/contracts/instance/service/IPoolService.sol +0 -20
- package/contracts/instance/service/IProductService.sol +0 -40
- package/contracts/instance/service/PolicyService.sol +0 -474
- package/contracts/instance/service/PolicyServiceManager.sol +0 -54
- package/contracts/instance/service/PoolService.sol +0 -109
- package/contracts/instance/service/PoolServiceManager.sol +0 -51
- package/contracts/instance/service/ProductService.sol +0 -233
- package/contracts/instance/service/ProductServiceManager.sol +0 -54
- package/contracts/registry/RegistryAccessManager.sol +0 -216
- package/contracts/registry/ReleaseManager.sol +0 -322
- package/contracts/shared/ContractDeployerLib.sol +0 -72
- package/contracts/test/TestFee.sol +0 -25
- package/contracts/test/TestRegisterable.sol +0 -18
- package/contracts/test/TestRoleId.sol +0 -14
- package/contracts/test/TestService.sol +0 -25
- package/contracts/test/TestToken.sol +0 -26
- package/contracts/test/TestVersion.sol +0 -44
- package/contracts/test/TestVersionable.sol +0 -17
- package/contracts/types/ChainId.sol +0 -38
- package/contracts/types/NumberId.sol +0 -52
- package/contracts/types/ObjectType.sol +0 -156
- package/contracts/types/RoleId.sol +0 -90
- /package/contracts/{types → type}/DistributorType.sol +0 -0
- /package/contracts/{types → type}/Key32.sol +0 -0
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"_format": "hh-sol-artifact-1",
|
3
|
-
"contractName": "
|
4
|
-
"sourceName": "contracts/
|
3
|
+
"contractName": "IStaking",
|
4
|
+
"sourceName": "contracts/staking/IStaking.sol",
|
5
5
|
"abi": [
|
6
6
|
{
|
7
7
|
"inputs": [
|
@@ -41,15 +41,67 @@
|
|
41
41
|
"name": "AccessManagedUnauthorized",
|
42
42
|
"type": "error"
|
43
43
|
},
|
44
|
+
{
|
45
|
+
"inputs": [],
|
46
|
+
"name": "ErrorComponentNameLengthZero",
|
47
|
+
"type": "error"
|
48
|
+
},
|
49
|
+
{
|
50
|
+
"inputs": [
|
51
|
+
{
|
52
|
+
"internalType": "address",
|
53
|
+
"name": "caller",
|
54
|
+
"type": "address"
|
55
|
+
}
|
56
|
+
],
|
57
|
+
"name": "ErrorComponentNotChainNft",
|
58
|
+
"type": "error"
|
59
|
+
},
|
60
|
+
{
|
61
|
+
"inputs": [],
|
62
|
+
"name": "ErrorComponentTokenAddressZero",
|
63
|
+
"type": "error"
|
64
|
+
},
|
65
|
+
{
|
66
|
+
"inputs": [],
|
67
|
+
"name": "ErrorComponentWalletAddressIsSameAsCurrent",
|
68
|
+
"type": "error"
|
69
|
+
},
|
70
|
+
{
|
71
|
+
"inputs": [],
|
72
|
+
"name": "ErrorComponentWalletAddressZero",
|
73
|
+
"type": "error"
|
74
|
+
},
|
75
|
+
{
|
76
|
+
"inputs": [],
|
77
|
+
"name": "ErrorComponentWalletNotComponent",
|
78
|
+
"type": "error"
|
79
|
+
},
|
80
|
+
{
|
81
|
+
"inputs": [
|
82
|
+
{
|
83
|
+
"internalType": "NftId",
|
84
|
+
"name": "nftId",
|
85
|
+
"type": "uint96"
|
86
|
+
}
|
87
|
+
],
|
88
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
89
|
+
"type": "error"
|
90
|
+
},
|
44
91
|
{
|
45
92
|
"inputs": [
|
46
93
|
{
|
47
94
|
"internalType": "address",
|
48
|
-
"name": "
|
95
|
+
"name": "contractAddress",
|
49
96
|
"type": "address"
|
50
97
|
}
|
51
98
|
],
|
52
|
-
"name": "
|
99
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
100
|
+
"type": "error"
|
101
|
+
},
|
102
|
+
{
|
103
|
+
"inputs": [],
|
104
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
53
105
|
"type": "error"
|
54
106
|
},
|
55
107
|
{
|
@@ -60,183 +112,316 @@
|
|
60
112
|
"type": "address"
|
61
113
|
}
|
62
114
|
],
|
63
|
-
"name": "
|
115
|
+
"name": "ErrorNftOwnableNotOwner",
|
64
116
|
"type": "error"
|
65
117
|
},
|
66
118
|
{
|
67
119
|
"inputs": [
|
68
120
|
{
|
69
121
|
"internalType": "address",
|
70
|
-
"name": "
|
122
|
+
"name": "registryAddress",
|
71
123
|
"type": "address"
|
72
124
|
}
|
73
125
|
],
|
74
|
-
"name": "
|
126
|
+
"name": "ErrorNotRegistry",
|
75
127
|
"type": "error"
|
76
128
|
},
|
77
129
|
{
|
78
130
|
"inputs": [
|
79
131
|
{
|
80
|
-
"internalType": "
|
81
|
-
"name": "
|
82
|
-
"type": "
|
132
|
+
"internalType": "address",
|
133
|
+
"name": "owner",
|
134
|
+
"type": "address"
|
83
135
|
},
|
84
136
|
{
|
85
137
|
"internalType": "address",
|
86
|
-
"name": "
|
138
|
+
"name": "tokenHandler",
|
87
139
|
"type": "address"
|
140
|
+
},
|
141
|
+
{
|
142
|
+
"internalType": "uint256",
|
143
|
+
"name": "amount",
|
144
|
+
"type": "uint256"
|
145
|
+
},
|
146
|
+
{
|
147
|
+
"internalType": "uint256",
|
148
|
+
"name": "dipAllowance",
|
149
|
+
"type": "uint256"
|
88
150
|
}
|
89
151
|
],
|
90
|
-
"name": "
|
152
|
+
"name": "ErrorStakingDipAllowanceInsufficient",
|
91
153
|
"type": "error"
|
92
154
|
},
|
93
155
|
{
|
94
156
|
"inputs": [
|
95
157
|
{
|
96
158
|
"internalType": "address",
|
97
|
-
"name": "
|
159
|
+
"name": "owner",
|
98
160
|
"type": "address"
|
161
|
+
},
|
162
|
+
{
|
163
|
+
"internalType": "uint256",
|
164
|
+
"name": "amount",
|
165
|
+
"type": "uint256"
|
166
|
+
},
|
167
|
+
{
|
168
|
+
"internalType": "uint256",
|
169
|
+
"name": "dipBalance",
|
170
|
+
"type": "uint256"
|
99
171
|
}
|
100
172
|
],
|
101
|
-
"name": "
|
173
|
+
"name": "ErrorStakingDipBalanceInsufficient",
|
102
174
|
"type": "error"
|
103
175
|
},
|
104
176
|
{
|
105
|
-
"inputs": [
|
106
|
-
|
177
|
+
"inputs": [
|
178
|
+
{
|
179
|
+
"internalType": "NftId",
|
180
|
+
"name": "targetNftId",
|
181
|
+
"type": "uint96"
|
182
|
+
},
|
183
|
+
{
|
184
|
+
"internalType": "Seconds",
|
185
|
+
"name": "maxLockingPeriod",
|
186
|
+
"type": "uint40"
|
187
|
+
},
|
188
|
+
{
|
189
|
+
"internalType": "Seconds",
|
190
|
+
"name": "lockingPeriod",
|
191
|
+
"type": "uint40"
|
192
|
+
}
|
193
|
+
],
|
194
|
+
"name": "ErrorStakingLockingPeriodTooLong",
|
107
195
|
"type": "error"
|
108
196
|
},
|
109
197
|
{
|
110
198
|
"inputs": [
|
111
199
|
{
|
112
|
-
"internalType": "
|
113
|
-
"name": "
|
114
|
-
"type": "
|
200
|
+
"internalType": "NftId",
|
201
|
+
"name": "targetNftId",
|
202
|
+
"type": "uint96"
|
203
|
+
},
|
204
|
+
{
|
205
|
+
"internalType": "Seconds",
|
206
|
+
"name": "minLockingPeriod",
|
207
|
+
"type": "uint40"
|
115
208
|
},
|
116
209
|
{
|
117
|
-
"internalType": "
|
118
|
-
"name": "
|
119
|
-
"type": "
|
210
|
+
"internalType": "Seconds",
|
211
|
+
"name": "lockingPeriod",
|
212
|
+
"type": "uint40"
|
120
213
|
}
|
121
214
|
],
|
122
|
-
"name": "
|
215
|
+
"name": "ErrorStakingLockingPeriodTooShort",
|
123
216
|
"type": "error"
|
124
217
|
},
|
125
218
|
{
|
126
219
|
"inputs": [
|
127
220
|
{
|
128
|
-
"internalType": "
|
129
|
-
"name": "
|
130
|
-
"type": "
|
221
|
+
"internalType": "NftId",
|
222
|
+
"name": "nftId",
|
223
|
+
"type": "uint96"
|
131
224
|
}
|
132
225
|
],
|
133
|
-
"name": "
|
226
|
+
"name": "ErrorStakingNotNftOwner",
|
227
|
+
"type": "error"
|
228
|
+
},
|
229
|
+
{
|
230
|
+
"inputs": [
|
231
|
+
{
|
232
|
+
"internalType": "NftId",
|
233
|
+
"name": "stakeNftId",
|
234
|
+
"type": "uint96"
|
235
|
+
}
|
236
|
+
],
|
237
|
+
"name": "ErrorStakingNotStake",
|
134
238
|
"type": "error"
|
135
239
|
},
|
136
240
|
{
|
137
241
|
"inputs": [],
|
138
|
-
"name": "
|
242
|
+
"name": "ErrorStakingNotStakingOwner",
|
139
243
|
"type": "error"
|
140
244
|
},
|
141
245
|
{
|
142
246
|
"inputs": [
|
143
247
|
{
|
144
|
-
"internalType": "
|
145
|
-
"name": "
|
146
|
-
"type": "
|
147
|
-
}
|
248
|
+
"internalType": "NftId",
|
249
|
+
"name": "targetNftId",
|
250
|
+
"type": "uint96"
|
251
|
+
}
|
252
|
+
],
|
253
|
+
"name": "ErrorStakingNotTarget",
|
254
|
+
"type": "error"
|
255
|
+
},
|
256
|
+
{
|
257
|
+
"inputs": [
|
148
258
|
{
|
149
|
-
"internalType": "
|
150
|
-
"name": "
|
151
|
-
"type": "
|
259
|
+
"internalType": "NftId",
|
260
|
+
"name": "targetNftId",
|
261
|
+
"type": "uint96"
|
152
262
|
},
|
153
263
|
{
|
154
|
-
"internalType": "
|
155
|
-
"name": "
|
264
|
+
"internalType": "UFixed",
|
265
|
+
"name": "maxRewardRate",
|
156
266
|
"type": "uint256"
|
157
267
|
},
|
158
268
|
{
|
159
|
-
"internalType": "
|
160
|
-
"name": "
|
269
|
+
"internalType": "UFixed",
|
270
|
+
"name": "rewardRate",
|
161
271
|
"type": "uint256"
|
162
272
|
}
|
163
273
|
],
|
164
|
-
"name": "
|
274
|
+
"name": "ErrorStakingRewardRateTooHigh",
|
165
275
|
"type": "error"
|
166
276
|
},
|
167
277
|
{
|
168
278
|
"inputs": [
|
169
279
|
{
|
170
280
|
"internalType": "NftId",
|
171
|
-
"name": "
|
281
|
+
"name": "targetNftId",
|
172
282
|
"type": "uint96"
|
173
283
|
}
|
174
284
|
],
|
175
|
-
"name": "
|
285
|
+
"name": "ErrorStakingStakeAmountZero",
|
286
|
+
"type": "error"
|
287
|
+
},
|
288
|
+
{
|
289
|
+
"inputs": [
|
290
|
+
{
|
291
|
+
"internalType": "NftId",
|
292
|
+
"name": "stakeNftId",
|
293
|
+
"type": "uint96"
|
294
|
+
},
|
295
|
+
{
|
296
|
+
"internalType": "Timestamp",
|
297
|
+
"name": "lockedUntil",
|
298
|
+
"type": "uint40"
|
299
|
+
}
|
300
|
+
],
|
301
|
+
"name": "ErrorStakingStakeLocked",
|
176
302
|
"type": "error"
|
177
303
|
},
|
178
304
|
{
|
179
305
|
"inputs": [
|
180
306
|
{
|
181
307
|
"internalType": "address",
|
182
|
-
"name": "
|
308
|
+
"name": "stakingByStakingReader",
|
183
309
|
"type": "address"
|
184
310
|
}
|
185
311
|
],
|
186
|
-
"name": "
|
312
|
+
"name": "ErrorStakingStakingReaderStakingMismatch",
|
313
|
+
"type": "error"
|
314
|
+
},
|
315
|
+
{
|
316
|
+
"inputs": [
|
317
|
+
{
|
318
|
+
"internalType": "NftId",
|
319
|
+
"name": "targetNftId",
|
320
|
+
"type": "uint96"
|
321
|
+
}
|
322
|
+
],
|
323
|
+
"name": "ErrorStakingTargetAlreadyRegistered",
|
187
324
|
"type": "error"
|
188
325
|
},
|
189
326
|
{
|
190
327
|
"inputs": [],
|
191
|
-
"name": "
|
328
|
+
"name": "ErrorStakingTargetNftIdZero",
|
192
329
|
"type": "error"
|
193
330
|
},
|
194
331
|
{
|
195
332
|
"inputs": [
|
196
333
|
{
|
197
|
-
"internalType": "
|
198
|
-
"name": "
|
199
|
-
"type": "
|
334
|
+
"internalType": "NftId",
|
335
|
+
"name": "targetNftId",
|
336
|
+
"type": "uint96"
|
200
337
|
}
|
201
338
|
],
|
202
|
-
"name": "
|
339
|
+
"name": "ErrorStakingTargetNotActive",
|
203
340
|
"type": "error"
|
204
341
|
},
|
205
342
|
{
|
206
343
|
"inputs": [
|
207
344
|
{
|
208
|
-
"internalType": "
|
209
|
-
"name": "
|
210
|
-
"type": "
|
345
|
+
"internalType": "NftId",
|
346
|
+
"name": "targetNftId",
|
347
|
+
"type": "uint96"
|
211
348
|
}
|
212
349
|
],
|
213
|
-
"name": "
|
350
|
+
"name": "ErrorStakingTargetNotFound",
|
214
351
|
"type": "error"
|
215
352
|
},
|
216
353
|
{
|
217
|
-
"inputs": [
|
218
|
-
|
354
|
+
"inputs": [
|
355
|
+
{
|
356
|
+
"internalType": "NftId",
|
357
|
+
"name": "targetNftId",
|
358
|
+
"type": "uint96"
|
359
|
+
},
|
360
|
+
{
|
361
|
+
"internalType": "uint256",
|
362
|
+
"name": "chainId",
|
363
|
+
"type": "uint256"
|
364
|
+
},
|
365
|
+
{
|
366
|
+
"internalType": "address",
|
367
|
+
"name": "token",
|
368
|
+
"type": "address"
|
369
|
+
}
|
370
|
+
],
|
371
|
+
"name": "ErrorStakingTargetTokenNotFound",
|
219
372
|
"type": "error"
|
220
373
|
},
|
221
374
|
{
|
222
|
-
"inputs": [
|
223
|
-
|
375
|
+
"inputs": [
|
376
|
+
{
|
377
|
+
"internalType": "NftId",
|
378
|
+
"name": "targetNftId",
|
379
|
+
"type": "uint96"
|
380
|
+
},
|
381
|
+
{
|
382
|
+
"internalType": "ObjectType",
|
383
|
+
"name": "objectType",
|
384
|
+
"type": "uint8"
|
385
|
+
}
|
386
|
+
],
|
387
|
+
"name": "ErrorStakingTargetTypeNotSupported",
|
224
388
|
"type": "error"
|
225
389
|
},
|
226
390
|
{
|
227
|
-
"inputs": [
|
228
|
-
|
391
|
+
"inputs": [
|
392
|
+
{
|
393
|
+
"internalType": "NftId",
|
394
|
+
"name": "targetNftId",
|
395
|
+
"type": "uint96"
|
396
|
+
},
|
397
|
+
{
|
398
|
+
"internalType": "ObjectType",
|
399
|
+
"name": "expectedObjectType",
|
400
|
+
"type": "uint8"
|
401
|
+
},
|
402
|
+
{
|
403
|
+
"internalType": "ObjectType",
|
404
|
+
"name": "actualObjectType",
|
405
|
+
"type": "uint8"
|
406
|
+
}
|
407
|
+
],
|
408
|
+
"name": "ErrorStakingTargetUnexpectedObjectType",
|
229
409
|
"type": "error"
|
230
410
|
},
|
231
411
|
{
|
232
412
|
"inputs": [
|
413
|
+
{
|
414
|
+
"internalType": "uint256",
|
415
|
+
"name": "chainId",
|
416
|
+
"type": "uint256"
|
417
|
+
},
|
233
418
|
{
|
234
419
|
"internalType": "address",
|
235
420
|
"name": "token",
|
236
421
|
"type": "address"
|
237
422
|
}
|
238
423
|
],
|
239
|
-
"name": "
|
424
|
+
"name": "ErrorStakingTokenNotRegistered",
|
240
425
|
"type": "error"
|
241
426
|
},
|
242
427
|
{
|
@@ -257,17 +442,29 @@
|
|
257
442
|
"inputs": [
|
258
443
|
{
|
259
444
|
"indexed": false,
|
260
|
-
"internalType": "
|
261
|
-
"name": "
|
262
|
-
"type": "
|
445
|
+
"internalType": "address",
|
446
|
+
"name": "token",
|
447
|
+
"type": "address"
|
448
|
+
},
|
449
|
+
{
|
450
|
+
"indexed": false,
|
451
|
+
"internalType": "Amount",
|
452
|
+
"name": "limit",
|
453
|
+
"type": "uint96"
|
263
454
|
}
|
264
455
|
],
|
265
|
-
"name": "
|
456
|
+
"name": "LogComponentTokenHandlerApproved",
|
266
457
|
"type": "event"
|
267
458
|
},
|
268
459
|
{
|
269
460
|
"anonymous": false,
|
270
461
|
"inputs": [
|
462
|
+
{
|
463
|
+
"indexed": false,
|
464
|
+
"internalType": "address",
|
465
|
+
"name": "oldWallet",
|
466
|
+
"type": "address"
|
467
|
+
},
|
271
468
|
{
|
272
469
|
"indexed": false,
|
273
470
|
"internalType": "address",
|
@@ -308,70 +505,93 @@
|
|
308
505
|
"inputs": [
|
309
506
|
{
|
310
507
|
"indexed": false,
|
311
|
-
"internalType": "
|
312
|
-
"name": "
|
313
|
-
"type": "
|
508
|
+
"internalType": "NftId",
|
509
|
+
"name": "targetNftId",
|
510
|
+
"type": "uint96"
|
314
511
|
},
|
315
512
|
{
|
316
513
|
"indexed": false,
|
317
|
-
"internalType": "
|
318
|
-
"name": "
|
319
|
-
"type": "
|
514
|
+
"internalType": "Seconds",
|
515
|
+
"name": "oldLockingPeriod",
|
516
|
+
"type": "uint40"
|
517
|
+
},
|
518
|
+
{
|
519
|
+
"indexed": false,
|
520
|
+
"internalType": "Seconds",
|
521
|
+
"name": "lockingPeriod",
|
522
|
+
"type": "uint40"
|
320
523
|
}
|
321
524
|
],
|
322
|
-
"name": "
|
525
|
+
"name": "LogStakingLockingPeriodSet",
|
323
526
|
"type": "event"
|
324
527
|
},
|
325
528
|
{
|
326
|
-
"
|
327
|
-
"
|
328
|
-
"outputs": [
|
529
|
+
"anonymous": false,
|
530
|
+
"inputs": [
|
329
531
|
{
|
330
|
-
"
|
331
|
-
"
|
332
|
-
"
|
333
|
-
|
334
|
-
|
335
|
-
"stateMutability": "view",
|
336
|
-
"type": "function"
|
337
|
-
},
|
338
|
-
{
|
339
|
-
"inputs": [],
|
340
|
-
"name": "DISTRIBUTION_STORAGE_LOCATION_V1",
|
341
|
-
"outputs": [
|
532
|
+
"indexed": false,
|
533
|
+
"internalType": "NftId",
|
534
|
+
"name": "targetNftId",
|
535
|
+
"type": "uint96"
|
536
|
+
},
|
342
537
|
{
|
343
|
-
"
|
344
|
-
"
|
345
|
-
"
|
538
|
+
"indexed": false,
|
539
|
+
"internalType": "UFixed",
|
540
|
+
"name": "oldRewardRate",
|
541
|
+
"type": "uint256"
|
542
|
+
},
|
543
|
+
{
|
544
|
+
"indexed": false,
|
545
|
+
"internalType": "UFixed",
|
546
|
+
"name": "rewardRate",
|
547
|
+
"type": "uint256"
|
346
548
|
}
|
347
549
|
],
|
348
|
-
"
|
349
|
-
"type": "
|
550
|
+
"name": "LogStakingRewardRateSet",
|
551
|
+
"type": "event"
|
350
552
|
},
|
351
553
|
{
|
352
|
-
"
|
353
|
-
"
|
354
|
-
"outputs": [
|
554
|
+
"anonymous": false,
|
555
|
+
"inputs": [
|
355
556
|
{
|
356
|
-
"
|
357
|
-
"
|
358
|
-
"
|
557
|
+
"indexed": false,
|
558
|
+
"internalType": "uint256",
|
559
|
+
"name": "chainId",
|
560
|
+
"type": "uint256"
|
561
|
+
},
|
562
|
+
{
|
563
|
+
"indexed": false,
|
564
|
+
"internalType": "address",
|
565
|
+
"name": "token",
|
566
|
+
"type": "address"
|
567
|
+
},
|
568
|
+
{
|
569
|
+
"indexed": false,
|
570
|
+
"internalType": "UFixed",
|
571
|
+
"name": "oldStakingRate",
|
572
|
+
"type": "uint256"
|
573
|
+
},
|
574
|
+
{
|
575
|
+
"indexed": false,
|
576
|
+
"internalType": "UFixed",
|
577
|
+
"name": "newStakingRate",
|
578
|
+
"type": "uint256"
|
359
579
|
}
|
360
580
|
],
|
361
|
-
"
|
362
|
-
"type": "
|
581
|
+
"name": "LogStakingStakingRateSet",
|
582
|
+
"type": "event"
|
363
583
|
},
|
364
584
|
{
|
365
|
-
"inputs": [
|
366
|
-
"name": "REGISTERABLE_LOCATION_V1",
|
367
|
-
"outputs": [
|
585
|
+
"inputs": [
|
368
586
|
{
|
369
|
-
"internalType": "
|
370
|
-
"name": "",
|
371
|
-
"type": "
|
587
|
+
"internalType": "Amount",
|
588
|
+
"name": "spendingLimitAmount",
|
589
|
+
"type": "uint96"
|
372
590
|
}
|
373
591
|
],
|
374
|
-
"
|
592
|
+
"name": "approveTokenHandler",
|
593
|
+
"outputs": [],
|
594
|
+
"stateMutability": "nonpayable",
|
375
595
|
"type": "function"
|
376
596
|
},
|
377
597
|
{
|
@@ -390,136 +610,60 @@
|
|
390
610
|
{
|
391
611
|
"inputs": [
|
392
612
|
{
|
393
|
-
"internalType": "
|
394
|
-
"name": "
|
395
|
-
"type": "
|
396
|
-
},
|
397
|
-
{
|
398
|
-
"internalType": "uint256",
|
399
|
-
"name": "netPremiumAmount",
|
400
|
-
"type": "uint256"
|
401
|
-
}
|
402
|
-
],
|
403
|
-
"name": "calculateFeeAmount",
|
404
|
-
"outputs": [
|
405
|
-
{
|
406
|
-
"internalType": "uint256",
|
407
|
-
"name": "feeAmount",
|
408
|
-
"type": "uint256"
|
409
|
-
}
|
410
|
-
],
|
411
|
-
"stateMutability": "view",
|
412
|
-
"type": "function"
|
413
|
-
},
|
414
|
-
{
|
415
|
-
"inputs": [
|
416
|
-
{
|
417
|
-
"internalType": "ReferralId",
|
418
|
-
"name": "referralId",
|
419
|
-
"type": "bytes8"
|
420
|
-
},
|
421
|
-
{
|
422
|
-
"internalType": "uint256",
|
423
|
-
"name": "netPremiumAmount",
|
424
|
-
"type": "uint256"
|
613
|
+
"internalType": "NftId",
|
614
|
+
"name": "stakeNftId",
|
615
|
+
"type": "uint96"
|
425
616
|
}
|
426
617
|
],
|
427
|
-
"name": "
|
618
|
+
"name": "claimRewards",
|
428
619
|
"outputs": [
|
429
620
|
{
|
430
|
-
"internalType": "
|
431
|
-
"name": "
|
432
|
-
"type": "
|
621
|
+
"internalType": "Amount",
|
622
|
+
"name": "rewardsClaimedAmount",
|
623
|
+
"type": "uint96"
|
433
624
|
}
|
434
625
|
],
|
435
|
-
"stateMutability": "
|
626
|
+
"stateMutability": "nonpayable",
|
436
627
|
"type": "function"
|
437
628
|
},
|
438
629
|
{
|
439
630
|
"inputs": [
|
440
631
|
{
|
441
632
|
"internalType": "address",
|
442
|
-
"name": "
|
633
|
+
"name": "from",
|
443
634
|
"type": "address"
|
444
635
|
},
|
445
636
|
{
|
446
|
-
"internalType": "
|
447
|
-
"name": "
|
448
|
-
"type": "bytes8"
|
449
|
-
},
|
450
|
-
{
|
451
|
-
"internalType": "bytes",
|
452
|
-
"name": "data",
|
453
|
-
"type": "bytes"
|
454
|
-
}
|
455
|
-
],
|
456
|
-
"name": "createDistributor",
|
457
|
-
"outputs": [
|
458
|
-
{
|
459
|
-
"internalType": "NftId",
|
460
|
-
"name": "distributorNftId",
|
637
|
+
"internalType": "Amount",
|
638
|
+
"name": "dipAmount",
|
461
639
|
"type": "uint96"
|
462
640
|
}
|
463
641
|
],
|
642
|
+
"name": "collectDipAmount",
|
643
|
+
"outputs": [],
|
464
644
|
"stateMutability": "nonpayable",
|
465
645
|
"type": "function"
|
466
646
|
},
|
467
647
|
{
|
468
648
|
"inputs": [
|
469
649
|
{
|
470
|
-
"internalType": "
|
471
|
-
"name": "
|
472
|
-
"type": "
|
473
|
-
},
|
474
|
-
{
|
475
|
-
"internalType": "UFixed",
|
476
|
-
"name": "minDiscountPercentage",
|
477
|
-
"type": "uint256"
|
478
|
-
},
|
479
|
-
{
|
480
|
-
"internalType": "UFixed",
|
481
|
-
"name": "maxDiscountPercentage",
|
482
|
-
"type": "uint256"
|
483
|
-
},
|
484
|
-
{
|
485
|
-
"internalType": "UFixed",
|
486
|
-
"name": "commissionPercentage",
|
487
|
-
"type": "uint256"
|
488
|
-
},
|
489
|
-
{
|
490
|
-
"internalType": "uint32",
|
491
|
-
"name": "maxReferralCount",
|
492
|
-
"type": "uint32"
|
493
|
-
},
|
494
|
-
{
|
495
|
-
"internalType": "uint32",
|
496
|
-
"name": "maxReferralLifetime",
|
497
|
-
"type": "uint32"
|
498
|
-
},
|
499
|
-
{
|
500
|
-
"internalType": "bool",
|
501
|
-
"name": "allowSelfReferrals",
|
502
|
-
"type": "bool"
|
650
|
+
"internalType": "NftId",
|
651
|
+
"name": "stakeNftId",
|
652
|
+
"type": "uint96"
|
503
653
|
},
|
504
654
|
{
|
505
|
-
"internalType": "
|
506
|
-
"name": "
|
507
|
-
"type": "
|
655
|
+
"internalType": "NftId",
|
656
|
+
"name": "targetNftId",
|
657
|
+
"type": "uint96"
|
508
658
|
},
|
509
659
|
{
|
510
|
-
"internalType": "
|
511
|
-
"name": "
|
512
|
-
"type": "
|
513
|
-
}
|
514
|
-
],
|
515
|
-
"name": "createDistributorType",
|
516
|
-
"outputs": [
|
517
|
-
{
|
518
|
-
"internalType": "DistributorType",
|
519
|
-
"name": "distributorType",
|
520
|
-
"type": "bytes8"
|
660
|
+
"internalType": "Amount",
|
661
|
+
"name": "dipAmount",
|
662
|
+
"type": "uint96"
|
521
663
|
}
|
522
664
|
],
|
665
|
+
"name": "createStake",
|
666
|
+
"outputs": [],
|
523
667
|
"stateMutability": "nonpayable",
|
524
668
|
"type": "function"
|
525
669
|
},
|
@@ -527,89 +671,70 @@
|
|
527
671
|
"inputs": [
|
528
672
|
{
|
529
673
|
"internalType": "NftId",
|
530
|
-
"name": "
|
674
|
+
"name": "targetNftId",
|
531
675
|
"type": "uint96"
|
532
676
|
},
|
533
677
|
{
|
534
|
-
"internalType": "
|
535
|
-
"name": "
|
536
|
-
"type": "
|
537
|
-
},
|
538
|
-
{
|
539
|
-
"internalType": "UFixed",
|
540
|
-
"name": "discountPercentage",
|
541
|
-
"type": "uint256"
|
542
|
-
},
|
543
|
-
{
|
544
|
-
"internalType": "uint32",
|
545
|
-
"name": "maxReferrals",
|
546
|
-
"type": "uint32"
|
547
|
-
},
|
548
|
-
{
|
549
|
-
"internalType": "Timestamp",
|
550
|
-
"name": "expiryAt",
|
551
|
-
"type": "uint40"
|
678
|
+
"internalType": "address",
|
679
|
+
"name": "token",
|
680
|
+
"type": "address"
|
552
681
|
},
|
553
682
|
{
|
554
|
-
"internalType": "
|
555
|
-
"name": "
|
556
|
-
"type": "
|
683
|
+
"internalType": "Amount",
|
684
|
+
"name": "amount",
|
685
|
+
"type": "uint96"
|
557
686
|
}
|
558
687
|
],
|
559
|
-
"name": "
|
688
|
+
"name": "decreaseTotalValueLocked",
|
560
689
|
"outputs": [
|
561
690
|
{
|
562
|
-
"internalType": "
|
563
|
-
"name": "
|
564
|
-
"type": "
|
691
|
+
"internalType": "Amount",
|
692
|
+
"name": "newBalance",
|
693
|
+
"type": "uint96"
|
565
694
|
}
|
566
695
|
],
|
567
696
|
"stateMutability": "nonpayable",
|
568
697
|
"type": "function"
|
569
698
|
},
|
570
|
-
{
|
571
|
-
"inputs": [
|
572
|
-
{
|
573
|
-
"internalType": "string",
|
574
|
-
"name": "referralCode",
|
575
|
-
"type": "string"
|
576
|
-
}
|
577
|
-
],
|
578
|
-
"name": "getDiscountPercentage",
|
579
|
-
"outputs": [
|
580
|
-
{
|
581
|
-
"internalType": "UFixed",
|
582
|
-
"name": "discountPercentage",
|
583
|
-
"type": "uint256"
|
584
|
-
},
|
585
|
-
{
|
586
|
-
"internalType": "ReferralStatus",
|
587
|
-
"name": "status",
|
588
|
-
"type": "uint8"
|
589
|
-
}
|
590
|
-
],
|
591
|
-
"stateMutability": "view",
|
592
|
-
"type": "function"
|
593
|
-
},
|
594
699
|
{
|
595
700
|
"inputs": [],
|
596
|
-
"name": "
|
701
|
+
"name": "getComponentInfo",
|
597
702
|
"outputs": [
|
598
703
|
{
|
599
704
|
"components": [
|
600
705
|
{
|
601
|
-
"internalType": "
|
602
|
-
"name": "
|
603
|
-
"type": "
|
706
|
+
"internalType": "string",
|
707
|
+
"name": "name",
|
708
|
+
"type": "string"
|
709
|
+
},
|
710
|
+
{
|
711
|
+
"internalType": "NftId",
|
712
|
+
"name": "productNftId",
|
713
|
+
"type": "uint96"
|
714
|
+
},
|
715
|
+
{
|
716
|
+
"internalType": "contract IERC20Metadata",
|
717
|
+
"name": "token",
|
718
|
+
"type": "address"
|
719
|
+
},
|
720
|
+
{
|
721
|
+
"internalType": "contract TokenHandler",
|
722
|
+
"name": "tokenHandler",
|
723
|
+
"type": "address"
|
724
|
+
},
|
725
|
+
{
|
726
|
+
"internalType": "address",
|
727
|
+
"name": "wallet",
|
728
|
+
"type": "address"
|
604
729
|
},
|
605
730
|
{
|
606
|
-
"internalType": "
|
607
|
-
"name": "
|
608
|
-
"type": "
|
731
|
+
"internalType": "bytes",
|
732
|
+
"name": "data",
|
733
|
+
"type": "bytes"
|
609
734
|
}
|
610
735
|
],
|
611
|
-
"internalType": "struct
|
612
|
-
"name": "
|
736
|
+
"internalType": "struct IComponents.ComponentInfo",
|
737
|
+
"name": "info",
|
613
738
|
"type": "tuple"
|
614
739
|
}
|
615
740
|
],
|
@@ -617,19 +742,45 @@
|
|
617
742
|
"type": "function"
|
618
743
|
},
|
619
744
|
{
|
620
|
-
"inputs": [
|
621
|
-
|
622
|
-
"internalType": "address",
|
623
|
-
"name": "distributor",
|
624
|
-
"type": "address"
|
625
|
-
}
|
626
|
-
],
|
627
|
-
"name": "getDistributorNftId",
|
745
|
+
"inputs": [],
|
746
|
+
"name": "getInitialComponentInfo",
|
628
747
|
"outputs": [
|
629
748
|
{
|
630
|
-
"
|
631
|
-
|
632
|
-
|
749
|
+
"components": [
|
750
|
+
{
|
751
|
+
"internalType": "string",
|
752
|
+
"name": "name",
|
753
|
+
"type": "string"
|
754
|
+
},
|
755
|
+
{
|
756
|
+
"internalType": "NftId",
|
757
|
+
"name": "productNftId",
|
758
|
+
"type": "uint96"
|
759
|
+
},
|
760
|
+
{
|
761
|
+
"internalType": "contract IERC20Metadata",
|
762
|
+
"name": "token",
|
763
|
+
"type": "address"
|
764
|
+
},
|
765
|
+
{
|
766
|
+
"internalType": "contract TokenHandler",
|
767
|
+
"name": "tokenHandler",
|
768
|
+
"type": "address"
|
769
|
+
},
|
770
|
+
{
|
771
|
+
"internalType": "address",
|
772
|
+
"name": "wallet",
|
773
|
+
"type": "address"
|
774
|
+
},
|
775
|
+
{
|
776
|
+
"internalType": "bytes",
|
777
|
+
"name": "data",
|
778
|
+
"type": "bytes"
|
779
|
+
}
|
780
|
+
],
|
781
|
+
"internalType": "struct IComponents.ComponentInfo",
|
782
|
+
"name": "info",
|
783
|
+
"type": "tuple"
|
633
784
|
}
|
634
785
|
],
|
635
786
|
"stateMutability": "view",
|
@@ -678,47 +829,8 @@
|
|
678
829
|
}
|
679
830
|
],
|
680
831
|
"internalType": "struct IRegistry.ObjectInfo",
|
681
|
-
"name": "info",
|
682
|
-
"type": "tuple"
|
683
|
-
}
|
684
|
-
],
|
685
|
-
"stateMutability": "view",
|
686
|
-
"type": "function"
|
687
|
-
},
|
688
|
-
{
|
689
|
-
"inputs": [],
|
690
|
-
"name": "getInstance",
|
691
|
-
"outputs": [
|
692
|
-
{
|
693
|
-
"internalType": "contract IInstance",
|
694
|
-
"name": "instance",
|
695
|
-
"type": "address"
|
696
|
-
}
|
697
|
-
],
|
698
|
-
"stateMutability": "view",
|
699
|
-
"type": "function"
|
700
|
-
},
|
701
|
-
{
|
702
|
-
"inputs": [],
|
703
|
-
"name": "getInstanceReader",
|
704
|
-
"outputs": [
|
705
|
-
{
|
706
|
-
"internalType": "contract InstanceReader",
|
707
|
-
"name": "reader",
|
708
|
-
"type": "address"
|
709
|
-
}
|
710
|
-
],
|
711
|
-
"stateMutability": "view",
|
712
|
-
"type": "function"
|
713
|
-
},
|
714
|
-
{
|
715
|
-
"inputs": [],
|
716
|
-
"name": "getInstanceService",
|
717
|
-
"outputs": [
|
718
|
-
{
|
719
|
-
"internalType": "contract IInstanceService",
|
720
832
|
"name": "",
|
721
|
-
"type": "
|
833
|
+
"type": "tuple"
|
722
834
|
}
|
723
835
|
],
|
724
836
|
"stateMutability": "view",
|
@@ -763,51 +875,6 @@
|
|
763
875
|
"stateMutability": "view",
|
764
876
|
"type": "function"
|
765
877
|
},
|
766
|
-
{
|
767
|
-
"inputs": [],
|
768
|
-
"name": "getProductNftId",
|
769
|
-
"outputs": [
|
770
|
-
{
|
771
|
-
"internalType": "NftId",
|
772
|
-
"name": "productNftId",
|
773
|
-
"type": "uint96"
|
774
|
-
}
|
775
|
-
],
|
776
|
-
"stateMutability": "view",
|
777
|
-
"type": "function"
|
778
|
-
},
|
779
|
-
{
|
780
|
-
"inputs": [],
|
781
|
-
"name": "getProductService",
|
782
|
-
"outputs": [
|
783
|
-
{
|
784
|
-
"internalType": "contract IProductService",
|
785
|
-
"name": "",
|
786
|
-
"type": "address"
|
787
|
-
}
|
788
|
-
],
|
789
|
-
"stateMutability": "view",
|
790
|
-
"type": "function"
|
791
|
-
},
|
792
|
-
{
|
793
|
-
"inputs": [
|
794
|
-
{
|
795
|
-
"internalType": "string",
|
796
|
-
"name": "referralCode",
|
797
|
-
"type": "string"
|
798
|
-
}
|
799
|
-
],
|
800
|
-
"name": "getReferralId",
|
801
|
-
"outputs": [
|
802
|
-
{
|
803
|
-
"internalType": "ReferralId",
|
804
|
-
"name": "referralId",
|
805
|
-
"type": "bytes8"
|
806
|
-
}
|
807
|
-
],
|
808
|
-
"stateMutability": "view",
|
809
|
-
"type": "function"
|
810
|
-
},
|
811
878
|
{
|
812
879
|
"inputs": [],
|
813
880
|
"name": "getRegistry",
|
@@ -823,30 +890,11 @@
|
|
823
890
|
},
|
824
891
|
{
|
825
892
|
"inputs": [],
|
826
|
-
"name": "
|
893
|
+
"name": "getStakingReader",
|
827
894
|
"outputs": [
|
828
895
|
{
|
829
|
-
"internalType": "
|
830
|
-
"name": "",
|
831
|
-
"type": "address"
|
832
|
-
}
|
833
|
-
],
|
834
|
-
"stateMutability": "view",
|
835
|
-
"type": "function"
|
836
|
-
},
|
837
|
-
{
|
838
|
-
"inputs": [
|
839
|
-
{
|
840
|
-
"internalType": "ObjectType",
|
841
|
-
"name": "domain",
|
842
|
-
"type": "uint8"
|
843
|
-
}
|
844
|
-
],
|
845
|
-
"name": "getServiceAddress",
|
846
|
-
"outputs": [
|
847
|
-
{
|
848
|
-
"internalType": "address",
|
849
|
-
"name": "service",
|
896
|
+
"internalType": "contract StakingReader",
|
897
|
+
"name": "reader",
|
850
898
|
"type": "address"
|
851
899
|
}
|
852
900
|
],
|
@@ -855,46 +903,12 @@
|
|
855
903
|
},
|
856
904
|
{
|
857
905
|
"inputs": [],
|
858
|
-
"name": "
|
906
|
+
"name": "getStakingStore",
|
859
907
|
"outputs": [
|
860
908
|
{
|
861
|
-
"
|
862
|
-
|
863
|
-
|
864
|
-
"name": "productNftId",
|
865
|
-
"type": "uint96"
|
866
|
-
},
|
867
|
-
{
|
868
|
-
"internalType": "contract TokenHandler",
|
869
|
-
"name": "tokenHandler",
|
870
|
-
"type": "address"
|
871
|
-
},
|
872
|
-
{
|
873
|
-
"components": [
|
874
|
-
{
|
875
|
-
"internalType": "UFixed",
|
876
|
-
"name": "fractionalFee",
|
877
|
-
"type": "uint256"
|
878
|
-
},
|
879
|
-
{
|
880
|
-
"internalType": "uint256",
|
881
|
-
"name": "fixedFee",
|
882
|
-
"type": "uint256"
|
883
|
-
}
|
884
|
-
],
|
885
|
-
"internalType": "struct Fee",
|
886
|
-
"name": "distributionFee",
|
887
|
-
"type": "tuple"
|
888
|
-
},
|
889
|
-
{
|
890
|
-
"internalType": "address",
|
891
|
-
"name": "wallet",
|
892
|
-
"type": "address"
|
893
|
-
}
|
894
|
-
],
|
895
|
-
"internalType": "struct ISetup.DistributionSetupInfo",
|
896
|
-
"name": "setupInfo",
|
897
|
-
"type": "tuple"
|
909
|
+
"internalType": "contract StakingStore",
|
910
|
+
"name": "stakingStore",
|
911
|
+
"type": "address"
|
898
912
|
}
|
899
913
|
],
|
900
914
|
"stateMutability": "view",
|
@@ -915,11 +929,11 @@
|
|
915
929
|
},
|
916
930
|
{
|
917
931
|
"inputs": [],
|
918
|
-
"name": "
|
932
|
+
"name": "getTokenHandler",
|
919
933
|
"outputs": [
|
920
934
|
{
|
921
|
-
"internalType": "
|
922
|
-
"name": "
|
935
|
+
"internalType": "contract TokenHandler",
|
936
|
+
"name": "tokenHandler",
|
923
937
|
"type": "address"
|
924
938
|
}
|
925
939
|
],
|
@@ -927,168 +941,57 @@
|
|
927
941
|
"type": "function"
|
928
942
|
},
|
929
943
|
{
|
930
|
-
"inputs": [
|
931
|
-
|
932
|
-
|
933
|
-
"name": "registry",
|
934
|
-
"type": "address"
|
935
|
-
},
|
936
|
-
{
|
937
|
-
"internalType": "NftId",
|
938
|
-
"name": "instanceNftId",
|
939
|
-
"type": "uint96"
|
940
|
-
},
|
941
|
-
{
|
942
|
-
"internalType": "string",
|
943
|
-
"name": "name",
|
944
|
-
"type": "string"
|
945
|
-
},
|
946
|
-
{
|
947
|
-
"internalType": "address",
|
948
|
-
"name": "token",
|
949
|
-
"type": "address"
|
950
|
-
},
|
951
|
-
{
|
952
|
-
"internalType": "ObjectType",
|
953
|
-
"name": "componentType",
|
954
|
-
"type": "uint8"
|
955
|
-
},
|
956
|
-
{
|
957
|
-
"internalType": "bool",
|
958
|
-
"name": "isInterceptor",
|
959
|
-
"type": "bool"
|
960
|
-
},
|
961
|
-
{
|
962
|
-
"internalType": "address",
|
963
|
-
"name": "initialOwner",
|
964
|
-
"type": "address"
|
965
|
-
},
|
966
|
-
{
|
967
|
-
"internalType": "bytes",
|
968
|
-
"name": "data",
|
969
|
-
"type": "bytes"
|
970
|
-
}
|
971
|
-
],
|
972
|
-
"name": "initializeComponent",
|
973
|
-
"outputs": [],
|
974
|
-
"stateMutability": "nonpayable",
|
975
|
-
"type": "function"
|
976
|
-
},
|
977
|
-
{
|
978
|
-
"inputs": [
|
979
|
-
{
|
980
|
-
"internalType": "address",
|
981
|
-
"name": "registry",
|
982
|
-
"type": "address"
|
983
|
-
},
|
984
|
-
{
|
985
|
-
"internalType": "NftId",
|
986
|
-
"name": "instanceNftId",
|
987
|
-
"type": "uint96"
|
988
|
-
},
|
989
|
-
{
|
990
|
-
"internalType": "string",
|
991
|
-
"name": "name",
|
992
|
-
"type": "string"
|
993
|
-
},
|
994
|
-
{
|
995
|
-
"internalType": "address",
|
996
|
-
"name": "token",
|
997
|
-
"type": "address"
|
998
|
-
},
|
999
|
-
{
|
1000
|
-
"components": [
|
1001
|
-
{
|
1002
|
-
"internalType": "UFixed",
|
1003
|
-
"name": "fractionalFee",
|
1004
|
-
"type": "uint256"
|
1005
|
-
},
|
1006
|
-
{
|
1007
|
-
"internalType": "uint256",
|
1008
|
-
"name": "fixedFee",
|
1009
|
-
"type": "uint256"
|
1010
|
-
}
|
1011
|
-
],
|
1012
|
-
"internalType": "struct Fee",
|
1013
|
-
"name": "distributionFee",
|
1014
|
-
"type": "tuple"
|
1015
|
-
},
|
1016
|
-
{
|
1017
|
-
"internalType": "address",
|
1018
|
-
"name": "initialOwner",
|
1019
|
-
"type": "address"
|
1020
|
-
},
|
944
|
+
"inputs": [],
|
945
|
+
"name": "getVersion",
|
946
|
+
"outputs": [
|
1021
947
|
{
|
1022
|
-
"internalType": "
|
1023
|
-
"name": "
|
1024
|
-
"type": "
|
948
|
+
"internalType": "Version",
|
949
|
+
"name": "",
|
950
|
+
"type": "uint24"
|
1025
951
|
}
|
1026
952
|
],
|
1027
|
-
"
|
1028
|
-
"outputs": [],
|
1029
|
-
"stateMutability": "nonpayable",
|
953
|
+
"stateMutability": "pure",
|
1030
954
|
"type": "function"
|
1031
955
|
},
|
1032
956
|
{
|
1033
957
|
"inputs": [],
|
1034
|
-
"name": "
|
1035
|
-
"outputs": [
|
1036
|
-
"stateMutability": "nonpayable",
|
1037
|
-
"type": "function"
|
1038
|
-
},
|
1039
|
-
{
|
1040
|
-
"inputs": [
|
1041
|
-
{
|
1042
|
-
"internalType": "address",
|
1043
|
-
"name": "initialOwner",
|
1044
|
-
"type": "address"
|
1045
|
-
},
|
958
|
+
"name": "getWallet",
|
959
|
+
"outputs": [
|
1046
960
|
{
|
1047
961
|
"internalType": "address",
|
1048
|
-
"name": "
|
962
|
+
"name": "walletAddress",
|
1049
963
|
"type": "address"
|
1050
964
|
}
|
1051
965
|
],
|
1052
|
-
"
|
1053
|
-
"outputs": [],
|
1054
|
-
"stateMutability": "nonpayable",
|
966
|
+
"stateMutability": "view",
|
1055
967
|
"type": "function"
|
1056
968
|
},
|
1057
969
|
{
|
1058
970
|
"inputs": [
|
1059
|
-
{
|
1060
|
-
"internalType": "address",
|
1061
|
-
"name": "registryAddress",
|
1062
|
-
"type": "address"
|
1063
|
-
},
|
1064
971
|
{
|
1065
972
|
"internalType": "NftId",
|
1066
|
-
"name": "
|
973
|
+
"name": "targetNftId",
|
1067
974
|
"type": "uint96"
|
1068
975
|
},
|
1069
|
-
{
|
1070
|
-
"internalType": "ObjectType",
|
1071
|
-
"name": "objectType",
|
1072
|
-
"type": "uint8"
|
1073
|
-
},
|
1074
|
-
{
|
1075
|
-
"internalType": "bool",
|
1076
|
-
"name": "isInterceptor",
|
1077
|
-
"type": "bool"
|
1078
|
-
},
|
1079
976
|
{
|
1080
977
|
"internalType": "address",
|
1081
|
-
"name": "
|
978
|
+
"name": "token",
|
1082
979
|
"type": "address"
|
1083
980
|
},
|
1084
981
|
{
|
1085
|
-
"internalType": "
|
1086
|
-
"name": "
|
1087
|
-
"type": "
|
982
|
+
"internalType": "Amount",
|
983
|
+
"name": "amount",
|
984
|
+
"type": "uint96"
|
985
|
+
}
|
986
|
+
],
|
987
|
+
"name": "increaseTotalValueLocked",
|
988
|
+
"outputs": [
|
989
|
+
{
|
990
|
+
"internalType": "Amount",
|
991
|
+
"name": "newBalance",
|
992
|
+
"type": "uint96"
|
1088
993
|
}
|
1089
994
|
],
|
1090
|
-
"name": "initializeRegisterable",
|
1091
|
-
"outputs": [],
|
1092
995
|
"stateMutability": "nonpayable",
|
1093
996
|
"type": "function"
|
1094
997
|
},
|
@@ -1096,11 +999,16 @@
|
|
1096
999
|
"inputs": [
|
1097
1000
|
{
|
1098
1001
|
"internalType": "address",
|
1099
|
-
"name": "
|
1002
|
+
"name": "activatedBy",
|
1100
1003
|
"type": "address"
|
1004
|
+
},
|
1005
|
+
{
|
1006
|
+
"internalType": "bytes",
|
1007
|
+
"name": "activationData",
|
1008
|
+
"type": "bytes"
|
1101
1009
|
}
|
1102
1010
|
],
|
1103
|
-
"name": "
|
1011
|
+
"name": "initializeVersionable",
|
1104
1012
|
"outputs": [],
|
1105
1013
|
"stateMutability": "nonpayable",
|
1106
1014
|
"type": "function"
|
@@ -1118,25 +1026,6 @@
|
|
1118
1026
|
"stateMutability": "view",
|
1119
1027
|
"type": "function"
|
1120
1028
|
},
|
1121
|
-
{
|
1122
|
-
"inputs": [
|
1123
|
-
{
|
1124
|
-
"internalType": "address",
|
1125
|
-
"name": "candidate",
|
1126
|
-
"type": "address"
|
1127
|
-
}
|
1128
|
-
],
|
1129
|
-
"name": "isDistributor",
|
1130
|
-
"outputs": [
|
1131
|
-
{
|
1132
|
-
"internalType": "bool",
|
1133
|
-
"name": "",
|
1134
|
-
"type": "bool"
|
1135
|
-
}
|
1136
|
-
],
|
1137
|
-
"stateMutability": "view",
|
1138
|
-
"type": "function"
|
1139
|
-
},
|
1140
1029
|
{
|
1141
1030
|
"inputs": [],
|
1142
1031
|
"name": "isNftInterceptor",
|
@@ -1152,11 +1041,11 @@
|
|
1152
1041
|
},
|
1153
1042
|
{
|
1154
1043
|
"inputs": [],
|
1155
|
-
"name": "
|
1044
|
+
"name": "isRegistered",
|
1156
1045
|
"outputs": [
|
1157
1046
|
{
|
1158
1047
|
"internalType": "bool",
|
1159
|
-
"name": "
|
1048
|
+
"name": "",
|
1160
1049
|
"type": "bool"
|
1161
1050
|
}
|
1162
1051
|
],
|
@@ -1166,13 +1055,30 @@
|
|
1166
1055
|
{
|
1167
1056
|
"inputs": [],
|
1168
1057
|
"name": "linkToRegisteredNftId",
|
1169
|
-
"outputs": [
|
1058
|
+
"outputs": [
|
1059
|
+
{
|
1060
|
+
"internalType": "NftId",
|
1061
|
+
"name": "",
|
1062
|
+
"type": "uint96"
|
1063
|
+
}
|
1064
|
+
],
|
1170
1065
|
"stateMutability": "nonpayable",
|
1171
1066
|
"type": "function"
|
1172
1067
|
},
|
1173
1068
|
{
|
1174
|
-
"inputs": [
|
1175
|
-
|
1069
|
+
"inputs": [
|
1070
|
+
{
|
1071
|
+
"internalType": "address",
|
1072
|
+
"name": "to",
|
1073
|
+
"type": "address"
|
1074
|
+
},
|
1075
|
+
{
|
1076
|
+
"internalType": "uint256",
|
1077
|
+
"name": "tokenId",
|
1078
|
+
"type": "uint256"
|
1079
|
+
}
|
1080
|
+
],
|
1081
|
+
"name": "nftMint",
|
1176
1082
|
"outputs": [],
|
1177
1083
|
"stateMutability": "nonpayable",
|
1178
1084
|
"type": "function"
|
@@ -1203,35 +1109,56 @@
|
|
1203
1109
|
{
|
1204
1110
|
"inputs": [
|
1205
1111
|
{
|
1206
|
-
"internalType": "
|
1207
|
-
"name": "
|
1208
|
-
"type": "
|
1112
|
+
"internalType": "NftId",
|
1113
|
+
"name": "targetNftId",
|
1114
|
+
"type": "uint96"
|
1209
1115
|
},
|
1210
1116
|
{
|
1211
|
-
"internalType": "
|
1212
|
-
"name": "
|
1213
|
-
"type": "
|
1117
|
+
"internalType": "Amount",
|
1118
|
+
"name": "dipAmount",
|
1119
|
+
"type": "uint96"
|
1120
|
+
}
|
1121
|
+
],
|
1122
|
+
"name": "refillRewardReserves",
|
1123
|
+
"outputs": [
|
1124
|
+
{
|
1125
|
+
"internalType": "Amount",
|
1126
|
+
"name": "newBalance",
|
1127
|
+
"type": "uint96"
|
1214
1128
|
}
|
1215
1129
|
],
|
1216
|
-
"name": "processRenewal",
|
1217
|
-
"outputs": [],
|
1218
1130
|
"stateMutability": "nonpayable",
|
1219
1131
|
"type": "function"
|
1220
1132
|
},
|
1221
1133
|
{
|
1222
1134
|
"inputs": [
|
1223
1135
|
{
|
1224
|
-
"internalType": "
|
1225
|
-
"name": "
|
1226
|
-
"type": "
|
1136
|
+
"internalType": "NftId",
|
1137
|
+
"name": "targetNftId",
|
1138
|
+
"type": "uint96"
|
1139
|
+
},
|
1140
|
+
{
|
1141
|
+
"internalType": "ObjectType",
|
1142
|
+
"name": "expectedObjectType",
|
1143
|
+
"type": "uint8"
|
1227
1144
|
},
|
1228
1145
|
{
|
1229
1146
|
"internalType": "uint256",
|
1230
|
-
"name": "
|
1147
|
+
"name": "chainId",
|
1148
|
+
"type": "uint256"
|
1149
|
+
},
|
1150
|
+
{
|
1151
|
+
"internalType": "Seconds",
|
1152
|
+
"name": "initialLockingPeriod",
|
1153
|
+
"type": "uint40"
|
1154
|
+
},
|
1155
|
+
{
|
1156
|
+
"internalType": "UFixed",
|
1157
|
+
"name": "initialRewardRate",
|
1231
1158
|
"type": "uint256"
|
1232
1159
|
}
|
1233
1160
|
],
|
1234
|
-
"name": "
|
1161
|
+
"name": "registerTarget",
|
1235
1162
|
"outputs": [],
|
1236
1163
|
"stateMutability": "nonpayable",
|
1237
1164
|
"type": "function"
|
@@ -1239,31 +1166,36 @@
|
|
1239
1166
|
{
|
1240
1167
|
"inputs": [
|
1241
1168
|
{
|
1242
|
-
"internalType": "
|
1243
|
-
"name": "
|
1244
|
-
"type": "
|
1169
|
+
"internalType": "NftId",
|
1170
|
+
"name": "stakeNftId",
|
1171
|
+
"type": "uint96"
|
1172
|
+
},
|
1173
|
+
{
|
1174
|
+
"internalType": "NftId",
|
1175
|
+
"name": "newTargetNftId",
|
1176
|
+
"type": "uint96"
|
1245
1177
|
}
|
1246
1178
|
],
|
1247
|
-
"name": "
|
1179
|
+
"name": "restake",
|
1248
1180
|
"outputs": [
|
1249
1181
|
{
|
1250
|
-
"internalType": "
|
1251
|
-
"name": "
|
1252
|
-
"type": "
|
1182
|
+
"internalType": "NftId",
|
1183
|
+
"name": "newStakeNftId",
|
1184
|
+
"type": "uint96"
|
1253
1185
|
}
|
1254
1186
|
],
|
1255
|
-
"stateMutability": "
|
1187
|
+
"stateMutability": "nonpayable",
|
1256
1188
|
"type": "function"
|
1257
1189
|
},
|
1258
1190
|
{
|
1259
1191
|
"inputs": [
|
1260
1192
|
{
|
1261
|
-
"internalType": "
|
1262
|
-
"name": "
|
1263
|
-
"type": "
|
1193
|
+
"internalType": "address",
|
1194
|
+
"name": "",
|
1195
|
+
"type": "address"
|
1264
1196
|
}
|
1265
1197
|
],
|
1266
|
-
"name": "
|
1198
|
+
"name": "setAuthority",
|
1267
1199
|
"outputs": [],
|
1268
1200
|
"stateMutability": "nonpayable",
|
1269
1201
|
"type": "function"
|
@@ -1271,12 +1203,17 @@
|
|
1271
1203
|
{
|
1272
1204
|
"inputs": [
|
1273
1205
|
{
|
1274
|
-
"internalType": "
|
1275
|
-
"name": "
|
1276
|
-
"type": "
|
1206
|
+
"internalType": "NftId",
|
1207
|
+
"name": "targetNftId",
|
1208
|
+
"type": "uint96"
|
1209
|
+
},
|
1210
|
+
{
|
1211
|
+
"internalType": "Seconds",
|
1212
|
+
"name": "lockingPeriod",
|
1213
|
+
"type": "uint40"
|
1277
1214
|
}
|
1278
1215
|
],
|
1279
|
-
"name": "
|
1216
|
+
"name": "setLockingPeriod",
|
1280
1217
|
"outputs": [],
|
1281
1218
|
"stateMutability": "nonpayable",
|
1282
1219
|
"type": "function"
|
@@ -1284,24 +1221,17 @@
|
|
1284
1221
|
{
|
1285
1222
|
"inputs": [
|
1286
1223
|
{
|
1287
|
-
"
|
1288
|
-
|
1289
|
-
|
1290
|
-
|
1291
|
-
|
1292
|
-
|
1293
|
-
|
1294
|
-
|
1295
|
-
"name": "fixedFee",
|
1296
|
-
"type": "uint256"
|
1297
|
-
}
|
1298
|
-
],
|
1299
|
-
"internalType": "struct Fee",
|
1300
|
-
"name": "distributionFee",
|
1301
|
-
"type": "tuple"
|
1224
|
+
"internalType": "NftId",
|
1225
|
+
"name": "targetNftId",
|
1226
|
+
"type": "uint96"
|
1227
|
+
},
|
1228
|
+
{
|
1229
|
+
"internalType": "UFixed",
|
1230
|
+
"name": "rewardRate",
|
1231
|
+
"type": "uint256"
|
1302
1232
|
}
|
1303
1233
|
],
|
1304
|
-
"name": "
|
1234
|
+
"name": "setRewardRate",
|
1305
1235
|
"outputs": [],
|
1306
1236
|
"stateMutability": "nonpayable",
|
1307
1237
|
"type": "function"
|
@@ -1309,12 +1239,22 @@
|
|
1309
1239
|
{
|
1310
1240
|
"inputs": [
|
1311
1241
|
{
|
1312
|
-
"internalType": "
|
1313
|
-
"name": "
|
1314
|
-
"type": "
|
1242
|
+
"internalType": "uint256",
|
1243
|
+
"name": "chainId",
|
1244
|
+
"type": "uint256"
|
1245
|
+
},
|
1246
|
+
{
|
1247
|
+
"internalType": "address",
|
1248
|
+
"name": "token",
|
1249
|
+
"type": "address"
|
1250
|
+
},
|
1251
|
+
{
|
1252
|
+
"internalType": "UFixed",
|
1253
|
+
"name": "stakingRate",
|
1254
|
+
"type": "uint256"
|
1315
1255
|
}
|
1316
1256
|
],
|
1317
|
-
"name": "
|
1257
|
+
"name": "setStakingRate",
|
1318
1258
|
"outputs": [],
|
1319
1259
|
"stateMutability": "nonpayable",
|
1320
1260
|
"type": "function"
|
@@ -1323,7 +1263,7 @@
|
|
1323
1263
|
"inputs": [
|
1324
1264
|
{
|
1325
1265
|
"internalType": "address",
|
1326
|
-
"name": "
|
1266
|
+
"name": "walletAddress",
|
1327
1267
|
"type": "address"
|
1328
1268
|
}
|
1329
1269
|
],
|
@@ -1332,6 +1272,30 @@
|
|
1332
1272
|
"stateMutability": "nonpayable",
|
1333
1273
|
"type": "function"
|
1334
1274
|
},
|
1275
|
+
{
|
1276
|
+
"inputs": [
|
1277
|
+
{
|
1278
|
+
"internalType": "NftId",
|
1279
|
+
"name": "stakeNftId",
|
1280
|
+
"type": "uint96"
|
1281
|
+
},
|
1282
|
+
{
|
1283
|
+
"internalType": "Amount",
|
1284
|
+
"name": "dipAmount",
|
1285
|
+
"type": "uint96"
|
1286
|
+
}
|
1287
|
+
],
|
1288
|
+
"name": "stake",
|
1289
|
+
"outputs": [
|
1290
|
+
{
|
1291
|
+
"internalType": "Amount",
|
1292
|
+
"name": "stakeBalance",
|
1293
|
+
"type": "uint96"
|
1294
|
+
}
|
1295
|
+
],
|
1296
|
+
"stateMutability": "nonpayable",
|
1297
|
+
"type": "function"
|
1298
|
+
},
|
1335
1299
|
{
|
1336
1300
|
"inputs": [
|
1337
1301
|
{
|
@@ -1352,8 +1316,19 @@
|
|
1352
1316
|
"type": "function"
|
1353
1317
|
},
|
1354
1318
|
{
|
1355
|
-
"inputs": [
|
1356
|
-
|
1319
|
+
"inputs": [
|
1320
|
+
{
|
1321
|
+
"internalType": "address",
|
1322
|
+
"name": "to",
|
1323
|
+
"type": "address"
|
1324
|
+
},
|
1325
|
+
{
|
1326
|
+
"internalType": "Amount",
|
1327
|
+
"name": "dipAmount",
|
1328
|
+
"type": "uint96"
|
1329
|
+
}
|
1330
|
+
],
|
1331
|
+
"name": "transferDipAmount",
|
1357
1332
|
"outputs": [],
|
1358
1333
|
"stateMutability": "nonpayable",
|
1359
1334
|
"type": "function"
|
@@ -1362,24 +1337,98 @@
|
|
1362
1337
|
"inputs": [
|
1363
1338
|
{
|
1364
1339
|
"internalType": "NftId",
|
1365
|
-
"name": "
|
1340
|
+
"name": "stakeNftId",
|
1341
|
+
"type": "uint96"
|
1342
|
+
}
|
1343
|
+
],
|
1344
|
+
"name": "unstake",
|
1345
|
+
"outputs": [
|
1346
|
+
{
|
1347
|
+
"internalType": "Amount",
|
1348
|
+
"name": "unstakedAmount",
|
1349
|
+
"type": "uint96"
|
1350
|
+
},
|
1351
|
+
{
|
1352
|
+
"internalType": "Amount",
|
1353
|
+
"name": "rewardsClaimedAmount",
|
1354
|
+
"type": "uint96"
|
1355
|
+
}
|
1356
|
+
],
|
1357
|
+
"stateMutability": "nonpayable",
|
1358
|
+
"type": "function"
|
1359
|
+
},
|
1360
|
+
{
|
1361
|
+
"inputs": [
|
1362
|
+
{
|
1363
|
+
"internalType": "NftId",
|
1364
|
+
"name": "targetNftId",
|
1366
1365
|
"type": "uint96"
|
1367
1366
|
},
|
1368
1367
|
{
|
1369
|
-
"internalType": "
|
1370
|
-
"name": "
|
1371
|
-
"type": "
|
1368
|
+
"internalType": "address",
|
1369
|
+
"name": "token",
|
1370
|
+
"type": "address"
|
1372
1371
|
},
|
1372
|
+
{
|
1373
|
+
"internalType": "Amount",
|
1374
|
+
"name": "amount",
|
1375
|
+
"type": "uint96"
|
1376
|
+
}
|
1377
|
+
],
|
1378
|
+
"name": "updateRemoteTvl",
|
1379
|
+
"outputs": [],
|
1380
|
+
"stateMutability": "nonpayable",
|
1381
|
+
"type": "function"
|
1382
|
+
},
|
1383
|
+
{
|
1384
|
+
"inputs": [
|
1385
|
+
{
|
1386
|
+
"internalType": "NftId",
|
1387
|
+
"name": "stakeNftId",
|
1388
|
+
"type": "uint96"
|
1389
|
+
}
|
1390
|
+
],
|
1391
|
+
"name": "updateRewards",
|
1392
|
+
"outputs": [],
|
1393
|
+
"stateMutability": "nonpayable",
|
1394
|
+
"type": "function"
|
1395
|
+
},
|
1396
|
+
{
|
1397
|
+
"inputs": [
|
1373
1398
|
{
|
1374
1399
|
"internalType": "bytes",
|
1375
|
-
"name": "
|
1400
|
+
"name": "upgradeData",
|
1376
1401
|
"type": "bytes"
|
1377
1402
|
}
|
1378
1403
|
],
|
1379
|
-
"name": "
|
1404
|
+
"name": "upgradeVersionable",
|
1380
1405
|
"outputs": [],
|
1381
1406
|
"stateMutability": "nonpayable",
|
1382
1407
|
"type": "function"
|
1408
|
+
},
|
1409
|
+
{
|
1410
|
+
"inputs": [
|
1411
|
+
{
|
1412
|
+
"internalType": "NftId",
|
1413
|
+
"name": "targetNftId",
|
1414
|
+
"type": "uint96"
|
1415
|
+
},
|
1416
|
+
{
|
1417
|
+
"internalType": "Amount",
|
1418
|
+
"name": "dipAmount",
|
1419
|
+
"type": "uint96"
|
1420
|
+
}
|
1421
|
+
],
|
1422
|
+
"name": "withdrawRewardReserves",
|
1423
|
+
"outputs": [
|
1424
|
+
{
|
1425
|
+
"internalType": "Amount",
|
1426
|
+
"name": "newBalance",
|
1427
|
+
"type": "uint96"
|
1428
|
+
}
|
1429
|
+
],
|
1430
|
+
"stateMutability": "nonpayable",
|
1431
|
+
"type": "function"
|
1383
1432
|
}
|
1384
1433
|
],
|
1385
1434
|
"bytecode": "0x",
|