Properties
_deployedPromise
_deployedPromise: Promise<Contract>
_runningEvents
_runningEvents: {}
Type declaration
[eventTag: string]: RunningEvent
_wrappedEmits
_wrappedEmits: {}
Type declaration
[eventTag: string]: (...args: any[]) => void
Readonly address
address: string
callStatic
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>
Readonly deployTransaction
deployTransaction: TransactionResponse
estimateGas
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
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
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
interface: AmpRewarderInterface
populateTransaction
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>
Readonly provider
provider: Provider
Readonly resolvedAddress
resolvedAddress: Promise<string>
Readonly signer
signer: Signer