Allocate a weighted payout

Split USDC by integer weights. Leftover base units go to the largest remainders with stable ID ordering.

Inputs

Result

Run the calculation to see the result.
Use this through REST or MCP

POST /api/v1/agent/treasury/programs/allocate-payout or call bitpont_treasuryWeightedPayout with these inputs.

{
  "amount": "100",
  "members": [
    {
      "id": "team-a",
      "weight": 2
    },
    {
      "id": "team-b",
      "weight": 1
    }
  ]
}

All Treasury programs →