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: { onAPWReward: any; onAPWReward(uint256,address,address,uint256): any; pendingTokens: any; pendingTokens(uint256,address): any; renewPool: any; renewPool(uint256,uint256): any }
Type declaration
onAPWReward:function
- onAPWReward(pid: BigNumberish, user: string, recipient: string, apwAmount: BigNumberish, overrides?: CallOverrides): Promise<void>
Parameters
pid: BigNumberish
user: string
recipient: string
apwAmount: BigNumberish
Optional overrides: CallOverrides
Returns Promise<void>
onAPWReward(uint256,address,address,uint256):function
- onAPWReward(uint256,address,address,uint256)(pid: BigNumberish, user: string, recipient: string, apwAmount: BigNumberish, overrides?: CallOverrides): Promise<void>
Parameters
pid: BigNumberish
user: string
recipient: string
apwAmount: BigNumberish
Optional overrides: CallOverrides
Returns Promise<void>
pendingTokens:function
- pendingTokens(pid: BigNumberish, user: string, overrides?: CallOverrides): Promise<[string[], BigNumber[]]>
Parameters
pid: BigNumberish
user: string
Optional overrides: CallOverrides
Returns Promise<[string[], BigNumber[]]>
pendingTokens(uint256,address):function
- pendingTokens(uint256,address)(pid: BigNumberish, user: string, overrides?: CallOverrides): Promise<[string[], BigNumber[]]>
Parameters
pid: BigNumberish
user: string
Optional overrides: CallOverrides
Returns Promise<[string[], 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>
Readonly deployTransaction
deployTransaction: TransactionResponse
estimateGas
estimateGas: { onAPWReward: any; onAPWReward(uint256,address,address,uint256): any; pendingTokens: any; pendingTokens(uint256,address): any; renewPool: any; renewPool(uint256,uint256): any }
Type declaration
onAPWReward:function
- onAPWReward(pid: BigNumberish, user: string, recipient: string, apwAmount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
Parameters
pid: BigNumberish
user: string
recipient: 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, recipient: string, apwAmount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
Parameters
pid: BigNumberish
user: string
recipient: string
apwAmount: BigNumberish
Optional overrides: Overrides & { from?: string | Promise<string> }
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>
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>
functions
functions: { onAPWReward: any; onAPWReward(uint256,address,address,uint256): any; pendingTokens: any; pendingTokens(uint256,address): any; renewPool: any; renewPool(uint256,uint256): any }
Type declaration
onAPWReward:function
- onAPWReward(pid: BigNumberish, user: string, recipient: string, apwAmount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
Parameters
pid: BigNumberish
user: string
recipient: 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, recipient: string, apwAmount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
Parameters
pid: BigNumberish
user: string
recipient: string
apwAmount: BigNumberish
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
pendingTokens:function
- pendingTokens(pid: BigNumberish, user: string, overrides?: CallOverrides): Promise<[string[], BigNumber[]]>
Parameters
pid: BigNumberish
user: string
Optional overrides: CallOverrides
Returns Promise<[string[], BigNumber[]]>
pendingTokens(uint256,address):function
- pendingTokens(uint256,address)(pid: BigNumberish, user: string, overrides?: CallOverrides): Promise<[string[], BigNumber[]]>
Parameters
pid: BigNumberish
user: string
Optional overrides: CallOverrides
Returns Promise<[string[], 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>
interface
interface: IRewarderInterface
populateTransaction
populateTransaction: { onAPWReward: any; onAPWReward(uint256,address,address,uint256): any; pendingTokens: any; pendingTokens(uint256,address): any; renewPool: any; renewPool(uint256,uint256): any }
Type declaration
onAPWReward:function
- onAPWReward(pid: BigNumberish, user: string, recipient: string, apwAmount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
Parameters
pid: BigNumberish
user: string
recipient: 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, recipient: string, apwAmount: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
Parameters
pid: BigNumberish
user: string
recipient: string
apwAmount: BigNumberish
Optional overrides: Overrides & { from?: string | Promise<string> }
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>
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>
Readonly provider
provider: Provider
Readonly resolvedAddress
resolvedAddress: Promise<string>
Readonly signer
signer: Signer