GithubHelp home page GithubHelp logo

isabella232 / ledger-karura Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zondax/ledger-karura

0.0 0.0 0.0 1.25 MB

License: Apache License 2.0

JavaScript 0.28% C++ 4.21% Python 0.37% C 85.69% Rust 2.15% TypeScript 4.39% Makefile 1.45% CMake 1.39% GDB 0.06%

ledger-karura's Introduction

Ledger Karura App

License GithubActions


zondax_light zondax_dark

Please visit our website at zondax.ch


This project contains the Karura app (https://karura.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

Karura 1.2091.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

Timestamp

Name Light XL Nesting Arguments
Set Compactu64 now

Scheduler

Name Light XL Nesting Arguments
Schedule BlockNumber when
OptionschedulePeriodBlockNumber maybe_periodic
schedulePriority priority
BoxCallOrHashOfT call
Cancel BlockNumber when
u32 index
Schedule named Vecu8 id
BlockNumber when
OptionschedulePeriodBlockNumber maybe_periodic
schedulePriority priority
BoxCallOrHashOfT call
Cancel named Vecu8 id
Schedule after BlockNumber after
OptionschedulePeriodBlockNumber maybe_periodic
schedulePriority priority
BoxCallOrHashOfT call
Schedule named after Vecu8 id
BlockNumber after
OptionschedulePeriodBlockNumber maybe_periodic
schedulePriority priority
BoxCallOrHashOfT call

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

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

Proxy

Name Light XL Nesting Arguments
Proxy ✔️ ✔️ ✔️ AccountId real
OptionProxyType force_proxy_type
Call call
Add proxy ✔️ ✔️ ✔️ AccountId delegate
ProxyType proxy_type
BlockNumber delay
Remove proxy ✔️ ✔️ ✔️ AccountId delegate
ProxyType proxy_type
BlockNumber delay
Remove proxies ✔️
Anonymous ✔️ ProxyType proxy_type
BlockNumber delay
u16 index
Kill anonymous ✔️ AccountId spawner
ProxyType proxy_type
u16 index
Compactu32 height
Compactu32 ext_index
Announce ✔️ AccountId real
CallHashOf call_hash
Remove announcement ✔️ AccountId real
CallHashOf call_hash
Reject announcement ✔️ AccountId delegate
CallHashOf call_hash
Proxy announced ✔️ AccountId delegate
AccountId real
OptionProxyType force_proxy_type
Call call

TransactionPause

Name Light XL Nesting Arguments
Pause transaction Vecu8 pallet_name
Vecu8 function_name
Unpause transaction Vecu8 pallet_name
Vecu8 function_name

IdleScheduler

Name Light XL Nesting Arguments
Schedule task Task task

Preimage

Name Light XL Nesting Arguments
Note preimage Vecu8 bytes
Unnote preimage Hash hash
Request preimage Hash hash
Unrequest preimage Hash hash

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

Currencies

Name Light XL Nesting Arguments
Transfer ✔️ ✔️ ✔️ LookupasStaticLookupSource dest
CurrencyId currency_id
Compactu128 amount
Transfer native currency ✔️ ✔️ LookupasStaticLookupSource dest
Compactu128 amount
Update balance ✔️ LookupasStaticLookupSource who
CurrencyId currency_id
Amount amount
Sweep dust ✔️ CurrencyId currency_id
VecAccountId accounts

Vesting

Name Light XL Nesting Arguments
Claim ✔️
Vested transfer LookupasStaticLookupSource dest
VestingScheduleOf schedule
Update vesting schedules LookupasStaticLookupSource who
VecVestingScheduleOf vesting_schedules
Claim for LookupasStaticLookupSource dest

TransactionPayment

Name Light XL Nesting Arguments
Set alternative fee swap path ✔️ OptionVecCurrencyId fee_swap_path
Enable charge fee pool CurrencyId currency_id
Balance pool_size
Balance swap_threshold
Disable charge fee pool ✔️ CurrencyId currency_id
With fee path ✔️ VecCurrencyId fee_swap_path
Call call
With fee currency ✔️ CurrencyId currency_id
Call call
With fee paid by ✔️ Call call
AccountId payer_addr
MultiSignature payer_sig
With fee aggregated path ✔️ VecSwapPath fee_aggregated_path
Call call

Treasury

Name Light XL Nesting Arguments
Propose spend CompactBalance amount
LookupasStaticLookupSource beneficiary
Reject proposal Compactu32 proposal_id
Approve proposal Compactu32 proposal_id
Spend CompactBalance amount
LookupasStaticLookupSource beneficiary
Remove approval Compactu32 proposal_id

Bounties

Name Light XL Nesting Arguments
Propose bounty ✔️ CompactBalance amount
Bytes description
Approve bounty ✔️ Compactu32 bounty_id
Propose curator ✔️ Compactu32 bounty_id
LookupasStaticLookupSource curator
CompactBalance fee
Unassign curator ✔️ Compactu32 bounty_id
Accept curator ✔️ Compactu32 bounty_id
Award bounty ✔️ Compactu32 bounty_id
LookupasStaticLookupSource beneficiary
Claim bounty ✔️ Compactu32 bounty_id
Close bounty ✔️ Compactu32 bounty_id
Extend bounty expiry ✔️ Compactu32 bounty_id
Bytes remark

Tips

Name Light XL Nesting Arguments
Report awesome Bytes reason
AccountId who
Retract tip Hash hash
Tip new Bytes reason
AccountId who
Compactu128 tip_value
Tip Hash hash
Compactu128 tip_value
Close tip Hash hash
Slash tip Hash hash

Authorship

Name Light XL Nesting Arguments
Set uncles VecHeader new_uncles

CollatorSelection

Name Light XL Nesting Arguments
Set invulnerables ✔️ VecAccountId new_
Set desired candidates ✔️ Compactu32 max
Set candidacy bond ✔️ Compactu128 bond
Register as candidate ✔️
Register candidate ✔️ AccountId new_candidate
Leave intent ✔️
Withdraw bond ✔️

Session

Name Light XL Nesting Arguments
Set keys ✔️ ✔️ Keys keys
Bytes proof
Purge keys ✔️ ✔️

SessionManager

Name Light XL Nesting Arguments
Schedule session duration Compactu32 start_session
Compactu32 duration

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
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

DmpQueue

Name Light XL Nesting Arguments
Service overweight OverweightIndex index
Weight weight_limit

XTokens

Name Light XL Nesting Arguments
Transfer ✔️ CurrencyId currency_id
Balance amount
BoxVersionedMultiLocation dest
Weight dest_weight
Transfer multiasset BoxVersionedMultiAsset asset
BoxVersionedMultiLocation dest
Weight dest_weight
Transfer with fee CurrencyId currency_id
Balance amount
Balance fee
BoxVersionedMultiLocation dest
Weight dest_weight
Transfer multiasset with fee BoxVersionedMultiAsset asset
BoxVersionedMultiAsset fee
BoxVersionedMultiLocation dest
Weight dest_weight
Transfer multicurrencies VecTupleCurrencyIdBalance currencies
u32 fee_item
BoxVersionedMultiLocation dest
Weight dest_weight
Transfer multiassets BoxVersionedMultiAssets assets
u32 fee_item
BoxVersionedMultiLocation dest
Weight dest_weight

OrmlXcm

Name Light XL Nesting Arguments
Send as sovereign BoxVersionedMultiLocation dest
BoxVersionedXcmTuple message

Authority

Name Light XL Nesting Arguments
Dispatch as AsOriginId as_origin
Call call
Schedule dispatch DispatchTimeBlockNumber when
Priority priority
bool with_delayed_origin
Call call
Fast track scheduled dispatch BoxPalletsOrigin initial_origin
ScheduleTaskIndex task_id
DispatchTimeBlockNumber when
Delay scheduled dispatch BoxPalletsOrigin initial_origin
ScheduleTaskIndex task_id
BlockNumber additional_delay
Cancel scheduled dispatch BoxPalletsOrigin initial_origin
ScheduleTaskIndex task_id
Authorize call Call call
OptionAccountId caller
Remove authorized call Hash hash
Trigger call Hash hash
Compactu64 call_weight_bound

GeneralCouncil

Name Light XL 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 Hash proposal_hash
Compactu32 index
Compactu64 proposal_weight_bound
Compactu32 length_bound
Disapprove proposal Hash proposal_hash

GeneralCouncilMembership

Name Light XL Nesting Arguments
Add member AccountId who
Remove member AccountId who
Swap member AccountId remove
AccountId add
Reset members VecAccountId members
Change key AccountId new_
Set prime AccountId who
Clear prime

FinancialCouncil

Name Light XL 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 Hash proposal_hash
Compactu32 index
Compactu64 proposal_weight_bound
Compactu32 length_bound
Disapprove proposal Hash proposal_hash

FinancialCouncilMembership

Name Light XL Nesting Arguments
Add member AccountId who
Remove member AccountId who
Swap member AccountId remove
AccountId add
Reset members VecAccountId members
Change key AccountId new_
Set prime AccountId who
Clear prime

HomaCouncil

Name Light XL 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 Hash proposal_hash
Compactu32 index
Compactu64 proposal_weight_bound
Compactu32 length_bound
Disapprove proposal Hash proposal_hash

HomaCouncilMembership

Name Light XL Nesting Arguments
Add member AccountId who
Remove member AccountId who
Swap member AccountId remove
AccountId add
Reset members VecAccountId members
Change key AccountId new_
Set prime AccountId who
Clear prime

TechnicalCommittee

Name Light XL 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 Hash proposal_hash
Compactu32 index
Compactu64 proposal_weight_bound
Compactu32 length_bound
Disapprove proposal Hash proposal_hash

TechnicalCommitteeMembership

Name Light XL Nesting Arguments
Add member AccountId who
Remove member AccountId who
Swap member AccountId remove
AccountId add
Reset members VecAccountId members
Change key AccountId new_
Set prime AccountId who
Clear prime

Democracy

Name Light XL Nesting Arguments
Propose ✔️ Hash proposal_hash
CompactBalance amount
Second ✔️ Compactu32 proposal
Compactu32 seconds_upper_bound
Vote Compactu32 ref_index
AccountVote vote
Emergency cancel ✔️ ReferendumIndex ref_index
External propose ✔️ Hash proposal_hash
External propose majority ✔️ Hash proposal_hash
External propose default ✔️ Hash proposal_hash
Fast track ✔️ Hash proposal_hash
BlockNumber voting_period
BlockNumber delay
Veto external ✔️ Hash proposal_hash
Cancel referendum ✔️ Compactu32 ref_index
Cancel queued ReferendumIndex which
Delegate AccountId to
Conviction conviction
Balance balance
Undelegate ✔️
Clear public proposals ✔️
Note preimage ✔️ Bytes encoded_proposal
Note preimage operational ✔️ Bytes encoded_proposal
Note imminent preimage ✔️ Bytes encoded_proposal
Note imminent preimage operational ✔️ Bytes encoded_proposal
Reap preimage ✔️ Hash proposal_hash
Compactu32 proposal_len_upper_bound
Unlock ✔️ AccountId target
Remove vote ReferendumIndex index
Remove other vote AccountId target
ReferendumIndex index
Enact proposal Hash proposal_hash
ReferendumIndex index
Blacklist Hash proposal_hash
OptionReferendumIndex maybe_ref_index
Cancel proposal ✔️ Compactu32 prop_index

AcalaOracle

Name Light XL Nesting Arguments
Feed values VecTupleOracleKeyOracleValue values

OperatorMembershipAcala

Name Light XL Nesting Arguments
Add member AccountId who
Remove member AccountId who
Swap member AccountId remove
AccountId add
Reset members VecAccountId members
Change key AccountId new_
Set prime AccountId who
Clear prime

Auction

Name Light XL Nesting Arguments
Bid AuctionId id
Compactu128 amount

Rewards

Name Light XL Nesting Arguments

Prices

Name Light XL Nesting Arguments
Lock price CurrencyId currency_id
Unlock price CurrencyId currency_id

Dex

Name Light XL Nesting Arguments
Swap with exact supply ✔️ ✔️ VecCurrencyId path
Compactu128 supply_amount
Compactu128 min_target_amount
Swap with exact target ✔️ VecCurrencyId path
Compactu128 target_amount
Compactu128 max_supply_amount
Add liquidity ✔️ ✔️ CurrencyId currency_id_a
CurrencyId currency_id_b
Compactu128 max_amount_a
Compactu128 max_amount_b
Compactu128 min_share_increment
bool stake_increment_share
Add provision ✔️ CurrencyId currency_id_a
CurrencyId currency_id_b
Compactu128 amount_a
Compactu128 amount_b
Claim dex share ✔️ AccountId owner
CurrencyId currency_id_a
CurrencyId currency_id_b
Remove liquidity ✔️ ✔️ CurrencyId currency_id_a
CurrencyId currency_id_b
Compactu128 remove_share
Compactu128 min_withdrawn_a
Compactu128 min_withdrawn_b
bool by_unstake
List provisioning ✔️ CurrencyId currency_id_a
CurrencyId currency_id_b
Compactu128 min_contribution_a
Compactu128 min_contribution_b
Compactu128 target_provision_a
Compactu128 target_provision_b
Compactu32 not_before
Update provisioning parameters ✔️ CurrencyId currency_id_a
CurrencyId currency_id_b
Compactu128 min_contribution_a
Compactu128 min_contribution_b
Compactu128 target_provision_a
Compactu128 target_provision_b
Compactu32 not_before
End provisioning ✔️ CurrencyId currency_id_a
CurrencyId currency_id_b
Enable trading pair ✔️ CurrencyId currency_id_a
CurrencyId currency_id_b
Disable trading pair ✔️ CurrencyId currency_id_a
CurrencyId currency_id_b
Refund provision ✔️ AccountId owner
CurrencyId currency_id_a
CurrencyId currency_id_b
Abort provisioning ✔️ CurrencyId currency_id_a
CurrencyId currency_id_b

DexOracle

Name Light XL Nesting Arguments
Enable average price CurrencyId currency_id_a
CurrencyId currency_id_b
Moment interval
Disable average price CurrencyId currency_id_a
CurrencyId currency_id_b
Update average price interval CurrencyId currency_id_a
CurrencyId currency_id_b
Moment new_interval

AggregatedDex

Name Light XL Nesting Arguments
Swap with exact supply ✔️ ✔️ VecSwapPath paths
CompactBalance supply_amount
CompactBalance min_target_amount
Swap with exact target ✔️ ✔️ VecSwapPath paths
CompactBalance target_amount
CompactBalance max_supply_amount
Update aggregated swap paths ✔️ ✔️ VecTupleCurrencyIdCurrencyIdOptionVecSwapPath updates

AuctionManager

Name Light XL Nesting Arguments
Cancel AuctionId id

Loans

Name Light XL Nesting Arguments

Honzon

Name Light XL Nesting Arguments
Adjust loan ✔️ ✔️ CurrencyId currency_id
Amount collateral_adjustment
Amount debit_adjustment
Close loan has debit by dex ✔️ CurrencyId currency_id
Compactu128 max_collateral_amount
Transfer loan from ✔️ CurrencyId currency_id
LookupasStaticLookupSource from
Authorize ✔️ CurrencyId currency_id
LookupasStaticLookupSource to
Unauthorize ✔️ CurrencyId currency_id
LookupasStaticLookupSource to
Unauthorize all ✔️
Expand position collateral ✔️ CurrencyId currency_id
Balance increase_debit_value
Balance min_increase_collateral
Shrink position debit ✔️ CurrencyId currency_id
Balance decrease_collateral
Balance min_decrease_debit_value
Adjust loan by debit value ✔️ CurrencyId currency_id
Amount collateral_adjustment
Amount debit_value_adjustment
Transfer debit ✔️ CurrencyId from_currency
CurrencyId to_currency
Balance debit_transfer

CdpTreasury

Name Light XL Nesting Arguments
Extract surplus to treasury Compactu128 amount
Auction collateral CurrencyId currency_id
Compactu128 amount
Compactu128 target
bool splited
Exchange collateral to stable CurrencyId currency_id
SwapLimitBalance swap_limit
Set expected collateral auction size CurrencyId currency_id
Compactu128 size

CdpEngine

Name Light XL Nesting Arguments
Liquidate CurrencyId currency_id
LookupasStaticLookupSource who
Settle CurrencyId currency_id
LookupasStaticLookupSource who
Set collateral params CurrencyId currency_id
ChangeOptionRate interest_rate_per_sec
ChangeOptionRatio liquidation_ratio
ChangeOptionRate liquidation_penalty
ChangeOptionRatio required_collateral_ratio
ChangeBalance maximum_total_debit_value
Register liquidation contract EvmAddress address
Deregister liquidation contract EvmAddress address

EmergencyShutdown

Name Light XL Nesting Arguments
Emergency shutdown
Open collateral refund
Refund collaterals Compactu128 amount

HonzonBridge

Name Light XL Nesting Arguments
Set bridged stable coin address ✔️ EvmAddress address
To bridged ✔️ Compactu128 amount
From bridged ✔️ Compactu128 amount

Homa

Name Light XL Nesting Arguments
Mint ✔️ ✔️ Compactu128 amount
Request redeem ✔️ ✔️ Compactu128 amount
bool allow_fast_match
Fast match redeems ✔️ ✔️ VecAccountId redeemer_list
Claim redemption ✔️ AccountId redeemer
Update homa params OptionBalance soft_bonded_cap_per_sub_account
OptionRate estimated_reward_rate_per_era
OptionRate commission_rate
OptionRate fast_match_fee_rate
Update bump era params OptionBlockNumber last_era_bumped_block
OptionBlockNumber frequency
Reset ledgers VecTupleu16OptionBalanceOptionVecUnlockChunk updates
Reset current era ✔️ EraIndex era_index
Force bump current era ✔️ EraIndex bump_amount
Fast match redeems completely ✔️ ✔️ VecAccountId redeemer_list

XcmInterface

Name Light XL Nesting Arguments
Update xcm dest weight and fee VecTupleXcmInterfaceOperationOptionWeightOptionBalance updates

Incentives

Name Light XL Nesting Arguments
Deposit dex share ✔️ CurrencyId lp_currency_id
Compactu128 amount
Withdraw dex share ✔️ ✔️ CurrencyId lp_currency_id
Compactu128 amount
Claim rewards ✔️ PoolId pool_id
Update incentive rewards VecTuplePoolIdVecTupleCurrencyIdBalance updates
Update dex saving rewards VecTuplePoolIdRate updates
Update claim reward deduction rates VecTuplePoolIdRate updates

NFT

Name Light XL Nesting Arguments
Create class CID metadata
Properties properties
Attributes attributes
Mint LookupasStaticLookupSource to
ClassIdOfT class_id
CID metadata
Attributes attributes
Compactu32 quantity
Transfer ✔️ LookupasStaticLookupSource to
ClassIdOfTTokenIdOfT token
Burn ClassIdOfTTokenIdOfT token
Burn with remark ClassIdOfTTokenIdOfT token
Vecu8 remark
Destroy class ClassIdOfT class_id
LookupasStaticLookupSource dest
Update class properties ClassIdOfT class_id
Properties properties

AssetRegistry

Name Light XL Nesting Arguments
Register foreign asset BoxVersionedMultiLocation location
BoxAssetMetadataBalanceOfT metadata
Update foreign asset ForeignAssetId foreign_asset_id
BoxVersionedMultiLocation location
BoxAssetMetadataBalanceOfT metadata
Register stable asset BoxAssetMetadataBalanceOfT metadata
Update stable asset StableAssetPoolId stable_asset_id
BoxAssetMetadataBalanceOfT metadata
Register erc20 asset EvmAddress contract
Balance minimal_balance
Update erc20 asset EvmAddress contract
BoxAssetMetadataBalanceOfT metadata
Register native asset CurrencyId currency_id
BoxAssetMetadataBalanceOfT metadata
Update native asset CurrencyId currency_id
BoxAssetMetadataBalanceOfT metadata

EVM

Name Light XL Nesting Arguments
Eth call ✔️ TransactionAction action
Vecu8 input
Compactu128 amount
Compactu64 gas_limit
Compactu32 storage_limit
VecAccessListItem access_list
Compactu32 valid_until
Call ✔️ EvmAddress target
Vecu8 input
Compactu128 amount
Compactu64 gas_limit
Compactu32 storage_limit
VecAccessListItem access_list
Scheduled call EvmAddress from
EvmAddress target
Vecu8 input
Compactu128 amount
Compactu64 gas_limit
Compactu32 storage_limit
VecAccessListItem access_list
Create ✔️ Vecu8 input
Compactu128 amount
Compactu64 gas_limit
Compactu32 storage_limit
VecAccessListItem access_list
Create2 ✔️ Vecu8 input
H256 salt
Compactu128 amount
Compactu64 gas_limit
Compactu32 storage_limit
VecAccessListItem access_list
Create nft contract Vecu8 input
Compactu128 amount
Compactu64 gas_limit
Compactu32 storage_limit
VecAccessListItem access_list
Create predeploy contract EvmAddress target
Vecu8 input
Compactu128 amount
Compactu64 gas_limit
Compactu32 storage_limit
VecAccessListItem access_list
Transfer maintainer ✔️ EvmAddress contract
EvmAddress new_maintainer
Publish contract ✔️ EvmAddress contract
Publish free ✔️ EvmAddress contract
Enable contract development ✔️
Disable contract development ✔️
Set code ✔️ EvmAddress contract
Vecu8 code
Selfdestruct ✔️ EvmAddress contract

EvmAccounts

Name Light XL Nesting Arguments
Claim account ✔️ EvmAddress eth_address
Eip712Signature eth_signature
Claim default account ✔️

StableAsset

Name Light XL Nesting Arguments
Create pool AssetId pool_asset
VecAssetId assets
VecAtLeast64BitUnsigned precisions
AtLeast64BitUnsigned mint_fee
AtLeast64BitUnsigned swap_fee
AtLeast64BitUnsigned redeem_fee
AtLeast64BitUnsigned initial_a
AccountId fee_recipient
AccountId yield_recipient
AtLeast64BitUnsigned precision
Mint ✔️ StableAssetPoolId pool_id
VecBalance amounts
Balance min_mint_amount
Swap ✔️ StableAssetPoolId pool_id
PoolTokenIndex i
PoolTokenIndex j
Balance dx
Balance min_dy
u32 asset_length
Redeem proportion ✔️ StableAssetPoolId pool_id
Balance amount
VecBalance min_redeem_amounts
Redeem single ✔️ StableAssetPoolId pool_id
Balance amount
PoolTokenIndex i
Balance min_redeem_amount
u32 asset_length
Redeem multi ✔️ StableAssetPoolId pool_id
VecBalance amounts
Balance max_redeem_amount
Modify a StableAssetPoolId pool_id
AtLeast64BitUnsigned a
BlockNumber future_a_block
Modify fees StableAssetPoolId pool_id
OptionAtLeast64BitUnsigned mint_fee
OptionAtLeast64BitUnsigned swap_fee
OptionAtLeast64BitUnsigned redeem_fee

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

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

ledger-karura's People

Contributors

carlosala avatar chcmedeiros avatar ftheirs avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.