app.gainforest.funding.config

The funding / donations configuration for a given bumicert.

Details · record, key any
Kindrecord
Record keyany
Authorityfunding.gainforest.app
Indexed
cid bafyreifd5fbr5pyqhahdn4vmj274rmikd4jbds7t3e3dgix64fk7g4cksy

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "evmLinkRef": {
      "description": "Reference to an EVM wallet link record (app.gainforest.link.evm).",
      "properties": {
        "uri": {
          "description": "AT-URI of the app.gainforest.link.evm record.",
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "uri"
      ],
      "type": "object"
    },
    "main": {
      "description": "The funding / donations configuration for a given bumicert.",
      "key": "any",
      "record": {
        "properties": {
          "allowOversell": {
            "default": true,
            "description": "An optional field to determine if donations are accepted post the goal reach. Defaults to true (overselling is allowed).",
            "type": "boolean"
          },
          "createdAt": {
            "description": "Client-declared timestamp when this record was originally created.",
            "format": "datetime",
            "type": "string"
          },
          "goalInUSD": {
            "description": "An optional field to set a fundraising goal in USD (e.g. '1000.50').",
            "maxLength": 50,
            "type": "string"
          },
          "maxDonationInUSD": {
            "description": "Optional maximum donation amount in USD (e.g. '10000.00'). Donations above this amount will be rejected.",
            "maxLength": 50,
            "type": "string"
          },
          "minDonationInUSD": {
            "description": "Optional minimum donation amount in USD (e.g. '1.00'). Donations below this amount will be rejected.",
            "maxLength": 50,
            "type": "string"
          },
          "receivingWallet": {
            "description": "Reference to the wallet link record where funds should be received. Open union to support future wallet types (e.g. Solana, Cosmos).",
            "refs": [
              "#evmLinkRef"
            ],
            "type": "union"
          },
          "status": {
            "description": "The current status of the listing. Defaults to 'open'.",
            "knownValues": [
              "coming-soon",
              "open",
              "paused",
              "closed"
            ],
            "maxLength": 20,
            "type": "string"
          },
          "updatedAt": {
            "description": "Client-declared timestamp when this record was last updated.",
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "receivingWallet",
          "createdAt",
          "updatedAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "A record that represents the funding / donations configuration for a given bumicert. It shares the same rkey as the claim.activity (bumicert) record.",
  "id": "app.gainforest.funding.config",
  "lexicon": 1
}