Zum Inhalt
HALOWERK

Finopswerk

virtual share vault flow ledger

Original deposit/mint/withdraw/redeem/donation commands determine every accepted or rejected asset/share flow, vault assets/supply and two holder balances. Explicit virtual asset1/share1 offset0 profile: deposit/redeem floor, mint/withdraw ceil. Own atomic reject-and-continue replay, not EVM transaction reversion. Initially empty, zero fees, external deposits assumed funded, no token hooks, allowances, account or security verification; no onchain action, ERC4626/fullOpenZeppelin conformity,.

POST https://finops.halowerk.com/v1/virtual-share-vault-flow-ledger

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
eventsarrayJa
reportobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "events": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4
          },
          "owner": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1
          },
          "amount_domain": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 1000
            },
            "minItems": 1,
            "maxItems": 2
          }
        },
        "required": [
          "kind",
          "owner",
          "amount_domain"
        ],
        "additionalProperties": false
      },
      "minItems": 1,
      "maxItems": 8
    },
    "report": {
      "type": "object",
      "properties": {
        "accepted": {
          "type": "array",
          "items": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 1
              },
              {
                "type": "null"
              }
            ]
          },
          "minItems": 1,
          "maxItems": 8
        },
        "asset_flows": {
          "type": "array",
          "items": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^(0|-?[1-9][0-9]{0,39})$",
                "maxLength": 41
              },
              {
                "type": "null"
              }
            ]
          },
          "minItems": 1,
          "maxItems": 8
        },
        "share_flows": {
          "type": "array",
          "items": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^(0|-?[1-9][0-9]{0,39})$",
                "maxLength": 41
              },
              {
                "type": "null"
              }
            ]
          },
          "minItems": 1,
          "maxItems": 8
        },
        "assets_after": {
          "type": "array",
          "items": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^(0|-?[1-9][0-9]{0,39})$",
                "maxLength": 41
              },
              {
                "type": "null"
              }
            ]
          },
          "minItems": 1,
          "maxItems": 8
        },
        "supply_after": {
          "type": "array",
          "items": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^(0|-?[1-9][0-9]{0,39})$",
                "maxLength": 41
              },
              {
                "type": "null"
              }
            ]
          },
          "minItems": 1,
          "maxItems": 8
        },
        "holders_after": {
          "type": "array",
          "items": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^(0|-?[1-9][0-9]{0,39})$",
                  "maxLength": 41
                },
                {
                  "type": "null"
                }
              ]
            },
            "minItems": 2,
            "maxItems": 2
          },
          "minItems": 1,
          "maxItems": 8
        },
        "final_assets": {
          "anyOf": [
            {
              "type": "string",
              "pattern": "^(0|-?[1-9][0-9]{0,39})$",
              "maxLength": 41
            },
            {
              "type": "null"
            }
          ]
        },
        "final_supply": {
          "anyOf": [
            {
              "type": "string",
              "pattern": "^(0|-?[1-9][0-9]{0,39})$",
              "maxLength": 41
            },
            {
              "type": "null"
            }
          ]
        },
        "final_holders": {
          "type": "array",
          "items": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^(0|-?[1-9][0-9]{0,39})$",
                "maxLength": 41
              },
              {
                "type": "null"
              }
            ]
          },
          "minItems": 2,
          "maxItems": 2
        }
      },
      "required": [
        "accepted",
        "asset_flows",
        "share_flows",
        "assets_after",
        "supply_after",
        "holders_after",
        "final_assets",
        "final_supply",
        "final_holders"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "events",
    "report"
  ],
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "events": [
    {
      "kind": 0,
      "owner": 0,
      "amount_domain": [
        100
      ]
    },
    {
      "kind": 1,
      "owner": 1,
      "amount_domain": [
        50
      ]
    },
    {
      "kind": 2,
      "owner": 0,
      "amount_domain": [
        25
      ]
    },
    {
      "kind": 3,
      "owner": 1,
      "amount_domain": [
        10
      ]
    }
  ],
  "report": {
    "accepted": [
      1,
      1,
      1,
      1
    ],
    "asset_flows": [
      "100",
      "50",
      "-25",
      "-10"
    ],
    "share_flows": [
      "100",
      "50",
      "-25",
      "-10"
    ],
    "assets_after": [
      "100",
      "150",
      "125",
      "115"
    ],
    "supply_after": [
      "100",
      "150",
      "125",
      "115"
    ],
    "holders_after": [
      [
        "100",
        "0"
      ],
      [
        "100",
        "50"
      ],
      [
        "75",
        "50"
      ],
      [
        "75",
        "40"
      ]
    ],
    "final_assets": "115",
    "final_supply": "115",
    "final_holders": [
      "75",
      "40"
    ]
  }
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-07, 02:42 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →