Skip to content

edgeware-network/ledger-edgeware

 
 

Repository files navigation

Ledger Edgeware app

License GithubActions


zondax_light zondax_dark

Please visit our website at zondax.ch


This project contains the Edgeware app (https://edgewa.re/) 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

Edgeware 1.46.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
suicide ✔️ ✔️

Utility

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

Aura

Empty

Timestamp

Name Light XL Nesting Arguments
set ✔️ Compact<Moment> now

Authorship

Name Light XL Nesting Arguments
set_uncles Vec<Header> new_uncles

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

TransactionPayment

Empty

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
submit_election_solution Vec<ValidatorIndex> winners
CompactAssignments compact
ElectionScore score
EraIndex era
ElectionSize size
submit_election_solution_unsigned Vec<ValidatorIndex> winners
CompactAssignments compact
ElectionScore score
EraIndex era
ElectionSize size

Session

Name Light XL Nesting Arguments
set_keys ✔️ Keys keys
Bytes proof
purge_keys ✔️ ✔️

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

Elections

Name Light XL Nesting Arguments
vote ✔️ Vec<AccountId> votes
Compact<BalanceOf> value
remove_voter ✔️
report_defunct_voter DefunctVoter defunct
submit_candidacy ✔️ Compact<u32> candidate_count
renounce_candidacy Renouncing renouncing
remove_member ✔️ LookupSource who
bool has_replacement

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

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

Contracts

Name Light XL Nesting Arguments
update_schedule Schedule schedule
put_code ✔️ Bytes code
call ✔️ LookupSource dest
Compact<BalanceOf> value
Compact<Gas> gas_limit
Bytes data
instantiate Compact<BalanceOf> endowment
Compact<Gas> gas_limit
CodeHash code_hash
Bytes data
Bytes salt
claim_surcharge ✔️ AccountId dest
Option<AccountId> aux_sender

Sudo

Name Light XL Nesting Arguments
sudo Call call
sudo_unchecked_weight Call call
Weight _weight
set_key LookupSource new
sudo_as LookupSource who
Call call

ImOnline

Name Light XL Nesting Arguments
heartbeat Heartbeat heartbeat
Signature _signature

AuthorityDiscovery

Name Light XL Nesting Arguments

Offences

Name Light XL Nesting Arguments

Historical

Empty

RandomnessCollectiveFlip

Name Light XL Nesting Arguments

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

Recovery

Name Light XL Nesting Arguments
as_recovered AccountId account
Call call
set_recovered ✔️ AccountId lost
AccountId rescuer
create_recovery Vec<AccountId> friends
u16 threshold
BlockNumber delay_period
initiate_recovery ✔️ AccountId account
vouch_recovery ✔️ AccountId lost
AccountId rescuer
claim_recovery ✔️ AccountId account
close_recovery ✔️ AccountId rescuer
remove_recovery ✔️
cancel_recovered ✔️ AccountId account

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

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

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

Assets

Name Light XL Nesting Arguments
create Compact<AssetId> id
LookupSource admin
u32 max_zombies
TAssetBalance min_balance
force_create Compact<AssetId> id
LookupSource owner
Compact<u32> max_zombies
Compact<TAssetBalance> min_balance
destroy Compact<AssetId> id
Compact<u32> zombies_witness
force_destroy Compact<AssetId> id
Compact<u32> zombies_witness
mint Compact<AssetId> id
LookupSource beneficiary
Compact<TAssetBalance> amount
burn Compact<AssetId> id
LookupSource who
Compact<TAssetBalance> amount
transfer Compact<AssetId> id
LookupSource target
Compact<TAssetBalance> amount
force_transfer Compact<AssetId> id
LookupSource source
LookupSource dest
Compact<TAssetBalance> amount
freeze Compact<AssetId> id
LookupSource who
thaw Compact<AssetId> id
LookupSource who
transfer_ownership Compact<AssetId> id
LookupSource new_owner
set_team Compact<AssetId> id
LookupSource issuer
LookupSource admin
LookupSource freezer
set_max_zombies Compact<AssetId> id
Compact<u32> max_zombies

TreasuryReward

Name Light XL Nesting Arguments
set_current_payout ✔️ BalanceOf payout
set_minting_interval ✔️ BlockNumber interval

Ethereum

Name Light XL Nesting Arguments
transact EthTransaction transaction

EVM

Name Light XL Nesting Arguments
withdraw ✔️ H160 address
BalanceOf value
call ✔️ H160 source
H160 target
Bytes input
U256 value
u32 gas_limit
U256 gas_price
Option<U256> nonce
create ✔️ H160 source
Bytes init
U256 value
u32 gas_limit
U256 gas_price
Option<U256> nonce
create2 ✔️ H160 source
Bytes init
H256 salt
U256 value
u32 gas_limit
U256 gas_price
Option<U256> nonce

ChainBridge

Name Light XL Nesting Arguments
set_threshold ✔️ u32 threshold
set_resource ResourceId id
Bytes method
remove_resource ResourceId id
whitelist_chain ChainId id
add_relayer ✔️ AccountId v
remove_relayer ✔️ AccountId v
acknowledge_proposal DepositNonce nonce
ChainId src_id
ResourceId r_id
Proposal call
reject_proposal DepositNonce nonce
ChainId src_id
ResourceId r_id
Proposal call
eval_vote_state DepositNonce nonce
ChainId src_id
Proposal prop

EdgeBridge

Name Light XL Nesting Arguments
transfer_native BalanceOf amount
Bytes recipient
ChainId dest_id
transfer ✔️ AccountId to
BalanceOf amount

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 84.3%
  • C++ 4.6%
  • TypeScript 3.9%
  • Rust 2.7%
  • Makefile 1.8%
  • CMake 1.7%
  • Other 1.0%