aboutsummaryrefslogtreecommitdiffstats
path: root/packages/types/src/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/types/src/index.ts')
-rw-r--r--packages/types/src/index.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/types/src/index.ts b/packages/types/src/index.ts
index 7774b61b0..ba384dbb8 100644
--- a/packages/types/src/index.ts
+++ b/packages/types/src/index.ts
@@ -143,6 +143,16 @@ export enum SignatureType {
}
/**
+ * The Signer Provider Type. Some Signer implementations use different message prefixes or implement different
+ * eth_sign behaviour. Note EthSign is compatible with the Ledger device.
+ */
+export enum SignerProviderType {
+ EthSign = 'ETH_SIGN',
+ Metamask = 'METAMASK',
+ Trezor = 'TREZOR',
+}
+
+/**
* Elliptic Curve signature
*/
export interface ECSignature {