vacp2p / rln-contract

RLN contract
Apache License 2.0
13 stars 6 forks source link

Protocol Fees (Set to 20%) #5

Closed kgrgpg closed 1 year ago

kgrgpg commented 2 years ago

This is the implementation for incorporating the fees that will be reserved for protocol usage. The commission collected can be used for incentivising different stakeholders. The current fees is set to 20 % and hard coded to take into account the format of decimals in solidity language. This code only aims to hold back the commission and does not show how to utilise or withdraw it from the contract at the moment. The issue for the same can be found at https://github.com/vacp2p/rfc/issues/485

staheri14 commented 2 years ago

Also, following our call, please create an issue for passing the fee percentage as a constructor argument (instead of being hardcoded).

kgrgpg commented 1 year ago

@staheri14 The protocol fees setting via constructor issue can be found at https://github.com/vacp2p/rln-contract/issues/8

rymnc commented 1 year ago

Closing this PR as tokenomics hasn't been allotted to rlnp2p, yet