Skip to content

itsbobbyzz/ledger-picasso

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ledger Picasso App

License GithubActions


zondax_light zondax_dark

Please visit our website at zondax.ch


This project contains the Picasso app (https://www.picasso.xyz/) 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

Picasso 1.10005.x

System

Name Nano S Nano S XL Nano SP/X Nesting Arguments
Fill block Perbillratio
Remark Bytesremark
Set heap pages u64pages
Set code Vecu8code
Set code without checks Vecu8code
Set storage VecKeyValueitems
Kill storage VecKeykeys
Kill prefix Keyprefix
u32subkeys
Remark with event Bytesremark

Timestamp

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

Sudo

Name Nano S Nano S XL Nano SP/X Nesting Arguments
Sudo Callcall
Sudo unchecked weight Callcall
Weightweight
Set key LookupasStaticLookupSourcenew_
Sudo as LookupasStaticLookupSourcewho
Callcall

AssetTxPayment

Name Nano S Nano S XL Nano SP/X Nesting Arguments
Set payment asset AccountIdpayer
OptionChargeAssetIdOfTasset_id

Indices

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

Balances

Name Nano S Nano S XL Nano SP/X Nesting Arguments
Transfer ✔️ ✔️ ✔️ ✔️ LookupasStaticLookupSourcedest
CompactBalanceamount
Set balance ✔️ ✔️ ✔️ LookupasStaticLookupSourcewho
CompactBalancenew_free
CompactBalancenew_reserved
Force transfer ✔️ ✔️ ✔️ ✔️ LookupasStaticLookupSourcesource
LookupasStaticLookupSourcedest
CompactBalanceamount
Transfer keep alive ✔️ ✔️ ✔️ ✔️ LookupasStaticLookupSourcedest
CompactBalanceamount
Transfer all ✔️ ✔️ ✔️ LookupasStaticLookupSourcedest
boolkeep_alive
Force unreserve ✔️ ✔️ LookupasStaticLookupSourcewho
Balanceamount

Identity

Name Nano S Nano S XL Nano SP/X Nesting Arguments
Add registrar AccountIdaccount
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
AccountIdnew_
Set fields Compactu32index
IdentityFieldsfields
Provide judgement Compactu32reg_index
LookupasStaticLookupSourcetarget
JudgementBalanceOfTjudgement
Kill identity LookupasStaticLookupSourcetarget
Add sub LookupasStaticLookupSourcesub
Datadata
Rename sub LookupasStaticLookupSourcesub
Datadata
Remove sub LookupasStaticLookupSourcesub
Quit sub

Multisig

Name Nano S Nano S XL Nano SP/X Nesting Arguments
As multi threshold 1 VecAccountIdother_signatories
Callcall
As multi u16threshold
VecAccountIdother_signatories
OptionTimepointmaybe_timepoint
OpaqueCallcall
boolstore_call
Weightmax_weight
Approve as multi u16threshold
VecAccountIdother_signatories
OptionTimepointmaybe_timepoint
H256call_hash
Weightmax_weight
Cancel as multi u16threshold
VecAccountIdother_signatories
Timepointtimepoint
H256call_hash

ParachainSystem

Name Nano S Nano S XL Nano SP/X Nesting Arguments
Set validation data ParachainInherentDatadata
Sudo send upward message UpwardMessagemessage
Authorize upgrade Hashcode_hash
Enact authorized upgrade Vecu8code

ParachainInfo

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

Authorship

Name Nano S Nano S XL Nano SP/X Nesting Arguments
Set uncles VecHeadernew_uncles

CollatorSelection

Name Nano S Nano S XL Nano SP/X Nesting Arguments
Set invulnerables VecAccountIdnew_
Set desired candidates u32max
Set candidacy bond Balancebond
Register as candidate
Leave intent

Session

Name Nano S Nano S XL Nano SP/X Nesting Arguments
Set keys Keyskeys
Bytesproof
Purge keys

Council

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

CouncilMembership

Name Nano S Nano S XL Nano SP/X Nesting Arguments
Add member AccountIdwho
Remove member AccountIdwho
Swap member AccountIdremove
AccountIdadd
Reset members VecAccountIdmembers
Change key AccountIdnew_
Set prime AccountIdwho
Clear prime

Treasury

Name Nano S Nano S XL Nano SP/X Nesting Arguments
Propose spend CompactBalanceamount
LookupasStaticLookupSourcebeneficiary
Reject proposal Compactu32proposal_id
Approve proposal Compactu32proposal_id
Spend CompactBalanceamount
LookupasStaticLookupSourcebeneficiary
Remove approval Compactu32proposal_id

Democracy

Name Nano S Nano S XL Nano SP/X Nesting Arguments
Propose Hashproposal_hash
CompactBalanceamount
Second Compactu32proposal
Compactu32seconds_upper_bound
Vote Compactu32ref_index
AccountVotevote
Emergency cancel ReferendumIndexref_index
External propose Hashproposal_hash
External propose majority Hashproposal_hash
External propose default Hashproposal_hash
Fast track Hashproposal_hash
BlockNumbervoting_period
BlockNumberdelay
Veto external Hashproposal_hash
Cancel referendum Compactu32ref_index
Cancel queued ReferendumIndexwhich
Delegate AccountIdto
Convictionconviction
BalanceOfbalance
Undelegate
Clear public proposals
Note preimage Bytesencoded_proposal
Note preimage operational Bytesencoded_proposal
Note imminent preimage Bytesencoded_proposal
Note imminent preimage operational Bytesencoded_proposal
Reap preimage Hashproposal_hash
Compactu32proposal_len_upper_bound
Unlock AccountIdtarget
Remove vote ReferendumIndexindex
Remove other vote AccountIdtarget
ReferendumIndexindex
Enact proposal Hashproposal_hash
ReferendumIndexindex
Blacklist Hashproposal_hash
OptionReferendumIndexmaybe_ref_index
Cancel proposal Compactu32prop_index

TechnicalCommittee

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

TechnicalCommitteeMembership

Name Nano S Nano S XL Nano SP/X Nesting Arguments
Add member AccountIdwho
Remove member AccountIdwho
Swap member AccountIdremove
AccountIdadd
Reset members VecAccountIdmembers
Change key AccountIdnew_
Set prime AccountIdwho
Clear prime

Scheduler

Name Nano S Nano S XL Nano SP/X Nesting Arguments
Schedule BlockNumberwhen
OptionschedulePeriodBlockNumbermaybe_periodic
schedulePrioritypriority
BoxCallOrHashOfTcall
Cancel BlockNumberwhen
u32index
Schedule named Vecu8id
BlockNumberwhen
OptionschedulePeriodBlockNumbermaybe_periodic
schedulePrioritypriority
BoxCallOrHashOfTcall
Cancel named Vecu8id
Schedule after BlockNumberafter
OptionschedulePeriodBlockNumbermaybe_periodic
schedulePrioritypriority
BoxCallOrHashOfTcall
Schedule named after Vecu8id
BlockNumberafter
OptionschedulePeriodBlockNumbermaybe_periodic
schedulePrioritypriority
BoxCallOrHashOfTcall

Utility

Name Nano S Nano S XL Nano SP/X Nesting Arguments
Batch VecCallcalls
As derivative u16index
Callcall
Batch all VecCallcalls
Dispatch as BoxPalletsOriginas_origin
Callcall
Force batch VecCallcalls

Preimage

Name Nano S Nano S XL Nano SP/X Nesting Arguments
Note preimage Vecu8bytes
Unnote preimage Hashhash
Request preimage Hashhash
Unrequest preimage Hashhash

Proxy

Name Nano S Nano S XL Nano SP/X Nesting Arguments
Proxy AccountIdreal
OptionProxyTypeforce_proxy_type
Callcall
Add proxy AccountIddelegate
ProxyTypeproxy_type
BlockNumberdelay
Remove proxy AccountIddelegate
ProxyTypeproxy_type
BlockNumberdelay
Remove proxies
Anonymous ProxyTypeproxy_type
BlockNumberdelay
u16index
Kill anonymous AccountIdspawner
ProxyTypeproxy_type
u16index
Compactu32height
Compactu32ext_index
Announce AccountIdreal
CallHashOfcall_hash
Remove announcement AccountIdreal
CallHashOfcall_hash
Reject announcement AccountIddelegate
CallHashOfcall_hash
Proxy announced AccountIddelegate
AccountIdreal
OptionProxyTypeforce_proxy_type
Callcall

XcmpQueue

Name Nano S Nano S XL Nano SP/X Nesting Arguments
Service overweight OverweightIndexindex
Weightweight_limit
Suspend xcm execution
Resume xcm execution
Update suspend threshold u32new_
Update drop threshold u32new_
Update resume threshold u32new_
Update threshold weight Weightnew_
Update weight restrict decay Weightnew_
Update xcmp max individual weight Weightnew_

RelayerXcm

Name Nano S Nano S XL Nano SP/X Nesting Arguments
Send BoxVersionedMultiLocationdest
BoxVersionedXcmTuplemessage
Teleport assets BoxVersionedMultiLocationdest
BoxVersionedMultiLocationbeneficiary
BoxVersionedMultiAssetsassets
u32fee_asset_item
Reserve transfer assets BoxVersionedMultiLocationdest
BoxVersionedMultiLocationbeneficiary
BoxVersionedMultiAssetsassets
u32fee_asset_item
Execute BoxVersionedXcmTasSysConfigCallmessage
Weightmax_weight
Force xcm version BoxMultiLocationlocation
XcmVersionxcm_version
Force default xcm version OptionXcmVersionmaybe_xcm_version
Force subscribe version notify BoxVersionedMultiLocationlocation
Force unsubscribe version notify BoxVersionedMultiLocationlocation
Limited reserve transfer assets BoxVersionedMultiLocationdest
BoxVersionedMultiLocationbeneficiary
BoxVersionedMultiAssetsassets
u32fee_asset_item
WeightLimitweight_limit
Limited teleport assets BoxVersionedMultiLocationdest
BoxVersionedMultiLocationbeneficiary
BoxVersionedMultiAssetsassets
u32fee_asset_item
WeightLimitweight_limit

CumulusXcm

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

DmpQueue

Name Nano S Nano S XL Nano SP/X Nesting Arguments
Service overweight OverweightIndexindex
Weightweight_limit

XTokens

Name Nano S Nano S XL Nano SP/X Nesting Arguments
Transfer CurrencyIdcurrency_id
Balanceamount
BoxVersionedMultiLocationdest
Weightdest_weight
Transfer multiasset BoxVersionedMultiAssetasset
BoxVersionedMultiLocationdest
Weightdest_weight
Transfer with fee CurrencyIdcurrency_id
Balanceamount
Balancefee
BoxVersionedMultiLocationdest
Weightdest_weight
Transfer multiasset with fee BoxVersionedMultiAssetasset
BoxVersionedMultiAssetfee
BoxVersionedMultiLocationdest
Weightdest_weight
Transfer multicurrencies VecTupleCurrencyIdBalancecurrencies
u32fee_item
BoxVersionedMultiLocationdest
Weightdest_weight
Transfer multiassets BoxVersionedMultiAssetsassets
u32fee_item
BoxVersionedMultiLocationdest
Weightdest_weight

UnknownTokens

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

Tokens

Name Nano S Nano S XL Nano SP/X Nesting Arguments
Transfer LookupasStaticLookupSourcedest
CurrencyIdcurrency_id
CompactBalanceamount
Transfer all LookupasStaticLookupSourcedest
CurrencyIdcurrency_id
boolkeep_alive
Transfer keep alive LookupasStaticLookupSourcedest
CurrencyIdcurrency_id
CompactBalanceamount
Force transfer LookupasStaticLookupSourcesource
LookupasStaticLookupSourcedest
CurrencyIdcurrency_id
CompactBalanceamount
Set balance LookupasStaticLookupSourcewho
CurrencyIdcurrency_id
CompactBalancenew_free
CompactBalancenew_reserved

CurrencyFactory

Name Nano S Nano S XL Nano SP/X Nesting Arguments
Add range u64length
Set metadata AssetIdasset_id
BasicAssetMetadatametadata

GovernanceRegistry

Name Nano S Nano S XL Nano SP/X Nesting Arguments
Set AssetIdasset_id
AccountIdvalue
Grant root AssetIdasset_id
Remove AssetIdasset_id

Assets

Name Nano S Nano S XL Nano SP/X Nesting Arguments
Transfer AssetIdasset
LookupasStaticLookupSourcedest
CompactBalanceamount
boolkeep_alive
Transfer native LookupasStaticLookupSourcedest
CompactBalanceamount
boolkeep_alive
Force transfer AssetIdasset
LookupasStaticLookupSourcesource
LookupasStaticLookupSourcedest
CompactBalanceamount
boolkeep_alive
Force transfer native LookupasStaticLookupSourcesource
LookupasStaticLookupSourcedest
CompactBalanceamount
boolkeep_alive
Transfer all AssetIdasset
LookupasStaticLookupSourcedest
boolkeep_alive
Transfer all native LookupasStaticLookupSourcedest
boolkeep_alive
Mint initialize CompactBalanceamount
LookupasStaticLookupSourcedest
Mint initialize with governance CompactBalanceamount
LookupasStaticLookupSourcegovernance_origin
LookupasStaticLookupSourcedest
Mint into AssetIdasset_id
LookupasStaticLookupSourcedest
CompactBalanceamount
Burn from AssetIdasset_id
LookupasStaticLookupSourcedest
CompactBalanceamount

CrowdloanRewards

Name Nano S Nano S XL Nano SP/X Nesting Arguments
Initialize
Initialize at Momentat
Populate VecTupleRemoteAccountOfTRewardAmountOfTVestingPeriodOfTrewards
Associate AccountIdreward_account
ProofOfTproof
Claim
Unlock rewards for VecAccountIdreward_accounts
Add VecTupleRemoteAccountOfTRewardAmountOfTVestingPeriodOfTadditions

Vesting

Name Nano S Nano S XL Nano SP/X Nesting Arguments
Claim AssetIdOfTasset
VestingScheduleIdSetVestingScheduleIdMaxVestingSchedulesvesting_schedule_ids
Vested transfer LookupasStaticLookupSourcefrom
LookupasStaticLookupSourcebeneficiary
AssetIdOfTasset
VestingScheduleInfoOfTschedule_info
Update vesting schedules LookupasStaticLookupSourcewho
AssetIdOfTasset
VecVestingScheduleInfoOfTvesting_schedules
Claim for LookupasStaticLookupSourcedest
AssetIdOfTasset
VestingScheduleIdSetVestingScheduleIdMaxVestingSchedulesvesting_schedule_ids

BondedFinance

Name Nano S Nano S XL Nano SP/X Nesting Arguments
Offer ValidatedBondOfferOfTValidBondOfferMinRewardVestingasVestedTransferMinVestedTransferoffer
boolkeep_alive
Bond BondOfferIdoffer_id
Balancenb_of_bonds
boolkeep_alive
Cancel BondOfferIdoffer_id

AssetsRegistry

Name Nano S Nano S XL Nano SP/X Nesting Arguments
Register asset ForeignAssetIdlocation
Rationalratio
OptionExponentdecimals
Update asset LocalAssetIdasset_id
ForeignAssetIdlocation
Rationalratio
OptionExponentdecimals
Set min fee ParaIdtarget_parachain_id
ForeignAssetIdforeign_asset_id
OptionBalanceamount

Pablo

Name Nano S Nano S XL Nano SP/X Nesting Arguments
Create PoolInitConfigurationOfTpool
Buy PoolIdpool_id
AssetIdin_asset_id
AssetAmountAssetIdBalanceout_asset
boolkeep_alive
Swap PoolIdpool_id
AssetAmountAssetIdBalancein_asset
AssetAmountAssetIdBalancemin_receive
boolkeep_alive
Add liquidity PoolIdpool_id
BTreeMapAssetIdBalanceassets
Balancemin_mint_amount
boolkeep_alive
Remove liquidity PoolIdpool_id
Balancelp_amount
BTreeMapAssetIdBalancemin_receive
Enable twap PoolIdpool_id

CallFilter

Name Nano S Nano S XL Nano SP/X Nesting Arguments
Disable CallFilterEntryOfTentry
Enable CallFilterEntryOfTentry

About

Ledger Nano App for Picasso

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 61.8%
  • TypeScript 15.1%
  • C++ 10.5%
  • Rust 5.4%
  • CMake 3.5%
  • Makefile 2.0%
  • Other 1.7%