Constructor
# new Loophole(options)
Loophole Object
Parameters:
Name | Type | Description |
---|---|---|
options |
Loophole~Options
|
Type Definitions
Object
# Options
Properties:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
test |
Boolean
|
|||
localtest |
Boolean
|
|||
web3Connection |
Web3Connection
|
<optional> |
Web3Connection | |
contractAddress |
address
|
<optional> |
||
lpTokenAddress |
address
|
<optional> |
||
ethUtilsAddress |
address
|
<optional> |
Object
# PoolInfo
Properties:
Name | Type | Description |
---|---|---|
token |
address
|
|
allocPoint |
uint256
|
|
lastRewardBlock |
uint256
|
|
totalPool |
uint256
|
|
entryStakeTotal |
uint256
|
|
totalDistributedPenalty |
uint256
|
|
accLPtokensPerShare |
uint256
|
Object
# UserInfo
Properties:
Name | Type | Description |
---|---|---|
entryStake |
uint256
|
Accumulated staked amount |
unstake |
uint256
|
Accumulated net unstaked amount or exitStake |
entryStakeAdjusted |
uint256
|
Current user adjusted stake in the pool |
payRewardMark |
uint256
|
LP tokens reward mark to control new rewards and already paid ones |