Skip to content

Commit 1421c52

Browse files
committed
Add predict transaction types
1 parent b118ce5 commit 1421c52

File tree

1 file changed

+20
-0
lines changed
  • packages/transaction-controller/src

1 file changed

+20
-0
lines changed

packages/transaction-controller/src/types.ts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -756,6 +756,26 @@ export enum TransactionType {
756756
*/
757757
personalSign = 'personal_sign',
758758

759+
/**
760+
* Buy a position via Predict.
761+
*/
762+
predictBuy = 'predictBuy',
763+
764+
/**
765+
* Claim winnings from a position via Predict.
766+
*/
767+
predictClaim = 'predictClaim',
768+
769+
/**
770+
* Deposit funds to be available for use via Predict.
771+
*/
772+
predictDeposit = 'predictDeposit',
773+
774+
/**
775+
* Sell a position via Predict.
776+
*/
777+
predictSell = 'predictSell',
778+
759779
/**
760780
* When a transaction is failed it can be retried by
761781
* resubmitting the same transaction with a higher gas fee. This type is also used

0 commit comments

Comments
 (0)