CronCats / treasury

Autonomous treasury for enabling DAOs or any type of near account to manage multiple funds to accrue interest across different vehicles
MIT License
4 stars 2 forks source link

Treasury: Budget - Payouts, Config, etc #6

Closed TrevorJTClarke closed 2 years ago

TrevorJTClarke commented 2 years ago

Based on tiny research from Airdrop example, here's a proposed way to incorporated budgets:

  1. Create a way to group payouts into "budgets" that are based on the same cadence
  2. Each payout can be configured to an account, transfer type (near, ft, nft), recurring
  3. Recurring setting allows single time payments at the same cadence as a budget

Here's a potential flow:

  1. Owner creates a budget, starting with the first payout
  2. Owner adds one or many payouts via array of payouts
  3. Owner schedules the budget, which creates a task within croncat, returning the budget task hash
  4. Owner can: Stop budget at any time, remove payouts from within a budget, add payouts within a budget
  5. Budgets can also be configured to min/max payment totals by type. For example: Total available near would allow payouts until there is no more available near, then stop.
  6. Budgets owner can be configured to a DAO or multisig wallet.
TrevorJTClarke commented 2 years ago

NOTE: Budgets are now part of generic actions