mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-15 10:05:48 +00:00
additional amm flags are introduced (#2667)
* additional amm flags are introduced Co-authored-by: Mayukha Vadari <mvadari@gmail.com> --------- Co-authored-by: Mayukha Vadari <mvadari@gmail.com>
This commit is contained in:
committed by
GitHub
parent
b9af7bdb6c
commit
b322396a99
@@ -7,6 +7,7 @@ Subscribe to [the **xrpl-announce** mailing list](https://groups.google.com/g/xr
|
|||||||
### Fixed
|
### Fixed
|
||||||
* Typo in `Channel` type `source_tab` -> `source_tag`
|
* Typo in `Channel` type `source_tab` -> `source_tag`
|
||||||
* Fix `client.requestAll` to handle filters better
|
* Fix `client.requestAll` to handle filters better
|
||||||
|
* Add the missing `AMMDeposit` flag `tfTwoAssetIfEmpty`
|
||||||
|
|
||||||
## 3.0.0 (2024-02-01)
|
## 3.0.0 (2024-02-01)
|
||||||
|
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ export enum AMMDepositFlags {
|
|||||||
tfTwoAsset = 0x00100000,
|
tfTwoAsset = 0x00100000,
|
||||||
tfOneAssetLPToken = 0x00200000,
|
tfOneAssetLPToken = 0x00200000,
|
||||||
tfLimitLPToken = 0x00400000,
|
tfLimitLPToken = 0x00400000,
|
||||||
|
tfTwoAssetIfEmpty = 0x00800000,
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface AMMDepositFlagsInterface extends GlobalFlags {
|
export interface AMMDepositFlagsInterface extends GlobalFlags {
|
||||||
@@ -29,6 +30,7 @@ export interface AMMDepositFlagsInterface extends GlobalFlags {
|
|||||||
tfTwoAsset?: boolean
|
tfTwoAsset?: boolean
|
||||||
tfOneAssetLPToken?: boolean
|
tfOneAssetLPToken?: boolean
|
||||||
tfLimitLPToken?: boolean
|
tfLimitLPToken?: boolean
|
||||||
|
tfTwoAssetIfEmpty?: boolean
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user