BarnBridge · Schema

SmartYieldPool

A BarnBridge SMART Yield structured-product pool with senior and junior tranches.

DeFiRisk TokenizationYieldBlockchainEthereumSMART YieldStructured ProductsTranches

Properties

Name Type Description
protocolId string Originator protocol identifier (e.g. compound/v2, aave/v2).
smartYieldAddress string Ethereum address of the SMART Yield pool contract.
controllerAddress string
modelAddress string
providerAddress string
oracleAddress string
juniorBondAddress string
seniorBondAddress string
cTokenAddress string
underlyingAddress string
underlyingSymbol string
underlyingDecimals integer
rewardPoolAddress string
state object
View JSON Schema on GitHub

JSON Schema

smart-yield-pool.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/barnbridge/main/json-schema/smart-yield-pool.json",
  "title": "SmartYieldPool",
  "description": "A BarnBridge SMART Yield structured-product pool with senior and junior tranches.",
  "type": "object",
  "properties": {
    "protocolId": {
      "type": "string",
      "description": "Originator protocol identifier (e.g. compound/v2, aave/v2).",
      "example": "compound/v2"
    },
    "smartYieldAddress": {
      "type": "string",
      "description": "Ethereum address of the SMART Yield pool contract.",
      "pattern": "^0x[0-9a-fA-F]{40}$"
    },
    "controllerAddress": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{40}$"
    },
    "modelAddress": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{40}$"
    },
    "providerAddress": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{40}$"
    },
    "oracleAddress": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{40}$"
    },
    "juniorBondAddress": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{40}$"
    },
    "seniorBondAddress": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{40}$"
    },
    "cTokenAddress": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{40}$"
    },
    "underlyingAddress": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{40}$"
    },
    "underlyingSymbol": {
      "type": "string",
      "example": "USDC"
    },
    "underlyingDecimals": {
      "type": "integer",
      "minimum": 0,
      "maximum": 18,
      "example": 6
    },
    "rewardPoolAddress": {
      "type": "string",
      "pattern": "^(0x[0-9a-fA-F]{40})?$"
    },
    "state": {
      "$ref": "#/$defs/PoolState"
    }
  },
  "required": [
    "protocolId",
    "smartYieldAddress",
    "underlyingSymbol",
    "underlyingDecimals",
    "state"
  ],
  "$defs": {
    "PoolState": {
      "type": "object",
      "description": "Current on-chain state snapshot for the pool.",
      "properties": {
        "blockNumber": {
          "type": "integer"
        },
        "blockTimestamp": {
          "type": "string",
          "format": "date-time"
        },
        "seniorLiquidity": {
          "type": "string",
          "description": "Senior tranche liquidity in underlying token (decimal string)."
        },
        "juniorLiquidity": {
          "type": "string",
          "description": "Junior tranche liquidity in underlying token (decimal string)."
        },
        "jTokenPrice": {
          "type": "string",
          "description": "Price of 1 jToken in underlying, normalized to 18 decimals."
        },
        "seniorApy": {
          "type": "number"
        },
        "juniorApy": {
          "type": "number"
        },
        "juniorAPYPast30DAvg": {
          "type": "number"
        },
        "originatorApy": {
          "type": "number"
        },
        "originatorNetApy": {
          "type": "number"
        },
        "avgSeniorMaturityDays": {
          "type": "number"
        },
        "numberOfSeniors": {
          "type": "integer"
        },
        "numberOfJuniors": {
          "type": "integer"
        },
        "numberOfJuniorsLocked": {
          "type": "integer"
        },
        "juniorLiquidityLocked": {
          "type": "string"
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/smart-yield-pool"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.