Interface LoopholeMethods
Methods
LPtokensPerShareMultiplier
add
Parameters
token: string
allocPoint: number
exit
Parameters
pid: number
Optional amount: number
Optional amountOutMinimum: number
Parameters
getPool
- getPool(pid: number): ContractCallMethod<{ 0: string; 1: number; 2: number; 3: number; 4: number; 5: number; 6: number }>
Parameters
Returns ContractCallMethod<{ 0: string; 1: number; 2: number; 3: number; 4: number; 5: number; 6: number }>
getPoolInfo
- getPoolInfo(pid: number): ContractCallMethod<{ 0: string; 1: number; 2: number; 3: number; 4: number; 5: number; 6: number }>
Parameters
Returns ContractCallMethod<{ 0: string; 1: number; 2: number; 3: number; 4: number; 5: number; 6: number }>
getUserInfo
- getUserInfo(pid: number, user: string): ContractCallMethod<{ 0: number; 1: number; 2: number; 3: number }>
getUserReward
Parameters
pid: number
userAddress: string
massUpdatePools
- massUpdatePools(): ContractSendMethod
Returns ContractSendMethod
set
- set(pid: number, allocPoint: number, withUpdate: boolean): ContractSendMethod
Parameters
pid: number
allocPoint: number
withUpdate: boolean
Returns ContractSendMethod
stake
- stake(pid: number, amount: number): ContractSendMethod
Parameters
pid: number
amount: number
Returns ContractSendMethod
transferOwnership
- transferOwnership(newOwner: string): ContractSendMethod
Parameters
Returns ContractSendMethod