GithubHelp home page GithubHelp logo

reef-defi / ledger-reef Goto Github PK

View Code? Open in Web Editor NEW
2.0 7.0 4.0 2.1 MB

Reef app for Ledger Nano S and X

License: Apache License 2.0

GDB 0.05% CMake 39.08% Makefile 1.17% C 51.43% Rust 1.82% C++ 3.13% Python 0.31% JavaScript 0.24% TypeScript 2.75%

ledger-reef's Introduction

Ledger Reef app

License


zondax

Please visit our website at zondax.ch


This project contains the Reef app (https://reef.io/) 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

Reef 2.8.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 ✔️ ✔️

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

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

Session

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

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

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

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

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.