Skip to content

dustprotocol/ledger-reef-old

Repository files navigation

Ledger Polkadot app

License CircleCI


zondax

Please visit our website at zondax.ch


This project contains the Kusama app (https://kusama.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

Polkadot 7.9050.x

System

Name Light XL Nesting Arguments
fill_block Perbill _ratio
remark Bytes _remark
set_heap_pages u64 pages
set_code Bytes code
set_code_without_checks Bytes code
set_changes_trie_config Option<ChangesTrieConfiguration> changes_trie_config
set_storage Vec<KeyValue> items
kill_storage Vec<Key> keys
kill_prefix Key prefix
u32 _subkeys
remark_with_event Bytes remark

RandomnessCollectiveFlip

Empty

Scheduler

Name Light XL Nesting Arguments
schedule BlockNumber when
Option<Period> maybe_periodic
Priority priority
Call call
cancel BlockNumber when
u32 index
schedule_named Bytes id
BlockNumber when
Option<Period> maybe_periodic
Priority priority
Call call
cancel_named Bytes id
schedule_after BlockNumber after
Option<Period> maybe_periodic
Priority priority
Call call
schedule_named_after Bytes id
BlockNumber after
Option<Period> maybe_periodic
Priority priority
Call call

Babe

Name Light XL Nesting Arguments
report_equivocation BabeEquivocationProof equivocation_proof
KeyOwnerProof key_owner_proof
report_equivocation_unsigned BabeEquivocationProof equivocation_proof
KeyOwnerProof key_owner_proof
plan_config_change NextConfigDescriptor config

Timestamp

Name Light XL Nesting Arguments
set Compact<Moment> now

Indices

Name Light XL Nesting Arguments
claim AccountIndex index
transfer AccountId new
AccountIndex index
free AccountIndex index
force_transfer AccountId new
AccountIndex index
bool freeze
freeze AccountIndex index

Balances

Name Light XL Nesting Arguments
transfer LookupSource dest
Compact<Balance> value
set_balance LookupSource who
Compact<Balance> new_free
Compact<Balance> new_reserved
force_transfer LookupSource source
LookupSource dest
Compact<Balance> value
transfer_keep_alive LookupSource dest
Compact<Balance> value
transfer_all LookupSource dest
bool keep_alive

TransactionPayment

Empty

Authorship

Name Light XL Nesting Arguments
set_uncles Vec<Header> new_uncles

Staking

Name Light XL Nesting Arguments
bond LookupSource controller
Compact<BalanceOf> value
RewardDestination payee
bond_extra Compact<BalanceOf> max_additional
unbond Compact<BalanceOf> value
withdraw_unbonded u32 num_slashing_spans
validate ValidatorPrefs prefs
nominate Vec<LookupSource> targets
chill
set_payee RewardDestination payee
set_controller LookupSource controller
set_validator_count Compact<u32> new
increase_validator_count Compact<u32> additional
scale_validator_count Percent factor
force_no_eras
force_new_era
set_invulnerables Vec<AccountId> invulnerables
force_unstake AccountId stash
u32 num_slashing_spans
force_new_era_always
cancel_deferred_slash EraIndex era
Vec<u32> slash_indices
payout_stakers AccountId validator_stash
EraIndex era
rebond Compact<BalanceOf> value
set_history_depth Compact<EraIndex> new_history_depth
Compact<u32> _era_items_deleted
reap_stash AccountId stash
u32 num_slashing_spans
kick Vec<LookupSource> who
update_staking_limits BalanceOf min_nominator_bond
BalanceOf min_validator_bond
Option<u32> max_nominator_count
Option<u32> max_validator_count
chill_other AccountId controller

Offences

Name Light XL Nesting Arguments

Historical

Empty

Session

Name Light XL Nesting Arguments
set_keys Keys keys
Bytes proof
purge_keys

Grandpa

Name Light XL Nesting Arguments
report_equivocation GrandpaEquivocationProof equivocation_proof
KeyOwnerProof key_owner_proof
report_equivocation_unsigned GrandpaEquivocationProof equivocation_proof
KeyOwnerProof key_owner_proof
note_stalled BlockNumber delay
BlockNumber best_finalized_block_number

ImOnline

Name Light XL Nesting Arguments
heartbeat Heartbeat heartbeat
Signature _signature

AuthorityDiscovery

Name Light XL Nesting Arguments

Democracy

Name Light XL Nesting Arguments
propose Hash proposal_hash
Compact<BalanceOf> value
second Compact<PropIndex> proposal
Compact<u32> seconds_upper_bound
vote Compact<ReferendumIndex> ref_index
AccountVote vote
emergency_cancel ReferendumIndex ref_index
external_propose Hash proposal_hash
external_propose_majority Hash proposal_hash
external_propose_default Hash proposal_hash
fast_track Hash proposal_hash
BlockNumber voting_period
BlockNumber delay
veto_external Hash proposal_hash
cancel_referendum Compact<ReferendumIndex> ref_index
cancel_queued ReferendumIndex which
delegate AccountId to
Conviction conviction
BalanceOf balance
undelegate
clear_public_proposals
note_preimage Bytes encoded_proposal
note_preimage_operational Bytes encoded_proposal
note_imminent_preimage Bytes encoded_proposal
note_imminent_preimage_operational Bytes encoded_proposal
reap_preimage Hash proposal_hash
Compact<u32> proposal_len_upper_bound
unlock AccountId target
remove_vote ReferendumIndex index
remove_other_vote AccountId target
ReferendumIndex index
enact_proposal Hash proposal_hash
ReferendumIndex index
blacklist Hash proposal_hash
Option<ReferendumIndex> maybe_ref_index
cancel_proposal Compact<PropIndex> prop_index

Council

Name Light XL Nesting Arguments
set_members Vec<AccountId> new_members
Option<AccountId> prime
MemberCount old_count
execute Proposal proposal
Compact<u32> length_bound
propose Compact<MemberCount> threshold
Proposal proposal
Compact<u32> length_bound
vote Hash proposal
Compact<ProposalIndex> index
bool approve
close Hash proposal_hash
Compact<ProposalIndex> index
Compact<Weight> proposal_weight_bound
Compact<u32> length_bound
disapprove_proposal Hash proposal_hash

TechnicalCommittee

Name Light XL Nesting Arguments
set_members Vec<AccountId> new_members
Option<AccountId> prime
MemberCount old_count
execute Proposal proposal
Compact<u32> length_bound
propose Compact<MemberCount> threshold
Proposal proposal
Compact<u32> length_bound
vote Hash proposal
Compact<ProposalIndex> index
bool approve
close Hash proposal_hash
Compact<ProposalIndex> index
Compact<Weight> proposal_weight_bound
Compact<u32> length_bound
disapprove_proposal Hash proposal_hash

PhragmenElection

Name Light XL Nesting Arguments
vote Vec<AccountId> votes
Compact<BalanceOf> value
remove_voter
submit_candidacy Compact<u32> candidate_count
renounce_candidacy Renouncing renouncing
remove_member LookupSource who
bool has_replacement
clean_defunct_voters u32 _num_voters
u32 _num_defunct

TechnicalMembership

Name Light XL Nesting Arguments
add_member AccountId who
remove_member AccountId who
swap_member AccountId remove
AccountId add
reset_members Vec<AccountId> members
change_key AccountId new
set_prime AccountId who
clear_prime

Treasury

Name Light XL Nesting Arguments
propose_spend Compact<BalanceOf> value
LookupSource beneficiary
reject_proposal Compact<ProposalIndex> proposal_id
approve_proposal Compact<ProposalIndex> proposal_id

Claims

Name Light XL Nesting Arguments
claim AccountId dest
EcdsaSignature ethereum_signature
mint_claim EthereumAddress who
BalanceOf value
Option<(BalanceOf,BalanceOf,BlockNumber)> vesting_schedule
Option<StatementKind> statement
claim_attest AccountId dest
EcdsaSignature ethereum_signature
Bytes statement
attest Bytes statement
move_claim EthereumAddress old
EthereumAddress new
Option<AccountId> maybe_preclaim

Vesting

Name Light XL Nesting Arguments
vest
vest_other LookupSource target
vested_transfer LookupSource target
VestingInfo schedule
force_vested_transfer LookupSource source
LookupSource target
VestingInfo schedule

Utility

Name Light XL Nesting Arguments
batch Vec<Call> calls
as_derivative u16 index
Call call
batch_all Vec<Call> calls

Identity

Name Light XL Nesting Arguments
add_registrar AccountId account
set_identity IdentityInfo info
set_subs Vec<(AccountId,Data)> subs
clear_identity
request_judgement Compact<RegistrarIndex> reg_index
Compact<BalanceOf> max_fee
cancel_request RegistrarIndex reg_index
set_fee Compact<RegistrarIndex> index
Compact<BalanceOf> fee
set_account_id Compact<RegistrarIndex> index
AccountId new
set_fields Compact<RegistrarIndex> index
IdentityFields fields
provide_judgement Compact<RegistrarIndex> reg_index
LookupSource target
IdentityJudgement judgement
kill_identity LookupSource target
add_sub LookupSource sub
Data data
rename_sub LookupSource sub
Data data
remove_sub LookupSource sub
quit_sub

Proxy

Name Light XL Nesting Arguments
proxy AccountId real
Option<ProxyType> force_proxy_type
Call call
add_proxy AccountId delegate
ProxyType proxy_type
BlockNumber delay
remove_proxy AccountId delegate
ProxyType proxy_type
BlockNumber delay
remove_proxies
anonymous ProxyType proxy_type
BlockNumber delay
u16 index
kill_anonymous AccountId spawner
ProxyType proxy_type
u16 index
Compact<BlockNumber> height
Compact<u32> ext_index
announce AccountId real
CallHashOf call_hash
remove_announcement AccountId real
CallHashOf call_hash
reject_announcement AccountId delegate
CallHashOf call_hash
proxy_announced AccountId delegate
AccountId real
Option<ProxyType> force_proxy_type
Call call

Multisig

Name Light XL Nesting Arguments
as_multi_threshold_1 Vec<AccountId> other_signatories
Call call
as_multi u16 threshold
Vec<AccountId> other_signatories
Option<Timepoint> maybe_timepoint
OpaqueCall call
bool store_call
Weight max_weight
approve_as_multi u16 threshold
Vec<AccountId> other_signatories
Option<Timepoint> maybe_timepoint
[u8;32] call_hash
Weight max_weight
cancel_as_multi u16 threshold
Vec<AccountId> other_signatories
Timepoint timepoint
[u8;32] call_hash

Bounties

Name Light XL Nesting Arguments
propose_bounty Compact<BalanceOf> value
Bytes description
approve_bounty Compact<BountyIndex> bounty_id
propose_curator Compact<BountyIndex> bounty_id
LookupSource curator
Compact<BalanceOf> fee
unassign_curator Compact<BountyIndex> bounty_id
accept_curator Compact<BountyIndex> bounty_id
award_bounty Compact<BountyIndex> bounty_id
LookupSource beneficiary
claim_bounty Compact<BountyIndex> bounty_id
close_bounty Compact<BountyIndex> bounty_id
extend_bounty_expiry Compact<BountyIndex> bounty_id
Bytes _remark

Tips

Name Light XL Nesting Arguments
report_awesome Bytes reason
AccountId who
retract_tip Hash hash
tip_new Bytes reason
AccountId who
Compact<BalanceOf> tip_value
tip Hash hash
Compact<BalanceOf> tip_value
close_tip Hash hash
slash_tip Hash hash

ElectionProviderMultiPhase

Name Light XL Nesting Arguments
submit_unsigned RawSolution solution
SolutionOrSnapshotSize witness
set_minimum_untrusted_score Option<ElectionScore> maybe_next_score
set_emergency_election_result ReadySolution solution