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
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 S | Nano S XL | Nano SP/X | Nesting | Arguments |
---|---|---|---|---|---|
Fill block | Perbill ratio |
||||
Remark | Bytes remark |
||||
Set heap pages | u64 pages |
||||
Set code | Vecu8 code |
||||
Set code without checks | Vecu8 code |
||||
Set storage | VecKeyValue items |
||||
Kill storage | VecKey keys |
||||
Kill prefix | Key prefixu32 subkeys |
||||
Remark with event | Bytes remark |
Name | Nano S | Nano S XL | Nano SP/X | Nesting | Arguments |
---|---|---|---|---|---|
Set | Compactu64 now |
Name | Nano S | Nano S XL | Nano SP/X | Nesting | Arguments |
---|---|---|---|---|---|
Sudo | Call call |
||||
Sudo unchecked weight | Call callWeight weight |
||||
Set key | LookupasStaticLookupSource new_ |
||||
Sudo as | LookupasStaticLookupSource whoCall call |
Name | Nano S | Nano S XL | Nano SP/X | Nesting | Arguments |
---|---|---|---|---|---|
Set payment asset | AccountId payerOptionChargeAssetIdOfT asset_id |
Name | Nano S | Nano S XL | Nano SP/X | Nesting | Arguments |
---|---|---|---|---|---|
Claim | AccountIndex index |
||||
Transfer | AccountId new_AccountIndex index |
||||
Free | AccountIndex index |
||||
Force transfer | AccountId new_AccountIndex indexbool freeze |
||||
Freeze | AccountIndex index |
Name | Nano S | Nano S XL | Nano SP/X | Nesting | Arguments |
---|---|---|---|---|---|
Transfer | ✔️ | ✔️ | ✔️ | ✔️ | LookupasStaticLookupSource destCompactBalance amount |
Set balance | ✔️ | ✔️ | ✔️ | LookupasStaticLookupSource whoCompactBalance new_freeCompactBalance new_reserved |
|
Force transfer | ✔️ | ✔️ | ✔️ | ✔️ | LookupasStaticLookupSource sourceLookupasStaticLookupSource destCompactBalance amount |
Transfer keep alive | ✔️ | ✔️ | ✔️ | ✔️ | LookupasStaticLookupSource destCompactBalance amount |
Transfer all | ✔️ | ✔️ | ✔️ | LookupasStaticLookupSource destbool keep_alive |
|
Force unreserve | ✔️ | ✔️ | LookupasStaticLookupSource whoBalance amount |
Name | Nano S | Nano S XL | Nano SP/X | Nesting | Arguments |
---|---|---|---|---|---|
Add registrar | AccountId account |
||||
Set identity | IdentityInfo info |
||||
Set subs | VecTupleAccountIdData subs |
||||
Clear identity | |||||
Request judgement | Compactu32 reg_indexCompactu128 max_fee |
||||
Cancel request | RegistrarIndex reg_index |
||||
Set fee | Compactu32 indexCompactu128 fee |
||||
Set account id | Compactu32 indexAccountId new_ |
||||
Set fields | Compactu32 indexIdentityFields fields |
||||
Provide judgement | Compactu32 reg_indexLookupasStaticLookupSource targetJudgementBalanceOfT judgement |
||||
Kill identity | LookupasStaticLookupSource target |
||||
Add sub | LookupasStaticLookupSource subData data |
||||
Rename sub | LookupasStaticLookupSource subData data |
||||
Remove sub | LookupasStaticLookupSource sub |
||||
Quit sub |
Name | Nano S | Nano S XL | Nano SP/X | Nesting | Arguments |
---|---|---|---|---|---|
As multi threshold 1 | VecAccountId other_signatoriesCall call |
||||
As multi | u16 thresholdVecAccountId other_signatoriesOptionTimepoint maybe_timepointOpaqueCall callbool store_callWeight max_weight |
||||
Approve as multi | u16 thresholdVecAccountId other_signatoriesOptionTimepoint maybe_timepointH256 call_hashWeight max_weight |
||||
Cancel as multi | u16 thresholdVecAccountId other_signatoriesTimepoint timepointH256 call_hash |
Name | Nano S | Nano S XL | Nano SP/X | Nesting | Arguments |
---|---|---|---|---|---|
Set validation data | ParachainInherentData data |
||||
Sudo send upward message | UpwardMessage message |
||||
Authorize upgrade | Hash code_hash |
||||
Enact authorized upgrade | Vecu8 code |
Name | Nano S | Nano S XL | Nano SP/X | Nesting | Arguments |
---|
Name | Nano S | Nano S XL | Nano SP/X | Nesting | Arguments |
---|---|---|---|---|---|
Set uncles | VecHeader new_uncles |
Name | Nano S | Nano S XL | Nano SP/X | Nesting | Arguments |
---|---|---|---|---|---|
Set invulnerables | VecAccountId new_ |
||||
Set desired candidates | u32 max |
||||
Set candidacy bond | Balance bond |
||||
Register as candidate | |||||
Leave intent |
Name | Nano S | Nano S XL | Nano SP/X | Nesting | Arguments |
---|---|---|---|---|---|
Set keys | Keys keysBytes proof |
||||
Purge keys |
Name | Nano S | Nano S XL | Nano SP/X | Nesting | Arguments |
---|---|---|---|---|---|
Set members | VecAccountId new_membersOptionAccountId primeMemberCount old_count |
||||
Execute | Proposal proposalCompactu32 length_bound |
||||
Propose | Compactu32 thresholdProposal proposalCompactu32 length_bound |
||||
Vote | Hash proposalCompactu32 indexbool approve |
||||
Close | Hash proposal_hashCompactu32 indexCompactu64 proposal_weight_boundCompactu32 length_bound |
||||
Disapprove proposal | Hash proposal_hash |
Name | Nano S | Nano S XL | Nano SP/X | Nesting | Arguments |
---|---|---|---|---|---|
Add member | AccountId who |
||||
Remove member | AccountId who |
||||
Swap member | AccountId removeAccountId add |
||||
Reset members | VecAccountId members |
||||
Change key | AccountId new_ |
||||
Set prime | AccountId who |
||||
Clear prime |
Name | Nano S | Nano S XL | Nano SP/X | Nesting | Arguments |
---|---|---|---|---|---|
Propose spend | CompactBalance amountLookupasStaticLookupSource beneficiary |
||||
Reject proposal | Compactu32 proposal_id |
||||
Approve proposal | Compactu32 proposal_id |
||||
Spend | CompactBalance amountLookupasStaticLookupSource beneficiary |
||||
Remove approval | Compactu32 proposal_id |
Name | Nano S | Nano S XL | Nano SP/X | Nesting | Arguments |
---|---|---|---|---|---|
Propose | Hash proposal_hashCompactBalance amount |
||||
Second | Compactu32 proposalCompactu32 seconds_upper_bound |
||||
Vote | Compactu32 ref_indexAccountVote vote |
||||
Emergency cancel | ReferendumIndex ref_index |
||||
External propose | Hash proposal_hash |
||||
External propose majority | Hash proposal_hash |
||||
External propose default | Hash proposal_hash |
||||
Fast track | Hash proposal_hashBlockNumber voting_periodBlockNumber delay |
||||
Veto external | Hash proposal_hash |
||||
Cancel referendum | Compactu32 ref_index |
||||
Cancel queued | ReferendumIndex which |
||||
Delegate | AccountId toConviction convictionBalanceOf balance |
||||
Undelegate | |||||
Clear public proposals | |||||
Note preimage | Bytes encoded_proposal |
||||
Note preimage operational | Bytes encoded_proposal |
||||
Note imminent preimage | Bytes encoded_proposal |
||||
Note imminent preimage operational | Bytes encoded_proposal |
||||
Reap preimage | Hash proposal_hashCompactu32 proposal_len_upper_bound |
||||
Unlock | AccountId target |
||||
Remove vote | ReferendumIndex index |
||||
Remove other vote | AccountId targetReferendumIndex index |
||||
Enact proposal | Hash proposal_hashReferendumIndex index |
||||
Blacklist | Hash proposal_hashOptionReferendumIndex maybe_ref_index |
||||
Cancel proposal | Compactu32 prop_index |
Name | Nano S | Nano S XL | Nano SP/X | Nesting | Arguments |
---|---|---|---|---|---|
Set members | VecAccountId new_membersOptionAccountId primeMemberCount old_count |
||||
Execute | Proposal proposalCompactu32 length_bound |
||||
Propose | Compactu32 thresholdProposal proposalCompactu32 length_bound |
||||
Vote | Hash proposalCompactu32 indexbool approve |
||||
Close | Hash proposal_hashCompactu32 indexCompactu64 proposal_weight_boundCompactu32 length_bound |
||||
Disapprove proposal | Hash proposal_hash |
Name | Nano S | Nano S XL | Nano SP/X | Nesting | Arguments |
---|---|---|---|---|---|
Add member | AccountId who |
||||
Remove member | AccountId who |
||||
Swap member | AccountId removeAccountId add |
||||
Reset members | VecAccountId members |
||||
Change key | AccountId new_ |
||||
Set prime | AccountId who |
||||
Clear prime |
Name | Nano S | Nano S XL | Nano SP/X | Nesting | Arguments |
---|---|---|---|---|---|
Schedule | BlockNumber whenOptionschedulePeriodBlockNumber maybe_periodicschedulePriority priorityBoxCallOrHashOfT call |
||||
Cancel | BlockNumber whenu32 index |
||||
Schedule named | Vecu8 idBlockNumber whenOptionschedulePeriodBlockNumber maybe_periodicschedulePriority priorityBoxCallOrHashOfT call |
||||
Cancel named | Vecu8 id |
||||
Schedule after | BlockNumber afterOptionschedulePeriodBlockNumber maybe_periodicschedulePriority priorityBoxCallOrHashOfT call |
||||
Schedule named after | Vecu8 idBlockNumber afterOptionschedulePeriodBlockNumber maybe_periodicschedulePriority priorityBoxCallOrHashOfT call |
Name | Nano S | Nano S XL | Nano SP/X | Nesting | Arguments |
---|---|---|---|---|---|
Batch | VecCall calls |
||||
As derivative | u16 indexCall call |
||||
Batch all | VecCall calls |
||||
Dispatch as | BoxPalletsOrigin as_originCall call |
||||
Force batch | VecCall calls |
Name | Nano S | Nano S XL | Nano SP/X | Nesting | Arguments |
---|---|---|---|---|---|
Note preimage | Vecu8 bytes |
||||
Unnote preimage | Hash hash |
||||
Request preimage | Hash hash |
||||
Unrequest preimage | Hash hash |
Name | Nano S | Nano S XL | Nano SP/X | Nesting | Arguments |
---|---|---|---|---|---|
Proxy | AccountId realOptionProxyType force_proxy_typeCall call |
||||
Add proxy | AccountId delegateProxyType proxy_typeBlockNumber delay |
||||
Remove proxy | AccountId delegateProxyType proxy_typeBlockNumber delay |
||||
Remove proxies | |||||
Anonymous | ProxyType proxy_typeBlockNumber delayu16 index |
||||
Kill anonymous | AccountId spawnerProxyType proxy_typeu16 indexCompactu32 heightCompactu32 ext_index |
||||
Announce | AccountId realCallHashOf call_hash |
||||
Remove announcement | AccountId realCallHashOf call_hash |
||||
Reject announcement | AccountId delegateCallHashOf call_hash |
||||
Proxy announced | AccountId delegateAccountId realOptionProxyType force_proxy_typeCall call |
Name | Nano S | Nano S XL | Nano SP/X | Nesting | Arguments |
---|---|---|---|---|---|
Service overweight | OverweightIndex indexWeight weight_limit |
||||
Suspend xcm execution | |||||
Resume xcm execution | |||||
Update suspend threshold | u32 new_ |
||||
Update drop threshold | u32 new_ |
||||
Update resume threshold | u32 new_ |
||||
Update threshold weight | Weight new_ |
||||
Update weight restrict decay | Weight new_ |
||||
Update xcmp max individual weight | Weight new_ |
Name | Nano S | Nano S XL | Nano SP/X | Nesting | Arguments |
---|---|---|---|---|---|
Send | BoxVersionedMultiLocation destBoxVersionedXcmTuple message |
||||
Teleport assets | BoxVersionedMultiLocation destBoxVersionedMultiLocation beneficiaryBoxVersionedMultiAssets assetsu32 fee_asset_item |
||||
Reserve transfer assets | BoxVersionedMultiLocation destBoxVersionedMultiLocation beneficiaryBoxVersionedMultiAssets assetsu32 fee_asset_item |
||||
Execute | BoxVersionedXcmTasSysConfigCall messageWeight max_weight |
||||
Force xcm version | BoxMultiLocation locationXcmVersion xcm_version |
||||
Force default xcm version | OptionXcmVersion maybe_xcm_version |
||||
Force subscribe version notify | BoxVersionedMultiLocation location |
||||
Force unsubscribe version notify | BoxVersionedMultiLocation location |
||||
Limited reserve transfer assets | BoxVersionedMultiLocation destBoxVersionedMultiLocation beneficiaryBoxVersionedMultiAssets assetsu32 fee_asset_itemWeightLimit weight_limit |
||||
Limited teleport assets | BoxVersionedMultiLocation destBoxVersionedMultiLocation beneficiaryBoxVersionedMultiAssets assetsu32 fee_asset_itemWeightLimit weight_limit |
Name | Nano S | Nano S XL | Nano SP/X | Nesting | Arguments |
---|
Name | Nano S | Nano S XL | Nano SP/X | Nesting | Arguments |
---|---|---|---|---|---|
Service overweight | OverweightIndex indexWeight weight_limit |
Name | Nano S | Nano S XL | Nano SP/X | Nesting | Arguments |
---|---|---|---|---|---|
Transfer | CurrencyId currency_idBalance amountBoxVersionedMultiLocation destWeight dest_weight |
||||
Transfer multiasset | BoxVersionedMultiAsset assetBoxVersionedMultiLocation destWeight dest_weight |
||||
Transfer with fee | CurrencyId currency_idBalance amountBalance feeBoxVersionedMultiLocation destWeight dest_weight |
||||
Transfer multiasset with fee | BoxVersionedMultiAsset assetBoxVersionedMultiAsset feeBoxVersionedMultiLocation destWeight dest_weight |
||||
Transfer multicurrencies | VecTupleCurrencyIdBalance currenciesu32 fee_itemBoxVersionedMultiLocation destWeight dest_weight |
||||
Transfer multiassets | BoxVersionedMultiAssets assetsu32 fee_itemBoxVersionedMultiLocation destWeight dest_weight |
Name | Nano S | Nano S XL | Nano SP/X | Nesting | Arguments |
---|
Name | Nano S | Nano S XL | Nano SP/X | Nesting | Arguments |
---|---|---|---|---|---|
Transfer | LookupasStaticLookupSource destCurrencyId currency_idCompactBalance amount |
||||
Transfer all | LookupasStaticLookupSource destCurrencyId currency_idbool keep_alive |
||||
Transfer keep alive | LookupasStaticLookupSource destCurrencyId currency_idCompactBalance amount |
||||
Force transfer | LookupasStaticLookupSource sourceLookupasStaticLookupSource destCurrencyId currency_idCompactBalance amount |
||||
Set balance | LookupasStaticLookupSource whoCurrencyId currency_idCompactBalance new_freeCompactBalance new_reserved |
Name | Nano S | Nano S XL | Nano SP/X | Nesting | Arguments |
---|---|---|---|---|---|
Add range | u64 length |
||||
Set metadata | AssetId asset_idBasicAssetMetadata metadata |
Name | Nano S | Nano S XL | Nano SP/X | Nesting | Arguments |
---|---|---|---|---|---|
Set | AssetId asset_idAccountId value |
||||
Grant root | AssetId asset_id |
||||
Remove | AssetId asset_id |
Name | Nano S | Nano S XL | Nano SP/X | Nesting | Arguments |
---|---|---|---|---|---|
Transfer | AssetId assetLookupasStaticLookupSource destCompactBalance amountbool keep_alive |
||||
Transfer native | LookupasStaticLookupSource destCompactBalance amountbool keep_alive |
||||
Force transfer | AssetId assetLookupasStaticLookupSource sourceLookupasStaticLookupSource destCompactBalance amountbool keep_alive |
||||
Force transfer native | LookupasStaticLookupSource sourceLookupasStaticLookupSource destCompactBalance amountbool keep_alive |
||||
Transfer all | AssetId assetLookupasStaticLookupSource destbool keep_alive |
||||
Transfer all native | LookupasStaticLookupSource destbool keep_alive |
||||
Mint initialize | CompactBalance amountLookupasStaticLookupSource dest |
||||
Mint initialize with governance | CompactBalance amountLookupasStaticLookupSource governance_originLookupasStaticLookupSource dest |
||||
Mint into | AssetId asset_idLookupasStaticLookupSource destCompactBalance amount |
||||
Burn from | AssetId asset_idLookupasStaticLookupSource destCompactBalance amount |
Name | Nano S | Nano S XL | Nano SP/X | Nesting | Arguments |
---|---|---|---|---|---|
Initialize | |||||
Initialize at | Moment at |
||||
Populate | VecTupleRemoteAccountOfTRewardAmountOfTVestingPeriodOfT rewards |
||||
Associate | AccountId reward_accountProofOfT proof |
||||
Claim | |||||
Unlock rewards for | VecAccountId reward_accounts |
||||
Add | VecTupleRemoteAccountOfTRewardAmountOfTVestingPeriodOfT additions |
Name | Nano S | Nano S XL | Nano SP/X | Nesting | Arguments |
---|---|---|---|---|---|
Claim | AssetIdOfT assetVestingScheduleIdSetVestingScheduleIdMaxVestingSchedules vesting_schedule_ids |
||||
Vested transfer | LookupasStaticLookupSource fromLookupasStaticLookupSource beneficiaryAssetIdOfT assetVestingScheduleInfoOfT schedule_info |
||||
Update vesting schedules | LookupasStaticLookupSource whoAssetIdOfT assetVecVestingScheduleInfoOfT vesting_schedules |
||||
Claim for | LookupasStaticLookupSource destAssetIdOfT assetVestingScheduleIdSetVestingScheduleIdMaxVestingSchedules vesting_schedule_ids |
Name | Nano S | Nano S XL | Nano SP/X | Nesting | Arguments |
---|---|---|---|---|---|
Offer | ValidatedBondOfferOfTValidBondOfferMinRewardVestingasVestedTransferMinVestedTransfer offerbool keep_alive |
||||
Bond | BondOfferId offer_idBalance nb_of_bondsbool keep_alive |
||||
Cancel | BondOfferId offer_id |
Name | Nano S | Nano S XL | Nano SP/X | Nesting | Arguments |
---|---|---|---|---|---|
Register asset | ForeignAssetId locationRational ratioOptionExponent decimals |
||||
Update asset | LocalAssetId asset_idForeignAssetId locationRational ratioOptionExponent decimals |
||||
Set min fee | ParaId target_parachain_idForeignAssetId foreign_asset_idOptionBalance amount |
Name | Nano S | Nano S XL | Nano SP/X | Nesting | Arguments |
---|---|---|---|---|---|
Create | PoolInitConfigurationOfT pool |
||||
Buy | PoolId pool_idAssetId in_asset_idAssetAmountAssetIdBalance out_assetbool keep_alive |
||||
Swap | PoolId pool_idAssetAmountAssetIdBalance in_assetAssetAmountAssetIdBalance min_receivebool keep_alive |
||||
Add liquidity | PoolId pool_idBTreeMapAssetIdBalance assetsBalance min_mint_amountbool keep_alive |
||||
Remove liquidity | PoolId pool_idBalance lp_amountBTreeMapAssetIdBalance min_receive |
||||
Enable twap | PoolId pool_id |
Name | Nano S | Nano S XL | Nano SP/X | Nesting | Arguments |
---|---|---|---|---|---|
Disable | CallFilterEntryOfT entry |
||||
Enable | CallFilterEntryOfT entry |