Type Alias pallet_dapp_staking::pallet::ContractStake
source · pub type ContractStake<T: Config> = StorageMap<_GeneratedPrefixForStorageContractStake<T>, Twox64Concat, DAppId, ContractStakeAmount, ValueQuery, GetDefault, ConstU32<{ _ }>>;
Expand description
Information about how much has been staked on a smart contract in some era or period.
Storage type is [StorageMap
] with key type DAppId
and value type ContractStakeAmount
.
Aliased Type§
struct ContractStake<T: Config>(/* private fields */);