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

external_deposit_fee.gno

SetDepositGnsAmount

func SetDepositGnsAmount(
	cur realm,
	amount int64
)

SetDepositGnsAmount sets the amount of GNS to deposit when creating an external incentive.

Parameters

Name
Type
Description

cur

realm

Pass cross as argument.

amount

int64

The amount of GNS needed to create an external incentive.

SetMinimumRewardAmount

SetMinimumRewardAmount sets the minimum reward amount to distribute.

Parameters

Name
Type
Description

cur

realm

Pass cross as argument.

amount

int64

minimum reward amount

SetTokenMinimumRewardAmount

SetTokenMinimumRewardAmount sets minimum reward amounts per token.

SetUnStakingFee

SetUnStakingFee modifies the Unstaking Fee.

Parameters

Name
Type
Description

cur

realm

Pass cross as argument.

fee

int64

The rate that will be set as the new Unstaking Fee. (the value should be in bps)

Last updated