Skip to content

Commit

Permalink
additional amm flags are introduced (#2667)
Browse files Browse the repository at this point in the history
* additional amm flags are introduced

Co-authored-by: Mayukha Vadari <[email protected]>

---------

Co-authored-by: Mayukha Vadari <[email protected]>
  • Loading branch information
ckeshava and mvadari authored Mar 21, 2024
1 parent b9af7bd commit b322396
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/xrpl/HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Subscribe to [the **xrpl-announce** mailing list](https://groups.google.com/g/xr
### Fixed
* Typo in `Channel` type `source_tab` -> `source_tag`
* Fix `client.requestAll` to handle filters better
* Add the missing `AMMDeposit` flag `tfTwoAssetIfEmpty`

## 3.0.0 (2024-02-01)

Expand Down
2 changes: 2 additions & 0 deletions packages/xrpl/src/models/transactions/AMMDeposit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export enum AMMDepositFlags {
tfTwoAsset = 0x00100000,
tfOneAssetLPToken = 0x00200000,
tfLimitLPToken = 0x00400000,
tfTwoAssetIfEmpty = 0x00800000,
}

export interface AMMDepositFlagsInterface extends GlobalFlags {
Expand All @@ -29,6 +30,7 @@ export interface AMMDepositFlagsInterface extends GlobalFlags {
tfTwoAsset?: boolean
tfOneAssetLPToken?: boolean
tfLimitLPToken?: boolean
tfTwoAssetIfEmpty?: boolean
}

/**
Expand Down

0 comments on commit b322396

Please sign in to comment.