mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-20 12:15:51 +00:00
fix AMM ledger object's LPTokenBalance type to IssuedCurrencyAmount (#2621)
This commit is contained in:
@@ -4,6 +4,9 @@ Subscribe to [the **xrpl-announce** mailing list](https://groups.google.com/g/xr
|
|||||||
|
|
||||||
## Unreleased
|
## Unreleased
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
* Fix `AMM` ledger object's `LPTokenBalance` type to `IssuedCurrencyAmount`.
|
||||||
|
|
||||||
## 2.14.0 (2023-11-30)
|
## 2.14.0 (2023-11-30)
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ export default interface AMM extends BaseLedgerEntry, MissingPreviousTxnID {
|
|||||||
* The holders of these tokens can vote on the AMM's trading fee in proportion to their holdings,
|
* The holders of these tokens can vote on the AMM's trading fee in proportion to their holdings,
|
||||||
* or redeem the tokens for a share of the AMM's assets which grows with the trading fees collected.
|
* or redeem the tokens for a share of the AMM's assets which grows with the trading fees collected.
|
||||||
*/
|
*/
|
||||||
LPTokenBalance: Currency
|
LPTokenBalance: IssuedCurrencyAmount
|
||||||
/**
|
/**
|
||||||
* The percentage fee to be charged for trades against this AMM instance, in units of 1/100,000.
|
* The percentage fee to be charged for trades against this AMM instance, in units of 1/100,000.
|
||||||
* The maximum value is 1000, for a 1% fee.
|
* The maximum value is 1000, for a 1% fee.
|
||||||
|
|||||||
Reference in New Issue
Block a user