/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import BN from "bn.js"; import { EventData, PastEventOptions } from "web3-eth-contract"; export interface IUniswapV3PoolImmutablesContract extends Truffle.Contract { "new"( meta?: Truffle.TransactionDetails ): Promise; } type AllEvents = never; export interface IUniswapV3PoolImmutablesInstance extends Truffle.ContractInstance { /** * The contract that deployed the pool, which must adhere to the IUniswapV3Factory interface */ factory(txDetails?: Truffle.TransactionDetails): Promise; /** * The first of the two tokens of the pool, sorted by address */ token0(txDetails?: Truffle.TransactionDetails): Promise; /** * The second of the two tokens of the pool, sorted by address */ token1(txDetails?: Truffle.TransactionDetails): Promise; /** * The pool's fee in hundredths of a bip, i.e. 1e-6 */ fee(txDetails?: Truffle.TransactionDetails): Promise; /** * Ticks can only be used at multiples of this value, minimum of 1 and always positive e.g.: a tickSpacing of 3 means ticks can be initialized every 3rd tick, i.e., ..., -6, -3, 0, 3, 6, ... This value is an int24 to avoid casting even though it is always positive. * The pool tick spacing */ tickSpacing(txDetails?: Truffle.TransactionDetails): Promise; /** * This parameter is enforced per tick to prevent liquidity from overflowing a uint128 at any point, and also prevents out-of-range liquidity from being used to prevent adding in-range liquidity to a pool * The maximum amount of position liquidity that can use any tick in the range */ maxLiquidityPerTick(txDetails?: Truffle.TransactionDetails): Promise; methods: { /** * The contract that deployed the pool, which must adhere to the IUniswapV3Factory interface */ factory(txDetails?: Truffle.TransactionDetails): Promise; /** * The first of the two tokens of the pool, sorted by address */ token0(txDetails?: Truffle.TransactionDetails): Promise; /** * The second of the two tokens of the pool, sorted by address */ token1(txDetails?: Truffle.TransactionDetails): Promise; /** * The pool's fee in hundredths of a bip, i.e. 1e-6 */ fee(txDetails?: Truffle.TransactionDetails): Promise; /** * Ticks can only be used at multiples of this value, minimum of 1 and always positive e.g.: a tickSpacing of 3 means ticks can be initialized every 3rd tick, i.e., ..., -6, -3, 0, 3, 6, ... This value is an int24 to avoid casting even though it is always positive. * The pool tick spacing */ tickSpacing(txDetails?: Truffle.TransactionDetails): Promise; /** * This parameter is enforced per tick to prevent liquidity from overflowing a uint128 at any point, and also prevents out-of-range liquidity from being used to prevent adding in-range liquidity to a pool * The maximum amount of position liquidity that can use any tick in the range */ maxLiquidityPerTick(txDetails?: Truffle.TransactionDetails): Promise; }; getPastEvents(event: string): Promise; getPastEvents( event: string, options: PastEventOptions, callback: (error: Error, event: EventData) => void ): Promise; getPastEvents(event: string, options: PastEventOptions): Promise; getPastEvents( event: string, callback: (error: Error, event: EventData) => void ): Promise; }