Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MasterChef

Hierarchy

  • Contract
    • MasterChef

Index

Constructors

Properties

Methods

Constructors

  • new MasterChef(addressOrName: string, contractInterface: ContractInterface, signerOrProvider?: Signer | Provider): MasterChef
  • Parameters

    • addressOrName: string
    • contractInterface: ContractInterface
    • Optional signerOrProvider: Signer | Provider

    Returns MasterChef

Properties

_deployedPromise: Promise<Contract>
_runningEvents: {}

Type declaration

  • [eventTag: string]: RunningEvent
_wrappedEmits: {}

Type declaration

  • [eventTag: string]: (...args: any[]) => void
      • (...args: any[]): void
      • Parameters

        • Rest ...args: any[]

        Returns void

address: string
callStatic: { ERC1155_ERC165: any; ERC1155_ERC165(): any; add: any; add(uint256,uint256,address,bool): any; apw: any; apw(): any; apwPerBlock: any; apwPerBlock(): any; deposit: any; deposit(uint256,uint256): any; emergencyWithdraw: any; emergencyWithdraw(uint256): any; getUserLpTokenIdList: any; getUserLpTokenIdList(address): any; harvest: any; harvest(uint256,address): any; initialize: any; initialize(address,address,uint256,uint256): any; isRegisteredPoolId: any; isRegisteredPoolId(uint256): any; lpIDToFutureAddress: any; lpIDToFutureAddress(uint256): any; lpToken: any; lpToken(): any; massUpdatePools: any; massUpdatePools(): any; nextUpgradeAllocPoint: any; nextUpgradeAllocPoint(uint256): any; onERC1155BatchReceived: any; onERC1155BatchReceived(address,address,uint256[],uint256[],bytes): any; onERC1155Received: any; onERC1155Received(address,address,uint256,uint256,bytes): any; owner: any; owner(): any; pendingAPW: any; pendingAPW(uint256,address): any; poolIdAt: any; poolIdAt(uint256): any; poolIdsLength: any; poolIdsLength(): any; poolInfo: any; poolInfo(uint256): any; renounceOwnership: any; renounceOwnership(): any; rewarders: any; rewarders(uint256): any; set: any; set(uint256,uint256,address,bool,bool): any; setAPWPerBlock: any; setAPWPerBlock(uint256): any; setNextUpgradeAllocPoint: any; setNextUpgradeAllocPoint(uint256,uint256): any; setlpIDToFuture: any; setlpIDToFuture(uint256,address): any; startBlock: any; startBlock(): any; supportsInterface: any; supportsInterface(bytes4): any; totalAllocPoint: any; totalAllocPoint(): any; transferOwnership: any; transferOwnership(address): any; updatePool: any; updatePool(uint256): any; userInfo: any; userInfo(uint256,uint256,address): any; withdraw: any; withdraw(uint256,uint256): any; withdrawAPW: any; withdrawAPW(address,uint256): any }

Type declaration

  • ERC1155_ERC165:function
    • ERC1155_ERC165(overrides?: CallOverrides): Promise<string>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<string>

  • ERC1155_ERC165():function
    • ERC1155_ERC165()(overrides?: CallOverrides): Promise<string>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<string>

  • add:function
    • add(_allocPoint: BigNumberish, _lpTokenId: BigNumberish, _rewarder: string, _withUpdate: boolean, overrides?: CallOverrides): Promise<void>
    • Parameters

      • _allocPoint: BigNumberish
      • _lpTokenId: BigNumberish
      • _rewarder: string
      • _withUpdate: boolean
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • add(uint256,uint256,address,bool):function
    • add(uint256,uint256,address,bool)(_allocPoint: BigNumberish, _lpTokenId: BigNumberish, _rewarder: string, _withUpdate: boolean, overrides?: CallOverrides): Promise<void>
    • Parameters

      • _allocPoint: BigNumberish
      • _lpTokenId: BigNumberish
      • _rewarder: string
      • _withUpdate: boolean
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • apw:function
    • apw(overrides?: CallOverrides): Promise<string>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<string>

  • apw():function
    • apw()(overrides?: CallOverrides): Promise<string>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<string>

  • apwPerBlock:function
    • apwPerBlock(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • apwPerBlock():function
    • apwPerBlock()(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • deposit:function
    • deposit(_lpTokenId: BigNumberish, _amount: BigNumberish, overrides?: CallOverrides): Promise<void>
    • Parameters

      • _lpTokenId: BigNumberish
      • _amount: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • deposit(uint256,uint256):function
    • deposit(uint256,uint256)(_lpTokenId: BigNumberish, _amount: BigNumberish, overrides?: CallOverrides): Promise<void>
    • Parameters

      • _lpTokenId: BigNumberish
      • _amount: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • emergencyWithdraw:function
    • emergencyWithdraw(_lpTokenId: BigNumberish, overrides?: CallOverrides): Promise<void>
    • Parameters

      • _lpTokenId: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • emergencyWithdraw(uint256):function
    • emergencyWithdraw(uint256)(_lpTokenId: BigNumberish, overrides?: CallOverrides): Promise<void>
    • Parameters

      • _lpTokenId: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • getUserLpTokenIdList:function
    • getUserLpTokenIdList(_user: string, overrides?: CallOverrides): Promise<BigNumber[]>
    • Parameters

      • _user: string
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber[]>

  • getUserLpTokenIdList(address):function
    • getUserLpTokenIdList(address)(_user: string, overrides?: CallOverrides): Promise<BigNumber[]>
    • Parameters

      • _user: string
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber[]>

  • harvest:function
    • harvest(_lpTokenId: BigNumberish, to: string, overrides?: CallOverrides): Promise<void>
    • Parameters

      • _lpTokenId: BigNumberish
      • to: string
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • harvest(uint256,address):function
    • harvest(uint256,address)(_lpTokenId: BigNumberish, to: string, overrides?: CallOverrides): Promise<void>
    • Parameters

      • _lpTokenId: BigNumberish
      • to: string
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • initialize:function
    • initialize(_apw: string, _lpToken: string, _apwPerBlock: BigNumberish, _startBlock: BigNumberish, overrides?: CallOverrides): Promise<void>
    • Parameters

      • _apw: string
      • _lpToken: string
      • _apwPerBlock: BigNumberish
      • _startBlock: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • initialize(address,address,uint256,uint256):function
    • initialize(address,address,uint256,uint256)(_apw: string, _lpToken: string, _apwPerBlock: BigNumberish, _startBlock: BigNumberish, overrides?: CallOverrides): Promise<void>
    • Parameters

      • _apw: string
      • _lpToken: string
      • _apwPerBlock: BigNumberish
      • _startBlock: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • isRegisteredPoolId:function
    • isRegisteredPoolId(_poolId: BigNumberish, overrides?: CallOverrides): Promise<boolean>
    • Parameters

      • _poolId: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<boolean>

  • isRegisteredPoolId(uint256):function
    • isRegisteredPoolId(uint256)(_poolId: BigNumberish, overrides?: CallOverrides): Promise<boolean>
    • Parameters

      • _poolId: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<boolean>

  • lpIDToFutureAddress:function
    • lpIDToFutureAddress(arg0: BigNumberish, overrides?: CallOverrides): Promise<string>
    • Parameters

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<string>

  • lpIDToFutureAddress(uint256):function
    • lpIDToFutureAddress(uint256)(arg0: BigNumberish, overrides?: CallOverrides): Promise<string>
    • Parameters

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<string>

  • lpToken:function
    • lpToken(overrides?: CallOverrides): Promise<string>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<string>

  • lpToken():function
    • lpToken()(overrides?: CallOverrides): Promise<string>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<string>

  • massUpdatePools:function
    • massUpdatePools(overrides?: CallOverrides): Promise<void>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<void>

  • massUpdatePools():function
    • massUpdatePools()(overrides?: CallOverrides): Promise<void>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<void>

  • nextUpgradeAllocPoint:function
    • nextUpgradeAllocPoint(arg0: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • nextUpgradeAllocPoint(uint256):function
    • nextUpgradeAllocPoint(uint256)(arg0: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • onERC1155BatchReceived:function
    • onERC1155BatchReceived(arg0: string, arg1: string, arg2: BigNumberish[], arg3: BigNumberish[], arg4: BytesLike, overrides?: CallOverrides): Promise<string>
    • Parameters

      • arg0: string
      • arg1: string
      • arg2: BigNumberish[]
      • arg3: BigNumberish[]
      • arg4: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<string>

  • onERC1155BatchReceived(address,address,uint256[],uint256[],bytes):function
    • onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)(arg0: string, arg1: string, arg2: BigNumberish[], arg3: BigNumberish[], arg4: BytesLike, overrides?: CallOverrides): Promise<string>
    • Parameters

      • arg0: string
      • arg1: string
      • arg2: BigNumberish[]
      • arg3: BigNumberish[]
      • arg4: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<string>

  • onERC1155Received:function
    • onERC1155Received(arg0: string, arg1: string, arg2: BigNumberish, arg3: BigNumberish, arg4: BytesLike, overrides?: CallOverrides): Promise<string>
    • Parameters

      • arg0: string
      • arg1: string
      • arg2: BigNumberish
      • arg3: BigNumberish
      • arg4: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<string>

  • onERC1155Received(address,address,uint256,uint256,bytes):function
    • onERC1155Received(address,address,uint256,uint256,bytes)(arg0: string, arg1: string, arg2: BigNumberish, arg3: BigNumberish, arg4: BytesLike, overrides?: CallOverrides): Promise<string>
    • Parameters

      • arg0: string
      • arg1: string
      • arg2: BigNumberish
      • arg3: BigNumberish
      • arg4: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<string>

  • owner:function
    • owner(overrides?: CallOverrides): Promise<string>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<string>

  • owner():function
    • owner()(overrides?: CallOverrides): Promise<string>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<string>

  • pendingAPW:function
    • pendingAPW(_lpTokenId: BigNumberish, _user: string, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • _lpTokenId: BigNumberish
      • _user: string
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • pendingAPW(uint256,address):function
    • pendingAPW(uint256,address)(_lpTokenId: BigNumberish, _user: string, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • _lpTokenId: BigNumberish
      • _user: string
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • poolIdAt:function
    • poolIdAt(_id: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • _id: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • poolIdAt(uint256):function
    • poolIdAt(uint256)(_id: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • _id: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • poolIdsLength:function
    • poolIdsLength(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • poolIdsLength():function
    • poolIdsLength()(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • poolInfo:function
    • poolInfo(arg0: BigNumberish, overrides?: CallOverrides): Promise<[BigNumber, BigNumber, BigNumber, BigNumber, BigNumber] & { accAPWPerShare: BigNumber; allocPoint: BigNumber; ammId: BigNumber; lastRewardBlock: BigNumber; pairId: BigNumber }>
    • Parameters

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber, BigNumber, BigNumber, BigNumber, BigNumber] & { accAPWPerShare: BigNumber; allocPoint: BigNumber; ammId: BigNumber; lastRewardBlock: BigNumber; pairId: BigNumber }>

  • poolInfo(uint256):function
    • poolInfo(uint256)(arg0: BigNumberish, overrides?: CallOverrides): Promise<[BigNumber, BigNumber, BigNumber, BigNumber, BigNumber] & { accAPWPerShare: BigNumber; allocPoint: BigNumber; ammId: BigNumber; lastRewardBlock: BigNumber; pairId: BigNumber }>
    • Parameters

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber, BigNumber, BigNumber, BigNumber, BigNumber] & { accAPWPerShare: BigNumber; allocPoint: BigNumber; ammId: BigNumber; lastRewardBlock: BigNumber; pairId: BigNumber }>

  • renounceOwnership:function
    • renounceOwnership(overrides?: CallOverrides): Promise<void>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<void>

  • renounceOwnership():function
    • renounceOwnership()(overrides?: CallOverrides): Promise<void>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<void>

  • rewarders:function
    • rewarders(arg0: BigNumberish, overrides?: CallOverrides): Promise<string>
    • Parameters

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<string>

  • rewarders(uint256):function
    • rewarders(uint256)(arg0: BigNumberish, overrides?: CallOverrides): Promise<string>
    • Parameters

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<string>

  • set:function
    • set(_lpTokenId: BigNumberish, _allocPoint: BigNumberish, _rewarder: string, overwrite: boolean, _withUpdate: boolean, overrides?: CallOverrides): Promise<void>
    • Parameters

      • _lpTokenId: BigNumberish
      • _allocPoint: BigNumberish
      • _rewarder: string
      • overwrite: boolean
      • _withUpdate: boolean
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • set(uint256,uint256,address,bool,bool):function
    • set(uint256,uint256,address,bool,bool)(_lpTokenId: BigNumberish, _allocPoint: BigNumberish, _rewarder: string, overwrite: boolean, _withUpdate: boolean, overrides?: CallOverrides): Promise<void>
    • Parameters

      • _lpTokenId: BigNumberish
      • _allocPoint: BigNumberish
      • _rewarder: string
      • overwrite: boolean
      • _withUpdate: boolean
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • setAPWPerBlock:function
    • setAPWPerBlock(_apwPerBlock: BigNumberish, overrides?: CallOverrides): Promise<void>
    • Parameters

      • _apwPerBlock: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • setAPWPerBlock(uint256):function
    • setAPWPerBlock(uint256)(_apwPerBlock: BigNumberish, overrides?: CallOverrides): Promise<void>
    • Parameters

      • _apwPerBlock: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • setNextUpgradeAllocPoint:function
    • setNextUpgradeAllocPoint(_lpTokenId: BigNumberish, _nextAllocPoint: BigNumberish, overrides?: CallOverrides): Promise<void>
    • Parameters

      • _lpTokenId: BigNumberish
      • _nextAllocPoint: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • setNextUpgradeAllocPoint(uint256,uint256):function
    • setNextUpgradeAllocPoint(uint256,uint256)(_lpTokenId: BigNumberish, _nextAllocPoint: BigNumberish, overrides?: CallOverrides): Promise<void>
    • Parameters

      • _lpTokenId: BigNumberish
      • _nextAllocPoint: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • setlpIDToFuture:function
    • setlpIDToFuture(_lpTokenId: BigNumberish, futureAddress: string, overrides?: CallOverrides): Promise<void>
    • Parameters

      • _lpTokenId: BigNumberish
      • futureAddress: string
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • setlpIDToFuture(uint256,address):function
    • setlpIDToFuture(uint256,address)(_lpTokenId: BigNumberish, futureAddress: string, overrides?: CallOverrides): Promise<void>
    • Parameters

      • _lpTokenId: BigNumberish
      • futureAddress: string
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • startBlock:function
    • startBlock(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • startBlock():function
    • startBlock()(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • supportsInterface:function
    • supportsInterface(interfaceId: BytesLike, overrides?: CallOverrides): Promise<boolean>
    • Parameters

      • interfaceId: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<boolean>

  • supportsInterface(bytes4):function
    • supportsInterface(bytes4)(interfaceId: BytesLike, overrides?: CallOverrides): Promise<boolean>
    • Parameters

      • interfaceId: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<boolean>

  • totalAllocPoint:function
    • totalAllocPoint(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • totalAllocPoint():function
    • totalAllocPoint()(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • transferOwnership:function
    • transferOwnership(newOwner: string, overrides?: CallOverrides): Promise<void>
    • Parameters

      • newOwner: string
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • transferOwnership(address):function
    • transferOwnership(address)(newOwner: string, overrides?: CallOverrides): Promise<void>
    • Parameters

      • newOwner: string
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • updatePool:function
    • updatePool(_lpTokenId: BigNumberish, overrides?: CallOverrides): Promise<void>
    • Parameters

      • _lpTokenId: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • updatePool(uint256):function
    • updatePool(uint256)(_lpTokenId: BigNumberish, overrides?: CallOverrides): Promise<void>
    • Parameters

      • _lpTokenId: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • userInfo:function
    • userInfo(arg0: BigNumberish, arg1: BigNumberish, arg2: string, overrides?: CallOverrides): Promise<[BigNumber, BigNumber, BigNumber] & { amount: BigNumber; periodId: BigNumber; rewardDebt: BigNumber }>
    • Parameters

      • arg0: BigNumberish
      • arg1: BigNumberish
      • arg2: string
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber, BigNumber, BigNumber] & { amount: BigNumber; periodId: BigNumber; rewardDebt: BigNumber }>

  • userInfo(uint256,uint256,address):function
    • userInfo(uint256,uint256,address)(arg0: BigNumberish, arg1: BigNumberish, arg2: string, overrides?: CallOverrides): Promise<[BigNumber, BigNumber, BigNumber] & { amount: BigNumber; periodId: BigNumber; rewardDebt: BigNumber }>
    • Parameters

      • arg0: BigNumberish
      • arg1: BigNumberish
      • arg2: string
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber, BigNumber, BigNumber] & { amount: BigNumber; periodId: BigNumber; rewardDebt: BigNumber }>

  • withdraw:function
    • withdraw(_lpTokenId: BigNumberish, _amount: BigNumberish, overrides?: CallOverrides): Promise<void>
    • Parameters

      • _lpTokenId: BigNumberish
      • _amount: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • withdraw(uint256,uint256):function
    • withdraw(uint256,uint256)(_lpTokenId: BigNumberish, _amount: BigNumberish, overrides?: CallOverrides): Promise<void>
    • Parameters

      • _lpTokenId: BigNumberish
      • _amount: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • withdrawAPW:function
    • withdrawAPW(_recipient: string, _amount: BigNumberish, overrides?: CallOverrides): Promise<void>
    • Parameters

      • _recipient: string
      • _amount: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • withdrawAPW(address,uint256):function
    • withdrawAPW(address,uint256)(_recipient: string, _amount: BigNumberish, overrides?: CallOverrides): Promise<void>
    • Parameters

      • _recipient: string
      • _amount: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<void>

deployTransaction: TransactionResponse
estimateGas: { ERC1155_ERC165: any; ERC1155_ERC165(): any; add: any; add(uint256,uint256,address,bool): any; apw: any; apw(): any; apwPerBlock: any; apwPerBlock(): any; deposit: any; deposit(uint256,uint256): any; emergencyWithdraw: any; emergencyWithdraw(uint256): any; getUserLpTokenIdList: any; getUserLpTokenIdList(address): any; harvest: any; harvest(uint256,address): any; initialize: any; initialize(address,address,uint256,uint256): any; isRegisteredPoolId: any; isRegisteredPoolId(uint256): any; lpIDToFutureAddress: any; lpIDToFutureAddress(uint256): any; lpToken: any; lpToken(): any; massUpdatePools: any; massUpdatePools(): any; nextUpgradeAllocPoint: any; nextUpgradeAllocPoint(uint256): any; onERC1155BatchReceived: any; onERC1155BatchReceived(address,address,uint256[],uint256[],bytes): any; onERC1155Received: any; onERC1155Received(address,address,uint256,uint256,bytes): any; owner: any; owner(): any; pendingAPW: any; pendingAPW(uint256,address): any; poolIdAt: any; poolIdAt(uint256): any; poolIdsLength: any; poolIdsLength(): any; poolInfo: any; poolInfo(uint256): any; renounceOwnership: any; renounceOwnership(): any; rewarders: any; rewarders(uint256): any; set: any; set(uint256,uint256,address,bool,bool): any; setAPWPerBlock: any; setAPWPerBlock(uint256): any; setNextUpgradeAllocPoint: any; setNextUpgradeAllocPoint(uint256,uint256): any; setlpIDToFuture: any; setlpIDToFuture(uint256,address): any; startBlock: any; startBlock(): any; supportsInterface: any; supportsInterface(bytes4): any; totalAllocPoint: any; totalAllocPoint(): any; transferOwnership: any; transferOwnership(address): any; updatePool: any; updatePool(uint256): any; userInfo: any; userInfo(uint256,uint256,address): any; withdraw: any; withdraw(uint256,uint256): any; withdrawAPW: any; withdrawAPW(address,uint256): any }

Type declaration

  • ERC1155_ERC165:function
    • ERC1155_ERC165(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • ERC1155_ERC165():function
    • ERC1155_ERC165()(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • add:function
    • add(_allocPoint: BigNumberish, _lpTokenId: BigNumberish, _rewarder: string, _withUpdate: boolean, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • _allocPoint: BigNumberish
      • _lpTokenId: BigNumberish
      • _rewarder: string
      • _withUpdate: boolean
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • add(uint256,uint256,address,bool):function
    • add(uint256,uint256,address,bool)(_allocPoint: BigNumberish, _lpTokenId: BigNumberish, _rewarder: string, _withUpdate: boolean, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • _allocPoint: BigNumberish
      • _lpTokenId: BigNumberish
      • _rewarder: string
      • _withUpdate: boolean
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • apw:function
    • apw(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • apw():function
    • apw()(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • apwPerBlock:function
    • apwPerBlock(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • apwPerBlock():function
    • apwPerBlock()(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • deposit:function
    • deposit(_lpTokenId: BigNumberish, _amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • _lpTokenId: BigNumberish
      • _amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • deposit(uint256,uint256):function
    • deposit(uint256,uint256)(_lpTokenId: BigNumberish, _amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • _lpTokenId: BigNumberish
      • _amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • emergencyWithdraw:function
    • emergencyWithdraw(_lpTokenId: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • _lpTokenId: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • emergencyWithdraw(uint256):function
    • emergencyWithdraw(uint256)(_lpTokenId: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • _lpTokenId: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • getUserLpTokenIdList:function
    • getUserLpTokenIdList(_user: string, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • _user: string
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • getUserLpTokenIdList(address):function
    • getUserLpTokenIdList(address)(_user: string, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • _user: string
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • harvest:function
    • harvest(_lpTokenId: BigNumberish, to: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • _lpTokenId: BigNumberish
      • to: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • harvest(uint256,address):function
    • harvest(uint256,address)(_lpTokenId: BigNumberish, to: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • _lpTokenId: BigNumberish
      • to: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • initialize:function
    • initialize(_apw: string, _lpToken: string, _apwPerBlock: BigNumberish, _startBlock: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • _apw: string
      • _lpToken: string
      • _apwPerBlock: BigNumberish
      • _startBlock: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • initialize(address,address,uint256,uint256):function
    • initialize(address,address,uint256,uint256)(_apw: string, _lpToken: string, _apwPerBlock: BigNumberish, _startBlock: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • _apw: string
      • _lpToken: string
      • _apwPerBlock: BigNumberish
      • _startBlock: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • isRegisteredPoolId:function
    • isRegisteredPoolId(_poolId: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • _poolId: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • isRegisteredPoolId(uint256):function
    • isRegisteredPoolId(uint256)(_poolId: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • _poolId: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • lpIDToFutureAddress:function
    • lpIDToFutureAddress(arg0: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • lpIDToFutureAddress(uint256):function
    • lpIDToFutureAddress(uint256)(arg0: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • lpToken:function
    • lpToken(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • lpToken():function
    • lpToken()(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • massUpdatePools:function
    • massUpdatePools(overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • massUpdatePools():function
    • massUpdatePools()(overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • nextUpgradeAllocPoint:function
    • nextUpgradeAllocPoint(arg0: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • nextUpgradeAllocPoint(uint256):function
    • nextUpgradeAllocPoint(uint256)(arg0: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • onERC1155BatchReceived:function
    • onERC1155BatchReceived(arg0: string, arg1: string, arg2: BigNumberish[], arg3: BigNumberish[], arg4: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • arg0: string
      • arg1: string
      • arg2: BigNumberish[]
      • arg3: BigNumberish[]
      • arg4: BytesLike
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • onERC1155BatchReceived(address,address,uint256[],uint256[],bytes):function
    • onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)(arg0: string, arg1: string, arg2: BigNumberish[], arg3: BigNumberish[], arg4: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • arg0: string
      • arg1: string
      • arg2: BigNumberish[]
      • arg3: BigNumberish[]
      • arg4: BytesLike
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • onERC1155Received:function
    • onERC1155Received(arg0: string, arg1: string, arg2: BigNumberish, arg3: BigNumberish, arg4: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • arg0: string
      • arg1: string
      • arg2: BigNumberish
      • arg3: BigNumberish
      • arg4: BytesLike
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • onERC1155Received(address,address,uint256,uint256,bytes):function
    • onERC1155Received(address,address,uint256,uint256,bytes)(arg0: string, arg1: string, arg2: BigNumberish, arg3: BigNumberish, arg4: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • arg0: string
      • arg1: string
      • arg2: BigNumberish
      • arg3: BigNumberish
      • arg4: BytesLike
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • owner:function
    • owner(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • owner():function
    • owner()(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • pendingAPW:function
    • pendingAPW(_lpTokenId: BigNumberish, _user: string, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • _lpTokenId: BigNumberish
      • _user: string
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • pendingAPW(uint256,address):function
    • pendingAPW(uint256,address)(_lpTokenId: BigNumberish, _user: string, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • _lpTokenId: BigNumberish
      • _user: string
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • poolIdAt:function
    • poolIdAt(_id: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • _id: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • poolIdAt(uint256):function
    • poolIdAt(uint256)(_id: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • _id: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • poolIdsLength:function
    • poolIdsLength(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • poolIdsLength():function
    • poolIdsLength()(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • poolInfo:function
    • poolInfo(arg0: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • poolInfo(uint256):function
    • poolInfo(uint256)(arg0: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • renounceOwnership:function
    • renounceOwnership(overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • renounceOwnership():function
    • renounceOwnership()(overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • rewarders:function
    • rewarders(arg0: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • rewarders(uint256):function
    • rewarders(uint256)(arg0: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • set:function
    • set(_lpTokenId: BigNumberish, _allocPoint: BigNumberish, _rewarder: string, overwrite: boolean, _withUpdate: boolean, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • _lpTokenId: BigNumberish
      • _allocPoint: BigNumberish
      • _rewarder: string
      • overwrite: boolean
      • _withUpdate: boolean
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • set(uint256,uint256,address,bool,bool):function
    • set(uint256,uint256,address,bool,bool)(_lpTokenId: BigNumberish, _allocPoint: BigNumberish, _rewarder: string, overwrite: boolean, _withUpdate: boolean, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • _lpTokenId: BigNumberish
      • _allocPoint: BigNumberish
      • _rewarder: string
      • overwrite: boolean
      • _withUpdate: boolean
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • setAPWPerBlock:function
    • setAPWPerBlock(_apwPerBlock: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • _apwPerBlock: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • setAPWPerBlock(uint256):function
    • setAPWPerBlock(uint256)(_apwPerBlock: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • _apwPerBlock: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • setNextUpgradeAllocPoint:function
    • setNextUpgradeAllocPoint(_lpTokenId: BigNumberish, _nextAllocPoint: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • _lpTokenId: BigNumberish
      • _nextAllocPoint: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • setNextUpgradeAllocPoint(uint256,uint256):function
    • setNextUpgradeAllocPoint(uint256,uint256)(_lpTokenId: BigNumberish, _nextAllocPoint: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • _lpTokenId: BigNumberish
      • _nextAllocPoint: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • setlpIDToFuture:function
    • setlpIDToFuture(_lpTokenId: BigNumberish, futureAddress: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • _lpTokenId: BigNumberish
      • futureAddress: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • setlpIDToFuture(uint256,address):function
    • setlpIDToFuture(uint256,address)(_lpTokenId: BigNumberish, futureAddress: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • _lpTokenId: BigNumberish
      • futureAddress: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • startBlock:function
    • startBlock(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • startBlock():function
    • startBlock()(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • supportsInterface:function
    • supportsInterface(interfaceId: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • interfaceId: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • supportsInterface(bytes4):function
    • supportsInterface(bytes4)(interfaceId: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • interfaceId: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • totalAllocPoint:function
    • totalAllocPoint(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • totalAllocPoint():function
    • totalAllocPoint()(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • transferOwnership:function
    • transferOwnership(newOwner: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • newOwner: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • transferOwnership(address):function
    • transferOwnership(address)(newOwner: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • newOwner: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • updatePool:function
    • updatePool(_lpTokenId: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • _lpTokenId: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • updatePool(uint256):function
    • updatePool(uint256)(_lpTokenId: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • _lpTokenId: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • userInfo:function
    • userInfo(arg0: BigNumberish, arg1: BigNumberish, arg2: string, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • arg0: BigNumberish
      • arg1: BigNumberish
      • arg2: string
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • userInfo(uint256,uint256,address):function
    • userInfo(uint256,uint256,address)(arg0: BigNumberish, arg1: BigNumberish, arg2: string, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • arg0: BigNumberish
      • arg1: BigNumberish
      • arg2: string
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • withdraw:function
    • withdraw(_lpTokenId: BigNumberish, _amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • _lpTokenId: BigNumberish
      • _amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • withdraw(uint256,uint256):function
    • withdraw(uint256,uint256)(_lpTokenId: BigNumberish, _amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • _lpTokenId: BigNumberish
      • _amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • withdrawAPW:function
    • withdrawAPW(_recipient: string, _amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • _recipient: string
      • _amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

  • withdrawAPW(address,uint256):function
    • withdrawAPW(address,uint256)(_recipient: string, _amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

      • _recipient: string
      • _amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<BigNumber>

filters: { Deposit: any; EmergencyWithdraw: any; Harvest: any; LpIdToFutureSet: any; NextAllocPointSet: any; OwnershipTransferred: any; Withdraw: any }

Type declaration

  • Deposit:function
    • Deposit(user: null | string, lpTokenId: null | BigNumberish, amount: null): TypedEventFilter<[string, BigNumber, BigNumber], { amount: BigNumber; lpTokenId: BigNumber; user: string }>
    • Parameters

      • user: null | string
      • lpTokenId: null | BigNumberish
      • amount: null

      Returns TypedEventFilter<[string, BigNumber, BigNumber], { amount: BigNumber; lpTokenId: BigNumber; user: string }>

  • EmergencyWithdraw:function
    • EmergencyWithdraw(user: null | string, lpTokenId: null | BigNumberish, amount: null): TypedEventFilter<[string, BigNumber, BigNumber], { amount: BigNumber; lpTokenId: BigNumber; user: string }>
    • Parameters

      • user: null | string
      • lpTokenId: null | BigNumberish
      • amount: null

      Returns TypedEventFilter<[string, BigNumber, BigNumber], { amount: BigNumber; lpTokenId: BigNumber; user: string }>

  • Harvest:function
    • Harvest(user: null | string, lpTokenId: null | BigNumberish, amount: null): TypedEventFilter<[string, BigNumber, BigNumber], { amount: BigNumber; lpTokenId: BigNumber; user: string }>
    • Parameters

      • user: null | string
      • lpTokenId: null | BigNumberish
      • amount: null

      Returns TypedEventFilter<[string, BigNumber, BigNumber], { amount: BigNumber; lpTokenId: BigNumber; user: string }>

  • LpIdToFutureSet:function
    • LpIdToFutureSet(_lpTokenId: null, futureAddress: null): TypedEventFilter<[BigNumber, string], { _lpTokenId: BigNumber; futureAddress: string }>
    • Parameters

      • _lpTokenId: null
      • futureAddress: null

      Returns TypedEventFilter<[BigNumber, string], { _lpTokenId: BigNumber; futureAddress: string }>

  • NextAllocPointSet:function
    • NextAllocPointSet(previousLpTokenId: null | BigNumberish, nextAllocPoint: null): TypedEventFilter<[BigNumber, BigNumber], { nextAllocPoint: BigNumber; previousLpTokenId: BigNumber }>
    • Parameters

      • previousLpTokenId: null | BigNumberish
      • nextAllocPoint: null

      Returns TypedEventFilter<[BigNumber, BigNumber], { nextAllocPoint: BigNumber; previousLpTokenId: BigNumber }>

  • OwnershipTransferred:function
    • OwnershipTransferred(previousOwner: null | string, newOwner: null | string): TypedEventFilter<[string, string], { newOwner: string; previousOwner: string }>
    • Parameters

      • previousOwner: null | string
      • newOwner: null | string

      Returns TypedEventFilter<[string, string], { newOwner: string; previousOwner: string }>

  • Withdraw:function
    • Withdraw(user: null | string, lpTokenId: null | BigNumberish, amount: null): TypedEventFilter<[string, BigNumber, BigNumber], { amount: BigNumber; lpTokenId: BigNumber; user: string }>
    • Parameters

      • user: null | string
      • lpTokenId: null | BigNumberish
      • amount: null

      Returns TypedEventFilter<[string, BigNumber, BigNumber], { amount: BigNumber; lpTokenId: BigNumber; user: string }>

functions: { ERC1155_ERC165: any; ERC1155_ERC165(): any; add: any; add(uint256,uint256,address,bool): any; apw: any; apw(): any; apwPerBlock: any; apwPerBlock(): any; deposit: any; deposit(uint256,uint256): any; emergencyWithdraw: any; emergencyWithdraw(uint256): any; getUserLpTokenIdList: any; getUserLpTokenIdList(address): any; harvest: any; harvest(uint256,address): any; initialize: any; initialize(address,address,uint256,uint256): any; isRegisteredPoolId: any; isRegisteredPoolId(uint256): any; lpIDToFutureAddress: any; lpIDToFutureAddress(uint256): any; lpToken: any; lpToken(): any; massUpdatePools: any; massUpdatePools(): any; nextUpgradeAllocPoint: any; nextUpgradeAllocPoint(uint256): any; onERC1155BatchReceived: any; onERC1155BatchReceived(address,address,uint256[],uint256[],bytes): any; onERC1155Received: any; onERC1155Received(address,address,uint256,uint256,bytes): any; owner: any; owner(): any; pendingAPW: any; pendingAPW(uint256,address): any; poolIdAt: any; poolIdAt(uint256): any; poolIdsLength: any; poolIdsLength(): any; poolInfo: any; poolInfo(uint256): any; renounceOwnership: any; renounceOwnership(): any; rewarders: any; rewarders(uint256): any; set: any; set(uint256,uint256,address,bool,bool): any; setAPWPerBlock: any; setAPWPerBlock(uint256): any; setNextUpgradeAllocPoint: any; setNextUpgradeAllocPoint(uint256,uint256): any; setlpIDToFuture: any; setlpIDToFuture(uint256,address): any; startBlock: any; startBlock(): any; supportsInterface: any; supportsInterface(bytes4): any; totalAllocPoint: any; totalAllocPoint(): any; transferOwnership: any; transferOwnership(address): any; updatePool: any; updatePool(uint256): any; userInfo: any; userInfo(uint256,uint256,address): any; withdraw: any; withdraw(uint256,uint256): any; withdrawAPW: any; withdrawAPW(address,uint256): any }

Type declaration

  • ERC1155_ERC165:function
    • ERC1155_ERC165(overrides?: CallOverrides): Promise<[string]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[string]>

  • ERC1155_ERC165():function
    • ERC1155_ERC165()(overrides?: CallOverrides): Promise<[string]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[string]>

  • add:function
    • add(_allocPoint: BigNumberish, _lpTokenId: BigNumberish, _rewarder: string, _withUpdate: boolean, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • _allocPoint: BigNumberish
      • _lpTokenId: BigNumberish
      • _rewarder: string
      • _withUpdate: boolean
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • add(uint256,uint256,address,bool):function
    • add(uint256,uint256,address,bool)(_allocPoint: BigNumberish, _lpTokenId: BigNumberish, _rewarder: string, _withUpdate: boolean, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • _allocPoint: BigNumberish
      • _lpTokenId: BigNumberish
      • _rewarder: string
      • _withUpdate: boolean
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • apw:function
    • apw(overrides?: CallOverrides): Promise<[string]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[string]>

  • apw():function
    • apw()(overrides?: CallOverrides): Promise<[string]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[string]>

  • apwPerBlock:function
    • apwPerBlock(overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

  • apwPerBlock():function
    • apwPerBlock()(overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

  • deposit:function
    • deposit(_lpTokenId: BigNumberish, _amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • _lpTokenId: BigNumberish
      • _amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • deposit(uint256,uint256):function
    • deposit(uint256,uint256)(_lpTokenId: BigNumberish, _amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • _lpTokenId: BigNumberish
      • _amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • emergencyWithdraw:function
    • emergencyWithdraw(_lpTokenId: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • _lpTokenId: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • emergencyWithdraw(uint256):function
    • emergencyWithdraw(uint256)(_lpTokenId: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • _lpTokenId: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • getUserLpTokenIdList:function
    • getUserLpTokenIdList(_user: string, overrides?: CallOverrides): Promise<[BigNumber[]]>
    • Parameters

      • _user: string
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber[]]>

  • getUserLpTokenIdList(address):function
    • getUserLpTokenIdList(address)(_user: string, overrides?: CallOverrides): Promise<[BigNumber[]]>
    • Parameters

      • _user: string
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber[]]>

  • harvest:function
    • harvest(_lpTokenId: BigNumberish, to: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • _lpTokenId: BigNumberish
      • to: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • harvest(uint256,address):function
    • harvest(uint256,address)(_lpTokenId: BigNumberish, to: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • _lpTokenId: BigNumberish
      • to: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • initialize:function
    • initialize(_apw: string, _lpToken: string, _apwPerBlock: BigNumberish, _startBlock: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • _apw: string
      • _lpToken: string
      • _apwPerBlock: BigNumberish
      • _startBlock: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • initialize(address,address,uint256,uint256):function
    • initialize(address,address,uint256,uint256)(_apw: string, _lpToken: string, _apwPerBlock: BigNumberish, _startBlock: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • _apw: string
      • _lpToken: string
      • _apwPerBlock: BigNumberish
      • _startBlock: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • isRegisteredPoolId:function
    • isRegisteredPoolId(_poolId: BigNumberish, overrides?: CallOverrides): Promise<[boolean]>
    • Parameters

      • _poolId: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[boolean]>

  • isRegisteredPoolId(uint256):function
    • isRegisteredPoolId(uint256)(_poolId: BigNumberish, overrides?: CallOverrides): Promise<[boolean]>
    • Parameters

      • _poolId: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[boolean]>

  • lpIDToFutureAddress:function
    • lpIDToFutureAddress(arg0: BigNumberish, overrides?: CallOverrides): Promise<[string]>
    • Parameters

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[string]>

  • lpIDToFutureAddress(uint256):function
    • lpIDToFutureAddress(uint256)(arg0: BigNumberish, overrides?: CallOverrides): Promise<[string]>
    • Parameters

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[string]>

  • lpToken:function
    • lpToken(overrides?: CallOverrides): Promise<[string]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[string]>

  • lpToken():function
    • lpToken()(overrides?: CallOverrides): Promise<[string]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[string]>

  • massUpdatePools:function
    • massUpdatePools(overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • massUpdatePools():function
    • massUpdatePools()(overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • nextUpgradeAllocPoint:function
    • nextUpgradeAllocPoint(arg0: BigNumberish, overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

  • nextUpgradeAllocPoint(uint256):function
    • nextUpgradeAllocPoint(uint256)(arg0: BigNumberish, overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

  • onERC1155BatchReceived:function
    • onERC1155BatchReceived(arg0: string, arg1: string, arg2: BigNumberish[], arg3: BigNumberish[], arg4: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • arg0: string
      • arg1: string
      • arg2: BigNumberish[]
      • arg3: BigNumberish[]
      • arg4: BytesLike
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • onERC1155BatchReceived(address,address,uint256[],uint256[],bytes):function
    • onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)(arg0: string, arg1: string, arg2: BigNumberish[], arg3: BigNumberish[], arg4: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • arg0: string
      • arg1: string
      • arg2: BigNumberish[]
      • arg3: BigNumberish[]
      • arg4: BytesLike
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • onERC1155Received:function
    • onERC1155Received(arg0: string, arg1: string, arg2: BigNumberish, arg3: BigNumberish, arg4: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • arg0: string
      • arg1: string
      • arg2: BigNumberish
      • arg3: BigNumberish
      • arg4: BytesLike
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • onERC1155Received(address,address,uint256,uint256,bytes):function
    • onERC1155Received(address,address,uint256,uint256,bytes)(arg0: string, arg1: string, arg2: BigNumberish, arg3: BigNumberish, arg4: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • arg0: string
      • arg1: string
      • arg2: BigNumberish
      • arg3: BigNumberish
      • arg4: BytesLike
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • owner:function
    • owner(overrides?: CallOverrides): Promise<[string]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[string]>

  • owner():function
    • owner()(overrides?: CallOverrides): Promise<[string]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[string]>

  • pendingAPW:function
    • pendingAPW(_lpTokenId: BigNumberish, _user: string, overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • _lpTokenId: BigNumberish
      • _user: string
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

  • pendingAPW(uint256,address):function
    • pendingAPW(uint256,address)(_lpTokenId: BigNumberish, _user: string, overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • _lpTokenId: BigNumberish
      • _user: string
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

  • poolIdAt:function
    • poolIdAt(_id: BigNumberish, overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • _id: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

  • poolIdAt(uint256):function
    • poolIdAt(uint256)(_id: BigNumberish, overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • _id: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

  • poolIdsLength:function
    • poolIdsLength(overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

  • poolIdsLength():function
    • poolIdsLength()(overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

  • poolInfo:function
    • poolInfo(arg0: BigNumberish, overrides?: CallOverrides): Promise<[BigNumber, BigNumber, BigNumber, BigNumber, BigNumber] & { accAPWPerShare: BigNumber; allocPoint: BigNumber; ammId: BigNumber; lastRewardBlock: BigNumber; pairId: BigNumber }>
    • Parameters

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber, BigNumber, BigNumber, BigNumber, BigNumber] & { accAPWPerShare: BigNumber; allocPoint: BigNumber; ammId: BigNumber; lastRewardBlock: BigNumber; pairId: BigNumber }>

  • poolInfo(uint256):function
    • poolInfo(uint256)(arg0: BigNumberish, overrides?: CallOverrides): Promise<[BigNumber, BigNumber, BigNumber, BigNumber, BigNumber] & { accAPWPerShare: BigNumber; allocPoint: BigNumber; ammId: BigNumber; lastRewardBlock: BigNumber; pairId: BigNumber }>
    • Parameters

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber, BigNumber, BigNumber, BigNumber, BigNumber] & { accAPWPerShare: BigNumber; allocPoint: BigNumber; ammId: BigNumber; lastRewardBlock: BigNumber; pairId: BigNumber }>

  • renounceOwnership:function
    • renounceOwnership(overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • renounceOwnership():function
    • renounceOwnership()(overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • rewarders:function
    • rewarders(arg0: BigNumberish, overrides?: CallOverrides): Promise<[string]>
    • Parameters

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[string]>

  • rewarders(uint256):function
    • rewarders(uint256)(arg0: BigNumberish, overrides?: CallOverrides): Promise<[string]>
    • Parameters

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[string]>

  • set:function
    • set(_lpTokenId: BigNumberish, _allocPoint: BigNumberish, _rewarder: string, overwrite: boolean, _withUpdate: boolean, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • _lpTokenId: BigNumberish
      • _allocPoint: BigNumberish
      • _rewarder: string
      • overwrite: boolean
      • _withUpdate: boolean
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • set(uint256,uint256,address,bool,bool):function
    • set(uint256,uint256,address,bool,bool)(_lpTokenId: BigNumberish, _allocPoint: BigNumberish, _rewarder: string, overwrite: boolean, _withUpdate: boolean, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • _lpTokenId: BigNumberish
      • _allocPoint: BigNumberish
      • _rewarder: string
      • overwrite: boolean
      • _withUpdate: boolean
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • setAPWPerBlock:function
    • setAPWPerBlock(_apwPerBlock: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • _apwPerBlock: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • setAPWPerBlock(uint256):function
    • setAPWPerBlock(uint256)(_apwPerBlock: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • _apwPerBlock: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • setNextUpgradeAllocPoint:function
    • setNextUpgradeAllocPoint(_lpTokenId: BigNumberish, _nextAllocPoint: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • _lpTokenId: BigNumberish
      • _nextAllocPoint: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • setNextUpgradeAllocPoint(uint256,uint256):function
    • setNextUpgradeAllocPoint(uint256,uint256)(_lpTokenId: BigNumberish, _nextAllocPoint: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • _lpTokenId: BigNumberish
      • _nextAllocPoint: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • setlpIDToFuture:function
    • setlpIDToFuture(_lpTokenId: BigNumberish, futureAddress: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • _lpTokenId: BigNumberish
      • futureAddress: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • setlpIDToFuture(uint256,address):function
    • setlpIDToFuture(uint256,address)(_lpTokenId: BigNumberish, futureAddress: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • _lpTokenId: BigNumberish
      • futureAddress: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • startBlock:function
    • startBlock(overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

  • startBlock():function
    • startBlock()(overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

  • supportsInterface:function
    • supportsInterface(interfaceId: BytesLike, overrides?: CallOverrides): Promise<[boolean]>
    • Parameters

      • interfaceId: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<[boolean]>

  • supportsInterface(bytes4):function
    • supportsInterface(bytes4)(interfaceId: BytesLike, overrides?: CallOverrides): Promise<[boolean]>
    • Parameters

      • interfaceId: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<[boolean]>

  • totalAllocPoint:function
    • totalAllocPoint(overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

  • totalAllocPoint():function
    • totalAllocPoint()(overrides?: CallOverrides): Promise<[BigNumber]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

  • transferOwnership:function
    • transferOwnership(newOwner: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • newOwner: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • transferOwnership(address):function
    • transferOwnership(address)(newOwner: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • newOwner: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • updatePool:function
    • updatePool(_lpTokenId: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • _lpTokenId: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • updatePool(uint256):function
    • updatePool(uint256)(_lpTokenId: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • _lpTokenId: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • userInfo:function
    • userInfo(arg0: BigNumberish, arg1: BigNumberish, arg2: string, overrides?: CallOverrides): Promise<[BigNumber, BigNumber, BigNumber] & { amount: BigNumber; periodId: BigNumber; rewardDebt: BigNumber }>
    • Parameters

      • arg0: BigNumberish
      • arg1: BigNumberish
      • arg2: string
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber, BigNumber, BigNumber] & { amount: BigNumber; periodId: BigNumber; rewardDebt: BigNumber }>

  • userInfo(uint256,uint256,address):function
    • userInfo(uint256,uint256,address)(arg0: BigNumberish, arg1: BigNumberish, arg2: string, overrides?: CallOverrides): Promise<[BigNumber, BigNumber, BigNumber] & { amount: BigNumber; periodId: BigNumber; rewardDebt: BigNumber }>
    • Parameters

      • arg0: BigNumberish
      • arg1: BigNumberish
      • arg2: string
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber, BigNumber, BigNumber] & { amount: BigNumber; periodId: BigNumber; rewardDebt: BigNumber }>

  • withdraw:function
    • withdraw(_lpTokenId: BigNumberish, _amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • _lpTokenId: BigNumberish
      • _amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • withdraw(uint256,uint256):function
    • withdraw(uint256,uint256)(_lpTokenId: BigNumberish, _amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • _lpTokenId: BigNumberish
      • _amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • withdrawAPW:function
    • withdrawAPW(_recipient: string, _amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • _recipient: string
      • _amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

  • withdrawAPW(address,uint256):function
    • withdrawAPW(address,uint256)(_recipient: string, _amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

      • _recipient: string
      • _amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<ContractTransaction>

interface: MasterChefInterface
populateTransaction: { ERC1155_ERC165: any; ERC1155_ERC165(): any; add: any; add(uint256,uint256,address,bool): any; apw: any; apw(): any; apwPerBlock: any; apwPerBlock(): any; deposit: any; deposit(uint256,uint256): any; emergencyWithdraw: any; emergencyWithdraw(uint256): any; getUserLpTokenIdList: any; getUserLpTokenIdList(address): any; harvest: any; harvest(uint256,address): any; initialize: any; initialize(address,address,uint256,uint256): any; isRegisteredPoolId: any; isRegisteredPoolId(uint256): any; lpIDToFutureAddress: any; lpIDToFutureAddress(uint256): any; lpToken: any; lpToken(): any; massUpdatePools: any; massUpdatePools(): any; nextUpgradeAllocPoint: any; nextUpgradeAllocPoint(uint256): any; onERC1155BatchReceived: any; onERC1155BatchReceived(address,address,uint256[],uint256[],bytes): any; onERC1155Received: any; onERC1155Received(address,address,uint256,uint256,bytes): any; owner: any; owner(): any; pendingAPW: any; pendingAPW(uint256,address): any; poolIdAt: any; poolIdAt(uint256): any; poolIdsLength: any; poolIdsLength(): any; poolInfo: any; poolInfo(uint256): any; renounceOwnership: any; renounceOwnership(): any; rewarders: any; rewarders(uint256): any; set: any; set(uint256,uint256,address,bool,bool): any; setAPWPerBlock: any; setAPWPerBlock(uint256): any; setNextUpgradeAllocPoint: any; setNextUpgradeAllocPoint(uint256,uint256): any; setlpIDToFuture: any; setlpIDToFuture(uint256,address): any; startBlock: any; startBlock(): any; supportsInterface: any; supportsInterface(bytes4): any; totalAllocPoint: any; totalAllocPoint(): any; transferOwnership: any; transferOwnership(address): any; updatePool: any; updatePool(uint256): any; userInfo: any; userInfo(uint256,uint256,address): any; withdraw: any; withdraw(uint256,uint256): any; withdrawAPW: any; withdrawAPW(address,uint256): any }

Type declaration

  • ERC1155_ERC165:function
    • ERC1155_ERC165(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • ERC1155_ERC165():function
    • ERC1155_ERC165()(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • add:function
    • add(_allocPoint: BigNumberish, _lpTokenId: BigNumberish, _rewarder: string, _withUpdate: boolean, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • _allocPoint: BigNumberish
      • _lpTokenId: BigNumberish
      • _rewarder: string
      • _withUpdate: boolean
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • add(uint256,uint256,address,bool):function
    • add(uint256,uint256,address,bool)(_allocPoint: BigNumberish, _lpTokenId: BigNumberish, _rewarder: string, _withUpdate: boolean, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • _allocPoint: BigNumberish
      • _lpTokenId: BigNumberish
      • _rewarder: string
      • _withUpdate: boolean
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • apw:function
    • apw(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • apw():function
    • apw()(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • apwPerBlock:function
    • apwPerBlock(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • apwPerBlock():function
    • apwPerBlock()(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • deposit:function
    • deposit(_lpTokenId: BigNumberish, _amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • _lpTokenId: BigNumberish
      • _amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • deposit(uint256,uint256):function
    • deposit(uint256,uint256)(_lpTokenId: BigNumberish, _amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • _lpTokenId: BigNumberish
      • _amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • emergencyWithdraw:function
    • emergencyWithdraw(_lpTokenId: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • _lpTokenId: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • emergencyWithdraw(uint256):function
    • emergencyWithdraw(uint256)(_lpTokenId: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • _lpTokenId: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • getUserLpTokenIdList:function
    • getUserLpTokenIdList(_user: string, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • _user: string
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • getUserLpTokenIdList(address):function
    • getUserLpTokenIdList(address)(_user: string, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • _user: string
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • harvest:function
    • harvest(_lpTokenId: BigNumberish, to: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • _lpTokenId: BigNumberish
      • to: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • harvest(uint256,address):function
    • harvest(uint256,address)(_lpTokenId: BigNumberish, to: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • _lpTokenId: BigNumberish
      • to: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • initialize:function
    • initialize(_apw: string, _lpToken: string, _apwPerBlock: BigNumberish, _startBlock: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • _apw: string
      • _lpToken: string
      • _apwPerBlock: BigNumberish
      • _startBlock: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • initialize(address,address,uint256,uint256):function
    • initialize(address,address,uint256,uint256)(_apw: string, _lpToken: string, _apwPerBlock: BigNumberish, _startBlock: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • _apw: string
      • _lpToken: string
      • _apwPerBlock: BigNumberish
      • _startBlock: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • isRegisteredPoolId:function
    • isRegisteredPoolId(_poolId: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • _poolId: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • isRegisteredPoolId(uint256):function
    • isRegisteredPoolId(uint256)(_poolId: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • _poolId: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • lpIDToFutureAddress:function
    • lpIDToFutureAddress(arg0: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • lpIDToFutureAddress(uint256):function
    • lpIDToFutureAddress(uint256)(arg0: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • lpToken:function
    • lpToken(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • lpToken():function
    • lpToken()(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • massUpdatePools:function
    • massUpdatePools(overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • massUpdatePools():function
    • massUpdatePools()(overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • nextUpgradeAllocPoint:function
    • nextUpgradeAllocPoint(arg0: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • nextUpgradeAllocPoint(uint256):function
    • nextUpgradeAllocPoint(uint256)(arg0: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • onERC1155BatchReceived:function
    • onERC1155BatchReceived(arg0: string, arg1: string, arg2: BigNumberish[], arg3: BigNumberish[], arg4: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • arg0: string
      • arg1: string
      • arg2: BigNumberish[]
      • arg3: BigNumberish[]
      • arg4: BytesLike
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • onERC1155BatchReceived(address,address,uint256[],uint256[],bytes):function
    • onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)(arg0: string, arg1: string, arg2: BigNumberish[], arg3: BigNumberish[], arg4: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • arg0: string
      • arg1: string
      • arg2: BigNumberish[]
      • arg3: BigNumberish[]
      • arg4: BytesLike
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • onERC1155Received:function
    • onERC1155Received(arg0: string, arg1: string, arg2: BigNumberish, arg3: BigNumberish, arg4: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • arg0: string
      • arg1: string
      • arg2: BigNumberish
      • arg3: BigNumberish
      • arg4: BytesLike
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • onERC1155Received(address,address,uint256,uint256,bytes):function
    • onERC1155Received(address,address,uint256,uint256,bytes)(arg0: string, arg1: string, arg2: BigNumberish, arg3: BigNumberish, arg4: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • arg0: string
      • arg1: string
      • arg2: BigNumberish
      • arg3: BigNumberish
      • arg4: BytesLike
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • owner:function
    • owner(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • owner():function
    • owner()(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • pendingAPW:function
    • pendingAPW(_lpTokenId: BigNumberish, _user: string, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • _lpTokenId: BigNumberish
      • _user: string
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • pendingAPW(uint256,address):function
    • pendingAPW(uint256,address)(_lpTokenId: BigNumberish, _user: string, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • _lpTokenId: BigNumberish
      • _user: string
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • poolIdAt:function
    • poolIdAt(_id: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • _id: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • poolIdAt(uint256):function
    • poolIdAt(uint256)(_id: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • _id: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • poolIdsLength:function
    • poolIdsLength(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • poolIdsLength():function
    • poolIdsLength()(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • poolInfo:function
    • poolInfo(arg0: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • poolInfo(uint256):function
    • poolInfo(uint256)(arg0: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • renounceOwnership:function
    • renounceOwnership(overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • renounceOwnership():function
    • renounceOwnership()(overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • rewarders:function
    • rewarders(arg0: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • rewarders(uint256):function
    • rewarders(uint256)(arg0: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • set:function
    • set(_lpTokenId: BigNumberish, _allocPoint: BigNumberish, _rewarder: string, overwrite: boolean, _withUpdate: boolean, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • _lpTokenId: BigNumberish
      • _allocPoint: BigNumberish
      • _rewarder: string
      • overwrite: boolean
      • _withUpdate: boolean
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • set(uint256,uint256,address,bool,bool):function
    • set(uint256,uint256,address,bool,bool)(_lpTokenId: BigNumberish, _allocPoint: BigNumberish, _rewarder: string, overwrite: boolean, _withUpdate: boolean, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • _lpTokenId: BigNumberish
      • _allocPoint: BigNumberish
      • _rewarder: string
      • overwrite: boolean
      • _withUpdate: boolean
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • setAPWPerBlock:function
    • setAPWPerBlock(_apwPerBlock: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • _apwPerBlock: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • setAPWPerBlock(uint256):function
    • setAPWPerBlock(uint256)(_apwPerBlock: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • _apwPerBlock: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • setNextUpgradeAllocPoint:function
    • setNextUpgradeAllocPoint(_lpTokenId: BigNumberish, _nextAllocPoint: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • _lpTokenId: BigNumberish
      • _nextAllocPoint: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • setNextUpgradeAllocPoint(uint256,uint256):function
    • setNextUpgradeAllocPoint(uint256,uint256)(_lpTokenId: BigNumberish, _nextAllocPoint: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • _lpTokenId: BigNumberish
      • _nextAllocPoint: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • setlpIDToFuture:function
    • setlpIDToFuture(_lpTokenId: BigNumberish, futureAddress: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • _lpTokenId: BigNumberish
      • futureAddress: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • setlpIDToFuture(uint256,address):function
    • setlpIDToFuture(uint256,address)(_lpTokenId: BigNumberish, futureAddress: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • _lpTokenId: BigNumberish
      • futureAddress: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • startBlock:function
    • startBlock(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • startBlock():function
    • startBlock()(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • supportsInterface:function
    • supportsInterface(interfaceId: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • interfaceId: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • supportsInterface(bytes4):function
    • supportsInterface(bytes4)(interfaceId: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • interfaceId: BytesLike
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • totalAllocPoint:function
    • totalAllocPoint(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • totalAllocPoint():function
    • totalAllocPoint()(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • transferOwnership:function
    • transferOwnership(newOwner: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • newOwner: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • transferOwnership(address):function
    • transferOwnership(address)(newOwner: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • newOwner: string
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • updatePool:function
    • updatePool(_lpTokenId: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • _lpTokenId: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • updatePool(uint256):function
    • updatePool(uint256)(_lpTokenId: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • _lpTokenId: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • userInfo:function
    • userInfo(arg0: BigNumberish, arg1: BigNumberish, arg2: string, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • arg0: BigNumberish
      • arg1: BigNumberish
      • arg2: string
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • userInfo(uint256,uint256,address):function
    • userInfo(uint256,uint256,address)(arg0: BigNumberish, arg1: BigNumberish, arg2: string, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • arg0: BigNumberish
      • arg1: BigNumberish
      • arg2: string
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • withdraw:function
    • withdraw(_lpTokenId: BigNumberish, _amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • _lpTokenId: BigNumberish
      • _amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • withdraw(uint256,uint256):function
    • withdraw(uint256,uint256)(_lpTokenId: BigNumberish, _amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • _lpTokenId: BigNumberish
      • _amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • withdrawAPW:function
    • withdrawAPW(_recipient: string, _amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • _recipient: string
      • _amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

  • withdrawAPW(address,uint256):function
    • withdrawAPW(address,uint256)(_recipient: string, _amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

      • _recipient: string
      • _amount: BigNumberish
      • Optional overrides: Overrides & { from?: string | Promise<string> }

      Returns Promise<PopulatedTransaction>

provider: Provider
resolvedAddress: Promise<string>
signer: Signer

Methods

  • ERC1155_ERC165(overrides?: CallOverrides): Promise<string>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<string>

  • ERC1155_ERC165()(overrides?: CallOverrides): Promise<string>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<string>

  • _checkRunningEvents(runningEvent: RunningEvent): void
  • Parameters

    • runningEvent: RunningEvent

    Returns void

  • _deployed(blockTag?: BlockTag): Promise<Contract>
  • Parameters

    • Optional blockTag: BlockTag

    Returns Promise<Contract>

  • _wrapEvent(runningEvent: RunningEvent, log: Log, listener: Listener): Event
  • Parameters

    • runningEvent: RunningEvent
    • log: Log
    • listener: Listener

    Returns Event

  • add(_allocPoint: BigNumberish, _lpTokenId: BigNumberish, _rewarder: string, _withUpdate: boolean, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • _allocPoint: BigNumberish
    • _lpTokenId: BigNumberish
    • _rewarder: string
    • _withUpdate: boolean
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • add(uint256,uint256,address,bool)(_allocPoint: BigNumberish, _lpTokenId: BigNumberish, _rewarder: string, _withUpdate: boolean, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • _allocPoint: BigNumberish
    • _lpTokenId: BigNumberish
    • _rewarder: string
    • _withUpdate: boolean
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • apw(overrides?: CallOverrides): Promise<string>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<string>

  • apw()(overrides?: CallOverrides): Promise<string>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<string>

  • apwPerBlock(overrides?: CallOverrides): Promise<BigNumber>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

  • apwPerBlock()(overrides?: CallOverrides): Promise<BigNumber>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

  • Parameters

    • addressOrName: string

    Returns MasterChef

  • connect(signerOrProvider: string | Signer | Provider): MasterChef
  • Parameters

    • signerOrProvider: string | Signer | Provider

    Returns MasterChef

  • Returns Promise<MasterChef>

  • deposit(_lpTokenId: BigNumberish, _amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • _lpTokenId: BigNumberish
    • _amount: BigNumberish
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • deposit(uint256,uint256)(_lpTokenId: BigNumberish, _amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • _lpTokenId: BigNumberish
    • _amount: BigNumberish
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • emergencyWithdraw(_lpTokenId: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • _lpTokenId: BigNumberish
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • emergencyWithdraw(uint256)(_lpTokenId: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • _lpTokenId: BigNumberish
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • emit(eventName: string | EventFilter, ...args: any[]): boolean
  • Parameters

    • eventName: string | EventFilter
    • Rest ...args: any[]

    Returns boolean

  • fallback(overrides?: TransactionRequest): Promise<TransactionResponse>
  • Parameters

    • Optional overrides: TransactionRequest

    Returns Promise<TransactionResponse>

  • getUserLpTokenIdList(_user: string, overrides?: CallOverrides): Promise<BigNumber[]>
  • Parameters

    • _user: string
    • Optional overrides: CallOverrides

    Returns Promise<BigNumber[]>

  • getUserLpTokenIdList(address)(_user: string, overrides?: CallOverrides): Promise<BigNumber[]>
  • Parameters

    • _user: string
    • Optional overrides: CallOverrides

    Returns Promise<BigNumber[]>

  • harvest(_lpTokenId: BigNumberish, to: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • _lpTokenId: BigNumberish
    • to: string
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • harvest(uint256,address)(_lpTokenId: BigNumberish, to: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • _lpTokenId: BigNumberish
    • to: string
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • initialize(_apw: string, _lpToken: string, _apwPerBlock: BigNumberish, _startBlock: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • _apw: string
    • _lpToken: string
    • _apwPerBlock: BigNumberish
    • _startBlock: BigNumberish
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • initialize(address,address,uint256,uint256)(_apw: string, _lpToken: string, _apwPerBlock: BigNumberish, _startBlock: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • _apw: string
    • _lpToken: string
    • _apwPerBlock: BigNumberish
    • _startBlock: BigNumberish
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • isRegisteredPoolId(_poolId: BigNumberish, overrides?: CallOverrides): Promise<boolean>
  • Parameters

    • _poolId: BigNumberish
    • Optional overrides: CallOverrides

    Returns Promise<boolean>

  • isRegisteredPoolId(uint256)(_poolId: BigNumberish, overrides?: CallOverrides): Promise<boolean>
  • Parameters

    • _poolId: BigNumberish
    • Optional overrides: CallOverrides

    Returns Promise<boolean>

  • listenerCount(eventName?: string | EventFilter): number
  • Parameters

    • Optional eventName: string | EventFilter

    Returns number

  • listeners<EventArgsArray, EventArgsObject>(eventFilter?: TypedEventFilter<EventArgsArray, EventArgsObject>): TypedListener<EventArgsArray, EventArgsObject>[]
  • listeners(eventName?: string): Listener[]
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • Optional eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>

    Returns TypedListener<EventArgsArray, EventArgsObject>[]

  • Parameters

    • Optional eventName: string

    Returns Listener[]

  • lpIDToFutureAddress(arg0: BigNumberish, overrides?: CallOverrides): Promise<string>
  • Parameters

    • arg0: BigNumberish
    • Optional overrides: CallOverrides

    Returns Promise<string>

  • lpIDToFutureAddress(uint256)(arg0: BigNumberish, overrides?: CallOverrides): Promise<string>
  • Parameters

    • arg0: BigNumberish
    • Optional overrides: CallOverrides

    Returns Promise<string>

  • lpToken(overrides?: CallOverrides): Promise<string>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<string>

  • lpToken()(overrides?: CallOverrides): Promise<string>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<string>

  • massUpdatePools(overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • massUpdatePools()(overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • nextUpgradeAllocPoint(arg0: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
  • Parameters

    • arg0: BigNumberish
    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

  • nextUpgradeAllocPoint(uint256)(arg0: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
  • Parameters

    • arg0: BigNumberish
    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

  • off<EventArgsArray, EventArgsObject>(eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, listener: TypedListener<EventArgsArray, EventArgsObject>): MasterChef
  • off(eventName: string, listener: Listener): MasterChef
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>
    • listener: TypedListener<EventArgsArray, EventArgsObject>

    Returns MasterChef

  • Parameters

    • eventName: string
    • listener: Listener

    Returns MasterChef

  • on<EventArgsArray, EventArgsObject>(eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, listener: TypedListener<EventArgsArray, EventArgsObject>): MasterChef
  • on(eventName: string, listener: Listener): MasterChef
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>
    • listener: TypedListener<EventArgsArray, EventArgsObject>

    Returns MasterChef

  • Parameters

    • eventName: string
    • listener: Listener

    Returns MasterChef

  • onERC1155BatchReceived(arg0: string, arg1: string, arg2: BigNumberish[], arg3: BigNumberish[], arg4: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • arg0: string
    • arg1: string
    • arg2: BigNumberish[]
    • arg3: BigNumberish[]
    • arg4: BytesLike
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)(arg0: string, arg1: string, arg2: BigNumberish[], arg3: BigNumberish[], arg4: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • arg0: string
    • arg1: string
    • arg2: BigNumberish[]
    • arg3: BigNumberish[]
    • arg4: BytesLike
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • onERC1155Received(arg0: string, arg1: string, arg2: BigNumberish, arg3: BigNumberish, arg4: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • arg0: string
    • arg1: string
    • arg2: BigNumberish
    • arg3: BigNumberish
    • arg4: BytesLike
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • onERC1155Received(address,address,uint256,uint256,bytes)(arg0: string, arg1: string, arg2: BigNumberish, arg3: BigNumberish, arg4: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • arg0: string
    • arg1: string
    • arg2: BigNumberish
    • arg3: BigNumberish
    • arg4: BytesLike
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • once<EventArgsArray, EventArgsObject>(eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, listener: TypedListener<EventArgsArray, EventArgsObject>): MasterChef
  • once(eventName: string, listener: Listener): MasterChef
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>
    • listener: TypedListener<EventArgsArray, EventArgsObject>

    Returns MasterChef

  • Parameters

    • eventName: string
    • listener: Listener

    Returns MasterChef

  • owner(overrides?: CallOverrides): Promise<string>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<string>

  • owner()(overrides?: CallOverrides): Promise<string>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<string>

  • pendingAPW(_lpTokenId: BigNumberish, _user: string, overrides?: CallOverrides): Promise<BigNumber>
  • Parameters

    • _lpTokenId: BigNumberish
    • _user: string
    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

  • pendingAPW(uint256,address)(_lpTokenId: BigNumberish, _user: string, overrides?: CallOverrides): Promise<BigNumber>
  • Parameters

    • _lpTokenId: BigNumberish
    • _user: string
    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

  • poolIdAt(_id: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
  • Parameters

    • _id: BigNumberish
    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

  • poolIdAt(uint256)(_id: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
  • Parameters

    • _id: BigNumberish
    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

  • poolIdsLength(overrides?: CallOverrides): Promise<BigNumber>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

  • poolIdsLength()(overrides?: CallOverrides): Promise<BigNumber>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

  • poolInfo(arg0: BigNumberish, overrides?: CallOverrides): Promise<[BigNumber, BigNumber, BigNumber, BigNumber, BigNumber] & { accAPWPerShare: BigNumber; allocPoint: BigNumber; ammId: BigNumber; lastRewardBlock: BigNumber; pairId: BigNumber }>
  • Parameters

    • arg0: BigNumberish
    • Optional overrides: CallOverrides

    Returns Promise<[BigNumber, BigNumber, BigNumber, BigNumber, BigNumber] & { accAPWPerShare: BigNumber; allocPoint: BigNumber; ammId: BigNumber; lastRewardBlock: BigNumber; pairId: BigNumber }>

  • poolInfo(uint256)(arg0: BigNumberish, overrides?: CallOverrides): Promise<[BigNumber, BigNumber, BigNumber, BigNumber, BigNumber] & { accAPWPerShare: BigNumber; allocPoint: BigNumber; ammId: BigNumber; lastRewardBlock: BigNumber; pairId: BigNumber }>
  • Parameters

    • arg0: BigNumberish
    • Optional overrides: CallOverrides

    Returns Promise<[BigNumber, BigNumber, BigNumber, BigNumber, BigNumber] & { accAPWPerShare: BigNumber; allocPoint: BigNumber; ammId: BigNumber; lastRewardBlock: BigNumber; pairId: BigNumber }>

  • queryFilter<EventArgsArray, EventArgsObject>(event: TypedEventFilter<EventArgsArray, EventArgsObject>, fromBlockOrBlockhash?: string | number, toBlock?: string | number): Promise<TypedEvent<EventArgsArray & EventArgsObject>[]>
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • event: TypedEventFilter<EventArgsArray, EventArgsObject>
    • Optional fromBlockOrBlockhash: string | number
    • Optional toBlock: string | number

    Returns Promise<TypedEvent<EventArgsArray & EventArgsObject>[]>

  • removeAllListeners<EventArgsArray, EventArgsObject>(eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>): MasterChef
  • removeAllListeners(eventName?: string): MasterChef
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>

    Returns MasterChef

  • Parameters

    • Optional eventName: string

    Returns MasterChef

  • removeListener<EventArgsArray, EventArgsObject>(eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, listener: TypedListener<EventArgsArray, EventArgsObject>): MasterChef
  • removeListener(eventName: string, listener: Listener): MasterChef
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>
    • listener: TypedListener<EventArgsArray, EventArgsObject>

    Returns MasterChef

  • Parameters

    • eventName: string
    • listener: Listener

    Returns MasterChef

  • renounceOwnership(overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • renounceOwnership()(overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • rewarders(arg0: BigNumberish, overrides?: CallOverrides): Promise<string>
  • Parameters

    • arg0: BigNumberish
    • Optional overrides: CallOverrides

    Returns Promise<string>

  • rewarders(uint256)(arg0: BigNumberish, overrides?: CallOverrides): Promise<string>
  • Parameters

    • arg0: BigNumberish
    • Optional overrides: CallOverrides

    Returns Promise<string>

  • set(_lpTokenId: BigNumberish, _allocPoint: BigNumberish, _rewarder: string, overwrite: boolean, _withUpdate: boolean, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • _lpTokenId: BigNumberish
    • _allocPoint: BigNumberish
    • _rewarder: string
    • overwrite: boolean
    • _withUpdate: boolean
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • set(uint256,uint256,address,bool,bool)(_lpTokenId: BigNumberish, _allocPoint: BigNumberish, _rewarder: string, overwrite: boolean, _withUpdate: boolean, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • _lpTokenId: BigNumberish
    • _allocPoint: BigNumberish
    • _rewarder: string
    • overwrite: boolean
    • _withUpdate: boolean
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • setAPWPerBlock(_apwPerBlock: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • _apwPerBlock: BigNumberish
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • setAPWPerBlock(uint256)(_apwPerBlock: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • _apwPerBlock: BigNumberish
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • setNextUpgradeAllocPoint(_lpTokenId: BigNumberish, _nextAllocPoint: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • _lpTokenId: BigNumberish
    • _nextAllocPoint: BigNumberish
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • setNextUpgradeAllocPoint(uint256,uint256)(_lpTokenId: BigNumberish, _nextAllocPoint: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • _lpTokenId: BigNumberish
    • _nextAllocPoint: BigNumberish
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • setlpIDToFuture(_lpTokenId: BigNumberish, futureAddress: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • _lpTokenId: BigNumberish
    • futureAddress: string
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • setlpIDToFuture(uint256,address)(_lpTokenId: BigNumberish, futureAddress: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • _lpTokenId: BigNumberish
    • futureAddress: string
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • startBlock(overrides?: CallOverrides): Promise<BigNumber>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

  • startBlock()(overrides?: CallOverrides): Promise<BigNumber>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

  • supportsInterface(interfaceId: BytesLike, overrides?: CallOverrides): Promise<boolean>
  • Parameters

    • interfaceId: BytesLike
    • Optional overrides: CallOverrides

    Returns Promise<boolean>

  • supportsInterface(bytes4)(interfaceId: BytesLike, overrides?: CallOverrides): Promise<boolean>
  • Parameters

    • interfaceId: BytesLike
    • Optional overrides: CallOverrides

    Returns Promise<boolean>

  • totalAllocPoint(overrides?: CallOverrides): Promise<BigNumber>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

  • totalAllocPoint()(overrides?: CallOverrides): Promise<BigNumber>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

  • transferOwnership(newOwner: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • newOwner: string
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • transferOwnership(address)(newOwner: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • newOwner: string
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • updatePool(_lpTokenId: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • _lpTokenId: BigNumberish
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • updatePool(uint256)(_lpTokenId: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • _lpTokenId: BigNumberish
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • userInfo(arg0: BigNumberish, arg1: BigNumberish, arg2: string, overrides?: CallOverrides): Promise<[BigNumber, BigNumber, BigNumber] & { amount: BigNumber; periodId: BigNumber; rewardDebt: BigNumber }>
  • Parameters

    • arg0: BigNumberish
    • arg1: BigNumberish
    • arg2: string
    • Optional overrides: CallOverrides

    Returns Promise<[BigNumber, BigNumber, BigNumber] & { amount: BigNumber; periodId: BigNumber; rewardDebt: BigNumber }>

  • userInfo(uint256,uint256,address)(arg0: BigNumberish, arg1: BigNumberish, arg2: string, overrides?: CallOverrides): Promise<[BigNumber, BigNumber, BigNumber] & { amount: BigNumber; periodId: BigNumber; rewardDebt: BigNumber }>
  • Parameters

    • arg0: BigNumberish
    • arg1: BigNumberish
    • arg2: string
    • Optional overrides: CallOverrides

    Returns Promise<[BigNumber, BigNumber, BigNumber] & { amount: BigNumber; periodId: BigNumber; rewardDebt: BigNumber }>

  • withdraw(_lpTokenId: BigNumberish, _amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • _lpTokenId: BigNumberish
    • _amount: BigNumberish
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • withdraw(uint256,uint256)(_lpTokenId: BigNumberish, _amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • _lpTokenId: BigNumberish
    • _amount: BigNumberish
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • withdrawAPW(_recipient: string, _amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • _recipient: string
    • _amount: BigNumberish
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • withdrawAPW(address,uint256)(_recipient: string, _amount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

    • _recipient: string
    • _amount: BigNumberish
    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<ContractTransaction>

  • getContractAddress(transaction: { from: string; nonce: BigNumberish }): string
  • Parameters

    • transaction: { from: string; nonce: BigNumberish }
      • from: string
      • nonce: BigNumberish

    Returns string

  • getInterface(contractInterface: ContractInterface): Interface
  • Parameters

    • contractInterface: ContractInterface

    Returns Interface

  • isIndexed(value: any): value is Indexed
  • Parameters

    • value: any

    Returns value is Indexed

Generated using TypeDoc, the 1/8/2023