Skip to content

Zondax/ledger-polymesh

Repository files navigation

Ledger Polymesh app

License GithubActions


zondax_light zondax_dark

Please visit our website at zondax.ch


This project contains the Polymesh app (https://polymath.network/) for Ledger Nano S and X.

  • Ledger Nano S/X BOLOS app
  • Specs / Documentation
  • C++ unit tests
  • Zemu tests

For more information: How to build

ATTENTION

Please:

  • Do not use in production
  • Do not use a Ledger device with funds for development purposes.
  • Have a separate and marked device that is used ONLY for development and testing

Polymesh 7.7000000.x

System

Name Nano S Nano SP/X - Stax Nesting Arguments
Remark ✔️ ✔️ Bytesremark
Set heap pages ✔️ ✔️ u64pages
Set code ✔️ ✔️ Bytescode
Set code without checks ✔️ ✔️ Vecu8code
Set storage VecKeyValueitems
Kill storage VecKeykeys
Kill prefix Keyprefix
u32subkeys
Remark with event ✔️ ✔️ Bytesremark

Babe

Name Nano S Nano SP/X - Stax Nesting Arguments
Report equivocation BoxEquivocationProofHeaderequivocation_proof
KeyOwnerProofkey_owner_proof
Report equivocation unsigned BoxEquivocationProofHeaderequivocation_proof
KeyOwnerProofkey_owner_proof
Plan config change NextConfigDescriptorconfig

Timestamp

Name Nano S Nano SP/X - Stax Nesting Arguments
Set ✔️ ✔️ Compactu64now

Indices

Name Nano S Nano SP/X - Stax Nesting Arguments
Claim ✔️ ✔️ AccountIndexindex
Transfer ✔️ ✔️ AccountIdLookupOfTnew_
AccountIndexindex
Free ✔️ ✔️ AccountIndexindex
Force transfer ✔️ ✔️ AccountIdLookupOfTnew_
AccountIndexindex
boolfreeze
Freeze ✔️ ✔️ AccountIndexindex

Balances

Name Nano S Nano SP/X - Stax Nesting Arguments
Transfer ✔️ ✔️ ✔️ LookupasStaticLookupSourcedest
CompactBalanceamount
Transfer with memo ✔️ ✔️ ✔️ LookupasStaticLookupSourcedest
CompactBalanceamount
OptionMemomemo
Deposit block reward reserve balance ✔️ ✔️ CompactBalanceamount
Set balance ✔️ ✔️ LookupasStaticLookupSourcewho
CompactBalancenew_free
CompactBalancenew_reserved
Force transfer ✔️ ✔️ LookupasStaticLookupSourcesource
LookupasStaticLookupSourcedest
CompactBalanceamount
Burn account balance ✔️ ✔️ Balanceamount

Identity

Name Nano S Nano SP/X - Stax Nesting Arguments
Cdd register did ✔️ ✔️ AccountIdtarget_account
VecSecondaryKeyAccountIdsecondary_keys
Invalidate cdd claims ✔️ ✔️ IdentityIdcdd
Momentdisable_from
OptionMomentexpiry
Accept primary key ✔️ ✔️ ✔️ u64rotation_auth_id
Optionu64optional_cdd_auth_id
Change cdd requirement for mk rotation ✔️ ✔️ boolauth_required
Join identity as key ✔️ ✔️ ✔️ u64auth_id
Leave identity as key ✔️ ✔️ ✔️
Add claim ✔️ ✔️ ✔️ IdentityIdtarget
Claimclaim
OptionMomentexpiry
Revoke claim ✔️ ✔️ ✔️ IdentityIdtarget
Claimclaim
Freeze secondary keys ✔️ ✔️ ✔️
Unfreeze secondary keys ✔️ ✔️ ✔️
Add authorization ✔️ ✔️ ✔️ SignatoryAccountIdtarget
AuthorizationDataAccountIddata
OptionMomentexpiry
Remove authorization ✔️ ✔️ ✔️ SignatoryAccountIdtarget
u64auth_id
bool_auth_issuer_pays
Gc add cdd claim ✔️ ✔️ IdentityIdtarget
Gc revoke cdd claim ✔️ ✔️ IdentityIdtarget
Revoke claim by index ✔️ ✔️ IdentityIdtarget
ClaimTypeclaim_type
OptionScopescope
Rotate primary key to secondary ✔️ ✔️ u64auth_id
Optionu64optional_cdd_auth_id
Add secondary keys with authorization ✔️ ✔️ ✔️ VecSecondaryKeyWithAuthAccountIdadditional_keys
Momentexpires_at
Set secondary key permissions ✔️ ✔️ AccountIdkey
Permissionsperms
Remove secondary keys ✔️ ✔️ ✔️ VecAccountIdkeys_to_remove
Register custom claim type ✔️ ✔️ Vecu8ty
Cdd register did with cdd ✔️ ✔️ AccountIdtarget_account
VecSecondaryKeyAccountIdsecondary_keys
OptionMomentexpiry
Create child identity ✔️ ✔️ AccountIdsecondary_key
Create child identities ✔️ ✔️ VecCreateChildIdentityWithAuthAccountIdchild_keys
Momentexpires_at
Unlink child identity ✔️ ✔️ IdentityIdchild_did

CddServiceProviders

Name Nano S Nano SP/X - Stax Nesting Arguments
Set active members limit ✔️ ✔️ MemberCountlimit
Disable member ✔️ ✔️ IdentityIdwho
OptionMomentexpiry
OptionMomentat
Add member ✔️ ✔️ IdentityIdwho
Remove member ✔️ ✔️ IdentityIdwho
Swap member ✔️ ✔️ IdentityIdremove
IdentityIdadd
Reset members ✔️ ✔️ VecIdentityIdmembers
Abdicate membership ✔️ ✔️

PolymeshCommittee

Name Nano S Nano SP/X - Stax Nesting Arguments
Set vote threshold ✔️ ✔️ u32n
u32d
Set release coordinator ✔️ ✔️ IdentityIdid
Set expires after ✔️ ✔️ MaybeBlockBlockNumberexpiry
Vote or propose ✔️ ✔️ boolapprove
Proposalcall
Vote ✔️ ✔️ Hashproposal
ProposalIndexindex
boolapprove

CommitteeMembership

Name Nano S Nano SP/X - Stax Nesting Arguments
Set active members limit ✔️ ✔️ MemberCountlimit
Disable member ✔️ ✔️ IdentityIdwho
OptionMomentexpiry
OptionMomentat
Add member ✔️ ✔️ IdentityIdwho
Remove member ✔️ ✔️ IdentityIdwho
Swap member ✔️ ✔️ IdentityIdremove
IdentityIdadd
Reset members ✔️ ✔️ VecIdentityIdmembers
Abdicate membership ✔️ ✔️

TechnicalCommittee

Name Nano S Nano SP/X - Stax Nesting Arguments
Set vote threshold ✔️ ✔️ u32n
u32d
Set release coordinator ✔️ ✔️ IdentityIdid
Set expires after ✔️ ✔️ MaybeBlockBlockNumberexpiry
Vote or propose ✔️ ✔️ boolapprove
Proposalcall
Vote ✔️ ✔️ Hashproposal
ProposalIndexindex
boolapprove

TechnicalCommitteeMembership

Name Nano S Nano SP/X - Stax Nesting Arguments
Set active members limit ✔️ ✔️ MemberCountlimit
Disable member ✔️ ✔️ IdentityIdwho
OptionMomentexpiry
OptionMomentat
Add member ✔️ ✔️ IdentityIdwho
Remove member ✔️ ✔️ IdentityIdwho
Swap member ✔️ ✔️ IdentityIdremove
IdentityIdadd
Reset members ✔️ ✔️ VecIdentityIdmembers
Abdicate membership ✔️ ✔️

UpgradeCommittee

Name Nano S Nano SP/X - Stax Nesting Arguments
Set vote threshold ✔️ ✔️ u32n
u32d
Set release coordinator ✔️ ✔️ IdentityIdid
Set expires after ✔️ ✔️ MaybeBlockBlockNumberexpiry
Vote or propose ✔️ ✔️ boolapprove
Proposalcall
Vote ✔️ ✔️ Hashproposal
ProposalIndexindex
boolapprove

UpgradeCommitteeMembership

Name Nano S Nano SP/X - Stax Nesting Arguments
Set active members limit ✔️ ✔️ MemberCountlimit
Disable member ✔️ ✔️ IdentityIdwho
OptionMomentexpiry
OptionMomentat
Add member ✔️ ✔️ IdentityIdwho
Remove member ✔️ ✔️ IdentityIdwho
Swap member ✔️ ✔️ IdentityIdremove
IdentityIdadd
Reset members ✔️ ✔️ VecIdentityIdmembers
Abdicate membership ✔️ ✔️

MultiSig

Name Nano S Nano SP/X - Stax Nesting Arguments
Create multisig ✔️ ✔️ ✔️ BoundedVecAccountIdMaxSignerssigners
u64sigs_required
OptionPermissionspermissions
Create proposal ✔️ ✔️ AccountIdmultisig
BoxTasConfigProposalproposal
OptionMomentexpiry
Approve ✔️ ✔️ AccountIdmultisig
u64proposal_id
OptionWeightmax_weight
Reject ✔️ ✔️ AccountIdmultisig
u64proposal_id
Accept multisig signer ✔️ ✔️ u64auth_id
Add multisig signers ✔️ ✔️ BoundedVecAccountIdMaxSignerssigners
Remove multisig signers ✔️ ✔️ BoundedVecAccountIdMaxSignerssigners
Add multisig signers via admin ✔️ ✔️ AccountIdmultisig
BoundedVecAccountIdMaxSignerssigners
Remove multisig signers via admin ✔️ ✔️ AccountIdmultisig
BoundedVecAccountIdMaxSignerssigners
Change sigs required ✔️ ✔️ ✔️ u64sigs_required
Change sigs required via admin ✔️ ✔️ AccountIdmultisig
u64signatures_required
Add admin ✔️ ✔️ IdentityIdadmin_did
Remove admin via admin ✔️ ✔️ AccountIdmultisig
Remove payer ✔️ ✔️
Remove payer via payer ✔️ ✔️ AccountIdmultisig
Approve join identity ✔️ ✔️ AccountIdmultisig
u64auth_id
Join identity ✔️ ✔️ u64auth_id

Staking

Name Nano S Nano SP/X - Stax Nesting Arguments
Bond ✔️ ✔️ ✔️ AccountIdLookupOfTcontroller
CompactBalanceamount
RewardDestinationpayee
Bond extra ✔️ ✔️ ✔️ CompactBalanceamount
Unbond ✔️ ✔️ ✔️ ✔️
Withdraw Unbonded ✔️ ✔️ ✔️ u32num_slashing_spans
Validate ✔️ ✔️ ✔️ ValidatorPrefsprefs
Nominate ✔️ ✔️ ✔️ VecAccountIdLookupOfTtargets
Chill ✔️ ✔️ ✔️ ✔️
Set payee ✔️ ✔️ ✔️ RewardDestinationpayee
Set controller ✔️ ✔️ ✔️ AccountIdLookupOfTcontroller
Set validator count ✔️ ✔️ Compactu32new_
Increase validator count ✔️ ✔️ Compactu32additional
Scale validator count ✔️ ✔️ Percentfactor
Force no eras ✔️ ✔️
Force new era ✔️ ✔️
Set invulnerables ✔️ ✔️ VecAccountIdinvulnerables
Force unstake ✔️ ✔️ AccountIdstash
u32num_slashing_spans
Force new era always ✔️ ✔️
Cancel deferred slash ✔️ ✔️ EraIndexera
Vecu32slash_indices
Payout stakers ✔️ ✔️ AccountIdvalidator_stash
EraIndexera
Rebond ✔️ ✔️ ✔️ CompactBalanceamount
Reap stash ✔️ ✔️ AccountIdstash
u32num_slashing_spans
Kick ✔️ ✔️ VecAccountIdLookupOfTwho
Set staking configs ✔️ ✔️ ConfigOpBalanceOfTmin_nominator_bond
ConfigOpBalanceOfTmin_validator_bond
ConfigOpu32max_nominator_count
ConfigOpu32max_validator_count
ConfigOpPercentchill_threshold
ConfigOpPerbillmin_commission
Chill other ✔️ ✔️ AccountIdcontroller
Force apply min commission ✔️ ✔️ AccountIdvalidator_stash
Set min commission ✔️ ✔️ Perbillnew_
Add permissioned validator ✔️ ✔️ IdentityIdidentity
Optionu32intended_count
Remove permissioned validator ✔️ ✔️ IdentityIdidentity
Validate cdd expiry nominators ✔️ ✔️ VecAccountIdtargets
Payout stakers by system ✔️ ✔️ AccountIdvalidator_stash
EraIndexera
Change slashing allowed for ✔️ ✔️ SlashingSwitchslashing_switch
Update permissioned validator intended count ✔️ ✔️ IdentityIdidentity
u32new_intended_count
Chill from governance ✔️ ✔️ IdentityIdidentity
VecAccountIdstash_keys
Set commission cap ✔️ ✔️ ✔️

Session

Name Nano S Nano SP/X - Stax Nesting Arguments
Set keys ✔️ ✔️ Keyskeys
Bytesproof
Purge keys ✔️ ✔️

Grandpa

Name Nano S Nano SP/X - Stax Nesting Arguments
Report equivocation BoxEquivocationProofHashBlockNumberequivocation_proof
KeyOwnerProofkey_owner_proof
Report equivocation unsigned BoxEquivocationProofHashBlockNumberequivocation_proof
KeyOwnerProofkey_owner_proof
Note stalled BlockNumberdelay
BlockNumberbest_finalized_block_number

ImOnline

Name Nano S Nano SP/X - Stax Nesting Arguments
Heartbeat HeartbeatBlockNumberheartbeat
AuthorityIdasRuntimeAppPublicSignaturesignature

Sudo

Name Nano S Nano SP/X - Stax Nesting Arguments
Sudo ✔️ Callcall
Sudo unchecked weight ✔️ Callcall
Weight_weight
Set key ✔️ LookupasStaticLookupSourcenew_
Sudo as ✔️ LookupasStaticLookupSourcewho
Callcall

Asset

Name Nano S Nano SP/X - Stax Nesting Arguments
Register unique ticker ✔️ Tickerticker
Accept ticker transfer ✔️ ✔️ u64auth_id
Accept asset ownership transfer ✔️ ✔️ u64auth_id
Create asset ✔️ ✔️ AssetNameasset_name
booldivisible
AssetTypeasset_type
VecAssetIdentifierasset_identifiers
OptionFundingRoundNamefunding_round_name
Freeze ✔️ ✔️ AssetIdasset_id
Unfreeze ✔️ ✔️ AssetIdasset_id
Rename asset ✔️ ✔️ AssetIdasset_id
AssetNameasset_name
Issue ✔️ ✔️ AssetIdasset_id
BalanceNoSymbolamount
PortfolioKindportfolio_kind
Redeem ✔️ ✔️ AssetIdasset_id
BalanceNoSymbolamount
PortfolioKindportfolio_kind
Make divisible ✔️ ✔️ AssetIdasset_id
Add documents ✔️ ✔️ VecDocumentdocs
AssetIdasset_id
Remove documents ✔️ ✔️ VecDocumentIddocs_id
AssetIdasset_id
Set funding round ✔️ ✔️ AssetIdasset_id
FundingRoundNamefounding_round_name
Update identifiers ✔️ ✔️ AssetIdasset_id
VecAssetIdentifierasset_identifiers
Controller transfer ✔️ AssetIdasset_id
BalanceNoSymbolamount
PortfolioIdfrom_portfolio
Register custom asset type ✔️ Vecu8ty
Create asset with custom type ✔️ AssetNameasset_name
booldivisible
Vecu8custom_asset_type
VecAssetIdentifierasset_identifiers
OptionFundingRoundNamefunding_round_name
Set asset metadata ✔️ AssetIdasset_id
AssetMetadataKeykey
AssetMetadataValuevalue
OptionAssetMetadataValueDetailMomentdetail
Set asset metadata details ✔️ AssetIdasset_id
AssetMetadataKeykey
AssetMetadataValueDetailMomentdetail
Register and set local asset metadata ✔️ AssetIdasset_id
AssetMetadataNamename
AssetMetadataSpecspec
AssetMetadataValuevalue
OptionAssetMetadataValueDetailMomentdetail
Register asset metadata local type ✔️ AssetIdasset_id
AssetMetadataNamename
AssetMetadataSpecspec
Register asset metadata global type ✔️ AssetMetadataNamename
AssetMetadataSpecspec
Update asset type ✔️ AssetIdasset_id
AssetTypeasset_type
Remove local metadata key ✔️ AssetIdasset_id
AssetMetadataLocalKeylocal_key
Remove metadata value ✔️ AssetIdasset_id
AssetMetadataKeymetadata_key
Exempt asset affirmation ✔️ AssetIdasset_id
Remove asset affirmation exemption ✔️ AssetIdasset_id
Pre approve asset ✔️ AssetIdasset_id
Remove asset pre approval ✔️ AssetIdasset_id
Add mandatory mediators ✔️ AssetIdasset_id
BoundedBTreeSetIdentityIdMaxAssetMediatorsmediators
Remove mandatory mediators ✔️ AssetIdasset_id
BoundedBTreeSetIdentityIdMaxAssetMediatorsmediators
Link ticker to asset id ✔️ Tickerticker
AssetIdasset_id
Unlink ticker from asset id ✔️ Tickerticker
AssetIdasset_id

CapitalDistribution

Name Nano S Nano SP/X - Stax Nesting Arguments
Distribute ✔️ ✔️ CAIdca_id
OptionPortfolioNumberportfolio
AssetIdcurrency
Balanceper_share
Balanceamount
Momentpayment_at
OptionMomentexpires_at
Claim ✔️ ✔️ CAIdca_id
Push benefit ✔️ ✔️ CAIdca_id
IdentityIdholder
Reclaim ✔️ ✔️ CAIdca_id
Remove distribution ✔️ ✔️ CAIdca_id

Checkpoint

Name Nano S Nano SP/X - Stax Nesting Arguments
Create checkpoint ✔️ ✔️ AssetIdasset_id
Set schedules max complexity ✔️ ✔️ u64max_complexity
Create schedule ✔️ ✔️ AssetIdasset_id
ScheduleCheckpointsschedule
Remove schedule ✔️ ✔️ AssetIdasset_id
ScheduleIdid

ComplianceManager

Name Nano S Nano SP/X - Stax Nesting Arguments
Add compliance requirement ✔️ ✔️ AssetIdasset_id
VecConditionsender_conditions
VecConditionreceiver_conditions
Remove compliance requirement ✔️ ✔️ AssetIdasset_id
u32id
Replace asset compliance ✔️ ✔️ AssetIdasset_id
VecComplianceRequirementasset_compliance
Reset asset compliance ✔️ ✔️ AssetIdasset_id
Pause asset compliance ✔️ ✔️ AssetIdasset_id
Resume asset compliance ✔️ ✔️ AssetIdasset_id
Add default trusted claim issuer ✔️ ✔️ AssetIdasset_id
TrustedIssuerissuer
Remove default trusted claim issuer ✔️ ✔️ AssetIdasset_id
IdentityIdissuer
Change compliance requirement ✔️ ✔️ AssetIdasset_id
ComplianceRequirementnew_req

CorporateAction

Name Nano S Nano SP/X - Stax Nesting Arguments
Set max details length ✔️ ✔️ u32length
Set default targets ✔️ ✔️ AssetIdasset_id
TargetIdentitiestargets
Set default withholding tax ✔️ ✔️ AssetIdasset_id
Taxtax
Set did withholding tax ✔️ ✔️ AssetIdasset_id
IdentityIdtaxed_did
OptionTaxtax
Initiate corporate action ✔️ ✔️ AssetIdasset_id
CAKindkind
Momentdecl_date
OptionRecordDateSpecrecord_date
CADetailsdetails
OptionTargetIdentitiestargets
OptionTaxdefault_withholding_tax
OptionVecTupleIdentityIdTaxwithholding_tax
Link ca doc ✔️ ✔️ CAIdid
VecDocumentIddocs
Remove ca ✔️ ✔️ CAIdca_id
Change record date ✔️ ✔️ CAIdca_id
OptionRecordDateSpecrecord_date
Initiate corporate action and distribute ✔️ ✔️ InitiateCorporateActionArgsca_args
OptionPortfolioNumberportfolio
AssetIdcurrency
Balanceper_share
Balanceamount
Momentpayment_at
OptionMomentexpires_at

CorporateBallot

Name Nano S Nano SP/X - Stax Nesting Arguments
Attach ballot ✔️ ✔️ CAIdca_id
BallotTimeRangerange
BallotMetameta
boolrcv
Vote ✔️ ✔️ CAIdca_id
VecBallotVotevotes
Change end ✔️ ✔️ CAIdca_id
Momentend
Change meta ✔️ ✔️ CAIdca_id
BallotMetameta
Change rcv ✔️ ✔️ CAIdca_id
boolrcv
Remove ballot ✔️ ✔️ CAIdca_id

Pips

Name Nano S Nano SP/X - Stax Nesting Arguments
Set prune historical pips ✔️ ✔️ boolprune
Set min proposal deposit ✔️ ✔️ Balancedeposit
Set default enactment period ✔️ ✔️ BlockNumberduration
Set pending pip expiry ✔️ ✔️ MaybeBlockBlockNumberexpiry
Set max pip skip count ✔️ ✔️ SkippedCountmax
Set active pip limit ✔️ ✔️ u32limit
Propose ✔️ ✔️ ✔️ Proposalproposal
Balancedeposit
OptionUrlurl
OptionPipDescriptiondescription
Vote ✔️ ✔️ ✔️ PipIdid
boolaye_or_nay
Balancedeposit
Approve committee proposal ✔️ ✔️ PipIdid
Reject proposal ✔️ ✔️ PipIdid
Prune proposal ✔️ ✔️ PipIdid
Reschedule execution ✔️ ✔️ PipIdid
OptionBlockNumberuntil
Clear snapshot ✔️ ✔️
Snapshot ✔️ ✔️
Enact snapshot results ✔️ ✔️ VecTuplePipIdSnapshotResultresults
Execute scheduled pip ✔️ ✔️ PipIdid
Expire scheduled pip ✔️ ✔️ IdentityIddid
PipIdid

Portfolio

Name Nano S Nano SP/X - Stax Nesting Arguments
Create portfolio ✔️ ✔️ PortfolioNamename
Delete portfolio ✔️ ✔️ PortfolioNumbernum
Rename portfolio ✔️ ✔️ PortfolioNumbernum
PortfolioNameto_name
Quit portfolio custody ✔️ PortfolioIdpid
Accept portfolio custody ✔️ u64auth_id
Move portfolio funds ✔️ ✔️ PortfolioIdfrom
PortfolioIdto
VecFundfunds
Pre approve portfolio ✔️ AssetIdasset_id
PortfolioIdportfolio_id
Remove portfolio pre approval ✔️ AssetIdasset_id
PortfolioIdportfolio_id
Allow identity to create portfolios ✔️ IdentityIdtrusted_identity
Revoke create portfolios permission ✔️ IdentityIdidentity
Create custody portfolio ✔️ IdentityIdportfolio_owner_id
PortfolioNameportfolio_name

ProtocolFee

Name Nano S Nano SP/X - Stax Nesting Arguments
Change coefficient ✔️ ✔️ PosRatiocoefficient
Change base fee ProtocolOpop
Balancebase_fee

Scheduler

Name Nano S Nano SP/X - Stax Nesting Arguments
Schedule BlockNumberwhen
OptionschedulePeriodBlockNumbermaybe_periodic
schedulePrioritypriority
Callcall
Cancel BlockNumberwhen
u32index
Schedule named TaskNameid
BlockNumberwhen
OptionschedulePeriodBlockNumbermaybe_periodic
schedulePrioritypriority
Callcall
Cancel named TaskNameid
Schedule after BlockNumberafter
OptionschedulePeriodBlockNumbermaybe_periodic
schedulePrioritypriority
Callcall
Schedule named after TaskNameid
BlockNumberafter
OptionschedulePeriodBlockNumbermaybe_periodic
schedulePrioritypriority
Callcall

Settlement

Name Nano S Nano SP/X - Stax Nesting Arguments
Create venue ✔️ ✔️ VenueDetailsdetails
VecAccountIdsigners
VenueTypetyp
Update venue details ✔️ VenueIdid
VenueDetailsdetails
Update venue type ✔️ VenueIdid
VenueTypetyp
Affirm with receipts ✔️ ✔️ InstructionIdid
VecReceiptDetailsreceipt_details
VecPortfolioIdportfolios
Set venue filtering ✔️ ✔️ AssetIdasset_id
boolenabled
Allow venues ✔️ ✔️ AssetIdasset_id
VecVenueIdvenues
Disallow venues ✔️ ✔️ AssetIdasset_id
VecVenueIdvenues
Update venue signers ✔️ VenueIdid
VecAccountIdsigners
booladd_signers
Execute manual instruction ✔️ InstructionIdid
OptionPortfolioIdportfolio
u32fungible_transfers
u32nfts_transfers
u32offchain_transfers
OptionWeightweight_limit
Add instruction ✔️ ✔️ OptionVenueIdvenue_id
SettlementTypeBlockNumbersettlement_type
OptionMomenttrade_date
OptionMomentvalue_date
VecLeglegs
OptionMemoinstruction_memo
Add and affirm instruction ✔️ ✔️ OptionVenueIdvenue_id
SettlementTypeBlockNumbersettlement_type
OptionMomenttrade_date
OptionMomentvalue_date
VecLeglegs
VecPortfolioIdportfolios
OptionMemoinstruction_memo
Affirm instruction ✔️ ✔️ InstructionIdid
VecPortfolioIdportfolios
Withdraw affirmation ✔️ ✔️ InstructionIdid
VecPortfolioIdportfolios
Reject instruction ✔️ ✔️ InstructionIdid
PortfolioIdportfolio
Execute scheduled instruction ✔️ ✔️ InstructionIdid
Weightweight_limit
Affirm with receipts with count ✔️ InstructionIdid
VecReceiptDetailsreceipt_details
VecPortfolioIdportfolios
OptionAffirmationCountnumber_of_assets
Affirm instruction with count ✔️ InstructionIdid
VecPortfolioIdportfolios
OptionAffirmationCountnumber_of_assets
Reject instruction with count ✔️ InstructionIdid
PortfolioIdportfolio
OptionAssetCountnumber_of_assets
Withdraw affirmation with count ✔️ InstructionIdid
VecPortfolioIdportfolios
OptionAffirmationCountnumber_of_assets
Add instruction with mediators ✔️ OptionVenueIdvenue_id
SettlementTypeBlockNumbersettlement_type
OptionMomenttrade_date
OptionMomentvalue_date
VecLeglegs
OptionMemoinstruction_memo
BoundedBTreeSetIdentityIdMaxInstructionMediatorsmediators
Add and affirm with mediators ✔️ OptionVenueIdvenue_id
SettlementTypeBlockNumbersettlement_type
OptionMomenttrade_date
OptionMomentvalue_date
VecLeglegs
VecPortfolioIdportfolios
OptionMemoinstruction_memo
BoundedBTreeSetIdentityIdMaxInstructionMediatorsmediators
Affirm instruction as mediator ✔️ InstructionIdinstruction_id
OptionMomentexpiry
Withdraw affirmation as mediator ✔️ InstructionIdinstruction_id
Reject instruction as mediator ✔️ InstructionIdinstruction_id
OptionAssetCountnumber_of_assets

Statistics

Name Nano S Nano SP/X - Stax Nesting Arguments
Set active asset stats AssetIdasset_id
BTreeSetStatTypestat_types
Batch update asset stats AssetIdasset_id
StatTypestat_type
BTreeSetStatUpdatevalues
Set asset transfer compliance AssetIdasset_id
BTreeSetTransferConditiontransfer_conditions
Set entities exempt boolis_exempt
TransferConditionExemptKeyexempt_key
BTreeSetIdentityIdentities

Sto

Name Nano S Nano SP/X - Stax Nesting Arguments
Create fundraiser ✔️ PortfolioIdoffering_portfolio
AssetIdoffering_asset
PortfolioIdraising_portfolio
AssetIdraising_asset
VecPriceTiertiers
VenueIdvenue_id
OptionMomentstart
OptionMomentend
BalanceNoSymbolminimum_investment
FundraiserNamefundraiser_name
Invest ✔️ PortfolioIdinvestment_portfolio
PortfolioIdfunding_portfolio
AssetIdoffering_asset
FundraiserIdid
BalanceNoSymbolpurchase_amount
OptionBalancemax_price
OptionReceiptDetailsreceipt
Freeze fundraiser ✔️ AssetIdoffering_asset
FundraiserIdid
Unfreeze fundraiser ✔️ AssetIdoffering_asset
FundraiserIdid
Modify fundraiser window ✔️ AssetIdoffering_asset
FundraiserIdid
Momentstart
OptionMomentend
Stop ✔️ AssetIdoffering_asset
FundraiserIdid

Treasury

Name Nano S Nano SP/X - Stax Nesting Arguments
Disbursement ✔️ ✔️ VecBeneficiarybeneficiaries
Reimbursement ✔️ ✔️ Balanceamount

Utility

Name Nano S Nano SP/X - Stax Nesting Arguments
Batch ✔️ ✔️ ✔️ VecCallcalls
Relay tx ✔️ ✔️ AccountIdtarget
OffChainSignaturesignature
UniqueCallcall
Batch all ✔️ ✔️ VecCallcalls
Dispatch as ✔️ ✔️ BoxPalletsOriginas_origin
Callcall
Force batch ✔️ ✔️ VecCallcalls
With weight ✔️ Callcall
Weightweight
As derivative ✔️ ✔️ u16index
Callcall

Base

Name Nano S Nano SP/X - Stax Nesting Arguments

ExternalAgents

Name Nano S Nano SP/X - Stax Nesting Arguments
Create group ✔️ AssetIdasset_id
ExtrinsicPermissionsperms
Set group permissions ✔️ AssetIdasset_id
AGIdid
ExtrinsicPermissionsperms
Remove agent ✔️ AssetIdasset_id
IdentityIdagent
Abdicate ✔️ AssetIdasset_id
Change group ✔️ AssetIdasset_id
IdentityIdagent
AgentGroupgroup
Accept become agent ✔️ u64auth_id
Create group and add auth ✔️ AssetIdasset_id
ExtrinsicPermissionsperms
IdentityIdtarget
OptionMomentexpiry
Create and change custom group ✔️ AssetIdasset_id
ExtrinsicPermissionsperms
IdentityIdagent

Relayer

Name Nano S Nano SP/X - Stax Nesting Arguments
Set paying key ✔️ AccountIduser_key
Balancepolyx_limit
Accept paying key ✔️ u64auth_id
Remove paying key ✔️ AccountIduser_key
AccountIdpaying_key
Update polyx limit ✔️ AccountIduser_key
Balancepolyx_limit
Increase polyx limit ✔️ AccountIduser_key
Balanceamount
Decrease polyx limit ✔️ AccountIduser_key
Balanceamount

Contracts

Name Nano S Nano SP/X - Stax Nesting Arguments
Call old weight ✔️ AccountIdLookupOfTdest
CompactBalanceamount
Compactu64gas_limit
OptionCompactBalanceOfstorage_deposit_limit
Bytesdata
Instantiate with code old weight ✔️ CompactBalanceamount
Compactu64gas_limit
OptionCompactBalanceOfstorage_deposit_limit
Bytescode
Bytesdata
Bytessalt
Instantiate old weight ✔️ CompactBalanceamount
Compactu64gas_limit
OptionCompactBalanceOfstorage_deposit_limit
CodeHashcode_hash
Bytesdata
Bytessalt
Upload code ✔️ Bytescode
OptionCompactBalanceOfstorage_deposit_limit
Determinismdeterminism
Remove code ✔️ CodeHashcode_hash
Set code ✔️ AccountIdLookupOfTdest
CodeHashcode_hash
Call ✔️ ✔️ AccountIdLookupOfTdest
CompactBalanceamount
Weightgas_limit
OptionCompactBalanceOfstorage_deposit_limit
Bytesdata
Instantiate with code ✔️ CompactBalanceamount
Weightgas_limit
OptionCompactBalanceOfstorage_deposit_limit
Bytescode
Bytesdata
Bytessalt
Instantiate ✔️ ✔️ CompactBalanceamount
Weightgas_limit
OptionCompactBalanceOfstorage_deposit_limit
CodeHashcode_hash
Bytesdata
Bytessalt

PolymeshContracts

Name Nano S Nano SP/X - Stax Nesting Arguments
Instantiate with code perms ✔️ Balanceendowment
Weightgas_limit
OptionBalancestorage_deposit_limit
Vecu8code
Vecu8data
Vecu8salt
Permissionsperms
Instantiate with hash perms ✔️ Balanceendowment
Weightgas_limit
OptionBalancestorage_deposit_limit
CodeHashcode_hash
Vecu8data
Vecu8salt
Permissionsperms
Update call runtime whitelist ✔️ VecTupleExtrinsicIdboolupdates
Instantiate with code as primary key ✔️ Balanceendowment
Weightgas_limit
OptionBalancestorage_deposit_limit
Vecu8code
Vecu8data
Vecu8salt
Instantiate with hash as primary key ✔️ Balanceendowment
Weightgas_limit
OptionBalancestorage_deposit_limit
CodeHashcode_hash
Vecu8data
Vecu8salt
Upgrade api ✔️ Apiapi
NextUpgradeTnext_upgrade

Preimage

Name Nano S Nano SP/X - Stax Nesting Arguments
Note preimage ✔️ Vecu8bytes
Unnote preimage ✔️ Hashhash
Request preimage ✔️ Hashhash
Unrequest preimage ✔️ Hashhash

Nft

Name Nano S Nano SP/X - Stax Nesting Arguments
Create nft collection ✔️ OptionAssetIdasset_id
OptionNonFungibleTypenft_type
VecAssetMetadataKeycollection_keys
Issue nft ✔️ AssetIdasset_id
VecNFTMetadataAttributenft_metadata_attributes
PortfolioKindportfolio_kind
Redeem nft ✔️ AssetIdasset_id
NFTIdnft_id
PortfolioKindportfolio_kind
Optionu8number_of_keys
Controller transfer ✔️ NFTsnfts
PortfolioIdsource_portfolio
PortfolioKindcallers_portfolio_kind

ElectionProviderMultiPhase

Name Nano S Nano SP/X - Stax Nesting Arguments
Submit unsigned ✔️ BoxRawSolutionSolutionOfMinerConfigraw_solution
SolutionOrSnapshotSizewitness
Set minimum untrusted score ✔️ OptionElectionScoremaybe_next_score
Set emergency election result ✔️ SupportsAccountIdsupports
Submit ✔️ BoxRawSolutionSolutionOfMinerConfigraw_solution
Governance fallback ✔️ Optionu32maybe_max_voters
Optionu32maybe_max_targets

TestUtils

Name Nano S Nano SP/X - Stax Nesting Arguments
Register did VecSecondaryKeyAccountIdsecondary_keys
Mock cdd register did AccountIdtarget_account
Get my did
Get cdd of AccountIdof