Interface PythPricesParams

interface PythPricesParams {
    binaryUpdate: Buffer;
    dataCell: Cell;
    dict: Dictionary<bigint, bigint>;
    maxPublishTime?: number;
    minPublishTime?: number;
    refAssets: PoolAssetConfig[];
    targetFeeds: string[];
}

Hierarchy (View Summary)

Properties

binaryUpdate: Buffer
dataCell: Cell

Serialized data cell containing price information uses for smartcontract

dict: Dictionary<bigint, bigint>

Dictionary mapping asset IDs to their prices

maxPublishTime?: number

Minimum valid time for price data in seconds

minPublishTime?: number

Maximum valid time for price data in seconds

refAssets: PoolAssetConfig[]
targetFeeds: string[]