Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AmpRewarder

Hierarchy

  • Contract
    • AmpRewarder

Index

Constructors

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

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

    Returns AmpRewarder

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: { MASTERCHEF_V2: any; MASTERCHEF_V2(): any; initialize: any; initialize(address,address,address): any; lpToken: any; lpToken(): any; nextRewardPerSecond: any; nextRewardPerSecond(uint256): any; onAPWReward: any; onAPWReward(uint256,address,address,uint256): any; owner: any; owner(): any; pendingToken: any; pendingToken(uint256,address): any; pendingTokens: any; pendingTokens(uint256,address): any; poolInfo: any; poolInfo(uint256): any; renewPool: any; renewPool(uint256,uint256): any; renounceOwnership: any; renounceOwnership(): any; rewardPerSecond: any; rewardPerSecond(uint256): any; rewardToken: any; rewardToken(): any; setNextRewardPerSecond: any; setNextRewardPerSecond(uint256,uint256): any; setRewardPerSecond: any; setRewardPerSecond(uint256,uint256): any; transferOwnership: any; transferOwnership(address): any; updatePool: any; updatePool(uint256): any; userInfo: any; userInfo(uint256,address): any; withdrawRewardTokens: any; withdrawRewardTokens(address,uint256): any }

Type declaration

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

      • Optional overrides: CallOverrides

      Returns Promise<string>

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

      • Optional overrides: CallOverrides

      Returns Promise<string>

  • initialize:function
    • initialize(_MASTERCHEF_V2: string, _rewardToken: string, _lpToken: string, overrides?: CallOverrides): Promise<void>
    • Parameters

      • _MASTERCHEF_V2: string
      • _rewardToken: string
      • _lpToken: string
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • initialize(address,address,address):function
    • initialize(address,address,address)(_MASTERCHEF_V2: string, _rewardToken: string, _lpToken: string, overrides?: CallOverrides): Promise<void>
    • Parameters

      • _MASTERCHEF_V2: string
      • _rewardToken: string
      • _lpToken: string
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • 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>

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

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

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

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • onAPWReward:function
    • onAPWReward(pid: BigNumberish, _user: string, to: string, apwAmount: BigNumberish, overrides?: CallOverrides): Promise<void>
    • Parameters

      • pid: BigNumberish
      • _user: string
      • to: string
      • apwAmount: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • onAPWReward(uint256,address,address,uint256):function
    • onAPWReward(uint256,address,address,uint256)(pid: BigNumberish, _user: string, to: string, apwAmount: BigNumberish, overrides?: CallOverrides): Promise<void>
    • Parameters

      • pid: BigNumberish
      • _user: string
      • to: string
      • apwAmount: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • 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>

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

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

      Returns Promise<BigNumber>

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

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

      Returns Promise<BigNumber>

  • pendingTokens:function
    • pendingTokens(pid: BigNumberish, user: string, overrides?: CallOverrides): Promise<[string[], BigNumber[]] & { rewardAmounts: BigNumber[]; rewardTokens: string[] }>
    • Parameters

      • pid: BigNumberish
      • user: string
      • Optional overrides: CallOverrides

      Returns Promise<[string[], BigNumber[]] & { rewardAmounts: BigNumber[]; rewardTokens: string[] }>

  • pendingTokens(uint256,address):function
    • pendingTokens(uint256,address)(pid: BigNumberish, user: string, overrides?: CallOverrides): Promise<[string[], BigNumber[]] & { rewardAmounts: BigNumber[]; rewardTokens: string[] }>
    • Parameters

      • pid: BigNumberish
      • user: string
      • Optional overrides: CallOverrides

      Returns Promise<[string[], BigNumber[]] & { rewardAmounts: BigNumber[]; rewardTokens: string[] }>

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

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber, BigNumber] & { accAPWPerShare: BigNumber; lastRewardTime: BigNumber }>

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

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber, BigNumber] & { accAPWPerShare: BigNumber; lastRewardTime: BigNumber }>

  • renewPool:function
    • renewPool(_oldPid: BigNumberish, _newPid: BigNumberish, overrides?: CallOverrides): Promise<void>
    • Parameters

      • _oldPid: BigNumberish
      • _newPid: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • renewPool(uint256,uint256):function
    • renewPool(uint256,uint256)(_oldPid: BigNumberish, _newPid: BigNumberish, overrides?: CallOverrides): Promise<void>
    • Parameters

      • _oldPid: BigNumberish
      • _newPid: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • 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>

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

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

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

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

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

      • Optional overrides: CallOverrides

      Returns Promise<string>

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

      • Optional overrides: CallOverrides

      Returns Promise<string>

  • setNextRewardPerSecond:function
    • setNextRewardPerSecond(_pid: BigNumberish, _nextRewardPerSecond: BigNumberish, overrides?: CallOverrides): Promise<void>
    • Parameters

      • _pid: BigNumberish
      • _nextRewardPerSecond: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • setNextRewardPerSecond(uint256,uint256):function
    • setNextRewardPerSecond(uint256,uint256)(_pid: BigNumberish, _nextRewardPerSecond: BigNumberish, overrides?: CallOverrides): Promise<void>
    • Parameters

      • _pid: BigNumberish
      • _nextRewardPerSecond: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • setRewardPerSecond:function
    • setRewardPerSecond(_pid: BigNumberish, _rewardPerSecond: BigNumberish, overrides?: CallOverrides): Promise<void>
    • Parameters

      • _pid: BigNumberish
      • _rewardPerSecond: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • setRewardPerSecond(uint256,uint256):function
    • setRewardPerSecond(uint256,uint256)(_pid: BigNumberish, _rewardPerSecond: BigNumberish, overrides?: CallOverrides): Promise<void>
    • Parameters

      • _pid: BigNumberish
      • _rewardPerSecond: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • 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(pid: BigNumberish, overrides?: CallOverrides): Promise<[BigNumber, BigNumber] & { accAPWPerShare: BigNumber; lastRewardTime: BigNumber }>
    • Parameters

      • pid: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber, BigNumber] & { accAPWPerShare: BigNumber; lastRewardTime: BigNumber }>

  • updatePool(uint256):function
    • updatePool(uint256)(pid: BigNumberish, overrides?: CallOverrides): Promise<[BigNumber, BigNumber] & { accAPWPerShare: BigNumber; lastRewardTime: BigNumber }>
    • Parameters

      • pid: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber, BigNumber] & { accAPWPerShare: BigNumber; lastRewardTime: BigNumber }>

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

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

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

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

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

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

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

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

      Returns Promise<void>

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

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

      Returns Promise<void>

deployTransaction: TransactionResponse
estimateGas: { MASTERCHEF_V2: any; MASTERCHEF_V2(): any; initialize: any; initialize(address,address,address): any; lpToken: any; lpToken(): any; nextRewardPerSecond: any; nextRewardPerSecond(uint256): any; onAPWReward: any; onAPWReward(uint256,address,address,uint256): any; owner: any; owner(): any; pendingToken: any; pendingToken(uint256,address): any; pendingTokens: any; pendingTokens(uint256,address): any; poolInfo: any; poolInfo(uint256): any; renewPool: any; renewPool(uint256,uint256): any; renounceOwnership: any; renounceOwnership(): any; rewardPerSecond: any; rewardPerSecond(uint256): any; rewardToken: any; rewardToken(): any; setNextRewardPerSecond: any; setNextRewardPerSecond(uint256,uint256): any; setRewardPerSecond: any; setRewardPerSecond(uint256,uint256): any; transferOwnership: any; transferOwnership(address): any; updatePool: any; updatePool(uint256): any; userInfo: any; userInfo(uint256,address): any; withdrawRewardTokens: any; withdrawRewardTokens(address,uint256): any }

Type declaration

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

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

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

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • initialize:function
    • initialize(_MASTERCHEF_V2: string, _rewardToken: string, _lpToken: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

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

      Returns Promise<BigNumber>

  • initialize(address,address,address):function
    • initialize(address,address,address)(_MASTERCHEF_V2: string, _rewardToken: string, _lpToken: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

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

      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>

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

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

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

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • onAPWReward:function
    • onAPWReward(pid: BigNumberish, _user: string, to: string, apwAmount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

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

      Returns Promise<BigNumber>

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

      • pid: BigNumberish
      • _user: string
      • to: string
      • apwAmount: BigNumberish
      • 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>

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

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

      Returns Promise<BigNumber>

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

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

      Returns Promise<BigNumber>

  • pendingTokens:function
    • pendingTokens(pid: BigNumberish, user: string, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • pid: BigNumberish
      • user: string
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • pendingTokens(uint256,address):function
    • pendingTokens(uint256,address)(pid: BigNumberish, user: string, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • pid: BigNumberish
      • user: string
      • 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>

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

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

      Returns Promise<BigNumber>

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

      • _oldPid: BigNumberish
      • _newPid: BigNumberish
      • 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>

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

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

      Returns Promise<BigNumber>

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

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

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

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

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

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

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

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

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

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

      Returns Promise<BigNumber>

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

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

      Returns Promise<BigNumber>

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

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

      Returns Promise<BigNumber>

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

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

      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(pid: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
    • Parameters

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

      Returns Promise<BigNumber>

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

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

      Returns Promise<BigNumber>

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

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

      Returns Promise<BigNumber>

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

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

      Returns Promise<BigNumber>

  • withdrawRewardTokens:function
    • withdrawRewardTokens(_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>

  • withdrawRewardTokens(address,uint256):function
    • withdrawRewardTokens(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: { LogNextRewardPerSecond: any; LogOnReward: any; LogPoolAddition: any; LogRewardPerSecond: any; LogSetPool: any; LogUpdatePool: any; OwnershipTransferred: any }

Type declaration

  • LogNextRewardPerSecond:function
    • LogNextRewardPerSecond(pid: null, nextRewardPerSecond: null): TypedEventFilter<[BigNumber, BigNumber], { nextRewardPerSecond: BigNumber; pid: BigNumber }>
    • Parameters

      • pid: null
      • nextRewardPerSecond: null

      Returns TypedEventFilter<[BigNumber, BigNumber], { nextRewardPerSecond: BigNumber; pid: BigNumber }>

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

      • user: null | string
      • pid: null | BigNumberish
      • amount: null
      • to: null | string

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

  • LogPoolAddition:function
    • LogPoolAddition(pid: null | BigNumberish, allocPoint: null): TypedEventFilter<[BigNumber, BigNumber], { allocPoint: BigNumber; pid: BigNumber }>
    • Parameters

      • pid: null | BigNumberish
      • allocPoint: null

      Returns TypedEventFilter<[BigNumber, BigNumber], { allocPoint: BigNumber; pid: BigNumber }>

  • LogRewardPerSecond:function
    • LogRewardPerSecond(pid: null, rewardPerSecond: null): TypedEventFilter<[BigNumber, BigNumber], { pid: BigNumber; rewardPerSecond: BigNumber }>
    • Parameters

      • pid: null
      • rewardPerSecond: null

      Returns TypedEventFilter<[BigNumber, BigNumber], { pid: BigNumber; rewardPerSecond: BigNumber }>

  • LogSetPool:function
    • LogSetPool(pid: null | BigNumberish, allocPoint: null): TypedEventFilter<[BigNumber, BigNumber], { allocPoint: BigNumber; pid: BigNumber }>
    • Parameters

      • pid: null | BigNumberish
      • allocPoint: null

      Returns TypedEventFilter<[BigNumber, BigNumber], { allocPoint: BigNumber; pid: BigNumber }>

  • LogUpdatePool:function
    • LogUpdatePool(pid: null | BigNumberish, lastRewardTime: null, lpSupply: null, accAPWPerShare: null): TypedEventFilter<[BigNumber, BigNumber, BigNumber, BigNumber], { accAPWPerShare: BigNumber; lastRewardTime: BigNumber; lpSupply: BigNumber; pid: BigNumber }>
    • Parameters

      • pid: null | BigNumberish
      • lastRewardTime: null
      • lpSupply: null
      • accAPWPerShare: null

      Returns TypedEventFilter<[BigNumber, BigNumber, BigNumber, BigNumber], { accAPWPerShare: BigNumber; lastRewardTime: BigNumber; lpSupply: BigNumber; pid: 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 }>

functions: { MASTERCHEF_V2: any; MASTERCHEF_V2(): any; initialize: any; initialize(address,address,address): any; lpToken: any; lpToken(): any; nextRewardPerSecond: any; nextRewardPerSecond(uint256): any; onAPWReward: any; onAPWReward(uint256,address,address,uint256): any; owner: any; owner(): any; pendingToken: any; pendingToken(uint256,address): any; pendingTokens: any; pendingTokens(uint256,address): any; poolInfo: any; poolInfo(uint256): any; renewPool: any; renewPool(uint256,uint256): any; renounceOwnership: any; renounceOwnership(): any; rewardPerSecond: any; rewardPerSecond(uint256): any; rewardToken: any; rewardToken(): any; setNextRewardPerSecond: any; setNextRewardPerSecond(uint256,uint256): any; setRewardPerSecond: any; setRewardPerSecond(uint256,uint256): any; transferOwnership: any; transferOwnership(address): any; updatePool: any; updatePool(uint256): any; userInfo: any; userInfo(uint256,address): any; withdrawRewardTokens: any; withdrawRewardTokens(address,uint256): any }

Type declaration

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

      • Optional overrides: CallOverrides

      Returns Promise<[string]>

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

      • Optional overrides: CallOverrides

      Returns Promise<[string]>

  • initialize:function
    • initialize(_MASTERCHEF_V2: string, _rewardToken: string, _lpToken: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

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

      Returns Promise<ContractTransaction>

  • initialize(address,address,address):function
    • initialize(address,address,address)(_MASTERCHEF_V2: string, _rewardToken: string, _lpToken: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

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

      Returns Promise<ContractTransaction>

  • 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]>

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

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

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

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

  • onAPWReward:function
    • onAPWReward(pid: BigNumberish, _user: string, to: string, apwAmount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

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

      Returns Promise<ContractTransaction>

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

      • pid: BigNumberish
      • _user: string
      • to: string
      • apwAmount: BigNumberish
      • 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]>

  • pendingToken:function
    • pendingToken(_pid: BigNumberish, _user: string, overrides?: CallOverrides): Promise<[BigNumber] & { pending: BigNumber }>
    • Parameters

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

      Returns Promise<[BigNumber] & { pending: BigNumber }>

  • pendingToken(uint256,address):function
    • pendingToken(uint256,address)(_pid: BigNumberish, _user: string, overrides?: CallOverrides): Promise<[BigNumber] & { pending: BigNumber }>
    • Parameters

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

      Returns Promise<[BigNumber] & { pending: BigNumber }>

  • pendingTokens:function
    • pendingTokens(pid: BigNumberish, user: string, overrides?: CallOverrides): Promise<[string[], BigNumber[]] & { rewardAmounts: BigNumber[]; rewardTokens: string[] }>
    • Parameters

      • pid: BigNumberish
      • user: string
      • Optional overrides: CallOverrides

      Returns Promise<[string[], BigNumber[]] & { rewardAmounts: BigNumber[]; rewardTokens: string[] }>

  • pendingTokens(uint256,address):function
    • pendingTokens(uint256,address)(pid: BigNumberish, user: string, overrides?: CallOverrides): Promise<[string[], BigNumber[]] & { rewardAmounts: BigNumber[]; rewardTokens: string[] }>
    • Parameters

      • pid: BigNumberish
      • user: string
      • Optional overrides: CallOverrides

      Returns Promise<[string[], BigNumber[]] & { rewardAmounts: BigNumber[]; rewardTokens: string[] }>

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

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber, BigNumber] & { accAPWPerShare: BigNumber; lastRewardTime: BigNumber }>

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

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber, BigNumber] & { accAPWPerShare: BigNumber; lastRewardTime: BigNumber }>

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

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

      Returns Promise<ContractTransaction>

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

      • _oldPid: BigNumberish
      • _newPid: BigNumberish
      • 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>

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

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

      Returns Promise<ContractTransaction>

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

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

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

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[BigNumber]>

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

      • Optional overrides: CallOverrides

      Returns Promise<[string]>

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

      • Optional overrides: CallOverrides

      Returns Promise<[string]>

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

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

      Returns Promise<ContractTransaction>

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

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

      Returns Promise<ContractTransaction>

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

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

      Returns Promise<ContractTransaction>

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

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

      Returns Promise<ContractTransaction>

  • 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(pid: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
    • Parameters

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

      Returns Promise<ContractTransaction>

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

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

      Returns Promise<ContractTransaction>

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

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

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

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

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

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

  • withdrawRewardTokens:function
    • withdrawRewardTokens(_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>

  • withdrawRewardTokens(address,uint256):function
    • withdrawRewardTokens(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: AmpRewarderInterface
populateTransaction: { MASTERCHEF_V2: any; MASTERCHEF_V2(): any; initialize: any; initialize(address,address,address): any; lpToken: any; lpToken(): any; nextRewardPerSecond: any; nextRewardPerSecond(uint256): any; onAPWReward: any; onAPWReward(uint256,address,address,uint256): any; owner: any; owner(): any; pendingToken: any; pendingToken(uint256,address): any; pendingTokens: any; pendingTokens(uint256,address): any; poolInfo: any; poolInfo(uint256): any; renewPool: any; renewPool(uint256,uint256): any; renounceOwnership: any; renounceOwnership(): any; rewardPerSecond: any; rewardPerSecond(uint256): any; rewardToken: any; rewardToken(): any; setNextRewardPerSecond: any; setNextRewardPerSecond(uint256,uint256): any; setRewardPerSecond: any; setRewardPerSecond(uint256,uint256): any; transferOwnership: any; transferOwnership(address): any; updatePool: any; updatePool(uint256): any; userInfo: any; userInfo(uint256,address): any; withdrawRewardTokens: any; withdrawRewardTokens(address,uint256): any }

Type declaration

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

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

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

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • initialize:function
    • initialize(_MASTERCHEF_V2: string, _rewardToken: string, _lpToken: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

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

      Returns Promise<PopulatedTransaction>

  • initialize(address,address,address):function
    • initialize(address,address,address)(_MASTERCHEF_V2: string, _rewardToken: string, _lpToken: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

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

      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>

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

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

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

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • onAPWReward:function
    • onAPWReward(pid: BigNumberish, _user: string, to: string, apwAmount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

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

      Returns Promise<PopulatedTransaction>

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

      • pid: BigNumberish
      • _user: string
      • to: string
      • apwAmount: BigNumberish
      • 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>

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

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

      Returns Promise<PopulatedTransaction>

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

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

      Returns Promise<PopulatedTransaction>

  • pendingTokens:function
    • pendingTokens(pid: BigNumberish, user: string, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • pid: BigNumberish
      • user: string
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • pendingTokens(uint256,address):function
    • pendingTokens(uint256,address)(pid: BigNumberish, user: string, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • pid: BigNumberish
      • user: string
      • 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>

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

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

      Returns Promise<PopulatedTransaction>

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

      • _oldPid: BigNumberish
      • _newPid: BigNumberish
      • 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>

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

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

      Returns Promise<PopulatedTransaction>

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

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

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

      • arg0: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

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

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

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

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

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

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

      Returns Promise<PopulatedTransaction>

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

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

      Returns Promise<PopulatedTransaction>

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

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

      Returns Promise<PopulatedTransaction>

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

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

      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(pid: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
    • Parameters

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

      Returns Promise<PopulatedTransaction>

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

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

      Returns Promise<PopulatedTransaction>

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

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

      Returns Promise<PopulatedTransaction>

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

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

      Returns Promise<PopulatedTransaction>

  • withdrawRewardTokens:function
    • withdrawRewardTokens(_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>

  • withdrawRewardTokens(address,uint256):function
    • withdrawRewardTokens(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

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

    • Optional overrides: CallOverrides

    Returns Promise<string>

  • MASTERCHEF_V2()(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

  • Parameters

    • addressOrName: string

    Returns AmpRewarder

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

    • signerOrProvider: string | Signer | Provider

    Returns AmpRewarder

  • Returns Promise<AmpRewarder>

  • 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>

  • initialize(_MASTERCHEF_V2: string, _rewardToken: string, _lpToken: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

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

    Returns Promise<ContractTransaction>

  • initialize(address,address,address)(_MASTERCHEF_V2: string, _rewardToken: string, _lpToken: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

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

    Returns Promise<ContractTransaction>

  • 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[]

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

    • Optional overrides: CallOverrides

    Returns Promise<string>

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

    • Optional overrides: CallOverrides

    Returns Promise<string>

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

    • arg0: BigNumberish
    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

  • nextRewardPerSecond(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>): AmpRewarder
  • off(eventName: string, listener: Listener): AmpRewarder
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

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

    Returns AmpRewarder

  • Parameters

    • eventName: string
    • listener: Listener

    Returns AmpRewarder

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

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

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

    Returns AmpRewarder

  • Parameters

    • eventName: string
    • listener: Listener

    Returns AmpRewarder

  • onAPWReward(pid: BigNumberish, _user: string, to: string, apwAmount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

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

    Returns Promise<ContractTransaction>

  • onAPWReward(uint256,address,address,uint256)(pid: BigNumberish, _user: string, to: string, apwAmount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

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

    Returns Promise<ContractTransaction>

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

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

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

    Returns AmpRewarder

  • Parameters

    • eventName: string
    • listener: Listener

    Returns AmpRewarder

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

    • Optional overrides: CallOverrides

    Returns Promise<string>

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

    • Optional overrides: CallOverrides

    Returns Promise<string>

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

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

    Returns Promise<BigNumber>

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

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

    Returns Promise<BigNumber>

  • pendingTokens(pid: BigNumberish, user: string, overrides?: CallOverrides): Promise<[string[], BigNumber[]] & { rewardAmounts: BigNumber[]; rewardTokens: string[] }>
  • Parameters

    • pid: BigNumberish
    • user: string
    • Optional overrides: CallOverrides

    Returns Promise<[string[], BigNumber[]] & { rewardAmounts: BigNumber[]; rewardTokens: string[] }>

  • pendingTokens(uint256,address)(pid: BigNumberish, user: string, overrides?: CallOverrides): Promise<[string[], BigNumber[]] & { rewardAmounts: BigNumber[]; rewardTokens: string[] }>
  • Parameters

    • pid: BigNumberish
    • user: string
    • Optional overrides: CallOverrides

    Returns Promise<[string[], BigNumber[]] & { rewardAmounts: BigNumber[]; rewardTokens: string[] }>

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

    • arg0: BigNumberish
    • Optional overrides: CallOverrides

    Returns Promise<[BigNumber, BigNumber] & { accAPWPerShare: BigNumber; lastRewardTime: BigNumber }>

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

    • arg0: BigNumberish
    • Optional overrides: CallOverrides

    Returns Promise<[BigNumber, BigNumber] & { accAPWPerShare: BigNumber; lastRewardTime: 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>): AmpRewarder
  • removeAllListeners(eventName?: string): AmpRewarder
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>

    Returns AmpRewarder

  • Parameters

    • Optional eventName: string

    Returns AmpRewarder

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

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

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

    Returns AmpRewarder

  • Parameters

    • eventName: string
    • listener: Listener

    Returns AmpRewarder

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

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

    Returns Promise<ContractTransaction>

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

    • _oldPid: BigNumberish
    • _newPid: BigNumberish
    • 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>

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

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

    Returns Promise<ContractTransaction>

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

    • arg0: BigNumberish
    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

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

    • arg0: BigNumberish
    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

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

    • Optional overrides: CallOverrides

    Returns Promise<string>

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

    • Optional overrides: CallOverrides

    Returns Promise<string>

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

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

    Returns Promise<ContractTransaction>

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

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

    Returns Promise<ContractTransaction>

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

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

    Returns Promise<ContractTransaction>

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

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

    Returns Promise<ContractTransaction>

  • 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(pid: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
  • Parameters

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

    Returns Promise<ContractTransaction>

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

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

    Returns Promise<ContractTransaction>

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

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

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

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

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

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

  • withdrawRewardTokens(_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>

  • withdrawRewardTokens(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 11/12/2022