@sofaws/dapp-core
Version:
A library to hold the main logic for a dapp on the Elrond Network
143 lines • 8.94 kB
TypeScript
export declare const addressSelector: import("reselect").OutputSelector<import("redux").CombinedState<{
account: import("reduxStore/slices").AccountInfoSliceType;
networkConfig: import("reduxStore/slices").NetworkConfigStateType;
loginInfo: import("reduxStore/slices").LoginInfoStateType;
modals: import("reduxStore/slices").ModalsSliceState;
dappModal: import("../slices/dappModalsSlice").ModalsSliceState;
toasts: import("reduxStore/slices").ToastsSliceState;
transactions: import("reduxStore/slices").TransactionsSliceStateType;
transactionsInfo: import("reduxStore/slices").StateType;
}>, string, (res: import("reduxStore/slices").AccountInfoSliceType) => string>;
export declare const accountSelector: import("reselect").OutputSelector<import("redux").CombinedState<{
account: import("reduxStore/slices").AccountInfoSliceType;
networkConfig: import("reduxStore/slices").NetworkConfigStateType;
loginInfo: import("reduxStore/slices").LoginInfoStateType;
modals: import("reduxStore/slices").ModalsSliceState;
dappModal: import("../slices/dappModalsSlice").ModalsSliceState;
toasts: import("reduxStore/slices").ToastsSliceState;
transactions: import("reduxStore/slices").TransactionsSliceStateType;
transactionsInfo: import("reduxStore/slices").StateType;
}>, import("../../types").AccountType, (res1: import("reduxStore/slices").AccountInfoSliceType, res2: string) => import("../../types").AccountType>;
export declare const accountInfoSelector: import("reselect").OutputSelector<import("redux").CombinedState<{
account: import("reduxStore/slices").AccountInfoSliceType;
networkConfig: import("reduxStore/slices").NetworkConfigStateType;
loginInfo: import("reduxStore/slices").LoginInfoStateType;
modals: import("reduxStore/slices").ModalsSliceState;
dappModal: import("../slices/dappModalsSlice").ModalsSliceState;
toasts: import("reduxStore/slices").ToastsSliceState;
transactions: import("reduxStore/slices").TransactionsSliceStateType;
transactionsInfo: import("reduxStore/slices").StateType;
}>, {
account: import("../../types").AccountType;
address: string;
shard?: number | undefined;
publicKey: string;
ledgerAccount: import("reduxStore/slices").LedgerAccountType | null;
walletConnectAccount: string | null;
isAccountLoading: boolean;
websocketEvent: {
timestamp: number;
message: string;
} | null;
accountLoadingError: string | null;
}, (res1: import("reduxStore/slices").AccountInfoSliceType, res2: import("../../types").AccountType) => {
account: import("../../types").AccountType;
address: string;
shard?: number | undefined;
publicKey: string;
ledgerAccount: import("reduxStore/slices").LedgerAccountType | null;
walletConnectAccount: string | null;
isAccountLoading: boolean;
websocketEvent: {
timestamp: number;
message: string;
} | null;
accountLoadingError: string | null;
}>;
export declare const accountBalanceSelector: import("reselect").OutputSelector<import("redux").CombinedState<{
account: import("reduxStore/slices").AccountInfoSliceType;
networkConfig: import("reduxStore/slices").NetworkConfigStateType;
loginInfo: import("reduxStore/slices").LoginInfoStateType;
modals: import("reduxStore/slices").ModalsSliceState;
dappModal: import("../slices/dappModalsSlice").ModalsSliceState;
toasts: import("reduxStore/slices").ToastsSliceState;
transactions: import("reduxStore/slices").TransactionsSliceStateType;
transactionsInfo: import("reduxStore/slices").StateType;
}>, string, (res: import("../../types").AccountType) => string>;
export declare const accountNonceSelector: import("reselect").OutputSelector<import("redux").CombinedState<{
account: import("reduxStore/slices").AccountInfoSliceType;
networkConfig: import("reduxStore/slices").NetworkConfigStateType;
loginInfo: import("reduxStore/slices").LoginInfoStateType;
modals: import("reduxStore/slices").ModalsSliceState;
dappModal: import("../slices/dappModalsSlice").ModalsSliceState;
toasts: import("reduxStore/slices").ToastsSliceState;
transactions: import("reduxStore/slices").TransactionsSliceStateType;
transactionsInfo: import("reduxStore/slices").StateType;
}>, number, (res: import("../../types").AccountType) => number>;
export declare const shardSelector: import("reselect").OutputSelector<import("redux").CombinedState<{
account: import("reduxStore/slices").AccountInfoSliceType;
networkConfig: import("reduxStore/slices").NetworkConfigStateType;
loginInfo: import("reduxStore/slices").LoginInfoStateType;
modals: import("reduxStore/slices").ModalsSliceState;
dappModal: import("../slices/dappModalsSlice").ModalsSliceState;
toasts: import("reduxStore/slices").ToastsSliceState;
transactions: import("reduxStore/slices").TransactionsSliceStateType;
transactionsInfo: import("reduxStore/slices").StateType;
}>, number | undefined, (res: import("reduxStore/slices").AccountInfoSliceType) => number | undefined>;
export declare const ledgerAccountSelector: import("reselect").OutputSelector<import("redux").CombinedState<{
account: import("reduxStore/slices").AccountInfoSliceType;
networkConfig: import("reduxStore/slices").NetworkConfigStateType;
loginInfo: import("reduxStore/slices").LoginInfoStateType;
modals: import("reduxStore/slices").ModalsSliceState;
dappModal: import("../slices/dappModalsSlice").ModalsSliceState;
toasts: import("reduxStore/slices").ToastsSliceState;
transactions: import("reduxStore/slices").TransactionsSliceStateType;
transactionsInfo: import("reduxStore/slices").StateType;
}>, import("reduxStore/slices").LedgerAccountType | null, (res: import("reduxStore/slices").AccountInfoSliceType) => import("reduxStore/slices").LedgerAccountType | null>;
export declare const walletConnectAccountSelector: import("reselect").OutputSelector<import("redux").CombinedState<{
account: import("reduxStore/slices").AccountInfoSliceType;
networkConfig: import("reduxStore/slices").NetworkConfigStateType;
loginInfo: import("reduxStore/slices").LoginInfoStateType;
modals: import("reduxStore/slices").ModalsSliceState;
dappModal: import("../slices/dappModalsSlice").ModalsSliceState;
toasts: import("reduxStore/slices").ToastsSliceState;
transactions: import("reduxStore/slices").TransactionsSliceStateType;
transactionsInfo: import("reduxStore/slices").StateType;
}>, string | null, (res: import("reduxStore/slices").AccountInfoSliceType) => string | null>;
export declare const isAccountLoadingSelector: import("reselect").OutputSelector<import("redux").CombinedState<{
account: import("reduxStore/slices").AccountInfoSliceType;
networkConfig: import("reduxStore/slices").NetworkConfigStateType;
loginInfo: import("reduxStore/slices").LoginInfoStateType;
modals: import("reduxStore/slices").ModalsSliceState;
dappModal: import("../slices/dappModalsSlice").ModalsSliceState;
toasts: import("reduxStore/slices").ToastsSliceState;
transactions: import("reduxStore/slices").TransactionsSliceStateType;
transactionsInfo: import("reduxStore/slices").StateType;
}>, boolean, (res: import("reduxStore/slices").AccountInfoSliceType) => boolean>;
export declare const isAccountLoadingErrorSelector: import("reselect").OutputSelector<import("redux").CombinedState<{
account: import("reduxStore/slices").AccountInfoSliceType;
networkConfig: import("reduxStore/slices").NetworkConfigStateType;
loginInfo: import("reduxStore/slices").LoginInfoStateType;
modals: import("reduxStore/slices").ModalsSliceState;
dappModal: import("../slices/dappModalsSlice").ModalsSliceState;
toasts: import("reduxStore/slices").ToastsSliceState;
transactions: import("reduxStore/slices").TransactionsSliceStateType;
transactionsInfo: import("reduxStore/slices").StateType;
}>, string | null, (res: import("reduxStore/slices").AccountInfoSliceType) => string | null>;
export declare const websocketEventSelector: import("reselect").OutputSelector<import("redux").CombinedState<{
account: import("reduxStore/slices").AccountInfoSliceType;
networkConfig: import("reduxStore/slices").NetworkConfigStateType;
loginInfo: import("reduxStore/slices").LoginInfoStateType;
modals: import("reduxStore/slices").ModalsSliceState;
dappModal: import("../slices/dappModalsSlice").ModalsSliceState;
toasts: import("reduxStore/slices").ToastsSliceState;
transactions: import("reduxStore/slices").TransactionsSliceStateType;
transactionsInfo: import("reduxStore/slices").StateType;
}>, {
timestamp: number;
message: string;
} | null, (res: import("reduxStore/slices").AccountInfoSliceType) => {
timestamp: number;
message: string;
} | null>;
//# sourceMappingURL=accountInfoSelectors.d.ts.map