protocol_fee_pool_creation.gno

Getter and setter functions for the Pool Creation Fee, the protocol fee charged when creating a new pool. The default value is set to 100 GNS (=100,000,000 uGNS).

GetPoolCreationFee

func GetPoolCreationFee()

Returns the current Pool Creation Fee.

Return Values

Name
Type
Description

poolCreationFee

uint64

The current Pool Creation Fee.

SetPoolCreationFee

func SetPoolCreationFee(
  fee uint64
)

Modifies the Pool Creation Fee.

Parameters

Name
Type
Description

fee

uint64

The amount of tokens that will be set as the new Pool Creation Fee. (the amount should be in uTokens)

Last updated

Was this helpful?