|
8530 | 8530 | "type": "object", |
8531 | 8531 | "description": "Keyed by year (e.g. '2024'). Each value is an object of line items.", |
8532 | 8532 | "additionalProperties": { |
8533 | | - "$ref": "#/components/schemas/FinancialPeriod" |
| 8533 | + "type": "object", |
| 8534 | + "description": "Financial line items for a time period. Common line items include Gross Protocol Revenue, Cost Of Revenue, Gross Profit, Token Holder Net Income, Incentives, and Earnings. Each line item has a value and optional by-label breakdown.", |
| 8535 | + "additionalProperties": { |
| 8536 | + "type": "object", |
| 8537 | + "properties": { |
| 8538 | + "value": { |
| 8539 | + "type": "number", |
| 8540 | + "description": "Total USD value for this line item in the period", |
| 8541 | + "example": 456472580 |
| 8542 | + }, |
| 8543 | + "by-label": { |
| 8544 | + "type": "object", |
| 8545 | + "description": "Breakdown by label (e.g. Borrow Interest, Liquidation Fees, Flash Loans). Not present for all line items.", |
| 8546 | + "nullable": true, |
| 8547 | + "additionalProperties": { "type": "number" }, |
| 8548 | + "example": { |
| 8549 | + "Borrow Interest": 416862749, |
| 8550 | + "Liquidation Fees": 31413361, |
| 8551 | + "Flashloan Fees": 1441 |
| 8552 | + } |
| 8553 | + } |
| 8554 | + } |
| 8555 | + }, |
| 8556 | + "example": { |
| 8557 | + "Gross Protocol Revenue": { |
| 8558 | + "value": 456472580, |
| 8559 | + "by-label": { |
| 8560 | + "Borrow Interest": 416862749, |
| 8561 | + "Liquidation Fees": 31413361, |
| 8562 | + "Flashloan Fees": 1441 |
| 8563 | + } |
| 8564 | + }, |
| 8565 | + "Cost Of Revenue": { |
| 8566 | + "value": 384670312, |
| 8567 | + "by-label": { "Borrow Interest": 356424169, "Liquidation Fees": 28246110 } |
| 8568 | + }, |
| 8569 | + "Gross Profit": { "value": 71802305 }, |
| 8570 | + "Token Holder Net Income": { "value": 0 }, |
| 8571 | + "Incentives": { |
| 8572 | + "value": 4895806.72, |
| 8573 | + "by-label": { "stkAAVE Rewards": 19461161.65, "Lending/Borrowing Rewards": 1197840.72 } |
| 8574 | + }, |
| 8575 | + "Earnings": { "value": 66906498.28 } |
| 8576 | + } |
8534 | 8577 | } |
8535 | 8578 | }, |
8536 | 8579 | "quarterly": { |
8537 | 8580 | "type": "object", |
8538 | 8581 | "description": "Keyed by quarter (e.g. '2024-Q1'). Each value is an object of line items.", |
8539 | 8582 | "additionalProperties": { |
8540 | | - "$ref": "#/components/schemas/FinancialPeriod" |
| 8583 | + "type": "object", |
| 8584 | + "description": "Financial line items for a time period.", |
| 8585 | + "additionalProperties": { |
| 8586 | + "type": "object", |
| 8587 | + "properties": { |
| 8588 | + "value": { |
| 8589 | + "type": "number", |
| 8590 | + "description": "Total USD value for this line item in the period", |
| 8591 | + "example": 456472580 |
| 8592 | + }, |
| 8593 | + "by-label": { |
| 8594 | + "type": "object", |
| 8595 | + "description": "Breakdown by label. Not present for all line items.", |
| 8596 | + "nullable": true, |
| 8597 | + "additionalProperties": { "type": "number" } |
| 8598 | + } |
| 8599 | + } |
| 8600 | + } |
8541 | 8601 | } |
8542 | 8602 | }, |
8543 | 8603 | "monthly": { |
8544 | 8604 | "type": "object", |
8545 | 8605 | "description": "Keyed by month (e.g. '2024-01'). Each value is an object of line items.", |
8546 | 8606 | "additionalProperties": { |
8547 | | - "$ref": "#/components/schemas/FinancialPeriod" |
| 8607 | + "type": "object", |
| 8608 | + "description": "Financial line items for a time period.", |
| 8609 | + "additionalProperties": { |
| 8610 | + "type": "object", |
| 8611 | + "properties": { |
| 8612 | + "value": { |
| 8613 | + "type": "number", |
| 8614 | + "description": "Total USD value for this line item in the period", |
| 8615 | + "example": 456472580 |
| 8616 | + }, |
| 8617 | + "by-label": { |
| 8618 | + "type": "object", |
| 8619 | + "description": "Breakdown by label. Not present for all line items.", |
| 8620 | + "nullable": true, |
| 8621 | + "additionalProperties": { "type": "number" } |
| 8622 | + } |
| 8623 | + } |
| 8624 | + } |
8548 | 8625 | } |
8549 | 8626 | } |
8550 | 8627 | } |
|
14141 | 14218 | } |
14142 | 14219 | } |
14143 | 14220 | } |
14144 | | - }, |
14145 | | - "components": { |
14146 | | - "schemas": { |
14147 | | - "FinancialPeriod": { |
14148 | | - "type": "object", |
14149 | | - "description": "Financial line items for a time period. Common line items include Gross Protocol Revenue, Cost Of Revenue, Gross Profit, Token Holder Net Income, Incentives, and Earnings. Each line item has a value and optional by-label breakdown.", |
14150 | | - "additionalProperties": { |
14151 | | - "type": "object", |
14152 | | - "properties": { |
14153 | | - "value": { |
14154 | | - "type": "number", |
14155 | | - "description": "Total USD value for this line item in the period", |
14156 | | - "example": 456472580 |
14157 | | - }, |
14158 | | - "by-label": { |
14159 | | - "type": "object", |
14160 | | - "description": "Breakdown by label (e.g. Borrow Interest, Liquidation Fees, Flash Loans). Not present for all line items.", |
14161 | | - "nullable": true, |
14162 | | - "additionalProperties": { |
14163 | | - "type": "number" |
14164 | | - }, |
14165 | | - "example": { |
14166 | | - "Borrow Interest": 416862749, |
14167 | | - "Liquidation Fees": 31413361, |
14168 | | - "Flashloan Fees": 1441 |
14169 | | - } |
14170 | | - } |
14171 | | - } |
14172 | | - }, |
14173 | | - "example": { |
14174 | | - "Gross Protocol Revenue": { |
14175 | | - "value": 456472580, |
14176 | | - "by-label": { |
14177 | | - "Borrow Interest": 416862749, |
14178 | | - "Liquidation Fees": 31413361, |
14179 | | - "Flashloan Fees": 1441 |
14180 | | - } |
14181 | | - }, |
14182 | | - "Cost Of Revenue": { |
14183 | | - "value": 384670312, |
14184 | | - "by-label": { |
14185 | | - "Borrow Interest": 356424169, |
14186 | | - "Liquidation Fees": 28246110 |
14187 | | - } |
14188 | | - }, |
14189 | | - "Gross Profit": { |
14190 | | - "value": 71802305, |
14191 | | - "by-label": { |
14192 | | - "Borrow Interest": 60438576, |
14193 | | - "Liquidation Fees": 3167210, |
14194 | | - "Flashloan Fees": 1441 |
14195 | | - } |
14196 | | - }, |
14197 | | - "Token Holder Net Income": { |
14198 | | - "value": 0 |
14199 | | - }, |
14200 | | - "Incentives": { |
14201 | | - "value": 4895806.72, |
14202 | | - "by-label": { |
14203 | | - "stkAAVE Rewards": 19461161.65, |
14204 | | - "Lending/Borrowing Rewards": 1197840.72 |
14205 | | - } |
14206 | | - }, |
14207 | | - "Earnings": { |
14208 | | - "value": 66906498.28 |
14209 | | - } |
14210 | | - } |
14211 | | - } |
14212 | | - } |
14213 | 14221 | } |
14214 | 14222 | } |
0 commit comments