Skip to content

Zondax/ledger-pendulum

Repository files navigation

Ledger Pendulum App

License GithubActions


zondax_light zondax_dark

Please visit our website at zondax.ch


This project contains the Pendulum app (https://pendulumchain.org/) 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

Pendulum 10.10.x

System

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Remark Bytesremark
Set heap pages u64pages
Set code Vecu8code
Set code without checks Vecu8code
Set storage VecKeyValueitems
Kill storage VecKeykeys
Kill prefix Keyprefix
u32subkeys
Remark with event Bytesremark

ParachainSystem

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Set validation data ParachainInherentDatadata
Sudo send upward message UpwardMessagemessage
Authorize upgrade Hashcode_hash
boolcheck_version
Enact authorized upgrade Vecu8code

Timestamp

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Set Compactu64now

Balances

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Transfer ✔️ ✔️ ✔️ ✔️ AccountIdLookupOfTdest
CompactBalanceamount
Set balance ✔️ ✔️ ✔️ AccountIdLookupOfTwho
CompactBalancenew_free
CompactBalancenew_reserved
Force transfer ✔️ ✔️ ✔️ ✔️ AccountIdLookupOfTsource
AccountIdLookupOfTdest
CompactBalanceamount
Transfer keep alive ✔️ ✔️ ✔️ ✔️ AccountIdLookupOfTdest
CompactBalanceamount
Transfer all ✔️ ✔️ ✔️ ✔️ AccountIdLookupOfTdest
boolkeep_alive
Force unreserve ✔️ ✔️ AccountIdLookupOfTwho
Balanceamount

Democracy

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Propose BoundedCallOfTproposal
CompactBalanceamount
Second Compactu32proposal
Vote Compactu32ref_index
AccountVotevote
Emergency cancel ReferendumIndexref_index
External propose BoundedCallOfTproposal
External propose majority BoundedCallOfTproposal
External propose default BoundedCallOfTproposal
Fast track H256proposal_hash
BlockNumbervoting_period
BlockNumberdelay
Veto external H256proposal_hash
Cancel referendum Compactu32ref_index
Delegate AccountIdLookupOfTto
Convictionconviction
Balancebalance
Undelegate
Clear public proposals
Unlock AccountIdLookupOfTtarget
Remove vote ReferendumIndexindex
Remove other vote AccountIdLookupOfTtarget
ReferendumIndexindex
Blacklist H256proposal_hash
OptionReferendumIndexmaybe_ref_index
Cancel proposal Compactu32prop_index
Set metadata MetadataOwnerowner
OptionPreimageHashmaybe_hash

Council

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Set members VecAccountIdnew_members
OptionAccountIdprime
MemberCountold_count
Execute Proposalproposal
Compactu32length_bound
Propose Compactu32threshold
Proposalproposal
Compactu32length_bound
Vote Hashproposal
Compactu32index
boolapprove
Close old weight Hashproposal_hash
Compactu32index
Compactu64proposal_weight_bound
Compactu32length_bound
Disapprove proposal Hashproposal_hash
Close Hashproposal_hash
Compactu32index
Weightproposal_weight_bound
Compactu32length_bound

TechnicalCommittee

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Set members VecAccountIdnew_members
OptionAccountIdprime
MemberCountold_count
Execute Proposalproposal
Compactu32length_bound
Propose Compactu32threshold
Proposalproposal
Compactu32length_bound
Vote Hashproposal
Compactu32index
boolapprove
Close old weight Hashproposal_hash
Compactu32index
Compactu64proposal_weight_bound
Compactu32length_bound
Disapprove proposal Hashproposal_hash
Close Hashproposal_hash
Compactu32index
Weightproposal_weight_bound
Compactu32length_bound

Scheduler

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Schedule BlockNumberwhen
OptionschedulePeriodBlockNumbermaybe_periodic
schedulePrioritypriority
Callcall
Cancel BlockNumberwhen
u32index
Schedule named TaskNameid
BlockNumberwhen
OptionschedulePeriodBlockNumbermaybe_periodic
schedulePrioritypriority
Callcall
Cancel named TaskNameid
Schedule after BlockNumberafter
OptionschedulePeriodBlockNumbermaybe_periodic
schedulePrioritypriority
Callcall
Schedule named after TaskNameid
BlockNumberafter
OptionschedulePeriodBlockNumbermaybe_periodic
schedulePrioritypriority
Callcall

Preimage

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Note preimage Vecu8bytes
Unnote preimage Hashhash
Request preimage Hashhash
Unrequest preimage Hashhash

Multisig

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
As multi threshold 1 VecAccountIdother_signatories
Callcall
As multi u16threshold
VecAccountIdother_signatories
OptionTimepointmaybe_timepoint
Callcall
Weightmax_weight
Approve as multi u16threshold
VecAccountIdother_signatories
OptionTimepointmaybe_timepoint
H256call_hash
Weightmax_weight
Cancel as multi u16threshold
VecAccountIdother_signatories
Timepointtimepoint
H256call_hash

Treasury

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Propose spend CompactBalanceamount
AccountIdLookupOfTbeneficiary
Reject proposal Compactu32proposal_id
Approve proposal Compactu32proposal_id
Spend CompactBalanceamount
AccountIdLookupOfTbeneficiary
Remove approval Compactu32proposal_id

Bounties

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Propose bounty CompactBalanceamount
Bytesdescription
Approve bounty Compactu32bounty_id
Propose curator Compactu32bounty_id
AccountIdLookupOfTcurator
CompactBalancefee
Unassign curator Compactu32bounty_id
Accept curator Compactu32bounty_id
Award bounty Compactu32bounty_id
AccountIdLookupOfTbeneficiary
Claim bounty Compactu32bounty_id
Close bounty Compactu32bounty_id
Extend bounty expiry Compactu32bounty_id
Bytesremark

ChildBounties

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Add child bounty Compactu32parent_bounty_id
CompactBalanceamount
Vecu8description
Propose curator Compactu32parent_bounty_id
Compactu32child_bounty_id
AccountIdLookupOfTcurator
CompactBalancefee
Accept curator Compactu32parent_bounty_id
Compactu32child_bounty_id
Unassign curator Compactu32parent_bounty_id
Compactu32child_bounty_id
Award child bounty Compactu32parent_bounty_id
Compactu32child_bounty_id
AccountIdLookupOfTbeneficiary
Claim child bounty Compactu32parent_bounty_id
Compactu32child_bounty_id
Close child bounty Compactu32parent_bounty_id
Compactu32child_bounty_id

Proxy

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Proxy AccountIdLookupOfTreal
OptionProxyTypeforce_proxy_type
Callcall
Add proxy AccountIdLookupOfTdelegate
ProxyTypeproxy_type
BlockNumberdelay
Remove proxy AccountIdLookupOfTdelegate
ProxyTypeproxy_type
BlockNumberdelay
Remove proxies
Create pure ProxyTypeproxy_type
BlockNumberdelay
u16index
Kill pure AccountIdLookupOfTspawner
ProxyTypeproxy_type
u16index
Compactu32height
Compactu32ext_index
Announce AccountIdLookupOfTreal
CallHashOfcall_hash
Remove announcement AccountIdLookupOfTreal
CallHashOfcall_hash
Reject announcement AccountIdLookupOfTdelegate
CallHashOfcall_hash
Proxy announced AccountIdLookupOfTdelegate
AccountIdLookupOfTreal
OptionProxyTypeforce_proxy_type
Callcall

Session

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Set keys Keyskeys
Bytesproof
Purge keys

ParachainStaking

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Force new round
Set inflation Perquintillcollator_max_rate_percentage
Perquintillcollator_annual_reward_rate_percentage
Perquintilldelegator_max_rate_percentage
Perquintilldelegator_annual_reward_rate_percentage
Set max selected candidates u32new_
Set blocks per round BlockNumbernew_
Set max candidate stake Balancenew_
Force remove candidate LookupasStaticLookupSourcecollator
Join candidates Balancestake
Init leave candidates
Execute leave candidates LookupasStaticLookupSourcecollator
Cancel leave candidates
Candidate stake more Balancemore
Candidate stake less Balanceless
Join delegators LookupasStaticLookupSourcecollator
Balanceamount
Leave delegators
Delegator stake more LookupasStaticLookupSourcecandidate
Balancemore
Delegator stake less LookupasStaticLookupSourcecandidate
Balanceless
Unlock unstaked LookupasStaticLookupSourcetarget
Claim rewards
Increment collator rewards
Increment delegator rewards
Execute scheduled reward change

XcmpQueue

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Service overweight OverweightIndexindex
Weightweight_limit
Suspend xcm execution
Resume xcm execution
Update suspend threshold u32new_
Update drop threshold u32new_
Update resume threshold u32new_
Update threshold weight Weightnew_
Update weight restrict decay Weightnew_
Update xcmp max individual weight Weightnew_

PolkadotXcm

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Send BoxVersionedMultiLocationdest
BoxVersionedXcmTuplemessage
Teleport assets BoxVersionedMultiLocationdest
BoxVersionedMultiLocationbeneficiary
BoxVersionedMultiAssetsassets
u32fee_asset_item
Reserve transfer assets BoxVersionedMultiLocationdest
BoxVersionedMultiLocationbeneficiary
BoxVersionedMultiAssetsassets
u32fee_asset_item
Execute BoxVersionedXcmTasSysConfigRuntimeCallmessage
Weightmax_weight
Force xcm version BoxMultiLocationlocation
XcmVersionxcm_version
Force default xcm version OptionXcmVersionmaybe_xcm_version
Force subscribe version notify BoxVersionedMultiLocationlocation
Force unsubscribe version notify BoxVersionedMultiLocationlocation
Limited reserve transfer assets BoxVersionedMultiLocationdest
BoxVersionedMultiLocationbeneficiary
BoxVersionedMultiAssetsassets
u32fee_asset_item
WeightLimitweight_limit
Limited teleport assets BoxVersionedMultiLocationdest
BoxVersionedMultiLocationbeneficiary
BoxVersionedMultiAssetsassets
u32fee_asset_item
WeightLimitweight_limit

DmpQueue

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Service overweight OverweightIndexindex
Weightweight_limit

Vesting

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Vest
Vest other AccountIdLookupOfTtarget
Vested transfer AccountIdLookupOfTtarget
VestingInfoschedule
Force vested transfer AccountIdLookupOfTsource
AccountIdLookupOfTtarget
VestingInfoschedule
Merge schedules u32schedule1_index
u32schedule2_index

Utility

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Batch VecCallcalls
As derivative u16index
Callcall
Batch all VecCallcalls
Dispatch as BoxPalletsOriginas_origin
Callcall
Force batch VecCallcalls
With weight Callcall
Weightweight

Currencies

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Transfer LookupasStaticLookupSourcedest
CurrencyIdcurrency_id
Compactu128amount
Transfer native currency LookupasStaticLookupSourcedest
Compactu128amount
Update balance LookupasStaticLookupSourcewho
CurrencyIdcurrency_id
Amountamount

Tokens

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Transfer LookupasStaticLookupSourcedest
CurrencyIdcurrency_id
CompactBalanceamount
Transfer all LookupasStaticLookupSourcedest
CurrencyIdcurrency_id
boolkeep_alive
Transfer keep alive LookupasStaticLookupSourcedest
CurrencyIdcurrency_id
CompactBalanceamount
Force transfer LookupasStaticLookupSourcesource
LookupasStaticLookupSourcedest
CurrencyIdcurrency_id
CompactBalanceamount
Set balance LookupasStaticLookupSourcewho
CurrencyIdcurrency_id
CompactBalancenew_free
CompactBalancenew_reserved

XTokens

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Transfer CurrencyIdcurrency_id
Balanceamount
BoxVersionedMultiLocationdest
WeightLimitdest_weight_limit
Transfer multiasset BoxVersionedMultiAssetasset
BoxVersionedMultiLocationdest
WeightLimitdest_weight_limit
Transfer with fee CurrencyIdcurrency_id
Balanceamount
Balancefee
BoxVersionedMultiLocationdest
WeightLimitdest_weight_limit
Transfer multiasset with fee BoxVersionedMultiAssetasset
BoxVersionedMultiAssetfee
BoxVersionedMultiLocationdest
WeightLimitdest_weight_limit
Transfer multicurrencies VecTupleCurrencyIdBalancecurrencies
u32fee_item
BoxVersionedMultiLocationdest
WeightLimitdest_weight_limit
Transfer multiassets BoxVersionedMultiAssetsassets
u32fee_item
BoxVersionedMultiLocationdest
WeightLimitdest_weight_limit

Identity

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Add registrar AccountIdLookupOfTaccount
Set identity IdentityInfoinfo
Set subs VecTupleAccountIdDatasubs
Clear identity
Request judgement Compactu32reg_index
Compactu128max_fee
Cancel request RegistrarIndexreg_index
Set fee Compactu32index
Compactu128fee
Set account id Compactu32index
AccountIdLookupOfTnew_
Set fields Compactu32index
IdentityFieldsfields
Provide judgement Compactu32reg_index
AccountIdLookupOfTtarget
JudgementBalanceOfTjudgement
Hashidentity
Kill identity AccountIdLookupOfTtarget
Add sub AccountIdLookupOfTsub
Datadata
Rename sub AccountIdLookupOfTsub
Datadata
Remove sub AccountIdLookupOfTsub
Quit sub

Contracts

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Call old weight AccountIdLookupOfTdest
CompactBalanceamount
Compactu64gas_limit
OptionCompactBalanceOfstorage_deposit_limit
Vecu8data
Instantiate with code old weight CompactBalanceamount
Compactu64gas_limit
OptionCompactBalanceOfstorage_deposit_limit
Vecu8code
Vecu8data
Vecu8salt
Instantiate old weight CompactBalanceamount
Compactu64gas_limit
OptionCompactBalanceOfstorage_deposit_limit
CodeHashcode_hash
Vecu8data
Vecu8salt
Upload code Vecu8code
OptionCompactBalanceOfstorage_deposit_limit
Determinismdeterminism
Remove code CodeHashcode_hash
Set code AccountIdLookupOfTdest
CodeHashcode_hash
Call AccountIdLookupOfTdest
CompactBalanceamount
Weightgas_limit
OptionCompactBalanceOfstorage_deposit_limit
Vecu8data
Instantiate with code CompactBalanceamount
Weightgas_limit
OptionCompactBalanceOfstorage_deposit_limit
Vecu8code
Vecu8data
Vecu8salt
Instantiate CompactBalanceamount
Weightgas_limit
OptionCompactBalanceOfstorage_deposit_limit
CodeHashcode_hash
Bytesdata
Bytessalt

DiaOracleModule

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Add currency Vecu8blockchain
Vecu8symbol
Remove currency Vecu8blockchain
Vecu8symbol
Authorize account AccountIdaccount_id
Deauthorize account AccountIdaccount_id
Set updated coin infos VecTupleVecu8Vecu8CoinInfocoin_infos
Set batching api Vecu8api

ZenlinkProtocol

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Set fee receiver OptionLookupasStaticLookupSourcesend_to
Set fee point u8fee_point
Transfer AssetIdasset_id
LookupasStaticLookupSourcerecipient
Compactu128amount
Create pair AssetIdasset_0
AssetIdasset_1
Add liquidity AssetIdasset_0
AssetIdasset_1
Compactu128amount_0_desired
Compactu128amount_1_desired
Compactu128amount_0_min
Compactu128amount_1_min
Compactu32deadline
Remove liquidity AssetIdasset_0
AssetIdasset_1
Compactu128liquidity
Compactu128amount_0_min
Compactu128amount_1_min
LookupasStaticLookupSourcerecipient
Compactu32deadline
Swap exact assets for assets Compactu128amount_in
Compactu128amount_out_min
VecAssetIdpath
LookupasStaticLookupSourcerecipient
Compactu32deadline
Swap assets for exact assets Compactu128amount_out
Compactu128amount_in_max
VecAssetIdpath
LookupasStaticLookupSourcerecipient
Compactu32deadline
Bootstrap create AssetIdasset_0
AssetIdasset_1
Compactu128target_supply_0
Compactu128target_supply_1
Compactu128capacity_supply_0
Compactu128capacity_supply_1
Compactu32end
VecAssetIdrewards
VecTupleAssetIdAssetBalancelimits
Bootstrap contribute AssetIdasset_0
AssetIdasset_1
Compactu128amount_0_contribute
Compactu128amount_1_contribute
Compactu32deadline
Bootstrap claim LookupasStaticLookupSourcerecipient
AssetIdasset_0
AssetIdasset_1
Compactu32deadline
Bootstrap end AssetIdasset_0
AssetIdasset_1
Bootstrap update AssetIdasset_0
AssetIdasset_1
Compactu128target_supply_0
Compactu128target_supply_1
Compactu128capacity_supply_0
Compactu128capacity_supply_1
Compactu32end
VecAssetIdrewards
VecTupleAssetIdAssetBalancelimits
Bootstrap refund AssetIdasset_0
AssetIdasset_1
Bootstrap charge reward AssetIdasset_0
AssetIdasset_1
VecTupleAssetIdAssetBalancecharge_rewards
Bootstrap withdraw reward AssetIdasset_0
AssetIdasset_1
LookupasStaticLookupSourcerecipient

Farming

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Create farming pool VecTupleCurrencyIdOfTPerbilltokens_proportion
VecTupleCurrencyIdOfTBalanceOfTbasic_rewards
OptionCurrencyIdOfTBlockNumberForTVecCurrencyIdOfTBalanceOfTgauge_init
Balancemin_deposit_to_start
Compactu32after_block_to_start
Compactu32withdraw_limit_time
Compactu32claim_limit_time
u8withdraw_limit_count
Charge PoolIdpid
VecTupleCurrencyIdOfTBalanceOfTrewards
Deposit PoolIdpid
Balanceadd_value
OptionTupleBalanceOfTBlockNumbergauge_info
Withdraw PoolIdpid
OptionBalanceremove_value
Claim PoolIdpid
Withdraw claim PoolIdpid
Force retire pool PoolIdpid
Set retire limit u32limit
Close pool PoolIdpid
Reset pool PoolIdpid
OptionVecTupleCurrencyIdOfTBalanceOfTbasic_rewards
OptionBalancemin_deposit_to_start
OptionBlockNumberafter_block_to_start
OptionBlockNumberwithdraw_limit_time
OptionBlockNumberclaim_limit_time
Optionu8withdraw_limit_count
OptionCurrencyIdOfTBlockNumberForTVecCurrencyIdOfTBalanceOfTgauge_init
Kill pool PoolIdpid
Edit pool PoolIdpid
OptionVecTupleCurrencyIdOfTBalanceOfTbasic_rewards
OptionBlockNumberwithdraw_limit_time
OptionBlockNumberclaim_limit_time
OptionVecTupleCurrencyIdOfTBalanceOfTgauge_basic_rewards
Optionu8withdraw_limit_count
Gauge withdraw PoolIdgid
Force gauge claim PoolIdgid

AssetRegistry

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Register asset AssetMetadataBalanceCustomMetadatametadata
OptionAssetIdasset_id
Update asset AssetIdasset_id
Optionu32decimals
OptionVecu8name
OptionVecu8symbol
OptionBalanceexistential_deposit
OptionOptionVersionedMultiLocationlocation
OptionCustomMetadataadditional

VestingManager

Name Nano S Nano S XL Nano SP/X - Stax Nesting Arguments
Remove vesting schedule AccountIdLookupOfTwho
u32schedule_index

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors