Skip to content

Zondax/ledger-alephzero

Repository files navigation

Ledger Aleph Zero App

License GithubActions


zondax_light zondax_dark

Please visit our website at zondax.ch


This project contains the Aleph Zero app (https://alephzero.org/) for Ledger Nano S, Nano X, Nano S Plus, Stax and Flex.

  • Ledger Nano S/X/Plus/Stax/Flex 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

Aleph Zero 18.73.x

System

Name Nano S Nano S XL Nano SP/X - Stax - Flex Nesting Arguments
Remark ✔️ ✔️ ✔️ Bytesremark
Set heap pages ✔️ ✔️ ✔️ u64pages
Set code ✔️ ✔️ ✔️ Bytescode
Set code without checks ✔️ ✔️ ✔️ Vecu8code
Set storage VecKeyValueitems
Kill storage VecKeykeys
Kill prefix Keyprefix
u32subkeys
Remark with event ✔️ ✔️ ✔️ Bytesremark

Scheduler

Name Nano S Nano S XL Nano SP/X - Stax - Flex Nesting Arguments
Schedule BlockNumberwhen
OptionschedulePeriodBlockNumbermaybe_periodic
schedulePrioritypriority
Callcall
Cancel BlockNumberwhen
u32index
Schedule named TaskNameid
BlockNumberwhen
OptionschedulePeriodBlockNumbermaybe_periodic
schedulePrioritypriority
Callcall
Cancel named TaskNameid
Schedule after BlockNumberafter
OptionschedulePeriodBlockNumbermaybe_periodic
schedulePrioritypriority
Callcall
Schedule named after TaskNameid
BlockNumberafter
OptionschedulePeriodBlockNumbermaybe_periodic
schedulePrioritypriority
Callcall

Timestamp

Name Nano S Nano S XL Nano SP/X - Stax - Flex Nesting Arguments
Set Compactu64now

Balances

Name Nano S Nano S XL Nano SP/X - Stax - Flex Nesting Arguments
Transfer allow death ✔️ ✔️ ✔️ ✔️ AccountIdLookupOfTdest
CompactBalanceamount
Force transfer ✔️ ✔️ ✔️ ✔️ AccountIdLookupOfTsource
AccountIdLookupOfTdest
CompactBalanceamount
Transfer keep alive ✔️ ✔️ ✔️ ✔️ AccountIdLookupOfTdest
CompactBalanceamount
Transfer all ✔️ ✔️ ✔️ ✔️ AccountIdLookupOfTdest
boolkeep_alive
Force unreserve ✔️ ✔️ AccountIdLookupOfTwho
Balanceamount
Upgrade accounts ✔️ ✔️ VecAccountIdwho
Force set balance ✔️ ✔️ AccountIdLookupOfTwho
CompactBalancenew_free

Staking

Name Nano S Nano S XL Nano SP/X - Stax - Flex Nesting Arguments
Bond ✔️ ✔️ ✔️ ✔️ CompactBalanceamount
RewardDestinationpayee
Bond extra ✔️ ✔️ ✔️ ✔️ CompactBalanceamount
Unbond ✔️ ✔️ ✔️ ✔️ CompactBalanceamount
Withdraw Unbonded ✔️ ✔️ ✔️ ✔️ u32num_slashing_spans
Validate ✔️ ✔️ ✔️ ✔️ ValidatorPrefsprefs
Nominate ✔️ ✔️ ✔️ ✔️ VecAccountIdLookupOfTtargets
Chill ✔️ ✔️ ✔️ ✔️
Set payee ✔️ ✔️ ✔️ ✔️ RewardDestinationpayee
Set controller ✔️ ✔️ ✔️ ✔️
Set validator count ✔️ ✔️ ✔️ Compactu32new_
Increase validator count ✔️ ✔️ ✔️ Compactu32additional
Scale validator count ✔️ ✔️ ✔️ Percentfactor
Force no eras ✔️ ✔️ ✔️
Force new era ✔️ ✔️ ✔️
Set invulnerables ✔️ ✔️ ✔️ VecAccountIdinvulnerables
Force unstake ✔️ ✔️ ✔️ AccountIdstash
u32num_slashing_spans
Force new era always ✔️ ✔️ ✔️
Cancel deferred slash ✔️ ✔️ ✔️ EraIndexera
Vecu32slash_indices
Payout stakers ✔️ ✔️ ✔️ ✔️ AccountIdvalidator_stash
EraIndexera
Rebond ✔️ ✔️ ✔️ ✔️ CompactBalanceamount
Reap stash ✔️ ✔️ ✔️ AccountIdstash
u32num_slashing_spans
Kick ✔️ ✔️ ✔️ VecAccountIdLookupOfTwho
Set staking configs ✔️ ✔️ ✔️ ConfigOpBalanceOfTmin_nominator_bond
ConfigOpBalanceOfTmin_validator_bond
ConfigOpu32max_nominator_count
ConfigOpu32max_validator_count
ConfigOpPercentchill_threshold
ConfigOpPerbillmin_commission
Chill other ✔️ ✔️ ✔️ AccountIdcontroller
Force apply min commission ✔️ ✔️ ✔️ AccountIdvalidator_stash
Set min commission ✔️ ✔️ ✔️ Perbillnew_

Session

Name Nano S Nano S XL Nano SP/X - Stax - Flex Nesting Arguments
Set keys ✔️ ✔️ ✔️ ✔️ Keyskeys
Bytesproof
Purge keys ✔️ ✔️ ✔️ ✔️

Aleph

Name Nano S Nano S XL Nano SP/X - Stax - Flex Nesting Arguments
Set emergency finalizer AuthorityIdemergency_finalizer
Schedule finality version change Versionversion_incoming
SessionIndexsession

Elections

Name Nano S Nano S XL Nano SP/X - Stax - Flex Nesting Arguments
Change validators OptionVecAccountIdreserved_validators
OptionVecAccountIdnon_reserved_validators
OptionCommitteeSeatscommittee_size
Set elections openness ElectionOpennessopenness

Treasury

Name Nano S Nano S XL Nano SP/X - Stax - Flex Nesting Arguments
Propose spend CompactBalanceamount
AccountIdLookupOfTbeneficiary
Reject proposal Compactu32proposal_id
Approve proposal Compactu32proposal_id
Spend CompactBalanceamount
AccountIdLookupOfTbeneficiary
Remove approval Compactu32proposal_id

Vesting

Name Nano S Nano S XL Nano SP/X - Stax - Flex Nesting Arguments
Vest ✔️ ✔️
Vest other ✔️ ✔️ AccountIdLookupOfTtarget
Vested transfer ✔️ ✔️ AccountIdLookupOfTtarget
VestingInfoschedule
Force vested transfer ✔️ ✔️ AccountIdLookupOfTsource
AccountIdLookupOfTtarget
VestingInfoschedule
Merge schedules ✔️ ✔️ u32schedule1_index
u32schedule2_index

Utility

Name Nano S Nano S XL Nano SP/X - Stax - Flex Nesting Arguments
Batch ✔️ ✔️ ✔️ VecCallcalls
As derivative u16index
Callcall
Batch all ✔️ ✔️ ✔️ VecCallcalls
Dispatch as ✔️ ✔️ BoxPalletsOriginas_origin
Callcall
Force batch ✔️ ✔️ ✔️ VecCallcalls
With weight ✔️ ✔️ Callcall
Weightweight

Multisig

Name Nano S Nano S XL Nano SP/X - Stax - Flex Nesting Arguments
As multi threshold 1 ✔️ ✔️ ✔️ VecAccountIdother_signatories
Callcall
As multi ✔️ ✔️ ✔️ u16threshold
VecAccountIdother_signatories
OptionTimepointmaybe_timepoint
Callcall
Weightmax_weight
Approve as multi ✔️ ✔️ ✔️ u16threshold
VecAccountIdother_signatories
OptionTimepointmaybe_timepoint
H256call_hash
Weightmax_weight
Cancel as multi ✔️ ✔️ ✔️ u16threshold
VecAccountIdother_signatories
Timepointtimepoint
H256call_hash

Sudo

Name Nano S Nano S XL Nano SP/X - Stax - Flex Nesting Arguments
Sudo ✔️ ✔️ Callcall
Sudo unchecked weight ✔️ ✔️ Callcall
Weightweight
Set key ✔️ ✔️ AccountIdLookupOfTnew_
Sudo as ✔️ ✔️ AccountIdLookupOfTwho
Callcall

Contracts

Name Nano S Nano S XL Nano SP/X - Stax - Flex Nesting Arguments
Call old weight ✔️ ✔️ ✔️ AccountIdLookupOfTdest
CompactBalanceamount
Compactu64gas_limit
OptionCompactBalanceOfstorage_deposit_limit
Bytesdata
Instantiate with code old weight ✔️ ✔️ ✔️ CompactBalanceamount
Compactu64gas_limit
OptionCompactBalanceOfstorage_deposit_limit
Bytescode
Bytesdata
Bytessalt
Instantiate old weight ✔️ ✔️ ✔️ CompactBalanceamount
Compactu64gas_limit
OptionCompactBalanceOfstorage_deposit_limit
CodeHashcode_hash
Bytesdata
Bytessalt
Upload code ✔️ ✔️ ✔️ Bytescode
OptionCompactBalanceOfstorage_deposit_limit
Determinismdeterminism
Remove code ✔️ ✔️ ✔️ CodeHashcode_hash
Set code ✔️ ✔️ ✔️ AccountIdLookupOfTdest
CodeHashcode_hash
Call ✔️ ✔️ ✔️ AccountIdLookupOfTdest
CompactBalanceamount
Weightgas_limit
OptionCompactBalanceOfstorage_deposit_limit
Bytesdata
Instantiate with code ✔️ ✔️ ✔️ CompactBalanceamount
Weightgas_limit
OptionCompactBalanceOfstorage_deposit_limit
Bytescode
Bytesdata
Bytessalt
Instantiate ✔️ ✔️ ✔️ CompactBalanceamount
Weightgas_limit
OptionCompactBalanceOfstorage_deposit_limit
CodeHashcode_hash
Bytesdata
Bytessalt
Migrate ✔️ ✔️ ✔️ Weightweight_limit

NominationPools

Name Nano S Nano S XL Nano SP/X - Stax - Flex Nesting Arguments
Join ✔️ ✔️ ✔️ CompactBalanceamount
PoolIdpool_id
Bond extra ✔️ ✔️ ✔️ BondExtraBalanceOfTextra
Claim payout ✔️ ✔️ ✔️
Unbond ✔️ ✔️ ✔️ AccountIdLookupOfTmember_account
CompactBalanceunbonding_points
Pool withdraw unbonded ✔️ ✔️ PoolIdpool_id
u32num_slashing_spans
Withdraw Unbonded ✔️ ✔️ ✔️ AccountIdLookupOfTmember_account
u32num_slashing_spans
Create ✔️ ✔️ ✔️ CompactBalanceamount
AccountIdLookupOfTroot
AccountIdLookupOfTnominator
AccountIdLookupOfTbouncer
Create with pool id ✔️ ✔️ CompactBalanceamount
AccountIdLookupOfTroot
AccountIdLookupOfTnominator
AccountIdLookupOfTbouncer
PoolIdpool_id
Nominate ✔️ ✔️ ✔️ PoolIdpool_id
VecAccountIdvalidators
Set state ✔️ ✔️ ✔️ PoolIdpool_id
PoolStatestate
Set metadata ✔️ ✔️ ✔️ PoolIdpool_id
Vecu8metadata
Set configs ✔️ ✔️ ConfigOpBalanceOfTmin_join_bond
ConfigOpBalanceOfTmin_create_bond
ConfigOpu32max_pools
ConfigOpu32max_members
ConfigOpu32max_members_per_pool
ConfigOpPerbillglobal_max_commission
Update roles ✔️ ✔️ ✔️ PoolIdpool_id
ConfigOpAccountIdnew_root
ConfigOpAccountIdnew_nominator
ConfigOpAccountIdnew_bouncer
Chill ✔️ ✔️ ✔️ PoolIdpool_id
Bond extra other ✔️ ✔️ AccountIdLookupOfTmember
BondExtraBalanceOfTextra
Set claim permission ✔️ ✔️ ✔️ ClaimPermissionpermission
Claim payout other ✔️ ✔️ ✔️ AccountIdother
Set commission ✔️ ✔️ ✔️ PoolIdpool_id
OptionTuplePerbillAccountIdnew_commission
Set commission max ✔️ ✔️ ✔️ PoolIdpool_id
Perbillmax_commission
Set commission change rate ✔️ ✔️ ✔️ PoolIdpool_id
CommissionChangeRateBlockNumberchange_rate
Claim commission ✔️ ✔️ ✔️ PoolIdpool_id

Identity

Name Nano S Nano S XL Nano SP/X - Stax - Flex Nesting Arguments
Add registrar AccountIdLookupOfTaccount
Set identity IdentityInfoinfo
Set subs VecTupleAccountIdDatasubs
Clear identity
Request judgement Compactu32reg_index
Compactu128max_fee
Cancel request RegistrarIndexreg_index
Set fee Compactu32index
Compactu128fee
Set account id Compactu32index
AccountIdLookupOfTnew_
Set fields Compactu32index
IdentityFieldsfields
Provide judgement Compactu32reg_index
AccountIdLookupOfTtarget
JudgementBalanceOfTjudgement
Hashidentity
Kill identity AccountIdLookupOfTtarget
Add sub AccountIdLookupOfTsub
Datadata
Rename sub AccountIdLookupOfTsub
Datadata
Remove sub AccountIdLookupOfTsub
Quit sub

CommitteeManagement

Name Nano S Nano S XL Nano SP/X - Stax - Flex Nesting Arguments
Set ban config Optionu8minimal_expected_performance
Optionu32underperformed_session_count_threshold
Optionu32clean_session_counter_delay
OptionEraIndexban_period
Ban from committee AccountIdbanned
Vecu8ban_reason
Cancel ban AccountIdbanned
Set lenient threshold u8threshold_percent

Proxy

Name Nano S Nano S XL Nano SP/X - Stax - Flex Nesting Arguments
Proxy ✔️ ✔️ ✔️ AccountIdLookupOfTreal
OptionProxyTypeforce_proxy_type
Callcall
Add proxy ✔️ ✔️ ✔️ AccountIdLookupOfTdelegate
ProxyTypeproxy_type
BlockNumberdelay
Remove proxy ✔️ ✔️ ✔️ AccountIdLookupOfTdelegate
ProxyTypeproxy_type
BlockNumberdelay
Remove proxies ✔️ ✔️
Create pure ✔️ ✔️ ✔️ ProxyTypeproxy_type
BlockNumberdelay
u16index
Kill pure ✔️ ✔️ ✔️ AccountIdLookupOfTspawner
ProxyTypeproxy_type
u16index
Compactu32height
Compactu32ext_index
Announce ✔️ ✔️ AccountIdLookupOfTreal
CallHashOfcall_hash
Remove announcement ✔️ ✔️ AccountIdLookupOfTreal
CallHashOfcall_hash
Reject announcement ✔️ ✔️ AccountIdLookupOfTdelegate
CallHashOfcall_hash
Proxy announced ✔️ ✔️ AccountIdLookupOfTdelegate
AccountIdLookupOfTreal
OptionProxyTypeforce_proxy_type
Callcall

Operations

Name Nano S Nano S XL Nano SP/X - Stax - Flex Nesting Arguments
Fix accounts consumers underflow AccountIdwho

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors