workspaces/cogito-ios-app/Cogito/Sign transaction service/TransactionSigningActions.swift
import ReSwiftThunk
struct TransactionSigningActions {
// swiftlint:disable:next identifier_name
static func Sign(tx: [String: Any],
responseId: JsonRpcId,
channel: TelepathChannel) -> Thunk<AppState> {
return Thunk { dispatch, getState in
let builder = TransactionSignerBuilder(transaction: tx,
dispatch: dispatch,
getState: getState,
responseId: responseId,
channel: channel)
builder.build().execute()
}
}
}