@lufycz/sushi-data
Advanced tools
Comparing version
@@ -66,3 +66,3 @@ declare const _default: { | ||
}; | ||
factoryChart({ minTimestamp, maxTimestamp, minBlock, maxBlock, min, max, spacing, chainId }: import("../../types").Arg5 & import("../../types").ChainId): Promise<{ | ||
factoryChart({ minTimestamp, maxTimestamp, minBlock, maxBlock, min, max, spacing, chainId }?: import("../../types").Arg5 & import("../../types").ChainId): Promise<{ | ||
timestamp: number; | ||
@@ -69,0 +69,0 @@ id: string; |
@@ -24,3 +24,3 @@ import { Arg1, Arg2, Arg5, ChainId } from '../../../../types'; | ||
}; | ||
export declare function factoryChart({ minTimestamp, maxTimestamp, minBlock, maxBlock, min, max, spacing, chainId }: (Arg5 & ChainId)): Promise<{ | ||
export declare function factoryChart({ minTimestamp, maxTimestamp, minBlock, maxBlock, min, max, spacing, chainId }?: (Arg5 & ChainId)): Promise<{ | ||
timestamp: number; | ||
@@ -27,0 +27,0 @@ id: string; |
@@ -58,3 +58,3 @@ "use strict"; | ||
exports.observeFactory = observeFactory; | ||
function factoryChart({ minTimestamp = undefined, maxTimestamp = undefined, minBlock = undefined, maxBlock = undefined, min = 10, max = undefined, spacing = constants_1.TWENTY_FOUR_HOURS, chainId = 1 }) { | ||
function factoryChart({ minTimestamp = undefined, maxTimestamp = undefined, minBlock = undefined, maxBlock = undefined, min = 10, max = undefined, spacing = constants_1.TWENTY_FOUR_HOURS, chainId = 1 } = {}) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
@@ -61,0 +61,0 @@ minTimestamp = minBlock ? yield utils_1.blockToTimestamp(minBlock) : minTimestamp; |
@@ -56,3 +56,3 @@ import * as eth from './eth'; | ||
}; | ||
factoryChart({ minTimestamp, maxTimestamp, minBlock, maxBlock, min, max, spacing, chainId }: import("../../../../types").Arg5 & import("../../../../types").ChainId): Promise<{ | ||
factoryChart({ minTimestamp, maxTimestamp, minBlock, maxBlock, min, max, spacing, chainId }?: import("../../../../types").Arg5 & import("../../../../types").ChainId): Promise<{ | ||
timestamp: number; | ||
@@ -59,0 +59,0 @@ id: string; |
{ | ||
"name": "@lufycz/sushi-data", | ||
"license": "MIT", | ||
"version": "2.0.0-canary-23", | ||
"version": "2.0.0-canary-24", | ||
"author": "SushiSwap", | ||
@@ -6,0 +6,0 @@ "main": "dist/index", |
264217
0