/// import type BN from "bn.js"; import type { ContractOptions } from "web3-eth-contract"; import type { EventLog } from "web3-core"; import type { EventEmitter } from "events"; import type { Callback, PayableTransactionObject, NonPayableTransactionObject, BlockType, BaseContract } from "./types"; export interface EventOptions { filter?: object; fromBlock?: BlockType; topics?: string[]; } export interface IGmxRewardRouter extends BaseContract { constructor(jsonInterface: any[], address?: string, options?: ContractOptions): IGmxRewardRouter; clone(): IGmxRewardRouter; methods: { mintAndStakeGlp(_token: string, _amount: number | string | BN, _minUsdg: number | string | BN, _minGlp: number | string | BN): NonPayableTransactionObject; mintAndStakeGlpETH(_minUsdg: number | string | BN, _minGlp: number | string | BN): PayableTransactionObject; unstakeAndRedeemGlp(_tokenOut: string, _glpAmount: number | string | BN, _minOut: number | string | BN, _receiver: string): NonPayableTransactionObject; unstakeAndRedeemGlpETH(_glpAmount: number | string | BN, _minOut: number | string | BN, _receiver: string): NonPayableTransactionObject; }; events: { allEvents(options?: EventOptions, cb?: Callback): EventEmitter; }; }