Please visit our website at zondax.ch
This project contains the Reef app (https://reef.io/) for Ledger Nano S+, X, Stax and Flex.
- Ledger Nano S+/X/Stax/Flex BOLOS app
- Specs / Documentation
- C++ unit tests
- Zemu tests
For more information: How to build
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
Name | Nano SP/X | Stax/Flex | 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 prefixu32 _subkeys |
|||
remark_with_event | ✔️ | ✔️ | ✔️ | Bytes remark |
Empty
Name | Nano SP/X | Stax/Flex | Nesting | Arguments |
---|---|---|---|---|
set | ✔️ | ✔️ | Compact<Moment> now |
Name | Nano SP/X | Stax/Flex | Nesting | Arguments |
---|---|---|---|---|
sudo | Call call |
|||
sudo_unchecked_weight | Call callWeight _weight |
|||
set_key | LookupSource new |
|||
sudo_as | LookupSource whoCall call |
Name | Nano SP/X | Stax/Flex | Nesting | Arguments |
---|---|---|---|---|
schedule | BlockNumber whenOption<Period> maybe_periodicPriority priorityCall call |
|||
cancel | BlockNumber whenu32 index |
|||
schedule_named | Bytes idBlockNumber whenOption<Period> maybe_periodicPriority priorityCall call |
|||
cancel_named | Bytes id |
|||
schedule_after | BlockNumber afterOption<Period> maybe_periodicPriority priorityCall call |
|||
schedule_named_after | Bytes idBlockNumber afterOption<Period> maybe_periodicPriority priorityCall call |
Name | Nano SP/X | Stax/Flex | Nesting | Arguments |
---|---|---|---|---|
claim | ✔️ | ✔️ | AccountIndex index |
|
transfer | ✔️ | ✔️ | AccountId newAccountIndex index |
|
free | ✔️ | ✔️ | AccountIndex index |
|
force_transfer | ✔️ | ✔️ | AccountId newAccountIndex indexbool freeze |
|
freeze | ✔️ | ✔️ | AccountIndex index |
Name | Nano SP/X | Stax/Flex | Nesting | Arguments |
---|---|---|---|---|
transfer | ✔️ | ✔️ | ✔️ | LookupSource destCompact<Balance> value |
set_balance | ✔️ | ✔️ | ✔️ | LookupSource whoCompact<Balance> new_freeCompact<Balance> new_reserved |
force_transfer | ✔️ | ✔️ | ✔️ | LookupSource sourceLookupSource destCompact<Balance> value |
transfer_keep_alive | ✔️ | ✔️ | ✔️ | LookupSource destCompact<Balance> value |
transfer_all | ✔️ | ✔️ | ✔️ | LookupSource destbool keep_alive |
Name | Nano SP/X | Stax/Flex | Nesting | Arguments |
---|---|---|---|---|
transfer | LookupSource destCurrencyIdOf currency_idCompact<BalanceOf> amount |
|||
transfer_native_currency | LookupSource destCompact<BalanceOf> amount |
|||
update_balance | LookupSource whoCurrencyIdOf currency_idAmountOf amount |
Empty
Name | Nano SP/X | Stax/Flex | Nesting | Arguments |
---|---|---|---|---|
set_default_fee_token | Option<CurrencyId> fee_token |
Name | Nano SP/X | Stax/Flex | Nesting | Arguments |
---|---|---|---|---|
dispatch_as | AsOriginId as_originCallOf call |
|||
schedule_dispatch | DispatchTime whenPriority prioritybool with_delayed_originCallOf call |
|||
fast_track_scheduled_dispatch | PalletsOrigin initial_originScheduleTaskIndex task_idDispatchTime when |
|||
delay_scheduled_dispatch | PalletsOrigin initial_originScheduleTaskIndex task_idBlockNumber additional_delay |
|||
cancel_scheduled_dispatch | PalletsOrigin initial_originScheduleTaskIndex task_id |
|||
authorize_call | CallOf callOption<AccountId> caller |
|||
remove_authorized_call | Hash hash |
|||
trigger_call | Hash hashCompact<Weight> call_weight_bound |
Name | Nano SP/X | Stax/Flex | Nesting | Arguments |
---|---|---|---|---|
batch | ✔️ | ✔️ | Vec<Call> calls |
|
as_derivative | u16 indexCall call |
|||
batch_all | ✔️ | ✔️ | Vec<Call> calls |
Name | Nano SP/X | Stax/Flex | Nesting | Arguments |
---|---|---|---|---|
as_multi_threshold_1 | Vec<AccountId> other_signatoriesCall call |
|||
as_multi | u16 thresholdVec<AccountId> other_signatoriesOption<Timepoint> maybe_timepointOpaqueCall callbool store_callWeight max_weight |
|||
approve_as_multi | u16 thresholdVec<AccountId> other_signatoriesOption<Timepoint> maybe_timepoint[u8;32] call_hashWeight max_weight |
|||
cancel_as_multi | u16 thresholdVec<AccountId> other_signatoriesTimepoint timepoint[u8;32] call_hash |
Name | Nano SP/X | Stax/Flex | Nesting | Arguments |
---|---|---|---|---|
claim_account | EvmAddress eth_addressEcdsaSignature eth_signature |
|||
claim_default_account |
Name | Nano SP/X | Stax/Flex | Nesting | Arguments |
---|---|---|---|---|
call | EvmAddress targetBytes inputBalanceOf valueu64 gas_limitu32 storage_limit |
|||
scheduled_call | EvmAddress fromEvmAddress targetBytes inputBalanceOf valueu64 gas_limitu32 storage_limit |
|||
create | Bytes initBalanceOf valueu64 gas_limitu32 storage_limit |
|||
create2 | Bytes initH256 saltBalanceOf valueu64 gas_limitu32 storage_limit |
|||
create_network_contract | Bytes initBalanceOf valueu64 gas_limitu32 storage_limit |
|||
transfer_maintainer | EvmAddress contractEvmAddress new_maintainer |
|||
deploy | EvmAddress contract |
|||
deploy_free | EvmAddress contract |
|||
enable_contract_development | ||||
disable_contract_development | ||||
set_code | EvmAddress contractBytes code |
|||
selfdestruct | EvmAddress contract |
Empty
Name | Nano SP/X | Stax/Flex | Nesting | Arguments |
---|---|---|---|---|
set_uncles | Vec<Header> new_uncles |
Name | Nano SP/X | Stax/Flex | Nesting | Arguments |
---|---|---|---|---|
report_equivocation | BabeEquivocationProof equivocation_proofKeyOwnerProof key_owner_proof |
|||
report_equivocation_unsigned | BabeEquivocationProof equivocation_proofKeyOwnerProof key_owner_proof |
|||
plan_config_change | NextConfigDescriptor config |
Name | Nano SP/X | Stax/Flex | Nesting | Arguments |
---|---|---|---|---|
report_equivocation | GrandpaEquivocationProof equivocation_proofKeyOwnerProof key_owner_proof |
|||
report_equivocation_unsigned | GrandpaEquivocationProof equivocation_proofKeyOwnerProof key_owner_proof |
|||
note_stalled | BlockNumber delayBlockNumber best_finalized_block_number |
Name | Nano SP/X | Stax/Flex | Nesting | Arguments |
---|---|---|---|---|
bond | ✔️ | ✔️ | ✔️ | LookupSource controllerCompact<BalanceOf> valueRewardDestination 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 stashu32 num_slashing_spans |
|
force_new_era_always | ✔️ | ✔️ | ||
cancel_deferred_slash | ✔️ | ✔️ | EraIndex eraVec<u32> slash_indices |
|
payout_stakers | ✔️ | ✔️ | ✔️ | AccountId validator_stashEraIndex era |
rebond | ✔️ | ✔️ | ✔️ | Compact<BalanceOf> value |
set_history_depth | ✔️ | ✔️ | Compact<EraIndex> new_history_depthCompact<u32> _era_items_deleted |
|
reap_stash | ✔️ | ✔️ | AccountId stashu32 num_slashing_spans |
|
kick | ✔️ | ✔️ | Vec<LookupSource> who |
|
set_staking_limits | ✔️ | ✔️ | BalanceOf min_nominator_bondBalanceOf min_validator_bondOption<u32> max_nominator_countOption<u32> max_validator_countOption<Percent> threshold |
|
chill_other | ✔️ | ✔️ | AccountId controller |
Name | Nano SP/X | Stax/Flex | Nesting | Arguments |
---|---|---|---|---|
set_keys | ✔️ | ✔️ | ✔️ | Keys keysBytes proof |
purge_keys | ✔️ | ✔️ | ✔️ |
Empty
Empty
Name | Nano SP/X | Stax/Flex | Nesting | Arguments |
---|---|---|---|---|
heartbeat | Heartbeat heartbeatSignature _signature |
Empty
Name | Nano SP/X | Stax/Flex | Nesting | Arguments |
---|---|---|---|---|
add_registrar | ✔️ | ✔️ | AccountId account |
|
set_identity | IdentityInfo info |
|||
set_subs | Vec<(AccountId,Data)> subs |
|||
clear_identity | ✔️ | ✔️ | ||
request_judgement | ✔️ | ✔️ | Compact<RegistrarIndex> reg_indexCompact<BalanceOf> max_fee |
|
cancel_request | ✔️ | ✔️ | RegistrarIndex reg_index |
|
set_fee | ✔️ | ✔️ | Compact<RegistrarIndex> indexCompact<BalanceOf> fee |
|
set_account_id | ✔️ | ✔️ | Compact<RegistrarIndex> indexAccountId new |
|
set_fields | Compact<RegistrarIndex> indexIdentityFields fields |
|||
provide_judgement | Compact<RegistrarIndex> reg_indexLookupSource targetIdentityJudgement judgement |
|||
kill_identity | ✔️ | ✔️ | LookupSource target |
|
add_sub | LookupSource subData data |
|||
rename_sub | LookupSource subData data |
|||
remove_sub | ✔️ | ✔️ | LookupSource sub |
|
quit_sub | ✔️ | ✔️ |
Name | Nano SP/X | Stax/Flex | Nesting | Arguments |
---|---|---|---|---|
set_members | ✔️ | ✔️ | Vec<AccountId> new_membersOption<AccountId> primeMemberCount old_count |
|
execute | ✔️ | ✔️ | Proposal proposalCompact<u32> length_bound |
|
propose | ✔️ | ✔️ | Compact<MemberCount> thresholdProposal proposalCompact<u32> length_bound |
|
vote | ✔️ | ✔️ | Hash proposalCompact<ProposalIndex> indexbool approve |
|
close | ✔️ | ✔️ | Hash proposal_hashCompact<ProposalIndex> indexCompact<Weight> proposal_weight_boundCompact<u32> length_bound |
|
disapprove_proposal | ✔️ | ✔️ | Hash proposal_hash |
Name | Nano SP/X | Stax/Flex | Nesting | Arguments |
---|---|---|---|---|
start_candidacy | ||||
stop_candidacy | ||||
commit | Compact<BalanceOf> amountLockDuration durationAccountId candidate |
|||
add_funds | Compact<BalanceOf> amount |
|||
unbond | ||||
withdraw | ||||
vote_candidate | AccountId candidate |