Please visit our website at zondax.ch
This project contains the Astar app (https://astar.network/) 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 - Stax | 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 - Stax | 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 - Stax | 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 - Stax | Nesting | Arguments |
---|---|---|---|---|---|
Set | Compactu64 now |
Name | Nano S | Nano S XL | Nano SP/X - Stax | 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 - Stax | 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 - Stax | Nesting | Arguments |
---|---|---|---|---|---|
Set validation data | ParachainInherentData data |
||||
Sudo send upward message | UpwardMessage message |
||||
Authorize upgrade | Hash code_hashbool check_version |
||||
Enact authorized upgrade | Vecu8 code |
Name | Nano S | Nano S XL | Nano SP/X - Stax | Nesting | Arguments |
---|
Name | Nano S | Nano S XL | Nano SP/X - Stax | Nesting | Arguments |
---|---|---|---|---|---|
Transfer allow death | ✔️ | ✔️ | ✔️ | ✔️ | AccountIdLookupOfT destCompactBalance amount |
Set balance deprecated | ✔️ | ✔️ | ✔️ | AccountIdLookupOfT whoCompactBalance new_freeCompactBalance old_reserved |
|
Force transfer | ✔️ | ✔️ | ✔️ | ✔️ | AccountIdLookupOfT sourceAccountIdLookupOfT destCompactBalance amount |
Transfer keep alive | ✔️ | ✔️ | ✔️ | ✔️ | AccountIdLookupOfT destCompactBalance amount |
Transfer all | ✔️ | ✔️ | ✔️ | ✔️ | AccountIdLookupOfT destbool keep_alive |
Force unreserve | ✔️ | ✔️ | AccountIdLookupOfT whoBalance amount |
||
Upgrade accounts | ✔️ | ✔️ | VecAccountId who |
||
Transfer | ✔️ | ✔️ | ✔️ | ✔️ | AccountIdLookupOfT destCompactBalance amount |
Force set balance | ✔️ | ✔️ | AccountIdLookupOfT whoCompactBalance new_free |
Name | Nano S | Nano S XL | Nano SP/X - Stax | Nesting | Arguments |
---|---|---|---|---|---|
Vest | ✔️ | ✔️ | ✔️ | ✔️ | |
Vest other | ✔️ | ✔️ | ✔️ | ✔️ | AccountIdLookupOfT target |
Vested transfer | ✔️ | ✔️ | ✔️ | ✔️ | AccountIdLookupOfT targetVestingInfo schedule |
Force vested transfer | ✔️ | ✔️ | ✔️ | ✔️ | AccountIdLookupOfT sourceAccountIdLookupOfT targetVestingInfo schedule |
Merge schedules | ✔️ | ✔️ | ✔️ | ✔️ | u32 schedule1_indexu32 schedule2_index |
Name | Nano S | Nano S XL | Nano SP/X - Stax | Nesting | Arguments |
---|---|---|---|---|---|
Force set inflation params | InflationParameters params |
||||
Force inflation recalculation | EraNumber next_era |
Name | Nano S | Nano S XL | Nano SP/X - Stax | Nesting | Arguments |
---|---|---|---|---|---|
Unbond and unstake | ✔️ | ✔️ | ✔️ | ✔️ | SmartContract contract_idCompactu128 amount |
Withdraw Unbonded | ✔️ | ✔️ | ✔️ | ✔️ | |
Maintenance mode | ✔️ | ✔️ | ✔️ | ✔️ | bool enabled |
Register | ✔️ | ✔️ | ✔️ | ✔️ | AccountId ownerSmartContract smart_contract |
Set dapp reward beneficiary | ✔️ | ✔️ | ✔️ | ✔️ | SmartContract smart_contractOptionAccountId beneficiary |
Set dapp owner | ✔️ | ✔️ | ✔️ | ✔️ | SmartContract smart_contractAccountId new_owner |
Unregister | ✔️ | ✔️ | ✔️ | ✔️ | SmartContract smart_contract |
Lock | ✔️ | ✔️ | ✔️ | ✔️ | Compactu128 amount |
Unlock | ✔️ | ✔️ | ✔️ | ✔️ | Compactu128 amount |
Claim unlocked | ✔️ | ✔️ | ✔️ | ✔️ | |
Relock unlocking | ✔️ | ✔️ | ✔️ | ✔️ | |
Stake | ✔️ | ✔️ | ✔️ | ✔️ | SmartContract smart_contractCompactu128 amount |
Unstake | ✔️ | ✔️ | ✔️ | ✔️ | SmartContract smart_contractCompactu128 amount |
Claim staker rewards | ✔️ | ✔️ | ✔️ | ✔️ | |
Claim bonus reward | ✔️ | ✔️ | ✔️ | ✔️ | SmartContract smart_contract |
Claim dapp reward | ✔️ | ✔️ | ✔️ | ✔️ | SmartContract smart_contractCompactu32 era |
Unstake from unregistered | ✔️ | ✔️ | ✔️ | ✔️ | SmartContract smart_contract |
Cleanup expired entries | ✔️ | ✔️ | ✔️ | ✔️ | |
Force | ForcingType forcing_type |
Name | Nano S | Nano S XL | Nano SP/X - Stax | Nesting | Arguments |
---|---|---|---|---|---|
Create | ✔️ | ✔️ | CompactBalance idAccountIdLookupOfT adminBalance min_balance |
||
Force create | ✔️ | ✔️ | CompactBalance idAccountIdLookupOfT ownerbool is_sufficientCompactBalance min_balance |
||
Start destroy | ✔️ | ✔️ | CompactBalance id |
||
Destroy accounts | ✔️ | ✔️ | CompactBalance id |
||
Destroy approvals | ✔️ | ✔️ | CompactBalance id |
||
Finish destroy | ✔️ | ✔️ | CompactBalance id |
||
Mint | ✔️ | ✔️ | CompactBalance idAccountIdLookupOfT beneficiaryCompactBalance amount |
||
Burn | ✔️ | ✔️ | CompactBalance idAccountIdLookupOfT whoCompactBalance amount |
||
Transfer | ✔️ | ✔️ | CompactBalance idAccountIdLookupOfT targetCompactBalance amount |
||
Transfer keep alive | ✔️ | ✔️ | CompactBalance idAccountIdLookupOfT targetCompactBalance amount |
||
Force transfer | ✔️ | ✔️ | CompactBalance idAccountIdLookupOfT sourceAccountIdLookupOfT destCompactBalance amount |
||
Freeze | ✔️ | ✔️ | CompactBalance idAccountIdLookupOfT who |
||
Thaw | ✔️ | ✔️ | CompactBalance idAccountIdLookupOfT who |
||
Freeze asset | ✔️ | ✔️ | CompactBalance id |
||
Thaw asset | ✔️ | ✔️ | CompactBalance id |
||
Transfer ownership | ✔️ | ✔️ | CompactBalance idAccountIdLookupOfT owner |
||
Set team | ✔️ | ✔️ | CompactBalance idAccountIdLookupOfT issuerAccountIdLookupOfT adminAccountIdLookupOfT freezer |
||
Set metadata | ✔️ | ✔️ | CompactBalance idVecu8 nameVecu8 symbolu8 decimals |
||
Clear metadata | ✔️ | ✔️ | CompactBalance id |
||
Force set metadata | ✔️ | ✔️ | CompactBalance idVecu8 nameVecu8 symbolu8 decimalsbool is_frozen |
||
Force clear metadata | ✔️ | ✔️ | CompactBalance id |
||
Force asset status | ✔️ | ✔️ | CompactBalance idAccountIdLookupOfT ownerAccountIdLookupOfT issuerAccountIdLookupOfT adminAccountIdLookupOfT freezerCompactBalance min_balancebool is_sufficientbool is_frozen |
||
Approve transfer | ✔️ | ✔️ | CompactBalance idAccountIdLookupOfT delegateCompactBalance amount |
||
Cancel approval | ✔️ | ✔️ | CompactBalance idAccountIdLookupOfT delegate |
||
Force cancel approval | ✔️ | ✔️ | CompactBalance idAccountIdLookupOfT ownerAccountIdLookupOfT delegate |
||
Transfer approved | ✔️ | ✔️ | CompactBalance idAccountIdLookupOfT ownerAccountIdLookupOfT destinationCompactBalance amount |
||
Touch | ✔️ | ✔️ | CompactBalance id |
||
Refund | ✔️ | ✔️ | CompactBalance idbool allow_burn |
||
Set min balance | ✔️ | ✔️ | CompactBalance idBalance min_balance |
||
Touch other | ✔️ | ✔️ | CompactBalance idAccountIdLookupOfT who |
||
Refund other | ✔️ | ✔️ | CompactBalance idAccountIdLookupOfT who |
||
Block | ✔️ | ✔️ | CompactBalance idAccountIdLookupOfT who |
Name | Nano S | Nano S XL | Nano SP/X - Stax | 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 - Stax | Nesting | Arguments |
---|---|---|---|---|---|
Set keys | Keys keysBytes proof |
||||
Purge keys |
Name | Nano S | Nano S XL | Nano SP/X - Stax | 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 - Stax | 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 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 |
||||
Force suspension | bool suspended |
Name | Nano S | Nano S XL | Nano SP/X - Stax | Nesting | Arguments |
---|
Name | Nano S | Nano S XL | Nano SP/X - Stax | Nesting | Arguments |
---|---|---|---|---|---|
Service overweight | OverweightIndex indexWeight weight_limit |
Name | Nano S | Nano S XL | Nano SP/X - Stax | Nesting | Arguments |
---|---|---|---|---|---|
Register asset location | BoxVersionedMultiLocation asset_locationCompactu128 asset_id |
||||
Set asset units per second | BoxVersionedMultiLocation asset_locationCompactu128 units_per_second |
||||
Change existing asset location | BoxVersionedMultiLocation new_asset_locationCompactu128 asset_id |
||||
Remove payment asset | BoxVersionedMultiLocation asset_location |
||||
Remove asset | Compactu128 asset_id |
Name | Nano S | Nano S XL | Nano SP/X - Stax | 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 - Stax | Nesting | Arguments |
---|---|---|---|---|---|
Withdraw | ✔️ | ✔️ | ✔️ | ✔️ | H160 addressBalance amount |
Call | H160 sourceH160 targetVecu8 inputU256 valueu64 gas_limitU256 max_fee_per_gasOptionU256 max_priority_fee_per_gasOptionU256 nonceVecTupleH160VecH256 access_list |
||||
Create | H160 sourceVecu8 initU256 valueu64 gas_limitU256 max_fee_per_gasOptionU256 max_priority_fee_per_gasOptionU256 nonceVecTupleH160VecH256 access_list |
||||
Create2 | H160 sourceVecu8 initH256 saltU256 valueu64 gas_limitU256 max_fee_per_gasOptionU256 max_priority_fee_per_gasOptionU256 nonceVecTupleH160VecH256 access_list |
Name | Nano S | Nano S XL | Nano SP/X - Stax | Nesting | Arguments |
---|---|---|---|---|---|
Transact | Transaction transaction |
Name | Nano S | Nano S XL | Nano SP/X - Stax | Nesting | Arguments |
---|---|---|---|---|---|
Set base fee per gas | U256 fee |
Name | Nano S | Nano S XL | Nano SP/X - Stax | Nesting | Arguments |
---|---|---|---|---|---|
Call old weight | AccountIdLookupOfT destCompactBalance amountCompactu64 gas_limitOptionCompactBalanceOf storage_deposit_limitVecu8 data |
||||
Instantiate with code old weight | CompactBalance amountCompactu64 gas_limitOptionCompactBalanceOf storage_deposit_limitVecu8 codeVecu8 dataVecu8 salt |
||||
Instantiate old weight | CompactBalance amountCompactu64 gas_limitOptionCompactBalanceOf storage_deposit_limitCodeHash code_hashVecu8 dataVecu8 salt |
||||
Upload code | Vecu8 codeOptionCompactBalanceOf storage_deposit_limitDeterminism determinism |
||||
Remove code | CodeHash code_hash |
||||
Set code | AccountIdLookupOfT destCodeHash code_hash |
||||
Call | AccountIdLookupOfT destCompactBalance amountWeight gas_limitOptionCompactBalanceOf storage_deposit_limitVecu8 data |
||||
Instantiate with code | CompactBalance amountWeight gas_limitOptionCompactBalanceOf storage_deposit_limitVecu8 codeVecu8 dataVecu8 salt |
||||
Instantiate | CompactBalance amountWeight gas_limitOptionCompactBalanceOf storage_deposit_limitCodeHash code_hashBytes dataBytes salt |
||||
Migrate | Weight weight_limit |
Name | Nano S | Nano S XL | Nano SP/X - Stax | 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 - Stax | Nesting | Arguments |
---|---|---|---|---|---|
Force set price | FixedU64 price |
Name | Nano S | Nano S XL | Nano SP/X - Stax | Nesting | Arguments |
---|---|---|---|---|---|
Migrate | ✔️ | ✔️ | ✔️ | ✔️ | OptionWeight weight_limit |