Vault
Code
Github Link: https://github.com/KelvinThai/Blast_LpStaking
Address
Blast testnet(Sepolia): 0xc04ce7709b8d2503a50F0B62465d6eEDA6217591
Blast mainet: <coming soon>
Events, Read-Only Functions, and State-Changing Functions
HsETHRepaid
Emitted when HsETH is repaid by a staker.
event HsETHRepaid(address staker, uint256 amount);staker
The address of the staker who repaid HsETH.
amount
The amount of HsETH repaid.
OwnershipTransferred
Emitted when ownership of the contract is transferred from one address to another.
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);previousOwner
The address of the previous owner.
newOwner
The address of the new owner.
Staked
Emitted when tokens are staked by a staker.
event Staked(address staker, uint256 amount);staker
The address of the staker who staked tokens..
amount
The amount of tokens staked.
UnStaked
Emitted when tokens are unstaked by a staker.
staker
The address of the staker who unstaked tokens.
amount
The amount of tokens unstaked.
This is a list of functions without parameters:
MAX_FEE
2
MIN_FEE
0
sFee
0
sHsETH
1011130000000000000000
sTotalStaked
18730000000000000020
sTotalUnStaked
5643999999999999980
This is a list of functions along with their parameters:
@param staker The address of the staker to retrieve the available balance for.
@return The amount of tokens available for withdrawal by the specified staker.
Retrieves the available balance for a specific staker.
@param staker The address of the staker to retrieve the staked balance for.
@return The amount of tokens staked by the specified staker.
Retrieves the balance of staked tokens for a specific staker.
@param staker The address of the staker to retrieve the unstaked balance for.
@return The amount of tokens that are currently unstaked for the specified staker.
Retrieves the balance of unstaked tokens for a specific staker.
@param amount The amount of HsETH rewards to claim.
Claims HsETH rewards.
Claims yield.
Renounces ownership of the contract.
@param amount The amount of HsETH to repay.
Repays HsETH.
@param newFee The new fee percentage to be set.
Sets the fee percentage for HsETH repayments.
Allows users to stake Ether into the contract.
@param newOwner The address of the new owner.
Transfers ownership of the contract to a new owner.
@param amount The amount of tokens to unstakes
Unstakes tokens from the staker's balance.
Last updated