Skip to content

Zondax/ledger-entropy

Repository files navigation

Ledger Entropy App

License GithubActions


zondax_light zondax_dark

Please visit our website at zondax.ch


This project contains the Entropy app (https://entropy.xyz/) for Ledger Nano S, S+, X and Stax.

  • Ledger 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

Entropy 8.300.x

System

Name Nano S Nano S XL Nano SP/X - Stax 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
Authorize upgrade ✔️ ✔️ Hashcode_hash
Authorize upgrade without checks ✔️ ✔️ Hashcode_hash
Apply authorized upgrade ✔️ ✔️ Vecu8code

Utility

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

Babe

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Report equivocation BoxEquivocationProofHeaderequivocation_proof
KeyOwnerProofkey_owner_proof
Report equivocation unsigned BoxEquivocationProofHeaderequivocation_proof
KeyOwnerProofkey_owner_proof
Plan config change NextConfigDescriptorconfig

Timestamp

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

Indices

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Claim AccountIndexindex
Transfer AccountIdLookupOfTnew_
AccountIndexindex
Free AccountIndexindex
Force transfer AccountIdLookupOfTnew_
AccountIndexindex
boolfreeze
Freeze AccountIndexindex

Balances

Name Nano S Nano S XL Nano SP/X - Stax 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
Force adjust total issuance ✔️ ✔️ AdjustmentDirectiondirection
CompactBalancedelta

ElectionProviderMultiPhase

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Submit unsigned BoxRawSolutionSolutionOfMinerConfigraw_solution
SolutionOrSnapshotSizewitness
Set minimum untrusted score OptionElectionScoremaybe_next_score
Set emergency election result SupportsAccountIdsupports
Submit BoxRawSolutionSolutionOfMinerConfigraw_solution
Governance fallback Optionu32maybe_max_voters
Optionu32maybe_max_targets

Staking

Name Nano S Nano S XL Nano SP/X - Stax 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 ✔️ ✔️ AccountIdstash
Force apply min commission ✔️ ✔️ AccountIdvalidator_stash
Set min commission ✔️ ✔️ Perbillnew_
Payout stakers by page ✔️ ✔️ AccountIdvalidator_stash
EraIndexera
Pagepage
Update payee ✔️ ✔️ AccountIdcontroller
Deprecate controller batch BoundedVecAccountIdMaxControllersInDeprecationBatchcontrollers
Restore ledger ✔️ ✔️ AccountIdstash
OptionAccountIdmaybe_controller
OptionBalancemaybe_total
OptionBoundedVecUnlockChunkBalanceOfTMaxUnlockingChunksmaybe_unlocking

StakingExtension

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Change endpoint ✔️ ✔️ Vecu8endpoint
Change threshold accounts ✔️ ✔️ AccountIdtss_account
X25519PublicKeyx25519_public_key
Unbond ✔️ ✔️ Compactu128amount
Chill ✔️ ✔️
Withdraw Unbonded ✔️ ✔️ u32num_slashing_spans
Validate ✔️ ✔️ ValidatorPrefsprefs
ServerInfoAccountIdserver_info
Declare synced ✔️ ✔️ boolsynced
Confirm key reshare ✔️ ✔️

Session

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

Democracy

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Propose BoundedCallOfTproposal
CompactBalanceamount
Second Compactu32proposal
Vote Compactu32ref_index
AccountVotevote
Emergency cancel ReferendumIndexref_index
External propose BoundedCallOfTproposal
External propose majority BoundedCallOfTproposal
External propose default BoundedCallOfTproposal
Fast track Hashproposal_hash
BlockNumbervoting_period
BlockNumberdelay
Veto external Hashproposal_hash
Cancel referendum Compactu32ref_index
Delegate AccountIdLookupOfTto
Convictionconviction
Balancebalance
Undelegate
Clear public proposals
Unlock AccountIdLookupOfTtarget
Remove vote ReferendumIndexindex
Remove other vote AccountIdLookupOfTtarget
ReferendumIndexindex
Blacklist Hashproposal_hash
OptionReferendumIndexmaybe_ref_index
Cancel proposal Compactu32prop_index
Set metadata MetadataOwnerowner
OptionHashmaybe_hash

Council

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Set members VecAccountIdnew_members
OptionAccountIdprime
MemberCountold_count
Execute Proposalproposal
Compactu32length_bound
Propose Compactu32threshold
Proposalproposal
Compactu32length_bound
Vote Hashproposal
Compactu32index
boolapprove
Disapprove proposal Hashproposal_hash
Close Hashproposal_hash
Compactu32index
Weightproposal_weight_bound
Compactu32length_bound

TechnicalCommittee

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Set members VecAccountIdnew_members
OptionAccountIdprime
MemberCountold_count
Execute Proposalproposal
Compactu32length_bound
Propose Compactu32threshold
Proposalproposal
Compactu32length_bound
Vote Hashproposal
Compactu32index
boolapprove
Disapprove proposal Hashproposal_hash
Close Hashproposal_hash
Compactu32index
Weightproposal_weight_bound
Compactu32length_bound

Elections

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Vote VecAccountIdvotes
Compactu128amount
Remove voter
Submit candidacy Compactu32candidate_count
Renounce candidacy Renouncingrenouncing
Remove member AccountIdLookupOfTwho
boolslash_bond
boolrerun_election
Clean defunct voters u32num_voters
u32num_defunct

TechnicalMembership

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Add member AccountIdLookupOfTwho
Remove member AccountIdLookupOfTwho
Swap member AccountIdLookupOfTremove
AccountIdLookupOfTadd
Reset members VecAccountIdmembers
Change key AccountIdLookupOfTnew_
Set prime AccountIdLookupOfTwho
Clear prime

Grandpa

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Report equivocation BoxEquivocationProofHashBlockNumberequivocation_proof
KeyOwnerProofkey_owner_proof
Report equivocation unsigned BoxEquivocationProofHashBlockNumberequivocation_proof
KeyOwnerProofkey_owner_proof
Note stalled BlockNumberdelay
BlockNumberbest_finalized_block_number

Treasury

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Propose spend CompactBalanceamount
AccountIdLookupOfTbeneficiary
Reject proposal Compactu32proposal_id
Approve proposal Compactu32proposal_id
Spend local CompactBalanceamount
AccountIdLookupOfTbeneficiary
Remove approval Compactu32proposal_id
Spend BoxAssetKindasset_kind
CompactBalanceamount
BoxBeneficiaryLookupOfbeneficiary
OptionBlockNumbervalid_from
Payout SpendIndexindex
Check status SpendIndexindex
Void spend SpendIndexindex

Sudo

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

ImOnline

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Heartbeat HeartbeatBlockNumberheartbeat
AuthorityIdasRuntimeAppPublicSignaturesignature

Identity

Name Nano S Nano S XL Nano SP/X - Stax 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
IdentityInformationasIdentityInformationProviderFieldsIdentifierfields
Provide judgement Compactu32reg_index
AccountIdLookupOfTtarget
JudgementBalanceOfTjudgement
Hashidentity
Kill identity AccountIdLookupOfTtarget
Add sub AccountIdLookupOfTsub
Datadata
Rename sub AccountIdLookupOfTsub
Datadata
Remove sub AccountIdLookupOfTsub
Quit sub
Add username authority AccountIdLookupOfTauthority
Vecu8suffix
u32allocation
Remove username authority AccountIdLookupOfTauthority
Set username for AccountIdLookupOfTwho
Vecu8username
OptionOffchainSignaturesignature
Accept username UsernameTusername
Remove expired approval UsernameTusername
Set primary username UsernameTusername
Remove dangling username UsernameTusername

Recovery

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
As recovered AccountIdLookupOfTaccount
Callcall
Set recovered AccountIdLookupOfTlost
AccountIdLookupOfTrescuer
Create recovery VecAccountIdfriends
u16threshold
BlockNumberdelay_period
Initiate recovery AccountIdLookupOfTaccount
Vouch recovery AccountIdLookupOfTlost
AccountIdLookupOfTrescuer
Claim recovery AccountIdLookupOfTaccount
Close recovery AccountIdLookupOfTrescuer
Remove recovery
Cancel recovered AccountIdLookupOfTaccount

Vesting

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Vest
Vest other AccountIdLookupOfTtarget
Vested transfer AccountIdLookupOfTtarget
VestingInfoschedule
Force vested transfer AccountIdLookupOfTsource
AccountIdLookupOfTtarget
VestingInfoschedule
Merge schedules u32schedule1_index
u32schedule2_index
Force remove vesting schedule LookupasStaticLookupSourcetarget
u32schedule_index

Scheduler

Name Nano S Nano S XL Nano SP/X - Stax 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

Preimage

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Note preimage Vecu8bytes
Unnote preimage Hashhash
Request preimage Hashhash
Unrequest preimage Hashhash
Ensure updated VecHashhashes

Proxy

Name Nano S Nano S XL Nano SP/X - Stax 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

Multisig

Name Nano S Nano S XL Nano SP/X - Stax 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

Bounties

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Propose bounty CompactBalanceamount
Bytesdescription
Approve bounty Compactu32bounty_id
Propose curator Compactu32bounty_id
AccountIdLookupOfTcurator
CompactBalancefee
Unassign curator Compactu32bounty_id
Accept curator Compactu32bounty_id
Award bounty Compactu32bounty_id
AccountIdLookupOfTbeneficiary
Claim bounty Compactu32bounty_id
Close bounty Compactu32bounty_id
Extend bounty expiry Compactu32bounty_id
Bytesremark

Tips

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Report awesome Bytesreason
AccountIdLookupOfTwho
Retract tip Hashhash
Tip new Bytesreason
AccountIdLookupOfTwho
Compactu128tip_value
Tip Hashhash
Compactu128tip_value
Close tip Hashhash
Slash tip Hashhash

TransactionStorage

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Store Vecu8data
Renew BlockNumberblock
u32index
Check proof TransactionStorageProofproof

BagsList

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Rebag AccountIdLookupOfTdislocated
Put in front of AccountIdLookupOfTlighter
Put in front of other AccountIdLookupOfTheavier
AccountIdLookupOfTlighter

NominationPools

Name Nano S Nano S XL Nano SP/X - Stax 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
Adjust pool deposit PoolIdpool_id
Set commission claim permission PoolIdpool_id
OptionCommissionClaimPermissionAccountIdpermission

Registry

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Jump start network ✔️ ✔️
Confirm jump start ✔️ ✔️ VerifyingKeyverifying_key
Register ✔️ ✔️ AccountIdprogram_modification_account
BoundedVecProgramInstanceTMaxProgramHashesprograms_data
Change program instance ✔️ ✔️ VerifyingKeyverifying_key
BoundedVecProgramInstanceTMaxProgramHashesnew_program_instance
Change program modification account ✔️ ✔️ VerifyingKeyverifying_key
AccountIdnew_program_mod_account

Slashing

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments

Programs

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Set program ✔️ ✔️ Vecu8new_program
Vecu8configuration_schema
Vecu8auxiliary_data_schema
Vecu8oracle_data_pointer
u8version_number
Remove program ✔️ ✔️ Hashprogram_hash

TransactionPause

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Pause transaction Vecu8pallet_name
Vecu8function_name
Unpause transaction Vecu8pallet_name
Vecu8function_name

Propagation

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments

Parameters

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Change request limit u32request_limit
Change max instructions per programs u64max_instructions_per_programs
Change signers info u8total_signers
u8threshold
Change accepted mrtd values MrtdValuesaccepted_mrtd_values

Oracle

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments

Attestation

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Attest Vecu8quote

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors