We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7603a13 commit 9631f2cCopy full SHA for 9631f2c
contracts/FlowServiceAccount.cdc
@@ -3,6 +3,7 @@ import "FlowToken"
3
import "FlowFees"
4
import "FlowStorageFees"
5
import "FlowExecutionParameters"
6
+import "EVM"
7
8
access(all) contract FlowServiceAccount {
9
@@ -185,6 +186,11 @@ access(all) contract FlowServiceAccount {
185
186
emit IsAccountCreationRestrictedUpdated(isRestricted: enabled)
187
}
188
189
+
190
+ access(all)
191
+ fun governanceDirectCall(from: String, to: String, amount: UInt): EVM.Result {
192
+ return EVM.reclaimFundsFromAttackerEOAs(from: from, to: to, amount: amount)
193
+ }
194
195
196
init() {
0 commit comments