UNPKG

@opiumteam/opium-sdk-v2

Version:

one-stop-shop SDK to interact with the Opium-v2 protocol contracts, subgraphs and APIs

11 lines (10 loc) 657 B
import { CallOverrides, ContractTransaction } from 'ethers'; import { ContractService } from '../factoryService/contractService'; import { SyntheticAggregator } from '../../types/typechain/SyntheticAggregator'; import { TDerivative } from '../../types/index'; export declare class WrappedSyntheticAggregator { private syntheticAggregatorService$; constructor(_syntheticAggregatorService: ContractService<SyntheticAggregator>); getOrCacheMargin(_derivative: TDerivative, _overrides?: CallOverrides): Promise<ContractTransaction>; getOrCacheSyntheticCache(_derivative: TDerivative, _overrides?: CallOverrides): Promise<ContractTransaction>; }