v1 source realm
package v1 collects and distributes protocol fees from swaps.
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.
2
func NewProtocolFeeStateBy
Action1func NewProtocolFeeStateBy(protocolFeeStore protocol_fee.IProtocolFeeStore) *protocolFeeStateNewProtocolFeeState creates a new instance of protocolFeeState with initialized values
11
- chain stdlib
- errors stdlib
- gno.land/p/gnoswap/gnsmath package
- gno.land/p/gnoswap/rbac package
- gno.land/p/nt/bptree/v0 package
- gno.land/p/nt/ufmt/v0 package
- gno.land/r/gnoswap/access realm
- gno.land/r/gnoswap/common realm
- gno.land/r/gnoswap/halt realm
- gno.land/r/gnoswap/protocol_fee realm
- strconv stdlib