Staking

Code

Github Link: https://github.com/KelvinThai/Blast_LpStaking

Address

Events, Read-Only Functions, and State-Changing Functions

OwnershipTransferred

Emitted when ownership of the contract is transferred from one address to another.

event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
Parameter Name
Description

previousOwner

The address of the previous owner.

newOwner

The address of the new owner.

Staked

Emitted when a user stakes tokens.

event Staked(address staker, uint256 amout, uint256 package);
Parameter Name
Description

staker

The address of the account that stakes tokens.

amount

The amount of tokens staked.

package

The package or level of staking associated with the stake.

UnStaked

Emitted when a user unstakes tokens.

event UnStaked(address staker, uint256 amount, uint256 package);
Parameter Name
Description

staker

The address of the account that unstakes tokens.d.

amount

The amount of tokens unstaked.

package

The new admThe package or level of staking associated with the unstake.

Last updated