Full Pallet API Reference - v7.4 to v8.0
This page is a mechanically generated reference of every structural API change between Polymesh chain v7.4 and v8.0, extracted directly from each release's runtime metadata (metadata v14, the only version available for both releases). The v8 side reflects runtime version 8.0.1. It complements the narrative pages in the v7.4 → v8.0 changelog with a literal, pallet-by-pallet diff: every call, event, error, storage item, and constant that was added, removed, or had its argument/field shape change.
Scope and method:
- Comparison is by name, not by index. Call/event/error/storage indices are not stable across this upgrade (see the overview) and are ignored here entirely — an item that kept the same name and shape but moved to a different index is not listed as changed.
- "Modified" means the named item's argument names or underlying types changed. Cosmetic Rust-side renames introduced by the Polkadot SDK upgrade (for example
T::BlockNumberbecomingBlockNumberFor<T>) are resolved to their underlying structural type before comparing, so they are not flagged as modified when nothing observable actually changed. - For constants, only a type change counts as "modified" — constant values (weight tables, fee coefficients, limits) are runtime tuning, not an API change, so value-only drift is not listed. The current value is still shown for reference, truncated if it's a long byte blob (e.g. a weight schedule).
- Pallets with no structural changes at all are omitted from the per-pallet detail below (they still appear as fully absent — nothing to migrate).
- The
v7.4/v8.0columns show the Rust-level argument list or type signature, not the SCALE-encoded wire format.
Pallets added
Beefy, ConfidentialAssets (Testnet only), DidRegistrars, Mmr, MmrLeaf, MultiBlockMigrations, PolymeshTransactionPayment, Revive, Validators
Pallets removed
CddServiceProviders, Contracts, PolymeshContracts, RandomnessCollectiveFlip
The legacy Wasm/ink! contracts pallets Contracts (pallet-contracts) and PolymeshContracts (polymesh_contracts) are removed entirely; pallet-revive (listed under Pallets added) is the sole smart-contract pallet. See Smart Contracts.
Renamed pallets (for example CddServiceProviders → DidRegistrars) are not detected as renames by this name-based diff — they show up as one pallet removed and a different one added. See the Identity & Onboarding page for the narrative mapping.
Summary
| Pallet | Calls +/-/~ | Events +/-/~ | Errors +/-/~ | Storage +/-/~ | Constants +/-/~ |
|---|---|---|---|---|---|
| Asset | 1/0/3 | 2/0/2 | 7/2/0 | 1/0/0 | — |
| AuthorityDiscovery | — | — | — | 2/0/0 | — |
| Babe | 0/0/2 | — | — | — | 1/0/0 |
| Balances | 8/4/0 | 24/1/6 | 11/1/0 | 5/0/1 | 3/0/0 |
| Base | — | 0/1/0 | — | — | — |
| CommitteeMembership | — | 0/1/0 | — | — | — |
| ElectionProviderMultiPhase | 0/0/1 | — | 1/0/0 | 0/0/1 | 2/6/0 |
| Grandpa | — | — | — | 1/0/0 | 1/0/0 |
| Historical | — | 2/0/0 | — | 2/0/0 | — |
| Identity | 2/5/2 | 0/5/0 | 6/9/0 | 0/5/0 | — |
| ImOnline | — | — | — | 0/0/1 | — |
| Indices | 1/0/0 | 1/0/0 | — | — | — |
| MultiSig | — | — | 0/1/0 | — | — |
| Nft | 1/0/3 | 1/1/0 | 3/3/0 | 0/1/1 | — |
| Offences | — | — | — | 0/1/0 | — |
| Permissions | — | — | — | 2/0/0 | — |
| Pips | 0/0/1 | — | 1/0/0 | — | — |
| Portfolio | 0/0/2 | — | 0/2/0 | 0/1/1 | — |
| Preimage | 1/0/0 | — | 2/0/0 | 1/0/1 | — |
| Relayer | 5/3/0 | 6/3/1 | 4/6/0 | 2/0/0 | — |
| Scheduler | 4/0/0 | 4/0/0 | — | 1/0/1 | — |
| Session | — | 3/0/0 | — | 1/0/1 | 1/0/0 |
| Settlement | 3/3/11 | 3/2/4 | 8/0/0 | 3/1/2 | 3/1/0 |
| Staking | 6/7/4 | 4/7/4 | 9/10/0 | 6/5/1 | 2/5/0 |
| Sto | 0/0/1 | — | 1/0/0 | — | — |
| System | 3/0/0 | 2/0/2 | 3/0/0 | 5/1/1 | — |
| TechnicalCommitteeMembership | — | 0/1/0 | — | — | — |
| TransactionPayment | 0/1/0 | — | — | 1/0/0 | 1/2/0 |
| UpgradeCommitteeMembership | — | 0/1/0 | — | — | — |
| Utility | 0/1/0 | 0/1/0 | 0/3/0 | 0/1/0 | — |
Pallet detail
Asset
Calls
| Status | Name | v7.4 | v8.0 |
|---|---|---|---|
| Added | approve | (none) | asset_id: AssetId, spender: T::AccountId, amount: Balance |
| Modified | controller_transfer | asset_id: AssetId, value: Balance, from_portfolio: PortfolioId | asset_id: AssetId, value: Balance, source: AssetHolder, destination_kind: AssetHolderKind |
| Modified | issue | asset_id: AssetId, amount: Balance, portfolio_kind: PortfolioKind | asset_id: AssetId, amount: Balance, asset_holder_kind: AssetHolderKind |
| Modified | redeem | asset_id: AssetId, value: Balance, portfolio_kind: PortfolioKind | asset_id: AssetId, value: Balance, asset_holder_kind: AssetHolderKind |
Events
| Status | Name | v7.4 | v8.0 |
|---|---|---|---|
| Added | AllowanceSpent | (none) | owner: T::AccountId, spender: T::AccountId, asset_id: AssetId, amount_spent: Balance, remaining_allowance: Balance |
| Added | Approval | (none) | owner: T::AccountId, spender: T::AccountId, asset_id: AssetId, amount: Balance |
| Modified | AssetBalanceUpdated | IdentityId, AssetId, Balance, Option<PortfolioId>, Option<PortfolioId>, PortfolioUpdateReason | IdentityId, AssetId, Balance, Option<AssetHolder>, Option<AssetHolder>, HoldingsUpdateReason |
| Modified | ControllerTransfer | IdentityId, AssetId, PortfolioId, Balance | IdentityId, AssetId, AssetHolder, Balance |
Errors
| Status | Name |
|---|---|
| Added | InsufficientAllowance |
| Added | InsufficientTokensLocked |
| Added | InvalidTransferInvalidReceiverDID |
| Added | KeyNotFoundForDid |
| Added | SelfOwnershipTransferNotAllowed |
| Added | UnauthorizedHolderKey |
| Added | WeightLimitExceeded |
| Removed | InvalidTransferInvalidReceiverCDD |
| Removed | InvalidTransferInvalidSenderCDD |
Storage
| Status | Name | v7.4 | v8.0 |
|---|---|---|---|
| Added | Allowances | (none) | DoubleMap/NMap (Default) — hashers: Blake2_128Concat, Blake2_128Concat, Blake2_128Concat, key: (AccountId32, AccountId32, AssetId), value: U128 |
AuthorityDiscovery
Storage
| Status | Name | v7.4 | v8.0 |
|---|---|---|---|
| Added | Keys | (none) | Plain (Default) — WeakBoundedVec<Public> |
| Added | NextKeys | (none) | Plain (Default) — WeakBoundedVec<Public> |
Babe
Calls
| Status | Name | v7.4 | v8.0 |
|---|---|---|---|
| Modified | report_equivocation | equivocation_proof: Box<EquivocationProof<T::Header>>, key_owner_proof: T::KeyOwnerProof | equivocation_proof: Box<EquivocationProof<HeaderFor<T>>>, key_owner_proof: T::KeyOwnerProof |
| Modified | report_equivocation_unsigned | equivocation_proof: Box<EquivocationProof<T::Header>>, key_owner_proof: T::KeyOwnerProof | equivocation_proof: Box<EquivocationProof<HeaderFor<T>>>, key_owner_proof: T::KeyOwnerProof |
Constants
| Status | Name | v7.4 | v8.0 |
|---|---|---|---|
| Added | MaxNominators | (none) | U32 = 1024 |
Balances
Calls
| Status | Name | v7.4 | v8.0 |
|---|---|---|---|
| Added | burn | (none) | value: T::Balance, keep_alive: bool |
| Added | force_adjust_total_issuance | (none) | direction: AdjustmentDirection, delta: T::Balance |
| Added | force_set_balance | (none) | who: AccountIdLookupOf<T>, new_free: T::Balance |
| Added | force_unreserve | (none) | who: AccountIdLookupOf<T>, amount: T::Balance |
| Added | transfer_all | (none) | dest: AccountIdLookupOf<T>, keep_alive: bool |
| Added | transfer_allow_death | (none) | dest: AccountIdLookupOf<T>, value: T::Balance |
| Added | transfer_keep_alive | (none) | dest: AccountIdLookupOf<T>, value: T::Balance |
| Added | upgrade_accounts | (none) | who: Vec<T::AccountId> |
| Removed | burn_account_balance | amount: Balance | (none) |
| Removed | deposit_block_reward_reserve_balance | value: Balance | (none) |
| Removed | set_balance | who: <T::Lookup as StaticLookup>::Source, new_free: Balance, new_reserved: Balance | (none) |
| Removed | transfer | dest: <T::Lookup as StaticLookup>::Source, value: Balance | (none) |
Events
| Status | Name | v7.4 | v8.0 |
|---|---|---|---|
| Added | Burned | (none) | who: T::AccountId, amount: T::Balance |
| Added | BurnedDebt | (none) | amount: T::Balance |
| Added | BurnedHeld | (none) | reason: T::RuntimeHoldReason, who: T::AccountId, amount: T::Balance |
| Added | Deposit | (none) | who: T::AccountId, amount: T::Balance |
| Added | DustLost | (none) | account: T::AccountId, amount: T::Balance |
| Added | Frozen | (none) | who: T::AccountId, amount: T::Balance |
| Added | Held | (none) | reason: T::RuntimeHoldReason, who: T::AccountId, amount: T::Balance |
| Added | Issued | (none) | amount: T::Balance |
| Added | Locked | (none) | who: T::AccountId, amount: T::Balance |
| Added | Minted | (none) | who: T::AccountId, amount: T::Balance |
| Added | MintedCredit | (none) | amount: T::Balance |
| Added | Released | (none) | reason: T::RuntimeHoldReason, who: T::AccountId, amount: T::Balance |
| Added | Rescinded | (none) | amount: T::Balance |
| Added | Restored | (none) | who: T::AccountId, amount: T::Balance |
| Added | Slashed | (none) | who: T::AccountId, amount: T::Balance |
| Added | Suspended | (none) | who: T::AccountId, amount: T::Balance |
| Added | Thawed | (none) | who: T::AccountId, amount: T::Balance |
| Added | TotalIssuanceForced | (none) | old: T::Balance, new: T::Balance |
| Added | TransferAndHold | (none) | reason: T::RuntimeHoldReason, source: T::AccountId, dest: T::AccountId, transferred: T::Balance |
| Added | TransferOnHold | (none) | reason: T::RuntimeHoldReason, source: T::AccountId, dest: T::AccountId, amount: T::Balance |
| Added | Unexpected | (none) | UnexpectedKind |
| Added | Unlocked | (none) | who: T::AccountId, amount: T::Balance |
| Added | Upgraded | (none) | who: T::AccountId |
| Added | Withdraw | (none) | who: T::AccountId, amount: T::Balance |
| Removed | AccountBalanceBurned | IdentityId, T::AccountId, Balance | (none) |
| Modified | BalanceSet | IdentityId, T::AccountId, Balance, Balance | who: T::AccountId, free: T::Balance |
| Modified | Endowed | Option<IdentityId>, T::AccountId, Balance | account: T::AccountId, free_balance: T::Balance |
| Modified | ReserveRepatriated | T::AccountId, T::AccountId, Balance, Status | from: T::AccountId, to: T::AccountId, amount: T::Balance, destination_status: Status |
| Modified | Reserved | T::AccountId, Balance | who: T::AccountId, amount: T::Balance |
| Modified | Transfer | Option<IdentityId>, T::AccountId, Option<IdentityId>, T::AccountId, Balance, Option<Memo> | from: T::AccountId, to: T::AccountId, amount: T::Balance |
| Modified | Unreserved | T::AccountId, Balance | who: T::AccountId, amount: T::Balance |
Errors
| Status | Name |
|---|---|
| Added | DeadAccount |
| Added | DeltaZero |
| Added | ExistingVestingSchedule |
| Added | Expendability |
| Added | IssuanceDeactivated |
| Added | LockIdentifierNotFound |
| Added | MaxLocksExceeded |
| Added | TooManyFreezes |
| Added | TooManyHolds |
| Added | TooManyReserves |
| Added | VestingBalance |
| Removed | ReceiverCddMissing |
Storage
| Status | Name | v7.4 | v8.0 |
|---|---|---|---|
| Added | Account | (none) | Map (Default) — hashers: Blake2_128Concat, key: AccountId32, value: AccountData<U128> |
| Added | Freezes | (none) | Map (Default) — hashers: Blake2_128Concat, key: AccountId32, value: BoundedVec<IdAmount<[U8; 8], U128>> |
| Added | Holds | (none) | Map (Default) — hashers: Blake2_128Concat, key: AccountId32, value: BoundedVec<IdAmount<RuntimeHoldReason, U128>> |
| Added | InactiveIssuance | (none) | Plain (Default) — U128 |
| Added | Reserves | (none) | Map (Default) — hashers: Blake2_128Concat, key: AccountId32, value: BoundedVec<ReserveData<[U8; 8], U128>> |
| Modified | Locks | Map (Default) — hashers: Blake2_128Concat, key: AccountId32, value: Vec<BalanceLock<U128>> | Map (Default) — hashers: Blake2_128Concat, key: AccountId32, value: WeakBoundedVec<BalanceLock<U128>> |
Constants
| Status | Name | v7.4 | v8.0 |
|---|---|---|---|
| Added | MaxFreezes | (none) | U32 = 0 |
| Added | MaxLocks | (none) | U32 = 50 |
| Added | MaxReserves | (none) | U32 = 50 |
Base
Events
| Status | Name | v7.4 | v8.0 |
|---|---|---|---|
| Removed | UnexpectedError | Option<DispatchError> | (none) |
CommitteeMembership
Events
| Status | Name | v7.4 | v8.0 |
|---|---|---|---|
| Removed | Dummy | (none) | (none) |
ElectionProviderMultiPhase
Calls
| Status | Name | v7.4 | v8.0 |
|---|---|---|---|
| Modified | governance_fallback | maybe_max_voters: Option<u32>, maybe_max_targets: Option<u32> | (none) |
Errors
| Status | Name |
|---|---|
| Added | PreDispatchDifferentRound |
Storage
| Status | Name | v7.4 | v8.0 |
|---|---|---|---|
| Modified | Snapshot | Plain (Optional) — RoundSnapshot | Plain (Optional) — RoundSnapshot<AccountId32, (AccountId32, U64, BoundedVec<AccountId32>)> |
Constants
| Status | Name | v7.4 | v8.0 |
|---|---|---|---|
| Added | MaxBackersPerWinner | (none) | U32 = 40000 |
| Added | MinerMaxWinners | (none) | U32 = 1000 |
| Removed | BetterUnsignedThreshold | Perbill = 0.01% | (none) |
| Removed | MaxElectableTargets | U16 = 10000 | (none) |
| Removed | MaxElectingVoters | U32 = 40000 | (none) |
| Removed | SignedDepositBase | U128 = 0 | (none) |
| Removed | SignedPhase | U32 = 0 | (none) |
| Removed | UnsignedPhase | U32 = 150 | (none) |
Grandpa
Storage
| Status | Name | v7.4 | v8.0 |
|---|---|---|---|
| Added | Authorities | (none) | Plain (Default) — WeakBoundedVec<(Public, U64)> |
Constants
| Status | Name | v7.4 | v8.0 |
|---|---|---|---|
| Added | MaxNominators | (none) | U32 = 1024 |
Historical
Events
| Status | Name | v7.4 | v8.0 |
|---|---|---|---|
| Added | RootStored | (none) | index: SessionIndex |
| Added | RootsPruned | (none) | up_to: SessionIndex |
Storage
| Status | Name | v7.4 | v8.0 |
|---|---|---|---|
| Added | HistoricalSessions | (none) | Map (Optional) — hashers: Twox64Concat, key: U32, value: (H256, U32) |
| Added | StoredRange | (none) | Plain (Optional) — (U32, U32) |
Identity
Calls
| Status | Name | v7.4 | v8.0 |
|---|---|---|---|
| Added | register_did | (none) | target_account: T::AccountId |
| Added | self_register_did | (none) | (none) |
| Removed | change_cdd_requirement_for_mk_rotation | auth_required: bool | (none) |
| Removed | create_child_identities | child_keys: Vec<CreateChildIdentityWithAuth<T::AccountId>>, expires_at: T::Moment | (none) |
| Removed | create_child_identity | secondary_key: T::AccountId | (none) |
| Removed | invalidate_cdd_claims | cdd: IdentityId, disable_from: T::Moment, expiry: Option<T::Moment> | (none) |
| Removed | unlink_child_identity | child_did: IdentityId | (none) |
| Modified | accept_primary_key | rotation_auth_id: u64, optional_cdd_auth_id: Option<u64> | rotation_auth_id: u64 |
| Modified | rotate_primary_key_to_secondary | auth_id: u64, optional_cdd_auth_id: Option<u64> | auth_id: u64 |
Events
| Status | Name | v7.4 | v8.0 |
|---|---|---|---|
| Removed | AssetDidRegistered | IdentityId, Ticker | (none) |
| Removed | CddClaimsInvalidated | IdentityId, T::Moment | (none) |
| Removed | CddRequirementForPrimaryKeyUpdated | bool | (none) |
| Removed | ChildDidCreated | IdentityId, IdentityId, T::AccountId | (none) |
| Removed | ChildDidUnlinked | IdentityId, IdentityId, IdentityId | (none) |
Errors
| Status | Name |
|---|---|
| Added | IdentityNotFoundForAccountPortfolio |
| Added | InvalidAuthorizationFromDidRegistrar |
| Added | NotDidRegistrarAttestation |
| Added | TargetDidInactive |
| Added | UnAuthorizedDidRegistrar |
| Added | UnauthorizedCallerDidInactive |
| Removed | AccountBasedPortfoliosCannotHaveCustodians |
| Removed | InvalidAuthorizationFromCddProvider |
| Removed | IsChildIdentity |
| Removed | NoParentIdentity |
| Removed | NotCddProviderAttestation |
| Removed | NotParentOrChildIdentity |
| Removed | TargetHasNoCdd |
| Removed | UnAuthorizedCddProvider |
| Removed | UnauthorizedCallerDidMissingCdd |
Storage
| Status | Name | v7.4 | v8.0 |
|---|---|---|---|
| Removed | CddAuthForPrimaryKeyRotation | Plain (Default) — Bool | (none) |
| Removed | ChildDid | DoubleMap/NMap (Default) — hashers: Identity, Identity, key: (IdentityId, IdentityId), value: Bool | (none) |
| Removed | CurrentPayer | Plain (Optional) — AccountId32 | (none) |
| Removed | ParentDid | Map (Optional) — hashers: Identity, key: IdentityId, value: IdentityId | (none) |
| Removed | StorageVersion | Plain (Default) — Version | (none) |
ImOnline
Storage
| Status | Name | v7.4 | v8.0 |
|---|---|---|---|
| Modified | ReceivedHeartbeats | DoubleMap/NMap (Optional) — hashers: Twox64Concat, Twox64Concat, key: (U32, U32), value: WrapperOpaque<BoundedOpaqueNetworkState> | DoubleMap/NMap (Optional) — hashers: Twox64Concat, Twox64Concat, key: (U32, U32), value: Bool |
Indices
Calls
| Status | Name | v7.4 | v8.0 |
|---|---|---|---|
| Added | poke_deposit | (none) | index: T::AccountIndex |
Events
| Status | Name | v7.4 | v8.0 |
|---|---|---|---|
| Added | DepositPoked | (none) | who: T::AccountId, index: T::AccountIndex, old_deposit: BalanceOf<T>, new_deposit: BalanceOf<T> |
MultiSig
Errors
| Status | Name |
|---|---|
| Removed | ChangeNotAllowed |
Nft
Calls
| Status | Name | v7.4 | v8.0 |
|---|---|---|---|
| Added | transfer_nft | (none) | nfts: NFTs, to: T::AccountId, memo: Option<Memo> |
| Modified | controller_transfer | nfts: NFTs, source_portfolio: PortfolioId, callers_portfolio_kind: PortfolioKind | nfts: NFTs, source: AssetHolder, destination_kind: AssetHolderKind |
| Modified | issue_nft | asset_id: AssetId, nft_metadata_attributes: Vec<NFTMetadataAttribute>, portfolio_kind: PortfolioKind | asset_id: AssetId, nft_metadata_attributes: Vec<NFTMetadataAttribute>, holdings_kind: AssetHolderKind |
| Modified | redeem_nft | asset_id: AssetId, nft_id: NFTId, portfolio_kind: PortfolioKind, number_of_keys: Option<u8> | asset_id: AssetId, nft_id: NFTId, holdings_kind: AssetHolderKind, number_of_keys: Option<u8> |
Events
| Status | Name | v7.4 | v8.0 |
|---|---|---|---|
| Added | NFTHoldingsUpdated | (none) | IdentityId, NFTs, Option<AssetHolder>, Option<AssetHolder>, HoldingsUpdateReason |
| Removed | NFTPortfolioUpdated | IdentityId, NFTs, Option<PortfolioId>, Option<PortfolioId>, PortfolioUpdateReason | (none) |
Errors
| Status | Name |
|---|---|
| Added | InvalidNFTTransferInvalidReceiverDID |
| Added | InvalidNFTTransferSenderDidMatchesReceiverDid |
| Added | NFTIsNotLocked |
| Removed | InvalidNFTTransferInvalidReceiverCDD |
| Removed | InvalidNFTTransferInvalidSenderCDD |
| Removed | InvalidNFTTransferSenderIdMatchesReceiverId |
Storage
| Status | Name | v7.4 | v8.0 |
|---|---|---|---|
| Removed | NFTOwner | DoubleMap/NMap (Optional) — hashers: Blake2_128Concat, Blake2_128Concat, key: (AssetId, NFTId), value: PortfolioId | (none) |
| Modified | NFTHolder | DoubleMap/NMap (Default) — hashers: Twox64Concat, Blake2_128Concat, key: (AccountId32, (AssetId, NFTId)), value: NFTOwnerStatus | DoubleMap/NMap (Default) — hashers: Twox64Concat, Blake2_128Concat, Blake2_128Concat, key: (AccountId32, AssetId, NFTId), value: NFTOwnerStatus |
Offences
Storage
| Status | Name | v7.4 | v8.0 |
|---|---|---|---|
| Removed | ReportsByKindIndex | Map (Default) — hashers: Twox64Concat, key: [U8; 16], value: Vec<U8> | (none) |
Permissions
Storage
| Status | Name | v7.4 | v8.0 |
|---|---|---|---|
| Added | CurrentDispatchableName | (none) | Plain (Default) — ExtrinsicName |
| Added | CurrentPalletName | (none) | Plain (Default) — PalletName |
Pips
Calls
| Status | Name | v7.4 | v8.0 |
|---|---|---|---|
| Modified | snapshot | (none) | limit: u32 |
Errors
| Status | Name |
|---|---|
| Added | SnapshotLimitTooSmall |
Portfolio
Calls
| Status | Name | v7.4 | v8.0 |
|---|---|---|---|
| Modified | delete_portfolio | num: PortfolioNumber | portfolio_number: PortfolioNumber |
| Modified | rename_portfolio | num: PortfolioNumber, to_name: PortfolioName | portfolio_number: PortfolioNumber, new_portfolio_name: PortfolioName |
Errors
| Status | Name |
|---|---|
| Removed | AccountBasedPortfoliosCannotHaveCustodians |
| Removed | InvalidTransferSenderIdMatchesReceiverId |
Storage
| Status | Name | v7.4 | v8.0 |
|---|---|---|---|
| Removed | StorageVersion | Plain (Default) — Version | (none) |
| Modified | PortfolioNFT | DoubleMap/NMap (Default) — hashers: Twox64Concat, Blake2_128Concat, key: (PortfolioId, (AssetId, NFTId)), value: Bool | DoubleMap/NMap (Default) — hashers: Twox64Concat, Blake2_128Concat, Blake2_128Concat, key: (PortfolioId, AssetId, NFTId), value: Bool |
Preimage
Calls
| Status | Name | v7.4 | v8.0 |
|---|---|---|---|
| Added | ensure_updated | (none) | hashes: Vec<T::Hash> |
Errors
| Status | Name |
|---|---|
| Added | TooFew |
| Added | TooMany |
Storage
| Status | Name | v7.4 | v8.0 |
|---|---|---|---|
| Added | RequestStatusFor | (none) | Map (Optional) — hashers: Identity, key: H256, value: RequestStatus<AccountId32, HoldConsideration> |
| Modified | StatusFor | Map (Optional) — hashers: Identity, key: H256, value: RequestStatus<AccountId32, U128> | Map (Optional) — hashers: Identity, key: H256, value: OldRequestStatus<AccountId32, U128> |
Relayer
Calls
| Status | Name | v7.4 | v8.0 |
|---|---|---|---|
| Added | accept_subsidy | (none) | paying_key: T::AccountId |
| Added | approve_subsidy | (none) | user_key: T::AccountId, polyx_limit: Balance |
| Added | relay_tx | (none) | target: T::AccountId, signature: T::OffChainSignature, call: Box<<T as pallet_utility::Config>::RuntimeCall>, expires_at: T::Moment |
| Added | remove_subsidy | (none) | user_key: T::AccountId, paying_key: T::AccountId |
| Added | revoke_subsidy | (none) | user_key: T::AccountId |
| Removed | accept_paying_key | auth_id: u64 | (none) |
| Removed | remove_paying_key | user_key: T::AccountId, paying_key: T::AccountId | (none) |
| Removed | set_paying_key | user_key: T::AccountId, polyx_limit: Balance | (none) |
Events
| Status | Name | v7.4 | v8.0 |
|---|---|---|---|
| Added | AcceptedSubsidy | (none) | user_key: T::AccountId, paying_key: T::AccountId, initial_polyx_limit: Balance |
| Added | ApprovedSubsidy | (none) | user_key: T::AccountId, paying_key: T::AccountId, initial_polyx_limit: Balance |
| Added | RelayedTx | (none) | caller: T::AccountId, target: T::AccountId, result: DispatchResult |
| Added | RemovedPendingSubsidy | (none) | user_key: T::AccountId, paying_key: T::AccountId, initial_polyx_limit: Balance |
| Added | RemovedSubsidy | (none) | user_key: T::AccountId, paying_key: T::AccountId, remaining: Balance |
| Added | SubsidyDebited | (none) | user_key: T::AccountId, paying_key: T::AccountId, amount: Balance |
| Removed | AcceptedPayingKey | EventDid, T::AccountId, T::AccountId | (none) |
| Removed | AuthorizedPayingKey | EventDid, T::AccountId, T::AccountId, Balance, u64 | (none) |
| Removed | RemovedPayingKey | EventDid, T::AccountId, T::AccountId | (none) |
| Modified | UpdatedPolyxLimit | EventDid, T::AccountId, T::AccountId, Balance, Balance | user_key: T::AccountId, paying_key: T::AccountId, remaining: Balance, old_remaining: Balance |
Errors
| Status | Name |
|---|---|
| Added | ExpiredRelayTx |
| Added | InvalidSignature |
| Added | NoPendingSubsidy |
| Added | NotAuthorized |
| Removed | BadAuthorizationType |
| Removed | IdentityNotFound |
| Removed | NotAuthorizedForPayingKey |
| Removed | NotAuthorizedForUserKey |
| Removed | PayingKeyCddMissing |
| Removed | UserKeyCddMissing |
Storage
| Status | Name | v7.4 | v8.0 |
|---|---|---|---|
| Added | PendingSubsidies | (none) | DoubleMap/NMap (Optional) — hashers: Blake2_128Concat, Blake2_128Concat, key: (AccountId32, AccountId32), value: U128 |
| Added | RelayTxNonces | (none) | Map (Default) — hashers: Twox64Concat, key: AccountId32, value: U64 |
Scheduler
Calls
| Status | Name | v7.4 | v8.0 |
|---|---|---|---|
| Added | cancel_retry | (none) | task: TaskAddress<BlockNumberFor<T>> |
| Added | cancel_retry_named | (none) | id: TaskName |
| Added | set_retry | (none) | task: TaskAddress<BlockNumberFor<T>>, retries: u8, period: BlockNumberFor<T> |
| Added | set_retry_named | (none) | id: TaskName, retries: u8, period: BlockNumberFor<T> |