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

v1 source realm

package v1 collects and distributes protocol fees from swaps.

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.

Functions 2

func NewProtocolFeeStateBy

Action
1func NewProtocolFeeStateBy(protocolFeeStore protocol_fee.IProtocolFeeStore) *protocolFeeState
source

NewProtocolFeeState creates a new instance of protocolFeeState with initialized values

Imports 11

Source Files 10