mirror of
https://github.com/alexgo-io/onekey-monorepo.git
synced 2026-05-01 05:02:02 +08:00
feat: local db & evm base vault (#3795)
This commit is contained in:
4
@types/@mymonero/mymonero-lws-client.d.ts
vendored
4
@types/@mymonero/mymonero-lws-client.d.ts
vendored
@@ -1,3 +1,5 @@
|
||||
/* eslint-disable @typescript-eslint/naming-convention */
|
||||
|
||||
declare module '@mymonero/mymonero-lws-client' {
|
||||
interface MoneroTransaction {
|
||||
coinbase: boolean;
|
||||
@@ -87,5 +89,5 @@ declare module '@mymonero/mymonero-lws-client' {
|
||||
) => Promise<{ amount_outs: AmountOut[] }>;
|
||||
}
|
||||
|
||||
export { MoneroAddressInfo, SpentOutout, MoneroTransaction };
|
||||
export { MoneroAddressInfo, MoneroTransaction, SpentOutout };
|
||||
}
|
||||
|
||||
4
@types/globals.d.ts
vendored
4
@types/globals.d.ts
vendored
@@ -1,5 +1,6 @@
|
||||
/* eslint-disable no-var,vars-on-top */
|
||||
import type { ILocaleIds } from '@onekeyhq/components/src/locale';
|
||||
import type { LocalDbBase } from '@onekeyhq/kit-bg/src/dbs/local/LocalDbBase';
|
||||
import type { IBackgroundApi } from '@onekeyhq/kit-bg/src/IBackgroundApi';
|
||||
import type { JotaiBgSync } from '@onekeyhq/kit-bg/src/states/jotai/jotaiBgSync';
|
||||
|
||||
@@ -20,11 +21,12 @@ declare global {
|
||||
var $appIsReduxReady: boolean;
|
||||
var $onekey: IWindowOneKeyHub;
|
||||
var $backgroundApiProxy: IBackgroundApi;
|
||||
var $backgroundApi: IBackgroundApi;
|
||||
var $backgroundApi: IBackgroundApi; // not available for ext ui
|
||||
var $jotaiBgSync: JotaiBgSync;
|
||||
|
||||
var $$navigationShortcuts: any;
|
||||
var $$simpleDb: any;
|
||||
var $$localDb: LocalDbBase;
|
||||
var $$appEventBus: any;
|
||||
var $$appUIEventBus: any;
|
||||
var $$appStore: EnhancedStore;
|
||||
|
||||
1
@types/tronweb.d.ts
vendored
1
@types/tronweb.d.ts
vendored
@@ -1,3 +1,4 @@
|
||||
/* eslint-disable @typescript-eslint/naming-convention */
|
||||
/* eslint-disable camelcase */
|
||||
type ITokenContract = {
|
||||
name: () => { call: () => Promise<{ _name: string } | string> };
|
||||
|
||||
Reference in New Issue
Block a user