Skip to content

Commit e8aea19

Browse files
authored
feat: added lendingDeposit to TransactionTypes (MetaMask#5747)
### Change - Added `lendingDeposit` to `TransactionTypes` in `@metamask/transaction-controller`
1 parent b957e3b commit e8aea19

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

packages/transaction-controller/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
### Added
1111

1212
- Add optional `isEIP7702GasFeeTokensEnabled` constructor callback ([#5706](https://github.com/MetaMask/core/pull/5706))
13+
- Add `lendingDeposit` `TransactionType` ([#5747](https://github.com/MetaMask/core/pull/5747))
1314

1415
## [54.4.0]
1516

packages/transaction-controller/src/types.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -633,6 +633,11 @@ export enum TransactionType {
633633
*/
634634
incoming = 'incoming',
635635

636+
/**
637+
* A transaction that deposits tokens into a lending contract.
638+
*/
639+
lendingDeposit = 'lendingDeposit',
640+
636641
/**
637642
* A transaction for personal sign.
638643
*/

0 commit comments

Comments
 (0)