@etherisc/gif-next 0.0.2-fd4931b-974 → 0.0.2-fd5f17a-625
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +51 -5
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1253 -0
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1206 -0
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +358 -0
- package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
- package/artifacts/contracts/authorization/IAccess.sol/IAccess.json +10 -0
- package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
- package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1032 -0
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +258 -0
- package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +290 -0
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +148 -0
- package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +390 -0
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +190 -0
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1342 -0
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +410 -0
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +65 -463
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +291 -234
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +88 -100
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +102 -165
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +171 -47
- package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1411 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1171 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1517 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +1978 -0
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +703 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +77 -78
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +149 -52
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +75 -205
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1626 -0
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +601 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +410 -130
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +191 -206
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +60 -92
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +387 -268
- 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/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +182 -0
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +181 -0
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +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/mock/Dip.sol/Dip.json +2 -2
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +979 -0
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +418 -0
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +765 -0
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
- package/artifacts/contracts/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 +871 -0
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +922 -0
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +679 -0
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1248 -0
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +410 -0
- package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +440 -169
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +132 -84
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +225 -2
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +56 -295
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +255 -101
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/pool/Pool.sol/Pool.json +102 -627
- package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +309 -251
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +57 -81
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +72 -160
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +55 -87
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1096 -0
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +410 -0
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +229 -168
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +82 -94
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +25 -1
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +134 -1
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +204 -120
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +63 -44
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +43 -84
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
- package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +22 -3
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +273 -301
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +77 -93
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +134 -243
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +70 -110
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/product/Product.sol/Product.json +53 -390
- package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
- package/artifacts/contracts/product/RiskService.sol/RiskService.json +583 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +651 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +302 -61
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +31 -184
- 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 +645 -123
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1861 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +66 -124
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +46 -81
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +164 -0
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1169 -0
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +214 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +46 -177
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/shared/Component.sol/Component.json +18 -223
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +271 -164
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +83 -95
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +14 -107
- package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/IComponent.sol/IComponent.json +11 -31
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +180 -1
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +43 -42
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +11 -15
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +0 -5
- 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 +0 -42
- 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/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
- package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
- package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
- package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +50 -287
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +15 -99
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +4 -65
- package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
- package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +10 -55
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +4 -136
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +11 -94
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +14 -107
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +330 -11
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +108 -0
- package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/IStaking.sol/IStaking.json +273 -605
- 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 +440 -0
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
- package/artifacts/contracts/staking/Staking.sol/Staking.json +332 -1004
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +164 -0
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +73 -203
- 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 +484 -213
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +57 -84
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2242 -0
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +318 -19
- 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 +97 -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 +4 -4
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +4 -4
- package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
- package/artifacts/contracts/type/Fee.sol/FeeLib.json +17 -12
- 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 +149 -2
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +4 -4
- 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 +4 -4
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +219 -6
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +100 -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 +36 -4
- package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +1 -1
- package/artifacts/contracts/type/UFixed.sol/MathLib.json +9 -3
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +58 -2
- 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 +21 -2
- package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
- package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +1 -1
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +566 -0
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
- package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
- package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +1 -1
- package/contracts/authorization/AccessAdmin.sol +589 -0
- package/contracts/authorization/AccessManagerCloneable.sol +16 -0
- package/contracts/authorization/Authorization.sol +217 -0
- package/contracts/authorization/IAccess.sol +48 -0
- package/contracts/authorization/IAccessAdmin.sol +136 -0
- package/contracts/authorization/IAuthorization.sol +54 -0
- package/contracts/authorization/IModuleAuthorization.sol +21 -0
- package/contracts/authorization/IServiceAuthorization.sol +38 -0
- package/contracts/authorization/ModuleAuthorization.sol +78 -0
- package/contracts/authorization/ServiceAuthorization.sol +90 -0
- package/contracts/distribution/BasicDistribution.sol +138 -0
- package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
- package/contracts/distribution/Distribution.sol +146 -114
- package/contracts/distribution/DistributionService.sol +84 -46
- package/contracts/distribution/DistributionServiceManager.sol +2 -17
- package/contracts/distribution/IDistributionComponent.sol +26 -40
- package/contracts/distribution/IDistributionService.sol +24 -4
- package/contracts/examples/unpermissioned/SimpleDistribution.sol +50 -0
- package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
- package/contracts/examples/unpermissioned/SimplePool.sol +76 -0
- package/contracts/examples/unpermissioned/SimpleProduct.sol +351 -0
- package/contracts/instance/{BundleManager.sol → BundleSet.sol} +23 -23
- package/contracts/instance/IInstance.sol +29 -43
- package/contracts/instance/IInstanceService.sol +36 -27
- package/contracts/instance/Instance.sol +117 -116
- package/contracts/instance/InstanceAdmin.sol +285 -0
- package/contracts/instance/InstanceAuthorizationV3.sol +204 -0
- package/contracts/instance/InstanceReader.sol +82 -18
- package/contracts/instance/InstanceService.sol +206 -106
- package/contracts/instance/InstanceServiceManager.sol +2 -6
- package/contracts/instance/InstanceStore.sol +49 -22
- 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/ObjectLifecycle.sol +111 -0
- package/contracts/instance/base/{ObjectManager.sol → ObjectSet.sol} +11 -14
- package/contracts/instance/module/IAccess.sol +2 -10
- package/contracts/instance/module/IBundle.sol +1 -1
- package/contracts/instance/module/IComponents.sol +1 -7
- package/contracts/instance/module/IDistribution.sol +0 -1
- package/contracts/instance/module/IPolicy.sol +22 -22
- package/contracts/mock/Dip.sol +1 -1
- package/contracts/oracle/BasicOracle.sol +48 -0
- package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
- package/contracts/oracle/IOracle.sol +36 -0
- package/contracts/oracle/IOracleComponent.sol +33 -0
- package/contracts/oracle/IOracleService.sol +65 -0
- package/contracts/oracle/Oracle.sol +167 -0
- package/contracts/oracle/OracleService.sol +279 -0
- package/contracts/oracle/OracleServiceManager.sol +39 -0
- package/contracts/pool/BasicPool.sol +166 -0
- package/contracts/pool/BasicPoolAuthorization.sol +58 -0
- package/contracts/pool/BundleService.sol +211 -69
- package/contracts/pool/BundleServiceManager.sol +2 -5
- package/contracts/pool/IBundleService.sol +34 -6
- package/contracts/pool/IPoolComponent.sol +6 -60
- package/contracts/pool/IPoolService.sol +40 -27
- package/contracts/pool/Pool.sol +165 -138
- package/contracts/pool/PoolService.sol +199 -114
- package/contracts/pool/PoolServiceManager.sol +2 -5
- package/contracts/product/ApplicationService.sol +59 -65
- package/contracts/product/ApplicationServiceManager.sol +2 -2
- package/contracts/product/BasicProduct.sol +53 -0
- package/contracts/product/BasicProductAuthorization.sol +43 -0
- package/contracts/product/ClaimService.sol +132 -82
- package/contracts/product/ClaimServiceManager.sol +2 -2
- package/contracts/product/IApplicationService.sol +2 -1
- package/contracts/product/IClaimService.sol +32 -3
- package/contracts/product/IPolicyService.sol +28 -33
- package/contracts/product/IPricingService.sol +8 -8
- package/contracts/product/IProductComponent.sol +7 -10
- package/contracts/product/{IProductService.sol → IRiskService.sol} +2 -2
- package/contracts/product/PolicyService.sol +289 -189
- package/contracts/product/PolicyServiceManager.sol +2 -5
- package/contracts/product/PricingService.sol +52 -52
- package/contracts/product/PricingServiceManager.sol +2 -5
- package/contracts/product/Product.sol +163 -115
- package/contracts/product/{ProductService.sol → RiskService.sol} +18 -45
- package/contracts/product/RiskServiceManager.sol +39 -0
- package/contracts/registry/ChainNft.sol +65 -31
- package/contracts/registry/IRegistry.sol +79 -29
- package/contracts/registry/IRegistryService.sol +7 -6
- package/contracts/registry/Registry.sol +354 -215
- package/contracts/registry/RegistryAdmin.sol +464 -0
- package/contracts/registry/RegistryService.sol +14 -90
- package/contracts/registry/RegistryServiceManager.sol +3 -22
- package/contracts/registry/ReleaseLifecycle.sol +27 -0
- package/contracts/registry/ReleaseRegistry.sol +491 -0
- package/contracts/registry/ServiceAuthorizationV3.sol +199 -0
- package/contracts/registry/TokenRegistry.sol +58 -62
- package/contracts/shared/Component.sol +35 -53
- package/contracts/shared/ComponentService.sol +127 -81
- package/contracts/shared/ComponentServiceManager.sol +2 -2
- package/contracts/shared/ComponentVerifyingService.sol +14 -8
- package/contracts/shared/IComponent.sol +7 -11
- package/contracts/shared/IComponentService.sol +26 -9
- package/contracts/shared/IInstanceLinkedComponent.sol +10 -7
- package/contracts/shared/IKeyValueStore.sol +2 -1
- package/contracts/shared/ILifecycle.sol +1 -2
- package/contracts/shared/INftOwnable.sol +1 -1
- package/contracts/shared/IPolicyHolder.sol +0 -9
- package/contracts/shared/IService.sol +9 -2
- package/contracts/shared/InitializableCustom.sol +177 -0
- package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +4 -4
- package/contracts/shared/InstanceLinkedComponent.sol +51 -24
- package/contracts/shared/KeyValueStore.sol +7 -6
- package/contracts/shared/Lifecycle.sol +16 -60
- package/contracts/shared/{NftIdSetManager.sol → NftIdSet.sol} +3 -7
- package/contracts/shared/NftOwnable.sol +9 -20
- package/contracts/shared/PolicyHolder.sol +8 -53
- package/contracts/shared/Registerable.sol +4 -4
- package/contracts/shared/RegistryLinked.sol +3 -2
- package/contracts/shared/Service.sol +33 -28
- package/contracts/shared/TokenHandler.sol +100 -19
- package/contracts/shared/TokenHandlerDeployerLib.sol +12 -0
- package/contracts/staking/IStaking.sol +96 -41
- package/contracts/staking/IStakingService.sol +78 -40
- package/contracts/staking/StakeManagerLib.sol +224 -0
- package/contracts/staking/Staking.sol +305 -155
- package/contracts/staking/StakingLifecycle.sol +23 -0
- package/contracts/staking/StakingManager.sol +21 -23
- package/contracts/staking/StakingReader.sol +119 -28
- package/contracts/staking/StakingService.sol +190 -77
- package/contracts/staking/StakingServiceManager.sol +4 -4
- package/contracts/staking/StakingStore.sol +605 -0
- package/contracts/staking/TargetManagerLib.sol +83 -13
- package/contracts/type/AddressSet.sol +1 -1
- package/contracts/type/Amount.sol +24 -3
- package/contracts/type/Blocknumber.sol +20 -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 +174 -68
- package/contracts/type/Referral.sol +2 -1
- package/contracts/type/RequestId.sol +75 -0
- package/contracts/type/RiskId.sol +1 -1
- package/contracts/type/RoleId.sol +104 -73
- package/contracts/type/Seconds.sol +39 -1
- package/contracts/type/Selector.sol +102 -0
- package/contracts/type/StateId.sol +13 -0
- package/contracts/type/String.sol +53 -0
- package/contracts/type/Timestamp.sol +17 -3
- package/contracts/type/UFixed.sol +34 -9
- package/contracts/type/Version.sol +4 -2
- package/contracts/{shared → upgradeability}/ProxyManager.sol +9 -6
- package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
- package/package.json +8 -5
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -778
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1348
- package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +0 -132
- package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +0 -4
- package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +0 -256
- package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
- package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
- package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -673
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
- package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -675
- 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/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -1112
- 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/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
- package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +0 -4
- package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.json +0 -314
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -598
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
- package/contracts/instance/InstanceAccessManager.sol +0 -543
- package/contracts/instance/InstanceAuthorizationsLib.sol +0 -336
- package/contracts/product/ProductServiceManager.sol +0 -42
- package/contracts/registry/RegistryAccessManager.sol +0 -167
- package/contracts/registry/ReleaseManager.sol +0 -530
- package/contracts/registry/ServiceAuthorizationsLib.sol +0 -173
- package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +0 -13
- /package/contracts/{shared → upgradeability}/IVersionable.sol +0 -0
- /package/contracts/{shared → upgradeability}/Versionable.sol +0 -0
@@ -72,32 +72,6 @@
|
|
72
72
|
"name": "ErrorComponentWalletAddressZero",
|
73
73
|
"type": "error"
|
74
74
|
},
|
75
|
-
{
|
76
|
-
"inputs": [
|
77
|
-
{
|
78
|
-
"internalType": "address",
|
79
|
-
"name": "oldWallet",
|
80
|
-
"type": "address"
|
81
|
-
},
|
82
|
-
{
|
83
|
-
"internalType": "address",
|
84
|
-
"name": "newWallet",
|
85
|
-
"type": "address"
|
86
|
-
},
|
87
|
-
{
|
88
|
-
"internalType": "uint256",
|
89
|
-
"name": "allowance",
|
90
|
-
"type": "uint256"
|
91
|
-
},
|
92
|
-
{
|
93
|
-
"internalType": "uint256",
|
94
|
-
"name": "balance",
|
95
|
-
"type": "uint256"
|
96
|
-
}
|
97
|
-
],
|
98
|
-
"name": "ErrorComponentWalletAllowanceTooSmall",
|
99
|
-
"type": "error"
|
100
|
-
},
|
101
75
|
{
|
102
76
|
"inputs": [],
|
103
77
|
"name": "ErrorComponentWalletNotComponent",
|
@@ -106,136 +80,118 @@
|
|
106
80
|
{
|
107
81
|
"inputs": [
|
108
82
|
{
|
109
|
-
"internalType": "
|
110
|
-
"name": "
|
111
|
-
"type": "
|
112
|
-
},
|
113
|
-
{
|
114
|
-
"internalType": "StateId",
|
115
|
-
"name": "fromStateId",
|
116
|
-
"type": "uint8"
|
117
|
-
},
|
118
|
-
{
|
119
|
-
"internalType": "StateId",
|
120
|
-
"name": "toStateId",
|
121
|
-
"type": "uint8"
|
83
|
+
"internalType": "NftId",
|
84
|
+
"name": "nftId",
|
85
|
+
"type": "uint96"
|
122
86
|
}
|
123
87
|
],
|
124
|
-
"name": "
|
88
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
125
89
|
"type": "error"
|
126
90
|
},
|
127
91
|
{
|
128
92
|
"inputs": [
|
129
93
|
{
|
130
|
-
"internalType": "
|
131
|
-
"name": "
|
132
|
-
"type": "
|
133
|
-
},
|
134
|
-
{
|
135
|
-
"internalType": "ObjectType",
|
136
|
-
"name": "objectType",
|
137
|
-
"type": "uint8"
|
94
|
+
"internalType": "address",
|
95
|
+
"name": "contractAddress",
|
96
|
+
"type": "address"
|
138
97
|
}
|
139
98
|
],
|
140
|
-
"name": "
|
99
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
141
100
|
"type": "error"
|
142
101
|
},
|
143
102
|
{
|
144
|
-
"inputs": [
|
145
|
-
|
146
|
-
"internalType": "Key32",
|
147
|
-
"name": "key",
|
148
|
-
"type": "bytes32"
|
149
|
-
}
|
150
|
-
],
|
151
|
-
"name": "ErrorKeyValueStoreNotExisting",
|
103
|
+
"inputs": [],
|
104
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
152
105
|
"type": "error"
|
153
106
|
},
|
154
107
|
{
|
155
108
|
"inputs": [
|
156
109
|
{
|
157
|
-
"internalType": "
|
158
|
-
"name": "
|
159
|
-
"type": "
|
110
|
+
"internalType": "address",
|
111
|
+
"name": "account",
|
112
|
+
"type": "address"
|
160
113
|
}
|
161
114
|
],
|
162
|
-
"name": "
|
115
|
+
"name": "ErrorNftOwnableNotOwner",
|
163
116
|
"type": "error"
|
164
117
|
},
|
165
118
|
{
|
166
119
|
"inputs": [
|
167
120
|
{
|
168
|
-
"internalType": "
|
169
|
-
"name": "
|
170
|
-
"type": "
|
121
|
+
"internalType": "address",
|
122
|
+
"name": "registryAddress",
|
123
|
+
"type": "address"
|
171
124
|
}
|
172
125
|
],
|
173
|
-
"name": "
|
126
|
+
"name": "ErrorNotRegistry",
|
174
127
|
"type": "error"
|
175
128
|
},
|
176
129
|
{
|
177
130
|
"inputs": [
|
178
131
|
{
|
179
|
-
"internalType": "
|
180
|
-
"name": "
|
181
|
-
"type": "
|
182
|
-
}
|
183
|
-
],
|
184
|
-
"name": "ErrorNftOwnableAlreadyLinked",
|
185
|
-
"type": "error"
|
186
|
-
},
|
187
|
-
{
|
188
|
-
"inputs": [
|
132
|
+
"internalType": "address",
|
133
|
+
"name": "owner",
|
134
|
+
"type": "address"
|
135
|
+
},
|
189
136
|
{
|
190
137
|
"internalType": "address",
|
191
|
-
"name": "
|
138
|
+
"name": "tokenHandler",
|
192
139
|
"type": "address"
|
140
|
+
},
|
141
|
+
{
|
142
|
+
"internalType": "uint256",
|
143
|
+
"name": "amount",
|
144
|
+
"type": "uint256"
|
145
|
+
},
|
146
|
+
{
|
147
|
+
"internalType": "uint256",
|
148
|
+
"name": "dipAllowance",
|
149
|
+
"type": "uint256"
|
193
150
|
}
|
194
151
|
],
|
195
|
-
"name": "
|
196
|
-
"type": "error"
|
197
|
-
},
|
198
|
-
{
|
199
|
-
"inputs": [],
|
200
|
-
"name": "ErrorNftOwnableInitialOwnerZero",
|
152
|
+
"name": "ErrorStakingDipAllowanceInsufficient",
|
201
153
|
"type": "error"
|
202
154
|
},
|
203
155
|
{
|
204
156
|
"inputs": [
|
205
157
|
{
|
206
158
|
"internalType": "address",
|
207
|
-
"name": "
|
159
|
+
"name": "owner",
|
208
160
|
"type": "address"
|
161
|
+
},
|
162
|
+
{
|
163
|
+
"internalType": "uint256",
|
164
|
+
"name": "amount",
|
165
|
+
"type": "uint256"
|
166
|
+
},
|
167
|
+
{
|
168
|
+
"internalType": "uint256",
|
169
|
+
"name": "dipBalance",
|
170
|
+
"type": "uint256"
|
209
171
|
}
|
210
172
|
],
|
211
|
-
"name": "
|
173
|
+
"name": "ErrorStakingDipBalanceInsufficient",
|
212
174
|
"type": "error"
|
213
175
|
},
|
214
176
|
{
|
215
177
|
"inputs": [
|
216
178
|
{
|
217
179
|
"internalType": "NftId",
|
218
|
-
"name": "
|
180
|
+
"name": "targetNftId",
|
219
181
|
"type": "uint96"
|
220
182
|
},
|
221
183
|
{
|
222
|
-
"internalType": "
|
223
|
-
"name": "
|
224
|
-
"type": "
|
225
|
-
}
|
226
|
-
],
|
227
|
-
"name": "ErrorNoLifecycle",
|
228
|
-
"type": "error"
|
229
|
-
},
|
230
|
-
{
|
231
|
-
"inputs": [
|
184
|
+
"internalType": "Seconds",
|
185
|
+
"name": "maxLockingPeriod",
|
186
|
+
"type": "uint40"
|
187
|
+
},
|
232
188
|
{
|
233
|
-
"internalType": "
|
234
|
-
"name": "
|
235
|
-
"type": "
|
189
|
+
"internalType": "Seconds",
|
190
|
+
"name": "lockingPeriod",
|
191
|
+
"type": "uint40"
|
236
192
|
}
|
237
193
|
],
|
238
|
-
"name": "
|
194
|
+
"name": "ErrorStakingLockingPeriodTooLong",
|
239
195
|
"type": "error"
|
240
196
|
},
|
241
197
|
{
|
@@ -247,7 +203,7 @@
|
|
247
203
|
},
|
248
204
|
{
|
249
205
|
"internalType": "Seconds",
|
250
|
-
"name": "
|
206
|
+
"name": "minLockingPeriod",
|
251
207
|
"type": "uint40"
|
252
208
|
},
|
253
209
|
{
|
@@ -256,29 +212,45 @@
|
|
256
212
|
"type": "uint40"
|
257
213
|
}
|
258
214
|
],
|
259
|
-
"name": "
|
215
|
+
"name": "ErrorStakingLockingPeriodTooShort",
|
260
216
|
"type": "error"
|
261
217
|
},
|
262
218
|
{
|
263
219
|
"inputs": [
|
264
220
|
{
|
265
221
|
"internalType": "NftId",
|
266
|
-
"name": "
|
222
|
+
"name": "nftId",
|
267
223
|
"type": "uint96"
|
268
224
|
}
|
269
225
|
],
|
270
|
-
"name": "
|
226
|
+
"name": "ErrorStakingNotNftOwner",
|
271
227
|
"type": "error"
|
272
228
|
},
|
273
229
|
{
|
274
230
|
"inputs": [
|
275
231
|
{
|
276
232
|
"internalType": "NftId",
|
277
|
-
"name": "
|
233
|
+
"name": "stakeNftId",
|
278
234
|
"type": "uint96"
|
279
235
|
}
|
280
236
|
],
|
281
|
-
"name": "
|
237
|
+
"name": "ErrorStakingNotStake",
|
238
|
+
"type": "error"
|
239
|
+
},
|
240
|
+
{
|
241
|
+
"inputs": [],
|
242
|
+
"name": "ErrorStakingNotStakingOwner",
|
243
|
+
"type": "error"
|
244
|
+
},
|
245
|
+
{
|
246
|
+
"inputs": [
|
247
|
+
{
|
248
|
+
"internalType": "NftId",
|
249
|
+
"name": "targetNftId",
|
250
|
+
"type": "uint96"
|
251
|
+
}
|
252
|
+
],
|
253
|
+
"name": "ErrorStakingNotTarget",
|
282
254
|
"type": "error"
|
283
255
|
},
|
284
256
|
{
|
@@ -302,6 +274,33 @@
|
|
302
274
|
"name": "ErrorStakingRewardRateTooHigh",
|
303
275
|
"type": "error"
|
304
276
|
},
|
277
|
+
{
|
278
|
+
"inputs": [
|
279
|
+
{
|
280
|
+
"internalType": "NftId",
|
281
|
+
"name": "targetNftId",
|
282
|
+
"type": "uint96"
|
283
|
+
}
|
284
|
+
],
|
285
|
+
"name": "ErrorStakingStakeAmountZero",
|
286
|
+
"type": "error"
|
287
|
+
},
|
288
|
+
{
|
289
|
+
"inputs": [
|
290
|
+
{
|
291
|
+
"internalType": "NftId",
|
292
|
+
"name": "stakeNftId",
|
293
|
+
"type": "uint96"
|
294
|
+
},
|
295
|
+
{
|
296
|
+
"internalType": "Timestamp",
|
297
|
+
"name": "lockedUntil",
|
298
|
+
"type": "uint40"
|
299
|
+
}
|
300
|
+
],
|
301
|
+
"name": "ErrorStakingStakeLocked",
|
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
|
}
|