Ledger
Last updated
Last updated
Ledger module allow users to liquidity stake/unstake rTokens and rToken relayers to send proposals.
Stake: Take rATOM as an example, only a common transfer on Cosmos Hub is needed to get rATOM. By sending an amount of ATOM to the given pool accounts of rATOM, rToken relayers will receive the corresponding event and send an execute-bond-proposal to StafiHub which will mint rATOM for the from account.
Unstake: liquidity-unbond is the rpc interface for rToken holders to redeem their origin tokens.
Name | Description |
---|---|
Name | Description |
---|---|
account-unbond
Query AccountUnbond
bond-record
Query BondRecord
bonded-pools
Query bonded-pools
chain-era
Query getChainEra
era-exchange-rate
Query EraExchangeRate by a given denom and era
era-exchange-rates
Query EraExchangeRatesByDenom
era-unbond-limit
Query getEraUnbondLimit
exchange-rate
Show ExchangeRate for a given denom
exchange-rate-list
List all ExchangeRate
pool-detail
Query subaccounts and threshold of a pool
pool-unbond
Query unbonds by a given pool
protocol-fee-receiver
Query protocol fee receiver
relay-fee-receiver
Query relay fee receiver
staking-reward-commission
Query staking reward commission
total-protocol-fee
Query total protocol fee
unbond-commission
Query getUnbondCommission
unbond-relay-fee
Query getUnbondRelayFee
liquidity-unbond
redeem rToken