Ledger Astar App
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
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
Astar 2.23.x
System
Name |
Light |
XL |
Nesting |
Arguments |
Fill block |
|
|
|
Perbill ratio
|
Remark |
|
|
|
Vecu8 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 prefix
u32 subkeys
|
Remark with event |
|
|
|
Vecu8 remark
|
Utility
Name |
Light |
XL |
Nesting |
Arguments |
Batch |
|
|
|
VecCall calls
|
As derivative |
|
|
|
u16 index
Call call
|
Batch all |
|
|
|
VecCall calls
|
Dispatch as |
|
|
|
BoxPalletsOrigin as_origin
Call call
|
Force batch |
|
|
|
VecCall calls
|
Identity
Name |
Light |
XL |
Nesting |
Arguments |
Add registrar |
|
|
|
AccountId account
|
Set identity |
|
|
|
BoxIdentityInfoMaxAdditionalFields info
|
Set subs |
|
|
|
VecTupleAccountIdData subs
|
Clear identity |
|
|
|
|
Request judgement |
|
|
|
Compactu32 reg_index
Compactu128 max_fee
|
Cancel request |
|
|
|
RegistrarIndex reg_index
|
Set fee |
|
|
|
Compactu32 index
Compactu128 fee
|
Set account id |
|
|
|
Compactu32 index
AccountId new_
|
Set fields |
|
|
|
Compactu32 index
IdentityFields fields
|
Provide judgement |
|
|
|
Compactu32 reg_index
LookupasStaticLookupSource target
JudgementBalanceOfT judgement
|
Kill identity |
|
|
|
LookupasStaticLookupSource target
|
Add sub |
|
|
|
LookupasStaticLookupSource sub
Data data
|
Rename sub |
|
|
|
LookupasStaticLookupSource sub
Data data
|
Remove sub |
|
|
|
LookupasStaticLookupSource sub
|
Quit sub |
|
|
|
|
Timestamp
Name |
Light |
XL |
Nesting |
Arguments |
Set |
|
|
|
Compactu64 now
|
Multisig
Name |
Light |
XL |
Nesting |
Arguments |
As multi threshold 1 |
|
|
|
VecAccountId other_signatories
Call call
|
As multi |
|
|
|
u16 threshold
VecAccountId other_signatories
OptionTimepoint maybe_timepoint
OpaqueCall call
bool store_call
Weight max_weight
|
Approve as multi |
|
|
|
u16 threshold
VecAccountId other_signatories
OptionTimepoint maybe_timepoint
H256 call_hash
Weight max_weight
|
Cancel as multi |
|
|
|
u16 threshold
VecAccountId other_signatories
Timepoint timepoint
H256 call_hash
|
ParachainSystem
Name |
Light |
XL |
Nesting |
Arguments |
Set validation data |
|
|
|
ParachainInherentData data
|
Sudo send upward message |
|
|
|
UpwardMessage message
|
Authorize upgrade |
|
|
|
Hash code_hash
|
Enact authorized upgrade |
|
|
|
Vecu8 code
|
Balances
Name |
Light |
XL |
Nesting |
Arguments |
Transfer |
✔️ |
✔️ |
✔️ |
LookupasStaticLookupSource dest
CompactBalance amount
|
Set balance |
|
✔️ |
✔️ |
LookupasStaticLookupSource who
CompactBalance new_free
CompactBalance new_reserved
|
Force transfer |
✔️ |
✔️ |
✔️ |
LookupasStaticLookupSource source
LookupasStaticLookupSource dest
CompactBalance amount
|
Transfer keep alive |
✔️ |
✔️ |
✔️ |
LookupasStaticLookupSource dest
CompactBalance amount
|
Transfer all |
✔️ |
✔️ |
|
LookupasStaticLookupSource dest
bool keep_alive
|
Force unreserve |
|
✔️ |
|
LookupasStaticLookupSource who
Balance amount
|
Vesting
Name |
Light |
XL |
Nesting |
Arguments |
Vest |
|
|
|
|
Vest other |
|
|
|
LookupasStaticLookupSource target
|
Vested transfer |
|
|
|
LookupasStaticLookupSource target
VestingInfo schedule
|
Force vested transfer |
|
|
|
LookupasStaticLookupSource source
LookupasStaticLookupSource target
VestingInfo schedule
|
Force update schedules |
|
|
|
LookupasStaticLookupSource target
BoundedVecVestingInfoBalanceOfTBlockNumberMaxVestingSchedulesGetT schedules
|
Merge schedules |
|
|
|
u32 schedule1_index
u32 schedule2_index
|
DappsStaking
Name |
Light |
XL |
Nesting |
Arguments |
Register |
|
|
|
SmartContract contract_id
|
Unregister |
|
|
|
SmartContract contract_id
|
Withdraw from unregistered |
|
|
|
SmartContract contract_id
|
Bond and stake |
|
|
|
SmartContract contract_id
Compactu128 amount
|
Unbond and unstake |
|
|
|
SmartContract contract_id
Compactu128 amount
|
Withdraw Unbonded |
|
|
|
|
Nomination transfer |
|
|
|
SmartContract origin_contract_id
Compactu128 amount
SmartContract target_contract_id
|
Claim staker |
|
|
|
SmartContract contract_id
|
Claim dapp |
|
|
|
SmartContract contract_id
Compactu32 era
|
Force new era |
|
|
|
|
Developer pre approval |
|
|
|
AccountId developer
|
Enable developer pre approval |
|
|
|
bool enabled
|
Maintenance mode |
|
|
|
bool enable_maintenance
|
Set reward destination |
|
|
|
RewardDestination reward_destination
|
Set contract stake info |
|
|
|
SmartContract contract
EraIndex era
ContractStakeInfoBalanceOfT contract_stake_info
|
BlockReward
Name |
Light |
XL |
Nesting |
Arguments |
Set configuration |
|
|
|
RewardDistributionConfig reward_distro_params
|
Assets
Name |
Light |
XL |
Nesting |
Arguments |
Create |
|
|
|
Compactu128 id
LookupasStaticLookupSource admin
Balance min_balance
|
Force create |
|
|
|
Compactu128 id
LookupasStaticLookupSource owner
bool is_sufficient
Compactu128 min_balance
|
Destroy |
|
|
|
Compactu128 id
DestroyWitness witness
|
Mint |
|
|
|
Compactu128 id
LookupasStaticLookupSource beneficiary
Compactu128 amount
|
Burn |
|
|
|
Compactu128 id
LookupasStaticLookupSource who
Compactu128 amount
|
Transfer |
|
|
|
Compactu128 id
LookupasStaticLookupSource target
Compactu128 amount
|
Transfer keep alive |
|
|
|
Compactu128 id
LookupasStaticLookupSource target
Compactu128 amount
|
Force transfer |
|
|
|
Compactu128 id
LookupasStaticLookupSource source
LookupasStaticLookupSource dest
Compactu128 amount
|
Freeze |
|
|
|
Compactu128 id
LookupasStaticLookupSource who
|
Thaw |
|
|
|
Compactu128 id
LookupasStaticLookupSource who
|
Freeze asset |
|
|
|
Compactu128 id
|
Thaw asset |
|
|
|
Compactu128 id
|
Transfer ownership |
|
|
|
Compactu128 id
LookupasStaticLookupSource owner
|
Set team |
|
|
|
Compactu128 id
LookupasStaticLookupSource issuer
LookupasStaticLookupSource admin
LookupasStaticLookupSource freezer
|
Set metadata |
|
|
|
Compactu128 id
Vecu8 name
Vecu8 symbol
u8 decimals
|
Clear metadata |
|
|
|
Compactu128 id
|
Force set metadata |
|
|
|
Compactu128 id
Vecu8 name
Vecu8 symbol
u8 decimals
bool is_frozen
|
Force clear metadata |
|
|
|
Compactu128 id
|
Force asset status |
|
|
|
Compactu128 id
LookupasStaticLookupSource owner
LookupasStaticLookupSource issuer
LookupasStaticLookupSource admin
LookupasStaticLookupSource freezer
Compactu128 min_balance
bool is_sufficient
bool is_frozen
|
Approve transfer |
|
|
|
Compactu128 id
LookupasStaticLookupSource delegate
Compactu128 amount
|
Cancel approval |
|
|
|
Compactu128 id
LookupasStaticLookupSource delegate
|
Force cancel approval |
|
|
|
Compactu128 id
LookupasStaticLookupSource owner
LookupasStaticLookupSource delegate
|
Transfer approved |
|
|
|
Compactu128 id
LookupasStaticLookupSource owner
LookupasStaticLookupSource destination
Compactu128 amount
|
Touch |
|
|
|
Compactu128 id
|
Refund |
|
|
|
Compactu128 id
bool allow_burn
|
Authorship
Name |
Light |
XL |
Nesting |
Arguments |
Set uncles |
|
|
|
VecHeader new_uncles
|
CollatorSelection
Name |
Light |
XL |
Nesting |
Arguments |
Set invulnerables |
|
|
|
VecAccountId new_
|
Set desired candidates |
|
|
|
u32 max
|
Set candidacy bond |
|
|
|
Balance bond
|
Register as candidate |
|
|
|
|
Leave intent |
|
|
|
|
Session
Name |
Light |
XL |
Nesting |
Arguments |
Set keys |
|
|
|
Keys keys
Bytes proof
|
Purge keys |
|
|
|
|
XcmpQueue
Name |
Light |
XL |
Nesting |
Arguments |
Service overweight |
|
|
|
OverweightIndex index
Weight 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_
|
PolkadotXcm
Name |
Light |
XL |
Nesting |
Arguments |
Send |
|
|
|
BoxVersionedMultiLocation dest
BoxVersionedXcmTuple message
|
Teleport assets |
|
|
|
BoxVersionedMultiLocation dest
BoxVersionedMultiLocation beneficiary
BoxVersionedMultiAssets assets
u32 fee_asset_item
|
Reserve transfer assets |
|
|
|
BoxVersionedMultiLocation dest
BoxVersionedMultiLocation beneficiary
BoxVersionedMultiAssets assets
u32 fee_asset_item
|
Reserve withdraw assets |
|
|
|
BoxVersionedMultiLocation dest
BoxVersionedMultiLocation beneficiary
BoxVersionedMultiAssets assets
u32 fee_asset_item
|
Execute |
|
|
|
BoxVersionedXcmTasSysConfigCall message
Weight max_weight
|
Force xcm version |
|
|
|
BoxMultiLocation location
XcmVersion 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 dest
BoxVersionedMultiLocation beneficiary
BoxVersionedMultiAssets assets
u32 fee_asset_item
WeightLimit weight_limit
|
Limited teleport assets |
|
|
|
BoxVersionedMultiLocation dest
BoxVersionedMultiLocation beneficiary
BoxVersionedMultiAssets assets
u32 fee_asset_item
WeightLimit weight_limit
|
Limited reserve withdraw assets |
|
|
|
BoxVersionedMultiLocation dest
BoxVersionedMultiLocation beneficiary
BoxVersionedMultiAssets assets
u32 fee_asset_item
WeightLimit weight_limit
|
DmpQueue
Name |
Light |
XL |
Nesting |
Arguments |
Service overweight |
|
|
|
OverweightIndex index
Weight weight_limit
|
XcAssetConfig
Name |
Light |
XL |
Nesting |
Arguments |
Register asset location |
|
|
|
BoxVersionedMultiLocation asset_location
Compactu128 asset_id
|
Set asset units per second |
|
|
|
BoxVersionedMultiLocation asset_location
Compactu128 units_per_second
|
Change existing asset location |
|
|
|
BoxVersionedMultiLocation new_asset_location
Compactu128 asset_id
|
Remove payment asset |
|
|
|
BoxVersionedMultiLocation asset_location
|
Remove asset |
|
|
|
Compactu128 asset_id
|
EVM
Name |
Light |
XL |
Nesting |
Arguments |
Withdraw |
|
|
|
H160 address
Balance amount
|
Call |
|
|
|
H160 source
H160 target
Vecu8 input
U256 value
u64 gas_limit
U256 max_fee_per_gas
OptionU256 max_priority_fee_per_gas
OptionU256 nonce
VecTupleH160VecH256 access_list
|
Create |
|
|
|
H160 source
Vecu8 init
U256 value
u64 gas_limit
U256 max_fee_per_gas
OptionU256 max_priority_fee_per_gas
OptionU256 nonce
VecTupleH160VecH256 access_list
|
Create2 |
|
|
|
H160 source
Vecu8 init
H256 salt
U256 value
u64 gas_limit
U256 max_fee_per_gas
OptionU256 max_priority_fee_per_gas
OptionU256 nonce
VecTupleH160VecH256 access_list
|
Ethereum
Name |
Light |
XL |
Nesting |
Arguments |
Transact |
|
|
|
Transaction transaction
|
EthCall
Name |
Light |
XL |
Nesting |
Arguments |
Call |
|
|
|
Call call
AccountId signer
Vecu8 signature
Compactu32 nonce
|
BaseFee
Name |
Light |
XL |
Nesting |
Arguments |
Set base fee per gas |
|
|
|
U256 fee
|
Set is active |
|
|
|
bool is_active
|
Set elasticity |
|
|
|
Permill elasticity
|
Sudo
Name |
Light |
XL |
Nesting |
Arguments |
Sudo |
|
|
|
Call call
|
Sudo unchecked weight |
|
|
|
Call call
Weight weight
|
Set key |
|
|
|
LookupasStaticLookupSource new_
|
Sudo as |
|
|
|
LookupasStaticLookupSource who
Call call
|