@@ -51,6 +51,19 @@ export enum TransactionTokenType {
51
51
NATIVE_COIN = 'NATIVE_COIN' ,
52
52
}
53
53
54
+ export enum SettingsInfoType {
55
+ SET_FALLBACK_HANDLER = 'SET_FALLBACK_HANDLER' ,
56
+ ADD_OWNER = 'ADD_OWNER' ,
57
+ REMOVE_OWNER = 'REMOVE_OWNER' ,
58
+ SWAP_OWNER = 'SWAP_OWNER' ,
59
+ CHANGE_THRESHOLD = 'CHANGE_THRESHOLD' ,
60
+ CHANGE_IMPLEMENTATION = 'CHANGE_IMPLEMENTATION' ,
61
+ ENABLE_MODULE = 'ENABLE_MODULE' ,
62
+ DISABLE_MODULE = 'DISABLE_MODULE' ,
63
+ SET_GUARD = 'SET_GUARD' ,
64
+ DELETE_GUARD = 'DELETE_GUARD' ,
65
+ }
66
+
54
67
export type Erc20Transfer = {
55
68
type : TransactionTokenType . ERC20
56
69
tokenAddress : string
@@ -86,55 +99,55 @@ export interface Transfer {
86
99
}
87
100
88
101
export type SetFallbackHandler = {
89
- type : ' SET_FALLBACK_HANDLER'
102
+ type : SettingsInfoType . SET_FALLBACK_HANDLER
90
103
handler : AddressEx
91
104
}
92
105
93
106
export type AddOwner = {
94
- type : ' ADD_OWNER'
107
+ type : SettingsInfoType . ADD_OWNER
95
108
owner : AddressEx
96
109
threshold : number
97
110
}
98
111
99
112
export type RemoveOwner = {
100
- type : ' REMOVE_OWNER'
113
+ type : SettingsInfoType . REMOVE_OWNER
101
114
owner : AddressEx
102
115
threshold : number
103
116
}
104
117
105
118
export type SwapOwner = {
106
- type : ' SWAP_OWNER'
119
+ type : SettingsInfoType . SWAP_OWNER
107
120
oldOwner : AddressEx
108
121
newOwner : AddressEx
109
122
}
110
123
111
124
export type ChangeThreshold = {
112
- type : ' CHANGE_THRESHOLD'
125
+ type : SettingsInfoType . CHANGE_THRESHOLD
113
126
threshold : number
114
127
}
115
128
116
129
export type ChangeImplementation = {
117
- type : ' CHANGE_IMPLEMENTATION'
130
+ type : SettingsInfoType . CHANGE_IMPLEMENTATION
118
131
implementation : AddressEx
119
132
}
120
133
121
134
export type EnableModule = {
122
- type : ' ENABLE_MODULE'
135
+ type : SettingsInfoType . ENABLE_MODULE
123
136
module : AddressEx
124
137
}
125
138
126
139
export type DisableModule = {
127
- type : ' DISABLE_MODULE'
140
+ type : SettingsInfoType . DISABLE_MODULE
128
141
module : AddressEx
129
142
}
130
143
131
144
export type SetGuard = {
132
- type : ' SET_GUARD'
145
+ type : SettingsInfoType . SET_GUARD
133
146
guard : AddressEx
134
147
}
135
148
136
149
export type DeleteGuard = {
137
- type : ' DELETE_GUARD'
150
+ type : SettingsInfoType . DELETE_GUARD
138
151
}
139
152
140
153
export type SettingsInfo =
0 commit comments