referrerpolicy=no-referrer-when-downgrade

Module mock

Source

Structs§

Admin
AgentBalanceMap
BalanceToU256
BondedBalanceMap
BondingDuration
CheckLevel
CurrentEra
DelegateMock
DelegatorBalanceMap
ExistentialDeposit
ExtBuilder
MaxMetadataLen
MaxUnbonding
MinJoinBondConfig
Nominations
PalletInfo
Provides an implementation of PalletInfo to provide information about the pallet setup in the runtime.
PoolsPalletId
PostUnbondingPoolsWindow
RestrictMock
RestrictedAccounts
Runtime
RuntimeGenesisConfig
RuntimeOrigin
The runtime origin type representing the origin of a call.
StakingMinBond
StakingMock
U256ToBalance
UnbondingBalanceMap

Enums§

OriginCaller
RewardImbalance
RuntimeCall
The aggregated runtime call type.
RuntimeError
RuntimeEvent
RuntimeFreezeReason
A reason for placing a freeze on funds.
RuntimeHoldReason
A reason for placing a hold on funds.
RuntimeLockId
An identifier for each lock placed on funds.
RuntimeSlashReason
A reason for slashing funds.
RuntimeTask
An aggregation of all Task enums across all pallets included in the current runtime.
RuntimeViewFunction
Runtime query type.

Constants§

BONDING_DURATION
CHECK_LEVEL
CURRENT_ERA
EXISTENTIAL_DEPOSIT
MAX_METADATA_LEN
MAX_UNBONDING
MIN_JOIN_BOND_CONFIG
POST_UNBONDING_POOLS_WINDOW
RESTRICTED_ACCOUNTS
STAKING_MIN_BOND

Functions§

add_to_restrict_list
balances_events_since_last_call
All events of the Balances pallet.
default_bonded_account
default_reward_account
fully_unbond_permissioned
Same as fully_unbond, in permissioned setting.
member_delegation
pending_rewards_for_delegator
pool_balance
pool_events_since_last_call
All events of this pallet.
pool_pending_rewards
remove_from_restrict_list
reward_imbalance
run_blocks
Helper to run a specified amount of blocks.
set_pool_balance
unsafe_set_state

Type Aliases§

AccountId
AllPalletsWithSystem
All pallets included in the runtime as a nested tuple of types.
AllPalletsWithoutSystem
All pallets included in the runtime as a nested tuple of types. Excludes the System pallet.
Balance
Balances
BalancesConfig
BlockNumber
Currency
Pools
PoolsConfig
RewardCounter
System
SystemConfig
T