app.gainforest.funding.config

gainforest.earth

Documentation

The funding / donations configuration for a given bumicert.

main record

The funding / donations configuration for a given bumicert.

Record Key any Any valid record key

Properties

allowOversell boolean Optional

An optional field to determine if donations are accepted post the goal reach. Defaults to true (overselling is allowed).

Default: true
createdAt string datetime Required

Client-declared timestamp when this record was originally created.

goalInUSD string Optional

An optional field to set a fundraising goal in USD (e.g. '1000.50').

maxLength: 50 bytes
maxDonationInUSD string Optional

Optional maximum donation amount in USD (e.g. '10000.00'). Donations above this amount will be rejected.

maxLength: 50 bytes
minDonationInUSD string Optional

Optional minimum donation amount in USD (e.g. '1.00'). Donations below this amount will be rejected.

maxLength: 50 bytes
receivingWallet union Required

Reference to the wallet link record where funds should be received. Open union to support future wallet types (e.g. Solana, Cosmos).

Known types:
status string Optional

The current status of the listing. Defaults to 'open'.

maxLength: 20 bytes
Known values: coming-soon, open, paused, closed
updatedAt string datetime Required

Client-declared timestamp when this record was last updated.

View raw schema
{
  "key": "any",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "receivingWallet",
      "createdAt",
      "updatedAt"
    ],
    "properties": {
      "status": {
        "type": "string",
        "maxLength": 20,
        "description": "The current status of the listing. Defaults to 'open'.",
        "knownValues": [
          "coming-soon",
          "open",
          "paused",
          "closed"
        ]
      },
      "createdAt": {
        "type": "string",
        "format": "datetime",
        "description": "Client-declared timestamp when this record was originally created."
      },
      "goalInUSD": {
        "type": "string",
        "maxLength": 50,
        "description": "An optional field to set a fundraising goal in USD (e.g. '1000.50')."
      },
      "updatedAt": {
        "type": "string",
        "format": "datetime",
        "description": "Client-declared timestamp when this record was last updated."
      },
      "allowOversell": {
        "type": "boolean",
        "default": true,
        "description": "An optional field to determine if donations are accepted post the goal reach. Defaults to true (overselling is allowed)."
      },
      "receivingWallet": {
        "refs": [
          "#evmLinkRef"
        ],
        "type": "union",
        "description": "Reference to the wallet link record where funds should be received. Open union to support future wallet types (e.g. Solana, Cosmos)."
      },
      "maxDonationInUSD": {
        "type": "string",
        "maxLength": 50,
        "description": "Optional maximum donation amount in USD (e.g. '10000.00'). Donations above this amount will be rejected."
      },
      "minDonationInUSD": {
        "type": "string",
        "maxLength": 50,
        "description": "Optional minimum donation amount in USD (e.g. '1.00'). Donations below this amount will be rejected."
      }
    }
  },
  "description": "The funding / donations configuration for a given bumicert."
}
evmLinkRef object

Reference to an EVM wallet link record (app.gainforest.link.evm).

Properties

uri string at-uri Required

AT-URI of the app.gainforest.link.evm record.

View raw schema
{
  "type": "object",
  "required": [
    "uri"
  ],
  "properties": {
    "uri": {
      "type": "string",
      "format": "at-uri",
      "description": "AT-URI of the app.gainforest.link.evm record."
    }
  },
  "description": "Reference to an EVM wallet link record (app.gainforest.link.evm)."
}

Lexicon Garden

@