Sending Reward Token to the Extension

The host of a contract sends the reward tokens for all the created setups to the extension. The extension must receive, at a minimum, enough tokens to reward every setup created for the contract. If it doesn't, the setups will still be correctly created within the contract, but won't be able to be activated.

If any reward tokens are from a reserve, it is best practice to deploy the contract and the extension and then immediately send to the extension the minimum amount of reward tokens required by all setups.

If the host is an Organization and it uses the Farming Manager Component, it can directly send the required token amount from the Organization TreasuryManager to the Farming contract.

If the host is a DAO or other type of project, you must use your appropriate procedure to transfer the tokens to the extension contract.

After the extension has received the tokens, the host does not need to also then manually transfer them to the farming contract. This will happen automatically when the setup(s) are activated.

See the Activate/Deactivate section for more details.

Last updated