price-contract.ts 271 Bytes EditWeb IDE 1 2 3 4 5 6 7 8 9 10 import { Contract } from 'web3-eth-contract'; import { CallReturn } from './callback'; export interface PriceContractMethods { getLatestPrice(aggregator: number): CallReturn<any>; } export interface PriceContract extends Contract { methods: PriceContractMethods; }