- Preparing search index...
- The search index is not available
handle-sdk
Constructors
constructor
- new LpStakingSDK(c?): LpStakingSDK
-
Parameters
-
Optional
c: LpStakingConfig
Optional
Properties
config
config: LpStakingConfig
Methods
claim
- claim(poolName, signer, options?): Promise<ContractTransaction>
-
Parameters
-
-
signer: Signer
-
options: Overrides = {}
Returns Promise<ContractTransaction>
Private
getContract
- getContract(poolName, signer): Staking
-
Returns Staking
Private
getMulticall
- getMulticall(account, poolDetails): Promisified<LpStakingPoolMulticall>
-
Parameters
-
account: undefined | string
-
Returns Promisified<LpStakingPoolMulticall>
getPools
- getPools(account, signer): Promise<LpStakingData[]>
-
Parameters
-
account: undefined | string
-
signer: Signer
Private
getTokenDepositedIntoLP
- getTokenDepositedIntoLP(signer): Promise<{
[key: string]: BigNumber;
}[]>
-
Returns Promise<{
[key: string]: BigNumber;
}[]>
stake
- stake(args, signer, options?): Promise<ContractTransaction>
-
Parameters
-
args: StakeAndWithdrawArgs
-
signer: Signer
-
options: Overrides = {}
Returns Promise<ContractTransaction>
unstake
- unstake(args, signer, options?): Promise<ContractTransaction>
-
Parameters
-
args: StakeAndWithdrawArgs
-
signer: Signer
-
options: Overrides = {}
Returns Promise<ContractTransaction>