Closed kgrgpg closed 1 year ago
Also, following our call, please create an issue for passing the fee percentage as a constructor argument (instead of being hardcoded).
@staheri14 The protocol fees setting via constructor issue can be found at https://github.com/vacp2p/rln-contract/issues/8
Closing this PR as tokenomics hasn't been allotted to rlnp2p, yet
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