@etherisc/gif-next 0.0.2-e769e2e-077 → 0.0.2-e802d97-713
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 +79 -73
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +114 -56
- 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 +7 -1
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +2 -2
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +25 -6
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +12 -22
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +47 -20
- 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 +77 -63
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +104 -34
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +246 -104
- 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/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 -2
- 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 +4 -0
- package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
- 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 +662 -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 +997 -0
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +718 -0
- package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +55 -41
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +102 -40
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +7 -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 +22 -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 +56 -35
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +95 -37
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +39 -25
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +96 -34
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +81 -67
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +115 -53
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +7 -1
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +7 -1
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +7 -1
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +7 -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 +7 -1
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +59 -45
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +104 -42
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +69 -55
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +109 -47
- 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 +25 -19
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +87 -29
- 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 +150 -53
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +187 -67
- 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 +328 -103
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +407 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +197 -72
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +87 -39
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +752 -148
- package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.dbg.json +1 -1
- package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.json +2 -2
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +185 -135
- 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 +1715 -0
- package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.dbg.json +4 -0
- package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.json +1728 -0
- package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.dbg.json +4 -0
- package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.json +1806 -0
- package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.dbg.json +4 -0
- package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.json +1824 -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 +92 -63
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +102 -46
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +7 -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/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 +14 -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/IPolicyHolder.sol/IPolicyHolder.json +21 -3
- 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 +7 -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 +4 -0
- package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.json +306 -0
- 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 +31 -13
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +64 -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 +7 -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 +424 -593
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +497 -49
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +444 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
- package/artifacts/contracts/staking/Staking.sol/Staking.json +598 -627
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +149 -48
- 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 +1 -1
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +593 -74
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +119 -29
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2189 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +571 -0
- 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 +15 -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 +2 -2
- 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 +2 -2
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +76 -2
- 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/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 +3 -2
- package/contracts/distribution/DistributionServiceManager.sol +9 -18
- package/contracts/distribution/IDistributionComponent.sol +1 -1
- package/contracts/distribution/IDistributionService.sol +1 -1
- package/contracts/instance/IInstance.sol +11 -6
- package/contracts/instance/IInstanceService.sol +3 -5
- package/contracts/instance/Instance.sol +29 -21
- package/contracts/instance/InstanceAdmin.sol +331 -0
- package/contracts/instance/InstanceAuthorizationsLib.sol +192 -151
- package/contracts/instance/InstanceReader.sol +30 -6
- package/contracts/instance/InstanceService.sol +69 -55
- package/contracts/instance/InstanceServiceManager.sol +10 -20
- package/contracts/instance/InstanceStore.sol +64 -42
- package/contracts/instance/base/BalanceStore.sol +1 -1
- package/contracts/instance/base/ObjectCounter.sol +21 -0
- package/contracts/instance/module/IAccess.sol +2 -10
- package/contracts/mock/Dip.sol +26 -0
- 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 +277 -0
- package/contracts/oracle/OracleServiceManager.sol +42 -0
- package/contracts/pool/BundleService.sol +6 -23
- package/contracts/pool/BundleServiceManager.sol +9 -18
- package/contracts/pool/IBundleService.sol +1 -1
- package/contracts/pool/IPoolService.sol +4 -1
- package/contracts/pool/PoolService.sol +45 -13
- package/contracts/pool/PoolServiceManager.sol +9 -18
- package/contracts/product/ApplicationService.sol +6 -5
- package/contracts/product/ApplicationServiceManager.sol +9 -6
- package/contracts/product/ClaimService.sol +13 -7
- package/contracts/product/ClaimServiceManager.sol +9 -6
- 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 +10 -6
- package/contracts/product/PolicyServiceManager.sol +9 -21
- package/contracts/product/PricingService.sol +10 -9
- package/contracts/product/PricingServiceManager.sol +9 -18
- package/contracts/product/Product.sol +1 -1
- package/contracts/product/ProductService.sol +7 -5
- package/contracts/product/ProductServiceManager.sol +9 -21
- package/contracts/registry/ChainNft.sol +1 -0
- package/contracts/registry/IRegistry.sol +37 -24
- package/contracts/registry/IRegistryService.sol +26 -36
- package/contracts/registry/Registry.sol +164 -117
- package/contracts/registry/RegistryAdmin.sol +237 -0
- package/contracts/registry/RegistryService.sol +22 -83
- package/contracts/registry/RegistryServiceManager.sol +21 -23
- package/contracts/registry/ReleaseManager.sol +448 -223
- package/contracts/registry/TokenRegistry.sol +187 -59
- package/contracts/shared/AccessManagerCustom.sol +736 -0
- package/contracts/shared/AccessManagerExtended.sol +470 -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 +35 -13
- package/contracts/shared/ComponentVerifyingService.sol +13 -7
- package/contracts/shared/ERC165.sol +1 -1
- 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/IPolicyHolder.sol +6 -1
- package/contracts/shared/IService.sol +1 -1
- package/contracts/shared/InitializableCustom.sol +177 -0
- package/contracts/shared/InstanceLinkedComponent.sol +1 -2
- package/contracts/shared/KeyValueStore.sol +24 -66
- package/contracts/shared/Lifecycle.sol +11 -2
- package/contracts/shared/NftIdSetManager.sol +65 -0
- package/contracts/shared/NftOwnable.sol +2 -13
- package/contracts/shared/PolicyHolder.sol +21 -13
- package/contracts/shared/ProxyManager.sol +31 -1
- package/contracts/shared/Service.sol +1 -1
- package/contracts/staking/IStaking.sol +127 -36
- package/contracts/staking/IStakingService.sol +83 -39
- package/contracts/staking/StakeManagerLib.sol +179 -0
- package/contracts/staking/Staking.sol +432 -93
- package/contracts/staking/StakingManager.sol +22 -14
- package/contracts/staking/StakingReader.sol +187 -0
- package/contracts/staking/StakingService.sol +245 -39
- package/contracts/staking/StakingServiceManager.sol +8 -4
- package/contracts/staking/StakingStore.sol +572 -0
- package/contracts/staking/TargetManagerLib.sol +207 -0
- 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 -4
- package/contracts/type/NftIdSet.sol +1 -1
- package/contracts/type/ObjectType.sol +12 -9
- 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 +16 -8
- package/contracts/type/Seconds.sol +27 -0
- package/contracts/type/StateId.sol +27 -2
- 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 -308
- 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 -213
- package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +0 -13
@@ -106,116 +106,276 @@
|
|
106
106
|
{
|
107
107
|
"inputs": [
|
108
108
|
{
|
109
|
-
"internalType": "
|
110
|
-
"name": "
|
111
|
-
"type": "
|
109
|
+
"internalType": "NftId",
|
110
|
+
"name": "nftId",
|
111
|
+
"type": "uint96"
|
112
|
+
}
|
113
|
+
],
|
114
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
115
|
+
"type": "error"
|
116
|
+
},
|
117
|
+
{
|
118
|
+
"inputs": [
|
119
|
+
{
|
120
|
+
"internalType": "address",
|
121
|
+
"name": "contractAddress",
|
122
|
+
"type": "address"
|
123
|
+
}
|
124
|
+
],
|
125
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
126
|
+
"type": "error"
|
127
|
+
},
|
128
|
+
{
|
129
|
+
"inputs": [],
|
130
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
131
|
+
"type": "error"
|
132
|
+
},
|
133
|
+
{
|
134
|
+
"inputs": [
|
135
|
+
{
|
136
|
+
"internalType": "address",
|
137
|
+
"name": "account",
|
138
|
+
"type": "address"
|
139
|
+
}
|
140
|
+
],
|
141
|
+
"name": "ErrorNftOwnableNotOwner",
|
142
|
+
"type": "error"
|
143
|
+
},
|
144
|
+
{
|
145
|
+
"inputs": [
|
146
|
+
{
|
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"
|
112
161
|
},
|
113
162
|
{
|
114
|
-
"internalType": "
|
115
|
-
"name": "
|
116
|
-
"type": "
|
163
|
+
"internalType": "address",
|
164
|
+
"name": "tokenHandler",
|
165
|
+
"type": "address"
|
117
166
|
},
|
118
167
|
{
|
119
|
-
"internalType": "
|
120
|
-
"name": "
|
121
|
-
"type": "
|
168
|
+
"internalType": "uint256",
|
169
|
+
"name": "amount",
|
170
|
+
"type": "uint256"
|
171
|
+
},
|
172
|
+
{
|
173
|
+
"internalType": "uint256",
|
174
|
+
"name": "dipAllowance",
|
175
|
+
"type": "uint256"
|
122
176
|
}
|
123
177
|
],
|
124
|
-
"name": "
|
178
|
+
"name": "ErrorStakingDipAllowanceInsufficient",
|
125
179
|
"type": "error"
|
126
180
|
},
|
127
181
|
{
|
128
182
|
"inputs": [
|
129
183
|
{
|
130
|
-
"internalType": "
|
131
|
-
"name": "
|
132
|
-
"type": "
|
184
|
+
"internalType": "address",
|
185
|
+
"name": "owner",
|
186
|
+
"type": "address"
|
133
187
|
},
|
134
188
|
{
|
135
|
-
"internalType": "
|
136
|
-
"name": "
|
137
|
-
"type": "
|
189
|
+
"internalType": "uint256",
|
190
|
+
"name": "amount",
|
191
|
+
"type": "uint256"
|
192
|
+
},
|
193
|
+
{
|
194
|
+
"internalType": "uint256",
|
195
|
+
"name": "dipBalance",
|
196
|
+
"type": "uint256"
|
138
197
|
}
|
139
198
|
],
|
140
|
-
"name": "
|
199
|
+
"name": "ErrorStakingDipBalanceInsufficient",
|
141
200
|
"type": "error"
|
142
201
|
},
|
143
202
|
{
|
144
203
|
"inputs": [
|
145
204
|
{
|
146
|
-
"internalType": "
|
147
|
-
"name": "
|
148
|
-
"type": "
|
205
|
+
"internalType": "NftId",
|
206
|
+
"name": "targetNftId",
|
207
|
+
"type": "uint96"
|
208
|
+
},
|
209
|
+
{
|
210
|
+
"internalType": "Seconds",
|
211
|
+
"name": "maxLockingPeriod",
|
212
|
+
"type": "uint40"
|
213
|
+
},
|
214
|
+
{
|
215
|
+
"internalType": "Seconds",
|
216
|
+
"name": "lockingPeriod",
|
217
|
+
"type": "uint40"
|
149
218
|
}
|
150
219
|
],
|
151
|
-
"name": "
|
220
|
+
"name": "ErrorStakingLockingPeriodTooLong",
|
152
221
|
"type": "error"
|
153
222
|
},
|
154
223
|
{
|
155
224
|
"inputs": [
|
156
225
|
{
|
157
|
-
"internalType": "
|
158
|
-
"name": "
|
159
|
-
"type": "
|
226
|
+
"internalType": "NftId",
|
227
|
+
"name": "targetNftId",
|
228
|
+
"type": "uint96"
|
160
229
|
}
|
161
230
|
],
|
162
|
-
"name": "
|
231
|
+
"name": "ErrorStakingLockingPeriodZero",
|
163
232
|
"type": "error"
|
164
233
|
},
|
165
234
|
{
|
166
235
|
"inputs": [
|
167
236
|
{
|
168
|
-
"internalType": "
|
169
|
-
"name": "
|
170
|
-
"type": "
|
237
|
+
"internalType": "NftId",
|
238
|
+
"name": "nftId",
|
239
|
+
"type": "uint96"
|
171
240
|
}
|
172
241
|
],
|
173
|
-
"name": "
|
242
|
+
"name": "ErrorStakingNotNftOwner",
|
174
243
|
"type": "error"
|
175
244
|
},
|
176
245
|
{
|
177
246
|
"inputs": [
|
178
247
|
{
|
179
248
|
"internalType": "NftId",
|
180
|
-
"name": "
|
249
|
+
"name": "stakeNftId",
|
181
250
|
"type": "uint96"
|
182
251
|
}
|
183
252
|
],
|
184
|
-
"name": "
|
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
|
+
},
|
272
|
+
{
|
273
|
+
"inputs": [
|
274
|
+
{
|
275
|
+
"internalType": "NftId",
|
276
|
+
"name": "targetNftId",
|
277
|
+
"type": "uint96"
|
278
|
+
},
|
279
|
+
{
|
280
|
+
"internalType": "UFixed",
|
281
|
+
"name": "maxRewardRate",
|
282
|
+
"type": "uint256"
|
283
|
+
},
|
284
|
+
{
|
285
|
+
"internalType": "UFixed",
|
286
|
+
"name": "rewardRate",
|
287
|
+
"type": "uint256"
|
288
|
+
}
|
289
|
+
],
|
290
|
+
"name": "ErrorStakingRewardRateTooHigh",
|
291
|
+
"type": "error"
|
292
|
+
},
|
293
|
+
{
|
294
|
+
"inputs": [
|
295
|
+
{
|
296
|
+
"internalType": "NftId",
|
297
|
+
"name": "targetNftId",
|
298
|
+
"type": "uint96"
|
299
|
+
}
|
300
|
+
],
|
301
|
+
"name": "ErrorStakingStakeAmountZero",
|
185
302
|
"type": "error"
|
186
303
|
},
|
187
304
|
{
|
188
305
|
"inputs": [
|
189
306
|
{
|
190
307
|
"internalType": "address",
|
191
|
-
"name": "
|
308
|
+
"name": "stakingByStakingReader",
|
192
309
|
"type": "address"
|
193
310
|
}
|
194
311
|
],
|
195
|
-
"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",
|
196
324
|
"type": "error"
|
197
325
|
},
|
198
326
|
{
|
199
327
|
"inputs": [],
|
200
|
-
"name": "
|
328
|
+
"name": "ErrorStakingTargetNftIdZero",
|
329
|
+
"type": "error"
|
330
|
+
},
|
331
|
+
{
|
332
|
+
"inputs": [
|
333
|
+
{
|
334
|
+
"internalType": "NftId",
|
335
|
+
"name": "targetNftId",
|
336
|
+
"type": "uint96"
|
337
|
+
}
|
338
|
+
],
|
339
|
+
"name": "ErrorStakingTargetNotActive",
|
340
|
+
"type": "error"
|
341
|
+
},
|
342
|
+
{
|
343
|
+
"inputs": [
|
344
|
+
{
|
345
|
+
"internalType": "NftId",
|
346
|
+
"name": "targetNftId",
|
347
|
+
"type": "uint96"
|
348
|
+
}
|
349
|
+
],
|
350
|
+
"name": "ErrorStakingTargetNotFound",
|
201
351
|
"type": "error"
|
202
352
|
},
|
203
353
|
{
|
204
354
|
"inputs": [
|
355
|
+
{
|
356
|
+
"internalType": "NftId",
|
357
|
+
"name": "targetNftId",
|
358
|
+
"type": "uint96"
|
359
|
+
},
|
360
|
+
{
|
361
|
+
"internalType": "uint256",
|
362
|
+
"name": "chainId",
|
363
|
+
"type": "uint256"
|
364
|
+
},
|
205
365
|
{
|
206
366
|
"internalType": "address",
|
207
|
-
"name": "
|
367
|
+
"name": "token",
|
208
368
|
"type": "address"
|
209
369
|
}
|
210
370
|
],
|
211
|
-
"name": "
|
371
|
+
"name": "ErrorStakingTargetTokenNotFound",
|
212
372
|
"type": "error"
|
213
373
|
},
|
214
374
|
{
|
215
375
|
"inputs": [
|
216
376
|
{
|
217
377
|
"internalType": "NftId",
|
218
|
-
"name": "
|
378
|
+
"name": "targetNftId",
|
219
379
|
"type": "uint96"
|
220
380
|
},
|
221
381
|
{
|
@@ -224,18 +384,44 @@
|
|
224
384
|
"type": "uint8"
|
225
385
|
}
|
226
386
|
],
|
227
|
-
"name": "
|
387
|
+
"name": "ErrorStakingTargetTypeNotSupported",
|
228
388
|
"type": "error"
|
229
389
|
},
|
230
390
|
{
|
231
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",
|
409
|
+
"type": "error"
|
410
|
+
},
|
411
|
+
{
|
412
|
+
"inputs": [
|
413
|
+
{
|
414
|
+
"internalType": "uint256",
|
415
|
+
"name": "chainId",
|
416
|
+
"type": "uint256"
|
417
|
+
},
|
232
418
|
{
|
233
419
|
"internalType": "address",
|
234
|
-
"name": "
|
420
|
+
"name": "token",
|
235
421
|
"type": "address"
|
236
422
|
}
|
237
423
|
],
|
238
|
-
"name": "
|
424
|
+
"name": "ErrorStakingTokenNotRegistered",
|
239
425
|
"type": "error"
|
240
426
|
},
|
241
427
|
{
|
@@ -262,9 +448,9 @@
|
|
262
448
|
},
|
263
449
|
{
|
264
450
|
"indexed": false,
|
265
|
-
"internalType": "
|
451
|
+
"internalType": "Amount",
|
266
452
|
"name": "limit",
|
267
|
-
"type": "
|
453
|
+
"type": "uint96"
|
268
454
|
}
|
269
455
|
],
|
270
456
|
"name": "LogComponentTokenHandlerApproved",
|
@@ -319,79 +505,24 @@
|
|
319
505
|
"inputs": [
|
320
506
|
{
|
321
507
|
"indexed": false,
|
322
|
-
"internalType": "
|
323
|
-
"name": "
|
324
|
-
"type": "
|
325
|
-
},
|
326
|
-
{
|
327
|
-
"indexed": false,
|
328
|
-
"internalType": "KeyId",
|
329
|
-
"name": "keyId",
|
330
|
-
"type": "bytes31"
|
331
|
-
},
|
332
|
-
{
|
333
|
-
"indexed": false,
|
334
|
-
"internalType": "StateId",
|
335
|
-
"name": "state",
|
336
|
-
"type": "uint8"
|
337
|
-
},
|
338
|
-
{
|
339
|
-
"indexed": false,
|
340
|
-
"internalType": "address",
|
341
|
-
"name": "createdBy",
|
342
|
-
"type": "address"
|
343
|
-
},
|
344
|
-
{
|
345
|
-
"indexed": false,
|
346
|
-
"internalType": "address",
|
347
|
-
"name": "txOrigin",
|
348
|
-
"type": "address"
|
349
|
-
}
|
350
|
-
],
|
351
|
-
"name": "LogInfoCreated",
|
352
|
-
"type": "event"
|
353
|
-
},
|
354
|
-
{
|
355
|
-
"anonymous": false,
|
356
|
-
"inputs": [
|
357
|
-
{
|
358
|
-
"indexed": false,
|
359
|
-
"internalType": "ObjectType",
|
360
|
-
"name": "objectType",
|
361
|
-
"type": "uint8"
|
362
|
-
},
|
363
|
-
{
|
364
|
-
"indexed": false,
|
365
|
-
"internalType": "KeyId",
|
366
|
-
"name": "keyId",
|
367
|
-
"type": "bytes31"
|
368
|
-
},
|
369
|
-
{
|
370
|
-
"indexed": false,
|
371
|
-
"internalType": "StateId",
|
372
|
-
"name": "state",
|
373
|
-
"type": "uint8"
|
374
|
-
},
|
375
|
-
{
|
376
|
-
"indexed": false,
|
377
|
-
"internalType": "address",
|
378
|
-
"name": "updatedBy",
|
379
|
-
"type": "address"
|
508
|
+
"internalType": "NftId",
|
509
|
+
"name": "targetNftId",
|
510
|
+
"type": "uint96"
|
380
511
|
},
|
381
512
|
{
|
382
513
|
"indexed": false,
|
383
|
-
"internalType": "
|
384
|
-
"name": "
|
385
|
-
"type": "
|
514
|
+
"internalType": "Seconds",
|
515
|
+
"name": "oldLockingPeriod",
|
516
|
+
"type": "uint40"
|
386
517
|
},
|
387
518
|
{
|
388
519
|
"indexed": false,
|
389
|
-
"internalType": "
|
390
|
-
"name": "
|
391
|
-
"type": "
|
520
|
+
"internalType": "Seconds",
|
521
|
+
"name": "lockingPeriod",
|
522
|
+
"type": "uint40"
|
392
523
|
}
|
393
524
|
],
|
394
|
-
"name": "
|
525
|
+
"name": "LogStakingLockingPeriodSet",
|
395
526
|
"type": "event"
|
396
527
|
},
|
397
528
|
{
|
@@ -399,56 +530,63 @@
|
|
399
530
|
"inputs": [
|
400
531
|
{
|
401
532
|
"indexed": false,
|
402
|
-
"internalType": "
|
403
|
-
"name": "
|
404
|
-
"type": "
|
533
|
+
"internalType": "NftId",
|
534
|
+
"name": "targetNftId",
|
535
|
+
"type": "uint96"
|
405
536
|
},
|
406
537
|
{
|
407
538
|
"indexed": false,
|
408
|
-
"internalType": "
|
409
|
-
"name": "
|
410
|
-
"type": "
|
539
|
+
"internalType": "UFixed",
|
540
|
+
"name": "oldRewardRate",
|
541
|
+
"type": "uint256"
|
411
542
|
},
|
412
543
|
{
|
413
544
|
"indexed": false,
|
414
|
-
"internalType": "
|
415
|
-
"name": "
|
416
|
-
"type": "
|
417
|
-
}
|
545
|
+
"internalType": "UFixed",
|
546
|
+
"name": "rewardRate",
|
547
|
+
"type": "uint256"
|
548
|
+
}
|
549
|
+
],
|
550
|
+
"name": "LogStakingRewardRateSet",
|
551
|
+
"type": "event"
|
552
|
+
},
|
553
|
+
{
|
554
|
+
"anonymous": false,
|
555
|
+
"inputs": [
|
418
556
|
{
|
419
557
|
"indexed": false,
|
420
|
-
"internalType": "
|
421
|
-
"name": "
|
422
|
-
"type": "
|
558
|
+
"internalType": "uint256",
|
559
|
+
"name": "chainId",
|
560
|
+
"type": "uint256"
|
423
561
|
},
|
424
562
|
{
|
425
563
|
"indexed": false,
|
426
564
|
"internalType": "address",
|
427
|
-
"name": "
|
565
|
+
"name": "token",
|
428
566
|
"type": "address"
|
429
567
|
},
|
430
568
|
{
|
431
569
|
"indexed": false,
|
432
|
-
"internalType": "
|
433
|
-
"name": "
|
434
|
-
"type": "
|
570
|
+
"internalType": "UFixed",
|
571
|
+
"name": "oldStakingRate",
|
572
|
+
"type": "uint256"
|
435
573
|
},
|
436
574
|
{
|
437
575
|
"indexed": false,
|
438
|
-
"internalType": "
|
439
|
-
"name": "
|
440
|
-
"type": "
|
576
|
+
"internalType": "UFixed",
|
577
|
+
"name": "newStakingRate",
|
578
|
+
"type": "uint256"
|
441
579
|
}
|
442
580
|
],
|
443
|
-
"name": "
|
581
|
+
"name": "LogStakingStakingRateSet",
|
444
582
|
"type": "event"
|
445
583
|
},
|
446
584
|
{
|
447
585
|
"inputs": [
|
448
586
|
{
|
449
|
-
"internalType": "
|
587
|
+
"internalType": "Amount",
|
450
588
|
"name": "spendingLimitAmount",
|
451
|
-
"type": "
|
589
|
+
"type": "uint96"
|
452
590
|
}
|
453
591
|
],
|
454
592
|
"name": "approveTokenHandler",
|
@@ -473,41 +611,46 @@
|
|
473
611
|
"inputs": [
|
474
612
|
{
|
475
613
|
"internalType": "NftId",
|
476
|
-
"name": "
|
614
|
+
"name": "stakeNftId",
|
477
615
|
"type": "uint96"
|
478
|
-
},
|
479
|
-
{
|
480
|
-
"internalType": "Timestamp",
|
481
|
-
"name": "rewardsLastUpdatedAt",
|
482
|
-
"type": "uint40"
|
483
616
|
}
|
484
617
|
],
|
485
|
-
"name": "
|
618
|
+
"name": "claimRewards",
|
486
619
|
"outputs": [
|
487
620
|
{
|
488
621
|
"internalType": "Amount",
|
489
|
-
"name": "
|
622
|
+
"name": "rewardsClaimedAmount",
|
490
623
|
"type": "uint96"
|
491
624
|
}
|
492
625
|
],
|
493
|
-
"stateMutability": "
|
626
|
+
"stateMutability": "nonpayable",
|
494
627
|
"type": "function"
|
495
628
|
},
|
496
629
|
{
|
497
630
|
"inputs": [
|
498
631
|
{
|
499
|
-
"internalType": "
|
500
|
-
"name": "
|
632
|
+
"internalType": "address",
|
633
|
+
"name": "from",
|
634
|
+
"type": "address"
|
635
|
+
},
|
636
|
+
{
|
637
|
+
"internalType": "Amount",
|
638
|
+
"name": "dipAmount",
|
501
639
|
"type": "uint96"
|
502
640
|
}
|
503
641
|
],
|
504
|
-
"name": "
|
642
|
+
"name": "collectDipAmount",
|
505
643
|
"outputs": [],
|
506
644
|
"stateMutability": "nonpayable",
|
507
645
|
"type": "function"
|
508
646
|
},
|
509
647
|
{
|
510
648
|
"inputs": [
|
649
|
+
{
|
650
|
+
"internalType": "NftId",
|
651
|
+
"name": "stakeNftId",
|
652
|
+
"type": "uint96"
|
653
|
+
},
|
511
654
|
{
|
512
655
|
"internalType": "NftId",
|
513
656
|
"name": "targetNftId",
|
@@ -520,13 +663,7 @@
|
|
520
663
|
}
|
521
664
|
],
|
522
665
|
"name": "createStake",
|
523
|
-
"outputs": [
|
524
|
-
{
|
525
|
-
"internalType": "NftId",
|
526
|
-
"name": "stakeNftId",
|
527
|
-
"type": "uint96"
|
528
|
-
}
|
529
|
-
],
|
666
|
+
"outputs": [],
|
530
667
|
"stateMutability": "nonpayable",
|
531
668
|
"type": "function"
|
532
669
|
},
|
@@ -548,86 +685,15 @@
|
|
548
685
|
"type": "uint96"
|
549
686
|
}
|
550
687
|
],
|
551
|
-
"name": "
|
552
|
-
"outputs": [],
|
553
|
-
"stateMutability": "nonpayable",
|
554
|
-
"type": "function"
|
555
|
-
},
|
556
|
-
{
|
557
|
-
"inputs": [
|
558
|
-
{
|
559
|
-
"internalType": "Key32",
|
560
|
-
"name": "key",
|
561
|
-
"type": "bytes32"
|
562
|
-
}
|
563
|
-
],
|
564
|
-
"name": "exists",
|
565
|
-
"outputs": [
|
566
|
-
{
|
567
|
-
"internalType": "bool",
|
568
|
-
"name": "",
|
569
|
-
"type": "bool"
|
570
|
-
}
|
571
|
-
],
|
572
|
-
"stateMutability": "view",
|
573
|
-
"type": "function"
|
574
|
-
},
|
575
|
-
{
|
576
|
-
"inputs": [
|
577
|
-
{
|
578
|
-
"internalType": "Key32",
|
579
|
-
"name": "key",
|
580
|
-
"type": "bytes32"
|
581
|
-
}
|
582
|
-
],
|
583
|
-
"name": "get",
|
688
|
+
"name": "decreaseTotalValueLocked",
|
584
689
|
"outputs": [
|
585
690
|
{
|
586
|
-
"
|
587
|
-
|
588
|
-
|
589
|
-
{
|
590
|
-
"internalType": "ObjectType",
|
591
|
-
"name": "objectType",
|
592
|
-
"type": "uint8"
|
593
|
-
},
|
594
|
-
{
|
595
|
-
"internalType": "StateId",
|
596
|
-
"name": "state",
|
597
|
-
"type": "uint8"
|
598
|
-
},
|
599
|
-
{
|
600
|
-
"internalType": "address",
|
601
|
-
"name": "updatedBy",
|
602
|
-
"type": "address"
|
603
|
-
},
|
604
|
-
{
|
605
|
-
"internalType": "Blocknumber",
|
606
|
-
"name": "updatedIn",
|
607
|
-
"type": "uint32"
|
608
|
-
},
|
609
|
-
{
|
610
|
-
"internalType": "Blocknumber",
|
611
|
-
"name": "createdIn",
|
612
|
-
"type": "uint32"
|
613
|
-
}
|
614
|
-
],
|
615
|
-
"internalType": "struct IKeyValueStore.Metadata",
|
616
|
-
"name": "metadata",
|
617
|
-
"type": "tuple"
|
618
|
-
},
|
619
|
-
{
|
620
|
-
"internalType": "bytes",
|
621
|
-
"name": "data",
|
622
|
-
"type": "bytes"
|
623
|
-
}
|
624
|
-
],
|
625
|
-
"internalType": "struct IKeyValueStore.Value",
|
626
|
-
"name": "value",
|
627
|
-
"type": "tuple"
|
691
|
+
"internalType": "Amount",
|
692
|
+
"name": "newBalance",
|
693
|
+
"type": "uint96"
|
628
694
|
}
|
629
695
|
],
|
630
|
-
"stateMutability": "
|
696
|
+
"stateMutability": "nonpayable",
|
631
697
|
"type": "function"
|
632
698
|
},
|
633
699
|
{
|
@@ -675,25 +741,6 @@
|
|
675
741
|
"stateMutability": "view",
|
676
742
|
"type": "function"
|
677
743
|
},
|
678
|
-
{
|
679
|
-
"inputs": [
|
680
|
-
{
|
681
|
-
"internalType": "Key32",
|
682
|
-
"name": "key",
|
683
|
-
"type": "bytes32"
|
684
|
-
}
|
685
|
-
],
|
686
|
-
"name": "getData",
|
687
|
-
"outputs": [
|
688
|
-
{
|
689
|
-
"internalType": "bytes",
|
690
|
-
"name": "data",
|
691
|
-
"type": "bytes"
|
692
|
-
}
|
693
|
-
],
|
694
|
-
"stateMutability": "view",
|
695
|
-
"type": "function"
|
696
|
-
},
|
697
744
|
{
|
698
745
|
"inputs": [],
|
699
746
|
"name": "getInitialComponentInfo",
|
@@ -789,71 +836,6 @@
|
|
789
836
|
"stateMutability": "view",
|
790
837
|
"type": "function"
|
791
838
|
},
|
792
|
-
{
|
793
|
-
"inputs": [
|
794
|
-
{
|
795
|
-
"internalType": "ObjectType",
|
796
|
-
"name": "objectType",
|
797
|
-
"type": "uint8"
|
798
|
-
}
|
799
|
-
],
|
800
|
-
"name": "getInitialState",
|
801
|
-
"outputs": [
|
802
|
-
{
|
803
|
-
"internalType": "StateId",
|
804
|
-
"name": "",
|
805
|
-
"type": "uint8"
|
806
|
-
}
|
807
|
-
],
|
808
|
-
"stateMutability": "view",
|
809
|
-
"type": "function"
|
810
|
-
},
|
811
|
-
{
|
812
|
-
"inputs": [
|
813
|
-
{
|
814
|
-
"internalType": "Key32",
|
815
|
-
"name": "key",
|
816
|
-
"type": "bytes32"
|
817
|
-
}
|
818
|
-
],
|
819
|
-
"name": "getMetadata",
|
820
|
-
"outputs": [
|
821
|
-
{
|
822
|
-
"components": [
|
823
|
-
{
|
824
|
-
"internalType": "ObjectType",
|
825
|
-
"name": "objectType",
|
826
|
-
"type": "uint8"
|
827
|
-
},
|
828
|
-
{
|
829
|
-
"internalType": "StateId",
|
830
|
-
"name": "state",
|
831
|
-
"type": "uint8"
|
832
|
-
},
|
833
|
-
{
|
834
|
-
"internalType": "address",
|
835
|
-
"name": "updatedBy",
|
836
|
-
"type": "address"
|
837
|
-
},
|
838
|
-
{
|
839
|
-
"internalType": "Blocknumber",
|
840
|
-
"name": "updatedIn",
|
841
|
-
"type": "uint32"
|
842
|
-
},
|
843
|
-
{
|
844
|
-
"internalType": "Blocknumber",
|
845
|
-
"name": "createdIn",
|
846
|
-
"type": "uint32"
|
847
|
-
}
|
848
|
-
],
|
849
|
-
"internalType": "struct IKeyValueStore.Metadata",
|
850
|
-
"name": "metadata",
|
851
|
-
"type": "tuple"
|
852
|
-
}
|
853
|
-
],
|
854
|
-
"stateMutability": "view",
|
855
|
-
"type": "function"
|
856
|
-
},
|
857
839
|
{
|
858
840
|
"inputs": [],
|
859
841
|
"name": "getName",
|
@@ -864,112 +846,16 @@
|
|
864
846
|
"type": "string"
|
865
847
|
}
|
866
848
|
],
|
867
|
-
"stateMutability": "view",
|
868
|
-
"type": "function"
|
869
|
-
},
|
870
|
-
{
|
871
|
-
"inputs": [],
|
872
|
-
"name": "getNftId",
|
873
|
-
"outputs": [
|
874
|
-
{
|
875
|
-
"internalType": "NftId",
|
876
|
-
"name": "",
|
877
|
-
"type": "uint96"
|
878
|
-
}
|
879
|
-
],
|
880
|
-
"stateMutability": "view",
|
881
|
-
"type": "function"
|
882
|
-
},
|
883
|
-
{
|
884
|
-
"inputs": [],
|
885
|
-
"name": "getOwner",
|
886
|
-
"outputs": [
|
887
|
-
{
|
888
|
-
"internalType": "address",
|
889
|
-
"name": "",
|
890
|
-
"type": "address"
|
891
|
-
}
|
892
|
-
],
|
893
|
-
"stateMutability": "view",
|
894
|
-
"type": "function"
|
895
|
-
},
|
896
|
-
{
|
897
|
-
"inputs": [],
|
898
|
-
"name": "getRegistry",
|
899
|
-
"outputs": [
|
900
|
-
{
|
901
|
-
"internalType": "contract IRegistry",
|
902
|
-
"name": "",
|
903
|
-
"type": "address"
|
904
|
-
}
|
905
|
-
],
|
906
|
-
"stateMutability": "view",
|
907
|
-
"type": "function"
|
908
|
-
},
|
909
|
-
{
|
910
|
-
"inputs": [
|
911
|
-
{
|
912
|
-
"internalType": "NftId",
|
913
|
-
"name": "targetNftId",
|
914
|
-
"type": "uint96"
|
915
|
-
}
|
916
|
-
],
|
917
|
-
"name": "getRewardRate",
|
918
|
-
"outputs": [
|
919
|
-
{
|
920
|
-
"internalType": "UFixed",
|
921
|
-
"name": "rewardRate",
|
922
|
-
"type": "uint256"
|
923
|
-
}
|
924
|
-
],
|
925
|
-
"stateMutability": "view",
|
926
|
-
"type": "function"
|
927
|
-
},
|
928
|
-
{
|
929
|
-
"inputs": [
|
930
|
-
{
|
931
|
-
"internalType": "NftId",
|
932
|
-
"name": "targetNftId",
|
933
|
-
"type": "uint96"
|
934
|
-
}
|
935
|
-
],
|
936
|
-
"name": "getRewardReserves",
|
937
|
-
"outputs": [
|
938
|
-
{
|
939
|
-
"internalType": "Amount",
|
940
|
-
"name": "rewardReserveAmount",
|
941
|
-
"type": "uint96"
|
942
|
-
}
|
943
|
-
],
|
944
|
-
"stateMutability": "view",
|
945
|
-
"type": "function"
|
946
|
-
},
|
947
|
-
{
|
948
|
-
"inputs": [],
|
949
|
-
"name": "getStakeInfo",
|
950
|
-
"outputs": [
|
951
|
-
{
|
952
|
-
"internalType": "NftId",
|
953
|
-
"name": "stakeNftId",
|
954
|
-
"type": "uint96"
|
955
|
-
}
|
956
|
-
],
|
957
|
-
"stateMutability": "view",
|
958
|
-
"type": "function"
|
959
|
-
},
|
960
|
-
{
|
961
|
-
"inputs": [
|
962
|
-
{
|
963
|
-
"internalType": "NftId",
|
964
|
-
"name": "targetNftId",
|
965
|
-
"type": "uint96"
|
966
|
-
}
|
967
|
-
],
|
968
|
-
"name": "getStakedAmount",
|
849
|
+
"stateMutability": "view",
|
850
|
+
"type": "function"
|
851
|
+
},
|
852
|
+
{
|
853
|
+
"inputs": [],
|
854
|
+
"name": "getNftId",
|
969
855
|
"outputs": [
|
970
856
|
{
|
971
|
-
"internalType": "
|
972
|
-
"name": "
|
857
|
+
"internalType": "NftId",
|
858
|
+
"name": "",
|
973
859
|
"type": "uint96"
|
974
860
|
}
|
975
861
|
],
|
@@ -977,43 +863,39 @@
|
|
977
863
|
"type": "function"
|
978
864
|
},
|
979
865
|
{
|
980
|
-
"inputs": [
|
981
|
-
|
982
|
-
|
983
|
-
"name": "chainId",
|
984
|
-
"type": "uint256"
|
985
|
-
},
|
866
|
+
"inputs": [],
|
867
|
+
"name": "getOwner",
|
868
|
+
"outputs": [
|
986
869
|
{
|
987
870
|
"internalType": "address",
|
988
|
-
"name": "
|
871
|
+
"name": "",
|
989
872
|
"type": "address"
|
990
873
|
}
|
991
874
|
],
|
992
|
-
"
|
875
|
+
"stateMutability": "view",
|
876
|
+
"type": "function"
|
877
|
+
},
|
878
|
+
{
|
879
|
+
"inputs": [],
|
880
|
+
"name": "getRegistry",
|
993
881
|
"outputs": [
|
994
882
|
{
|
995
|
-
"internalType": "
|
996
|
-
"name": "
|
997
|
-
"type": "
|
883
|
+
"internalType": "contract IRegistry",
|
884
|
+
"name": "",
|
885
|
+
"type": "address"
|
998
886
|
}
|
999
887
|
],
|
1000
888
|
"stateMutability": "view",
|
1001
889
|
"type": "function"
|
1002
890
|
},
|
1003
891
|
{
|
1004
|
-
"inputs": [
|
1005
|
-
|
1006
|
-
"internalType": "Key32",
|
1007
|
-
"name": "key",
|
1008
|
-
"type": "bytes32"
|
1009
|
-
}
|
1010
|
-
],
|
1011
|
-
"name": "getState",
|
892
|
+
"inputs": [],
|
893
|
+
"name": "getStakingReader",
|
1012
894
|
"outputs": [
|
1013
895
|
{
|
1014
|
-
"internalType": "
|
1015
|
-
"name": "
|
1016
|
-
"type": "
|
896
|
+
"internalType": "contract StakingReader",
|
897
|
+
"name": "reader",
|
898
|
+
"type": "address"
|
1017
899
|
}
|
1018
900
|
],
|
1019
901
|
"stateMutability": "view",
|
@@ -1021,12 +903,12 @@
|
|
1021
903
|
},
|
1022
904
|
{
|
1023
905
|
"inputs": [],
|
1024
|
-
"name": "
|
906
|
+
"name": "getStakingStore",
|
1025
907
|
"outputs": [
|
1026
908
|
{
|
1027
|
-
"internalType": "
|
1028
|
-
"name": "
|
1029
|
-
"type": "
|
909
|
+
"internalType": "contract StakingStore",
|
910
|
+
"name": "stakingStore",
|
911
|
+
"type": "address"
|
1030
912
|
}
|
1031
913
|
],
|
1032
914
|
"stateMutability": "view",
|
@@ -1058,30 +940,6 @@
|
|
1058
940
|
"stateMutability": "view",
|
1059
941
|
"type": "function"
|
1060
942
|
},
|
1061
|
-
{
|
1062
|
-
"inputs": [
|
1063
|
-
{
|
1064
|
-
"internalType": "NftId",
|
1065
|
-
"name": "targetNftId",
|
1066
|
-
"type": "uint96"
|
1067
|
-
},
|
1068
|
-
{
|
1069
|
-
"internalType": "address",
|
1070
|
-
"name": "token",
|
1071
|
-
"type": "address"
|
1072
|
-
}
|
1073
|
-
],
|
1074
|
-
"name": "getTvlAmount",
|
1075
|
-
"outputs": [
|
1076
|
-
{
|
1077
|
-
"internalType": "Amount",
|
1078
|
-
"name": "tvlAmount",
|
1079
|
-
"type": "uint96"
|
1080
|
-
}
|
1081
|
-
],
|
1082
|
-
"stateMutability": "view",
|
1083
|
-
"type": "function"
|
1084
|
-
},
|
1085
943
|
{
|
1086
944
|
"inputs": [],
|
1087
945
|
"name": "getVersion",
|
@@ -1108,25 +966,6 @@
|
|
1108
966
|
"stateMutability": "view",
|
1109
967
|
"type": "function"
|
1110
968
|
},
|
1111
|
-
{
|
1112
|
-
"inputs": [
|
1113
|
-
{
|
1114
|
-
"internalType": "ObjectType",
|
1115
|
-
"name": "objectType",
|
1116
|
-
"type": "uint8"
|
1117
|
-
}
|
1118
|
-
],
|
1119
|
-
"name": "hasLifecycle",
|
1120
|
-
"outputs": [
|
1121
|
-
{
|
1122
|
-
"internalType": "bool",
|
1123
|
-
"name": "",
|
1124
|
-
"type": "bool"
|
1125
|
-
}
|
1126
|
-
],
|
1127
|
-
"stateMutability": "view",
|
1128
|
-
"type": "function"
|
1129
|
-
},
|
1130
969
|
{
|
1131
970
|
"inputs": [
|
1132
971
|
{
|
@@ -1145,8 +984,14 @@
|
|
1145
984
|
"type": "uint96"
|
1146
985
|
}
|
1147
986
|
],
|
1148
|
-
"name": "
|
1149
|
-
"outputs": [
|
987
|
+
"name": "increaseTotalValueLocked",
|
988
|
+
"outputs": [
|
989
|
+
{
|
990
|
+
"internalType": "Amount",
|
991
|
+
"name": "newBalance",
|
992
|
+
"type": "uint96"
|
993
|
+
}
|
994
|
+
],
|
1150
995
|
"stateMutability": "nonpayable",
|
1151
996
|
"type": "function"
|
1152
997
|
},
|
@@ -1208,38 +1053,15 @@
|
|
1208
1053
|
"type": "function"
|
1209
1054
|
},
|
1210
1055
|
{
|
1211
|
-
"inputs": [
|
1212
|
-
|
1213
|
-
"internalType": "ObjectType",
|
1214
|
-
"name": "objectType",
|
1215
|
-
"type": "uint8"
|
1216
|
-
},
|
1217
|
-
{
|
1218
|
-
"internalType": "StateId",
|
1219
|
-
"name": "fromId",
|
1220
|
-
"type": "uint8"
|
1221
|
-
},
|
1222
|
-
{
|
1223
|
-
"internalType": "StateId",
|
1224
|
-
"name": "toId",
|
1225
|
-
"type": "uint8"
|
1226
|
-
}
|
1227
|
-
],
|
1228
|
-
"name": "isValidTransition",
|
1056
|
+
"inputs": [],
|
1057
|
+
"name": "linkToRegisteredNftId",
|
1229
1058
|
"outputs": [
|
1230
1059
|
{
|
1231
|
-
"internalType": "
|
1060
|
+
"internalType": "NftId",
|
1232
1061
|
"name": "",
|
1233
|
-
"type": "
|
1062
|
+
"type": "uint96"
|
1234
1063
|
}
|
1235
1064
|
],
|
1236
|
-
"stateMutability": "view",
|
1237
|
-
"type": "function"
|
1238
|
-
},
|
1239
|
-
{
|
1240
|
-
"inputs": [],
|
1241
|
-
"name": "linkToRegisteredNftId",
|
1242
|
-
"outputs": [],
|
1243
1065
|
"stateMutability": "nonpayable",
|
1244
1066
|
"type": "function"
|
1245
1067
|
},
|
@@ -1298,47 +1120,13 @@
|
|
1298
1120
|
}
|
1299
1121
|
],
|
1300
1122
|
"name": "refillRewardReserves",
|
1301
|
-
"outputs": [
|
1302
|
-
"stateMutability": "nonpayable",
|
1303
|
-
"type": "function"
|
1304
|
-
},
|
1305
|
-
{
|
1306
|
-
"inputs": [
|
1123
|
+
"outputs": [
|
1307
1124
|
{
|
1308
|
-
"internalType": "
|
1309
|
-
"name": "
|
1125
|
+
"internalType": "Amount",
|
1126
|
+
"name": "newBalance",
|
1310
1127
|
"type": "uint96"
|
1311
|
-
},
|
1312
|
-
{
|
1313
|
-
"components": [
|
1314
|
-
{
|
1315
|
-
"internalType": "NftId",
|
1316
|
-
"name": "targetNftid",
|
1317
|
-
"type": "uint96"
|
1318
|
-
},
|
1319
|
-
{
|
1320
|
-
"internalType": "ObjectType",
|
1321
|
-
"name": "objectType",
|
1322
|
-
"type": "uint8"
|
1323
|
-
},
|
1324
|
-
{
|
1325
|
-
"internalType": "uint256",
|
1326
|
-
"name": "chainId",
|
1327
|
-
"type": "uint256"
|
1328
|
-
},
|
1329
|
-
{
|
1330
|
-
"internalType": "address",
|
1331
|
-
"name": "token",
|
1332
|
-
"type": "address"
|
1333
|
-
}
|
1334
|
-
],
|
1335
|
-
"internalType": "struct IStaking.TargetInfo",
|
1336
|
-
"name": "targetInfo",
|
1337
|
-
"type": "tuple"
|
1338
1128
|
}
|
1339
1129
|
],
|
1340
|
-
"name": "registerRemoteTarget",
|
1341
|
-
"outputs": [],
|
1342
1130
|
"stateMutability": "nonpayable",
|
1343
1131
|
"type": "function"
|
1344
1132
|
},
|
@@ -1348,6 +1136,26 @@
|
|
1348
1136
|
"internalType": "NftId",
|
1349
1137
|
"name": "targetNftId",
|
1350
1138
|
"type": "uint96"
|
1139
|
+
},
|
1140
|
+
{
|
1141
|
+
"internalType": "ObjectType",
|
1142
|
+
"name": "expectedObjectType",
|
1143
|
+
"type": "uint8"
|
1144
|
+
},
|
1145
|
+
{
|
1146
|
+
"internalType": "uint256",
|
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",
|
1158
|
+
"type": "uint256"
|
1351
1159
|
}
|
1352
1160
|
],
|
1353
1161
|
"name": "registerTarget",
|
@@ -1361,28 +1169,21 @@
|
|
1361
1169
|
"internalType": "NftId",
|
1362
1170
|
"name": "stakeNftId",
|
1363
1171
|
"type": "uint96"
|
1364
|
-
}
|
1365
|
-
],
|
1366
|
-
"name": "restakeRewards",
|
1367
|
-
"outputs": [],
|
1368
|
-
"stateMutability": "nonpayable",
|
1369
|
-
"type": "function"
|
1370
|
-
},
|
1371
|
-
{
|
1372
|
-
"inputs": [
|
1172
|
+
},
|
1373
1173
|
{
|
1374
1174
|
"internalType": "NftId",
|
1375
|
-
"name": "
|
1175
|
+
"name": "newTargetNftId",
|
1376
1176
|
"type": "uint96"
|
1377
|
-
}
|
1177
|
+
}
|
1178
|
+
],
|
1179
|
+
"name": "restake",
|
1180
|
+
"outputs": [
|
1378
1181
|
{
|
1379
1182
|
"internalType": "NftId",
|
1380
|
-
"name": "
|
1183
|
+
"name": "newStakeNftId",
|
1381
1184
|
"type": "uint96"
|
1382
1185
|
}
|
1383
1186
|
],
|
1384
|
-
"name": "restakeToNewTarget",
|
1385
|
-
"outputs": [],
|
1386
1187
|
"stateMutability": "nonpayable",
|
1387
1188
|
"type": "function"
|
1388
1189
|
},
|
@@ -1399,6 +1200,24 @@
|
|
1399
1200
|
"stateMutability": "nonpayable",
|
1400
1201
|
"type": "function"
|
1401
1202
|
},
|
1203
|
+
{
|
1204
|
+
"inputs": [
|
1205
|
+
{
|
1206
|
+
"internalType": "NftId",
|
1207
|
+
"name": "targetNftId",
|
1208
|
+
"type": "uint96"
|
1209
|
+
},
|
1210
|
+
{
|
1211
|
+
"internalType": "Seconds",
|
1212
|
+
"name": "lockingPeriod",
|
1213
|
+
"type": "uint40"
|
1214
|
+
}
|
1215
|
+
],
|
1216
|
+
"name": "setLockingPeriod",
|
1217
|
+
"outputs": [],
|
1218
|
+
"stateMutability": "nonpayable",
|
1219
|
+
"type": "function"
|
1220
|
+
},
|
1402
1221
|
{
|
1403
1222
|
"inputs": [
|
1404
1223
|
{
|
@@ -1467,7 +1286,13 @@
|
|
1467
1286
|
}
|
1468
1287
|
],
|
1469
1288
|
"name": "stake",
|
1470
|
-
"outputs": [
|
1289
|
+
"outputs": [
|
1290
|
+
{
|
1291
|
+
"internalType": "Amount",
|
1292
|
+
"name": "stakeBalance",
|
1293
|
+
"type": "uint96"
|
1294
|
+
}
|
1295
|
+
],
|
1471
1296
|
"stateMutability": "nonpayable",
|
1472
1297
|
"type": "function"
|
1473
1298
|
},
|
@@ -1493,33 +1318,9 @@
|
|
1493
1318
|
{
|
1494
1319
|
"inputs": [
|
1495
1320
|
{
|
1496
|
-
"internalType": "
|
1497
|
-
"name": "
|
1498
|
-
"type": "
|
1499
|
-
},
|
1500
|
-
{
|
1501
|
-
"internalType": "KeyId",
|
1502
|
-
"name": "id",
|
1503
|
-
"type": "bytes31"
|
1504
|
-
}
|
1505
|
-
],
|
1506
|
-
"name": "toKey32",
|
1507
|
-
"outputs": [
|
1508
|
-
{
|
1509
|
-
"internalType": "Key32",
|
1510
|
-
"name": "",
|
1511
|
-
"type": "bytes32"
|
1512
|
-
}
|
1513
|
-
],
|
1514
|
-
"stateMutability": "pure",
|
1515
|
-
"type": "function"
|
1516
|
-
},
|
1517
|
-
{
|
1518
|
-
"inputs": [
|
1519
|
-
{
|
1520
|
-
"internalType": "NftId",
|
1521
|
-
"name": "stakeNftId",
|
1522
|
-
"type": "uint96"
|
1321
|
+
"internalType": "address",
|
1322
|
+
"name": "to",
|
1323
|
+
"type": "address"
|
1523
1324
|
},
|
1524
1325
|
{
|
1525
1326
|
"internalType": "Amount",
|
@@ -1527,7 +1328,7 @@
|
|
1527
1328
|
"type": "uint96"
|
1528
1329
|
}
|
1529
1330
|
],
|
1530
|
-
"name": "
|
1331
|
+
"name": "transferDipAmount",
|
1531
1332
|
"outputs": [],
|
1532
1333
|
"stateMutability": "nonpayable",
|
1533
1334
|
"type": "function"
|
@@ -1541,7 +1342,18 @@
|
|
1541
1342
|
}
|
1542
1343
|
],
|
1543
1344
|
"name": "unstake",
|
1544
|
-
"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
|
+
],
|
1545
1357
|
"stateMutability": "nonpayable",
|
1546
1358
|
"type": "function"
|
1547
1359
|
},
|
@@ -1568,6 +1380,19 @@
|
|
1568
1380
|
"stateMutability": "nonpayable",
|
1569
1381
|
"type": "function"
|
1570
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
|
+
},
|
1571
1396
|
{
|
1572
1397
|
"inputs": [
|
1573
1398
|
{
|
@@ -1595,7 +1420,13 @@
|
|
1595
1420
|
}
|
1596
1421
|
],
|
1597
1422
|
"name": "withdrawRewardReserves",
|
1598
|
-
"outputs": [
|
1423
|
+
"outputs": [
|
1424
|
+
{
|
1425
|
+
"internalType": "Amount",
|
1426
|
+
"name": "newBalance",
|
1427
|
+
"type": "uint96"
|
1428
|
+
}
|
1429
|
+
],
|
1599
1430
|
"stateMutability": "nonpayable",
|
1600
1431
|
"type": "function"
|
1601
1432
|
}
|