mirror of
https://github.com/Rate-Limiting-Nullifier/rln-docs.git
synced 2026-01-09 15:28:03 -05:00
chore: update smart-contract parameters
This commit is contained in:
committed by
GitHub
parent
07b66a814a
commit
19e150bb78
@@ -22,6 +22,7 @@ Constructor gets all the necessary parameters for initialization of the contract
|
||||
|
||||
It takes following parameters:
|
||||
* minimalDeposit: minimal membership deposit, cost of 1 message;
|
||||
* maximalRate: maximal rate - maximum amount of messages one can send;
|
||||
* depth: depth of the merkle tree;
|
||||
* feePercentage: fee percentage;
|
||||
* feeReceiver: address of the fee receiver;
|
||||
@@ -63,4 +64,4 @@ You may have a question - who's fees receiver. In general that's the application
|
||||
We recommend to burn the fees.
|
||||
|
||||
But it's important to understand - to burn (send to zero address or call the burn function in the contract of token) centralized ERC20 stablecoin tokens such as USDT or USDC is the synonymous with transferring money to these companies. What we recommend is to create another contract that'll be fee receiver. The tokens will be locked on the contract, and it'll only contain one function - burn.
|
||||
Anyone can call this burn function, and it'll swap locked tokens to the ETH on any DEX, pay for the caller gas and burn swapped ETH.
|
||||
Anyone can call this burn function, and it'll swap locked tokens to the ETH on any DEX, pay for the caller gas and burn swapped ETH.
|
||||
|
||||
Reference in New Issue
Block a user