lovesh / app-dock

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ledger Dock app

License


Credits

This app is a fork of [ledger-polkadot] developed by zondax.ch. It has been modified to work with Dock.
zondax

Visit Zondax website at zondax.ch

dock

Visit Dock's website at dock.io

Overview

This project contains the Dock app (https://dock.io/) for Ledger Nano S and X.

  • Ledger Nano S/X BOLOS app
  • Specs / Documentation

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

Dock 1.27.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

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

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

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

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

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 ✔️

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

About

License:Apache License 2.0


Languages

Language:C 85.3%Language:TypeScript 4.6%Language:C++ 4.0%Language:Rust 2.4%Language:CMake 1.5%Language:Makefile 1.5%Language:Python 0.4%Language:JavaScript 0.3%Language:GDB 0.1%