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 |
---|---|---|---|---|---|
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 | AccountIdLookupOfT new_ |
||||
Sudo as | AccountIdLookupOfT 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 | AccountIdLookupOfT new_AccountIndex index |
||||
Free | AccountIndex index |
||||
Force transfer | AccountIdLookupOfT new_AccountIndex indexbool freeze |
||||
Freeze | AccountIndex index |
Name | Nano S | Nano S XL | Nano SP/X | Nesting | Arguments |
---|---|---|---|---|---|
Transfer | ✔️ | ✔️ | ✔️ | ✔️ | AccountIdLookupOfT destCompactBalance amount |
Set balance | ✔️ | ✔️ | ✔️ | AccountIdLookupOfT whoCompactBalance new_freeCompactBalance new_reserved |
|
Force transfer | ✔️ | ✔️ | ✔️ | ✔️ | AccountIdLookupOfT sourceAccountIdLookupOfT destCompactBalance amount |
Transfer keep alive | ✔️ | ✔️ | ✔️ | ✔️ | AccountIdLookupOfT destCompactBalance amount |
Transfer all | ✔️ | ✔️ | ✔️ | AccountIdLookupOfT destbool keep_alive |
|
Force unreserve | ✔️ | ✔️ | AccountIdLookupOfT whoBalance amount |
Name | Nano S | Nano S XL | Nano SP/X | Nesting | Arguments |
---|---|---|---|---|---|
Add registrar | AccountIdLookupOfT 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 indexAccountIdLookupOfT new_ |
||||
Set fields | Compactu32 indexIdentityFields fields |
||||
Provide judgement | Compactu32 reg_indexAccountIdLookupOfT targetJudgementBalanceOfT judgementHash identity |
||||
Kill identity | AccountIdLookupOfT target |
||||
Add sub | AccountIdLookupOfT subData data |
||||
Rename sub | AccountIdLookupOfT subData data |
||||
Remove sub | AccountIdLookupOfT 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_timepointCall 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 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 old weight | Hash proposal_hashCompactu32 indexCompactu64 proposal_weight_boundCompactu32 length_bound |
||||
Disapprove proposal | Hash proposal_hash |
||||
Close | Hash proposal_hashCompactu32 indexWeight proposal_weight_boundCompactu32 length_bound |
Name | Nano S | Nano S XL | Nano SP/X | Nesting | Arguments |
---|---|---|---|---|---|
Add member | AccountIdLookupOfT who |
||||
Remove member | AccountIdLookupOfT who |
||||
Swap member | AccountIdLookupOfT removeAccountIdLookupOfT add |
||||
Reset members | VecAccountId members |
||||
Change key | AccountIdLookupOfT new_ |
||||
Set prime | AccountIdLookupOfT who |
||||
Clear prime |
Name | Nano S | Nano S XL | Nano SP/X | Nesting | Arguments |
---|---|---|---|---|---|
Propose spend | CompactBalance amountAccountIdLookupOfT beneficiary |
||||
Reject proposal | Compactu32 proposal_id |
||||
Approve proposal | Compactu32 proposal_id |
||||
Spend | CompactBalance amountAccountIdLookupOfT beneficiary |
||||
Remove approval | Compactu32 proposal_id |
Name | Nano S | Nano S XL | Nano SP/X | Nesting | Arguments |
---|---|---|---|---|---|
Propose | BoundedCallOfT proposalCompactBalance amount |
||||
Second | Compactu32 proposal |
||||
Vote | Compactu32 ref_indexAccountVote vote |
||||
Emergency cancel | ReferendumIndex ref_index |
||||
External propose | BoundedCallOfT proposal |
||||
External propose majority | BoundedCallOfT proposal |
||||
External propose default | BoundedCallOfT proposal |
||||
Fast track | H256 proposal_hashBlockNumber voting_periodBlockNumber delay |
||||
Veto external | H256 proposal_hash |
||||
Cancel referendum | Compactu32 ref_index |
||||
Delegate | AccountIdLookupOfT toConviction convictionBalance balance |
||||
Undelegate | |||||
Clear public proposals | |||||
Unlock | AccountIdLookupOfT target |
||||
Remove vote | ReferendumIndex index |
||||
Remove other vote | AccountIdLookupOfT targetReferendumIndex index |
||||
Blacklist | H256 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 old weight | Hash proposal_hashCompactu32 indexCompactu64 proposal_weight_boundCompactu32 length_bound |
||||
Disapprove proposal | Hash proposal_hash |
||||
Close | Hash proposal_hashCompactu32 indexWeight proposal_weight_boundCompactu32 length_bound |
Name | Nano S | Nano S XL | Nano SP/X | Nesting | Arguments |
---|---|---|---|---|---|
Add member | AccountIdLookupOfT who |
||||
Remove member | AccountIdLookupOfT who |
||||
Swap member | AccountIdLookupOfT removeAccountIdLookupOfT add |
||||
Reset members | VecAccountId members |
||||
Change key | AccountIdLookupOfT new_ |
||||
Set prime | AccountIdLookupOfT who |
||||
Clear prime |
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 old weight | Hash proposal_hashCompactu32 indexCompactu64 proposal_weight_boundCompactu32 length_bound |
||||
Disapprove proposal | Hash proposal_hash |
||||
Close | Hash proposal_hashCompactu32 indexWeight proposal_weight_boundCompactu32 length_bound |
Name | Nano S | Nano S XL | Nano SP/X | Nesting | Arguments |
---|---|---|---|---|---|
Add member | AccountIdLookupOfT who |
||||
Remove member | AccountIdLookupOfT who |
||||
Swap member | AccountIdLookupOfT removeAccountIdLookupOfT add |
||||
Reset members | VecAccountId members |
||||
Change key | AccountIdLookupOfT new_ |
||||
Set prime | AccountIdLookupOfT who |
||||
Clear prime |
Name | Nano S | Nano S XL | Nano SP/X | Nesting | Arguments |
---|---|---|---|---|---|
Schedule | BlockNumber whenOptionschedulePeriodBlockNumber maybe_periodicschedulePriority priorityCall call |
||||
Cancel | BlockNumber whenu32 index |
||||
Schedule named | TaskName idBlockNumber whenOptionschedulePeriodBlockNumber maybe_periodicschedulePriority priorityCall call |
||||
Cancel named | TaskName id |
||||
Schedule after | BlockNumber afterOptionschedulePeriodBlockNumber maybe_periodicschedulePriority priorityCall call |
||||
Schedule named after | TaskName idBlockNumber afterOptionschedulePeriodBlockNumber maybe_periodicschedulePriority priorityCall 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 |
||||
With weight | Call callWeight weight |
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 | AccountIdLookupOfT realOptionProxyType force_proxy_typeCall call |
||||
Add proxy | AccountIdLookupOfT delegateProxyType proxy_typeBlockNumber delay |
||||
Remove proxy | AccountIdLookupOfT delegateProxyType proxy_typeBlockNumber delay |
||||
Remove proxies | |||||
Create pure | ProxyType proxy_typeBlockNumber delayu16 index |
||||
Kill pure | AccountIdLookupOfT spawnerProxyType proxy_typeu16 indexCompactu32 heightCompactu32 ext_index |
||||
Announce | AccountIdLookupOfT realCallHashOf call_hash |
||||
Remove announcement | AccountIdLookupOfT realCallHashOf call_hash |
||||
Reject announcement | AccountIdLookupOfT delegateCallHashOf call_hash |
||||
Proxy announced | AccountIdLookupOfT delegateAccountIdLookupOfT 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 | BoxVersionedXcmTasSysConfigRuntimeCall 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 destWeightLimit dest_weight_limit |
||||
Transfer multiasset | BoxVersionedMultiAsset assetBoxVersionedMultiLocation destWeightLimit dest_weight_limit |
||||
Transfer with fee | CurrencyId currency_idBalance amountBalance feeBoxVersionedMultiLocation destWeightLimit dest_weight_limit |
||||
Transfer multiasset with fee | BoxVersionedMultiAsset assetBoxVersionedMultiAsset feeBoxVersionedMultiLocation destWeightLimit dest_weight_limit |
||||
Transfer multicurrencies | VecTupleCurrencyIdBalance currenciesu32 fee_itemBoxVersionedMultiLocation destWeightLimit dest_weight_limit |
||||
Transfer multiassets | BoxVersionedMultiAssets assetsu32 fee_itemBoxVersionedMultiLocation destWeightLimit dest_weight_limit |
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 | u8_array_8 protocol_idu64 nonceOptionForeignAssetId locationAssetInfoBalance asset_info |
||||
Update asset | LocalAssetId asset_idAssetInfoUpdateBalance asset_info |
||||
Set min fee | u32 target_parachain_idForeignAssetId foreign_asset_idOptionBalance amount |
||||
Update asset location | LocalAssetId asset_idOptionForeignAssetId location |
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 |
---|---|---|---|---|---|
Add asset and info | AssetId asset_idValidatedPercentValidThreshold thresholdValidatedu32ValidMinAnswersMinAnswerBound min_answersValidatedu32ValidMaxAnswerMaxAnswerBound max_answersValidatedBlockNumberValidBlockIntervalStalePrice block_intervalBalance reward_weightBalance slashbool emit_price_changes |
||||
Set signer | AccountId signer |
||||
Adjust rewards | Balance annual_cost_per_oracleu8 num_ideal_oracles |
||||
Add stake | Balance stake |
||||
Remove stake | |||||
Reclaim stake | |||||
Submit price | PriceValue priceAssetId asset_id |
Name | Nano S | Nano S XL | Nano SP/X | Nesting | Arguments |
---|---|---|---|---|---|
Transfer | AssetId assetLookupasStaticLookupSource destBalance amountbool keep_alive |
||||
Transfer native | LookupasStaticLookupSource destBalance amountbool keep_alive |
||||
Force transfer | AssetId assetLookupasStaticLookupSource sourceLookupasStaticLookupSource destBalance amountbool keep_alive |
||||
Force transfer native | LookupasStaticLookupSource sourceLookupasStaticLookupSource destBalance amountbool keep_alive |
||||
Transfer all | AssetId assetLookupasStaticLookupSource destbool keep_alive |
||||
Transfer all native | LookupasStaticLookupSource destbool keep_alive |
||||
Mint into | AssetId asset_idLookupasStaticLookupSource destBalance amount |
||||
Burn from | AssetId asset_idLookupasStaticLookupSource destBalance amount |
Name | Nano S | Nano S XL | Nano SP/X | Nesting | Arguments |
---|---|---|---|---|---|
Disable | CallFilterEntryOfT entry |
||||
Enable | CallFilterEntryOfT entry |
Name | Nano S | Nano S XL | Nano SP/X | Nesting | Arguments |
---|---|---|---|---|---|
Deliver | VecAny messages |
||||
Transfer | TransferParamsTasframe_systemConfigAccountId paramsAssetId asset_idBalance amountOptionMemoMessage memo |
||||
Upgrade client | UpgradeParams params |
||||
Freeze client | Vecu8 client_idu64 height |
||||
Increase counters |
Name | Nano S | Nano S XL | Nano SP/X | Nesting | Arguments |
---|---|---|---|---|---|
Set charge | Perbill charge |