{
  "_": "DRAFT v0.2 of the $GREED data contract for Dash Platform, in the versioned shape the protocol library (@dashevo/wasm-dpp 4.1.1) deserializes: $formatVersion on the contract (1, the version that carries tokens) and 0 on every versioned sub-object. On 2026-09-28 the three document types passed the library's full validation; the token configuration could not be checked by the library's JavaScript constructor, which builds V0 contracts only, so the token fields stand on the source and the docs until the SDK's contract factory or testnet says otherwise. Identities are placeholders. Testnet first.",
  "$formatVersion": "1",
  "ownerId": "IDENTITY_OF_THE_PROJECT",
  "version": 1,
  "config": {
    "$formatVersion": "0",
    "canBeDeleted": false,
    "readonly": false,
    "keepsHistory": true,
    "documentsKeepHistoryContractDefault": true,
    "documentsMutableContractDefault": false,
    "documentsCanBeDeletedContractDefault": false
  },
  "keywords": [
    "greed",
    "equity",
    "receipts",
    "outlier.systems"
  ],
  "description": "$GREED: a value held. Fixed at birth; minted only against accepted receipts; every transfer with a note; harvest only from real revenue above the reserve; roles are not money.",
  "groups": {
    "0": {
      "$formatVersion": "0",
      "_": "THE COUNCIL. Named before registration; immutable after. No single member holds power at or above requiredPower.",
      "members": {
        "IDENTITY_A": 3,
        "IDENTITY_B": 2,
        "IDENTITY_C": 2,
        "IDENTITY_D": 1
      },
      "requiredPower": 4
    }
  },
  "tokens": {
    "0": {
      "$formatVersion": "0",
      "conventions": {
        "$formatVersion": "0",
        "decimals": 0,
        "localizations": {
          "en": {
            "singularForm": "greed",
            "pluralForm": "greed",
            "shouldCapitalize": true
          }
        }
      },
      "conventionsChangeRules": {
        "$formatVersion": "0",
        "authorizedToMakeChange": "NoOne",
        "adminActionTakers": "NoOne",
        "changingAuthorizedActionTakersToNoOneAllowed": false,
        "changingAdminActionTakersToNoOneAllowed": false,
        "selfChangingAdminActionTakersAllowed": false
      },
      "baseSupply": 0,
      "maxSupply": 1000000,
      "maxSupplyChangeRules": {
        "$formatVersion": "0",
        "authorizedToMakeChange": "NoOne",
        "adminActionTakers": "NoOne",
        "changingAuthorizedActionTakersToNoOneAllowed": false,
        "changingAdminActionTakersToNoOneAllowed": false,
        "selfChangingAdminActionTakersAllowed": false
      },
      "keepsHistory": {
        "$formatVersion": "0",
        "keepsTransferHistory": true,
        "keepsFreezingHistory": true,
        "keepsMintingHistory": true,
        "keepsBurningHistory": true,
        "keepsDirectPricingHistory": true,
        "keepsDirectPurchaseHistory": true
      },
      "startAsPaused": false,
      "allowTransferToFrozenBalance": false,
      "distributionRules": {
        "$formatVersion": "0",
        "perpetualDistribution": null,
        "perpetualDistributionRules": {
          "$formatVersion": "0",
          "authorizedToMakeChange": "NoOne",
          "adminActionTakers": "NoOne",
          "changingAuthorizedActionTakersToNoOneAllowed": false,
          "changingAdminActionTakersToNoOneAllowed": false,
          "selfChangingAdminActionTakersAllowed": false
        },
        "preProgrammedDistribution": null,
        "newTokensDestinationIdentity": null,
        "newTokensDestinationIdentityRules": {
          "$formatVersion": "0",
          "authorizedToMakeChange": "NoOne",
          "adminActionTakers": "NoOne",
          "changingAuthorizedActionTakersToNoOneAllowed": false,
          "changingAdminActionTakersToNoOneAllowed": false,
          "selfChangingAdminActionTakersAllowed": false
        },
        "mintingAllowChoosingDestination": true,
        "mintingAllowChoosingDestinationRules": {
          "$formatVersion": "0",
          "authorizedToMakeChange": "NoOne",
          "adminActionTakers": "NoOne",
          "changingAuthorizedActionTakersToNoOneAllowed": false,
          "changingAdminActionTakersToNoOneAllowed": false,
          "selfChangingAdminActionTakersAllowed": false
        },
        "changeDirectPurchasePricingRules": {
          "$formatVersion": "0",
          "authorizedToMakeChange": "NoOne",
          "adminActionTakers": "NoOne",
          "changingAuthorizedActionTakersToNoOneAllowed": false,
          "changingAdminActionTakersToNoOneAllowed": false,
          "selfChangingAdminActionTakersAllowed": false
        }
      },
      "marketplaceRules": {
        "$formatVersion": "0",
        "tradeMode": "NotTradeable",
        "tradeModeChangeRules": {
          "$formatVersion": "0",
          "authorizedToMakeChange": "NoOne",
          "adminActionTakers": "NoOne",
          "changingAuthorizedActionTakersToNoOneAllowed": false,
          "changingAdminActionTakersToNoOneAllowed": false,
          "selfChangingAdminActionTakersAllowed": false
        }
      },
      "manualMintingRules": {
        "$formatVersion": "0",
        "authorizedToMakeChange": {
          "Group": 0
        },
        "adminActionTakers": "NoOne",
        "changingAuthorizedActionTakersToNoOneAllowed": false,
        "changingAdminActionTakersToNoOneAllowed": false,
        "selfChangingAdminActionTakersAllowed": false
      },
      "manualBurningRules": {
        "$formatVersion": "0",
        "authorizedToMakeChange": {
          "Group": 0
        },
        "adminActionTakers": "NoOne",
        "changingAuthorizedActionTakersToNoOneAllowed": false,
        "changingAdminActionTakersToNoOneAllowed": false,
        "selfChangingAdminActionTakersAllowed": false
      },
      "freezeRules": {
        "$formatVersion": "0",
        "authorizedToMakeChange": {
          "Group": 0
        },
        "adminActionTakers": "NoOne",
        "changingAuthorizedActionTakersToNoOneAllowed": false,
        "changingAdminActionTakersToNoOneAllowed": false,
        "selfChangingAdminActionTakersAllowed": false
      },
      "unfreezeRules": {
        "$formatVersion": "0",
        "authorizedToMakeChange": {
          "Group": 0
        },
        "adminActionTakers": "NoOne",
        "changingAuthorizedActionTakersToNoOneAllowed": false,
        "changingAdminActionTakersToNoOneAllowed": false,
        "selfChangingAdminActionTakersAllowed": false
      },
      "destroyFrozenFundsRules": {
        "$formatVersion": "0",
        "authorizedToMakeChange": {
          "Group": 0
        },
        "adminActionTakers": "NoOne",
        "changingAuthorizedActionTakersToNoOneAllowed": false,
        "changingAdminActionTakersToNoOneAllowed": false,
        "selfChangingAdminActionTakersAllowed": false
      },
      "emergencyActionRules": {
        "$formatVersion": "0",
        "authorizedToMakeChange": {
          "Group": 0
        },
        "adminActionTakers": "NoOne",
        "changingAuthorizedActionTakersToNoOneAllowed": false,
        "changingAdminActionTakersToNoOneAllowed": false,
        "selfChangingAdminActionTakersAllowed": false
      },
      "mainControlGroup": 0,
      "mainControlGroupCanBeModified": "NoOne",
      "description": "$GREED. A value held. Minted only against accepted receipts by the council. Never traded on this contract. Harvest only from real revenue above the reserve.",
      "_laws": {
        "01": "Fixed at birth: maxSupply set here; maxSupplyChangeRules locked to NoOne, and it may never be handed to anyone.",
        "02": "Earned by delivery: no perpetual or pre-programmed distribution exists; every mint is a manual mint by the council against a receipt document.",
        "03": "The first grant waits for the first receipt: the app refuses a mint whose receipt document is not closed.",
        "04": "Nothing unearned circulates: baseSupply is 0; freeze, unfreeze and destroyFrozenFunds sit with the council, never one identity.",
        "05": "Given with a note: transfers carry a note; the receipt, badge and harvest document types live in this same contract.",
        "06": "Harvest above the reserve, never promised: no distribution rule pays holders; a harvest is an app-run transfer from the treasury identity, recorded as a harvest document, paused during the count.",
        "07": "Roles are not money: the token has no vote; mainControlGroup is the council and it cannot be reassigned."
      }
    }
  },
  "documentSchemas": {
    "receipt": {
      "_": "One accepted deliverable. The mint that follows points at this document. Immutable once created.",
      "type": "object",
      "properties": {
        "season": {
          "type": "integer",
          "minimum": 1,
          "position": 0
        },
        "who": {
          "type": "array",
          "byteArray": true,
          "minItems": 32,
          "maxItems": 32,
          "position": 1
        },
        "what": {
          "type": "string",
          "maxLength": 280,
          "position": 2
        },
        "evidence": {
          "type": "string",
          "maxLength": 512,
          "position": 3
        },
        "acceptedAt": {
          "type": "integer",
          "position": 4
        },
        "minted": {
          "type": "integer",
          "minimum": 1,
          "position": 5
        },
        "note": {
          "type": "string",
          "maxLength": 2048,
          "position": 6
        }
      },
      "required": [
        "season",
        "who",
        "what",
        "evidence",
        "acceptedAt",
        "minted",
        "note"
      ],
      "indices": [
        {
          "name": "bySeason",
          "properties": [
            {
              "season": "asc"
            }
          ],
          "unique": false
        },
        {
          "name": "byWho",
          "properties": [
            {
              "who": "asc"
            }
          ],
          "unique": false
        }
      ],
      "documentsMutable": false,
      "canBeDeleted": false,
      "additionalProperties": false
    },
    "badge": {
      "_": "Standing, not money. Non-transferable; created and deleted by the council only (layer 02: the delivery streak).",
      "type": "object",
      "properties": {
        "holder": {
          "type": "array",
          "byteArray": true,
          "minItems": 32,
          "maxItems": 32,
          "position": 0
        },
        "kind": {
          "type": "string",
          "maxLength": 32,
          "position": 1
        },
        "seasons": {
          "type": "integer",
          "minimum": 1,
          "position": 2
        },
        "grantedAt": {
          "type": "integer",
          "position": 3
        }
      },
      "required": [
        "holder",
        "kind",
        "seasons",
        "grantedAt"
      ],
      "indices": [
        {
          "name": "byHolder",
          "properties": [
            {
              "holder": "asc"
            }
          ],
          "unique": false
        }
      ],
      "transferable": 0,
      "tradeMode": 0,
      "documentsMutable": false,
      "canBeDeleted": true,
      "additionalProperties": false
    },
    "harvest": {
      "_": "The published split of one harvest. A record of a payment made, never a schedule of payments to come.",
      "type": "object",
      "properties": {
        "season": {
          "type": "integer",
          "minimum": 1,
          "position": 0
        },
        "total": {
          "type": "integer",
          "minimum": 0,
          "position": 1
        },
        "reserve": {
          "type": "integer",
          "minimum": 0,
          "position": 2
        },
        "source": {
          "type": "string",
          "maxLength": 512,
          "position": 3
        },
        "split": {
          "type": "string",
          "maxLength": 4096,
          "position": 4
        },
        "paidAt": {
          "type": "integer",
          "position": 5
        }
      },
      "required": [
        "season",
        "total",
        "reserve",
        "source",
        "split",
        "paidAt"
      ],
      "indices": [
        {
          "name": "bySeason",
          "properties": [
            {
              "season": "asc"
            }
          ],
          "unique": true
        }
      ],
      "documentsMutable": false,
      "canBeDeleted": false,
      "additionalProperties": false
    }
  }
}
