protocol_fee_unstaking.gno
GetUnstakingFee
Return Values
Name
Type
Description
SetUnstakingFee
Parameters
Name
Type
Description
Last updated
Getter and setter functions for the Unstaking Fee, the protocol fee charged when a user claims the staking rewards for staking positions by unstaking positions or calling the CollectReward function. The default value is set to 100 (=1% of total staking rewards claimed).
Returns the current rate of the Unstaking Fee.
rewardFee
uint64
The current rate of the Unstaking Fee.
Modifies the Unstaking Fee.
fee
uint64
The rate that will be set as the new Unstaking Fee. (the value should be in bps)
Last updated
func GetUnstakingFee()func SetUnstakingFee(
fee uint64
)