We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf6d29e commit 30ff557Copy full SHA for 30ff557
src/core/IAuthenticator.sol
@@ -2,6 +2,7 @@
2
pragma solidity ^0.8.20;
3
4
import {
5
+ AuthType,
6
MsgSignTx,
7
MsgSignTxResponse,
8
MsgExtSignTx,
@@ -10,14 +11,8 @@ import {
10
11
QueryTxAuthStateResponse
12
} from "../proto/cross/core/auth/Auth.sol";
13
-enum SignMethod {
14
- LOCAL,
15
- // IBC, // IBC signing is not supported
16
- EXTENSION
17
-}
18
-
19
interface IAuthenticator {
20
- event TxSigned(address indexed signer, bytes32 indexed txId, SignMethod method);
+ event TxSigned(address indexed signer, bytes32 indexed txId, AuthType.AuthMode method);
21
22
function signTx(MsgSignTx.Data calldata msg_) external returns (MsgSignTxResponse.Data memory);
23
0 commit comments