File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ export {
2323 SmartTransactionCancellationReason ,
2424 SmartTransactionStatuses ,
2525 ClientId ,
26+ Feature ,
27+ Kind ,
2628} from './types' ;
2729export { MetaMetricsEventName , MetaMetricsEventCategory } from './constants' ;
2830export {
Original file line number Diff line number Diff line change @@ -6,8 +6,32 @@ import type { SmartTransactionsNetworkConfig } from './featureFlags';
66
77export type SentinelMeta = {
88 txType ?: TransactionType ;
9+ feature ?: Feature ;
10+ kind ?: Kind ;
11+ client ?: ClientId ;
12+ wallet ?: string ;
913} ;
1014
15+ // This list does not belong here, but as these are reported to tx-sentinel, it is ok to have it here for now.
16+ export enum Feature {
17+ Swap = 'Swap' ,
18+ Staking = 'Staking' ,
19+ Ramp = 'Ramp' ,
20+ Prediction = 'Prediction' ,
21+ Perp = 'Perp' ,
22+ Earn = 'Earn' ,
23+ Card = 'Card' ,
24+ Bridge = 'Bridge' ,
25+ dAppTransaction = 'dAppTransaction' ,
26+ }
27+
28+ export enum Kind {
29+ Regular = 'Regular' ,
30+ STX = 'STX' ,
31+ GaslessSendBundle = 'GaslessSendBundle' ,
32+ GaslessEIP7702 = 'GaslessEIP7702' ,
33+ }
34+
1135/** API */
1236export enum APIType {
1337 'GET_FEES' ,
You can’t perform that action at this time.
0 commit comments