Govwerk
quadratic funding calc
Caps individual contributions when requested, computes each project’s raw quadratic match as (sum sqrt(contribution))² minus direct contributions, and allocates a fixed matching pool proportionally. It does not detect Sybil identities, move funds, or decide project eligibility.
POST https://gov.halowerk.com/v1/quadratic-funding-calcEingaben
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
| contributions | array | Ja | |
| matching_pool | number | Ja | |
| per_contribution_cap | number | Nein |
Vollständiges Eingabeschema anzeigen
{
"type": "object",
"required": [
"contributions",
"matching_pool"
],
"additionalProperties": false,
"properties": {
"contributions": {
"type": "array",
"minItems": 1,
"maxItems": 50000,
"items": {
"type": "object",
"required": [
"project_id",
"contributor_id",
"amount"
],
"additionalProperties": false,
"properties": {
"project_id": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"contributor_id": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"amount": {
"type": "number",
"minimum": 1e-06,
"maximum": 1000000000000000
}
}
}
},
"matching_pool": {
"type": "number",
"minimum": 0,
"maximum": 1000000000000000000
},
"per_contribution_cap": {
"type": "number",
"minimum": 1e-06,
"maximum": 1000000000000000
}
}
}Veröffentlichtes Eingabebeispiel
{
"contributions": [
{
"project_id": "public-data",
"contributor_id": "alice",
"amount": 25
},
{
"project_id": "public-data",
"contributor_id": "bob",
"amount": 100
},
{
"project_id": "audit-tools",
"contributor_id": "alice",
"amount": 64
},
{
"project_id": "audit-tools",
"contributor_id": "carol",
"amount": 36
}
],
"matching_pool": 1000,
"per_contribution_cap": 100
}Ergebnis & Dokumentation
Veröffentlichtes Ergebnisschema anzeigen
{
"$ref": "https://gov.halowerk.com/v1/quadratic-funding-calc/schema#/outputSchema"
}Veröffentlichtes Ergebnisbeispiel öffnen
Maschinenlesbare Dokumentation dieses Hubs
Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.
Weitere Endpunkte dieses Hubs
- Govwerk0,003 USDC
delegate alignment
POSThttps://gov.halowerk.com/v1/delegate-alignmentJoins caller-supplied vote vectors by proposal ID, encodes against/abstain/for as -1/0/1, and computes weighted cosine similarity plus exact agreement. It describes only supplied overlapping votes and does not infer ideology or future behav
- Govwerk0,003 USDC
proposal summary
POSThttps://gov.halowerk.com/v1/proposal-summarySplits caller-supplied proposal text into sentences, scores each sentence by normalized non-stopword frequency, and returns the highest-scoring sentences in source order. It does not infer unstated intent, verify claims, or produce an abstr
- Govwerk0,004 USDC
regulatory check
POSThttps://gov.halowerk.com/v1/regulatory-checkJoins scalar facts by field name and evaluates explicit equals, not-equals, numeric bound, membership, contains, and existence rules. It does not retrieve law, determine which rules apply, provide legal advice, or certify regulatory complia