Skip to content

[Feature] Add a front Service(Gas) fee charge mechanism for protocol revenue #6

Description

@Acaishiba

In our revenue model, we should charge the service fee from user along with the gas fee. Relayer will only process the msg which already allocate service fee to our protocol.

  • ServiceCharger, Which is responsible for charge certain mount of fee from users
  • TreasuryContract, which reserves the GasFee that charged from user as the protocol revenue
  • BenchmarkAdjuster, can determine and adjust the current Service(Gas) Fee level for protocol, which typically can be adjust by oracle or Admin( which is DAO, Generally speaking)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions