Ledger Picasso App
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.10020.x
System
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 prefix
u32 subkeys
|
Remark with event |
|
|
|
|
Bytes remark
|
Timestamp
Name |
Nano S |
Nano S XL |
Nano SP/X |
Nesting |
Arguments |
Set |
|
|
|
|
Compactu64 now
|
Sudo
Name |
Nano S |
Nano S XL |
Nano SP/X |
Nesting |
Arguments |
Sudo |
|
|
|
|
Call call
|
Sudo unchecked weight |
|
|
|
|
Call call
Weight weight
|
Set key |
|
|
|
|
AccountIdLookupOfT new_
|
Sudo as |
|
|
|
|
AccountIdLookupOfT who
Call call
|
AssetTxPayment
Name |
Nano S |
Nano S XL |
Nano SP/X |
Nesting |
Arguments |
Set payment asset |
|
|
|
|
AccountId payer
OptionChargeAssetIdOfT asset_id
|
Indices
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 index
bool freeze
|
Freeze |
|
|
|
|
AccountIndex index
|
Balances
Name |
Nano S |
Nano S XL |
Nano SP/X |
Nesting |
Arguments |
Transfer |
✔️ |
✔️ |
✔️ |
✔️ |
AccountIdLookupOfT dest
CompactBalance amount
|
Set balance |
|
✔️ |
✔️ |
✔️ |
AccountIdLookupOfT who
CompactBalance new_free
CompactBalance new_reserved
|
Force transfer |
✔️ |
✔️ |
✔️ |
✔️ |
AccountIdLookupOfT source
AccountIdLookupOfT dest
CompactBalance amount
|
Transfer keep alive |
✔️ |
✔️ |
✔️ |
✔️ |
AccountIdLookupOfT dest
CompactBalance amount
|
Transfer all |
✔️ |
✔️ |
✔️ |
|
AccountIdLookupOfT dest
bool keep_alive
|
Force unreserve |
|
✔️ |
✔️ |
|
AccountIdLookupOfT who
Balance amount
|
Identity
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_index
Compactu128 max_fee
|
Cancel request |
|
|
|
|
RegistrarIndex reg_index
|
Set fee |
|
|
|
|
Compactu32 index
Compactu128 fee
|
Set account id |
|
|
|
|
Compactu32 index
AccountIdLookupOfT new_
|
Set fields |
|
|
|
|
Compactu32 index
IdentityFields fields
|
Provide judgement |
|
|
|
|
Compactu32 reg_index
AccountIdLookupOfT target
JudgementBalanceOfT judgement
Hash identity
|
Kill identity |
|
|
|
|
AccountIdLookupOfT target
|
Add sub |
|
|
|
|
AccountIdLookupOfT sub
Data data
|
Rename sub |
|
|
|
|
AccountIdLookupOfT sub
Data data
|
Remove sub |
|
|
|
|
AccountIdLookupOfT sub
|
Quit sub |
|
|
|
|
|
Multisig
Name |
Nano S |
Nano S XL |
Nano SP/X |
Nesting |
Arguments |
As multi threshold 1 |
|
|
|
|
VecAccountId other_signatories
Call call
|
As multi |
|
|
|
|
u16 threshold
VecAccountId other_signatories
OptionTimepoint maybe_timepoint
Call 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 |
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
|
ParachainInfo
Name |
Nano S |
Nano S XL |
Nano SP/X |
Nesting |
Arguments |
CollatorSelection
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 |
|
|
|
|
|
Session
Name |
Nano S |
Nano S XL |
Nano SP/X |
Nesting |
Arguments |
Set keys |
|
|
|
|
Keys keys
Bytes proof
|
Purge keys |
|
|
|
|
|
Council
Name |
Nano S |
Nano S XL |
Nano SP/X |
Nesting |
Arguments |
Set members |
|
|
|
|
VecAccountId new_members
OptionAccountId prime
MemberCount old_count
|
Execute |
|
|
|
|
Proposal proposal
Compactu32 length_bound
|
Propose |
|
|
|
|
Compactu32 threshold
Proposal proposal
Compactu32 length_bound
|
Vote |
|
|
|
|
Hash proposal
Compactu32 index
bool approve
|
Close old weight |
|
|
|
|
Hash proposal_hash
Compactu32 index
Compactu64 proposal_weight_bound
Compactu32 length_bound
|
Disapprove proposal |
|
|
|
|
Hash proposal_hash
|
Close |
|
|
|
|
Hash proposal_hash
Compactu32 index
Weight proposal_weight_bound
Compactu32 length_bound
|
CouncilMembership
Name |
Nano S |
Nano S XL |
Nano SP/X |
Nesting |
Arguments |
Add member |
|
|
|
|
AccountIdLookupOfT who
|
Remove member |
|
|
|
|
AccountIdLookupOfT who
|
Swap member |
|
|
|
|
AccountIdLookupOfT remove
AccountIdLookupOfT add
|
Reset members |
|
|
|
|
VecAccountId members
|
Change key |
|
|
|
|
AccountIdLookupOfT new_
|
Set prime |
|
|
|
|
AccountIdLookupOfT who
|
Clear prime |
|
|
|
|
|
Treasury
Name |
Nano S |
Nano S XL |
Nano SP/X |
Nesting |
Arguments |
Propose spend |
|
|
|
|
CompactBalance amount
AccountIdLookupOfT beneficiary
|
Reject proposal |
|
|
|
|
Compactu32 proposal_id
|
Approve proposal |
|
|
|
|
Compactu32 proposal_id
|
Spend |
|
|
|
|
CompactBalance amount
AccountIdLookupOfT beneficiary
|
Remove approval |
|
|
|
|
Compactu32 proposal_id
|
Democracy
Name |
Nano S |
Nano S XL |
Nano SP/X |
Nesting |
Arguments |
Propose |
|
|
|
|
BoundedCallOfT proposal
CompactBalance amount
|
Second |
|
|
|
|
Compactu32 proposal
|
Vote |
|
|
|
|
Compactu32 ref_index
AccountVote vote
|
Emergency cancel |
|
|
|
|
ReferendumIndex ref_index
|
External propose |
|
|
|
|
BoundedCallOfT proposal
|
External propose majority |
|
|
|
|
BoundedCallOfT proposal
|
External propose default |
|
|
|
|
BoundedCallOfT proposal
|
Fast track |
|
|
|
|
H256 proposal_hash
BlockNumber voting_period
BlockNumber delay
|
Veto external |
|
|
|
|
H256 proposal_hash
|
Cancel referendum |
|
|
|
|
Compactu32 ref_index
|
Delegate |
|
|
|
|
AccountIdLookupOfT to
Conviction conviction
Balance balance
|
Undelegate |
|
|
|
|
|
Clear public proposals |
|
|
|
|
|
Unlock |
|
|
|
|
AccountIdLookupOfT target
|
Remove vote |
|
|
|
|
ReferendumIndex index
|
Remove other vote |
|
|
|
|
AccountIdLookupOfT target
ReferendumIndex index
|
Blacklist |
|
|
|
|
H256 proposal_hash
OptionReferendumIndex maybe_ref_index
|
Cancel proposal |
|
|
|
|
Compactu32 prop_index
|
TechnicalCommittee
Name |
Nano S |
Nano S XL |
Nano SP/X |
Nesting |
Arguments |
Set members |
|
|
|
|
VecAccountId new_members
OptionAccountId prime
MemberCount old_count
|
Execute |
|
|
|
|
Proposal proposal
Compactu32 length_bound
|
Propose |
|
|
|
|
Compactu32 threshold
Proposal proposal
Compactu32 length_bound
|
Vote |
|
|
|
|
Hash proposal
Compactu32 index
bool approve
|
Close old weight |
|
|
|
|
Hash proposal_hash
Compactu32 index
Compactu64 proposal_weight_bound
Compactu32 length_bound
|
Disapprove proposal |
|
|
|
|
Hash proposal_hash
|
Close |
|
|
|
|
Hash proposal_hash
Compactu32 index
Weight proposal_weight_bound
Compactu32 length_bound
|
TechnicalCommitteeMembership
Name |
Nano S |
Nano S XL |
Nano SP/X |
Nesting |
Arguments |
Add member |
|
|
|
|
AccountIdLookupOfT who
|
Remove member |
|
|
|
|
AccountIdLookupOfT who
|
Swap member |
|
|
|
|
AccountIdLookupOfT remove
AccountIdLookupOfT add
|
Reset members |
|
|
|
|
VecAccountId members
|
Change key |
|
|
|
|
AccountIdLookupOfT new_
|
Set prime |
|
|
|
|
AccountIdLookupOfT who
|
Clear prime |
|
|
|
|
|
ReleaseCommittee
Name |
Nano S |
Nano S XL |
Nano SP/X |
Nesting |
Arguments |
Set members |
|
|
|
|
VecAccountId new_members
OptionAccountId prime
MemberCount old_count
|
Execute |
|
|
|
|
Proposal proposal
Compactu32 length_bound
|
Propose |
|
|
|
|
Compactu32 threshold
Proposal proposal
Compactu32 length_bound
|
Vote |
|
|
|
|
Hash proposal
Compactu32 index
bool approve
|
Close old weight |
|
|
|
|
Hash proposal_hash
Compactu32 index
Compactu64 proposal_weight_bound
Compactu32 length_bound
|
Disapprove proposal |
|
|
|
|
Hash proposal_hash
|
Close |
|
|
|
|
Hash proposal_hash
Compactu32 index
Weight proposal_weight_bound
Compactu32 length_bound
|
ReleaseMembership
Name |
Nano S |
Nano S XL |
Nano SP/X |
Nesting |
Arguments |
Add member |
|
|
|
|
AccountIdLookupOfT who
|
Remove member |
|
|
|
|
AccountIdLookupOfT who
|
Swap member |
|
|
|
|
AccountIdLookupOfT remove
AccountIdLookupOfT add
|
Reset members |
|
|
|
|
VecAccountId members
|
Change key |
|
|
|
|
AccountIdLookupOfT new_
|
Set prime |
|
|
|
|
AccountIdLookupOfT who
|
Clear prime |
|
|
|
|
|
Scheduler
Name |
Nano S |
Nano S XL |
Nano SP/X |
Nesting |
Arguments |
Schedule |
|
|
|
|
BlockNumber when
OptionschedulePeriodBlockNumber maybe_periodic
schedulePriority priority
Call call
|
Cancel |
|
|
|
|
BlockNumber when
u32 index
|
Schedule named |
|
|
|
|
TaskName id
BlockNumber when
OptionschedulePeriodBlockNumber maybe_periodic
schedulePriority priority
Call call
|
Cancel named |
|
|
|
|
TaskName id
|
Schedule after |
|
|
|
|
BlockNumber after
OptionschedulePeriodBlockNumber maybe_periodic
schedulePriority priority
Call call
|
Schedule named after |
|
|
|
|
TaskName id
BlockNumber after
OptionschedulePeriodBlockNumber maybe_periodic
schedulePriority priority
Call call
|
Utility
Name |
Nano S |
Nano S XL |
Nano SP/X |
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
|
With weight |
|
|
|
|
Call call
Weight weight
|
Preimage
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
|
Proxy
Name |
Nano S |
Nano S XL |
Nano SP/X |
Nesting |
Arguments |
Proxy |
|
|
|
|
AccountIdLookupOfT real
OptionProxyType force_proxy_type
Call call
|
Add proxy |
|
|
|
|
AccountIdLookupOfT delegate
ProxyType proxy_type
BlockNumber delay
|
Remove proxy |
|
|
|
|
AccountIdLookupOfT delegate
ProxyType proxy_type
BlockNumber delay
|
Remove proxies |
|
|
|
|
|
Create pure |
|
|
|
|
ProxyType proxy_type
BlockNumber delay
u16 index
|
Kill pure |
|
|
|
|
AccountIdLookupOfT spawner
ProxyType proxy_type
u16 index
Compactu32 height
Compactu32 ext_index
|
Announce |
|
|
|
|
AccountIdLookupOfT real
CallHashOf call_hash
|
Remove announcement |
|
|
|
|
AccountIdLookupOfT real
CallHashOf call_hash
|
Reject announcement |
|
|
|
|
AccountIdLookupOfT delegate
CallHashOf call_hash
|
Proxy announced |
|
|
|
|
AccountIdLookupOfT delegate
AccountIdLookupOfT real
OptionProxyType force_proxy_type
Call call
|
XcmpQueue
Name |
Nano S |
Nano S XL |
Nano SP/X |
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 |
Nano S |
Nano S XL |
Nano SP/X |
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
|
Execute |
|
|
|
|
BoxVersionedXcmTasSysConfigRuntimeCall 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
|
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 |
|
|
|
|
OverweightIndex index
Weight weight_limit
|
XTokens
Name |
Nano S |
Nano S XL |
Nano SP/X |
Nesting |
Arguments |
Transfer |
|
|
|
|
CurrencyId currency_id
Balance amount
BoxVersionedMultiLocation dest
WeightLimit dest_weight_limit
|
Transfer multiasset |
|
|
|
|
BoxVersionedMultiAsset asset
BoxVersionedMultiLocation dest
WeightLimit dest_weight_limit
|
Transfer with fee |
|
|
|
|
CurrencyId currency_id
Balance amount
Balance fee
BoxVersionedMultiLocation dest
WeightLimit dest_weight_limit
|
Transfer multiasset with fee |
|
|
|
|
BoxVersionedMultiAsset asset
BoxVersionedMultiAsset fee
BoxVersionedMultiLocation dest
WeightLimit dest_weight_limit
|
Transfer multicurrencies |
|
|
|
|
VecTupleCurrencyIdBalance currencies
u32 fee_item
BoxVersionedMultiLocation dest
WeightLimit dest_weight_limit
|
Transfer multiassets |
|
|
|
|
BoxVersionedMultiAssets assets
u32 fee_item
BoxVersionedMultiLocation dest
WeightLimit dest_weight_limit
|
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 |
|
|
|
|
LookupasStaticLookupSource dest
CurrencyId currency_id
CompactBalance amount
|
Transfer all |
|
|
|
|
LookupasStaticLookupSource dest
CurrencyId currency_id
bool keep_alive
|
Transfer keep alive |
|
|
|
|
LookupasStaticLookupSource dest
CurrencyId currency_id
CompactBalance amount
|
Force transfer |
|
|
|
|
LookupasStaticLookupSource source
LookupasStaticLookupSource dest
CurrencyId currency_id
CompactBalance amount
|
Set balance |
|
|
|
|
LookupasStaticLookupSource who
CurrencyId currency_id
CompactBalance new_free
CompactBalance new_reserved
|
CurrencyFactory
Name |
Nano S |
Nano S XL |
Nano SP/X |
Nesting |
Arguments |
Add range |
|
|
|
|
u64 length
|
Set metadata |
|
|
|
|
AssetId asset_id
BasicAssetMetadata metadata
|
GovernanceRegistry
Name |
Nano S |
Nano S XL |
Nano SP/X |
Nesting |
Arguments |
Set |
|
|
|
|
AssetId asset_id
AccountId value
|
Grant root |
|
|
|
|
AssetId asset_id
|
Remove |
|
|
|
|
AssetId asset_id
|
Assets
Name |
Nano S |
Nano S XL |
Nano SP/X |
Nesting |
Arguments |
Transfer |
|
|
|
|
AssetId asset
LookupasStaticLookupSource dest
CompactBalance amount
bool keep_alive
|
Transfer native |
|
|
|
|
LookupasStaticLookupSource dest
CompactBalance amount
bool keep_alive
|
Force transfer |
|
|
|
|
AssetId asset
LookupasStaticLookupSource source
LookupasStaticLookupSource dest
CompactBalance amount
bool keep_alive
|
Force transfer native |
|
|
|
|
LookupasStaticLookupSource source
LookupasStaticLookupSource dest
CompactBalance amount
bool keep_alive
|
Transfer all |
|
|
|
|
AssetId asset
LookupasStaticLookupSource dest
bool keep_alive
|
Transfer all native |
|
|
|
|
LookupasStaticLookupSource dest
bool keep_alive
|
Mint initialize |
|
|
|
|
CompactBalance amount
LookupasStaticLookupSource dest
|
Mint initialize with governance |
|
|
|
|
CompactBalance amount
LookupasStaticLookupSource governance_origin
LookupasStaticLookupSource dest
|
Mint into |
|
|
|
|
AssetId asset_id
LookupasStaticLookupSource dest
CompactBalance amount
|
Burn from |
|
|
|
|
AssetId asset_id
LookupasStaticLookupSource dest
CompactBalance amount
|
CrowdloanRewards
Name |
Nano S |
Nano S XL |
Nano SP/X |
Nesting |
Arguments |
Initialize |
|
|
|
|
|
Initialize at |
|
|
|
|
Moment at
|
Populate |
|
|
|
|
VecTupleRemoteAccountOfTRewardAmountOfTVestingPeriodOfT rewards
|
Associate |
|
|
|
|
AccountId reward_account
ProofOfT proof
|
Claim |
|
|
|
|
|
Unlock rewards for |
|
|
|
|
VecAccountId reward_accounts
|
Add |
|
|
|
|
VecTupleRemoteAccountOfTRewardAmountOfTVestingPeriodOfT additions
|
Vesting
Name |
Nano S |
Nano S XL |
Nano SP/X |
Nesting |
Arguments |
Claim |
|
|
|
|
AssetIdOfT asset
VestingScheduleIdSetVestingScheduleIdMaxVestingSchedules vesting_schedule_ids
|
Vested transfer |
|
|
|
|
LookupasStaticLookupSource from
LookupasStaticLookupSource beneficiary
AssetIdOfT asset
VestingScheduleInfoOfT schedule_info
|
Update vesting schedules |
|
|
|
|
LookupasStaticLookupSource who
AssetIdOfT asset
VecVestingScheduleInfoOfT vesting_schedules
|
Claim for |
|
|
|
|
LookupasStaticLookupSource dest
AssetIdOfT asset
VestingScheduleIdSetVestingScheduleIdMaxVestingSchedules vesting_schedule_ids
|
BondedFinance
Name |
Nano S |
Nano S XL |
Nano SP/X |
Nesting |
Arguments |
Offer |
|
|
|
|
ValidatedBondOfferOfTValidBondOfferMinRewardVestingasVestedTransferMinVestedTransfer offer
bool keep_alive
|
Bond |
|
|
|
|
BondOfferId offer_id
Balance nb_of_bonds
bool keep_alive
|
Cancel |
|
|
|
|
BondOfferId offer_id
|
AssetsRegistry
Name |
Nano S |
Nano S XL |
Nano SP/X |
Nesting |
Arguments |
Register asset |
|
|
|
|
u8_array_8 protocol_id
u64 nonce
OptionForeignAssetId location
AssetInfoBalance asset_info
|
Update asset |
|
|
|
|
LocalAssetId asset_id
AssetInfoUpdateBalance asset_info
|
Set min fee |
|
|
|
|
u32 target_parachain_id
ForeignAssetId foreign_asset_id
OptionBalance amount
|
Update asset location |
|
|
|
|
LocalAssetId asset_id
OptionForeignAssetId location
|
Pablo
Name |
Nano S |
Nano S XL |
Nano SP/X |
Nesting |
Arguments |
Create |
|
|
|
|
PoolInitConfigurationOfT pool
|
Buy |
|
|
|
|
PoolId pool_id
AssetId in_asset_id
AssetAmountAssetIdBalance out_asset
bool keep_alive
|
Swap |
|
|
|
|
PoolId pool_id
AssetAmountAssetIdBalance in_asset
AssetAmountAssetIdBalance min_receive
bool keep_alive
|
Add liquidity |
|
|
|
|
PoolId pool_id
BTreeMapAssetIdBalance assets
Balance min_mint_amount
bool keep_alive
|
Remove liquidity |
|
|
|
|
PoolId pool_id
Balance lp_amount
BTreeMapAssetIdBalance min_receive
|
Enable twap |
|
|
|
|
PoolId pool_id
|
Oracle
Name |
Nano S |
Nano S XL |
Nano SP/X |
Nesting |
Arguments |
Add asset and info |
|
|
|
|
AssetId asset_id
ValidatedPercentValidThreshold threshold
Validatedu32ValidMinAnswersMinAnswerBound min_answers
Validatedu32ValidMaxAnswerMaxAnswerBound max_answers
ValidatedBlockNumberValidBlockIntervalStalePrice block_interval
Balance reward_weight
Balance slash
bool emit_price_changes
|
Set signer |
|
|
|
|
AccountId signer
|
Adjust rewards |
|
|
|
|
Balance annual_cost_per_oracle
u8 num_ideal_oracles
|
Add stake |
|
|
|
|
Balance stake
|
Remove stake |
|
|
|
|
|
Reclaim stake |
|
|
|
|
|
Submit price |
|
|
|
|
PriceValue price
AssetId asset_id
|
AssetsTransactorRouter
Name |
Nano S |
Nano S XL |
Nano SP/X |
Nesting |
Arguments |
Transfer |
|
|
|
|
AssetId asset
LookupasStaticLookupSource dest
Balance amount
bool keep_alive
|
Transfer native |
|
|
|
|
LookupasStaticLookupSource dest
Balance amount
bool keep_alive
|
Force transfer |
|
|
|
|
AssetId asset
LookupasStaticLookupSource source
LookupasStaticLookupSource dest
Balance amount
bool keep_alive
|
Force transfer native |
|
|
|
|
LookupasStaticLookupSource source
LookupasStaticLookupSource dest
Balance amount
bool keep_alive
|
Transfer all |
|
|
|
|
AssetId asset
LookupasStaticLookupSource dest
bool keep_alive
|
Transfer all native |
|
|
|
|
LookupasStaticLookupSource dest
bool keep_alive
|
Mint into |
|
|
|
|
AssetId asset_id
LookupasStaticLookupSource dest
Balance amount
|
Burn from |
|
|
|
|
AssetId asset_id
LookupasStaticLookupSource dest
Balance amount
|
CallFilter
Name |
Nano S |
Nano S XL |
Nano SP/X |
Nesting |
Arguments |
Disable |
|
|
|
|
CallFilterEntryOfT entry
|
Enable |
|
|
|
|
CallFilterEntryOfT entry
|
Ibc
Name |
Nano S |
Nano S XL |
Nano SP/X |
Nesting |
Arguments |
Deliver |
|
|
|
|
VecAny messages
|
Transfer |
|
|
|
|
TransferParamsTasframe_systemConfigAccountId params
AssetId asset_id
Balance amount
OptionMemoMessage memo
|
Upgrade client |
|
|
|
|
UpgradeParams params
|
Freeze client |
|
|
|
|
Vecu8 client_id
u64 height
|
Increase counters |
|
|
|
|
|
Ics20Fee
Name |
Nano S |
Nano S XL |
Nano SP/X |
Nesting |
Arguments |
Set charge |
|
|
|
|
Perbill charge
|