For the complete documentation index, see llms.txt. This page is also available as Markdown.

protocol_fee_unstaking.gno

SetUnStakingFee

func SetUnStakingFee(
	cur realm,
	fee uint64
)

SetUnStakingFee sets the unstaking fee rate in basis points (0-1,000; 100 = 1%).

Halt check: reverts while the Staker halt scope is active.

Parameters

Name
Type
Description

cur

realm

Current realm context; callers use cross(cur) when crossing into this realm.

fee

uint64

Unstaking fee rate in basis points, from 0 through 1,000 inclusive.

source

Last updated