@@ -22,7 +22,6 @@ export const EMPTY_POINT = new Point({
23export interface RollerStore {
23export interface RollerStore {
24 loading: boolean;
24 loading: boolean;
25− nextBatchTime: number;
26 nextQuotaTime: number;
25 nextQuotaTime: number;
27 pendingTransactions: PendingTransaction[];
26 pendingTransactions: PendingTransaction[];
28 point: Point;
27 point: Point;
@@ -34,7 +33,6 @@ export interface RollerStore {
34 ethBalance: BN;
33 ethBalance: BN;
35 setLoading: (loading: boolean) => void;
34 setLoading: (loading: boolean) => void;
36 setModalText: (modalText: string) => void;
35 setModalText: (modalText: string) => void;
37− setNextBatchTime: (nextBatchTime: number) => void;
38 setNextQuotaTime: (nextQuotaTime: number) => void;
36 setNextQuotaTime: (nextQuotaTime: number) => void;
39 setPendingTransactions: (pendingTransactions: PendingTransaction[]) => void;
37 setPendingTransactions: (pendingTransactions: PendingTransaction[]) => void;
40 setPoint: (point: number) => void;
38 setPoint: (point: number) => void;
@@ -47,7 +45,6 @@ export interface RollerStore {
48export const useRollerStore = create<RollerStore>(set => ({
46export const useRollerStore = create<RollerStore>(set => ({
49 loading: false,
47 loading: false,
50− nextBatchTime: new Date().getTime() + HOUR,
51 nextQuotaTime: new Date().getTime() + 24 * HOUR,
48 nextQuotaTime: new Date().getTime() + 24 * HOUR,
52 pendingTransactions: [],
49 pendingTransactions: [],
53 point: EMPTY_POINT,
50 point: EMPTY_POINT,
@@ -57,7 +54,6 @@ export const useRollerStore = create<RollerStore>(set => ({
57 recentlyCompleted: 0,
54 recentlyCompleted: 0,
58 ethBalance: toBN(0),
55 ethBalance: toBN(0),
59 setLoading: (loading: boolean) => set(() => ({ loading })),
56 setLoading: (loading: boolean) => set(() => ({ loading })),
60− setNextBatchTime: (nextBatchTime: number) => set(() => ({ nextBatchTime })),
61 setNextQuotaTime: (nextQuotaTime: number) => set(() => ({ nextQuotaTime })),
57 setNextQuotaTime: (nextQuotaTime: number) => set(() => ({ nextQuotaTime })),
62 setPendingTransactions: (pendingTransactions: PendingTransaction[]) =>
58 setPendingTransactions: (pendingTransactions: PendingTransaction[]) =>
63 set(state => {
59 set(state => {