This event was removed in v277
This event is no longer emitted in the current runtime. Existed from v273 to v277. Shown here for historical reference.
AggregatedLimitedStakeRemoved
Event Removed v273 → v277 (removed) #10aggregated limited stake has been removed from the hotkey staking account into the coldkey account (at the end of the block ).
From Chain Metadata
aggregated limited stake has been removed from the hotkey staking account into the coldkey account (at the end of the block).
Triggers
Emitted by
Preconditions
- Item exists and can be removed
May fail with
NotEnoughStaketoWithdrawNotEnoughStakeNotEnoughStakeToWithdrawNotEnoughStakeToSetWeightsStakeToWithdrawIsZeroNotEnoughStakeToSetChildkeysNotEnoughBalanceToStakeStakeAlreadyAddedStakeRateLimitExceededUnstakeRateLimitExceededStakeTooLowForRootBelowStakeThresholdNomStakeBelowMinimumThresholdCannotUnstakeLockStakeUnavailableZeroMaxStakeAmountSameAutoStakeHotkeyAlreadySetAddStakeBurnRateLimitExceededInsufficientStakeForLock
Effects
Storage Modified
Postconditions
- Item no longer exists
Event Data
| # | Name | Type | Description |
|---|---|---|---|
| 0 | arg0 → account | AccountId | Account address (32 bytes, SS58-encoded) (hex -> SS58) |
| 1 | arg1 → account | AccountId | Account address (32 bytes, SS58-encoded) (hex -> SS58) |
| 2 | arg2 | u16 | Event field #2 (u16) |
| 3 | arg3 | u64 | Event field #3 (u64) |
| 4 | arg4 | u64 | Event field #4 (u64) |
| 5 | arg5 | bool | Event field #5 (bool) |
Code Examples
import { createClient, Binary } from "polkadot-api";
import { getWsProvider } from "polkadot-api/ws";
import { sub } from "@polkadot-api/descriptors"; // generated by: npx papi add sub -w wss://entrypoint-finney.opentensor.ai:443
const client = createClient(getWsProvider("wss://entrypoint-finney.opentensor.ai:443"));
const api = client.getTypedApi(sub);
// Subscribe to AggregatedLimitedStakeRemoved events
client.finalizedBlock$.subscribe(async (block) => {
const events = await api.event.SubtensorModule.AggregatedLimitedStakeRemoved.get(block.hash);
for (const evt of events) {
console.log("AggregatedLimitedStakeRemoved:", evt.payload);
}
});Runtime Info
View Source- Pallet Index
- 7
- Event Index
- 10
- First Version
- v273
- Removed In
- v277