@etherisc/gif-next 0.0.2-fd4931b-974 → 0.0.2-fd4ee14-428
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +2 -1
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +19 -13
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +115 -80
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +81 -54
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +11 -5
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +20 -1
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +32 -101
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +83 -71
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +121 -12
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +105 -85
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +708 -0
- package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +126 -30
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +195 -64
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +206 -49
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +74 -31
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +248 -118
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
- package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +0 -53
- 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/ObjectManager.sol/ObjectManager.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +2 -71
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +8 -116
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
- 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 +1 -1
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +10 -0
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +759 -0
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +675 -0
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +1146 -0
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1034 -0
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +730 -0
- package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +91 -48
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +69 -38
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +20 -1
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +11 -5
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +35 -1
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/pool/Pool.sol/Pool.json +18 -12
- package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +84 -42
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +58 -35
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +79 -36
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +63 -32
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +119 -68
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +83 -48
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +20 -1
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +20 -1
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +20 -1
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +20 -1
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +11 -5
- package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/product/IProductService.sol/IProductService.json +20 -1
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +97 -46
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +72 -37
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +105 -62
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +76 -45
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/product/Product.sol/Product.json +18 -12
- package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/product/ProductService.sol/ProductService.json +61 -26
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +54 -27
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +82 -45
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +31 -1
- package/artifacts/contracts/registry/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/registry/IServiceAuthorization.sol/IServiceAuthorization.json +129 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +254 -97
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1901 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +69 -15
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +46 -30
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +288 -182
- package/artifacts/contracts/registry/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/registry/ServiceAuthorization.sol/ServiceAuthorization.json +171 -0
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +187 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +46 -177
- package/artifacts/contracts/shared/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
- package/artifacts/contracts/shared/AccessAdmin.sol/AccessAdmin.json +1559 -0
- package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.dbg.json +4 -0
- package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.json +1193 -0
- package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.dbg.json +4 -0
- package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.json +1747 -0
- package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.dbg.json +4 -0
- package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.json +1760 -0
- package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.dbg.json +4 -0
- package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.json +1838 -0
- package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.dbg.json +4 -0
- package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.json +1856 -0
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/shared/Component.sol/Component.json +18 -12
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +120 -70
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +80 -49
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +20 -1
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
- package/artifacts/contracts/shared/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
- package/artifacts/contracts/shared/IAccessAdmin.sol/IAccessAdmin.json +1189 -0
- package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.dbg.json +4 -0
- package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.json +1562 -0
- package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.dbg.json +4 -0
- package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.json +1600 -0
- package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/IComponent.sol/IComponent.json +11 -5
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +27 -1
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +11 -5
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +0 -10
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +7 -1
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +7 -1
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +20 -1
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
- 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/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +18 -12
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +10 -20
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +6 -6
- package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +1 -1
- package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.json +27 -35
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +13 -7
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +2 -2
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +35 -16
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +15 -9
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +20 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
- package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/IStaking.sol/IStaking.json +247 -579
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +471 -62
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +460 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
- package/artifacts/contracts/staking/Staking.sol/Staking.json +303 -798
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +81 -164
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +368 -39
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +503 -120
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +67 -43
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2261 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +281 -18
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +2 -2
- package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
- package/artifacts/contracts/type/Amount.sol/AmountLib.json +68 -4
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +40 -2
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +2 -2
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
- package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
- package/artifacts/contracts/type/Fee.sol/FeeLib.json +2 -2
- package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
- package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
- package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/NftId.sol/NftIdLib.json +28 -4
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +96 -2
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +2 -2
- package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
- package/artifacts/contracts/type/Referral.sol/ReferralLib.json +4 -4
- 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 +1 -1
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +2 -2
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +114 -4
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +52 -2
- 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 +1 -1
- package/artifacts/contracts/type/StateId.sol/StateIdLib.json +2 -2
- 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 +1 -1
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +17 -4
- package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +1 -1
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
- package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -2
- package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
- package/artifacts/contracts/type/Version.sol/VersionPartLib.json +2 -2
- package/contracts/distribution/Distribution.sol +2 -4
- package/contracts/distribution/DistributionService.sol +5 -6
- package/contracts/distribution/DistributionServiceManager.sol +0 -12
- package/contracts/distribution/IDistributionComponent.sol +1 -1
- package/contracts/distribution/IDistributionService.sol +1 -1
- package/contracts/instance/IInstance.sol +21 -11
- package/contracts/instance/IInstanceService.sol +26 -12
- package/contracts/instance/Instance.sol +84 -49
- package/contracts/instance/InstanceAdmin.sol +331 -0
- package/contracts/instance/InstanceAuthorizationsLib.sol +192 -151
- package/contracts/instance/InstanceReader.sol +32 -6
- package/contracts/instance/InstanceService.sol +119 -47
- package/contracts/instance/InstanceStore.sol +29 -20
- package/contracts/instance/base/BalanceStore.sol +11 -6
- package/contracts/instance/base/Cloneable.sol +2 -25
- package/contracts/instance/base/ObjectCounter.sol +21 -0
- package/contracts/instance/base/ObjectManager.sol +1 -3
- package/contracts/instance/module/IAccess.sol +2 -10
- package/contracts/oracle/IOracle.sol +20 -0
- package/contracts/oracle/IOracleComponent.sol +32 -0
- package/contracts/oracle/IOracleService.sol +65 -0
- package/contracts/oracle/Oracle.sol +145 -0
- package/contracts/oracle/OracleService.sol +278 -0
- package/contracts/oracle/OracleServiceManager.sol +42 -0
- package/contracts/pool/BundleService.sol +20 -20
- package/contracts/pool/IBundleService.sol +1 -1
- package/contracts/pool/IPoolService.sol +4 -1
- package/contracts/pool/PoolService.sol +38 -10
- package/contracts/product/ApplicationService.sol +6 -6
- package/contracts/product/ClaimService.sol +12 -7
- package/contracts/product/IApplicationService.sol +1 -1
- package/contracts/product/IClaimService.sol +7 -1
- package/contracts/product/IPolicyService.sol +1 -1
- package/contracts/product/IPricingService.sol +1 -1
- package/contracts/product/IProductService.sol +1 -1
- package/contracts/product/PolicyService.sol +9 -7
- package/contracts/product/PricingService.sol +8 -9
- package/contracts/product/Product.sol +1 -1
- package/contracts/product/ProductService.sol +6 -6
- package/contracts/registry/ChainNft.sol +1 -0
- package/contracts/registry/IRegistry.sol +20 -14
- package/contracts/registry/IRegistryService.sol +1 -0
- package/contracts/registry/IServiceAuthorization.sol +35 -0
- package/contracts/registry/Registry.sol +85 -66
- package/contracts/registry/RegistryAdmin.sol +333 -0
- package/contracts/registry/RegistryService.sol +8 -70
- package/contracts/registry/RegistryServiceManager.sol +1 -20
- package/contracts/registry/ReleaseManager.sol +218 -221
- package/contracts/registry/ServiceAuthorization.sol +86 -0
- package/contracts/registry/ServiceAuthorizationV3.sol +200 -0
- package/contracts/registry/TokenRegistry.sol +56 -60
- package/contracts/shared/AccessAdmin.sol +759 -0
- package/contracts/shared/AccessManagerCustom.sol +741 -0
- package/contracts/shared/AccessManagerExtended.sol +481 -0
- package/contracts/shared/AccessManagerExtendedInitializeable.sol +13 -0
- package/contracts/shared/AccessManagerExtendedWithDisable.sol +137 -0
- package/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol +14 -0
- package/contracts/shared/Component.sol +8 -13
- package/contracts/shared/ComponentService.sol +39 -17
- package/contracts/shared/ComponentVerifyingService.sol +13 -7
- package/contracts/shared/ERC165.sol +1 -1
- package/contracts/shared/IAccessAdmin.sol +168 -0
- package/contracts/shared/IAccessManagerExtended.sol +74 -0
- package/contracts/shared/IAccessManagerExtendedWithDisable.sol +18 -0
- package/contracts/shared/IComponent.sol +3 -7
- package/contracts/shared/IComponentService.sol +11 -0
- package/contracts/shared/IKeyValueStore.sol +1 -1
- package/contracts/shared/INftOwnable.sol +1 -1
- package/contracts/shared/IService.sol +8 -1
- package/contracts/shared/InitializableCustom.sol +177 -0
- package/contracts/shared/InstanceLinkedComponent.sol +1 -2
- package/contracts/shared/KeyValueStore.sol +1 -4
- package/contracts/shared/Lifecycle.sol +11 -2
- package/contracts/shared/NftIdSetManager.sol +2 -6
- package/contracts/shared/NftOwnable.sol +2 -13
- package/contracts/shared/PolicyHolder.sol +2 -1
- package/contracts/shared/ProxyManager.sol +6 -2
- package/contracts/shared/Service.sol +28 -22
- package/contracts/staking/IStaking.sol +93 -38
- package/contracts/staking/IStakingService.sol +71 -40
- package/contracts/staking/StakeManagerLib.sol +231 -0
- package/contracts/staking/Staking.sol +302 -137
- package/contracts/staking/StakingManager.sol +22 -20
- package/contracts/staking/StakingReader.sol +119 -24
- package/contracts/staking/StakingService.sol +193 -76
- package/contracts/staking/StakingServiceManager.sol +2 -2
- package/contracts/staking/StakingStore.sol +613 -0
- package/contracts/staking/TargetManagerLib.sol +76 -10
- package/contracts/type/AddressSet.sol +1 -1
- package/contracts/type/Amount.sol +15 -1
- package/contracts/type/Blocknumber.sol +14 -2
- package/contracts/type/Fee.sol +1 -1
- package/contracts/type/NftId.sol +9 -9
- package/contracts/type/NftIdSet.sol +1 -1
- package/contracts/type/ObjectType.sol +139 -67
- package/contracts/type/Referral.sol +1 -1
- package/contracts/type/RequestId.sol +75 -0
- package/contracts/type/RiskId.sol +1 -1
- package/contracts/type/RoleId.sol +79 -21
- package/contracts/type/Seconds.sol +18 -0
- package/contracts/type/Selector.sol +102 -0
- package/contracts/type/StateId.sol +12 -0
- package/contracts/type/String.sol +53 -0
- package/contracts/type/Timestamp.sol +6 -2
- package/contracts/type/Version.sol +1 -1
- package/package.json +3 -3
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1348
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -298
- package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.dbg.json +0 -4
- package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.json +0 -137
- package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
- package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
- package/contracts/instance/InstanceAccessManager.sol +0 -543
- package/contracts/registry/RegistryAccessManager.sol +0 -167
- package/contracts/registry/ServiceAuthorizationsLib.sol +0 -173
- package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +0 -13
@@ -103,76 +103,6 @@
|
|
103
103
|
"name": "ErrorComponentWalletNotComponent",
|
104
104
|
"type": "error"
|
105
105
|
},
|
106
|
-
{
|
107
|
-
"inputs": [
|
108
|
-
{
|
109
|
-
"internalType": "ObjectType",
|
110
|
-
"name": "objectType",
|
111
|
-
"type": "uint8"
|
112
|
-
},
|
113
|
-
{
|
114
|
-
"internalType": "StateId",
|
115
|
-
"name": "fromStateId",
|
116
|
-
"type": "uint8"
|
117
|
-
},
|
118
|
-
{
|
119
|
-
"internalType": "StateId",
|
120
|
-
"name": "toStateId",
|
121
|
-
"type": "uint8"
|
122
|
-
}
|
123
|
-
],
|
124
|
-
"name": "ErrorInvalidStateTransition",
|
125
|
-
"type": "error"
|
126
|
-
},
|
127
|
-
{
|
128
|
-
"inputs": [
|
129
|
-
{
|
130
|
-
"internalType": "Key32",
|
131
|
-
"name": "key",
|
132
|
-
"type": "bytes32"
|
133
|
-
},
|
134
|
-
{
|
135
|
-
"internalType": "ObjectType",
|
136
|
-
"name": "objectType",
|
137
|
-
"type": "uint8"
|
138
|
-
}
|
139
|
-
],
|
140
|
-
"name": "ErrorKeyValueStoreAlreadyCreated",
|
141
|
-
"type": "error"
|
142
|
-
},
|
143
|
-
{
|
144
|
-
"inputs": [
|
145
|
-
{
|
146
|
-
"internalType": "Key32",
|
147
|
-
"name": "key",
|
148
|
-
"type": "bytes32"
|
149
|
-
}
|
150
|
-
],
|
151
|
-
"name": "ErrorKeyValueStoreNotExisting",
|
152
|
-
"type": "error"
|
153
|
-
},
|
154
|
-
{
|
155
|
-
"inputs": [
|
156
|
-
{
|
157
|
-
"internalType": "Key32",
|
158
|
-
"name": "key",
|
159
|
-
"type": "bytes32"
|
160
|
-
}
|
161
|
-
],
|
162
|
-
"name": "ErrorKeyValueStoreStateZero",
|
163
|
-
"type": "error"
|
164
|
-
},
|
165
|
-
{
|
166
|
-
"inputs": [
|
167
|
-
{
|
168
|
-
"internalType": "ObjectType",
|
169
|
-
"name": "objectType",
|
170
|
-
"type": "uint8"
|
171
|
-
}
|
172
|
-
],
|
173
|
-
"name": "ErrorKeyValueStoreTypeUndefined",
|
174
|
-
"type": "error"
|
175
|
-
},
|
176
106
|
{
|
177
107
|
"inputs": [
|
178
108
|
{
|
@@ -214,28 +144,59 @@
|
|
214
144
|
{
|
215
145
|
"inputs": [
|
216
146
|
{
|
217
|
-
"internalType": "
|
218
|
-
"name": "
|
219
|
-
"type": "
|
147
|
+
"internalType": "address",
|
148
|
+
"name": "registryAddress",
|
149
|
+
"type": "address"
|
150
|
+
}
|
151
|
+
],
|
152
|
+
"name": "ErrorNotRegistry",
|
153
|
+
"type": "error"
|
154
|
+
},
|
155
|
+
{
|
156
|
+
"inputs": [
|
157
|
+
{
|
158
|
+
"internalType": "address",
|
159
|
+
"name": "owner",
|
160
|
+
"type": "address"
|
220
161
|
},
|
221
162
|
{
|
222
|
-
"internalType": "
|
223
|
-
"name": "
|
224
|
-
"type": "
|
163
|
+
"internalType": "address",
|
164
|
+
"name": "tokenHandler",
|
165
|
+
"type": "address"
|
166
|
+
},
|
167
|
+
{
|
168
|
+
"internalType": "uint256",
|
169
|
+
"name": "amount",
|
170
|
+
"type": "uint256"
|
171
|
+
},
|
172
|
+
{
|
173
|
+
"internalType": "uint256",
|
174
|
+
"name": "dipAllowance",
|
175
|
+
"type": "uint256"
|
225
176
|
}
|
226
177
|
],
|
227
|
-
"name": "
|
178
|
+
"name": "ErrorStakingDipAllowanceInsufficient",
|
228
179
|
"type": "error"
|
229
180
|
},
|
230
181
|
{
|
231
182
|
"inputs": [
|
232
183
|
{
|
233
184
|
"internalType": "address",
|
234
|
-
"name": "
|
185
|
+
"name": "owner",
|
235
186
|
"type": "address"
|
187
|
+
},
|
188
|
+
{
|
189
|
+
"internalType": "uint256",
|
190
|
+
"name": "amount",
|
191
|
+
"type": "uint256"
|
192
|
+
},
|
193
|
+
{
|
194
|
+
"internalType": "uint256",
|
195
|
+
"name": "dipBalance",
|
196
|
+
"type": "uint256"
|
236
197
|
}
|
237
198
|
],
|
238
|
-
"name": "
|
199
|
+
"name": "ErrorStakingDipBalanceInsufficient",
|
239
200
|
"type": "error"
|
240
201
|
},
|
241
202
|
{
|
@@ -281,6 +242,33 @@
|
|
281
242
|
"name": "ErrorStakingNotNftOwner",
|
282
243
|
"type": "error"
|
283
244
|
},
|
245
|
+
{
|
246
|
+
"inputs": [
|
247
|
+
{
|
248
|
+
"internalType": "NftId",
|
249
|
+
"name": "stakeNftId",
|
250
|
+
"type": "uint96"
|
251
|
+
}
|
252
|
+
],
|
253
|
+
"name": "ErrorStakingNotStake",
|
254
|
+
"type": "error"
|
255
|
+
},
|
256
|
+
{
|
257
|
+
"inputs": [],
|
258
|
+
"name": "ErrorStakingNotStakingOwner",
|
259
|
+
"type": "error"
|
260
|
+
},
|
261
|
+
{
|
262
|
+
"inputs": [
|
263
|
+
{
|
264
|
+
"internalType": "NftId",
|
265
|
+
"name": "targetNftId",
|
266
|
+
"type": "uint96"
|
267
|
+
}
|
268
|
+
],
|
269
|
+
"name": "ErrorStakingNotTarget",
|
270
|
+
"type": "error"
|
271
|
+
},
|
284
272
|
{
|
285
273
|
"inputs": [
|
286
274
|
{
|
@@ -302,6 +290,17 @@
|
|
302
290
|
"name": "ErrorStakingRewardRateTooHigh",
|
303
291
|
"type": "error"
|
304
292
|
},
|
293
|
+
{
|
294
|
+
"inputs": [
|
295
|
+
{
|
296
|
+
"internalType": "NftId",
|
297
|
+
"name": "targetNftId",
|
298
|
+
"type": "uint96"
|
299
|
+
}
|
300
|
+
],
|
301
|
+
"name": "ErrorStakingStakeAmountZero",
|
302
|
+
"type": "error"
|
303
|
+
},
|
305
304
|
{
|
306
305
|
"inputs": [
|
307
306
|
{
|
@@ -329,6 +328,17 @@
|
|
329
328
|
"name": "ErrorStakingTargetNftIdZero",
|
330
329
|
"type": "error"
|
331
330
|
},
|
331
|
+
{
|
332
|
+
"inputs": [
|
333
|
+
{
|
334
|
+
"internalType": "NftId",
|
335
|
+
"name": "targetNftId",
|
336
|
+
"type": "uint96"
|
337
|
+
}
|
338
|
+
],
|
339
|
+
"name": "ErrorStakingTargetNotActive",
|
340
|
+
"type": "error"
|
341
|
+
},
|
332
342
|
{
|
333
343
|
"inputs": [
|
334
344
|
{
|
@@ -398,6 +408,22 @@
|
|
398
408
|
"name": "ErrorStakingTargetUnexpectedObjectType",
|
399
409
|
"type": "error"
|
400
410
|
},
|
411
|
+
{
|
412
|
+
"inputs": [
|
413
|
+
{
|
414
|
+
"internalType": "uint256",
|
415
|
+
"name": "chainId",
|
416
|
+
"type": "uint256"
|
417
|
+
},
|
418
|
+
{
|
419
|
+
"internalType": "address",
|
420
|
+
"name": "token",
|
421
|
+
"type": "address"
|
422
|
+
}
|
423
|
+
],
|
424
|
+
"name": "ErrorStakingTokenNotRegistered",
|
425
|
+
"type": "error"
|
426
|
+
},
|
401
427
|
{
|
402
428
|
"anonymous": false,
|
403
429
|
"inputs": [
|
@@ -422,9 +448,9 @@
|
|
422
448
|
},
|
423
449
|
{
|
424
450
|
"indexed": false,
|
425
|
-
"internalType": "
|
451
|
+
"internalType": "Amount",
|
426
452
|
"name": "limit",
|
427
|
-
"type": "
|
453
|
+
"type": "uint96"
|
428
454
|
}
|
429
455
|
],
|
430
456
|
"name": "LogComponentTokenHandlerApproved",
|
@@ -474,86 +500,6 @@
|
|
474
500
|
"name": "LogComponentWalletTokensTransferred",
|
475
501
|
"type": "event"
|
476
502
|
},
|
477
|
-
{
|
478
|
-
"anonymous": false,
|
479
|
-
"inputs": [
|
480
|
-
{
|
481
|
-
"indexed": false,
|
482
|
-
"internalType": "ObjectType",
|
483
|
-
"name": "objectType",
|
484
|
-
"type": "uint8"
|
485
|
-
},
|
486
|
-
{
|
487
|
-
"indexed": false,
|
488
|
-
"internalType": "KeyId",
|
489
|
-
"name": "keyId",
|
490
|
-
"type": "bytes31"
|
491
|
-
},
|
492
|
-
{
|
493
|
-
"indexed": false,
|
494
|
-
"internalType": "StateId",
|
495
|
-
"name": "state",
|
496
|
-
"type": "uint8"
|
497
|
-
},
|
498
|
-
{
|
499
|
-
"indexed": false,
|
500
|
-
"internalType": "address",
|
501
|
-
"name": "createdBy",
|
502
|
-
"type": "address"
|
503
|
-
},
|
504
|
-
{
|
505
|
-
"indexed": false,
|
506
|
-
"internalType": "address",
|
507
|
-
"name": "txOrigin",
|
508
|
-
"type": "address"
|
509
|
-
}
|
510
|
-
],
|
511
|
-
"name": "LogInfoCreated",
|
512
|
-
"type": "event"
|
513
|
-
},
|
514
|
-
{
|
515
|
-
"anonymous": false,
|
516
|
-
"inputs": [
|
517
|
-
{
|
518
|
-
"indexed": false,
|
519
|
-
"internalType": "ObjectType",
|
520
|
-
"name": "objectType",
|
521
|
-
"type": "uint8"
|
522
|
-
},
|
523
|
-
{
|
524
|
-
"indexed": false,
|
525
|
-
"internalType": "KeyId",
|
526
|
-
"name": "keyId",
|
527
|
-
"type": "bytes31"
|
528
|
-
},
|
529
|
-
{
|
530
|
-
"indexed": false,
|
531
|
-
"internalType": "StateId",
|
532
|
-
"name": "state",
|
533
|
-
"type": "uint8"
|
534
|
-
},
|
535
|
-
{
|
536
|
-
"indexed": false,
|
537
|
-
"internalType": "address",
|
538
|
-
"name": "updatedBy",
|
539
|
-
"type": "address"
|
540
|
-
},
|
541
|
-
{
|
542
|
-
"indexed": false,
|
543
|
-
"internalType": "address",
|
544
|
-
"name": "txOrigin",
|
545
|
-
"type": "address"
|
546
|
-
},
|
547
|
-
{
|
548
|
-
"indexed": false,
|
549
|
-
"internalType": "Blocknumber",
|
550
|
-
"name": "lastUpdatedIn",
|
551
|
-
"type": "uint32"
|
552
|
-
}
|
553
|
-
],
|
554
|
-
"name": "LogInfoUpdated",
|
555
|
-
"type": "event"
|
556
|
-
},
|
557
503
|
{
|
558
504
|
"anonymous": false,
|
559
505
|
"inputs": [
|
@@ -566,7 +512,13 @@
|
|
566
512
|
{
|
567
513
|
"indexed": false,
|
568
514
|
"internalType": "Seconds",
|
569
|
-
"name": "
|
515
|
+
"name": "oldLockingPeriod",
|
516
|
+
"type": "uint40"
|
517
|
+
},
|
518
|
+
{
|
519
|
+
"indexed": false,
|
520
|
+
"internalType": "Seconds",
|
521
|
+
"name": "lockingPeriod",
|
570
522
|
"type": "uint40"
|
571
523
|
}
|
572
524
|
],
|
@@ -584,18 +536,18 @@
|
|
584
536
|
},
|
585
537
|
{
|
586
538
|
"indexed": false,
|
587
|
-
"internalType": "
|
588
|
-
"name": "
|
589
|
-
"type": "
|
539
|
+
"internalType": "UFixed",
|
540
|
+
"name": "oldRewardRate",
|
541
|
+
"type": "uint256"
|
590
542
|
},
|
591
543
|
{
|
592
544
|
"indexed": false,
|
593
|
-
"internalType": "
|
594
|
-
"name": "
|
545
|
+
"internalType": "UFixed",
|
546
|
+
"name": "rewardRate",
|
595
547
|
"type": "uint256"
|
596
548
|
}
|
597
549
|
],
|
598
|
-
"name": "
|
550
|
+
"name": "LogStakingRewardRateSet",
|
599
551
|
"type": "event"
|
600
552
|
},
|
601
553
|
{
|
@@ -603,56 +555,38 @@
|
|
603
555
|
"inputs": [
|
604
556
|
{
|
605
557
|
"indexed": false,
|
606
|
-
"internalType": "
|
607
|
-
"name": "
|
608
|
-
"type": "
|
609
|
-
},
|
610
|
-
{
|
611
|
-
"indexed": false,
|
612
|
-
"internalType": "KeyId",
|
613
|
-
"name": "keyId",
|
614
|
-
"type": "bytes31"
|
615
|
-
},
|
616
|
-
{
|
617
|
-
"indexed": false,
|
618
|
-
"internalType": "StateId",
|
619
|
-
"name": "stateOld",
|
620
|
-
"type": "uint8"
|
621
|
-
},
|
622
|
-
{
|
623
|
-
"indexed": false,
|
624
|
-
"internalType": "StateId",
|
625
|
-
"name": "stateNew",
|
626
|
-
"type": "uint8"
|
558
|
+
"internalType": "uint256",
|
559
|
+
"name": "chainId",
|
560
|
+
"type": "uint256"
|
627
561
|
},
|
628
562
|
{
|
629
563
|
"indexed": false,
|
630
564
|
"internalType": "address",
|
631
|
-
"name": "
|
565
|
+
"name": "token",
|
632
566
|
"type": "address"
|
633
567
|
},
|
634
568
|
{
|
635
569
|
"indexed": false,
|
636
|
-
"internalType": "
|
637
|
-
"name": "
|
638
|
-
"type": "
|
570
|
+
"internalType": "UFixed",
|
571
|
+
"name": "oldStakingRate",
|
572
|
+
"type": "uint256"
|
639
573
|
},
|
640
574
|
{
|
641
575
|
"indexed": false,
|
642
|
-
"internalType": "
|
643
|
-
"name": "
|
644
|
-
"type": "
|
576
|
+
"internalType": "UFixed",
|
577
|
+
"name": "newStakingRate",
|
578
|
+
"type": "uint256"
|
645
579
|
}
|
646
580
|
],
|
647
|
-
"name": "
|
581
|
+
"name": "LogStakingStakingRateSet",
|
648
582
|
"type": "event"
|
649
583
|
},
|
650
584
|
{
|
651
585
|
"inputs": [
|
652
586
|
{
|
653
|
-
"internalType": "
|
587
|
+
"internalType": "Amount",
|
654
588
|
"name": "spendingLimitAmount",
|
655
|
-
"type": "
|
589
|
+
"type": "uint96"
|
656
590
|
}
|
657
591
|
],
|
658
592
|
"name": "approveTokenHandler",
|
@@ -677,35 +611,35 @@
|
|
677
611
|
"inputs": [
|
678
612
|
{
|
679
613
|
"internalType": "NftId",
|
680
|
-
"name": "
|
614
|
+
"name": "stakeNftId",
|
681
615
|
"type": "uint96"
|
682
|
-
},
|
683
|
-
{
|
684
|
-
"internalType": "Timestamp",
|
685
|
-
"name": "rewardsLastUpdatedAt",
|
686
|
-
"type": "uint40"
|
687
616
|
}
|
688
617
|
],
|
689
|
-
"name": "
|
618
|
+
"name": "claimRewards",
|
690
619
|
"outputs": [
|
691
620
|
{
|
692
621
|
"internalType": "Amount",
|
693
|
-
"name": "
|
622
|
+
"name": "rewardsClaimedAmount",
|
694
623
|
"type": "uint96"
|
695
624
|
}
|
696
625
|
],
|
697
|
-
"stateMutability": "
|
626
|
+
"stateMutability": "nonpayable",
|
698
627
|
"type": "function"
|
699
628
|
},
|
700
629
|
{
|
701
630
|
"inputs": [
|
702
631
|
{
|
703
|
-
"internalType": "
|
704
|
-
"name": "
|
632
|
+
"internalType": "address",
|
633
|
+
"name": "from",
|
634
|
+
"type": "address"
|
635
|
+
},
|
636
|
+
{
|
637
|
+
"internalType": "Amount",
|
638
|
+
"name": "dipAmount",
|
705
639
|
"type": "uint96"
|
706
640
|
}
|
707
641
|
],
|
708
|
-
"name": "
|
642
|
+
"name": "collectDipAmount",
|
709
643
|
"outputs": [],
|
710
644
|
"stateMutability": "nonpayable",
|
711
645
|
"type": "function"
|
@@ -728,7 +662,7 @@
|
|
728
662
|
"type": "uint96"
|
729
663
|
}
|
730
664
|
],
|
731
|
-
"name": "
|
665
|
+
"name": "createStake",
|
732
666
|
"outputs": [],
|
733
667
|
"stateMutability": "nonpayable",
|
734
668
|
"type": "function"
|
@@ -751,86 +685,15 @@
|
|
751
685
|
"type": "uint96"
|
752
686
|
}
|
753
687
|
],
|
754
|
-
"name": "
|
755
|
-
"outputs": [],
|
756
|
-
"stateMutability": "nonpayable",
|
757
|
-
"type": "function"
|
758
|
-
},
|
759
|
-
{
|
760
|
-
"inputs": [
|
761
|
-
{
|
762
|
-
"internalType": "Key32",
|
763
|
-
"name": "key",
|
764
|
-
"type": "bytes32"
|
765
|
-
}
|
766
|
-
],
|
767
|
-
"name": "exists",
|
768
|
-
"outputs": [
|
769
|
-
{
|
770
|
-
"internalType": "bool",
|
771
|
-
"name": "",
|
772
|
-
"type": "bool"
|
773
|
-
}
|
774
|
-
],
|
775
|
-
"stateMutability": "view",
|
776
|
-
"type": "function"
|
777
|
-
},
|
778
|
-
{
|
779
|
-
"inputs": [
|
780
|
-
{
|
781
|
-
"internalType": "Key32",
|
782
|
-
"name": "key",
|
783
|
-
"type": "bytes32"
|
784
|
-
}
|
785
|
-
],
|
786
|
-
"name": "get",
|
688
|
+
"name": "decreaseTotalValueLocked",
|
787
689
|
"outputs": [
|
788
690
|
{
|
789
|
-
"
|
790
|
-
|
791
|
-
|
792
|
-
{
|
793
|
-
"internalType": "ObjectType",
|
794
|
-
"name": "objectType",
|
795
|
-
"type": "uint8"
|
796
|
-
},
|
797
|
-
{
|
798
|
-
"internalType": "StateId",
|
799
|
-
"name": "state",
|
800
|
-
"type": "uint8"
|
801
|
-
},
|
802
|
-
{
|
803
|
-
"internalType": "address",
|
804
|
-
"name": "updatedBy",
|
805
|
-
"type": "address"
|
806
|
-
},
|
807
|
-
{
|
808
|
-
"internalType": "Blocknumber",
|
809
|
-
"name": "updatedIn",
|
810
|
-
"type": "uint32"
|
811
|
-
},
|
812
|
-
{
|
813
|
-
"internalType": "Blocknumber",
|
814
|
-
"name": "createdIn",
|
815
|
-
"type": "uint32"
|
816
|
-
}
|
817
|
-
],
|
818
|
-
"internalType": "struct IKeyValueStore.Metadata",
|
819
|
-
"name": "metadata",
|
820
|
-
"type": "tuple"
|
821
|
-
},
|
822
|
-
{
|
823
|
-
"internalType": "bytes",
|
824
|
-
"name": "data",
|
825
|
-
"type": "bytes"
|
826
|
-
}
|
827
|
-
],
|
828
|
-
"internalType": "struct IKeyValueStore.Value",
|
829
|
-
"name": "value",
|
830
|
-
"type": "tuple"
|
691
|
+
"internalType": "Amount",
|
692
|
+
"name": "newBalance",
|
693
|
+
"type": "uint96"
|
831
694
|
}
|
832
695
|
],
|
833
|
-
"stateMutability": "
|
696
|
+
"stateMutability": "nonpayable",
|
834
697
|
"type": "function"
|
835
698
|
},
|
836
699
|
{
|
@@ -878,25 +741,6 @@
|
|
878
741
|
"stateMutability": "view",
|
879
742
|
"type": "function"
|
880
743
|
},
|
881
|
-
{
|
882
|
-
"inputs": [
|
883
|
-
{
|
884
|
-
"internalType": "Key32",
|
885
|
-
"name": "key",
|
886
|
-
"type": "bytes32"
|
887
|
-
}
|
888
|
-
],
|
889
|
-
"name": "getData",
|
890
|
-
"outputs": [
|
891
|
-
{
|
892
|
-
"internalType": "bytes",
|
893
|
-
"name": "data",
|
894
|
-
"type": "bytes"
|
895
|
-
}
|
896
|
-
],
|
897
|
-
"stateMutability": "view",
|
898
|
-
"type": "function"
|
899
|
-
},
|
900
744
|
{
|
901
745
|
"inputs": [],
|
902
746
|
"name": "getInitialComponentInfo",
|
@@ -943,114 +787,49 @@
|
|
943
787
|
"type": "function"
|
944
788
|
},
|
945
789
|
{
|
946
|
-
"inputs": [],
|
947
|
-
"name": "getInitialInfo",
|
948
|
-
"outputs": [
|
949
|
-
{
|
950
|
-
"components": [
|
951
|
-
{
|
952
|
-
"internalType": "NftId",
|
953
|
-
"name": "nftId",
|
954
|
-
"type": "uint96"
|
955
|
-
},
|
956
|
-
{
|
957
|
-
"internalType": "NftId",
|
958
|
-
"name": "parentNftId",
|
959
|
-
"type": "uint96"
|
960
|
-
},
|
961
|
-
{
|
962
|
-
"internalType": "ObjectType",
|
963
|
-
"name": "objectType",
|
964
|
-
"type": "uint8"
|
965
|
-
},
|
966
|
-
{
|
967
|
-
"internalType": "bool",
|
968
|
-
"name": "isInterceptor",
|
969
|
-
"type": "bool"
|
970
|
-
},
|
971
|
-
{
|
972
|
-
"internalType": "address",
|
973
|
-
"name": "objectAddress",
|
974
|
-
"type": "address"
|
975
|
-
},
|
976
|
-
{
|
977
|
-
"internalType": "address",
|
978
|
-
"name": "initialOwner",
|
979
|
-
"type": "address"
|
980
|
-
},
|
981
|
-
{
|
982
|
-
"internalType": "bytes",
|
983
|
-
"name": "data",
|
984
|
-
"type": "bytes"
|
985
|
-
}
|
986
|
-
],
|
987
|
-
"internalType": "struct IRegistry.ObjectInfo",
|
988
|
-
"name": "",
|
989
|
-
"type": "tuple"
|
990
|
-
}
|
991
|
-
],
|
992
|
-
"stateMutability": "view",
|
993
|
-
"type": "function"
|
994
|
-
},
|
995
|
-
{
|
996
|
-
"inputs": [
|
997
|
-
{
|
998
|
-
"internalType": "ObjectType",
|
999
|
-
"name": "objectType",
|
1000
|
-
"type": "uint8"
|
1001
|
-
}
|
1002
|
-
],
|
1003
|
-
"name": "getInitialState",
|
1004
|
-
"outputs": [
|
1005
|
-
{
|
1006
|
-
"internalType": "StateId",
|
1007
|
-
"name": "",
|
1008
|
-
"type": "uint8"
|
1009
|
-
}
|
1010
|
-
],
|
1011
|
-
"stateMutability": "view",
|
1012
|
-
"type": "function"
|
1013
|
-
},
|
1014
|
-
{
|
1015
|
-
"inputs": [
|
1016
|
-
{
|
1017
|
-
"internalType": "Key32",
|
1018
|
-
"name": "key",
|
1019
|
-
"type": "bytes32"
|
1020
|
-
}
|
1021
|
-
],
|
1022
|
-
"name": "getMetadata",
|
790
|
+
"inputs": [],
|
791
|
+
"name": "getInitialInfo",
|
1023
792
|
"outputs": [
|
1024
793
|
{
|
1025
794
|
"components": [
|
795
|
+
{
|
796
|
+
"internalType": "NftId",
|
797
|
+
"name": "nftId",
|
798
|
+
"type": "uint96"
|
799
|
+
},
|
800
|
+
{
|
801
|
+
"internalType": "NftId",
|
802
|
+
"name": "parentNftId",
|
803
|
+
"type": "uint96"
|
804
|
+
},
|
1026
805
|
{
|
1027
806
|
"internalType": "ObjectType",
|
1028
807
|
"name": "objectType",
|
1029
808
|
"type": "uint8"
|
1030
809
|
},
|
1031
810
|
{
|
1032
|
-
"internalType": "
|
1033
|
-
"name": "
|
1034
|
-
"type": "
|
811
|
+
"internalType": "bool",
|
812
|
+
"name": "isInterceptor",
|
813
|
+
"type": "bool"
|
1035
814
|
},
|
1036
815
|
{
|
1037
816
|
"internalType": "address",
|
1038
|
-
"name": "
|
817
|
+
"name": "objectAddress",
|
1039
818
|
"type": "address"
|
1040
819
|
},
|
1041
820
|
{
|
1042
|
-
"internalType": "
|
1043
|
-
"name": "
|
1044
|
-
"type": "
|
821
|
+
"internalType": "address",
|
822
|
+
"name": "initialOwner",
|
823
|
+
"type": "address"
|
1045
824
|
},
|
1046
825
|
{
|
1047
|
-
"internalType": "
|
1048
|
-
"name": "
|
1049
|
-
"type": "
|
826
|
+
"internalType": "bytes",
|
827
|
+
"name": "data",
|
828
|
+
"type": "bytes"
|
1050
829
|
}
|
1051
830
|
],
|
1052
|
-
"internalType": "struct
|
1053
|
-
"name": "
|
831
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
832
|
+
"name": "",
|
1054
833
|
"type": "tuple"
|
1055
834
|
}
|
1056
835
|
],
|
@@ -1109,49 +888,6 @@
|
|
1109
888
|
"stateMutability": "view",
|
1110
889
|
"type": "function"
|
1111
890
|
},
|
1112
|
-
{
|
1113
|
-
"inputs": [
|
1114
|
-
{
|
1115
|
-
"internalType": "NftId",
|
1116
|
-
"name": "targetNftId",
|
1117
|
-
"type": "uint96"
|
1118
|
-
}
|
1119
|
-
],
|
1120
|
-
"name": "getStakedAmount",
|
1121
|
-
"outputs": [
|
1122
|
-
{
|
1123
|
-
"internalType": "Amount",
|
1124
|
-
"name": "stakeAmount",
|
1125
|
-
"type": "uint96"
|
1126
|
-
}
|
1127
|
-
],
|
1128
|
-
"stateMutability": "view",
|
1129
|
-
"type": "function"
|
1130
|
-
},
|
1131
|
-
{
|
1132
|
-
"inputs": [
|
1133
|
-
{
|
1134
|
-
"internalType": "uint256",
|
1135
|
-
"name": "chainId",
|
1136
|
-
"type": "uint256"
|
1137
|
-
},
|
1138
|
-
{
|
1139
|
-
"internalType": "address",
|
1140
|
-
"name": "token",
|
1141
|
-
"type": "address"
|
1142
|
-
}
|
1143
|
-
],
|
1144
|
-
"name": "getStakingRate",
|
1145
|
-
"outputs": [
|
1146
|
-
{
|
1147
|
-
"internalType": "UFixed",
|
1148
|
-
"name": "stakingRate",
|
1149
|
-
"type": "uint256"
|
1150
|
-
}
|
1151
|
-
],
|
1152
|
-
"stateMutability": "view",
|
1153
|
-
"type": "function"
|
1154
|
-
},
|
1155
891
|
{
|
1156
892
|
"inputs": [],
|
1157
893
|
"name": "getStakingReader",
|
@@ -1165,32 +901,13 @@
|
|
1165
901
|
"stateMutability": "view",
|
1166
902
|
"type": "function"
|
1167
903
|
},
|
1168
|
-
{
|
1169
|
-
"inputs": [
|
1170
|
-
{
|
1171
|
-
"internalType": "Key32",
|
1172
|
-
"name": "key",
|
1173
|
-
"type": "bytes32"
|
1174
|
-
}
|
1175
|
-
],
|
1176
|
-
"name": "getState",
|
1177
|
-
"outputs": [
|
1178
|
-
{
|
1179
|
-
"internalType": "StateId",
|
1180
|
-
"name": "state",
|
1181
|
-
"type": "uint8"
|
1182
|
-
}
|
1183
|
-
],
|
1184
|
-
"stateMutability": "view",
|
1185
|
-
"type": "function"
|
1186
|
-
},
|
1187
904
|
{
|
1188
905
|
"inputs": [],
|
1189
|
-
"name": "
|
906
|
+
"name": "getStakingStore",
|
1190
907
|
"outputs": [
|
1191
908
|
{
|
1192
|
-
"internalType": "contract
|
1193
|
-
"name": "
|
909
|
+
"internalType": "contract StakingStore",
|
910
|
+
"name": "stakingStore",
|
1194
911
|
"type": "address"
|
1195
912
|
}
|
1196
913
|
],
|
@@ -1223,30 +940,6 @@
|
|
1223
940
|
"stateMutability": "view",
|
1224
941
|
"type": "function"
|
1225
942
|
},
|
1226
|
-
{
|
1227
|
-
"inputs": [
|
1228
|
-
{
|
1229
|
-
"internalType": "NftId",
|
1230
|
-
"name": "targetNftId",
|
1231
|
-
"type": "uint96"
|
1232
|
-
},
|
1233
|
-
{
|
1234
|
-
"internalType": "address",
|
1235
|
-
"name": "token",
|
1236
|
-
"type": "address"
|
1237
|
-
}
|
1238
|
-
],
|
1239
|
-
"name": "getTvlAmount",
|
1240
|
-
"outputs": [
|
1241
|
-
{
|
1242
|
-
"internalType": "Amount",
|
1243
|
-
"name": "tvlAmount",
|
1244
|
-
"type": "uint96"
|
1245
|
-
}
|
1246
|
-
],
|
1247
|
-
"stateMutability": "view",
|
1248
|
-
"type": "function"
|
1249
|
-
},
|
1250
943
|
{
|
1251
944
|
"inputs": [],
|
1252
945
|
"name": "getVersion",
|
@@ -1273,25 +966,6 @@
|
|
1273
966
|
"stateMutability": "view",
|
1274
967
|
"type": "function"
|
1275
968
|
},
|
1276
|
-
{
|
1277
|
-
"inputs": [
|
1278
|
-
{
|
1279
|
-
"internalType": "ObjectType",
|
1280
|
-
"name": "objectType",
|
1281
|
-
"type": "uint8"
|
1282
|
-
}
|
1283
|
-
],
|
1284
|
-
"name": "hasLifecycle",
|
1285
|
-
"outputs": [
|
1286
|
-
{
|
1287
|
-
"internalType": "bool",
|
1288
|
-
"name": "",
|
1289
|
-
"type": "bool"
|
1290
|
-
}
|
1291
|
-
],
|
1292
|
-
"stateMutability": "view",
|
1293
|
-
"type": "function"
|
1294
|
-
},
|
1295
969
|
{
|
1296
970
|
"inputs": [
|
1297
971
|
{
|
@@ -1310,8 +984,14 @@
|
|
1310
984
|
"type": "uint96"
|
1311
985
|
}
|
1312
986
|
],
|
1313
|
-
"name": "
|
1314
|
-
"outputs": [
|
987
|
+
"name": "increaseTotalValueLocked",
|
988
|
+
"outputs": [
|
989
|
+
{
|
990
|
+
"internalType": "Amount",
|
991
|
+
"name": "newBalance",
|
992
|
+
"type": "uint96"
|
993
|
+
}
|
994
|
+
],
|
1315
995
|
"stateMutability": "nonpayable",
|
1316
996
|
"type": "function"
|
1317
997
|
},
|
@@ -1373,38 +1053,15 @@
|
|
1373
1053
|
"type": "function"
|
1374
1054
|
},
|
1375
1055
|
{
|
1376
|
-
"inputs": [
|
1377
|
-
|
1378
|
-
"internalType": "ObjectType",
|
1379
|
-
"name": "objectType",
|
1380
|
-
"type": "uint8"
|
1381
|
-
},
|
1382
|
-
{
|
1383
|
-
"internalType": "StateId",
|
1384
|
-
"name": "fromId",
|
1385
|
-
"type": "uint8"
|
1386
|
-
},
|
1387
|
-
{
|
1388
|
-
"internalType": "StateId",
|
1389
|
-
"name": "toId",
|
1390
|
-
"type": "uint8"
|
1391
|
-
}
|
1392
|
-
],
|
1393
|
-
"name": "isValidTransition",
|
1056
|
+
"inputs": [],
|
1057
|
+
"name": "linkToRegisteredNftId",
|
1394
1058
|
"outputs": [
|
1395
1059
|
{
|
1396
|
-
"internalType": "
|
1060
|
+
"internalType": "NftId",
|
1397
1061
|
"name": "",
|
1398
|
-
"type": "
|
1062
|
+
"type": "uint96"
|
1399
1063
|
}
|
1400
1064
|
],
|
1401
|
-
"stateMutability": "view",
|
1402
|
-
"type": "function"
|
1403
|
-
},
|
1404
|
-
{
|
1405
|
-
"inputs": [],
|
1406
|
-
"name": "linkToRegisteredNftId",
|
1407
|
-
"outputs": [],
|
1408
1065
|
"stateMutability": "nonpayable",
|
1409
1066
|
"type": "function"
|
1410
1067
|
},
|
@@ -1463,7 +1120,13 @@
|
|
1463
1120
|
}
|
1464
1121
|
],
|
1465
1122
|
"name": "refillRewardReserves",
|
1466
|
-
"outputs": [
|
1123
|
+
"outputs": [
|
1124
|
+
{
|
1125
|
+
"internalType": "Amount",
|
1126
|
+
"name": "newBalance",
|
1127
|
+
"type": "uint96"
|
1128
|
+
}
|
1129
|
+
],
|
1467
1130
|
"stateMutability": "nonpayable",
|
1468
1131
|
"type": "function"
|
1469
1132
|
},
|
@@ -1506,28 +1169,21 @@
|
|
1506
1169
|
"internalType": "NftId",
|
1507
1170
|
"name": "stakeNftId",
|
1508
1171
|
"type": "uint96"
|
1509
|
-
}
|
1510
|
-
],
|
1511
|
-
"name": "restakeRewards",
|
1512
|
-
"outputs": [],
|
1513
|
-
"stateMutability": "nonpayable",
|
1514
|
-
"type": "function"
|
1515
|
-
},
|
1516
|
-
{
|
1517
|
-
"inputs": [
|
1172
|
+
},
|
1518
1173
|
{
|
1519
1174
|
"internalType": "NftId",
|
1520
|
-
"name": "
|
1175
|
+
"name": "newTargetNftId",
|
1521
1176
|
"type": "uint96"
|
1522
|
-
}
|
1177
|
+
}
|
1178
|
+
],
|
1179
|
+
"name": "restake",
|
1180
|
+
"outputs": [
|
1523
1181
|
{
|
1524
1182
|
"internalType": "NftId",
|
1525
|
-
"name": "
|
1183
|
+
"name": "newStakeNftId",
|
1526
1184
|
"type": "uint96"
|
1527
1185
|
}
|
1528
1186
|
],
|
1529
|
-
"name": "restakeToNewTarget",
|
1530
|
-
"outputs": [],
|
1531
1187
|
"stateMutability": "nonpayable",
|
1532
1188
|
"type": "function"
|
1533
1189
|
},
|
@@ -1630,7 +1286,13 @@
|
|
1630
1286
|
}
|
1631
1287
|
],
|
1632
1288
|
"name": "stake",
|
1633
|
-
"outputs": [
|
1289
|
+
"outputs": [
|
1290
|
+
{
|
1291
|
+
"internalType": "Amount",
|
1292
|
+
"name": "stakeBalance",
|
1293
|
+
"type": "uint96"
|
1294
|
+
}
|
1295
|
+
],
|
1634
1296
|
"stateMutability": "nonpayable",
|
1635
1297
|
"type": "function"
|
1636
1298
|
},
|
@@ -1656,33 +1318,9 @@
|
|
1656
1318
|
{
|
1657
1319
|
"inputs": [
|
1658
1320
|
{
|
1659
|
-
"internalType": "
|
1660
|
-
"name": "
|
1661
|
-
"type": "
|
1662
|
-
},
|
1663
|
-
{
|
1664
|
-
"internalType": "KeyId",
|
1665
|
-
"name": "id",
|
1666
|
-
"type": "bytes31"
|
1667
|
-
}
|
1668
|
-
],
|
1669
|
-
"name": "toKey32",
|
1670
|
-
"outputs": [
|
1671
|
-
{
|
1672
|
-
"internalType": "Key32",
|
1673
|
-
"name": "",
|
1674
|
-
"type": "bytes32"
|
1675
|
-
}
|
1676
|
-
],
|
1677
|
-
"stateMutability": "pure",
|
1678
|
-
"type": "function"
|
1679
|
-
},
|
1680
|
-
{
|
1681
|
-
"inputs": [
|
1682
|
-
{
|
1683
|
-
"internalType": "NftId",
|
1684
|
-
"name": "stakeNftId",
|
1685
|
-
"type": "uint96"
|
1321
|
+
"internalType": "address",
|
1322
|
+
"name": "to",
|
1323
|
+
"type": "address"
|
1686
1324
|
},
|
1687
1325
|
{
|
1688
1326
|
"internalType": "Amount",
|
@@ -1690,7 +1328,7 @@
|
|
1690
1328
|
"type": "uint96"
|
1691
1329
|
}
|
1692
1330
|
],
|
1693
|
-
"name": "
|
1331
|
+
"name": "transferDipAmount",
|
1694
1332
|
"outputs": [],
|
1695
1333
|
"stateMutability": "nonpayable",
|
1696
1334
|
"type": "function"
|
@@ -1704,7 +1342,18 @@
|
|
1704
1342
|
}
|
1705
1343
|
],
|
1706
1344
|
"name": "unstake",
|
1707
|
-
"outputs": [
|
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
|
+
],
|
1708
1357
|
"stateMutability": "nonpayable",
|
1709
1358
|
"type": "function"
|
1710
1359
|
},
|
@@ -1731,6 +1380,19 @@
|
|
1731
1380
|
"stateMutability": "nonpayable",
|
1732
1381
|
"type": "function"
|
1733
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
|
+
},
|
1734
1396
|
{
|
1735
1397
|
"inputs": [
|
1736
1398
|
{
|
@@ -1758,7 +1420,13 @@
|
|
1758
1420
|
}
|
1759
1421
|
],
|
1760
1422
|
"name": "withdrawRewardReserves",
|
1761
|
-
"outputs": [
|
1423
|
+
"outputs": [
|
1424
|
+
{
|
1425
|
+
"internalType": "Amount",
|
1426
|
+
"name": "newBalance",
|
1427
|
+
"type": "uint96"
|
1428
|
+
}
|
1429
|
+
],
|
1762
1430
|
"stateMutability": "nonpayable",
|
1763
1431
|
"type": "function"
|
1764
1432
|
}
|