set_reward_per_second
An entrypoint that setups a new reward per second in QUIPU tokens for the specified farm. Can update rewards per second for a group of farms in one transaction.
Call parameters
Field
Type
Description
fid
fid_type (nat)
Farm's ID
reward_per_second
nat
New reward per second
Usage
Errors
Not-admin
-sender
of the transaction is not current administrator.QSystem/farm-not-set
- farming withfid
parameter doesn't exist.
Last updated