Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

protocol_fee/v1 package

Overview

package v1 collects and distributes protocol fees from swaps.

This contract accumulates fees generated from trading activity and distributes them to devOps and governance stakers according to configurable percentages set through governance.

Function

NewProtocolFeeV1

func NewProtocolFeeV1(protocolFeeStore protocol_fee.IProtocolFeeStore) protocol_fee.IProtocolFee

Param

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/gnoswap/protocol_fee/v1.NewProtocolFeeV1()"

Result