Customize
Consensus List
Set specific addresses to be added to the consensus list, when token TRANSFER from the consensus list address will generate a consensus period. For example, LP contract address, treasury address and so on.
How to Add Consensus List?
It’s recommended to add consensus list during setup and deployment when possible.
The following is an example of how to add consensus list initially.
The owner of the smart contract in this example will receive all tokens upon completion of the deployment.
In addition to this, if you want to add additional consensus lists after the deployment, you can do so by using the following forge script example.
The address added in the example will be added to the consensus lists. It represents all tokens transferred from this list of addresses (or smart contracts), and the recipient will receive the transferred amount linearly over a specific period of time.
Last updated