Expand description
Transaction that updates reserve settings.
Specification:
- The transaction should mint one token:
- 1 Governance Policy Token (using reference script)
- The transaction should spend one token:
- 1 Reserve Auth Policy Token (using reference script)
- The transaction should have two outputs:
- Reserve Validator output that:
-
- has value from existing reserve UTXO
-
- has the updated Plutus Data (in our “versioned format”):
[[[Int(t0), <Encoded Token>], [Bytes(v_function_hash), Int(initial_incentive)], [Int(0)]], Constr(0, []), Int(0)]
, where<Encoded Token>
isConstr(0, [Bytes(policy_id), Bytes(asset_name)])
.
- has the updated Plutus Data (in our “versioned format”):
- Change output that keeps the Governance Token and change of other tokens
- The transaction should have three script reference inputs:
- Reserve Auth Version Utxo
- Reserve Validator Version Utxo
- Governance Policy Script
Functions§
- update_
reserve_ settings - Updates reserve settings.