# Valuation, harvest and accrual reporting Source: https://docs.superearn.io/en/developers/accrual-accounting Strategy NAV estimation, vault lockedProfit buffer mechanics, harvest allocations, and statutory period-close adjustments. [Reporting TL;DR](/en/developers/financial-data#tldr) · [Partner accounting](/en/developers/financial-data) · [Reconciliation walkthrough](/en/developers/reconciliation-guide) · [Data API overview](/en/developers/data-access) · [Scalar reference](https://api.superearn.io/v1/docs) Accrual accounting records economic effects in the periods in which they occur, regardless of when cash settlement takes place. For institutional partners, SuperEarn provides verified on-chain evidence to support accrual accounting under corporate standards (such as IFRS and US GAAP). [Conceptual Framework §1.17 (AASB)](https://standards.aasb.gov.au/node/2695#para_1-17) ## Choose the evidence | Need | Resource / Parameter | Read | | - | - | - | | **Canonical holdings, cost, and PnL** | [earnings](https://api.superearn.io/v1/docs#tag/earnings/GET/earnings) | Share price (PPS) valuation by default; select estimated NAV when needed | | **Instantaneous balance snapshot** | [balances](https://api.superearn.io/v1/docs#tag/balances/GET/balances) | Active position value plus redemption receivables | | **Reconcile reported assets vs PPS** | Add `include=reconciliation` | Boundary `reportedPositionValue` and locked-profit adjustment components | | **Inspect venue strategy accruals** | Add `valuation=estimated_nav` | Estimated balances, pre-harvest venue earnings, and period returns | | **Explain strategy report events** | [harvests](https://api.superearn.io/v1/docs#tag/harvests/GET/harvests) | Confirmed gain, loss, assessed fees, and optional wallet allocation | | **Fixed-rate institutional interest** | [interest](https://api.superearn.io/v1/docs#tag/institutions/GET/institutions/\{institution}/interest) | Contractual interest ledger with checkpoint coverage | ### The 2-track settlement model For institutional partners with commercial revenue-sharing agreements, reporting follows a strict **2-track separation**: 1. **Track 1: On-Chain Data API (Gross Yield)**: * Reflects pure, unadulterated on-chain vault operations. * Provides canonical Gross PnL, holdings, and time-weighted returns. * Serves as the immutable single source of truth for corporate balance sheet valuation and financial audits. 2. **Track 2: Commercial Settlement Statement (Net Payout)**: * Off-chain commercial calculation applied to the API Gross PnL. * Applies agreed contractual terms: performance fee sharing (e.g. 10% fee with 50\~70% partner share) and deductions for off-chain expenses (such as monthly Rhino bridge invoices). * Produced as a monthly settlement statement for cash disbursement. ## Strategy NAV estimate By default, SuperEarn uses `valuation=pps` (the on-chain share value). However, when underlying strategies (such as Morpho lending markets, Pendle PT discount accretion, or tokenized RWA yield) accumulate interest between root harvest transactions, partners can inspect real-time venue accruals by setting `valuation=estimated_nav`. | View | Boundary value | Period result | | - | - | - | | **`valuation=pps` (default)** | Shares × free funds ÷ supply, floored once, then converted; add pending claims | Canonical PnL, realized/unrealized decomposition, and period return/APY | | **Reported-asset reconciliation** | Pro-rata root `totalAssets`, including effective locked profit | Additional evidence through `include=reconciliation` (enrichment; does not alter balance or PnL) | | **`valuation=estimated_nav`** | Idle + registered strategies' `estimatedTotalAssets`, allocated to shares; add pending claims | Same balance/earnings fields; `return.estimated=true` | ```text theme={null} Estimated Total Assets = Root Reported Assets - Reported Strategy Debt + Sum(Strategy Estimated Assets) Estimated Total Value = floor(Held Shares * Estimated Total Assets / Total Supply) (converted) + Redemption Receivables Estimated PnL = Ending Estimated Total Value - Beginning Estimated Total Value - (Inflows - Outflows) ``` **Operational rules for Strategy NAV** * **Same-block reads**: NAV estimation uses exact same-block queries across all underlying venue adapters. * **Availability with flows**: True TWR under estimated NAV supports periods without external cash flows. If an external flow occurs during the period, NAV return rates are returned as `null` with `twr_nav_flow_state_unavailable`, while monetary cash flows and estimated PnL remain available. * **Cost basis preservation**: Setting `valuation=estimated_nav` revalues `positionValue` and `unrealizedPnl`, but retains the exact same historical `costBasis`. ## Harvest to investor earnings To understand how underlying protocol yields translate into investor earnings, follow the lifecycle across smart contract layers: | Stage | Smart contract event | Financial reporting action | | - | - | - | | **1. Strategy yield accrues** | Assets increase at venue (Morpho, Pendle) prior to root report | Track accrued yield via Strategy NAV estimates | | **2. Strategy harvest report** | Keeper executes `harvest`; profit/loss reported to root vault | Harvest evidence recorded; performance fees mint fee shares | | **3. Profit locked** | Reported profit quarantined in vault `lockedProfit` buffer | Total assets rise, but free funds and PPS do not jump immediately | | **4. Linear unlock** | `lockedProfit` decays linearly over 7 days | PPS rises daily; investors recognize period earnings | | **5. Redemption** | User burns shares for nominal claim | Accumulated gain shifts from unrealized PnL to realized PnL | | **6. Claim payment** | Cooldown expires; underlying cash paid to wallet | Cash received; nominal receivable eliminated from balance sheet | ### Two realization measures | Measure | Basis | Interpretation | | - | - | - | | **Strategy report `gain` / `loss`** | Reported by strategy adapter to root vault during `harvest` | Realized earnings at the strategy level; `debtPayment` returns principal | | **Investor `realizedPnl`** | Redemption consideration less allocated acquisition cost | Cash profit realized by the investor upon disposing of vault shares | | **Investor `pnl`** | Closing totalValue − opening totalValue − inflows + outflows | Total net economic profit, including paper gains on active shares | ### Cooldown principal and settlement | Component | Accounting treatment | | - | - | | **Active investment (`positionValue`)** | Earning asset valued under PPS or estimated NAV; `costBasis` tracks remaining cost | | **Cooldown nominal principal (`redemptionReceivable`)** | Non-earning receivable. Conversion remains 1:1; retains nominal value while awaiting liquidity | | **Protocol debt and shortfall** | Strategy shortfalls and protocol debt are tracked in the protocol ledger separately from investor nominal receivables | | **Accepted claim loss** | If an emergency settlement occurs at an accepted lower payout, the difference is recorded as a payment loss in investor PnL | ### Example across three periods Consider a wallet starting with 100 shares and cost 100 in a vault with 1,000 root assets and 1,000 supply (1:1 conversion, no external flows): | Period closes after | Strategy report gain | Effective lock | Position / pending claim | Investor `pnl` | `realizedPnl` | `unrealizedPnlChange` | | - | -: | -: | -: | -: | -: | -: | | **Report of 100; fully locked** | 100 | 100 | 100 / 0 | 0 | 0 | 0 | | **Full release; no new report** | 0 | 0 | 110 / 0 | 10 | 0 | 10 | | **Redeem into verified claim of 110** | 0 | 0 | 0 / 110 | 0 | 10 | −10 | * When the harvest occurs, profit is fully locked; investor PnL is 0. * Over the 7-day degradation window, profit unlocks; investor recognizes +10 in unrealized PnL. * When shares are redeemed, the +10 unrealized gain shifts into +10 realized PnL; net PnL is 0. ### Why legacy harvestReport is retired in v1 In earlier prototypes (`kaia-usdt-miniapp` and legacy `/external/v2/...`), an experimental `accountedBy=harvestReport` parameter existed. It attributed keeper report gains immediately to holders at the harvest block, under the assumption that locked profit would eventually unlock to current holders. This mode was deliberately retired in v1 for three strict accounting reasons: 1. **No Legal Entitlement or Liquidity at Report Time (IFRS Asset Recognition Failure)**: * Under smart contract mechanics, profit reported by a harvest is locked in a degradation buffer and released linearly over 7 days. * If an investor redeems shares immediately after harvest, the contract settles strictly at `pricePerShare` (using `freeFunds`), completely excluding unreleased locked profit. * Recording an unredeemable locked amount as current holder balance or PnL violates the IFRS definition of an asset (present economic control and expected realizable inflow). 2. **Shareholding Dilution and Flow Mismatch**: * Assuming locked profit belongs to current holders requires assuming zero subsequent deposits or withdrawals over the next 7 days. * If new depositors enter the vault on day 2, they acquire shares at the current PPS, and the remaining locked profit unlocks across the enlarged share supply. Current holders are diluted. * Recognizing 100% of the locked profit on day 1 produces phantom gains that change retrospectively when other participants transact. 3. **Breakage of the Lifetime Ledger Invariant**: * Any compliant accounting ledger must satisfy: ```text theme={null} Cumulative Lifetime PnL = Closing Total Value + Total Withdrawn - Total Deposited ``` * Because all deposits and redemptions execute in real tokens at PPS, booking locked profit in balance/earnings causes a sharp artificial disposal loss when an investor exits at actual PPS. #### How to query the information you need Rather than blending hypothetical future releases into canonical balance and PnL, v1 separates the information into dedicated, audit-grade endpoints: | If you need... | Query this | What it returns | | :- | :- | :- | | **Official holder balance & PnL** | `GET /v1/earnings` (default `valuation=pps`) | Audit-grade, fully realizable balance sheet holdings and period earnings. | | **Contract reported assets & locked profit breakdown** | `GET /v1/earnings?include=reconciliation` | Keeps official PPS numbers intact while providing `reportedAssets`, `lockedProfit`, and `rounding` adjustments as audit evidence. | | **Strategy harvest events & gross allocation** | `GET /v1/harvests?account=...&start=...&end=...` | Block-by-block confirmed harvest events, gross report gains, fee deductions, and pro-rata wallet share allocations at report blocks. | | **Pre-harvest real-time venue accruals** | `GET /v1/earnings?valuation=estimated_nav` | Live economic yield directly from underlying venues (Morpho, Pendle PT, RWA) before root vault reporting. | ### Boundary valuation equation For supported SuperVault roots (`apiVersion: "0.4.6"`), the boundary valuation is computed in three precise stages: **1. Linear profit release** ```text theme={null} Released Profit = floor(min(Elapsed Seconds * Degradation Rate, 10^18) * Stored Locked Profit / 10^18) Effective Locked Profit = Stored Locked Profit - Released Profit ``` **2. Free funds and active position valuation** ```text theme={null} Free Funds = Reported Total Assets - Effective Locked Profit Active Position Value = floor(Held Shares * Free Funds / Total Supply) (converted) Total Value = Active Position Value + Redemption Receivables ``` **3. Reported-asset reconciliation (`include=reconciliation`)** ```text theme={null} Reported Position Value = Active Position Value + Allocated Locked Profit + Rounding Adjustment ``` * **Allocated Locked Profit**: `floor(Held Shares * Effective Locked Profit / Total Supply) (converted)`. * **Rounding Adjustment**: Integer floor difference between the converted reported allocation (`floor(Held Shares * Reported Total Assets / Total Supply) (converted)`) and the sum of active position value and allocated locked profit. > [!NOTE] > > **Valuation mode vs reconciliation evidence**: The Data API supports exactly two valuation modes: `valuation=pps` (default canonical share value) and `valuation=estimated_nav` (real-time underlying venue accruals). `include=reconciliation` is **not** an independent valuation mode; it is an enrichment parameter available exclusively with `valuation=pps` that supplies audit evidence reconciling the difference between canonical PPS valuation and total reported assets (including the locked profit buffer and integer rounding differences). ## Harvest allocation For each harvest report, optional wallet allocation uses **end-of-report-block** ownership: ```text theme={null} Wallet Harvest Allocation = floor(Wallet Shares * Net Report Gain / Total Supply) (converted) ``` * **Net report gain**: Gross report gain minus gross report loss in underlying token atoms (signed integer division truncates toward zero before conversion). * **Report-block ownership**: Wallet shares and total supply measured after all transactions in the report block. * **Assessed fees**: Fees equal `min(Gross Gain, Management Fee + Performance Fee + Strategist Fee)`; zero gain charges zero. ## Period-close workflow To perform an audit-grade monthly or annual financial close: | Step | Action | | - | - | | **1. Define** | Select asset, scope (wallet vs whole vault), reporting dates, and local timezone (e.g. `Asia/Seoul`) | | **2. Read** | Query `GET /v1/earnings` for the entire interval or daily rows; add `include=reconciliation` if auditing reported assets | | **3. Verify** | Verify that `quality.status` is `complete` and confirm that the reconciliation residual is zero (`residual = 0`) | | **4. Reconcile** | Confirm `closing.totalValue = opening.totalValue + inflows - outflows + pnl` | | **5. Freeze** | Archive the API payload, query parameters, confirmed block hashes, and policy version in the financial ledger | > [!TIP] > > **Practical Walkthrough**: For an end-to-end walkthrough with live curl requests, actual response payloads, and ledger journal entries, see the [Partner Reconciliation Walkthrough](/en/developers/reconciliation-guide). ## Additional recognition and measurement | Additional coverage | Required evidence | | - | - | | **Income outside strategy getter** | Venue position proof, entitlement, measurement time, and valuation | | **Financial statement carrying adjustments** | Accounting classification, impairment assessments, FX conversion | | **Statutory balance sheet adjustments** | Application of [IFRS 9](https://www.ifrs.org/issued-standards/list-of-standards/ifrs-9-financial-instruments/) (classification) and [IFRS 13](https://www.ifrs.org/issued-standards/list-of-standards/ifrs-13-fair-value-measurement/) (fair value) | When applying a separately supported carrying adjustment without altering underlying on-chain cash flows, adjust the book as follows: ```text theme={null} Adjusted Balance = Ledger Balance + Carrying Adjustment Adjusted PnL = Ledger PnL + (Ending Adjustment - Beginning Adjustment) ``` # Core components Source: https://docs.superearn.io/en/developers/core-components Contract roles and asset flow for EarnUSDT integrations. ## Components | Component | Role | Developer touchpoint | | - | - | - | | SuperEarnRouter | USDT deposits, share redemption and quotes | User transactions and previews | | SuperVault / EarnUSDT | Root investment shares backed by seCDV | Share balance and PPS | | CooldownVault / seCDV | Intermediate shares, redemption queue and payout | Asset conversion and request/claim lifecycle | | Strategies | Deploy assets into local or remote venues | Published allocations and market observations | | OriginVault / RemoteVault | Asynchronous cross-chain asset deployment | Operational topology and state | | Runespear agents/adapters | Messages, bridge transfers and in-transit accounting | Cross-chain coordination | | Keepers | Harvest, repayment and claim attempts | Automated protocol operations | ## Asset flow | Stage | Movement | User record | | - | - | - | | Deposit | USDT → seCDV → EarnUSDT through Router | USDT spent, EarnUSDT received | | Investment | Strategies allocate underlying assets | Share value changes | | Redemption request | EarnUSDT redemption → seCDV burn → fixed USDT claim | Filled shares and request ID | | Waiting | Claim remains outstanding | Nominal pending withdrawal | | Claim payment | USDT to receiver | Actual receipt and claim result | **Key points** * EarnUSDT PPS is denominated in the underlying seCDV token. Apply the seCDV-to-USDT conversion for asset value. * Wallet accounting includes active investment plus supported unpaid claims. See [valuation and earnings equations](/en/developers/financial-data). * Cross-chain operations are asynchronous; preserve observation timestamps and release identity. **Cautions** * Count the root investment once when combining nested vault and strategy exposures. * Quoted values, confirmed reporting balances and indexed observations have distinct timestamps. * Funding and FIFO reservations determine claim readiness; cooldown alone provides incomplete evidence. ## Integration references | Task | Reference | | - | - | | Build a deposit/withdrawal flow | [EarnUSDT quickstart](/en/developers/integrate-earn-usdt) | | Pin contracts and ABIs | [Transaction integration](/en/developers/external-builder-guide) | | Explore deployment addresses | [Smart contracts](/en/developers/smart-contracts) | | Read balances and activity | [Data API](/en/developers/data-api) | | Understand cross-chain coordination | [Runespear](/en/protocol/runespear) | # Data API overview and access Source: https://docs.superearn.io/en/developers/data-access Endpoints, integration surfaces, token decimals, and operational conventions for the SuperEarn Data API. The SuperEarn Data API is a public, read-only REST service that provides verified on-chain state, historical balances, returns, allocations, and withdrawal tracking. The developer documentation is organized into two primary tracks: * **Data API**: Operational patterns for discovering vaults, displaying user portfolios, tracking activities, and managing the withdrawal lifecycle. * **Partner Accounting**: Accounting models, the 4 core audit invariants, pro-rata moving average cost basis, PnL recognition, and period-close reconciliation for institutional partners and auditors. ## Environments and base URLs | Environment | Base URL | Purpose | | - | - | - | | **Production API** | `https://api.superearn.io/v1` | Canonical public REST API for apps, dashboards, and partner systems | | **OpenAPI / Scalar reference** | `https://api.superearn.io/v1/docs` | Interactive schema explorer with exact parameters, responses, and error codes | | **Observatory (Deep verification)** | `https://auditor.superearn.io` | Lineage-backed verification and cross-chain invariant checks (internal/institutional) | All Data API endpoints use standard HTTP GET methods and return JSON payloads with ISO-8601 timestamps. ## Integration surfaces Depending on whether your application requires public reads, interactive quotes, user transactions, or automated settlement, choose the appropriate integration surface: | Need | Surface | Access | Description | | - | - | - | - | | **Public financial and operational data** | `https://api.superearn.io/v1` | Public REST GET | Vault discovery, historical balances, cost basis, TWR returns, allocations, and activity | | **Live quotes and simulation** | Kaia RPC | Direct node RPC | Pre-transaction simulation, current allowance checks, and gas estimation | | **Deposits and redemptions (Variable-yield)** | `SuperEarnRouter` | Wallet transaction | User-authorized on-chain transactions for variable-yield vaults (`EarnUSDT`); handles slippage protection and `CooldownVault` routing | | **Deposits and redemptions (Fixed-rate)** | `Router` / `AtomicQueue` | Wallet transaction | User-authorized `Router.deposit` and `AtomicQueue.safeUpdateAtomicRequest` for fixed-rate vaults; see [Integrate fixed-rate vault](/en/developers/integrate-fixed-rate-vault) | | **Normal claim / queue settlement** | Protocol keeper | Automated execution | Background keepers execute `CooldownVault` claims or `AtomicQueue` `redeemSolve` settlements once liquidity becomes available | | **Partner setup and commercial reporting** | [contact@superearn.io](mailto:contact@superearn.io) | Direct coordination | Reporting requirements, institutional whitelisting, and commercial settlement | ## Token units and decimals > [!NOTE] > > EarnJPYC production uses the 18-decimal fixed-rate share token `0x794B606e216c24b6675804fFa081CdDa8586FA59` on Kaia (8217). As checked on November 3, 2026, this contract is **not yet in the production Data API catalog**. The endpoint mappings below apply only after a vault and its requested history are supported. Confirm the exact address, active status, read plan, and coverage before requesting financial reports. Until then, use the [EarnJPYC on-chain integration](/en/developers/integrate-fixed-rate-vault). Do not treat unavailable data as a zero balance. All monetary amounts in the Data API are denominated in raw integer atoms or standard decimal units. When performing calculations or displaying values to users, maintain exact decimal handling: | Token | Decimals | Role | Conversion rule | | - | -: | - | - | | **USDT** | 6 | Underlying deposit and settlement asset (`EarnUSDT` and USDT fixed-rate vaults) | 1 USDT = 1,000,000 units ($10^6$) | | **seCDV** | 6 | CooldownVault intermediate share token (`EarnUSDT`) | Converts 1:1 with USDT during normal operations | | **EarnUSDT** | 6 | Root SuperVault share token held by investors (`eip155:8217:0x2e4e573d86c70688cd97d76bc5ddc1bb265bf5d6`) | Valued via share price (PPS) and seCDV conversion | | **JPYC** | 18 | Underlying deposit and settlement asset (`EarnJPYC` and JPYC fixed-rate vaults) | 1 JPYC = $10^{18}$ units | | **EarnJPYC / BoringVault shares** | 18 | Production EarnJPYC shares on Kaia: `0x794B606e216c24b6675804fFa081CdDa8586FA59` | `floor(shares × Accountant.getRate() / 10^18)` in JPYC atoms; Data API coverage must be verified separately | | **KAIA** | 18 | Native gas token on Kaia blockchain | 1 KAIA = $10^{18}$ peb | **Critical calculation rules** * **Variable-yield (`EarnUSDT`) valuation**: Variable-yield shares represent ownership of the root vault (`yearn-free-funds`: `floor(shares * (totalAssets - effectiveLockedProfit) / totalSupply)`). For `EarnUSDT`, shares convert first to `seCDV` and then to `USDT` (6 decimals). Always retain integer floors at each contract step before dividing by $10^{\text{decimals}}$. * **Fixed-rate (`BoringVault`) valuation**: Fixed-rate vault shares always have **18 decimals**, while `Accountant.getRate()` is denominated in the **base asset's decimals** (`10^18` for `JPYC`, `10^6` for `USDT`). Convert shares to base-asset units using `floor(shares * rate / 10^18)` (`accountant-rate`). Inspect `GET /v1/vault-read-plans` to read each vault's machine-readable `vaultArchitecture` (`yearn-v2` vs `boring-vault`) and `withdrawal` (`cooldown-vault` vs `atomic-queue`) descriptor. * **Decimal arithmetic**: Never use floating-point numbers for financial accounting. Always use arbitrary-precision decimal libraries or native integer math to prevent rounding drift. * **Slippage protection**: When submitting router transactions, always specify explicit nonzero minimum output amounts (`minAmountOut` or `minimumShares`). ## Operational conventions and quality semantics ### Caching and collection status The Data API continuously precollects and indexes verified on-chain evidence for registered vaults and accounts. When querying historical ranges: * **`quality.status = complete`**: All underlying on-chain blocks, transactions, and state proofs have been collected and verified. * **`quality.status = partial`**: Some historical evidence is currently being indexed. The response contains specific error codes in `quality.reasons` (such as `*_collection_pending`). * **Preserving nulls**: Fields that depend on uncollected or unavailable evidence (e.g. missing historical acquisition marks) are returned as `null`. Applications and reporting pipelines must preserve these `null` values rather than converting them to zero. ### Scope selection Endpoints such as `/v1/balances` and `/v1/earnings` support filtering by scope: * **Protocol scope** (omit `account` and `vault`): Aggregates all managed assets across all published vaults. * **Vault scope** (specify `vault`): Aggregates all share holders within that specific vault. * **Wallet scope** (specify `account`): Tracks all holdings across all vaults for a specific wallet address. * **Wallet–Vault scope** (specify both `account` and `vault`): Tracks a specific wallet's holdings within a single vault. ## Next steps | Topic | Guide | | - | - | | Operational integration workflows (Catalog, Portfolio, Activity, Withdrawals) | [Data API patterns](/en/developers/data-api) | | Core accounting models, 4 audit invariants, cost basis, and returns | [Balances, cost and returns](/en/developers/financial-data) | | Vault locked profit mechanics, strategy NAV estimation, and harvest reporting | [Valuation and harvest reporting](/en/developers/accrual-accounting) | | Smart contract architecture and asset routing | [Core components](/en/developers/core-components) | | Step-by-step deposit and redemption execution guide (EarnUSDT) | [Integrate EarnUSDT](/en/developers/integrate-earn-usdt) | | Fixed-rate vault deposit, withdrawal request, and Data API guide | [Integrate fixed-rate vault](/en/developers/integrate-fixed-rate-vault) | | Interactive OpenAPI specification | [Scalar API reference](https://api.superearn.io/v1/docs) | # Data API integration patterns Source: https://docs.superearn.io/en/developers/data-api Implement vault discovery, portfolio screens, activity feeds, and withdrawal lifecycle tracking. [Scalar API reference](https://api.superearn.io/v1/docs) · [Reporting TL;DR: holdings, cost, PnL and returns](/en/developers/financial-data#tldr) · [Data API overview](/en/developers/data-access) This guide walks through standard integration patterns for applications, client dashboards, and wallet interfaces using the SuperEarn Data API. For institutional partner accounting, IFRS-grade financial reporting, and audit invariants, see [Balances, cost and returns](/en/developers/financial-data). ## Choose a workflow | Use case | Read sequence | Result | | - | - | - | | **Product list & yields** | [vaults](https://api.superearn.io/v1/docs#tag/vaults/GET/vaults) → [vault](https://api.superearn.io/v1/docs#tag/vaults/GET/vaults/\{vault}) → [apy](https://api.superearn.io/v1/docs#tag/apy/GET/apy) | Active products, asset metadata, and observed trailing yields | | **Wallet portfolio** | [vaults](https://api.superearn.io/v1/docs#tag/vaults/GET/vaults) → [balances](https://api.superearn.io/v1/docs#tag/balances/GET/balances) | Active position values, remaining cost basis, unrealized PnL, and redemption receivables | | **Activity stream** | [activity](https://api.superearn.io/v1/docs#tag/accounts/GET/accounts/\{account}/activity) | Historical transaction log of deposits, withdrawals, share transfers, and claims | | **Withdrawal tracker** | [redemptions](https://api.superearn.io/v1/docs#tag/accounts/GET/accounts/\{account}/redemptions) + [liquidity](https://api.superearn.io/v1/docs#tag/allocations/GET/vaults/\{vault}/liquidity) | Request lifecycle stages, cooldown timer, claimability, and vault liquidity reserves | | **Allocation breakdown** | [manifest](https://api.superearn.io/v1/docs#tag/catalog/GET/manifest) → [graph](https://api.superearn.io/v1/docs#tag/allocations/GET/vaults/\{vault}/graph) + [allocations](https://api.superearn.io/v1/docs#tag/allocations/GET/vaults/\{vault}/allocations) | Underlying strategy exposures, protocol debt, and venue breakdown | | **Institutional close** | [earnings](https://api.superearn.io/v1/docs#tag/earnings/GET/earnings) | Periodic opening/closing balances, flows, realized/unrealized PnL, and TWR returns | ## Pattern 1: Vault catalog and market discovery To display available investment vaults and their current performance: 1. **List all vaults**: Call `GET /v1/vaults` to fetch the catalog of deployed SuperVaults. Filter by `status: "active"` for current deposit targets, but retain inactive vaults for historical portfolio views. 2. **Fetch vault metadata**: Call `GET /v1/vaults/{vault}` to retrieve contract addresses, underlying assets, decimals, and operational state. 3. **Fetch trailing yield**: Call `GET /v1/apy?vault={vault}` to obtain the official trailing 7-day share price APY (`pps_apy`). 4. **Fetch benchmark rates**: Call `GET /v1/market-rates` to compare vault yield against external reference benchmarks (such as Morpho, Aave, and Kaia ecosystem rates). ```bash theme={null} # Example: Discover active vaults curl -s "https://api.superearn.io/v1/vaults" | jq '.data[] | {id: .id, name: .name, status: .status}' ``` ## Pattern 2: Wallet portfolio screen To present a complete portfolio view for a connected user wallet: 1. **Query current balances**: Call `GET /v1/balances?account={walletAddress}&at={timestamp}`. `at` is required (e.g. `at=2026-09-01T00:00:00Z`); pass the current time or a specific historical boundary. A request without `at` returns `400`. 2. **Decompose the total balance and share holdings**: * **Total managed assets (`totalValue`)**: The combined sum of active positions and pending redemption claims (`positionValue + redemptionReceivable`, `[Unit: asset]`). * **Active share balance (`shares`)**: Raw vault LP token balance held by the user (`[Unit: shareToken]`, metadata defined in `shareToken`). * **Active position value (`positionValue`)**: Capital actively deployed in the vault earning daily yield (`shares * PPS`, `[Unit: asset]`). * **Redemption receivables (`redemptionReceivable`)**: Capital that has undergone a redemption request and is in cooldown or awaiting claim (`[Unit: asset]`). Preserves 100% principal as a fixed non-earning claim. * **Total balance identity**: ```text theme={null} Total Value = Active Position Value + Redemption Receivables ``` 3. **Display cost and unrealized gain**: * Show `costBasis` as the net remaining invested capital (`[Unit: asset]`). * Show `unrealizedPnl = positionValue - costBasis` as the unrealized gain on active shares (`[Unit: asset]`). 4. **Preserve quality flags**: Inspect `quality.status`. If historical acquisition evidence is still indexing, `costBasis` and `unrealizedPnl` may be returned as `null` while verified balances remain available. Preserve the `null` status rather than displaying zero. For exact derivation of share valuation and integer floors, see the [Boundary value equation](/en/developers/financial-data#boundary-value). ## Pattern 3: Transaction and activity stream To render an account's transaction history: 1. **Call account activity**: Call `GET /v1/accounts/{account}/activity` with the optional filters `type` (`position`, `redemption` or `balance`) and `vault`, and paginate with `limit` (1\~100) and `cursor`. The endpoint has no `start` / `end` time filters; sending them returns `400`. 2. **Classify rows by `type`, then by `operation`**: Every row carries a `type` discriminator equal to the `type` filter value that selects it. `position` and `balance` rows carry an uppercase `operation` field; `redemption` rows have no `operation` and carry `status` instead. There are no `deposit`, `redemption_request`, `claim`, `transfer_in` or `transfer_out` values. | `type` (filter and row) | What the row describes | Classifier field | Values | | - | - | - | - | | `position` | A change in the account's vault share position (`vault`, `shares`) | `operation` | `MINT`, `BURN`, `SEND`, `RECEIVE` | | `redemption` | A redemption request and its settlement (`redemptionId`, `assets`, `shares`) | `status` | `pending`, `claimed` | | `balance` | A change in the account's balance of a tracked token (`assetId`, `amount`, `balance`, `locked`) | `operation` | `MINT`, `BURN`, `SEND`, `RECEIVE`, `LOCKUP`, `FETCH` | `operation` values: * `MINT`: New units are minted to the account. On a `position` row this is a deposit that issues vault shares. * `BURN`: Units are burned from the account. On a `position` row this is a share burn made directly by the account. * `SEND`: Units leave the account in a transfer; `shares` is negative on a `position` row. A redemption submitted through the router appears as a `SEND` of shares to the router together with a `redemption` row. * `RECEIVE`: Units arrive in the account in a transfer, including an in-kind custody migration. * `LOCKUP` (`balance` only): The account's locked amount changes; `amount` is signed and `locked` shows the result. * `FETCH` (`balance` only): A balance snapshot read from the chain when the token is first tracked for the account. It is not a transfer: `amount` is 0 and `transactionHash` is `null`. `redemption` rows: `status` is `pending` until settlement and `claimed` afterwards. The claim does not produce a separate row; the same row gains `claimedAt`, `claimTransactionHash` and `receivedAssets`. `operation` is published as a nullable string, so handle an unrecognized or `null` value without failing. 3. **Netting rule**: The activity feed exposes transaction-level netting. If multiple operations occur in a single transaction, inspect the net flow to match the user's on-chain balance change. ## Pattern 4: Withdrawal lifecycle tracker EarnUSDT withdrawals follow the CooldownVault request-and-claim flow below. Fixed-rate withdrawals use AtomicQueue requests and atomic settlement; check the deployment’s API coverage before using the tracker. ```text theme={null} [1. Request] ──► [2. Pending Cooldown] ──► [3. Claimable] ──► [4. Settled] Router Waiting period Vault has Cash paid redemption (100% principal, sufficient to user submitted non-earning) liquidity wallet ``` | Stage | Trigger / Condition | API Indicator | Key Response Fields (`redemptions[]` / `activity[]`) | Consumer Action | | - | - | - | - | - | | **1. Request** | User calls `SuperEarnRouter.redeem` (`CooldownVault`) or `AtomicQueue.safeUpdateAtomicRequest` (`BoringVault`) | Transaction confirmed | `requestId` (`redemptionId`), `requestedAt` (`at`), `transactionHash` | Store the returned `requestId` and request transaction hash | | **2. Pending** | Request registered in `CooldownVault` or `AtomicQueue` | `status = "pending"` | **`shares`** (pending withdrawal share quantity), **`assets`** (**request-time evaluated underlying value of `shares`**), **`cooldownEndsAt`** (**withdrawal request deadline / cooldown expiry**) | Display pending shares (`shares`), request-time valuation (`assets`), and deadline (`cooldownEndsAt`) | | **3. Claimable / Awaiting Solve** | `CooldownVault` timer elapsed (`cooldownEndsAt <= now`) & funded, or `AtomicQueue` awaiting solver | `status = "pending"` (`claimability.state = "ready" \| "waiting"`) | `claimability.state`, `claimability.reason`, `cooldownEndsAt` | Check vault liquidity (`/v1/vaults/{vault}/liquidity`); in normal operation keepers/solvers settle automatically | | **4. Settled** | Keeper/user executes `claim` (`CooldownVault`) or solver executes `redeemSolve` (`AtomicQueue`) | `status = "claimed"` | `claim.assets` (`receivedAssets`), `claim.claimedAt` (`claimedAt`), `claim.transactionHash` (`claimTransactionHash`) | Remove from pending queue; settle into wallet cash (`outflows`) | **Variable-Rate (`CooldownVault`) vs Fixed-Rate (`BoringVault` + `AtomicQueue`) Comparison & Cautions (`EarnUSDT` · `EarnJPYC`)** | Dimension | Variable-Rate Vault (`EarnUSDT` 6d) `CooldownVault` (`cooldown-vault-v1`) | Fixed-Rate Vault (shares: 18d; JPYC: 18d, USDT: 6d) `BoringVault` + `AtomicQueue` (`atomic-queue-v1`) | | - | - | - | | **Pending withdrawal shares (`data[].shares`)** | `seCDV` cooldown queue shares *(burned root vault shares appear on the same tx's `activity?type=position` `SEND` row)* | Offered `EarnJPYC` / `EarnUSDT` vault shares (`offerAmount`) | | **Request-time valuation (`data[].assets`)** | `floor(vaultShares × PPS_at_request / 10^decimals)` (locked claim at request block PPS, `USDT` 6d) | `floor(offerAmount × atomicPrice / 10^18)` (request-time `Accountant` rate snapshot, `JPYC` 18d / `USDT` 6d) | | **Request deadline (`data[].cooldownEndsAt`)** | `requestedAt + cooldownPeriod` (cooldown maturity timestamp, UTC ISO-8601) | `userRequest.deadline` (solver fulfillment deadline, UTC ISO-8601) | | **Yield accrual while pending** | **Non-earning** — shares burn on request and lock 100% principal as a nominal claim | **Continues accruing yield** — shares stay in the user wallet (transfer-locked) until `redeemSolve` atomic settlement | | **Balance-sheet caution (`/v1/balances`, `/v1/earnings`)** | Burned pending shares move into `redemptionReceivable` (`totalValue = positionValue + redemptionReceivable`) | Pending shares remain inside wallet `shares` (`positionValue`), so `redemptionReceivable = "0"`. **Never add `/redemptions?status=pending` `assets` on top of `positionValue` (prevents double-counting)** | | **Final settlement (`status = "claimed"` / `outflows`)** | Settled via `CooldownVault.Withdraw` into `claim.assets` (`receivedAssets`) & `outflows` (check `/v1/vaults/{vault}/liquidity` before manual `claim`) | Settled via solver `AtomicRequestFulfilled` (`redeemSolve`) into `claim.assets` (`receivedAssets`) & `outflows` | ## Pattern 5: Pagination, cursors, and query rules When iterating through large historical datasets or account histories: * **Cursor pagination**: All paginated list endpoints (e.g. `/v1/earnings`, `/v1/harvests`, `/v1/accounts/{account}/activity`) return a `page` object with `page.nextCursor` and `page.hasMore`. Pass `page.nextCursor` as the `cursor` query parameter in the subsequent request. `/v1/balances` returns a single snapshot and is not paginated. * **Empty intermediate pages**: Continue fetching until `page.hasMore` is `false` (`page.nextCursor` is then `null`). Intermediate pages may occasionally contain zero items if non-matching records were filtered internally. * **Short pages**: On `/v1/earnings` interval queries, a page may contain fewer rows than `limit` because of a server work budget, so always follow `page.nextCursor` until `page.hasMore` is `false` instead of stopping at a short page. * **Timezones and cutoffs**: * Timestamps in query parameters support full ISO-8601 formatting (e.g. `start=2026-09-01T00:00:00+09:00`). * `GET /v1/harvests` requires both `start` and `end` as whole-second RFC 3339 timestamps with an explicit offset (e.g. `start=2026-09-01T00:00:00Z`); a date-only value such as `start=2026-09-01` returns `400`. * Use `timezone=Asia/Seoul` or specify an offset when requesting calendar intervals (`interval=day` or `interval=month`). * Use `cutoff=HH:mm:ss` to set custom local closing hours. ## Pattern 6: Billing & financial reporting queries (`EarnUSDT` and `EarnJPYC`) > [!NOTE] > > EarnJPYC production uses the 18-decimal fixed-rate share token `0x794B606e216c24b6675804fFa081CdDa8586FA59` on Kaia (8217). As checked on November 3, 2026, this contract is **not yet in the production Data API catalog**. The endpoint mappings below apply only after a vault and its requested history are supported. Confirm the exact address, active status, read plan, and coverage before requesting financial reports. Until then, use the [EarnJPYC on-chain integration](/en/developers/integrate-fixed-rate-vault). Do not treat unavailable data as a zero balance. | Requirement | Canonical endpoint | Query parameters | Key response fields | | - | - | - | - | | **Vault share price (`pricePerShare`) — latest & historical** | `GET /v1/vaults/{vault}/state` | Optional `start` & `end` (RFC 3339, both required when paginating), `limit` (1\~100), `cursor` | `pricePerShare.value`, `pricePerShare.baseAssetId`, `pricePerShare.quoteAssetId`, `totalAssets.value`, `totalSupply.value`, `at` | | **Point-in-time balance, share count & asset valuation** | `GET /v1/balances` | **Required** `at` (ISO-8601); optional `account`, `vault`, `valuation` (`pps` \| `estimated_nav`), `include=reconciliation` | `shares` (`[Unit: shareToken]`), `positionValue` (`[Unit: asset]`), `redemptionReceivable` (`[Unit: asset]`), `totalValue`, `costBasis`, `unrealizedPnl`, `block` | | **Daily / period open & close valuation, share/asset amounts, flows & TWR** | `GET /v1/earnings` | **Required** `start`, `end`; optional `account`, `vault`, `interval` (`all` \| `hour` \| `day` \| `week` \| `month`), `timezone` (`UTC` \| `Asia/Seoul`), `cutoff` (`HH:mm:ss`), `limit`, `cursor` | `opening` & `closing` (`shares`, `positionValue`, `redemptionReceivable`, `totalValue`, `costBasis`, `unrealizedPnl`, `block`), `inflows`, `outflows`, `pnl`, `realizedPnl`, `unrealizedPnlChange`, `return.periodRate`, `return.apr`, `return.apy` | | **Current position summary & daily performance series** | `GET /v1/accounts/{account}/positions` `GET /v1/accounts/{account}/performance` | `positions`: optional `vault` `performance`: **required** RFC 3339 `start` & `end` | `positions`: `shares`, `principal`, `value`, `realizedEarnings`, `unrealizedEarnings`, `totalEarnings` `performance`: daily `openingValue`, `closingValue`, `netFlows`, `earnings`, `apr`, `apy` | | **Deposit, withdrawal, transfer history & pending request valuation / deadline** | `GET /v1/accounts/{account}/activity` `GET /v1/accounts/{account}/redemptions` | Optional `vault`, `type` (`position` \| `redemption` \| `balance`), `status` (`pending` \| `claimed`), `limit` (1\~100), `cursor` | `position` rows (`operation: MINT \| BURN \| SEND \| RECEIVE`, `shares`, `transactionHash`, `blockNumber`, `at`); `redemption` rows (`status`, `shares` = pending withdrawal share quantity, `assets` = **request-time evaluated underlying value**, `cooldownEndsAt` = **withdrawal request deadline / cooldown expiry**, `requestedAt` / `at`, `receivedAssets` / `claim.assets`, `claimedAt`, `claimTransactionHash`) | ### 7-Item Share-Valuation Settlement & Variable vs Fixed-Rate Vault Comparison (`EarnUSDT` · `EarnJPYC`) For partners settling `EarnJPYC` and `EarnUSDT` using **share-valuation accounting ("equity/share" model)** rather than interest-payout accounting, the following 7 data points map to the same endpoints and fields **when the selected deployment is supported**, across variable-rate (`CooldownVault`) and fixed-rate (`BoringVault` + `AtomicQueue`) vaults: | # | Required Settlement Item (`EarnJPYC` & `EarnUSDT`) | Canonical Endpoint (`https://api.superearn.io/v1`) | Response JSON Field Path | Variable-Rate (`EarnUSDT` 6d) `CooldownVault` | Fixed-Rate (shares: 18d; JPYC: 18d, USDT: 6d) `BoringVault` + `AtomicQueue` | | - | - | - | - | - | - | | **1** | **Held `EarnJPYC` / `EarnUSDT` share quantity** | `GET /v1/balances` `GET /v1/earnings` `GET /v1/accounts/{account}/positions` | `data[].assets[].shares` `opening.shares` / `closing.shares` `data[].shares.value` | Active vault shares (leaves wallet on cooldown entry) | Total wallet shares (includes open `AtomicQueue` `offerAmount` until `redeemSolve`) | | **2** | **`JPYC` / `USDT` value of held shares** | `GET /v1/balances` `GET /v1/earnings` `GET /v1/vaults/{vault}/state` | `data[].assets[].positionValue` (`totalValue`) `opening/closing.positionValue` `data[].pricePerShare.value` | Confirmed block free-funds PPS valuation (`floor(shares × F / totalSupply)`) | Confirmed block `Accountant.getRateInQuoteSafe` valuation (`floor(shares × rate / 10^18)`) | | **3** | **Pending withdrawal `EarnJPYC` / `EarnUSDT` share quantity** | `GET /v1/accounts/{account}/redemptions?status=pending` `GET /v1/accounts/{account}/activity?type=redemption` | **`data[].shares.value`** (`data[].shares.assetId`) | `CooldownVault` queue share quantity (`seCDV`) | `AtomicQueue` offered share quantity (`offerAmount`) | | **4** | **Request-time share valuation (= valuation of Item 3)** | `GET /v1/accounts/{account}/redemptions` `GET /v1/accounts/{account}/activity?type=redemption` | **`data[].assets.value`** (`data[].assets.assetId`) *(Cooldown aggregate: `redemptionReceivable`)* | **Locked value at request block PPS** (`floor(vaultShares × PPS_at_request / 10^decimals)`) | **Value at snapshotted `atomicPrice` (`Accountant` rate)** (`floor(offerAmount × atomicPrice / 10^18)`) | | **5** | **Withdrawal request deadline** | `GET /v1/accounts/{account}/redemptions` `GET /v1/accounts/{account}/activity?type=redemption` | **`data[].cooldownEndsAt`** *(Request time: `requestedAt` / `at`)* | **Cooldown maturity timestamp** (`requestedAt + cooldownPeriod`) | **Solver fulfillment deadline** (`userRequest.deadline`) | | **6** | **Daily deposit `JPYC` / `USDT` amount** | `GET /v1/earnings?interval=day&timezone=Asia/Seoul` | **`data[].assets[].inflows`** | Daily deposited `USDT` total | Daily `Teller.Deposit` `JPYC` / `USDT` total | | **7** | **Daily withdrawal `JPYC` / `USDT` amount** | `GET /v1/earnings?interval=day&timezone=Asia/Seoul` | **`data[].assets[].outflows`** | Daily claimed `CooldownVault.Withdraw` total | Daily settled `AtomicRequestFulfilled` (`redeemSolve`) total | > **Accounting Caution (Preventing Double-Counting)**: On variable-rate **`CooldownVault`**, shares burn on request and move from `positionValue` into `redemptionReceivable` (`totalValue = positionValue + redemptionReceivable`). On fixed-rate **`BoringVault` (`AtomicQueue`)**, shares stay in wallet `shares` (`positionValue`) and continue accruing yield until `redeemSolve`, so `redemptionReceivable = "0"`. **Never add `/redemptions?status=pending` `data[].assets` on top of `positionValue` on fixed-rate vaults.** ### EarnUSDT request and response examples #### 1. Point-in-time balances for a supported vault ```bash theme={null} curl -s "https://api.superearn.io/v1/balances?account=0xa1963b0ad126aca96547b598e50fe2714993af70&vault=eip155:8217:0x2e4e573d86c70688cd97d76bc5ddc1bb265bf5d6&at=2026-10-26T00:00:00Z" ``` #### 2. Daily opening & closing valuation, share/asset amounts, and TWR (`GET /v1/earnings`) ```bash theme={null} # Daily KST (Asia/Seoul, 00:00:00 cutoff) open & close for EarnUSDT curl -s "https://api.superearn.io/v1/earnings?account=0xa1963b0ad126aca96547b598e50fe2714993af70&vault=eip155:8217:0x2e4e573d86c70688cd97d76bc5ddc1bb265bf5d6&start=2026-10-25T00:00:00%2B09:00&end=2026-10-26T00:00:00%2B09:00&interval=day&timezone=Asia/Seoul" ``` ```json theme={null} { "data": [ { "start": "2026-10-24T15:00:00.000Z", "end": "2026-10-25T15:00:00.000Z", "assets": [ { "asset": { "chainId": 8217, "address": "0xd077a400968890eacc75cdc901f0356c943e4fdb", "symbol": "USD₮", "decimals": 6 }, "shareToken": { "chainId": 8217, "address": "0x2e4e573d86c70688cd97d76bc5ddc1bb265bf5d6", "symbol": "EarnUSDT", "decimals": 6 }, "opening": { "shares": "10126861.583279", "totalValue": "10599631.122998", "positionValue": "10599631.122998", "redemptionReceivable": "0", "costBasis": "10380597.175757", "unrealizedPnl": "219033.947241", "block": { "number": "230651077", "hash": "0x7a3ad40e5c82c6725ea613bd3481f6e2c34c91f9d34d0db670a54fba2998bc47", "timestamp": "2026-10-24T14:59:59.000Z" } }, "closing": { "shares": "10126861.583279", "totalValue": "10601884.807002", "positionValue": "10601884.807002", "redemptionReceivable": "0", "costBasis": "10380597.175757", "unrealizedPnl": "221287.631245", "block": { "number": "230737443", "hash": "0x8128945f3f043be83bffe74532cfd347e34b7098218b7b223a97e9d0023a25ad", "timestamp": "2026-10-25T14:59:59.000Z" } }, "inflows": "0", "outflows": "0", "pnl": "2253.684004", "realizedPnl": "0", "unrealizedPnlChange": "2253.684004", "netTransferredUnrealizedPnl": "0", "return": { "periodRate": "0.000212619097575026", "method": "time_weighted", "apr": "0.07760597061488469", "apy": "0.080687833765575979", "estimated": false }, "quality": { "status": "complete", "reasons": [] } } ] } ], "meta": { "scope": { "account": "0xa1963b0ad126aca96547b598e50fe2714993af70", "vaults": [ "eip155:8217:0x2e4e573d86c70688cd97d76bc5ddc1bb265bf5d6" ] }, "policy": "balances-earnings-v5", "valuation": "pps", "calendar": { "interval": "day", "timezone": "Asia/Seoul", "cutoff": "00:00:00" } }, "page": { "hasMore": false, "nextCursor": null } } ``` #### 3. Supported-vault activity and withdrawal requests These requests use EarnUSDT. Follow `page.nextCursor` for complete history and inspect `meta.quality` before using the results in a report. ```bash theme={null} curl -s "https://api.superearn.io/v1/accounts/0xa1963b0ad126aca96547b598e50fe2714993af70/activity?vault=eip155:8217:0x2e4e573d86c70688cd97d76bc5ddc1bb265bf5d6&type=position&limit=2" curl -s "https://api.superearn.io/v1/accounts/0xa1963b0ad126aca96547b598e50fe2714993af70/redemptions?vault=eip155:8217:0x2e4e573d86c70688cd97d76bc5ddc1bb265bf5d6&status=pending&limit=5" ``` For a supported fixed-rate deployment, `shares` represents the offered vault shares and `assets` their request-time value. `cooldownEndsAt` represents the settlement deadline; it is not a cooldown maturity. Refer to the withdrawal comparison above and verify the vault's read plan. ## Integration checklist * [ ] Use `totalValue` (or `positionValue + redemptionReceivable`) to represent a user's complete managed balance. * [ ] Retain raw integer precision in contract atoms and divide by token decimals ($10^6$ for `USDT`/`EarnUSDT`, $10^{18}$ for `JPYC`/`EarnJPYC` and fixed-rate `BoringVault` shares) only for display. * [ ] Inspect `quality.status` and `quality.reasons` on every response; preserve `null` values where evidence is pending. * [ ] Handle cursor-based pagination completely: follow `page.nextCursor` until `page.hasMore` is `false`. * [ ] Direct users through the appropriate router (`SuperEarnRouter` for variable-yield vaults; `Router` and `AtomicQueue` for fixed-rate vaults). ## Related guides | Guide | Description | | - | - | | [Data API overview](/en/developers/data-access) | Environments, base URLs, integration surfaces, and token decimals | | [Balances, cost and returns](/en/developers/financial-data) | 4 core audit invariants, pro-rata cost basis, PnL recognition, and return formulas | | [Valuation and harvest reporting](/en/developers/accrual-accounting) | Vault lockedProfit buffer mechanics, strategy NAV, and harvest allocation | | [Scalar API reference](https://api.superearn.io/v1/docs) | Interactive schema documentation for all endpoints | # Balances, cost and returns Source: https://docs.superearn.io/en/developers/financial-data Accounting models, the 4 core audit invariants, cost basis, PnL recognition, and partner audit FAQs. [Scalar API reference](https://api.superearn.io/v1/docs) · [Data API overview](/en/developers/data-access) · [Integration patterns](/en/developers/data-api) · [Valuation and harvest reporting](/en/developers/accrual-accounting) · [Reconciliation walkthrough](/en/developers/reconciliation-guide) ## TL;DR **Call `GET /v1/earnings` to obtain a complete financial statement for any reporting period.** Select `account` and `vault`, then choose your start and end dates. For each period in `data[]`, read the following fields in each `assets[]` entry: | Financial Question | API Field | Accounting Meaning | | - | - | - | | How much did I hold at the start/end? | `opening.totalValue`, `closing.totalValue` | Total balance sheet assets, including pending claims | | How many vault shares do I hold? | `shares` | Raw vault share token balance (before redemption/burn) | | What are the share token details? | `shareToken` | Share token metadata (`chainId`, `address`, `symbol`, `decimals`) | | What are the active position and pending claims? | `positionValue`, `redemptionReceivable` | Active earning assets vs non-earning claimable assets | | What cost remains in active shares? | `costBasis` | Historical acquisition cost allocated to remaining active shares | | What unrealized PnL remains? | `unrealizedPnl` | Active position value less remaining cost basis | | How much net profit did I earn? | `pnl` | Net economic profit after netting external capital flows | | How much PnL was realized? | `realizedPnl` | Confirmed gain on redemptions/disposals less allocated cost | | How did unrealized PnL change? | `unrealizedPnlChange` | Closing unrealized PnL less opening unrealized PnL | | How much unrealized PnL entered via transfers? | `netTransferredUnrealizedPnl` | Net embedded unrealized gain carried in/out via share transfers | | What true return did this period earn? | `return.periodRate` | Ground truth period return (True TWR); multiply by 100 for % | | What is its official linear annual rate? | `return.apr` | ACT/365 linear annualization (standard across all windows) | | What is its compound annual rate? | `return.apy` | ACT/365 compound rate (computed for every period with a defined return; below 7 days a hypothetical extrapolation, prefer `return.apr`) | | Which return method was used? | `return.method` | `time_weighted` (True TWR across every external flow) | **Verification rules before closing statements** * **Total Balance**: `totalValue = positionValue + redemptionReceivable` * **Shares vs Value**: `shares` represents the vault LP share token balance (`shareToken` unit), while `positionValue` represents those shares valued in underlying assets (`shares × PPS`, `asset` unit). * **Pending Redemption Units**: `redemptionReceivable` is denominated in **underlying asset units (`asset`)**, NOT share tokens. Upon redemption, shares are burned/locked and the exact asset claim is deposited into the CooldownVault, so it sums directly with `positionValue`. * **Cost Basis**: Tracks historical acquisition cost of active shares using pro-rata moving average cost. * **Unrealized PnL Change**: A period flow (`closing - opening`), whereas `opening.unrealizedPnl` and `closing.unrealizedPnl` are boundary balance sheet stocks. * **Rate conventions**: Present `return.periodRate` and `return.apr` first. `return.apy` is computed for every period with a defined return; below 7 days it is a hypothetical annual extrapolation, so prefer `return.apr` and `return.periodRate` for short windows. * **Preserve nulls**: Check `quality.status` and `quality.reasons`. Missing historical evidence leaves dependent fields as `null`. Preserve these `null`s rather than converting them to zero. ## API Request & Response Field Reference Key request parameters and response fields for the unified financial endpoints `GET /v1/balances` and `GET /v1/earnings`. For the interactive OpenAPI specification and live testing, see the [Scalar API reference](https://api.superearn.io/v1/docs). ### Unit System All numerical quantities in SuperEarn adhere to rigorous unit definitions: | Unit Annotation | Applicable Fields | Definition & Scope | | :- | :- | :- | | **`[Unit: asset]`** | `totalValue`, `positionValue`, `redemptionReceivable`, `costBasis`, `unrealizedPnl`, `inflows`, `outflows`, `pnl`, `realizedPnl`, `unrealizedPnlChange`, `netTransferredUnrealizedPnl` | Vault underlying asset currency unit (e.g. USDT, JPYC). Serves as the numeraire for portfolio valuation and statutory accounting. | | **`[Unit: shareToken]`** | `shares` | Vault LP share ERC-20 token unit (e.g. EarnUSDT, EarnJPYC). Raw share token balance held by the wallet. | | **`[Unit: ratio]`** | `return.periodRate`, `return.apr`, `return.apy` | Dimensionless percentage decimal ratio (1.0 = 100%). | ### `GET /v1/balances` (Point-in-Time Balance Snapshot) Queries asset valuation and balance composition at a specific confirmed block (for balance sheet reporting). #### Request Parameters | Parameter | Required | Type | Default | Description | | - | :-: | - | - | - | | `at` | **Required** | ISO-8601 | - | Target snapshot timestamp (e.g. `2026-09-01T00:00:00Z`). Uses the latest confirmed block strictly before this instant. | | `account` | Optional | Address (`0x...`) | all | Target wallet address. Omit to aggregate all share holders (including fee shares). | | `vault` | Optional | Vault ID | all | Target vault ID (`eip155:8217:0x...`). Omit to aggregate all published vaults. | | `valuation` | Optional | `pps` \| `estimated_nav` | `pps` | Valuation basis (`pps`: official vault share-value arithmetic / `estimated_nav`: includes unharvested strategy estimates). | | `include` | Optional | `reconciliation` | - | Includes underlying reported-asset reconciliation evidence. | #### Response Fields (`data[].assets[]`) | Field | Unit | Type | Accounting Meaning & Definition | | | - | :-: | - | - | - | | `totalValue` | `asset` | Decimal String | **Total Managed Assets** = `positionValue` + `redemptionReceivable`. (Excludes unmanaged wallet cash). | | | `shares` | `shareToken` | Decimal String \| null | **Active Share Balance** (Raw vault share ERC-20 tokens held. `null` or `0` if none). | | | `shareToken` | - | Object \| null | **Share Token Metadata** (`chainId`, `address`, `symbol`, `decimals`). | | | `positionValue` | `asset` | Decimal String | **Active Position Value** (Earning vault shares valued at confirmed PPS, `shares × PPS`). | | | `redemptionReceivable` | `asset` | Decimal String | **Pending Redemption Receivables** (Principal locked in cooldown or ready to claim. Non-earning fixed claim). | | | `costBasis` | `asset` | Decimal String \| null | **Remaining Cost Basis** (Pro-rata moving average cost allocated to remaining active shares. `null` if unverified). | | | `unrealizedPnl` | `asset` | Decimal String \| null | **Cumulative Unrealized PnL** = `positionValue - costBasis`. | | | `block` | - | Object | Target confirmed block evidence (`number`, `hash`, `timestamp`). | | | `quality` | - | Object | Completeness status (\`status: "complete" | "partial"`, `reasons: \[]\`). | *** ### `GET /v1/earnings` (Period PnL and Returns) Queries balance sheet changes, capital flows, realized/unrealized PnL, and period returns across any interval (for income statement reporting). #### Request Parameters | Parameter | Required | Type | Default | Description | | - | :-: | - | - | - | | `start` | **Required** | ISO-8601 / Date | - | Inclusive start instant or date (`[start, end)`). | | `end` | **Required** | ISO-8601 / Date | - | Exclusive end instant or date. Must be after `start`. | | `account` | Optional | Address (`0x...`) | all | Target wallet address. | | `vault` | Optional | Vault ID | all | Target vault ID (`eip155:8217:0x...`). | | `interval` | Optional | `all` \| `hour` \| `day` \| `week` \| `month` | `all` | Calendar interval (`all`: single aggregated period, `hour`: 1 hour, `day`: 1 calendar day, etc.). | | `timezone` | Optional | IANA name / Offset | `UTC` | Calendar timezone (e.g. `Asia/Seoul`, `+09:00`). | | `cutoff` | Optional | `HH:mm:ss` | `00:00:00` | Local business closing time (e.g. `09:00:00` splits days at 09:00 local time). | | `valuation` | Optional | `pps` \| `estimated_nav` | `pps` | Valuation basis. | | `limit` | Optional | Integer (1\~100) | `20` | Maximum rows per page (omitted for `interval=all`). | | `cursor` | Optional | String | - | Pagination continuation cursor (`page.nextCursor`). | #### Response Fields (`data[].assets[]`) | Field | Unit | Type | Accounting Meaning & Definition | | - | :-: | - | - | | `opening` | - | Object | **Beginning Balance Snapshot** (`totalValue`, `shares`, `positionValue`, `costBasis`, etc. at start). | | `closing` | - | Object | **Ending Balance Snapshot** (`totalValue`, `shares`, `positionValue`, `costBasis`, etc. at end). | | `shareToken` | - | Object \| null | **Share Token Metadata** (`chainId`, `address`, `symbol`, `decimals`). | | `inflows` | `asset` | Decimal String \| null | **External Capital Inflows** (Sum of positive transaction-net external flows: deposits and, in wallet scope, inbound share transfers valued at the transfer operation. Not gross deposit volume). | | `outflows` | `asset` | Decimal String \| null | **External Capital Outflows** (Absolute sum of negative transaction-net external flows: redemption payments recognized when the claim is paid and, in wallet scope, outbound share transfers valued at the transfer operation. Not gross withdrawal volume). | | `pnl` | `asset` | Decimal String \| null | **Period Net PnL** = `closing.totalValue - opening.totalValue - inflows + outflows`. | | `realizedPnl` | `asset` | Decimal String \| null | **Confirmed Realized Gain** (Disposal proceeds less allocated cost basis). | | `unrealizedPnlChange` | `asset` | Decimal String \| null | **Unrealized PnL Delta** = `closing.unrealizedPnl - opening.unrealizedPnl`. | | `netTransferredUnrealizedPnl` | `asset` | Decimal String \| null | **Transferred Unrealized Gain** (Embedded paper gain carried via inbound/outbound share transfers). | | `return.periodRate` | `ratio` | Decimal String | **True Period Return** (True Time-Weighted Return ratio. Multiply by 100 for %). | | `return.apr` | `ratio` | Decimal String | **Linear Annualized Rate** (ACT/365 linear annual rate = `periodRate × 365 / days`). | | `return.apy` | `ratio` | Decimal String \| null | **Compound Annualized Rate** (ACT/365 compound annual rate = `(1 + periodRate) ^ (31,536,000 / elapsed seconds) - 1`, computed for every period with a defined return. `null` only when the return is unavailable or the result cannot be represented. Below 7 days it is a hypothetical extrapolation; prefer `return.apr`). | | `return.method` | - | String | Return calculation methodology (`time_weighted`). | | `quality` | - | Object | Data completeness and reconciliation quality. | ## The 4 core audit invariants The SuperEarn accounting model operates on **4 core audit invariants**. Partner finance teams and external auditors can use these identities to independently verify and reconcile balances, flows, and cost basis. | Area | Audit Invariant | Economic Substance Guaranteed | | :- | :- | :- | | **1. Balance Sheet Asset** | `totalValue = positionValue + redemptionReceivable` | Active earning assets plus non-earning claimable receivables equal total assets (`positionValue = shares × PPS`) | | **2. Balance Sheet Cost** | `positionValue = costBasis + unrealizedPnl` | Active position value decomposes into remaining cost basis and cumulative unrealized gain | | **3. Income Statement Flow** | `pnl = realizedPnl + unrealizedPnlChange - netTransferredUnrealizedPnl` | Period net PnL decomposes into realized gain, paper gain delta, and transfer adjustments | | **4. Lifetime Ledger** | `pnl = closing.totalValue + outflows - inflows` (when `opening.totalValue = 0`) | Lifetime net profit equals current assets + lifetime `outflows` - lifetime `inflows`. This is the period PnL identity with a zero opening balance, not an independent check | **Reading the lifetime ledger** * Call `GET /v1/earnings` with `interval=all` and a `start` at or before the account's first activity, so that `opening.totalValue` is 0. Take `start` from `openedAt` on `GET /v1/accounts/{account}/positions` (any earlier instant also works) and set `end` to the reporting boundary. The row's `inflows`, `outflows` and `pnl` are then the lifetime totals. * `inflows` and `outflows` are netted per transaction, recognize withdrawals when the redemption claim is paid, and in wallet scope include share transfers valued at the vault share value at the transfer operation. They are not total cash deposited or withdrawn. For a [custody migration](#partner-accounting-faq), the migrated shares enter the receiver's `inflows` at value: e.g. an inflow of 21,509,075.692925 = carried cost 21,503,019.316660 + embedded gain 6,056.376265, where the gain is reported in `netTransferredUnrealizedPnl`. * `null` `inflows`, `outflows` or `pnl` mean the check is not evaluable for that row (see `quality.reasons`), not that it failed. * Do not mix these figures with `totalEarnings` from `/v1/accounts/{account}/positions`; the two figures are computed differently and do not reconcile. * The lifetime read can take 10 seconds or more uncached; run it as its own request. ### Scope | Balance/earnings scope | Filters | Coverage | | - | - | - | | **Protocol** | Omit both | Managed assets of all share holders across published root vaults, including fee shares | | **Vault** | `vault` | All share holders in that root vault, including fee shares | | **Wallet** | `account` | That wallet across published root vaults | | **Wallet–vault** | Both | That wallet in one root vault | **Key points** * Resolve the chain-qualified `vault.id` through `/v1/vaults`; retain inactive holdings. * Each asset has its own `{chainId, address, decimals}`. Combine amounts only within that identity. * A wallet scope follows its on-chain address. Beneficial-owner consolidation requires verified address ownership, effective dates and transfer links in a separate partner ledger. A transfer alone establishes no common-owner mapping. * Omitting `account` aggregates holder investment performance. Operator revenue requires a separate accounting scope; strategy gain/loss comes from [harvest reports](/en/developers/accrual-accounting#harvest-to-investor-earnings). ### One request: a KST daily report For a September 8 KST close, select the wallet and Vault, September 8–9, a daily interval and `Asia/Seoul`. Use the [earnings reference](https://api.superearn.io/v1/docs#tag/earnings/GET/earnings) for the exact request. **Reconcile each asset row** * `closing.totalValue = opening.totalValue + inflows - outflows + pnl` * With complete cost/PnL evidence: `pnl = realizedPnl + unrealizedPnlChange - netTransferredUnrealizedPnl` * The example closes at September 9 00:00 KST; the next day opening uses the same boundary. `opening.block` / `closing.block` identify the confirmed states strictly before those times. ### Change the reporting period | Report | Parameters | | - | - | | One whole period | Omit `interval`; read one combined period | | Exact KST day | `start=2026-09-01T00:00:00+09:00`, `end=2026-09-02T00:00:00+09:00` | | Daily UTC | Date pair + `interval=day`; timezone defaults to `UTC` | | Daily KST | Date pair + `interval=day&timezone=Asia/Seoul` | | Monthly KST | Date pair + `interval=month&timezone=Asia/Seoul` | | Fixed UTC+05:45 | Date pair + `timezone=+05:45` | | Hourly | Either pair + `interval=hour` | | Custom local close | Date pair or calendar interval + `cutoff=HH:mm:ss` | **Key points** * KST daily/monthly reports follow the selected local calendar. IANA zones track DST; fixed offsets keep a constant clock rule. * For daily/monthly holdings, read every row `opening` and `closing`; use `interval=hour` for hourly boundaries. A time-weighted average holding needs a separate calculation policy. * Query any full period with `interval` omitted. Matching adjacent TWRs link geometrically: `1 + full-period rate = Product(1 + row rate)`. Require the same scope, valuation, policy and complete evidence; preserve precision and query the whole period for its annual equivalents. * Read every page before closing a report. Preserve the query, response and evidence with the export. * Exact input combinations, field definitions and error conditions: [earnings](https://api.superearn.io/v1/docs#tag/earnings/GET/earnings) · [balances](https://api.superearn.io/v1/docs#tag/balances/GET/balances). ### Valuation and return availability | Selected valuation / flows | Available result | | - | - | | PPS, with external flows | True TWR requires verified portfolio values around every external-flow operation; missing evidence leaves rates null | | Estimated NAV, without external flows | Supported from verified opening/closing NAV with valid capital; verified internal replacements remain internal | | Estimated NAV, with external flows | Operation NAV states are unavailable; rates are null with `twr_nav_flow_state_unavailable`. Verified cash flows can still support PnL | | Estimated NAV, external share transfer without its NAV mark | `inflows`, `outflows`, `pnl` and `netTransferredUnrealizedPnl` are null. Verified `costBasis`, independently known `realizedPnl` and raw `unrealizedPnlChange` remain available | Read `quality` for the specific evidence gap. An unavailable rate stays null through annualization; see [period return](#period-return) for capital and linking rules. **Claim receivers:** The index lacks complete historical receiver lineage, so a canonical range check screens for relevant changes. Wallet periods affected by `RedeemReceiverUpdated`, including changes out and back, return `receiver_change_unsupported`: dependent money and rates are null while independently verified boundary holdings, active cost and unrealized balances remain available. `receiver_change_collection_pending` is retryable; retries reuse stored progress. Reassignment between included receivers remains internal to whole-holder scope. ## Boundary value Snapshots for a requested boundary timestamp `T` are taken at the latest canonical confirmed block strictly before `T`. At that block, total balance is the sum of active positions and pending redemptions: ```text theme={null} Total Balance (totalValue) = Active Position Value (positionValue) + Redemption Receivables (redemptionReceivable) Active Position Value (positionValue) = Held Shares (shares) × PPS ``` Active position value is derived according to the vault's architecture (`GET /v1/vault-read-plans`): * **Variable-yield vaults (`yearn-free-funds`, e.g. `EarnUSDT`)**: * **Free funds**: `Free Funds = Reported Total Assets - Effective Locked Profit` * **Underlying token allocation**: `Underlying Amount = floor(Held Shares * Free Funds / Total Supply)` * **Asset conversion**: For wrapper vaults (e.g. `EarnUSDT` converting through `seCDV` to `USDT`), the underlying amount is converted via the underlying vault exact `convertToAssets` at the same block, retaining integer floors before dividing by asset decimals ($10^6$ for `USDT`, $10^{18}$ for `JPYC`). * **Redemption receivables (`CooldownVault`)**: Nominal value of uncollected redemption claims where shares were burned at request time. * **Fixed-rate vaults (`accountant-rate`, `BoringVault` + `Accountant` + `AtomicQueue`)**: * **Confirmed exchange rate**: `Rate = Accountant.getRateInQuoteSafe(asset)` (denominated in base-asset atoms per $10^{18}$ share atoms: $10^{18}$ for `JPYC`, $10^6$ for `USDT`). * **Active position value**: `Position Value = floor(Held Shares * Rate / 10^18)` before dividing by base-asset decimals. * **Pending withdrawal requests (`AtomicQueue`)**: Submitting an `AtomicQueue` request does not burn shares until `redeemSolve` atomic settlement. Open requests (`floor(offerAmount * atomicPrice / 10^18)`) overlap wallet `shares` and are not added on top of `positionValue` as a separate `redemptionReceivable`, preventing double-counting. **Key points** * Multiply raw shares by free funds, divide by supply once, then convert the resulting underlying amount. The rounded `pricePerShare` quote is a diagnostic; multiplying a large holding by that quote loses precision. * EarnUSDT converts through seCDV to USDT at the same block. Each contract conversion retains its integer floor. * A valid empty vault has zero supply and zero held shares, yielding zero held value. Inconsistent share/supply state is unavailable. * Free funds exclude effective locked profit; reported assets follow strategy reports. Estimated NAV can include supported strategy estimates before a report. Read the [accrual coverage and adjustment rules](/en/developers/accrual-accounting) before financial-statement use. * Whole-vault valuation converts total supply once; per-wallet floors can produce a different sum. * Periods are `[t_0, t_1)`: an event at `t_0` is included; an event at `t_1` enters the next period. * Adjacent periods share the same boundary snapshot. Hourly collection provides reusable boundaries; custom boundaries use verified archive reads. **Cautions** * Unsupported conversion, unfinalized boundaries or missing evidence return an explicit error. * Aggregate root assets once. Exclude nested claims already represented in the root valuation. * Cooldown token conversion remains 1:1, and awaiting liquidity leaves unpaid claims at their nominal contract amounts. Strategy debt and shortfall are reconciled separately in the protocol book. [Cooldown principal and settlement](/en/developers/accrual-accounting#cooldown-principal-and-settlement). ## Cost and recognition At a boundary, active share valuation separates into acquisition cost and unrealized gain/loss: ```text theme={null} Unrealized PnL = Position Value - Cost Basis ``` * **Position value (`positionValue`)**: Active shares under the selected valuation basis. * **Cost basis (`costBasis`)**: Verified remaining acquisition cost for active shares under the wallet convention (excludes nominal claims). * **Unrealized PnL (`unrealizedPnl`)**: Valuation gain or loss relative to cost basis at the boundary. When shares leave a wallet through a transfer or redemption, cost is allocated proportionally: ```text theme={null} Allocated Cost = floor(Pre-movement Cost * Disposed Shares / Pre-movement Shares) Remaining Cost = Pre-movement Cost - Allocated Cost Realized PnL = Disposal Consideration - Allocated Cost ``` * For a genuine share transfer, the allocated cost carries over to the receiving wallet. * For a verified redemption or disposal, the difference between consideration received and allocated cost recognizes as `realizedPnl`. * **Custody migration (wallet-to-wallet transfer)**: Moving shares from an old custody wallet to a new custody wallet follows the same generic rule (`wallet-transfer-pro-rata-v1`) as any receipt-verified share transfer between any two wallets. SuperEarn keeps no address or entity registry and makes no beneficial-owner assertion. A full-balance transfer moves all remaining cost; a partial transfer moves `floor(cost × shares sent / shares held)` and the remainder stays with the sender. A pure transfer is not a disposal, so realized PnL is 0. See [FAQ Q3](#partner-accounting-faq). ### PnL decomposition and reconciliation Total PnL decomposes across realized earnings, valuation changes on remaining holdings, and net embedded gains/losses transferred in or out: ```text theme={null} Total PnL = Realized PnL + Unrealized PnL Change - Net Transferred Unrealized PnL ``` Where: * **Unrealized PnL Change (`unrealizedPnlChange`)**: `Ending Unrealized PnL - Beginning Unrealized PnL` * **Net Transferred Unrealized PnL (`netTransferredUnrealizedPnl`)**: Net embedded gain/loss entering the scope via share transfers: ```text theme={null} Net Transferred Unrealized PnL = Sum of Inbound(Market Value - Carried Cost) - Sum of Outbound(Market Value - Carried Cost) ``` * **Reconciliation residual (`residual`)**: Verified books confirm that `Total PnL - (Realized PnL + Unrealized PnL Change - Net Transferred Unrealized PnL) = 0`. Nonzero residuals suppress return calculations. ### Share transfer example Cost 50 and value 60 move from one wallet to another. Prices stay unchanged and amounts divide exactly. Each row describes that wallet separate period; the receiver redeems in a later period. | Wallet / event | `realizedPnl` | `unrealizedPnlChange` | `netTransferredUnrealizedPnl` | `pnl` | | - | -: | -: | -: | -: | | Sender transfers all shares | 0 | -10 | -10 | 0 | | Receiver receives shares, carrying cost 50 | 0 | +10 | +10 | 0 | | Receiver later redeems for 60 | +10 | -10 | 0 | 0 | ### Example One wallet, same claim receiver, opening value 110 and cost 100; subsequent prices stay unchanged: \| Event | Position value | Cost basis | Unrealized PnL | Redemption receivable | Period effect | \| --- | ---: | ---: | ---: | ---: | ---: | --- | \| Opening | 110 | 100 | 10 | 0 | Managed balance 110 | \| Burn -> fixed claim | 0 | 0 | 0 | 110 | Realized +10; unrealized change -10; PnL 0 | \| Unpaid after cooldown | 0 | 0 | 0 | 110 | Claim retains nominal value | \| Payment 110 | 0 | 0 | 0 | 0 | Outflow 110; additional PnL 0 | \| Accepted-loss settlement: payment 109 | 0 | 0 | 0 | 0 | Request closed; outflow 109; payment loss 1 | ## Earnings Period earnings reconcile opening and closing balances with external cash flows under the standard accounting identity: ```text theme={null} Ending Balance (closing.totalValue) = Beginning Balance (opening.totalValue) + Inflows - Outflows + PnL ``` Solving for period PnL: ```text theme={null} PnL = Ending Balance (closing.totalValue) - Beginning Balance (opening.totalValue) - (Inflows - Outflows) ``` | Movement | Wallet scope | Whole-vault scope | | - | - | - | | Deposit from a free wallet | Inflow | Inflow | | Share transfer between holders | Sender outflow; receiver inflow | Internal movement | | Fixed redemption claim, same owner/receiver | Investment reclassification | Investment reclassification | | Claim payment to a free wallet | Outflow | Outflow | ## Period return `return.method=time_weighted` calculates True Time-Weighted Return (TWR) by breaking the reporting period at each external cash flow: * **Holding sub-periods**: Across intervals without external flows, growth is: ```text theme={null} Sub-period Growth = Ending Balance / Beginning Balance ``` * **Operation boundaries**: At each external flow operation, portfolio values are measured immediately before and after the flow to isolate external capital additions and withdrawals from investment performance. * **Period TWR**: All sub-period growth factors link geometrically: ```text theme={null} 1 + Period TWR = Product(Sub-period Growth Factors) ``` ### Annualized rates Let `Elapsed Seconds` be the actual elapsed seconds in the period and `Year Seconds = 365 * 86,400 = 31,536,000`: ```text theme={null} Linear APR = Period TWR * (Year Seconds / Elapsed Seconds) Compound APY = (1 + Period TWR) ^ (Year Seconds / Elapsed Seconds) - 1 ``` * **Linear APR (`return.apr`)**: Standard official annualized rate across all time horizons (1 hour, 1 day, 1 month). * **Compound APY (`return.apy`)**: Computed for every period with a defined return, including windows shorter than 7 days. It is `null` only when the period return is unavailable or the annualized result cannot be represented. Below 7 days it is a hypothetical annual equivalent that amplifies harvest and lock-release timing, so a non-null `return.apy` is not necessarily display-safe. Prefer `return.apr` and `return.periodRate` for short windows, and apply your own display threshold (e.g. hide `apy` when `end - start < 7 days`) if you need one. ## PPS APY `/v1/apy` targets a trailing seven-day PPS window. Request `start/end` filter UTC daily observation anchors (`at`) in `[start, end)`; each row `start/end` gives the actual trailing measurement window, which can begin before the request range. ```text theme={null} PPS APY = (Closing PPS / Opening PPS) ^ (Year Seconds / Elapsed Seconds) - 1 ``` * `Opening PPS` and `Closing PPS` are the observed share prices at the start and end of the trailing measurement window (`start/end` in the API response). * `Elapsed Seconds` is the actual duration between observations, with `Year Seconds = 31,536,000`. ## Contract interest Institution `/interest` uses checkpointed principal and fixed-rate ACT/365 accrual: ```text theme={null} Period Interest = Credited Interest + Ending Accrued Interest - Beginning Accrued Interest ``` Where accrued interest at a boundary timestamp `T` is calculated from the last checkpoint before `T`: ```text theme={null} Accrued Interest = floor((Checkpoint Scaled Interest + Principal * Rate_bps * Active Accrual Seconds) / (10,000 * Year Seconds)) ``` * **Active Accrual Seconds**: Elapsed seconds from `max(last checkpoint, start time)` to `min(T, maturity)`. Maturity of 0 means uncapped. * **Credited Interest**: Change in cumulative interest already credited to the claim ledger (`credited`). * **Principal & Rate**: Checkpointed principal in raw token atoms and annual rate in basis points (100 bps = 1%). ## Partner accounting FAQ > [accordion] Q1: Large withdrawal & \$27.5M offset mechanism — Why did unrealized PnL drop while net profit stayed positive? > > **Context**: During a large redemption (e.g. withdrawing 90% of a fund position), the remaining paper gain drops abruptly. In June 2026, a partner noticed that `unrealizedPnlChange` dropped by -\$27.5M, raising concern about an apparent loss. > > **Accounting Reality**: > When shares are redeemed, accumulated paper gains are converted into cash. Under the pro-rata moving average cost model: > > * The unrealized gain bucket decreases by \*\*-$27.5M** (`unrealizedPnlChange = -$27.5M\`). > * Simultaneously, the realized gain bucket increases by \*\*+$27.5M** (`realizedPnl = +$27.5M\`). > * The PL identity confirms: > ```text theme={null} > PnL = realizedPnl + unrealizedPnlChange = (+27.5M) + (-27.5M) = 0 > ``` > > The net period earnings are completely undisturbed; paper profits simply shifted into realized profits. > [accordion] Q2: Redemption receivables — What is their accounting status and why is yield 0% during cooldown? > > **Context**: When a user submits a redemption request, burned shares become `redemptionReceivable` in the CooldownVault. > > **Accounting Reality**: > > * **100% Principal Protection**: The nominal redemption consideration is locked and guaranteed by the protocol. Cross-chain routing and strategy unravelling are internal protocol operations. > * **Non-earning Asset**: Because the underlying shares were burned at the confirmed block PPS, this capital no longer participates in vault growth. It earns 0% interest during the cooldown waiting period. > * **Balance Sheet Classification**: On the partner balance sheet, `redemptionReceivable` is classified as a short-term financial receivable awaiting settlement, distinct from active earning investments (`positionValue`). > [accordion] Q3: Custody migration & multi-wallet transfers — How is cost basis preserved? > > **Context**: When moving shares from an old custody wallet to a new custody wallet, how does the API avoid creating false disposals? > > **Accounting Reality**: > > * **Generic transfer rule**: Every receipt-verified share transfer between any two wallets carries the sender's pro-rata acquisition cost to the receiver (policy `wallet-transfer-pro-rata-v1`). No registration or onboarding step exists: SuperEarn keeps no address or entity registry, and the rule makes no beneficial-owner assertion. A transfer to an unrelated wallet receives the same treatment. > * **Cost Carryover**: A full-balance transfer moves all remaining cost. A partial transfer moves `floor(cost × shares sent / shares held)`, and the remainder stays with the sender. > * **Zero Realized PnL**: A pure transfer is not a disposal, so `realizedPnl` is 0 on both sides. > * **Both sides in `/v1/earnings`**: The sender reports the transfer value in `outflows` and a negative `netTransferredUnrealizedPnl` (value less carried cost). The receiver reports the same value in `inflows`, a `costBasis` increase equal to the carried cost, and a positive `netTransferredUnrealizedPnl` of the same magnitude. Wallet-level `inflows` / `outflows` therefore include migrations and are not deposit or withdrawal volume. > * **Worked example**: A full-balance migration valued at 21,509,075.692925 carried cost 21,503,019.316660 and embedded gain 6,056.376265. The sender shows `outflows = 21,509,075.692925`, `costBasis` 21,503,019.316660 → 0, `realizedPnl = 0` and `netTransferredUnrealizedPnl = -6,056.376265`; the receiver shows `netTransferredUnrealizedPnl = +6,056.376265`. > * **Reason codes**: When evidence is missing, the carried cost or the PnL split is `null` and `quality.reasons` lists the cause: > * `transfer_cost_basis_unverified`: the sender's acquisition cost for the transferred shares is not verified. > * `transfer_evidence_unavailable`: the transfer receipt could not be verified. > * `transfer_valuation_unavailable`: the value of the transfer at its operation is unavailable. > * `receiver_change_unsupported`: a pending redemption's claim receiver changed in the period; see [Claim receivers](#valuation-and-return-availability). > * `redemption_intermediary_cost_unavailable`: a Router (redemption transit contract) held pre-existing shares, so transit cost cannot be isolated. > * **Before migrating**: Claim or settle pending redemptions first. Reassigning a pending redemption's receiver during a migration returns `receiver_change_unsupported` for the affected wallet periods. > * **Activity feed**: `GET /v1/accounts/{account}/activity` shows a migration only as a `SEND` or `RECEIVE` position row with its share amount; `principal`, `value`, `earnings` and `realizedGain` are `null`, so read the monetary effect from `/v1/earnings`. > [accordion] Q4: Vault lockedProfit buffer & legacy harvestReport — Why is locked profit excluded from official balance/PnL, and how can it be queried? > > **Context**: Morpho, Pendle PT, and RWA strategies generate interest continuously, but the vault PPS unlocks that yield linearly over 7 days. In legacy prototypes, an experimental `accountedBy=harvestReport` mode existed that included unreleased locked profit in earnings. Why is this excluded from v1 canonical earnings, and how do we query it? > > **Accounting Reality**: > > * In the SuperVault architecture, when a strategy reports earnings via a `harvest` transaction, the profit is placed into a `lockedProfit` buffer that unlocks linearly over 7 days to protect against sandwich attacks and flash loans. > * **Why it is excluded from official balance and PnL**: > 1. *No legal entitlement at report time (IFRS asset recognition)*: If a holder redeems shares immediately after harvest, the smart contract settles strictly at PPS (`freeFunds`), paying zero locked profit. Recognizing an unredeemable amount as balance/income violates IFRS control and realizability standards. > 2. *Share dilution*: New deposits over the 7 days acquire shares at current PPS and participate in the remaining unlock, diluting the original holders. > 3. *Ledger integrity*: Treating locked profit as balance creates an artificial disposal loss when an investor exits at true contract PPS. > * **How to query this information in v1**: > 1. *Audit reconciliation*: Add `include=reconciliation` to `/v1/earnings` to receive `reportedAssets`, `lockedProfit`, and `rounding` adjustments alongside canonical PPS numbers. > 2. *Strategy harvest events*: Query `GET /v1/harvests` to see verified keeper reports, net gain, assessed fees, and gross report-block wallet allocations. > 3. *Real-time venue accruals*: Set `valuation=estimated_nav` on `/v1/earnings` to inspect live economic yield directly from underlying protocol adapters before root harvest. > [accordion] Q5: Linear APR vs compound APY — Why is linear APR the standard for short observation windows? > > **Context**: Why should partners prefer `return.apr` over `return.apy` on periods under 7 days? > > **Accounting Reality**: > > * Compounding a 1-day or 1-hour return over 365 days involves raising `(1 + R)` to the power of 365 or 8,760. Even minor block-timing jitter or discrete harvest events can cause APY to wildly explode (e.g. spike to 300% or drop negative). > * Therefore, **linear APR (`return.apr`)** is the official, distortion-free standard across all intervals. The API still computes `return.apy` for every period with a defined return and does not set it to `null` below 7 days, so treat a short-window `apy` as a hypothetical extrapolation: present `return.periodRate` and `return.apr`, and show `apy` only as a supplementary figure. > [accordion] Q6: Audit Check Matrix — How can external auditors verify reports in Excel? > > External auditors can directly verify the integrity of SuperEarn statements by exporting CSV/JSON rows and verifying the following column formulas in Excel: > > | Verification Step | Excel Formula | Expected Residual | > | :- | :- | :- | > | **1. BS Balance** | `=ROUND(positionValue + redemptionReceivable - totalValue, 6)` | `0.000000` | > | **2. BS Cost & Gain** | `=ROUND(costBasis + unrealizedPnl - positionValue, 6)` | `0.000000` | > | **3. Period PnL** | `=ROUND(closing_totalValue - opening_totalValue - inflows + outflows - pnl, 6)` | `0.000000` | > | **4. PnL Decomposition** | `=ROUND(realizedPnl + unrealizedPnlChange - netTransferredUnrealizedPnl - pnl, 6)` | `0.000000` | > | **5. Lifetime Ledger** (`interval=all` row with `opening_totalValue = 0`) | `=ROUND(closing_totalValue + outflows - inflows - pnl, 6)` | `0.000000` | ## Report evidence | Step | Reporting action | | - | - | | Preserve precision | Keep integer/decimal calculations and the floors shown in each equation | | Review coverage | Inspect missing values, quality reasons and reconciliation before posting | | Freeze | Save the query, response, policy, asset membership and source evidence | | Correct | Link a new result/version and reason while preserving the issued original | * Scalar defines [balance fields](https://api.superearn.io/v1/docs#tag/balances/GET/balances), [earnings fields and precision](https://api.superearn.io/v1/docs#tag/earnings/GET/earnings) and [APY fields](https://api.superearn.io/v1/docs#tag/apy/GET/apy). * Apply separately supported impairment and reporting adjustments; see [valuation and harvest reporting](/en/developers/accrual-accounting). * Existing QA/legacy exports retain route-specific formulas and verified coverage; see [legacy comparison](/en/private/data-api-migration-guide). # Integrate EarnUSDT Source: https://docs.superearn.io/en/developers/integrate-earn-usdt A compact read and transaction quickstart. ## Choose the integration | Mode | Implement | Reference | | - | - | - | | Read-only portfolio | Balances, earnings, APY and withdrawal status | [Data API](/en/developers/data-api) | | Deposit / withdrawal UI | Reads plus wallet authorization and Router calls | [Execution profile and ABIs](/en/developers/external-builder-guide) | | Partner reporting | Exact boundaries, decimal amounts and evidence | [Financial equations](/en/developers/financial-data) | ## User flow | Action | Quote | Authorization / write | Completion | | - | - | - | - | | Deposit USDT | `previewDeposit` | Permit or allowance; Router deposit | Successful receipt and EarnUSDT received | | Request USDT withdrawal | `previewWithdraw` / `previewRedeem` | EarnUSDT allowance; Router redeem | Filled amount and queue request | | Receive withdrawal | Current claimability | Keeper normally submits claim | `status: claimed` and actual payment | **Before enabling writes** * Verify the pinned chain, addresses, token relationships and decimals. * Check wallet balances, allowance and gas; quote immediately before signing. * Require explicit nonzero minimum output. Stop on rejected signatures. ## Read-only deposit quote This example quotes 100 USDT. Run it with `viem` after verifying the [execution profile](/en/developers/external-builder-guide#execution-profile). ```ts theme={null} import { createPublicClient, http, parseAbi, parseUnits } from "viem"; import { kaia } from "viem/chains"; const client = createPublicClient({ chain: kaia, transport: http() }); const router = "0x7437892a3e2e658038758dd7ca638334c0c2006c"; const vault = "0x2e4e573d86c70688cd97d76bc5ddc1bb265bf5d6"; const amount = parseUnits("100", 6); const quote = await client.readContract({ address: router, abi: parseAbi([ "function previewDeposit(address yVault, uint256 amount) view returns (uint256)" ]), functionName: "previewDeposit", args: [vault, amount] }); function minimumOutput(quoted: bigint, toleranceBps: bigint): bigint { if (quoted <= 0n || toleranceBps < 0n || toleranceBps >= 10_000n) throw new Error("Invalid quote or tolerance"); const minimum = quoted * (10_000n - toleranceBps) / 10_000n; if (minimum === 0n) throw new Error("Minimum output rounds to zero"); return minimum; } // Example policy: 50 bps (0.5%); configure for the integration/user. const minSharesOut = minimumOutput(quote, 50n); ``` * Quote output and `minSharesOut` use raw EarnUSDT units. * Pass the computed minimum to the selected Router deposit method. * Refresh a stale quote before submission; a successful quote describes the observed state. ## Reconciliation | Record | Retain | | - | - | | Transaction | Chain, hash, caller, receipt status and decoded filled amounts | | Redemption | Queue contract, request ID, receiver, requested asset and actual claim | | Reporting | Query, response, block evidence, policy, quality and API version | **Cautions** * Partial redemptions return unfilled EarnUSDT; reconcile receipt and indexed request. * EarnUSDT → seCDV → USDT requires both valuation steps; use the [boundary equations](/en/developers/financial-data#boundary-value). * Claim readiness depends on funding and FIFO reservations. Keep refreshing pending requests. * Existing QA-compatible integrations retain their [legacy contract](/en/private/data-api-migration-guide). # Integrate the Fixed-Rate Vault Source: https://docs.superearn.io/en/developers/integrate-fixed-rate-vault Integrate deposits through Router, withdrawal requests through AtomicQueue, and fixed-rate reads using network-specific contract addresses. SuperEarn's fixed-APR vault stack is built on BoringVault. `VAULT` on this page is **BoringVault and its ERC-20 share token**. Users **deposit through Router** and **submit withdrawal requests directly to AtomicQueue**. BoringVault does not expose ERC-4626 `deposit/redeem/previewRedeem` entrypoints. The deposit, withdrawal, and rate-query flow is the same on each network. Select the matching network and contract addresses below. `ASSET` is the underlying token for that deployment; on Kairos, it is mockUSDT. For the architecture and APR model, start with [fixed-rate vault architecture and rate updates](/en/protocol/fixed-rate-vault). The default operating target is a regular update **every 24 hours for USDT (6 decimals) and every hour for JPYC (18 decimals)**. This page focuses on integration calls; coordinate updates separately with the team on Kairos, which has no automated keeper. ## 1. Networks and contract addresses **EarnJPYC production uses JPYC on Kaia mainnet (chain ID 8217).** Kairos is a separate QA deployment using mockUSDT. Never mix addresses between the two deployments. | Network | Use | | - | - | | Kaia mainnet (chain ID 8217) | EarnJPYC production; JPYC and shares both use 18 decimals | | Kaia Kairos (chain ID 1001) | Integration testing with mockUSDT; see [Test on Kairos](#7-test-on-kairos) | Use the addresses for your selected network. Router, Keeper, Gateway, CustomVault, and the rate Controller use Transparent proxies; **use their proxy addresses in the table**. | Contract | EarnJPYC production — Kaia mainnet | QA — Kairos testnet | | - | - | - | | Underlying token (`ASSET`; mockUSDT on Kairos) | [`0xE7C3D8C9a439feDe00D2600032D5dB0Be71C3c29`](https://kaiascan.io/address/0xE7C3D8C9a439feDe00D2600032D5dB0Be71C3c29) | [`0xFD9a576384e9872fb6f7b3ed24c9be915E809C78`](https://kairos.kaiascan.io/address/0xFD9a576384e9872fb6f7b3ed24c9be915E809C78) | | Router — user deposit proxy | [`0x77800a61F54e5CEAC90AA0851A710D2FCFC3B23c`](https://kaiascan.io/address/0x77800a61F54e5CEAC90AA0851A710D2FCFC3B23c) | [`0xCF5A814F8D5fa5E51C7D25d00Af1fa930EDc51Bf`](https://kairos.kaiascan.io/address/0xCF5A814F8D5fa5E51C7D25d00Af1fa930EDc51Bf) | | BoringVault — fixed-rate vault share token, 18 decimals | [`0x794B606e216c24b6675804fFa081CdDa8586FA59`](https://kaiascan.io/address/0x794B606e216c24b6675804fFa081CdDa8586FA59) | [`0xada4481a03c26d378554e0F24247DaFc8Afa542F`](https://kairos.kaiascan.io/address/0xada4481a03c26d378554e0F24247DaFc8Afa542F) | | Accountant — checkpointed rate | [`0x15CABE0A23992240ca8d380c341C6375ad2d1bD1`](https://kaiascan.io/address/0x15CABE0A23992240ca8d380c341C6375ad2d1bD1) | [`0xc9de16B4E7Ab99c5466c3bA4F958C113faF20eef`](https://kairos.kaiascan.io/address/0xc9de16B4E7Ab99c5466c3bA4F958C113faF20eef) | | AtomicQueue — user withdrawal requests | [`0xa68983F5deDc22D5F991567D5b6965460CDBd552`](https://kaiascan.io/address/0xa68983F5deDc22D5F991567D5b6965460CDBd552) | [`0x1Cb256edad979cfc25622b35fD54d848Cdce8DD5`](https://kairos.kaiascan.io/address/0x1Cb256edad979cfc25622b35fD54d848Cdce8DD5) | | FixedAprRateController — APR and projected rate | [`0xFd164bB486AA19dfB72601b64761e4c8b6CfF919`](https://kaiascan.io/address/0xFd164bB486AA19dfB72601b64761e4c8b6CfF919) | [`0xA3914f4685838359b2a8403E8acea85f2cc4cB97`](https://kairos.kaiascan.io/address/0xA3914f4685838359b2a8403E8acea85f2cc4cB97) | | Keeper — keeper operations proxy | [`0xd9e186CEF1eC68451350239EE96fAA85f4E9bEF9`](https://kaiascan.io/address/0xd9e186CEF1eC68451350239EE96fAA85f4E9bEF9) | [`0xC819088522bedD6f4AC78bE42B98B384F5c5795b`](https://kairos.kaiascan.io/address/0xC819088522bedD6f4AC78bE42B98B384F5c5795b) | | Teller — internal minting/redemption | [`0xF624ADBe910b94dFfeD8b0493F5808273DB7fd9c`](https://kaiascan.io/address/0xF624ADBe910b94dFfeD8b0493F5808273DB7fd9c) | [`0xEbD6156c992000D78035663995d3e3896B29d2c3`](https://kairos.kaiascan.io/address/0xEbD6156c992000D78035663995d3e3896B29d2c3) | | CustomVaultGateway proxy | [`0x7ffcB023460C08119B2a16aA5220333d7de38b88`](https://kaiascan.io/address/0x7ffcB023460C08119B2a16aA5220333d7de38b88) | [`0xcd6C5b0c39039990f3F9341037c4a8Ad14a85827`](https://kairos.kaiascan.io/address/0xcd6C5b0c39039990f3F9341037c4a8Ad14a85827) | | CustomVault proxy | [`0x660A9B1E10BF2845feB0c63409012EC48e6cD238`](https://kaiascan.io/address/0x660A9B1E10BF2845feB0c63409012EC48e6cD238) | [`0x89837c5e0715551c31e7a52d75aC6465645Ea5c3`](https://kairos.kaiascan.io/address/0x89837c5e0715551c31e7a52d75aC6465645Ea5c3) | | Withdrawal request transfer-lock hook | [`0xcB43D3a0272f08458EEc7D585B68A9473bFdB6B0`](https://kaiascan.io/address/0xcB43D3a0272f08458EEc7D585B68A9473bFdB6B0) | [`0xf97B8B74F4293a460246a23bD7A6fB6B7a7806e3`](https://kairos.kaiascan.io/address/0xf97B8B74F4293a460246a23bD7A6fB6B7a7806e3) | | AtomicSolverV4 | [`0x3866047d84FFB5fc21611AA00317c4EF23Bf18Ba`](https://kaiascan.io/address/0x3866047d84FFB5fc21611AA00317c4EF23Bf18Ba) | [`0xFe1C618980A58dD2fDA4d8E77A0D6C916B03BCf6`](https://kairos.kaiascan.io/address/0xFe1C618980A58dD2fDA4d8E77A0D6C916B03BCf6) | | ManagerWithMerkleVerification | [`0xC9A2cC57c4D6F7629538606Bd5b08fD4EE864Fc4`](https://kaiascan.io/address/0xC9A2cC57c4D6F7629538606Bd5b08fD4EE864Fc4) | [`0x59fF09424EC310eb614abC063a43E97949355F7e`](https://kairos.kaiascan.io/address/0x59fF09424EC310eb614abC063a43E97949355F7e) | | BaseDecoderAndSanitizer | [`0xD1A4945080fd92D6bB05C5E3d2629ca61e1139e9`](https://kaiascan.io/address/0xD1A4945080fd92D6bB05C5E3d2629ca61e1139e9) | [`0xd5e955EBFDbBb2EB2D547dCC97152687b9BEB6B5`](https://kairos.kaiascan.io/address/0xd5e955EBFDbBb2EB2D547dCC97152687b9BEB6B5) | | RolesAuthority | [`0xd72DD66Bb7efe3D3C857bc57652294de1029d8fC`](https://kaiascan.io/address/0xd72DD66Bb7efe3D3C857bc57652294de1029d8fC) | [`0x2734eE3104fA6CcdaAaABA68e4E33D3EE38B08EC`](https://kairos.kaiascan.io/address/0x2734eE3104fA6CcdaAaABA68e4E33D3EE38B08EC) | | ProxyAdmin | [`0x9Ef977E4521ca735a870cBFA8bA225F558866B4B`](https://kaiascan.io/address/0x9Ef977E4521ca735a870cBFA8bA225F558866B4B) | [`0xC29491B25823a44467a9bcA422B56a789eF86b7E`](https://kairos.kaiascan.io/address/0xC29491B25823a44467a9bcA422B56a789eF86b7E) | Deposits enter BoringVault. The keeper can move liquidity through Gateway to CustomVault and return it for withdrawals. Gateway holds CustomVault shares and temporarily holds underlying during deposits; normal CustomVault withdrawals pay BoringVault directly. Download the **EarnJPYC production** address JSON and the shared TypeScript client below. The JSON identifies chain 8217 and 18-decimal JPYC; the client exports `mainnetDeployment` separately from `kairosDeployment`. Query current rate, pause, whitelist, and cap settings on-chain before submitting a transaction. ## 2. Integration paths and units | Action | User approval target | User call | Result | | - | - | - | - | | Deposit | **Approve ASSET to Router** | `Router.deposit(assets, minimumShares, receiver)` | BoringVault shares minted to receiver | | Request withdrawal | **Approve BoringVault shares to AtomicQueue** | `Queue.safeUpdateAtomicRequest(VAULT, ASSET, request, ACCOUNTANT, 0)` | Request recorded; no funds moved yet | | Fulfill withdrawal | No additional user approval | **Operator** settles through Keeper | ASSET sent to requester; no separate claim | | Cancel | None | Update the same pair with `offerAmount = 0` | Request cleared; Queue allowance can then be revoked | Router approves BoringVault internally and calls Teller `bulkDeposit`. **Users do not approve underlying to Teller or BoringVault.** Direct Teller `deposit`, `depositWithPermit`, and `bulkDeposit` are not public. Use `approve` followed by `deposit`. * Underlying token: read `ASSET.decimals()`. With 6 decimals, `1 token = 1_000_000` base units. * BoringVault shares: **18 decimals**. `1 share = 10^18`. * `R = Accountant.getRate()` is **ASSET base units per 1e18 share base units (1 share)**. ASSET is Accountant's base asset in this integration. **A JPYC-based rate has 18 decimals; a USDT-based rate has 6 decimals**, while shares have 18 decimals in both cases. At 1 share = 1 asset, the JPYC rate is `10^18` and the USDT rate is `10^6`. Read the current value from Accountant. * Deposit quote: `shares = floor(assets × 10^18 / R)`. * Value at the checkpointed rate: `assets = floor(shares × R / 10^18)`. * Actual request payout: `floor(offerAmount × atomicPrice / 10^18)`. Use `bigint` for all amounts, never JavaScript `number`. The example applies **10 bps (0.1%)** tolerance to minimum deposit shares. This is an example policy; adjust it for your application. Do not set `minimumShares` to zero. **Do not apply this deposit margin to a withdrawal's `atomicPrice`.** Lowering the withdrawal price reduces the actual payout. ### Approval targets and amounts Call `approve` on the **token contract** and pass the spending contract as `spender`. Approval alone creates neither a deposit nor a withdrawal request. | Purpose | Transaction target (`to`) | spender | Allowance | | - | - | - | - | | Deposit | `ASSET` token | **Router proxy** | Only this deposit's `assets`, in ASSET base units | | Withdrawal request | **BoringVault share token** | **AtomicQueue** | Only this request's `offerAmount`, in 18-decimal share units | For example, depositing 100 tokens with 6 decimals uses `ASSET.approve(Router, 100_000_000)`; withdrawing 10 shares uses `VAULT.approve(Queue, 10 × 10^18)`. **Do not approve ASSET to Queue to withdraw.** Settlement does not charge additional underlying or a shortfall to the user's wallet. > [!WARNING] > > **Do not use unlimited approvals or approve more than the current deposit/request amount.** An exact finite approval is appropriate when depositing or withdrawing the full balance. If an existing allowance exceeds the required amount, confirm `approve(spender, 0)` before approving only the required amount. Allowances have no expiry and are independent of request deadlines. A remaining allowance also applies to tokens received later. Minimal approvals limit exposure to an incorrect spender, contract flaws, and changes in permissions or implementations; they do not remove every risk. * Check the **chain ID, token address, spender, and amount** in the wallet. Names and symbols are insufficient. Use the published addresses for that network. For production, use the EarnJPYC mainnet column; Kairos QA addresses are not production addresses. * This integration does not require approving tokens to Teller, Solver, Keeper, Gateway, or an operator EOA, or approving BoringVault shares to Router. An EOA approved as spender can call `transferFrom` directly. If you approve the wrong spender, **set that actual spender's allowance to zero on the affected token**. The helpers below only clean up the configured Router/Queue allowances. * Do not send tokens with a plain `transfer` to Router, Vault, Queue, or Keeper. That does not perform a deposit or withdrawal, mint shares, or guarantee an automatic refund. Use `deposit` for deposits, `safeUpdateAtomicRequest` for new withdrawal requests, and `updateAtomicRequest` for cancellation. * A permit signature also grants spending rights. If your app separately supports permit, verify its token, chain, spender, amount, and signature deadline. The permit deadline limits **signature submission**, not the lifetime of the resulting allowance. This example uses `approve`. ### Asynchronous requests and atomic settlement A deposit uses **an approval transaction → a Router deposit transaction**. Within `deposit`, the asset transfer and share mint succeed or revert together. A confirmed approval does not revert when the later deposit fails or its signature is rejected. A withdrawal uses **share approval → request submission → later keeper settlement**. Shares remain in the wallet after submission. An authorized operator calls Keeper, and **AtomicQueue, as spender, calls `transferFrom` for the requested shares**. The operator EOA does not directly withdraw from the user's wallet. Share redemption and ASSET payment happen atomically **within one settlement transaction**; payment failure reverts the share transfer too. Each request fills in full, without partial fills. A valid request with sufficient share balance and allowance can settle **before its deadline without another user signature**. Do not label a successful request transaction as a completed withdrawal. Distinguish request confirmation, pending settlement, and payment; verify payment with `AtomicRequestFulfilled` and ASSET transfers. Keeper permissions and transfer locks do not justify leaving unnecessary allowances. ## 3. Runnable wallet integration Run `npm install viem` and use the following file in a TypeScript browser app. **Pass a `FixedRateDeployment` containing the chain and its contract addresses to `connectFixedRate`.** The same methods handle deposits, withdrawal requests, cancellation, and reads on either network. Use `mainnetDeployment` for EarnJPYC production or `kairosDeployment` for mockUSDT QA testing. The helper does not select or switch networks for you. Minimal ABIs are included. Asset decimals are read from the selected token. Amount inputs are decimal strings; excess precision is rejected. The helper resets an existing larger allowance to zero before approving only the exact required amount. Each operation waits for its transaction receipt, so approvals confirm before dependent calls. Reconnect when the wallet account or network changes. The example mints shares to the connected user; Router also accepts a different `receiver`. When constructing a configuration from `deployment.json`, map its address keys explicitly: `asset`, `router`, `accountant`, `controller`, `keeper`, and `teller` keep their names; use `vault ← boringVault` and `queue ← atomicQueue`. Set `chain` to the viem Chain configuration matching the wallet and RPC. The included `mainnetDeployment` and `kairosDeployment` both apply this mapping. ```typescript theme={null} import { createPublicClient, createWalletClient, custom, defineChain, http, erc20Abi, parseAbi, parseUnits, type EIP1193Provider, type Hash, type Address, type Chain, } from 'viem'; export const mainnetAddresses = { "asset": "0xE7C3D8C9a439feDe00D2600032D5dB0Be71C3c29", "router": "0x77800a61F54e5CEAC90AA0851A710D2FCFC3B23c", "vault": "0x794B606e216c24b6675804fFa081CdDa8586FA59", "accountant": "0x15CABE0A23992240ca8d380c341C6375ad2d1bD1", "queue": "0xa68983F5deDc22D5F991567D5b6965460CDBd552", "controller": "0xFd164bB486AA19dfB72601b64761e4c8b6CfF919", "keeper": "0xd9e186CEF1eC68451350239EE96fAA85f4E9bEF9", "teller": "0xF624ADBe910b94dFfeD8b0493F5808273DB7fd9c" } as const; export const kaiaMainnet = defineChain({ id: 8217, name: 'Kaia mainnet', nativeCurrency: { name: 'KAIA', symbol: 'KAIA', decimals: 18 }, rpcUrls: { default: { http: ['https://public-en.node.kaia.io'] } }, blockExplorers: { default: { name: 'KaiaScan', url: 'https://kaiascan.io' } }, }); export const kairosAddresses = { "asset": "0xFD9a576384e9872fb6f7b3ed24c9be915E809C78", "router": "0xCF5A814F8D5fa5E51C7D25d00Af1fa930EDc51Bf", "vault": "0xada4481a03c26d378554e0F24247DaFc8Afa542F", "accountant": "0xc9de16B4E7Ab99c5466c3bA4F958C113faF20eef", "queue": "0x1Cb256edad979cfc25622b35fD54d848Cdce8DD5", "controller": "0xA3914f4685838359b2a8403E8acea85f2cc4cB97", "keeper": "0xC819088522bedD6f4AC78bE42B98B384F5c5795b", "teller": "0xEbD6156c992000D78035663995d3e3896B29d2c3" } as const; export const kairos = defineChain({ id: 1001, name: 'Kaia Kairos', nativeCurrency: { name: 'KAIA', symbol: 'KAIA', decimals: 18 }, rpcUrls: { default: { http: ['https://public-en-kairos.node.kaia.io'] } }, blockExplorers: { default: { name: 'KaiaScan', url: 'https://kairos.kaiascan.io' } }, }); export type FixedRateDeployment = { chain: Chain; addresses: Record; }; export const kairosDeployment: FixedRateDeployment = { chain: kairos, addresses: kairosAddresses, }; export const mainnetDeployment: FixedRateDeployment = { chain: kaiaMainnet, addresses: mainnetAddresses, }; export const mockAbi = parseAbi(['function mint(address receiver, uint256 amount)']); export const routerAbi = parseAbi([ 'function deposit(uint256 assets, uint256 minimumShares, address receiver) returns (uint256 shares)', 'function paused() view returns (bool)', 'function supplyCap() view returns (uint256)', 'function whitelistEnabled() view returns (bool)', 'event Deposited(address indexed payer, address indexed receiver, uint256 assets, uint256 shares)', ]); export const accountantAbi = parseAbi([ 'function getRate() view returns (uint256)', 'function getRateSafe() view returns (uint256)', 'function accountantState() view returns (address payoutAddress, uint96 highwaterMark, uint128 feesOwedInBase, uint128 totalSharesLastUpdate, uint96 exchangeRate, uint16 allowedExchangeRateChangeUpper, uint16 allowedExchangeRateChangeLower, uint64 lastUpdateTimestamp, bool isPaused, uint24 minimumUpdateDelayInSeconds, uint16 managementFee, uint16 performanceFee)', 'event ExchangeRateUpdated(uint96 oldRate, uint96 newRate, uint64 currentTime)', ]); export const queueAbi = parseAbi([ 'struct AtomicRequest { uint64 deadline; uint88 atomicPrice; uint96 offerAmount; bool inSolve; }', 'function updateAtomicRequest(address offer, address want, AtomicRequest request)', 'function safeUpdateAtomicRequest(address offer, address want, AtomicRequest request, address accountant, uint256 discount)', 'function getUserAtomicRequest(address user, address offer, address want) view returns (AtomicRequest)', 'function isPaused() view returns (bool)', 'event AtomicRequestUpdated(address indexed user, address indexed offerToken, address indexed wantToken, uint256 amount, uint256 deadline, uint256 minPrice, uint256 timestamp)', 'event AtomicRequestFulfilled(address indexed user, address indexed offerToken, address indexed wantToken, uint256 offerAmountSpent, uint256 wantAmountReceived, uint256 timestamp)', ]); export const controllerAbi = parseAbi([ 'function aprBps() view returns (uint256)', 'function lastPokeAt() view returns (uint256)', 'function minInterval() view returns (uint256)', 'function previewNextRate() view returns (uint256 newRate, uint256 dt)', ]); const pauseAbi = parseAbi(['function isPaused() view returns (bool)']); const keeperAbi = parseAbi(['function paused() view returns (bool)']); // Invoke from a wallet-connect button. Reconnect after accountsChanged/chainChanged. export async function connectFixedRate( provider: EIP1193Provider, deployment: FixedRateDeployment, rpcUrl = deployment.chain.rpcUrls.default.http[0], ) { const { chain, addresses: a } = deployment; const wallet = createWalletClient({ chain, transport: custom(provider) }); const [account] = await wallet.requestAddresses(); if (!account) throw new Error('Connect a wallet'); if (await wallet.getChainId() !== chain.id) throw new Error(`Switch wallet to ${chain.name} (${chain.id})`); const client = createPublicClient({ chain, transport: http(rpcUrl) }); if (await client.getChainId() !== chain.id) throw new Error(`RPC must use chain ${chain.id}`); const assetDecimals = await client.readContract({ address: a.asset, abi: erc20Abi, functionName: 'decimals' }); const wait = async (hash: Hash) => { const receipt = await client.waitForTransactionReceipt({ hash }); if (receipt.status !== 'success') throw new Error(`Transaction reverted: ${hash}`); return receipt; }; async function approveExact(token: `0x${string}`, spender: `0x${string}`, amount: bigint) { const allowance = await client.readContract({ address: token, abi: erc20Abi, functionName: 'allowance', args: [account, spender] }); if (allowance === amount) return; if (allowance !== 0n) await wait(await wallet.writeContract({ account, address: token, abi: erc20Abi, functionName: 'approve', args: [spender, 0n] })); await wait(await wallet.writeContract({ account, address: token, abi: erc20Abi, functionName: 'approve', args: [spender, amount] })); } // Revocation calls the token directly; it also works while Queue is paused. async function revokeAllowance(token: Address, spender: Address) { const remaining = await client.readContract({ address: token, abi: erc20Abi, functionName: 'allowance', args: [account, spender] }); if (remaining === 0n) return; // Already revoked. return wait(await wallet.writeContract({ account, address: token, abi: erc20Abi, functionName: 'approve', args: [spender, 0n] })); } const revokeDepositAllowance = () => revokeAllowance(a.asset, a.router); const revokeQueueAllowance = () => revokeAllowance(a.vault, a.queue); function parseAmount(value: string, decimals: number) { if (!/^(0|[1-9]\d*)(\.\d+)?$/.test(value) || (value.split('.')[1]?.length ?? 0) > decimals) { throw new Error('Use a positive decimal string within token precision'); } return parseUnits(value, decimals); } // Test token helper: available only for the published Kairos mockUSDT. async function mintMockUSDT(amount = '1000') { if (chain.id !== kairos.id || a.asset.toLowerCase() !== kairosAddresses.asset.toLowerCase()) { throw new Error('mockUSDT mint is only available for the Kairos test deployment'); } const units = parseAmount(amount, assetDecimals); if (units <= 0n) throw new Error('Amount must be positive'); const { request } = await client.simulateContract({ account, address: a.asset, abi: mockAbi, functionName: 'mint', args: [account, units] }); return wait(await wallet.writeContract(request)); } async function deposit(amount: string, slippageBps = 10n) { const assets = parseAmount(amount, assetDecimals); if (assets <= 0n || slippageBps < 0n || slippageBps >= 10000n) throw new Error('Invalid amount/slippage'); await approveExact(a.asset, a.router, assets); const rate = await client.readContract({ address: a.accountant, abi: accountantAbi, functionName: 'getRateSafe' }); const minimumShares = (assets * 10n ** 18n / rate) * (10000n - slippageBps) / 10000n; if (minimumShares === 0n) throw new Error('Deposit too small'); const { request } = await client.simulateContract({ account, address: a.router, abi: routerAbi, functionName: 'deposit', args: [assets, minimumShares, account] }); return wait(await wallet.writeContract(request)); } async function requestWithdraw(shareAmount: string) { const shares = parseAmount(shareAmount, 18); if (shares <= 0n || shares > (1n << 96n) - 1n) throw new Error('Invalid share amount'); const old = await client.readContract({ address: a.queue, abi: queueAbi, functionName: 'getUserAtomicRequest', args: [account, a.vault, a.asset] }); // Clear even expired stored requests before granting a new allowance. if (old.offerAmount > 0n) throw new Error('Cancel stored request before approving a new one, including expired requests'); const balance = await client.readContract({ address: a.vault, abi: erc20Abi, functionName: 'balanceOf', args: [account] }); if (shares > balance) throw new Error('Insufficient shares'); await approveExact(a.vault, a.queue, shares); const rate = await client.readContract({ address: a.accountant, abi: accountantAbi, functionName: 'getRateSafe' }); if (rate <= 0n || rate > (1n << 88n) - 1n) throw new Error('Invalid atomic price'); if (shares * rate / 10n ** 18n === 0n) throw new Error('Withdrawal rounds to zero'); const block = await client.getBlock(); const atomicRequest = { deadline: block.timestamp + 7n * 86400n, // Ignored by safeUpdateAtomicRequest: price is read from Accountant at execution. atomicPrice: 0n, offerAmount: shares, inSolve: false }; const { request } = await client.simulateContract({ account, address: a.queue, abi: queueAbi, functionName: 'safeUpdateAtomicRequest', args: [a.vault, a.asset, atomicRequest, a.accountant, 0n] }); return wait(await wallet.writeContract(request)); } async function cancelWithdraw() { // The safe entrypoint rejects zero amounts; use the regular entrypoint to cancel. const { request } = await client.simulateContract({ account, address: a.queue, abi: queueAbi, functionName: 'updateAtomicRequest', args: [a.vault, a.asset, { deadline: 0n, atomicPrice: 0n, offerAmount: 0n, inSolve: false }] }); // Return cancellation success independently of allowance cleanup. return wait(await wallet.writeContract(request)); } async function getStatus() { const block = await client.getBlock(); const blockNumber = block.number; const [assets, shares, rate, request, state, aprBps, lastPokeAt, preview, routerPaused, tellerPaused, queuePaused, keeperPaused, allowance, depositAllowance] = await Promise.all([ client.readContract({ address: a.asset, abi: erc20Abi, functionName: 'balanceOf', args: [account], blockNumber }), client.readContract({ address: a.vault, abi: erc20Abi, functionName: 'balanceOf', args: [account], blockNumber }), client.readContract({ address: a.accountant, abi: accountantAbi, functionName: 'getRate', blockNumber }), client.readContract({ address: a.queue, abi: queueAbi, functionName: 'getUserAtomicRequest', args: [account, a.vault, a.asset], blockNumber }), client.readContract({ address: a.accountant, abi: accountantAbi, functionName: 'accountantState', blockNumber }), client.readContract({ address: a.controller, abi: controllerAbi, functionName: 'aprBps', blockNumber }), client.readContract({ address: a.controller, abi: controllerAbi, functionName: 'lastPokeAt', blockNumber }), client.readContract({ address: a.controller, abi: controllerAbi, functionName: 'previewNextRate', blockNumber }), client.readContract({ address: a.router, abi: routerAbi, functionName: 'paused', blockNumber }), client.readContract({ address: a.teller, abi: pauseAbi, functionName: 'isPaused', blockNumber }), client.readContract({ address: a.queue, abi: queueAbi, functionName: 'isPaused', blockNumber }), client.readContract({ address: a.keeper, abi: keeperAbi, functionName: 'paused', blockNumber }), client.readContract({ address: a.vault, abi: erc20Abi, functionName: 'allowance', args: [account, a.queue], blockNumber }), client.readContract({ address: a.asset, abi: erc20Abi, functionName: 'allowance', args: [account, a.router], blockNumber }), ]); const requestState = request.offerAmount === 0n ? 'none' : request.deadline < block.timestamp ? 'expired' : 'open'; return { account, blockNumber, assets, shares, rate, value: shares * rate / 10n ** 18n, aprBps, lastPokeAt, previewRate: preview[0], request, requestState, requestPayout: request.offerAmount * request.atomicPrice / 10n ** 18n, sharesLocked: requestState === 'open', allowance, depositAllowance, accountantPaused: state[8], routerPaused, tellerPaused, queuePaused, keeperPaused }; } return { account, client, mintMockUSDT, deposit, requestWithdraw, cancelWithdraw, revokeDepositAllowance, revokeQueueAllowance, getStatus }; } ``` Pass your connected wallet's EIP-1193 provider as `provider` (for example, your wallet SDK provider or an injected wallet's `window.ethereum`). `deployment` is the selected network configuration. Obtain its underlying token before depositing; for test tokens, follow [Test on Kairos](#7-test-on-kairos). ```typescript theme={null} import { connectFixedRate, type FixedRateDeployment } from './client'; async function integrate(provider: Parameters[0], deployment: FixedRateDeployment) { const api = await connectFixedRate(provider, deployment); await api.deposit('100'); // Deposit 100 underlying tokens and receive shares const before = await api.getStatus(); const requestReceipt = await api.requestWithdraw('10'); const pending = await api.getStatus(); return { before, pending, requestReceipt }; } ``` ## 4. Exact withdrawal semantics ```solidity theme={null} struct AtomicRequest { uint64 deadline; // Unix seconds; expired when block.timestamp > deadline uint88 atomicPrice; // ASSET base units per 1e18 shares uint96 offerAmount; // 18-decimal share amount bool inSolve; // Set false; Queue manages this during settlement } ``` ### atomicPrice: use the safe entrypoint to store the execution-time rate > [!WARNING] > > **`atomicPrice` is the fixed price that determines the actual payout, not a minimum acceptable price.** Create requests with **`safeUpdateAtomicRequest(VAULT, ASSET, request, ACCOUNTANT, 0)`**. The final argument, `discount=0`, stores the Accountant rate when the request transaction executes, without a discount. Later rate increases do not reprice an existing request. 1. Approve **AtomicQueue for exactly the requested BoringVault shares** and wait for confirmation. 2. Read **`Accountant.getRateSafe()` at the official deployment address** for a preview. Stop if paused or the read fails. Display shares, price, and estimated payout using `floor(offerAmount × rate / 10^18)`. Both the price and rounded payout must be positive. 3. Set `request.atomicPrice` to a **`0n` placeholder** and call the safe entrypoint. It ignores this field and overwrites the price using the supplied Accountant's **`getRateInQuoteSafe(ASSET)`** within the transaction. **Use the network's official `ACCOUNTANT` address and `discount=0n`**. Do not allow users to select an arbitrary Accountant: checking its `vault()` does not authenticate it as the official Accountant. 4. After confirmation, check the stored price and payout with `getUserAtomicRequest` or `getStatus()`. A poke between the preview and execution can change the registered price. If settlement has already cleared the request, inspect `AtomicRequestUpdated.minPrice` in the registration receipt and the `AtomicRequestFulfilled` event. Despite the name `minPrice`, this event field is the actual fixed settlement price. The example's `requestWithdraw()` uses this safe path. The `atomicPrice: 0n` input is ignored **only by the safe entrypoint**. Never pass a zero price with a nonzero amount to ordinary `updateAtomicRequest`: it can permit shares to be given away for nothing. The safe entrypoint checks share balance and allowance, deadline, a positive amount, the Accountant's vault, the discount limit, and the `uint88` price range. Queue or Accountant pause makes it revert. It does **not poke automatically, guarantee future payment, reprice existing requests, or reject a payout that rounds to zero**. `discount` uses a **1,000,000 denominator**, not basis points; its limit is 10,000 (1%). Always use zero in this integration. With ASSET as the Accountant base asset, `getRateInQuoteSafe(ASSET)` and `getRateSafe()` return the same value and units. For another quote asset, use the former rate getter, but do not change this withdrawal integration's supported pair arbitrarily. Ordinary `updateAtomicRequest` remains public for cancellation. It also permits nonzero requests and **stores the supplied price unchanged**, so use of the safe path is not enforced. For example, with a current USDT rate of `1_000_000` and `offerAmount = 100 × 10^18`: | Registration method | Stored price | Payout on successful settlement | | - | - | - | | Safe entrypoint, official Accountant, discount 0 | `1_000_000` if that is the rate at execution | **100 USDT** | | Ordinary update, supplied atomicPrice `500_000` | `500_000` | **50 USDT** | The second request still settles for **50 USDT** even if the rate later becomes `1_010_000`. Follow the cancellation and revocation steps below for an incorrect request, then resubmit through the safe path. A settlement that confirms first cannot be undone. ### Request state and share locks * There is **one request per `(user, VAULT, ASSET)`**. Updating the same pair replaces it rather than adding to it. The example requires clearing any stored request, including an expired one, before reapproving. This integration supports only the `(VAULT, ASSET)` pair; do not use arbitrary offer/want tokens. * `updateAtomicRequest` does not validate every balance, allowance, and price condition. Check sufficient shares and Queue allowance, positive `atomicPrice`, and a nonzero rounded payout. **A zero-price request can give away shares for nothing; never submit one.** * Shares remain in the wallet until settlement. An active request for this `(VAULT, ASSET)` pair blocks **all outbound share `transfer` and `transferFrom` calls from that wallet**, not just the requested amount. Queue settlement transfers are exempt from this additional lock; Teller deny-list checks still apply. * Cancellation, fulfillment, or `block.timestamp > deadline` removes this request lock. Expiry does not delete storage or settle the request. Separate Teller restrictions still apply. * The example uses **30 days** until expiry. This is neither a mandatory wait nor a fulfillment guarantee. Resubmit expired requests if you still want to withdraw. See the deadline warning below. * Queue pause **also blocks cancellation**. Ask the team to unpause. Revoking share allowance blocks settlement but leaves the active request lock until cancellation or expiry. If cancellation races settlement, whichever confirms first takes effect. * `offerAmount == 0` alone does not distinguish never-created, canceled, and fulfilled requests. Use `AtomicRequestFulfilled` and token balances to confirm payment. The recipient is always the requester; there is no withdrawal receiver argument. A wrapper contract submitting a request must hold/approve the shares and receives the payout itself. > [!WARNING] > > **Set a generous deadline, or the redemption can fail.** Withdrawals can take **more than a week** to become payable because liquidity is prepared off-chain and settled in batches. Settlement only checks `block.timestamp > deadline` at execution time, so a request that expires while liquidity is being prepared cannot be settled — even if its funds were already ready. > > * When a request has expired by the time its liquidity is ready, settlement skips it and the prepared liquidity is **allocated to the next pending requester** instead. > * The original user must then clear the expired request, **submit a new request, and wait again** for the next round of liquidity; the earlier place in line is not preserved. > * Choose a deadline well beyond the expected preparation time (the example above uses **30 days**), show the deadline to users, and alert them before it passes so they can resubmit early. A longer deadline does not delay payment; settlement can happen at any time before it. ### Canceling requests and revoking approvals **Cancel with `updateAtomicRequest` and `offerAmount=0`. The safe entrypoint rejects zero amounts and cannot be used to cancel.** These are separate transactions. `cancelWithdraw()` only clears the request and returns its cancellation receipt. `revokeQueueAllowance()` only sets BoringVault's allowance to Queue to zero. ```typescript theme={null} const cancellationReceipt = await api.cancelWithdraw(); // Cancellation is confirmed here, even if the next signature is rejected. await api.revokeQueueAllowance(); const status = await api.getStatus(); // Check request.offerAmount === 0n and allowance === 0n ``` | Situation | Required action | | - | - | | Deposit fails or is abandoned after approval | Use `revokeDepositAllowance()` to revoke ASSET → Router approval | | Request fails or is abandoned after share approval | Read the request state, then use `revokeQueueAllowance()` to revoke approval | | Cancellation succeeds but revocation fails or is rejected | Display cancellation success separately from incomplete approval cleanup; retry only revocation | | Request expires | It cannot settle, but storage and allowance remain. Clear the stored request and revoke allowance | | Request is fulfilled | Its amount becomes zero. An exact finite share allowance is consumed by the transfer; still check and revoke any remainder | | Queue is paused or an open request has an unwanted price | Call `revokeQueueAllowance()` directly to revoke settlement permission. Also cancel the request when Queue is unpaused | **Revocation does not delete the request or release its share transfer lock.** The lock remains until cancellation or expiry. Reapproving before expiry can make the stored request executable again at its old price. Read and cancel unwanted requests before reapproving. The example also requires explicitly clearing expired stored requests before granting a new approval. Token `approve(Queue, 0)` is a separate call even when Queue is paused. Revocation and cancellation take effect **only after on-chain confirmation** and cannot undo settlement confirmed first. For pending or timed-out transactions, inspect the transaction hash, request, allowance, and payment events before retrying. Run one request/approval workflow per account at a time. Stop and reconnect if the wallet account or network changes. ## 5. Rates and operational state `getRate()` returns the **last on-chain checkpoint**. Time passing or calling this view does not accrue interest in storage. An authorized Controller `poke` applies a fixed curve anchored to absolute time: ```text theme={null} newRate = floor(anchorRate × ratePerSecond^(now - anchorTime)) ``` `previewNextRate()` returns the projected `(newRate, dt)` as a view. It is **not the rate currently used for deposits/redemptions or a guaranteed payout**; pause and update bounds can make the actual poke fail. The rate depends only on absolute elapsed time, so **poke cadence does not change the realized APY** — a late or irregular poke lands on the same curve, with no drift. `aprBps()` returns the effective APY in bps (2%). Integer rounding only shaves sub-unit amounts at the floor of the rate. Rate updates and withdrawal settlement are keeper operations. Users cannot call Controller `poke`, Keeper `poke/redeemSolve`, or Queue `solve` with ordinary permissions. See the Kairos testing section for manual test coordination. | Check | Read / effect | | - | - | | Checkpointed rate | `Accountant.getRate()`; readable while paused | | Transaction rate | `Accountant.getRateSafe()`; reverts if Accountant is paused | | Accountant pause | `accountantState().isPaused` (**zero-based output index 8**); blocks deposits and redemption | | Router pause / policies | `paused`, `supplyCap`, `whitelistEnabled`, `whitelisted(account)`; deposit policies | | Teller pause / restrictions | `isPaused`, `shareLockPeriod`, `fromDenyList`, `toDenyList`, `operatorDenyList`; Router requires zero shareLockPeriod | | Queue pause | `isPaused()`; blocks request creation, changes, cancellation, and fulfillment | | Keeper pause | `paused()`; restricts team settlement operations, separate from user requests | | Rate freshness | Controller `lastPokeAt()`, `aprBps()`, `previewNextRate()` | The example's `getStatus()` reads balances, rates, requests, and pauses at one block. `sharesLocked` indicates **only the withdrawal request lock for this `(VAULT, ASSET)` pair**, not whether every transfer restriction passes. Successful reads do not guarantee a write will pass cap, whitelist, deny-list, liquidity, or other checks. Simulate writes and verify receipts as shown. ### Default rate-update cadence **The regular keeper operating target is an update every 24 hours for USDT (6 decimals) and every hour for JPYC (18 decimals).** JPYC's higher rate precision makes integer rounding at short intervals much smaller. In both cases, `getRate()` stays unchanged between successful checkpoints. Deposits, withdrawal requests, and reads do not automatically poke; withdrawal settlement is a separate operation. These intervals are not withdrawal waiting periods or completion guarantees. See the architecture page's [default keeper operating rules](/en/protocol/fixed-rate-vault#default-keeper-operating-rules) for asset-specific cadences, execution checks, delay/failure handling, and rounding comparisons. Read `lastPokeAt()` and the rate to confirm updates; do not show projected rates or scheduled times as confirmed values. The cadence is off-chain operational configuration, not automatic execution selected by contract decimals. Both Controller's `minInterval` and Accountant's `minimumUpdateDelayInSeconds` must permit it, and APR changes can create an additional checkpoint. Coordinate manual rate-update and settlement tests with the team on Kairos, which has no automated keeper. ## 6. Events and failure handling The full ABI JSON includes events and custom errors. Index events **at the specified contract address** with `getLogs` or `watchContractEvent`. Choose an indexing start block for the selected deployment. For Kairos integration tests, use `verifiedBlock` from the downloadable deployment JSON. | Purpose | Contract / event | | - | - | | User deposits | **Router `Deposited(payer, receiver, assets, shares)`** | | Share mint / burn | BoringVault `Enter`, `Exit`, ERC-20 `Transfer` | | Rate changes | Accountant `ExchangeRateUpdated`; Controller `Poked` | | Request creation / update / cancellation | Queue `AtomicRequestUpdated`; `amount = 0` means cancellation | | Completed payment | Queue `AtomicRequestFulfilled`; `wantAmountReceived` is the actual payment | Router uses Teller `bulkDeposit`, so the Teller **`Deposit` event is not emitted**. Distinguish Teller `BulkDeposit` from Router `Deposited`. | Symptom | Check / action | | - | - | | Transaction will not submit | Match the wallet and RPC to the selected network and obtain its gas token | | Deposit allowance missing | The underlying spender must be the **Router proxy** | | `MinimumMintNotMet` / deposit simulation failure | Re-read the rate; check minimum shares, balance, cap, whitelist, deny lists, and pauses | | Share transfer failure | Cancel an active request or check expiry; also check Teller restrictions | | Request stays pending | Check request expiry and settlement status; for Kairos, coordinate manual settlement with the team | | Settlement failure | Coordinate deadline, share balance, Queue allowance, request price, pauses, and liquidity with the team | | Request amount is zero but payment is unclear | Check Fulfilled events and ASSET transfers in that transaction | [EarnUSDT integration](/en/developers/integrate-earn-usdt) uses the separate SuperEarnRouter/CooldownVault product. Do not mix those interfaces with this Router/AtomicQueue flow. ## 7. Test on Kairos On **Kairos testnet (chain ID 1001)**, use **mockUSDT (`mUSDT`, 6 decimals)** as `ASSET`. mockUSDT and testnet vault shares have no economic value. The test deployment connects mockUSDT to a single-asset CustomVault. * RPC: `https://public-en-kairos.node.kaia.io` ([official Kaia RPC reference](https://docs.kaia.io/references/public-en/)). * Get test KAIA for gas from the [Kaia Faucet](https://www.kaia.io/faucet). Obtain mockUSDT separately by calling `mint` below. * Verified **2026-10-14**, block **230316651**. Initial APR **200 bps = 2%**, unlimited supply cap, whitelist off, Teller share-lock period zero. Governance may change settings; read them when integrating. Download the **Kairos** address set, full ABIs, and the same TypeScript module used above. The ABI bundle is keyed by `asset`, `router`, `boringVault`, `accountant`, `atomicQueue`, and the other deployment JSON keys. Select Kairos in your wallet, then call `mockUSDT.mint(receiver, amount)` or use the helper: ```typescript theme={null} import { connectFixedRate, kairosDeployment } from './client'; const api = await connectFixedRate(provider, kairosDeployment); await api.mintMockUSDT('1000'); // Anyone can mint 1,000 mUSDT to their wallet await api.deposit('100'); const requestReceipt = await api.requestWithdraw('10'); // Send requestReceipt.transactionHash to the team to arrange settlement. ``` `mint` has no role restriction, daily limit, or approval requirement. You can obtain test tokens without team approval. mockUSDT does not support EIP-2612 permit; use `approve` followed by `deposit`. The helper performs the approval for you. Test minting is available only for the published Kairos mockUSDT. > [!NOTE] > > **There is no automated keeper on testnet.** You can mint, deposit, submit/cancel withdrawal requests, and read state yourself. **To test interest updates (`poke`) or completed redemptions, contact the SuperEarn team to coordinate an integration test.** Email [contact@superearn.io](mailto:contact@superearn.io) with your Kairos wallet address, request transaction hash if available, amount, and preferred time. Waiting alone does not update the rate or fulfill a withdrawal. To test a redemption including accrued interest, use **team poke → read updated rate → submit fresh request → team settlement**. Cancel an existing request before replacing it. At the initial rate of `1_000_000` and a 2% target APY, the rate first increases by one unit about **1,593 seconds (26 minutes 33 seconds)** after the anchor. The rate is a function of elapsed time since the anchor, so earlier pokes do not delay this; they can advance `lastPokeAt` without changing the rate. mockUSDT generates no yield. The team prepares mock liquidity for interest payouts and confirms the settlement schedule. ## 8. Billing, financial reporting, and Data API > [!NOTE] > > **Data API coverage checked on November 3, 2026:** the production EarnJPYC contract is deployed, but it is not yet listed in `GET /v1/vaults`. On-chain deployment and API indexing are separate. Before using `/v1` for EarnJPYC, confirm the exact production vault address in the catalog, its active status, read plan, and historical coverage. An unavailable response is not a zero balance. Until coverage is available, use the on-chain reads and events in this guide. The production EarnJPYC share token is `0x794B606e216c24b6675804fFa081CdDa8586FA59` on Kaia (8217). Select contracts by chain and address, not by token symbol. The [Data API patterns](/en/developers/data-api) describe reporting for supported vaults; their EarnUSDT examples are not EarnJPYC responses. | Reporting requirement | Current on-chain source | Data API route after catalog and coverage verification | | - | - | - | | Held shares and their JPYC value | `BoringVault.balanceOf(account)` and `floor(shares × Accountant.getRateInQuoteSafe(ASSET) / 10^18)` at the same block | `/v1/balances`, `/v1/accounts/{account}/positions` | | Confirmed rate history | `Accountant.ExchangeRateUpdated`; archival block-pinned rate reads | `/v1/vaults/{vault}/state`, `/v1/earnings` | | Pending withdrawal quantity, price, deadline | `AtomicQueue.getUserAtomicRequest(account, VAULT, ASSET)`; `offerAmount`, `atomicPrice`, `deadline` | `/v1/accounts/{account}/redemptions` | | Deposits and completed withdrawals | `Router.Deposited`, `BoringVault.Enter`/`Exit`/`Transfer`, `AtomicQueue.AtomicRequestFulfilled` | `/v1/accounts/{account}/activity`, `/v1/earnings` | EarnJPYC shares and JPYC both have **18 decimals**. A pending request's shares remain in the wallet until settlement. Do not add `floor(offerAmount × atomicPrice / 10^18)` to the held-share valuation: it describes a subset of the same position. `deadline` is the latest permitted settlement time, not a cooldown maturity. Settlement pays JPYC atomically and needs no separate user claim. For accounting policies and completeness checks, see [balances, cost and returns](/en/developers/financial-data) and [partner reconciliation](/en/developers/reconciliation-guide). # Partner Reconciliation Walkthrough Source: https://docs.superearn.io/en/developers/reconciliation-guide Step-by-step practical guide for partners to reconcile daily ledger balances, audit locked profit, and verify yield against live on-chain data. [Scalar API reference](https://api.superearn.io/v1/docs) · [Balances, cost and returns](/en/developers/financial-data) · [Valuation and harvest reporting](/en/developers/accrual-accounting) · [Data API patterns](/en/developers/data-api) This guide provides end-to-end operational recipes for institutional partners and finance teams to reconcile daily statements, prove audit numbers, and verify yield using the SuperEarn Data API (`https://api.superearn.io`). All queries in this walkthrough use real production data from the Kaia Super Vault and an institutional partner router account. | Parameter | Walkthrough Value | Description | | :- | :- | :- | | **API Base URL** | `https://api.superearn.io` | Production Data API serving endpoint | | **Partner Account** | `0xa1963b0ad126aca96547b598e50fe2714993af70` | Institutional Partner Deposit Router on Kaia | | **Vault ID** | `eip155:8217:0x2e4e573d86c70688cd97d76bc5ddc1bb265bf5d6` | SuperVault (EarnUSDT) on Kaia | | **Native Asset** | `USD₮` (`0xd077a400968890eacc75cdc901f0356c943e4fdb`) | Token decimals = 6 | *** ## Scenario 1: Daily Ledger Reconciliation ### Objective Reconcile your internal accounting ledger against on-chain fund flows and net earned interest at period boundaries, under both **deposit-only** and **redemption (realized gain)** conditions. ### Case 1-A: Inflows and Accrued Interest (No Redemptions) When users only deposit and no shares are liquidated, all earned interest increases unrealized PnL, and realized PnL remains zero. #### 1. Query [`/v1/earnings`](https://api.superearn.io/v1/docs#tag/earnings/GET/earnings) for the 24-hour cycle ```bash theme={null} curl -s "https://api.superearn.io/v1/earnings?account=0xa1963b0ad126aca96547b598e50fe2714993af70&start=2026-09-01T00:00:00Z&end=2026-09-02T00:00:00Z" | jq '.data[0].assets[] | select(.asset.symbol=="USD₮")' ``` #### Actual API Response ```json theme={null} { "asset": { "chainId": 8217, "address": "0xd077a400968890eacc75cdc901f0356c943e4fdb", "symbol": "USD₮", "decimals": 6 }, "shareToken": { "chainId": 8217, "address": "0x2e4e573d86c70688cd97d76bc5ddc1bb265bf5d6", "symbol": "EarnUSDT", "decimals": 6 }, "opening": { "totalValue": "9707876.752939", "shares": "9452378.123456", "positionValue": "9707876.752939", "redemptionReceivable": "0", "costBasis": "9565668.515112", "unrealizedPnl": "142208.237827", "block": { "number": "226020599", "timestamp": "2026-08-31T23:59:59.000Z" } }, "closing": { "totalValue": "10201166.745453", "shares": "9896431.654321", "positionValue": "10201166.745453", "redemptionReceivable": "0", "costBasis": "10057436.465738", "unrealizedPnl": "143730.279715", "block": { "number": "226106982", "timestamp": "2026-09-01T23:59:59.000Z" } }, "inflows": "491767.950626", "outflows": "0", "pnl": "1522.041888", "realizedPnl": "0", "unrealizedPnlChange": "1522.041888", "netTransferredUnrealizedPnl": "0", "return": { "periodRate": "0.00015399637928157", "method": "time_weighted", "apr": "0.05620867843777335", "apy": "0.057813826875357062", "estimated": false }, "quality": { "status": "complete", "reasons": [] } } ``` #### 2. Validate Ledger Invariant ```text theme={null} Closing Total Value = Opening Total Value + Inflows - Outflows + Net PnL ``` Plugging in the actual response values: ```text theme={null} Opening Total Value: $9,707,876.752939 + Gross Inflows: +$491,767.950626 (User deposits during the day) - Gross Outflows: -$0.00 (Zero redemptions executed) + Net PnL (Yield): +$1,522.041888 (On-chain vault interest accrued) ------------------------------------------------------------------------------- = Closing Total Value: $10,201,166.745453 (Matches closing.totalValue) ``` Because `outflows = 0`, `realizedPnl = 0` and `unrealizedPnlChange = pnl = $1,522.04`. *** ### Case 1-B: Redemptions and Realized Capital Gains (With Outflows & Realized PnL) When vault shares are redeemed or transferred out, the cost basis of those disposed shares is removed from the book, and the difference between redemption proceeds and acquisition cost crystallizes as **Realized PnL** (`realizedPnl`). #### 1. Query [`/v1/earnings`](https://api.superearn.io/v1/docs#tag/earnings/GET/earnings) for the active redemption period ```bash theme={null} curl -s "https://api.superearn.io/v1/earnings?account=0xa1963b0ad126aca96547b598e50fe2714993af70&start=2026-09-03T00:00:00Z&end=2026-09-06T00:00:00Z" | jq '.data[0].assets[] | select(.asset.symbol=="USD₮")' ``` #### Actual API Response ```json theme={null} { "asset": { "chainId": 8217, "address": "0xd077a400968890eacc75cdc901f0356c943e4fdb", "symbol": "USD₮", "decimals": 6 }, "shareToken": { "chainId": 8217, "address": "0x2e4e573d86c70688cd97d76bc5ddc1bb265bf5d6", "symbol": "EarnUSDT", "decimals": 6 }, "opening": { "totalValue": "10215965.552927", "shares": "9904231.112233", "positionValue": "10215965.552927", "redemptionReceivable": "0", "costBasis": "10070881.919276", "unrealizedPnl": "145083.633651", "block": { "number": "226192502", "timestamp": "2026-09-02T23:59:59.000Z" } }, "closing": { "totalValue": "10175436.158102", "shares": "9862145.445566", "positionValue": "10175436.158102", "redemptionReceivable": "0", "costBasis": "10029017.384182", "unrealizedPnl": "146418.77392", "block": { "number": "226451669", "timestamp": "2026-09-05T23:59:59.000Z" } }, "inflows": "122172.44322", "outflows": "166430.954515", "pnl": "3729.11647", "realizedPnl": "2393.976201", "unrealizedPnlChange": "1335.140269", "netTransferredUnrealizedPnl": "0", "return": { "periodRate": "0.000364265450288304", "method": "time_weighted", "apr": "0.044318963118410337", "apy": "0.045307283245151404", "estimated": false }, "quality": { "status": "complete", "reasons": [] } } ``` #### 2. Validate Dual PnL and Ledger Invariants ##### Invariant A: Total PnL Decomposition ```text theme={null} Total PnL = Realized PnL + Unrealized PnL Change ``` Plugging in the response values: ```text theme={null} Realized PnL (crystallized upon exit): +$2,393.976201 + Unrealized PnL Change (held shares): +$1,335.140269 ------------------------------------------------------------ = Total Period PnL: +$3,729.116470 (Matches period pnl) ``` ##### Invariant B: Master Ledger Balance Equation ```text theme={null} Closing Total Value = Opening Total Value + Inflows - Outflows + Total PnL ``` Plugging in the response values: ```text theme={null} Opening Total Value: $10,215,965.552927 + Gross Inflows: +$122,172.443220 (Deposits received) - Gross Outflows: -$166,430.954515 (Proceeds paid out to redeeming users) + Total PnL: +$3,729.116470 (Net yield generated across all shares) -------------------------------------------------------------------------------------- = Closing Total Value: $10,175,436.158102 (Matches closing.totalValue) ``` ##### Invariant C: Cost Basis Derecognition When `$166,430.95` was redeemed, the cost basis of those specific shares was derecognized: ```text theme={null} Derecognized Cost Basis = Outflows - Realized PnL = $166,430.954515 - $2,393.976201 = $164,036.978314 Closing Cost Basis = Opening Cost Basis + Inflows - Derecognized Cost Basis = $10,070,881.919276 + $122,172.443220 - $164,036.978314 = $10,029,017.384182 (Matches closing costBasis) ``` #### 3. Accounting Journal Entries for Redemptions 1. **User Outflows & Capital Gain**: * (Debit) `User Deposit Liabilities` / `Cash Paid`: `$166,430.95` * (Credit) `Custody Vault Shares (Cost Basis)`: `$164,036.98` * (Credit) `Realized Investment Gain (PnL)`: `$2,393.98` 2. **Remaining Retained Shares**: * Unrealized gain on retained shares increased by `$1,335.14` (`$145,083.63` -> `$146,418.77`). *** ## Scenario 2: Audit Locked-Profit Reconciliation ### Objective Provide financial auditors with evidence reconciling the difference between the **statutory claimable balance** (`totalValue` / `positionValue`) and the **smart contract total assets** (`reportedPositionValue`). ### Step 1: Query [`/v1/balances`](https://api.superearn.io/v1/docs#tag/balances/GET/balances) with `include=reconciliation` ```bash theme={null} curl -s "https://api.superearn.io/v1/balances?account=0xa1963b0ad126aca96547b598e50fe2714993af70&at=2026-09-10T00:00:00Z&include=reconciliation" | jq '.data[0].assets[] | select(.asset.symbol=="USD₮")' ``` ### Actual API Response (Block `#226797199`) ```json theme={null} { "asset": { "chainId": 8217, "address": "0xd077a400968890eacc75cdc901f0356c943e4fdb", "symbol": "USD₮", "decimals": 6 }, "shareToken": { "chainId": 8217, "address": "0x2e4e573d86c70688cd97d76bc5ddc1bb265bf5d6", "symbol": "EarnUSDT", "decimals": 6 }, "totalValue": "9519763.267825", "shares": "9218451.987654", "positionValue": "9519763.267825", "redemptionReceivable": "0", "costBasis": "9383181.890268", "unrealizedPnl": "136581.377557", "reconciliation": { "reportedPositionValue": "9528415.90959", "adjustments": [ { "type": "lockedProfit", "amount": "8652.641765" }, { "type": "rounding", "amount": "0" } ], "quality": { "status": "complete", "reasons": [] } }, "quality": { "status": "complete", "reasons": [] } } ``` ### Step 2: Validate the Asset Reconciliation Invariant ```text theme={null} Reported Position Value = Position Value + Locked Profit Adjustment + Rounding ``` Plugging in the response values: ```text theme={null} Claimable Position Value (PPS): $9,519,763.267825 + Unreleased Locked Profit Buffer: +$8,652.641765 + Integer Rounding Difference: $0.00 ------------------------------------------------------ = Contract Reported Value: $9,528,415.909590 (Matches reportedPositionValue) ``` ### Step 3: Multi-Party Pro-Rata Verification To prove to auditors that the locked profit allocation is fair and pro-rata across all vault participants, query the entire vault at the exact same block by omitting `account`: ```bash theme={null} curl -s "https://api.superearn.io/v1/balances?vault=eip155:8217:0x2e4e573d86c70688cd97d76bc5ddc1bb265bf5d6&at=2026-09-10T00:00:00Z&include=reconciliation" | jq '.data[0].assets[] | select(.asset.symbol=="USD₮")' ``` | Metric | Whole SuperVault | Partner Share | Share Percentage | | :- | :-: | :-: | :-: | | **Claimable Balance (`positionValue`)** | `$12,784,612.406668` | `$9,519,763.267825` | **74.4627%** | | **Contract Locked Profit (`lockedProfit`)** | `$11,620.107365` | `$8,652.641765` | **74.4627%** | | **Gross Reported Assets (`reportedPositionValue`)** | `$12,796,232.514033` | `$9,528,415.909590` | **74.4627%** | ```text theme={null} Partner Share = 9,519,763.267825 / 12,784,612.406668 = 74.46266% Allocated Locked Profit = 11,620.107365 * 74.46266% = $8,652.641765 (Matches adjustments[0].amount) ``` *** ## Scenario 3: Trailing Yield & Performance Verification ### Objective Reconcile marketing/displayed vault APY against actual position returns to address partner inquiries regarding rate consistency. ### Step 1: Query the 7-day trailing observed APY ([`/v1/apy`](https://api.superearn.io/v1/docs#tag/apy/GET/apy)) ```bash theme={null} curl -s "https://api.superearn.io/v1/apy?vault=eip155:8217:0x2e4e573d86c70688cd97d76bc5ddc1bb265bf5d6" | jq .data[0] ``` ```json theme={null} { "at": "2026-09-11T04:01:10.900886417Z", "start": "2026-09-04T04:01:33Z", "end": "2026-09-11T04:00:51Z", "apy": "0.056375660533308306", "quality": { "status": "complete", "reasons": [] } } ``` * **Observed Vault APY**: **5.64%** over the trailing 7 days. * **Consistency with Ledger**: In Case 1-A, the 1-day time-weighted return (`return.apy`) was **5.78%**, and in Case 1-B the 3-day time-weighted return was **4.53%**, consistent with the vault's floating yield range. ### Step 2: Rate Distinction Reference | Rate Type | Endpoint | Best Used For | | :- | :- | :- | | **Observed Vault APY** | [`GET /v1/apy`](https://api.superearn.io/v1/docs#tag/apy/GET/apy)`?vault=…` | Displaying 7-day trailing APY on partner end-user dashboards | | **Account Period Return** | [`GET /v1/earnings`](https://api.superearn.io/v1/docs#tag/earnings/GET/earnings) (`return.apr` / `apy`) | Measuring actual investment yield on held capital across deposits and withdrawals | | **Strategy Harvest Events** | [`GET /v1/harvests`](https://api.superearn.io/v1/docs#tag/harvests/GET/harvests)`?account=…&start=…&end=…` | Confirming individual keeper harvest events and fee deductions | | **Pre-Harvest Venue Estimates** | [`GET /v1/earnings`](https://api.superearn.io/v1/docs#tag/earnings/GET/earnings)`?valuation=estimated_nav` | Tracking economic interest before strategy harvest events report back to the root vault | *** ## Automation Script for Daily Cron Jobs You can automate daily balance reconciliation using this lightweight shell script: ```bash theme={null} #!/usr/bin/env bash set -euo pipefail ACCOUNT="0xa1963b0ad126aca96547b598e50fe2714993af70" VAULT="eip155:8217:0x2e4e573d86c70688cd97d76bc5ddc1bb265bf5d6" # Define yesterday and today midnight UTC END_DATE=$(date -u -v-0d "+%Y-%m-%dT00:00:00Z" 2>/dev/null || date -u -d "today" "+%Y-%m-%dT00:00:00Z") START_DATE=$(date -u -v-1d "+%Y-%m-%dT00:00:00Z" 2>/dev/null || date -u -d "yesterday" "+%Y-%m-%dT00:00:00Z") echo "Running reconciliation for $ACCOUNT ($START_DATE to $END_DATE)..." RESP=$(curl -s "https://api.superearn.io/v1/earnings?account=${ACCOUNT}&vault=${VAULT}&start=${START_DATE}&end=${END_DATE}") OPENING=$(echo "$RESP" | jq -r '.data[0].assets[] | select(.asset.symbol=="USD₮") | .opening.totalValue') CLOSING=$(echo "$RESP" | jq -r '.data[0].assets[] | select(.asset.symbol=="USD₮") | .closing.totalValue') INFLOWS=$(echo "$RESP" | jq -r '.data[0].assets[] | select(.asset.symbol=="USD₮") | .inflows') OUTFLOWS=$(echo "$RESP" | jq -r '.data[0].assets[] | select(.asset.symbol=="USD₮") | .outflows') PNL=$(echo "$RESP" | jq -r '.data[0].assets[] | select(.asset.symbol=="USD₮") | .pnl') # Check Invariant: Closing == Opening + Inflows - Outflows + PnL DIFF=$(python3 -c "from decimal import Decimal; print(Decimal('$CLOSING') - (Decimal('$OPENING') + Decimal('$INFLOWS') - Decimal('$OUTFLOWS') + Decimal('$PNL')))") if [ "$DIFF" == "0" ] || [ "$DIFF" == "0.000000" ]; then echo "✅ [Reconciliation Verified] Invariant balanced." echo " Opening: $OPENING | Inflows: $INFLOWS | Outflows: $OUTFLOWS | PnL: $PNL | Closing: $CLOSING" else echo "❌ Discrepancy detected: $DIFF" exit 1 fi ``` # Smart contracts Source: https://docs.superearn.io/en/developers/smart-contracts Deployment references and interfaces for developers. **EarnJPYC production:** use the [fixed-rate contract address table](/en/developers/integrate-fixed-rate-vault#1-networks-and-contract-addresses) for Kaia mainnet (8217). It separately labels the Kairos QA addresses. > [!NOTE] > > The SuperEarnRouter/CooldownVault addresses on this page belong to the variable-yield EarnUSDT stack. > **For the fixed-rate vault's network-specific addresses and Router/AtomicQueue integration examples, > see [Integrate the Fixed-Rate Vault](/en/developers/integrate-fixed-rate-vault).** > The deposit and withdrawal interfaces differ; do not mix address sets. ## Integration surface | Contract | Reads | Writes / events | | - | - | - | | Router | Deposit/redeem quotes, redemption headroom | Deposit, redeem; `Deposited`, `Redeemed` | | SuperVault | Share balance, PPS, underlying token | ERC-20 approvals and transfers | | CooldownVault | Asset conversion, queue and loss limits | Claim; `RedeemRequested`, `Claimed` | * Use the [pinned execution profile and minimal ABIs](/en/developers/external-builder-guide) for user transactions. * Find component roles in [Core components](/en/developers/core-components). * Use the published [Data API](/en/developers/data-api) for catalog, topology and financial queries. ## Deployment references > [accordion] Kaia · chain 8217 > > | Contract | Description | Address | > | - | - | - | > | [SuperEarnRouter](https://kaiascan.io/address/0x7437892A3e2E658038758dD7CA638334C0c2006C) | Unified router for user deposits/withdrawals | `0x7437892A3e2E658038758dD7CA638334C0c2006C` | > | [CooldownVault](https://kaiascan.io/address/0x4E4654cE4Ca7ff0ba66a0A4a588A4bd55A6f9A33) | Manages withdrawal cooldown periods | `0x4E4654cE4Ca7ff0ba66a0A4a588A4bd55A6f9A33` | > | [OriginVault](https://kaiascan.io/address/0x3B37DB3AC2a58f2daBA1a7d66d023937d61Fc95b) | Cross-chain hub (ERC-7540‑like) that holds USDT earmarked for remote deployment | `0x3B37DB3AC2a58f2daBA1a7d66d023937d61Fc95b` | > | [StrategyOriginVault](https://kaiascan.io/address/0x650a4c074a58B18fbEEd48ae766e58a382D9E5F5) | Super Vault strategy that routes capital into OriginVault | `0x650a4c074a58B18fbEEd48ae766e58a382D9E5F5` | > | [StrategyUSDOExpress](https://kaiascan.io/address/0x6090d8EECB74058bC53BB24273345Dd8Ba5652bF) | Super Vault strategy for USDO (OpenEden) | `0x6090d8EECB74058bC53BB24273345Dd8Ba5652bF` | > | [Custom strategy adapter](https://kaiascan.io/address/0x723d3422788f47f5DaE153515A3C277293dbd8f3) | Super Vault strategy that holds CustomVault shares; routes USDT into the Kaia custom-strategy stack | `0x723d3422788f47f5DaE153515A3C277293dbd8f3` | > | [CustomVault](https://kaiascan.io/address/0x7876a2faf6Aad1F6F8E47AD612D9472a4821DfDa) | ERC-4626 USDT vault on Kaia holding funds for registered CustomStrategies | `0x7876a2faf6Aad1F6F8E47AD612D9472a4821DfDa` | > | [CustomStrategy (Yield8)](https://kaiascan.io/address/0x8F19e66B4bA81fAAe964232Baa2Bdc8118385822) | Manually operated CustomStrategy targeting Yield8 (wYield8), managed by CustomVault via allowlisted execution | `0x8F19e66B4bA81fAAe964232Baa2Bdc8118385822` | > | [StrategyMorphoV2Vault (Feather USDT)](https://kaiascan.io/address/0x1045626a4b79A40827DD3087e06Dcc73c590d575) | Super Vault strategy targeting Feather USDT (Morpho V2 vault on Kaia) | `0x1045626a4b79A40827DD3087e06Dcc73c590d575` | > | [Yield8AssetsProvider](https://kaiascan.io/address/0x1CFd5d5268400648c2FFaf9bdB01cB6b0b58F672) | External assets provider that values the Yield8 CustomStrategy position in USDT | `0x1CFd5d5268400648c2FFaf9bdB01cB6b0b58F672` | > | [USDOKyced](https://kaiascan.io/address/0x4Bfc1773280689d17c8c00B2514A5C28c8c2b021) | KYC-ed USDO Minter Contract (OpenEden) | `0x4Bfc1773280689d17c8c00B2514A5C28c8c2b021` | > | [OriginAdapter](https://kaiascan.io/address/0x8E53CdAa89381c203a074fB3388f65936358f200) | Cross-chain adapter + bridge entry (Rhino + CCIP) | `0x8E53CdAa89381c203a074fB3388f65936358f200` | > | [OriginAgent](https://kaiascan.io/address/0xd8acFF2E2B8B1Cf052aca4Ba331743F73C569E68) | Cross-chain message/bridge agent for Kaia side | `0xd8acFF2E2B8B1Cf052aca4Ba331743F73C569E68` | > | [OriginAccountant](https://kaiascan.io/address/0x55CEd8F290256E165d3f50EDa0b60E261ec38f55) | Bridge accountant tracking assets in transit | `0x55CEd8F290256E165d3f50EDa0b60E261ec38f55` | > | [PriceConverter](https://kaiascan.io/address/0xC090e88bDAA823B7C1dd8d9e24CbacB0f35f2675) | Asset price converter with Orakl oracle integration | `0xC090e88bDAA823B7C1dd8d9e24CbacB0f35f2675` | > | [Registry](https://kaiascan.io/address/0xea8e1872aDCE77eFBe5d6FE37b5C257Cc86eC786) | Vault and strategy registry | `0xea8e1872aDCE77eFBe5d6FE37b5C257Cc86eC786` | > | [Super Vault](https://kaiascan.io/address/0x2e4e573D86c70688cD97D76bc5DDc1Bb265bF5D6) | Aggregation vault on Kaia (EarnUSDT shares; underlying = CooldownVault shares) | `0x2e4e573D86c70688cD97D76bc5DDc1Bb265bF5D6` | > | [CrosschainKeeper](https://kaiascan.io/address/0x40FB0F9084828ADBc3dcd71840eA545BF243cD0F) | Manages crosschain asset lifecycle | `0x40FB0F9084828ADBc3dcd71840eA545BF243cD0F` | > | [LightKeeper](https://kaiascan.io/address/0x8c82B2feC291a43e41aA87669eaEf01F4efaA3B2) | Performs strategy harvesting, CooldownVault repayment, and user claiming | `0x8c82B2feC291a43e41aA87669eaEf01F4efaA3B2` | > [accordion] Ethereum · chain 1 > > | Contract | Description | Address | > | - | - | - | > | [SuperEarnRouter](https://etherscan.io/address/0xd8acFF2E2B8B1Cf052aca4Ba331743F73C569E68) | Router used by RemoteVault/keepers for remote Super Vault flows | `0xd8acFF2E2B8B1Cf052aca4Ba331743F73C569E68` | > | [RemoteVault](https://etherscan.io/address/0x8c82B2feC291a43e41aA87669eaEf01F4efaA3B2) | Vault that receives and manages cross-chain assets from Kaia | `0x8c82B2feC291a43e41aA87669eaEf01F4efaA3B2` | > | [CooldownVault](https://etherscan.io/address/0x8E53CdAa89381c203a074fB3388f65936358f200) | Remote CooldownVault (USDC) backing the Ethereum Super Vault | `0x8E53CdAa89381c203a074fB3388f65936358f200` | > | [CooldownVault (USDT)](https://etherscan.io/address/0x1c097dFe13B0f511d987F7ea6077B7fb637EC83C) | Remote CooldownVault for USDT backing the Ethereum USDT Super Vault | `0x1c097dFe13B0f511d987F7ea6077B7fb637EC83C` | > | [Super Vault](https://etherscan.io/address/0x9E3E70f4d09bcfe08F456C426EB90f7aA6F70dF2) | Remote aggregation vault (underlying = Remote CooldownVault shares) | `0x9E3E70f4d09bcfe08F456C426EB90f7aA6F70dF2` | > | [Super Vault (USDT)](https://etherscan.io/address/0x7Eec57beB20576Cb35c500aE5826e16960aA878b) | Remote aggregation vault for USDT (underlying = CooldownVault USDT shares) | `0x7Eec57beB20576Cb35c500aE5826e16960aA878b` | > | [MorphoStrategy (Prime)](https://etherscan.io/address/0xa41432A67A60A79f45ddfD9e242E72b91c8ea19d) | Super Vault strategy targeting Gauntlet USDC Prime | `0xa41432A67A60A79f45ddfD9e242E72b91c8ea19d` | > | [MorphoStrategy (RWA)](https://etherscan.io/address/0x1f5b386243C42c7f297f084269b8F85636ef5a61) | Super Vault strategy targeting Gauntlet USDC RWA | `0x1f5b386243C42c7f297f084269b8F85636ef5a61` | > | [CustomStrategy (USDC Multi-Morpho)](https://etherscan.io/address/0x50519a3AF6C0662134Ed7F9a160142D28D10f455) | USDC strategy distributing capital across multiple Morpho markets | `0x50519a3AF6C0662134Ed7F9a160142D28D10f455` | > | [CustomStrategy (USDT Multi-Morpho)](https://etherscan.io/address/0xCECe82A34902aA1b7Cb6419dbcb2FED893496Faa) | USDT strategy distributing capital across multiple Morpho markets | `0xCECe82A34902aA1b7Cb6419dbcb2FED893496Faa` | > | [CustomStrategy (Pendle PT-USDG)](https://etherscan.io/address/0x72301DDb480d4a11B168F886bD4e766De0724199) | Custom strategy targeting Pendle PT-USDG | `0x72301DDb480d4a11B168F886bD4e766De0724199` | > | [CustomStrategy (Pendle PT-reUSD)](https://etherscan.io/address/0x3e92a93C7Ae3c0D7ACa27190b92f0F2db09BeCC7) | Custom strategy targeting Pendle PT-reUSD | `0x3e92a93C7Ae3c0D7ACa27190b92f0F2db09BeCC7` | > | [CustomStrategy (stUSDS)](https://etherscan.io/address/0xE2c3082dF0Ea5F3606E7adF6AAB1B559A03b5AB4) | Custom strategy targeting stUSDS (Sky DSR) | `0xE2c3082dF0Ea5F3606E7adF6AAB1B559A03b5AB4` | > | [PendleUSDGAssetsProvider](https://etherscan.io/address/0x2572E15F1C0806bB6D8Efc0d867CAA27bFaEdC40) | Provides asset accounting for the Pendle PT-USDG strategy | `0x2572E15F1C0806bB6D8Efc0d867CAA27bFaEdC40` | > | [PendleReUSDAssetsProvider](https://etherscan.io/address/0xdB0C1338C127840043CafdB208c956D24D71FB30) | Provides asset accounting for the Pendle PT-reUSD strategy | `0xdB0C1338C127840043CafdB208c956D24D71FB30` | > | [StUSDSAssetsProvider](https://etherscan.io/address/0x84e63D6AE32654bCdD5301e01E703959Ac7a622c) | Provides asset accounting for the stUSDS strategy | `0x84e63D6AE32654bCdD5301e01E703959Ac7a622c` | > | [MultiMorphoDirectAssetsProvider (USDC)](https://etherscan.io/address/0x13CEE5Ac81a78f23Be0B3846e9D5B622d62f3785) | Provides asset accounting for the USDC Multi-Morpho strategy | `0x13CEE5Ac81a78f23Be0B3846e9D5B622d62f3785` | > | [MultiMorphoDirectAssetsProvider (USDT)](https://etherscan.io/address/0xD49162a9279441f9f12e199B0a28499Fb85b8fb5) | Provides asset accounting for the USDT Multi-Morpho strategy | `0xD49162a9279441f9f12e199B0a28499Fb85b8fb5` | > | [Adapter](https://etherscan.io/address/0xC090e88bDAA823B7C1dd8d9e24CbacB0f35f2675) | Cross-chain adapter + bridge entry (Rhino + CCIP) | `0xC090e88bDAA823B7C1dd8d9e24CbacB0f35f2675` | > | [Agent](https://etherscan.io/address/0x4AFd6Ad5b924CD29513d1fb9b66728C4C5A1bd3e) | Cross-chain message/bridge agent for Ethereum side | `0x4AFd6Ad5b924CD29513d1fb9b66728C4C5A1bd3e` | > | [Accountant](https://etherscan.io/address/0x40FB0F9084828ADBc3dcd71840eA545BF243cD0F) | Bridge accountant tracking assets in transit | `0x40FB0F9084828ADBc3dcd71840eA545BF243cD0F` | > | [PriceConverter](https://etherscan.io/address/0x57B71db8c039aD34b28c289272EFa09b5A870c20) | Asset price converter with oracle integration | `0x57B71db8c039aD34b28c289272EFa09b5A870c20` | > | [Registry](https://etherscan.io/address/0x0Becde49394d537B240c0272A7C5fEfC932691fe) | Vault and strategy registry | `0x0Becde49394d537B240c0272A7C5fEfC932691fe` | > | [UniversalSwapRouter](https://etherscan.io/address/0x91CAAe299305a8133F295a59f4F22005d16EB65d) | Unified DEX swap router | `0x91CAAe299305a8133F295a59f4F22005d16EB65d` | > | [CrosschainKeeper](https://etherscan.io/address/0x1D68a6CEFeD44101eD79a830e8a5ad5c0A52D8De) | Manages crosschain asset lifecycle | `0x1D68a6CEFeD44101eD79a830e8a5ad5c0A52D8De` | > | [LightKeeper](https://etherscan.io/address/0xd064f89A9A95EA86A706543449D0d97557fAF929) | Performs strategy harvesting, CooldownVault repayment, and user claiming | `0xd064f89A9A95EA86A706543449D0d97557fAF929` | **Cautions** * Verify chain, bytecode, asset relationships and active product state before enabling writes. * Deployment addresses identify contracts. Check the published release for current allocation/topology membership. * Match contract and chain when joining identical-looking addresses or request IDs. ## Receipt fields | Event | Retain | Unit / meaning | | - | - | - | | Router `Deposited` | Sender, receiver, SuperVault, `underlyingAmount`, `yShares` | Deposit asset and minted root shares | | Router `Redeemed` | Sender, receiver, SuperVault, `yShares`, `ySharesFilled`, `requestId`, `underlyingAmount` | Requested/filled root shares and resulting request | | CooldownVault `RedeemRequested` | Caller, receiver, `requestId`, `assets`, `shares`, `requestedTime` | Payout asset and burned queue shares | | CooldownVault `Claimed` | Caller, `requestId`, `assets`, `claimable` | Requested amount and actual payout | | ERC-20 `Transfer` | Token address, sender, receiver, value | Token-specific raw units | **Key points** * Persist transaction hash and log index with each event. * EarnUSDT requests burn seCDV at the queue layer. Preserve each token's decimals. * Read actual filled amounts from successful receipts and reconcile indexed requests. * Calculate gains with boundary values, external flows and cost evidence; see [financial equations](/en/developers/financial-data). # How to Use Source: https://docs.superearn.io/en/overview/tutorial Learn SuperEarn 101 step by step > [!NOTE] > > This document is based on actual exchange/wallet screens (captures from official guides or user guides) and summarizes the **screen flow users should follow during the SuperEarn deposit process**. UI and policies may change at any time by each service provider. ## Overall Flow Below is the basic flow to deposit into SuperEarn. (Asset: USDT) > [accordion] Overall flow summary > > **1. Go to the USDT withdrawal menu on your CEX** > > Go to the USDT withdrawal menu on your CEX (exchange). > > **2. Set the recipient wallet to your MetaMask address** > > Set the recipient wallet to your MetaMask address (0x...). > > **3. Select Kaia as the network** > > Choose the same network (transfer method) used by SuperEarn (e.g., Kaia). > > **4. Confirm deposit, then deposit into SuperEarn** > > After confirming the deposit in MetaMask, connect your wallet and deposit in SuperEarn. > [accordion] 3 key points to double-check > > **1. Address** > > > > **2. Network** > > > > **3. Fees/minimum withdrawal/received amount** > > *** ## 1. Prepare your wallet: Add the Kaia network (For MetaMask users) SuperEarn automatically supports the Kaia network when connecting MetaMask, but we recommend adding the network manually beforehand to verify your wallet address and balance.\ For details, see the [official Kaia docs](https://docs.kaia.io/). > [accordion] Add the MetaMask network > > **1. Check the MetaMask main screen** > > Check an example of the MetaMask main screen. > > ![](https://mintcdn.com/superearn-fe42391a/PMV45DXKHOGbDPfJ/images/tuto1.webp?fit=max\&auto=format\&n=PMV45DXKHOGbDPfJ\&q=85\&s=b311f7b837d93ad48b77d93bb41b85e0) > > **2. Open the Add Network screen** > > **Example screen**: MetaMask network selection -> Add custom network > > ![](https://mintcdn.com/superearn-fe42391a/PMV45DXKHOGbDPfJ/images/tuto2.webp?fit=max\&auto=format\&n=PMV45DXKHOGbDPfJ\&q=85\&s=739274d922537762335253c0fa545413) > > **3. Enter Kaia network information** > > > > **4. Add the USDT token symbol on Kaia Mainnet** > > Even after Kaia Mainnet is added, the USDT token symbol must be added separately. > > **Path** > > > [accordion] OKX wallet, Kaia wallet, etc. > > You do not need to add the network separately. *** ## 2-1. Withdraw from an exchange to your wallet (Binance, Upbit, Bithumb) > [accordion] Binance withdrawal flow (app) > > **1. Assets -> Send** > > Go to Assets in the bottom menu, then tap Send. > > ![](https://mintcdn.com/superearn-fe42391a/PMV45DXKHOGbDPfJ/images/tuto6.webp?fit=max\&auto=format\&n=PMV45DXKHOGbDPfJ\&q=85\&s=3c1e3b3097baf1d886e131bf6bbedfa4) > > **2. Select transfer method (On-chain)** > > After entering Send, select On-chain Withdraw. > > ![](https://mintcdn.com/superearn-fe42391a/PMV45DXKHOGbDPfJ/images/tuto7.webp?fit=max\&auto=format\&n=PMV45DXKHOGbDPfJ\&q=85\&s=299ac1b1ae646bdc1a38732c0dc37c89) > > **3. Enter withdrawal details** > > > > **Warning**: If the network is different, asset recovery can be very difficult or impossible. > > **4. Confirm Order -> Final check** > > Final review of withdrawal address, network, amount, and fee,\ > then complete security steps such as 2FA/email verification. > [accordion] Upbit withdrawal flow (app) > > **1. Register a personal wallet address (mobile example)** > > Under Upbit's travel rule policy, you often must register a personal wallet (e.g., MetaMask) address before you can withdraw.**Deposit/Withdraw -> Settings -> Personal Wallet Address Management** > > ![](https://mintcdn.com/superearn-fe42391a/x9dSldna6RDpfNn-/images/tuto9.webp?fit=max\&auto=format\&n=x9dSldna6RDpfNn-\&q=85\&s=f0a434ad171bf4147f20b8f0f21dcfd3) > > ![](https://mintcdn.com/superearn-fe42391a/PMV45DXKHOGbDPfJ/images/tuto10.webp?fit=max\&auto=format\&n=PMV45DXKHOGbDPfJ\&q=85\&s=5371060d109e0377c52bc8543bca8e35) > > **2. Personal wallet address management -> Register address** > > Tap the Register Address button to start registering your personal MetaMask wallet. > > ![](https://mintcdn.com/superearn-fe42391a/PMV45DXKHOGbDPfJ/images/tuto11.webp?fit=max\&auto=format\&n=PMV45DXKHOGbDPfJ\&q=85\&s=f9c9845d609d9bade4eb6ef04c574f11) > > **3. Enter registration info and complete 2-channel verification** > > > > **4. Approve MetaMask signature** > > Approve the signature requested by Upbit in MetaMask\ > (it should not request your seed phrase/private key). > > ![](https://mintcdn.com/superearn-fe42391a/PMV45DXKHOGbDPfJ/images/tuto13.webp?fit=max\&auto=format\&n=PMV45DXKHOGbDPfJ\&q=85\&s=9d5a620f14ba520e83fbb47accc8486e) > > **5. Confirm address registration** > > Confirm the registered personal wallet address/network appears in the list. > > **6. Open withdrawal screen and enter amount** > > \[Deposit/Withdraw] -> Select USDT -> Withdraw -> Enter amount > > ![](https://mintcdn.com/superearn-fe42391a/PMV45DXKHOGbDPfJ/images/tuto14.webp?fit=max\&auto=format\&n=PMV45DXKHOGbDPfJ\&q=85\&s=5acdfce6d02059e08d84e9505b4b863a) > > **7. Enter recipient/address (or select registered wallet)** > > Recipient: Personal wallet\ > Address: Select your registered MetaMask address\ > Network: Recheck that it matches Kaia > > ![](https://mintcdn.com/superearn-fe42391a/PMV45DXKHOGbDPfJ/images/tuto15.webp?fit=max\&auto=format\&n=PMV45DXKHOGbDPfJ\&q=85\&s=edd96baeb7cc49fadc5e57bcfac626d7) > > **8. Review withdrawal details and submit** > > Final check before withdrawal (asset/amount/address/fee),\ > complete additional verification -> submit withdrawal. > [accordion] Bithumb withdrawal flow (app) > > **1. Notice: Pre-register your Kaia wallet address** > > To withdraw crypto to a personal wallet from Bithumb, you must pre-register a wallet address you own via a whitelist process. > > > > ![](https://mintcdn.com/superearn-fe42391a/x9dSldna6RDpfNn-/images/tutorials/tutorial_bithumb_0.webp?fit=max\&auto=format\&n=x9dSldna6RDpfNn-\&q=85\&s=5ef58eed9484698306861fd3597118fa) > > ![](https://mintcdn.com/superearn-fe42391a/x9dSldna6RDpfNn-/images/tutorials/tutorial_bithumb_1.webp?fit=max\&auto=format\&n=x9dSldna6RDpfNn-\&q=85\&s=a005f9b62bb38eca15ee24eae83985af) > > **2. Start address registration** > > Log in to the Bithumb app -> bottom **Deposit/Withdraw** tab -> top **Address Book** -> select **Register Address**.Select **Klip**, the wallet type supported by Bithumb. > > ![](https://mintcdn.com/superearn-fe42391a/x9dSldna6RDpfNn-/images/tutorials/tutorial_bithumb_2.webp?fit=max\&auto=format\&n=x9dSldna6RDpfNn-\&q=85\&s=583049d76e59e64b19c1a6ed9e6be1c5) > > ![](https://mintcdn.com/superearn-fe42391a/x9dSldna6RDpfNn-/images/tutorials/tutorial_bithumb_3.webp?fit=max\&auto=format\&n=x9dSldna6RDpfNn-\&q=85\&s=90a275ae2211099b266087fd61248edc) > > **3. Install Klip wallet and copy address** > > > > ![](https://mintcdn.com/superearn-fe42391a/x9dSldna6RDpfNn-/images/tutorials/tutorial_bithumb_4.webp?fit=max\&auto=format\&n=x9dSldna6RDpfNn-\&q=85\&s=bb5ca60c169f3b280946bb58a5680b69) > > ![](https://mintcdn.com/superearn-fe42391a/x9dSldna6RDpfNn-/images/tutorials/tutorial_bithumb_5.webp?fit=max\&auto=format\&n=x9dSldna6RDpfNn-\&q=85\&s=3f967259d8b72585d35b0288edc96751) > > **4. Enter address registration information** > > > > After address registration, proceed with **Additional Information Registration**. > > ![](https://mintcdn.com/superearn-fe42391a/x9dSldna6RDpfNn-/images/tutorials/tutorial_bithumb_7.webp?fit=max\&auto=format\&n=x9dSldna6RDpfNn-\&q=85\&s=bcd8c21934258b7d2e3a2d17117ef633) > > ![](https://mintcdn.com/superearn-fe42391a/x9dSldna6RDpfNn-/images/tutorials/tutorial_bithumb_8.webp?fit=max\&auto=format\&n=x9dSldna6RDpfNn-\&q=85\&s=6e40ec489739edb602f3293ac75357bf) > > **5. Additional info registration (identity, connection, signature)** > > > > Tap **Done** at the end to finish personal wallet registration. > > ![](https://mintcdn.com/superearn-fe42391a/x9dSldna6RDpfNn-/images/tutorials/tutorial_bithumb_9.webp?fit=max\&auto=format\&n=x9dSldna6RDpfNn-\&q=85\&s=04be9dfb516dd9d0edcfea46009e80c7) > > ![](https://mintcdn.com/superearn-fe42391a/x9dSldna6RDpfNn-/images/tutorials/tutorial_bithumb_10.webp?fit=max\&auto=format\&n=x9dSldna6RDpfNn-\&q=85\&s=14cebe346507e36376a7660700f26dc3) > > ![](https://mintcdn.com/superearn-fe42391a/x9dSldna6RDpfNn-/images/tutorials/tutorial_bithumb_11.webp?fit=max\&auto=format\&n=x9dSldna6RDpfNn-\&q=85\&s=78c6358a2da712d7f4a1faa99319fe13) > > ![](https://mintcdn.com/superearn-fe42391a/x9dSldna6RDpfNn-/images/tutorials/tutorial_bithumb_12.webp?fit=max\&auto=format\&n=x9dSldna6RDpfNn-\&q=85\&s=a8546bb068440e51791c29507d501eb7) > > **6. Withdraw Kaia USDT from Bithumb** > > > > Withdrawals may take up to 30 minutes depending on exchange review status. If delayed, contact customer support. *** ## 2-2. Move assets from another chain to Kaia > [accordion] Using a bridge > > * If you hold USDT on another chain, go to the top menu and select "Get USDT" -> "Bridge". > * You can easily move USDT from another chain via the [Rhino.fi](https://app.rhino.fi/bridge?mode=pay\&chainIn=ETHEREUM\&chainOut=KAIA\&token=USDT\&tokenOut=USDT\&amount=100) bridge. > > ![](https://mintcdn.com/superearn-fe42391a/PMV45DXKHOGbDPfJ/images/rhinobridge.png?fit=max\&auto=format\&n=PMV45DXKHOGbDPfJ\&q=85\&s=6068b8320490cb7d0edd128a843354dd) > > \*Rhino is a cross-chain infrastructure provider backed by [Tether and Bitfinex](https://tether.io/news/tether-and-rhinofi-forge-strategic-alliance-to-enhance-usdt-utility-within-defi-prioritizing-user-experience/). It has processed roughly \$6 billion in cumulative transactions and operated cross-chain infrastructure for about six years. Rhino also provides enterprise-grade availability and audited stablecoin payment rails, including KYT (transaction monitoring) checks during execution. *** ## 3. Confirm deposit in your wallet > [accordion] Deposit confirmation steps > > **1. Check the network** > > Switch to the relevant network in MetaMask (e.g., Kaia Mainnet). > > **2. Check tokens/balance** > > Check your balance or Activity history.\ > If the token is not visible, you may need to select "Show (add) token." > > **3. If delayed or issues occur** > > Use the TxID (transaction hash) from the exchange withdrawal history to verify the transfer status on the explorer. *** ## 4. Connect your wallet & use SuperEarn Once USDT is ready in MetaMask, connect your wallet to SuperEarn and make a deposit. > [accordion] SuperEarn deposit steps > > **1. Connect wallet** > > Click Deposit -> select MetaMask when prompted to Connect Wallet > > **2. Enter deposit amount and approve** > > Enter the USDT amount to deposit -> if needed, approve USDT -> confirm the deposit transaction > > **3. Check after deposit** > > After depositing, check your balance/APY/status on the SuperEarn screen > [accordion] SuperEarn withdrawal steps > > * Tap the 'Withdraw' button in the app to withdraw the amount you want. > * Assets can be withdrawn at any time, and all steps are managed transparently and securely by the protocol. > * Note: > * Some products require a withdrawal window of about a day for safety and rebalancing. *** ## Common mistakes/errors checklist * Network mismatch: If the exchange withdrawal network and the MetaMask (and SuperEarn) network differ, assets will not arrive on the intended chain. * Incorrect address/clipboard tampering: After pasting the address, recheck the first 6 and last 4 characters. * Insufficient gas: On the Kaia network, USDT approve/deposit transactions may require a small amount of gas. Gas can be paid in KAIA or USDT. * Exchange withdrawal restrictions: Withdrawals may be restricted if travel rule/whitelist/extra verification steps are incomplete. If the issue persists, check in this order:\ (1) Verify the TxID from the exchange withdrawal history ->\ (2) Check the transfer status in the explorer ->\ (3) Verify MetaMask network/token display ## Sources and references 1. [Binance FAQ: How to Withdraw Crypto from Binance (Official Guide)](https://www.binance.com/en/support/faq/how-to-withdraw-crypto-from-binance-115003670492) 2. [Upbit Help Center: How to register a personal wallet address](https://support.upbit.com/hc/ko/articles/6713306957977-%EA%B0%9C%EC%9D%B8%EC%A7%80%EA%B0%91%EC%A3%BC%EC%86%8C-%EB%93%B1%EB%A1%9D-%EB%B0%A9%EB%B2%95) 3. [Upbit Help Center: Personal wallet withdrawals under 1,000,000 KRW (example screens included)](https://support.upbit.com/hc/ko/articles/5036542302361) 4. [Kaia Docs: Connecting MetaMask to Kaia (network values and example screens)](https://docs.kaia.io/build/tutorials/connecting-metamask/) Note: The screenshots in this document are cited/reconstructed from guidance materials provided by each service. Trademarks and UI rights belong to their respective providers. > [!NOTE] > > **Need more help?** Check the [community](https://x.com/SuperEarnX) posts or contact us anytime via [featurebase](https://superearn.featurebase.app/). # What is SuperEarn? Source: https://docs.superearn.io/en/overview/what-is-superearn Head start to earn like a pro. Smart, secure, simple. SuperEarn is a **stablecoin yield orchestration protocol** built on top of Kaia. In simple terms, you can think of it as a stablecoin earn service on top of Kaia. Users can deposit Kaia USDT into SuperEarn to earn yield, and the protocol delivers this in a smart, secure, and simple way. More precisely, **Stablecoin Yield**: SuperEarn allocates and optimizes capital across the highest-quality multichain yield sources, enabling users to access the best risk-adjusted returns through a simple, seamless experience. **Orchestration**: It handles complex backend state reconciliation and rebalancing across multiple strategies, with secure support for deposits from any local or on-chain stablecoins\*. **Protocol**: Non-custodial, transparent, and composable. Developers can integrate SuperEarn vaults(EarnUSDT) directly. SuperEarn protocol is incubated by Kaia. \*Future roadmap. # Why SuperEarn? Source: https://docs.superearn.io/en/overview/why-superearn SuperEarn is designed with a clear mission: to make high-quality, risk-managed on-chain yield Simple, Secure, and Smart for everyday stablecoin users. ### Problems 1. **Stablecoins are becoming a savings tool, but users still can’t access high-quality on-chain yield easily**. As stablecoins move from trading to everyday savings, users expect safe, reliable returns better than CEX Earn. Yet most still face opaque risks, fragmented UX, and steep DeFi learning curves. 2. **Local stablecoins are growing, but there’s still no shared yield infrastructure**—leaving users with lower yields and issuers without a practical way to offer sustainable yield. Each issuer would otherwise need to build its own cross-chain, multi-strategy yield engine, which is operationally difficult. ### Our Approach SuperEarn is designed with a clear mission: to make high-quality, risk-managed on-chain yield Simple, Secure, and Smart for everyday stablecoin users. 1. **Better APY with lower volatility through portfolio management**: Stablecoins are allocated across a diversified portfolio of on-chain yield sources that are rigorously assessed for risk and liquidity, then dynamically rebalanced as market conditions change. See the [portfolio page](https://docs.superearn.io/en/protocol/portfolio-allocation-policy) for details, as well as our risk evaluation frameworks([Defi](https://docs.superearn.io/en/risks/defi-protocol-evluation-framework), [RWA](https://docs.superearn.io/en/risks/rwa-protocol-evluation-framework)) and our approach to [risk management](https://docs.superearn.io/en/risks/risks). 2. **Transparency**: All assets remain non-custodial in on-chain vaults with verifiable positions and clear accounting, giving users and partners full visibility into how funds are deployed. 3. **Secure orchestration**: Bridging, allocation, and cross-chain state reconciliation are handled securely (see [Runespear](https://docs.superearn.io/en/protocol/runespear)) once a deposit is made, with strict role separation and permissioned operations. 4. **Simple integration and usage**: Users can deposit in just a few steps, and partners can integrate the vaults through a simple integration flow. 5. Shared yield infrastructure for local stablecoins\*: (Work in progress.) \*Future roadmap # EarnUSDT Source: https://docs.superearn.io/en/protocol/earn-usdt SuperEarn's yield-bearing USDT shares on Kaia. EarnUSDT is SuperEarn's yield-bearing USDT share position on Kaia.\ Each EarnUSDT represents a share of the SuperEarn stablecoin portfolio, which is aggregated in the **Super Vault** and deployed across Kaia-native and multichain strategies. From a user or integrator’s perspective, EarnUSDT represents shares that naturally accrue value over time. *** ## Overview When a user deposits Kaia USDT through the SuperEarn app (via **SuperEarnRouter**): * Funds enter the **Cooldown Vault** (not directly callable by users), which enforces withdrawal cooldowns and loss limits. * In return, the user receives **EarnUSDT** shares that track their pro‑rata share of the overall SuperEarn portfolio. * Behind the scenes, this portfolio is managed by the **Super Vault** and its connected cross‑chain vaults; users see a single share balance and a single yield stream. You can think of EarnUSDT as one share position that bundles many strategies: lending, RWA, and other risk‑managed positions, without users needing to handle any of those integrations directly. *** ## Value Accrual Model EarnUSDT uses a **price‑per‑share** model instead of rebasing balances: * Your **EarnUSDT share balance stays constant** in your wallet. * As the underlying portfolio earns yield, the **USDT value of each EarnUSDT** increases. * This is reflected in the share price (vault assets ÷ total shares), which is determined by the SuperEarn vault stack. On deposit: * The user receives EarnUSDT based on the current exchange rate. * Example: deposit 1,000 USDT → receive \~1,000 EarnUSDT (exact amount depends on the current share price). Over time: * If the portfolio earns yield, **1 EarnUSDT** may later be redeemable for, say, **1.03 USDT**, subject to protocol policies and loss limits. This model makes EarnUSDT: * Easy to integrate through the documented Super Vault share flow, * Easy to account for (no rebasing), and * Naturally composable with other DeFi protocols. *** ## Lifecycle: Mint → Use → Redeem **Mint** * Deposit Kaia USDT via the SuperEarn interface or by integrating with the protocol. * The protocol mints EarnUSDT shares to the depositor at the current price‑per‑share. **Use** * Hold EarnUSDT shares to accrue yield. * Use EarnUSDT shares in compatible DeFi integrations when those integrations explicitly support the Super Vault share model. * Track your position: most portfolio and wallet UIs can treat EarnUSDT like “interest‑bearing USDT”. **Redeem** * To exit, users return EarnUSDT through the SuperEarn withdrawal flow via **SuperEarnRouter** (no direct user calls to CooldownVault). * EarnUSDT shares are burned, and the user receives Kaia USDT based on the latest share price. * Redemptions are subject to protocol‑level rules: * **cooldown periods**, * **liquidity management**, and * **loss‑limiting / risk controls** in the vault stack. For the detailed mechanics of how the vaults source and manage liquidity for redemptions, see the [Super Vault](https://docs.superearn.io/en/protocol/supervault) and [How SuperEarn Works](https://docs.superearn.io/en/protocol/how-superearn-works) pages. *** ## Integrations EarnUSDT is designed to be: * **Composable** – compatible with integrations that support the Super Vault share flow. * **Portfolio‑backed** – each share represents a claim on a diversified, risk‑managed stablecoin portfolio. * **Chain‑local** – on Kaia, it behaves like a normal Kaia‑native asset. For exact contract addresses and integration examples, see the [Integrate EarnUSDT](https://docs.superearn.io/en/developers/integrate-earn-usdt) docs in the Developers section. *** ## Risk Considerations Holding or integrating EarnUSDT exposes users to the risks of the SuperEarn architecture and its underlying strategies, including: * Smart contract risk in SuperEarn and integrated DeFi/RWA protocols * Counterparty and credit risk where RWAs or off‑chain components are involved * Liquidity and slippage risk during large redemptions or market stress * Operational and messaging risk around bridging and cross‑chain execution External protocols that integrate EarnUSDT are encouraged to surface these points in their own documentation and user interfaces. *** # Fixed-rate vault architecture and rate updates Source: https://docs.superearn.io/en/protocol/fixed-rate-vault How fixed APR changes share value, how asset precision affects the update cadence, and how funds and keeper operations move through the vault. The fixed-rate vault calculates **underlying asset value per share from the configured APR and elapsed time**. Interest does not increase the number of shares in your wallet. It increases the **rate** used to convert shares into assets. The examples below use **2% annually**; read the selected deployment’s current rate configuration on-chain. The operating target is a regular update **every 24 hours for USDT (6 decimals) and every hour for JPYC (18 decimals)**. This page explains the architecture and operating model. For addresses, approval targets, function calls, and testing, use the [fixed-rate vault integration guide](/en/developers/integrate-fixed-rate-vault). > [!NOTE] > > These intervals are **operating targets for the off-chain keeper**. Contracts do not automatically select a cadence from decimals or execute themselves when a timer expires: the confirmed rate changes only after a successful keeper `poke` transaction. Kairos testnet has no automated keeper, so coordinate rate-update and redemption tests with the SuperEarn team. ## Funds and contract architecture Users call Router to deposit and submit withdrawal requests to Queue. The path that invests assets is separate from the path that determines the rate applied to user shares. ```mermaid theme={null} flowchart TB U[User] -->|Deposit underlying| R[Router] R -->|Deposited assets| V[BoringVault] V -->|Mint shares| U V -->|Allocate assets| G[Gateway] G -->|Deposit| C[CustomVault] C -->|Allocate| S[Registered strategies] S -->|Recall| C C -->|Pay recalled assets directly| V ``` The diagram summarizes asset movement. Router calls Teller, which instructs Vault to mint shares. The keeper moves and recalls investment assets through Gateway. Gateway holds CustomVault shares and temporarily holds underlying during deposits. Normal CustomVault withdrawals pay underlying directly back to Vault. | Role | Contract | Responsibility | | - | - | - | | User deposits | Router | Receive underlying and apply minimum shares, cap, whitelist, and other deposit policies | | Custody and share token | BoringVault (`VAULT`) | Hold assets and mint/burn users' 18-decimal shares | | Confirmed rate | Accountant | Store the last accepted rate and provide it to Teller | | APR calculation | FixedAprRateController | Calculate the next rate from configured APR and elapsed time | | Minting and redemption | Teller | Read the confirmed Accountant rate to mint/redeem shares | | Withdrawal requests and settlement | AtomicQueue / AtomicSolverV4 | Store requests, then redeem shares and pay assets within one settlement transaction | | Operations entrypoint | Keeper | Execute authorized rate updates, liquidity movements, and withdrawal settlements | | Investment allocation | Gateway / CustomVault / strategies | Allocate Vault assets to registered strategies and recall withdrawal liquidity | The user deposit call path is `Router → Teller → Vault`. The rate-update path is `Keeper.poke → Controller.poke → Accountant.updateExchangeRate`. Manager and role configuration constrain the calls allowed to move Vault assets. The fixed rate does not copy strategy NAV (net asset value). Controller follows the configured APR formula even when strategy returns change. The operator must manage assets and liquidity to support redemptions at that rate. **Increasing the rate does not itself create tokens or investment profits.** ## How fixed APR is applied The target APY is governance-configurable; the examples use 2%. The rate follows a fixed curve anchored to absolute time, so a keeper `poke` sets: ```text theme={null} newRate = floor(anchorRate × ratePerSecond^(now - anchorTime)) ``` * `anchorRate`, `anchorTime`: the fixed reference point (last rate change or deployment), not the previous rate. * `ratePerSecond`: a per-second compounding factor (27-decimal fixed point) derived from the target APY, where `ratePerSecond^(365 days) = 1 + APY`. Computed with integer exponentiation (`rpow`); fractional rate units are discarded (rounded down). * `now - anchorTime`: absolute seconds since the anchor — the only time input. * `lastPokeAt`: the last successful push timestamp; it gates the keeper's minimum interval but does not change the rate value. Because the rate depends only on absolute elapsed time, **poke cadence no longer changes the realized APY**: a late or irregular `poke` lands the confirmed rate on the exact same curve, with no drift. `aprBps()` / `targetApyBps()` read the configured effective APY on-chain. The rate is expressed in **base units of Accountant's base asset**. `Accountant.decimals()` equals the base token's decimals. A JPYC-based vault's rate has **18 decimals**; a USDT-based vault's rate has **6 decimals**. This is separate from both vaults having 18-decimal shares. | Base asset | Rate decimals | Rate when 1 share = 1 asset | | - | - | - | | USDT | 6 | `1_000_000` | | JPYC | 18 | `1_000_000_000_000_000_000` | In both cases, convert a share amount to asset value using `floor(shares × rate / 10^18)`. The result is in the corresponding base asset's smallest units. Governance can change the target APY via `setRatePerSecond`. If time has elapsed, it first settles that period at the old rate, then re-anchors and applies the new rate prospectively, so a change never retro-applies. Governance changes can therefore update the rate outside the regular schedule. **Realized annual growth equals the configured APY regardless of the poke schedule**; integer rounding only shaves sub-unit amounts at the floor of the rate. ## How stepped updates differ from PPS In the existing variable-yield vault, PPS is calculated from free funds and share supply at the observation time. After strategy profits are reported, the calculation reflects profit unlocking based on `lastReport` and `lockedProfitDegradation`. PPS can therefore change with time without another report transaction. The unlock duration is configurable. This does **not** mean every unreported strategy profit is immediately recognized. See [valuation, harvest and accrual reporting](/en/developers/accrual-accounting). In the fixed-rate vault, `Accountant.getRate()` returns a **stored number**. Time passing, a read, a deposit, or a withdrawal request does not itself increase that number. A successful scheduled `poke` recognizes the elapsed period in a single update. | Property | Existing variable-yield vault | Fixed-rate vault | | - | - | - | | Valuation basis | PPS reflecting reported assets, gains/losses, and profit unlocking | Rate updated from configured APR and elapsed time | | Reads between updates | PPS can change as profits unlock | `getRate()` stays the same until the next successful checkpoint | | Typical display | Gradual change while profits unlock; reports and losses also affect PPS | Steps at the vault's configured operating cadence | | Time-based projection | Read the time-dependent components of the vault's PPS calculation | Read `previewNextRate()` separately; it is not the confirmed transaction rate | ![The confirmed rate remains flat from 0 to 24 hours and rises at the 24-hour and 48-hour checkpoints. A separate projected rate grows between checkpoints.](https://mintcdn.com/superearn-fe42391a/AbaTcACQ_l5cbBHR/images/fixed-rate-daily-checkpoints.svg?fit=max\&auto=format\&n=AbaTcACQ_l5cbBHR\&q=85\&s=8fd0b80cb0c3defa5934f20530720173) The solid line is the confirmed rate; the dashed line is the projected rate if poked at that time. This chart and the table below use 2% APR, a 6-decimal asset, an initial rate of 1,000,000, and a 24-hour cadence. JPYC uses a shorter update cadence. | Time | Confirmed rate | Confirmed asset value of 1 share | Action | | - | - | - | - | | Start | 1,000,000 | 1.000000 | Initial value | | 12 hours | 1,000,000 | 1.000000 | Reading does not update the rate | | 24 hours, after successful poke | 1,000,054 | 1.000054 | First update | | 36 hours | 1,000,054 | 1.000054 | Unchanged until the next update | | 48 hours, after successful poke | 1,000,108 | 1.000108 | Second update | This is **not separate interest accounting from each user's deposit timestamp**. A deposit uses the current confirmed rate, and Router does not automatically poke. The next checkpoint applies to all shares, including shares deposited shortly before that update. Do not present interest prorated to an individual user's holding time as identical to confirmed contract value. Create new requests with `safeUpdateAtomicRequest`, the official Accountant, and `discount=0`. It reads and stores the confirmed rate at request execution; the call does not itself poke. Cancel using ordinary `updateAtomicRequest` with a zero amount. A withdrawal request also stores its own `atomicPrice`. A later rate increase does not automatically increase an existing request's payout. To request at a new rate, cancel the unwanted existing request and submit another using the latest confirmed rate. ## Default keeper operating rules **Use an update cadence appropriate to the base asset's precision.** These intervals are not withdrawal waiting periods or settlement guarantees: rate updates and withdrawal settlement are separate jobs. | Deployment | Default operating cadence | Reason or exception | | - | - | - | | USDT-based vault — 6 decimals | **Every 24 hours** | Gas and a visible daily step; cadence does not change the APY (the rate is anchored to absolute time) | | JPYC-based vault — 18 decimals | **Every hour** | Higher precision keeps each confirmed step smooth; hourly balances freshness against gas | | Kairos mockUSDT testnet | **No automated keeper** | Coordinate manual poke and settlement tests with the team | | Task | Default rule | | - | - | | Regular rate update | An authorized operator calls `Keeper.poke()` about every 24 hours for USDT or every hour for JPYC, measured from the last successful checkpoint | | Before execution | Check Controller `minInterval`, Accountant delay and rate-change bounds, relevant pauses, and `previewNextRate` | | Confirm execution | Verify the successful receipt, `Poked` / `ExchangeRateUpdated`, and the updated `getRate()` and `lastPokeAt()` | | Delays and failures | Diagnose and retry. The formula uses elapsed time; missed intervals do not create separate accrual records | | Liquidity management | Prepare redemption assets and recall funds through Gateway/CustomVault into Vault when necessary | | Withdrawal settlement | Check each request's deadline, shares, allowance, fixed price, pauses, and liquidity before separately calling `redeemSolve` | The hourly and 24-hour cadences are operating schedules; the current contracts do not automatically enforce updates at those intervals. `minInterval` sets a minimum allowed spacing, not an automatic timer. **A shorter cadence requires both Controller's `minInterval` and Accountant's `minimumUpdateDelayInSeconds` to allow updates at that frequency.** Higher precision does not bypass those restrictions, pauses, or rate-change bounds. Confirm a price change from a successful on-chain checkpoint, not the timetable. The schedule does not promise execution at a particular UTC time or withdrawal completion within that interval. If a poke violates Accountant bounds or pause conditions, the whole transaction reverts and both the rate and checkpoint timestamp remain unchanged. After prolonged downtime, accumulated growth may exceed the allowed change and require operator attention. Do not display a failed update as recognized interest. Settlement does not automatically poke. To test a redemption at an updated rate, use **successful poke → read latest rate → user submits request → settlement**. Existing requests can still settle at their own fixed prices; waiting for a rate update does not protect them from settlement. ### USDT: 6 decimals and a 24-hour cadence The confirmed rate is a function of absolute elapsed time, so **poke cadence does not change the realized APY** — poking hourly, every 24 hours, or catching up after a long gap all land the rate on the same curve. The table uses an initial rate of `1_000_000`, a constant 2% target APY, and 365 days without changes. | Poke interval | Rate increase at first poke | Growth after 365 days | | - | - | - | | 1 hour | 2 | ≈ 2.000% | | **24 hours — USDT default cadence** | **54** | **≈ 2.000%** | | 48 hours | 109 | ≈ 2.000% | Every cadence reaches the same confirmed rate (here `1_000_000 → 1_019_999`); the "first poke" column differs only in step size, not in the annual total. At this 6-decimal scale, integer rounding is a one-time sub-unit floor at each read, not a cadence-dependent loss: a one-unit increase first appears about **1,593 seconds** after the anchor. A successful poke advances `lastPokeAt` even when the rounded rate does not increase. The 24-hour default is chosen for gas and a visible daily step, not to protect the APY. ### JPYC: 18 decimals and an hourly cadence For JPYC with a rate near `10^18`, the sub-unit discarded at each read is below `10^-18` JPYC per share, so short intervals lose effectively nothing. At `10^18` and a 2% target APY, the first update after exactly one hour adds `2_260_576_447_357` rate units (**`0.000002260576447357` JPYC per share**). The default operating target is **one poke per hour**; even 10-minute intervals are feasible precision-wise, but update restrictions, gas, and operating costs still apply. Because the curve is anchored to absolute time, updating hourly, every 10 minutes, or after a gap all yield the **same \~2.000% over 365 days** — cadence does not compound differently and does not drift from the target. More frequent updates still leave `getRate()` unchanged between successful pokes. JPYC has a **stepwise confirmed price targeting hourly updates**, not a continuously changing one. Existing withdrawal requests' `atomicPrice` values do not update automatically either. ## What integrations should display and test * **Confirmed rate and update time:** display `getRate()` with `lastPokeAt()`. Connect actual checkpoints with horizontal steps on charts. * **Projected current rate:** label `previewNextRate()` separately as a projection. Do not substitute it for confirmed balance value, deposit quotes, or completed payouts. * **Expected next scheduled update:** add the vault's operating cadence (24 hours for USDT, one hour for JPYC) to the last checkpoint and label it as an estimate. Maintain this cadence as deployment-specific operational configuration; do not infer automatic execution from decimals or `minInterval` alone. Do not advance the confirmed rate merely because that time has arrived. Do not show a scheduled next update on Kairos, where there is no automated keeper. * **Delayed updates and pending withdrawals:** if the cadence is exceeded, show the last successful update and its delayed status. Define the app's acceptable quote age separately and coordinate stale-rate handling with the team. Distinguish request confirmation, pending settlement, and completed payment. On Kairos, users can mint mockUSDT, deposit, submit requests, and read state themselves. Coordinate rate-update or redemption tests through [contact@superearn.io](mailto:contact@superearn.io), following the [testnet integration instructions](/en/developers/integrate-fixed-rate-vault#7-test-on-kairos). Mainnet addresses will be added to the integration guide after the production deployment. ## Billing, financial reporting, and Data API The production EarnJPYC addresses and on-chain reporting sources are in the [fixed-rate integration guide](/en/developers/integrate-fixed-rate-vault#8-billing-financial-reporting-and-data-api). > [!NOTE] > > **Data API coverage checked on November 3, 2026:** the production EarnJPYC contract is deployed, but it is not yet listed in `GET /v1/vaults`. On-chain deployment and API indexing are separate. Before using `/v1` for EarnJPYC, confirm the exact production vault address in the catalog, its active status, read plan, and historical coverage. An unavailable response is not a zero balance. Until coverage is available, use the on-chain reads and events in this guide. For fixed-rate shares, value holdings with `floor(shares × Accountant.getRateInQuoteSafe(ASSET) / 10^18)` at the same block. Pending `AtomicQueue` requests remain part of wallet holdings until settlement; do not count their request value again as a separate receivable. Request deadlines are settlement deadlines, not cooldown maturity dates. See [Data API patterns](/en/developers/data-api) for supported-vault reporting and [balances, cost and returns](/en/developers/financial-data) for accounting policies. # How SuperEarn Works Source: https://docs.superearn.io/en/protocol/how-superearn-works From Kaia USDT deposit to EarnUSDT minting, vault aggregation, cross-chain routing, and yield flowing back. ![](https://mintcdn.com/superearn-fe42391a/c50g_6KRE-s0a6ql/images/superearn-fund-flow.svg?fit=max\&auto=format\&n=c50g_6KRE-s0a6ql\&q=85\&s=c452cc8170d4903c5df8fce14a3b6fdc) *** **1. Before Deposit** Users deposit into pre-configured SuperEarn portfolios. If you’d like to understand how the SuperEarn portfolio is managed, please refer to the [Portfolio allocation policy](https://docs.superearn.io/en/protocol/portfolio-allocation-policy) and [Portfolio opportunity set](https://docs.superearn.io/en/protocol/opportunity-set) documents. **2. Deposit Stablecoins & Mint EarnUSDT (Kaia)** **3. Aggregation into Super Vault (Kaia)** 1. Allocation to Kaia-native DeFi protocols 2. Allocation to Multichain via OriginVault (ERC-7540-like) **4. Cross-Chain Messaging & Bridging** *\*[CCIP](https://chain.link/cross-chain) is built on Chainlink’s decentralized oracle network architecture and is designed with a defense-in-depth model, so that cross-chain messages and token movements are not dependent on a single server, key, or validator set.* *\*\*Rhino is a [Tether / Bitfinex–backed](https://tether.io/news/tether-and-rhinofi-forge-strategic-alliance-to-enhance-usdt-utility-within-defi-prioritizing-user-experience/) cross-chain infrastructure provider that has processed around 6B USD in cumulative transaction volume and has operated cross-chain infrastructure for roughly six years, delivering enterprise-grade uptime and audited stablecoin rails, including KYT checks at execution.* **5. Yield Generation in Remote Vaults (e.g. Ethereum)** **6. Cooldown, Withdrawals & Safety** # Opportunity Set for Rebalancing & Allocation Source: https://docs.superearn.io/en/protocol/opportunity-set Current whitelisted yield sources for SuperEarn allocation and rebalancing. #### Morpho Vault | Vault | Curator | Protocol | Chain | | - | - | - | - | | [Gauntlet USDT Frontier V2](https://app.morpho.org/ethereum/vault/0xE571B648569619566CF6ce1060C97B621CB635D3/gauntlet-usdt-frontier) | Gauntlet | Morpho | Ethereum | | [Gauntlet USDC Frontier V2](https://app.morpho.org/ethereum/vault/0x9a1D6bd5b8642C41F25e0958129B85f8E1176F3e/gauntlet-usdc-frontier) | Gauntlet | Morpho | Ethereum | | [Gauntlet USDT Prime V2](https://app.morpho.org/ethereum/vault/0xf3557AD5E984211ac8A0874A670344f2C3376471/gauntlet-usdt-prime) | Gauntlet | Morpho | Ethereum | | [Gauntlet USDC Prime V2](https://app.morpho.org/ethereum/vault/0x8c106EEDAd96553e64287A5A6839c3Cc78afA3D0/gauntlet-usdc-prime) | Gauntlet | Morpho | Ethereum | | [Vault Bridge USDT](https://app.morpho.org/ethereum/vault/0xc54b4E08C1Dcc199fdd35c6b5Ab589ffD3428a8d/vault-bridge-usdt) | Gauntlet | Morpho | Ethereum | | [Feather USDT](https://app.feather.zone/kaia/earn?vaultId=0x32936d1bebddb4b85018aacb9b119748c65a76bb\&assetId=0xd077a400968890eacc75cdc901f0356c943e4fdb) | Feather | Morpho | Kaia | #### Morpho Market Supply | Collateral | Chain | | - | - | | AA\_FalconXUSDC | Ethereum | | mF-ONE | Ethereum | | stUSDS | Ethereum | | sUSDS | Ethereum | | PT-USDG | Ethereum | | reUSD | Ethereum | | PT-reUSD | Ethereum | | wsrUSD | Ethereum | | wstETH | Ethereum | | WBTC | Ethereum | | cbBTC | Ethereum | #### Pendle PT | Asset | Chain | | - | - | | sUSDe | Ethereum | | USDG | Ethereum | | reUSD | Ethereum | #### Tokenized Real World Assets(RWA) | Asset | Manager | Chain | | - | - | - | | Yield8 | Kaia Investment Partners | Kaia | ### Morpho ![](https://mintcdn.com/superearn-fe42391a/fIIBQSFfQpvgwMrw/images/Morpho-logo-horizontal-lightmode.svg?fit=max\&auto=format\&n=fIIBQSFfQpvgwMrw\&q=85\&s=a006e3cc7bc4f4e3da496837d758ecb1) **Morpho** is a decentralized, noncustodial lending protocol implemented on the Ethereum Virtual Machine. It is designed to facilitate overcollateralized lending and borrowing of crypto assets. It functions as an immutable base layer for users and applications, enabling the creation of isolated lending markets. It allows users to lend and borrow crypto assets trustlessly, non-custodially, and overcollateralized. It operates through immutable smart contracts that serve as a foundational layer for decentralized finance (DeFi) applications, enabling open participation from any user without intermediaries. The protocol supports ERC-20 and ERC-4626 tokens and includes core mechanisms such as collateral management, liquidation protections based on loan-to-value ratios, and dynamic interest rate adjustments driven by market conditions. See [Morpho docs](https://docs.morpho.org/get-started/) for detailed information. ### Gauntlet (Curator) ![](https://mintcdn.com/superearn-fe42391a/6dYGMqrJEcVjgbis/images/gauntlet-logo-full_dark.png?fit=max\&auto=format\&n=6dYGMqrJEcVjgbis\&q=85\&s=88d07afed335bec9fda0da9e637162a5) Gauntlet is the leading model provider in crypto, building optimization strategies for tokens, protocols, and chains. Leveraging its extensive knowledge base and long track record, Gauntlet has become one of the premier curators in DeFi, actively monitoring and managing risk across custom vault strategies. Gauntlet equips investors, builders, and token issuers with data-driven strategies to confidently allocate funds on-chain, supported by trusted crypto-economic research and analysis. With eight years of experience in the space, Gauntlet has developed models that safeguard tens of billions in digital assets across the ecosystem, enhancing capital efficiency while mitigating risk. Its core strengths lie in sophisticated financial modeling, risk management, and research. The team specializes in advanced risk modeling and parameter optimization, delivering risk-optimized performance for partners. Gauntlet elevates strategy design and implementation through rigorous stress testing, scenario analysis, and detailed economic-security assessments. Visit [www.gauntlet.xyz](http://www.gauntlet.xyz) to learn more. ### Pendle ![](https://mintcdn.com/superearn-fe42391a/gU8BHrhJLtnFlOCg/images/pendle-logo.png?fit=max\&auto=format\&n=gU8BHrhJLtnFlOCg\&q=85\&s=dcd8c158a40113af954c14f03086eb3c) **Pendle** is a permissionless yield-trading protocol that tokenizes and trades future yield of yield-bearing assets. By splitting a yield-bearing token into its Principal Token (PT) and Yield Token (YT), Pendle enables users to lock in fixed yields, speculate on future yield, or provide liquidity to yield markets — bringing traditional interest-rate derivatives concepts on-chain. **Principal Tokens (PT)** represent the underlying principal of a yield-bearing asset and are redeemable 1:1 for the underlying at maturity. Because PTs are sold at a discount to their face value prior to maturity, holders effectively earn a fixed, predictable yield by buying and holding PTs until expiry. This makes PTs a powerful building block for fixed-income strategies in DeFi, allowing allocators to lock in yield regardless of subsequent market volatility. Pendle has become the leading venue for fixed-yield discovery in DeFi, with deep liquidity across major yield-bearing stablecoins and LST/LRT assets. Its markets are audited, battle-tested, and widely integrated across the DeFi ecosystem, providing a reliable foundation for structured yield strategies. See [Pendle docs](https://docs.pendle.finance/) for detailed information. ### Kaia Investment Partners (Yield8) **Yield8** is a tokenized product linked to the value of the **Kaia Multi-Asset Yield Fund**, an open-ended fund providing onchain access to digital private credit and RWA strategies sourced across niche markets in Asia. The fund targets an 8%+ annual return through differentiated yield sources — including ship financing, bridge loans, earned wage access, gas-station supply financing, and other RWA strategies within the Kaia ecosystem — with weekly NAV reporting and engineered liquidity. Yield8 is structured to align with Indonesia's digital financial asset framework. Under POJK 3/2024, **PT Desentra Teknologi Indonesia (PT DTI)** has been approved by the OJK as a sandbox participant for the Digital Financial Market Infrastructure (D-FMI) business model, specifically as infrastructure for the issuance of Digital Financial Assets (AKD). The Yield8 token is currently issued on the Kaia network ([0x858c...e4d2](https://kaiascan.io/ko/token/0x858cd43f18b8834566a406c177a24a667e82e4d2)) with token contract addresses, total minted supply, transfer history, and bridge movements verifiable onchain. At the fund level, **Ascent Fund Services Pte. Ltd.** is appointed as administrator and AML/CDD provider, covering weekly NAV reporting, transfer agency and registrar functions, FATCA/CRS support, audit assistance, sanctions and adverse-media screening, ongoing monitoring, and suspicious-activity reporting. Audit support is provided by **Valaston Assurance PAC**. For technical risk, the Pruv tokenization stack has been audited by **Hashlock** (rated "Secure" with all initially identified vulnerabilities resolved), and the bridge layer has been covered by the Hyperlane Q2 2025 Security Audit by **ChainLight/Theori** (with critical findings patched). Monthly portfolio updates disclose performance (TVL, Net APY, WAL), allocation across active projects, and material milestones, supporting transparent NAV-based reporting over the life of the product. **Current Portfolio Allocation (April 2026)** TVL ≈ USD 2.0M · Reported Net APY: 8.00% · WAL: 4.0 months · Reporting frequency: Weekly. | Project | Paid-in Capital | Strategy | | - | - | - | | [Galactica](https://investax.io/blog/galactica-successfully-closes-pegasus-2-its-second-tokenized-ship-financing-on-investax) | \$700,000 | Maritime asset financing & ship-related credit (bridge loans, vessel financing); strategic operating partner: PT Pelayaran Korindo | | [YieldCore](https://app.yieldcorelabs.com/v2/dashboard) | \$500,000 | Fuel-inventory financing & receivables-backed short-duration credit linked to a large commercial fuel market | | [Forest Jalan](https://forestjalan.com/) | \$500,000 | Indonesian MSME lending, payroll-linked loans, and earned wage access | | USDT (Cash Reserve) | \$300,000 | Liquidity reserve | **Risk Management Framework** | Risk Factor | Mitigation Strategy | | - | - | | Credit / Default | Conservative underwriting, short maturities, collateral/covenant protections, active monitoring | | Liquidity Mismatch | WAL caps, maturity laddering, liquidity sleeves, and redemption gates | | Legal / Regulatory | Jurisdiction-specific licensed partners and ongoing compliance review | | Operational | Control accounts, waterfall payments, and independent third-party audits | | Technology | Smart-contract audits, access controls, and real-time monitoring | > [!NOTE] > > *Disclaimer: SuperEarn does not control, formally endorse, or guarantee the performance of these projects. SuperEarn assess risk of each individual allocated DeFi protocol, but we strongly encourage all users to conduct their own thorough research (DYOR) and understand the associated risks before interacting with any application. Users assume full responsibility for the outcomes of their on-chain decisions.* # Portfolio Allocation Source: https://docs.superearn.io/en/protocol/portfolio-allocation-policy How SuperEarn allocates stablecoins across diversified yield sources with risk and liquidity awareness. ## Overview SuperEarn’s portfolio allocation turns a simple stablecoin deposit into stable, long-lasting yield. By diversifying across DeFi and RWA sectors, it reduces APY volatility and shields users from unexpected failures in any single protocol. Instead of chasing headline yields, SuperEarn allocates only to strategies that meet strict risk and liquidity criteria, using a liquidity- and risk-adjusted optimization framework to identify the most efficient opportunities. Through dynamic rebalancing across market cycles, users benefit from consistent and resilient performance. ## Key Principles 1. We create the product we want to use and confidently deposit our own stablecoins into. 2. SuperEarn do not invest in non-transparent protocols. 3. Allocations are made only to underlying protocols that generate real yield. (e.g., Aave, Morpho). 1. Even if the underlying protocol is reputable, we avoid curators that rely on collateral backed by opaque assets. 4. SuperEarn avoid investing in vaults that generate yield through direct looping. 5. All protocols that SuperEarn allocate capital are being done extensive risk due diligence using our risk framework to minimize risks. ## Process **1. Risk Screening** See the risk framework pages for details on [DeFi](https://docs.superearn.io/en/risks/defi-protocol-evluation-framework) and [RWA protocols](https://docs.superearn.io/en/risks/rwa-protocol-evluation-framework). **2. Sector Diversification** Sector diversification is essential because it balances return and risk across fundamentally different yield sources. In the SuperEarn portfolio, **DeFi and RWA sectors exhibit structurally low correlation** – their performance drivers are almost independent. DeFi yields are influenced by market liquidity, on-chain activity, and funding rates, while RWA yields are anchored to real-world credit and treasury returns, which remain relatively stable even in downturns. This low correlation enables counter-cyclical rebalancing: during bull markets, DeFi exposure can be increased to capture higher risk-adjusted returns, while in bear markets, RWA allocation is expanded to preserve stability and sustain baseline yield. Such diversification smooths portfolio volatility, enhances the Sharpe ratio, and keeps performance more consistent across market regimes. **3. Liquidity- and Risk-Adjusted Optimization** This approach refines the traditional Sharpe ratio by incorporating liquidity and other risk costs. Instead of measuring excess return per unit of volatility alone, it penalizes assets with low liquidity, high trading costs, or elevated technical and collateral risks — allowing portfolio weights to favor the most resilient yield sources. The result is a portfolio that balances return and risk while remaining robust under stressed or illiquid market conditions. **Example** Consider optimizing allocation between **Morpho’s USDC/T lending vault** and other yield sources. A standard Sharpe ratio might suggest that Morpho’s 8% APY with low volatility (around 0.5%) is the dominant choice, but this ignores liquidity and collateral considerations. Morpho positions can experience sustained utilization spikes, lower withdrawal liquidity, and exposure to higher-risk collateral types. Under SuperEarn's optimization framework, the objective function includes explicit liquidity and risk cost terms. This ensures capital flows toward the most liquidity- and risk-efficient yield opportunities, balancing return, volatility, and redemption feasibility. ## Result: SuperEarn Portfolio A sector-based, risk- and liquidity-adjusted portfolio that dynamically rebalances across bull and bear markets. ![](https://mintcdn.com/superearn-fe42391a/0JWxQqn_fJlxyi6b/images/Screenshot2025-11-17at12.35.29AM.png?fit=max\&auto=format\&n=0JWxQqn_fJlxyi6b\&q=85\&s=da005ab81ced6139b6336d061f1aab98) # Multichain safety design: Runespear Source: https://docs.superearn.io/en/protocol/runespear Runespear is the “air‑traffic control” for SuperEarn’s cross‑chain funds. It makes sure deposits, yields, and withdrawals stay correctly accounted for even while assets and messages move on different chains. ## Summary * Multichain systems are inherently asynchronous: messages and assets move on separate timelines. * Runespear solves this by: * Standardizing cross‑chain messages * Piggybacking full state snapshots on every message * Using a conservative accounting model that avoids double counting * SuperEarn is built so that **asset safety and correctness come first**, even in the face of delays or partial failures in CCIP or bridges. ## 1. Why Multichain Is Hard When SuperEarn uses more than one blockchain (for example, Kaia for the user interface and Ethereum for deep liquidity), two things travel separately: * **Messages** – “Do this action” (deposit, withdraw, update state) * **Assets** – USDT/USDC actually moving through a bridge These two rails… * Don’t arrive at the same time * Can be delayed, retried, or temporarily fail independently * May be processed in slightly different orders on each chain Without a good design, this can cause: * Temporary **double counting** of assets (appearing in two places) * Confusing balances if a message or bridge transfer is delayed * Fragile systems that “freeze” if one chain or service is slow Runespear is SuperEarn’s solution to this problem. *** ## 2. What Is Runespear? Runespear is a **standardized messaging layer** that sits between SuperEarn’s vaults and the cross‑chain infrastructure, built on top of Chainlink CCIP. At a high level, it: * Lets chains send **clear, typed instructions** to each other (e.g., “these many assets were bridged”, “withdrawal confirmed”) * Attaches a **full state snapshot** to every message, so each side always has an up‑to‑date picture of the system * Automatically handles **retries and failed messages** instead of silently breaking You can think of it as a shared language and ledger for SuperEarn chains to talk to each other safely. *** ## 3. Safety Goals Runespear and the SuperEarn V2 architecture are designed with a few clear goals: 1. **Never lose or double‑count funds**: Total assets across chains should always be mathematically consistent, even during bridge transfers. 2. **Stay safe under delays or outages**: If CCIP or a bridge is slow, the system uses the last safe data and corrects itself as soon as new information arrives. 3. **Avoid “stop‑the‑world” behavior**: User‑facing functions like reading your balance should never have to “wait” on another chain to respond. 4. **Minimize trust assumptions**: Runespear treats both CCIP and bridges as external infrastructure and is designed to remain safe even if they delay or fail to call back. *** ## 4. Two Rails, One Coherent Picture SuperEarn’s cross‑chain design separates responsibilities into layers: * **Vaults (per chain)** – Hold and manage funds on each chain * **Message Agent** – Translates vault actions into cross‑chain messages * **Crosschain Adapter** – Talks to CCIP and the native bridge * **Runespear / CCIP + Bridge** – The actual infrastructure that transports messages and assets From a user’s point of view this is invisible, but it matters for safety: * Vaults only deal with **local, verified balances** * Runespear and the adapter are responsible for **keeping both sides in sync** over time *** ## 5. State Snapshots on Every Message The most important safety feature is **“universal state piggybacking.”** Every Runespear message carries: * The action (for example, “bridge complete”, “sync balances”) * A **state snapshot** of what the sending chain currently believes: * How many assets are held in the vault * What’s currently in transit via the bridge * Relevant timestamps and markers This gives the receiving chain a **complete, up‑to‑date picture** every time a message arrives, not just a small delta. **Why this is safe:** * If a message is delayed or lost, the **next** message still contains a fresh snapshot. * The system doesn’t need to “chain” updates in a perfect order; it always overwrites with the latest known truth. * This makes the system **self‑correcting** – it naturally converges back to correct accounting as soon as messages resume. *** ## 6. Correct Balances Without Freezing the System In cross‑chain systems, there’s a tempting but dangerous idea: > “Don’t let anyone move until we get fresh data from the other chain.” This “stop‑the‑world” approach is **not** what SuperEarn does. It would: * Make basic reads (like `totalAssets`) slow or unreliable * Force every call to wait on external systems * Break integrations with other protocols that expect instant, read‑only functions Instead, SuperEarn: 1. **Trusts local, on‑chain data first**: Each chain knows exactly how much it holds **locally**. 2. **Combines it with the latest snapshot from the other chain**: Using the state snapshots carried by Runespear messages. 3. **Avoids double counting "in‑flight" transfers**: During bridging, some assets are moving between chains. SuperEarn's accounting model detects and subtracts this overlap so the same funds are never counted twice. 4. **Never blocks user‑facing reads**: Even if messages are temporarily delayed, balance queries still return immediately, using the last safe, conservative data. Real‑world analogy: * Imagine two branches of the same bank. * Each branch keeps its own local ledger, and they periodically reconcile. * You can still withdraw from your branch even if the other branch is slow to respond. * Over time, the ledgers converge and every unit of money is accounted for. That’s essentially how SuperEarn behaves under Runespear. *** ## 7. How Runespear Handles Failure Scenarios Here’s how the system behaves under common “bad” conditions: ### 7.1 Message Delays or Loss If a CCIP/Runespear message is delayed or fails: * The system **stores** information about the failed message for inspection and possible retry. * Later messages still carry **full snapshots**, which allow the system to resync correctly. * User‑facing views remain available, using the last safe state. ### 7.2 Bridge Congestion or Outage If the native bridge between chains is slow or temporarily down: * Transfers in progress are tracked in a **bridge queue** and via the accounting layer. * Assets are not assumed “arrived” until the system can clearly see them on the target chain. * Total assets remain mathematically consistent; at worst, some funds are treated as “in transit” for longer. ### 7.3 Remote Chain Issues If the remote chain is congested or temporarily unavailable: * Origin‑side operations that depend on remote info can become more conservative, but **do not corrupt accounting**. * Once Runespear messages resume, the new snapshots automatically reconcile any missed intermediate steps. *** ## 8. What This Means for Users From a user’s perspective: * You simply **deposit** on Kaia, yields are generated across chains, and you **withdraw** back to Kaia. * Behind the scenes, Runespear: * Keeps the different chains in sync using state snapshots * Handles delays, retries, and ordering issues * Makes sure your funds aren’t under-counted or “lost in transit” In practice, this means: * Balances might be **slightly conservative** for short periods during heavy cross‑chain activity. * But they are designed to be: * **Safe** – never overstated or double‑counted * **Eventually exact** – they converge to the true value once all messages and transfers settle *** # Super Vault Source: https://docs.superearn.io/en/protocol/supervault Main aggregation vault on Kaia that backs EarnUSDT and routes capital across strategies and chains. > [!NOTE] > > This page focuses on the conceptual role of the Super Vault.\ > For function‑level details and contract interfaces, see the > [**Core Components**](/en/developers/core-components) and > [**Integrate EarnUSDT**](/en/developers/integrate-earn-usdt) pages. ## Summary Super Vault is the single pooled portfolio that sits behind **EarnUSDT** and quietly handles all the complexity for you. It collects user capital from the Cooldown Vault, allocates it across Kaia‑native and multichain strategies, and exposes a single portfolio value that determines the EarnUSDT share price. 1. **Liquidity‑managed & RWA‑ready**: A **cooldown window** lets the system plan redemptions in advance, so it can safely use less liquid DeFi and RWA strategies while still meeting user withdrawals. 2. **Multichain aggregation via Runespear**: Super Vault can bridge capital to other chains (like Ethereum) and pull it back, using Runespear to keep cross‑chain accounting conservative and in sync. 3. **Strategy engine, not a single farm**: Your deposit is spread across multiple on‑chain strategies (Kaia DeFi + multichain), with allocations adjusted over time rather than chasing a single yield source. 4. **Governance, fees & risk controls**: Strict role‑based permissions, health checks, loss limits, pause switches, and automated fee logic (management / performance fees, currently set to 0%) are all enforced on‑chain to keep operations controlled and user yield transparent. *** ## 1. Role in the vault stack At a high level, the Kaia-side stack looks like this: ```text theme={null} User ↔ Cooldown Vault ↔ Super Vault ↔ { Kaia strategies, OriginVault ↔ RemoteVault ↔ remote strategies } ``` **Cooldown Vault (Kaia)** * Entry/exit pool for users. * User flows reach this vault **only via SuperEarnRouter**; it does not expose direct user deposit or withdrawal entrypoints. * Enforces cooldowns, loss limits, and other user‑facing safety policies. * Mints/burns **EarnUSDT** based on the price‑per‑share that ultimately comes from the Super Vault and its connected vaults. **Super Vault (Kaia)** * Aggregation layer that: * Collects capital from the Cooldown Vault. * Decides how much to keep on Kaia vs. how much to send to multichain strategies. * Keeps the Kaia‑side portfolio aligned with target allocations and risk limits. * Conceptually, it is the **“single portfolio”** whose value backs EarnUSDT. **OriginVault (Kaia, ERC‑7540‑like)** * Cross‑chain hub for capital that leaves Kaia. * Holds USDT earmarked for strategies on other chains. * Manages **queued deposits and withdrawals** through an ERC‑7540‑like async redemption model (not formally ERC‑7540) that must be processed via bridge and messaging layers. * Works with the bridge/accounting components to track all assets “in transit”. **RemoteVaults (e.g. Ethereum)** * Vaults on remote chains that receive bridged assets. * Deploy funds into whitelisted DeFi and RWA strategies (e.g. Morpho, RWA protocols, other vaults). * Their value flows back through OriginVault and the Super Vault, and ultimately appears as a **higher share price for EarnUSDT on Kaia**. All of these pieces together define the **total assets** that back EarnUSDT. The Super Vault is the place where this portfolio is logically aggregated. *** ## 2. What counts as “Super Vault assets” When we talk about “total assets backing EarnUSDT”, we are really talking about the Super Vault’s consolidated view of: * **Idle USDT on Kaia** (liquidity buffers). * **Positions in Kaia‑native strategies.** * **Cross‑chain assets**, including: * Shares in OriginVault on Kaia. * Assets and strategy positions in RemoteVaults on other chains. * **Assets currently in flight** across the bridge. Because cross‑chain transfers and messages are asynchronous, the system uses a conservative accounting model: * Transfers in progress are tracked in a **bridge queue** and via the accounting layer. * Assets are not treated as “arrived” until they are visible and confirmed on the target chain. * State snapshots piggybacked on cross‑chain messages keep Origin/Remote views consistent over time. This means: * In short periods of heavy cross‑chain activity, numbers may be slightly conservative. * As messages and transfers settle, accounting **converges** to the exact true value without double‑counting. For more on the cross‑chain accounting model, see the **[Runespear & Messaging](/en/protocol/runespear)** page. *** ## 3. Capital routing & portfolio engine The Super Vault does **not** hard‑code a single yield source. Instead, it acts as a **portfolio engine** that: * Receives target weights and constraints from the **[Portfolio Allocation Policy](/en/protocol/portfolio-allocation-policy)**. * Allocates across the eligible strategies listed in the **[Portfolio Opportunity Set](/en/protocol/opportunity-set)**. * Rebalances as yields, liquidity, and risk conditions evolve. Concretely, this looks like: * Maintaining a **liquidity buffer on Kaia** to serve redemptions and operational needs. * Deploying part of the capital into **Kaia DeFi / RWA strategies** via dedicated strategy contracts (e.g. `StrategyMorphoGauntletUSDTVault`). * Sending another part into **multichain strategies**, by: * Depositing into OriginVault on Kaia. * OriginVault coordinating bridging to RemoteVaults on other chains. * RemoteVaults investing into curated DeFi/RWA strategies (e.g. Morpho vaults). From the Super Vault’s perspective, all of these positions roll up into a single notion of **“portfolio value”**, which is what ultimately backs EarnUSDT. ### 3.1 Vault + Strategy structure Under the hood, the Super Vault follows a **vault + strategies** model: * The Super Vault itself is a **tokenized vault** that issues shares (EarnUSDT on Kaia). * It delegates capital to a **set of strategy contracts**, each of which knows how to interact with a particular yield source (e.g. Morpho, RWA vaults, or OriginVault for cross‑chain deployments). * Each strategy has parameters such as: * **Debt ratio** – max share of the Super Vault’s assets it is allowed to manage. * **Min / max debt per harvest** – how fast the position can scale up or down. * **Strategy‑level performance fee (strategist fee)** – optional share of profits for the strategy implementer. The architecture supports **multiple strategies per vault**, allowing the portfolio engine to: * spread risk across different protocols and sectors, * cap exposure to any single strategy, and * adapt allocations as markets change. In practice, EarnUSDT uses a **curated subset** of strategies chosen through the opportunity‑set and risk‑framework process, rather than trying to chase every possible yield source. ### 3.2 Supporting automation & safety rails Several supporting components work around the Super Vault + strategy layer: * **LightKeeper (Kaia / remote)** Off‑chain helpers call the `LightKeeper` contracts to **harvest** and **tend** strategies: * `harvests(strategies[])` realizes profit/loss and reports it back to the vault. * `tends(strategies[])` rebalances positions without realizing profit/loss. * Helpers use `harvestTrigger()` / `tendTrigger()` on each strategy to decide when it's worth calling, taking into account gas costs and expected gains. * **CrosschainKeeper (Kaia / remote)** Coordinates **bridging and remote vault operations**, including: * bridging idle USDT between OriginVault and RemoteVaults, * depositing into / withdrawing from remote vaults, * processing redemption queues and fulfilling withdrawals in batches. From the Super Vault’s point of view, CrosschainKeeper is what keeps the cross‑chain part of the portfolio in sync with target allocations. * **HealthCheck** Each strategy can be wired to a `HealthCheck` contract that enforces **profit / loss bounds per harvest**. If a harvest would realize an unexpectedly large loss or gain (e.g. due to oracle issues or abnormal behavior), the transaction can revert and alert operators. * **BaseFeeOracle / FeeOracle** To avoid harvesting when gas is too expensive relative to expected yield, strategies can consult a base‑fee oracle, which decides whether current gas prices are acceptable for running harvests. * **Roles around the Super Vault** The vault stack follows a layered role model: * **Governance** – ultimate authority, can change system‑level parameters (fees, deposit limits, emergency shutdown, role assignments). * **Management** – day‑to‑day portfolio management (strategy onboarding/removal, health‑check tuning, liquidity thresholds). * **Guardian** – emergency responder that can pause vaults in critical situations. * **Keeper** – hot‑wallet or bot roles that drive automation via LightKeeper / CrosschainKeeper, with limited authority. This separation lets the Super Vault operate largely automatically, while still having clear safety rails and escalation paths for operators. ### 3.3 Fee model (management & performance fees) The underlying vault contracts that implement the Super Vault support the **two fee types**: * **Management fee** * A flat annualized rate on total assets under management (AUM). * Accrued over time and taken when strategies harvest, by **minting vault shares** to the rewards/fee recipient. * Economically, this slightly slows the growth of price‑per‑share compared to gross strategy performance. * **Performance fee** * A percentage of **realized profit** on harvests. * Also charged in shares at harvest time, taken out of the gain before it is reflected in the share price. * Can exist both at the **vault level** (protocol/treasury fee) and at the **strategy level** (strategist fee via `StrategyParams.performanceFee`). For the **EarnUSDT Super Vault on Kaia**, these fees are **currently configured to 0%**, so all realized yield flows through to users (modulo external protocol fees). If fees are ever turned on: * The **UI and docs will display APY on a net‑of‑fee basis.** * Fees will continue to be taken only from yield, not by charging explicit withdrawal spreads or hidden mark‑ups. *** ## 4. Withdrawals and liquidity management When a user initiates a redemption of EarnUSDT: 1. The request is created on Kaia via **SuperEarnRouter** and flows through the **Cooldown Vault**, starting a short cooldown period (CooldownVault is not directly callable by users). 2. During this window, the system: * Draws on Kaia‑side liquidity buffers. * Brings capital back from remote chains via the same path in reverse (RemoteVault → OriginVault → Super Vault → Cooldown Vault). * Unwinds or rebalances strategy positions as needed, subject to: * Max loss thresholds, * Slippage limits, * Bridge safety checks and timeouts. 3. After the cooldown and internal settlement complete, the user receives Kaia USDT at the price‑per‑share **locked in when the request was made** (see \$EarnUSDT for token‑level details). From the Super Vault’s point of view, this is a controlled shift from invested positions back into idle USDT while withdrawals are being met, rather than a forced fire‑sale of underlying assets. *** # FAQ Source: https://docs.superearn.io/en/resources/FAQ Common questions about SuperEarn, yield, safety, and withdrawals. > [accordion] What is SuperEarn? > > SuperEarn is a one-tap stablecoin yield product. Deposit USDT and receive **EarnUSDT** — a yield-bearing token whose value increases over time. > > * Non-custodial — your wallet keeps control of your funds > * Diversified across audited, risk-assessed strategies > * Fully on-chain and verifiable > * Withdrawable on demand (with a short cooldown) > [accordion] Does SuperEarn have access to my funds? > > No. SuperEarn never custodies your funds. You connect with your existing wallet (MetaMask, Rabby, WalletConnect) or an embedded wallet provisioned through Privy — in every case, only your wallet can sign transactions or move assets. > [accordion] Is SuperEarn safe? > > SuperEarn is designed with safety as the top priority. Your assets stay non-custodial — only your wallet can move them. Strategies are executed through audited smart contracts, run with strict risk controls, and reconciled across chains so balances never drift. All vault activity is verifiable on-chain. For a full breakdown, see *What risks exist?* below and the [Risk page](https://docs.superearn.io/en/risks/risks). > [accordion] What chains is SuperEarn available on? > > EarnUSDT is issued on **Kaia**, where the main Super Vault and Cooldown Vault live. Through **Runespear**, Super Vault also deploys capital into multichain strategies on **Ethereum** (and additional chains over time) via OriginVault and RemoteVaults. Cross-chain accounting is reconciled deterministically so your EarnUSDT share price reflects positions across all chains. > [accordion] How does SuperEarn generate yield? > > SuperEarn allocates USDT into a curated set of on-chain strategies defined in the [Opportunity Set](https://docs.superearn.io/en/protocol/opportunity-set). Today this includes: > > * **Morpho Vaults** — curated by Gauntlet (e.g., USDT Frontier V2, USDT Prime V2, Vault Bridge USDT) > * **Morpho Market Supply** — supplied only against risk-assessed collateral > * **Pendle PT** — fixed-yield exposure via Principal Tokens on risk-assessed assets > * **Tokenized Real-World Assets (RWA)** — e.g., Yield8 by Kaia Investment Partners > > The Opportunity Set expands continuously as new strategies pass risk review. Allocations follow the [Portfolio Allocation Policy](https://docs.superearn.io/en/protocol/portfolio-allocation-policy). > [accordion] How is yield earned and tracked? > > Your **EarnUSDT balance stays constant; the price of each EarnUSDT in USDT increases** as the underlying strategies earn yield. APY varies and is not guaranteed — it reflects strategy performance, liquidity, allocation, and market rates. Yield accrues continuously and is reflected in EarnUSDT's share price as harvests are recognized. You can track real-time earnings, share price, and historical APY in your Portfolio dashboard. > [accordion] Are there any fees? > > Protocol-level **management and performance fees are currently set to 0%**. Individual strategies may apply their own optional strategist fee, which is enforced on-chain and disclosed in the strategy contract. Any future change to protocol fees would be governed transparently and announced in advance. > [accordion] Can I withdraw at any time? > > Yes. Withdrawals are a two-step flow: **request** at any time, then a short cooldown period applies (typically under \~24 hours) while the underlying positions are unwound safely. After the cooldown, your withdrawal is processed and credited automatically — no separate claim transaction is required. Real-time withdrawal status is visible in your Portfolio. > [accordion] What risks exist when using SuperEarn? > > Risks include smart contract vulnerabilities, counterparty risk, protocol failures, liquidity delays, and cross-chain messaging delays. SuperEarn mitigates risk through: > > * Rigorous due diligence > * External audits > * Conservative position sizing > * Real-time health checks > * Multi-stage circuit breakers > > Still, no system can remove risk entirely. Refer to [the Risk page](https://docs.superearn.io/en/risks/risks) for details. > [accordion] How does SuperEarn handle cross-chain operations safely? > > Cross-chain transfers go through **Chainlink CCIP** and are reconciled by **Runespear**, SuperEarn's accounting layer. Every transfer and state update is validated before being applied, so balances stay consistent across chains. See [Runespear: Multichain safety design](https://docs.superearn.io/en/protocol/runespear) for the technical breakdown. > [accordion] Can developers integrate SuperEarn? > > Yes. Developers can: > > * Integrate EarnUSDT as a yield-bearing collateral or savings primitive > * Read vault state and APY data on-chain > > See [Integrate EarnUSDT](https://docs.superearn.io/en/developers/integrate-earn-usdt) for the full developer guide. # Privacy Policy Source: https://docs.superearn.io/en/resources/privacy-policy Last update: October 7, 2025 Welcome to SuperEarn. Kairos Studio Ltd. (“we”, “us”, or “our”) located in the British Virgin Islands owns and operates the Superearn website, [superearn.io](http://superearn.io) (the “**Website**” and collectively with any connected software, mobile application or other products the “**Site**”), where users (the “**User**” or “**you**” may access and/or use the website-hosted user interface SuperEarn App (the “**Interface**”)  This Privacy Policy describes our policies and procedures on the collection, use and disclosure of your personal data when you use our services provided through the Site, including, but not limited to the Interface (the “**Service**”). This document is part of our Terms of Service(“**TOS**”). By accessing or using the Service made available through our Site, you agree to the collection, use, and disclose of your personal data in accordance with this Privacy Policy. # Information Collection ## Types of Data Collected ### Information You Provide We may collect the following information about you when you use the Service: * Wallet Information * When you connect your third-party non-custodial private digital wallet (the “**Wallet**”) to access or use the Service, we will collect your Wallet address, as it is necessary for the operation of the Service and to enable your interaction with the Site.  * We may collect the Wallet address you use to connect to the Interface to block wallets that are associated with certain legally prohibited conduct from Interface. Separately, we may collect your Wallet address as part of "Usage Information" (as described below) to improve the Interface and user experience of the Services. * On-chain transaction details associated with the connected Wallet may also be collected by us; however, we will only process transaction information that is publicly available on the blockchain. We do not require or request any specific transaction data beyond what is already publicly accessible. * Email Address * We collect the email address provided by users who choose to sign up for or access the Service via email. * Such information will be used solely for the purposes of account creation, user authentication, and communication related to the Service. * Correspondence and Content: * Within any messages you send to us (such as feedback and questions to support), we may collect your name and either your email address or social network service ID, as well as any other content included in the message.  * You may choose to voluntarily provide other information to us that we have not solicited from you, and, in such instances, you are solely responsible for such information. * Please note that providing the above information is entirely optional. Your access to or use of the Service will not be limited or restricted if you choose not to provide it; however, certain features, such as feedback submission or user support, may be unavailable or limited if the relevant information is not provided. \ For your reference, “personal data” refers to any information about a living individual that identifies or, when combined with other information, enables the identification of a specific individual, including but not limited to name, contact details, and email address. ### Information Collected Automatically We collect the following information: * Device Information: We may collect information about the device you use to access the Interface, such as the device type, operating system, browser type, and screen height and width. This information helps us optimize the Interface for different devices and troubleshoot any technical issues. * Usage Information: We may collect information about how you use the Interface and Services, including your Wallet address, the time you access the Interface, pages you visit, the features and assets you interact with, the links you click, and the search queries you make. By analyzing this data, we gain a deeper understanding of user behavior, which in turn allows us to make continuous improvements to the Interface and the Service and enhance the overall user experience. For further information on how we use tracking technologies for analytics and your rights and choices regarding them, please see the "Cookies Policy” and “Analytics” sections below. ## Third-Party Wallet Connections and Disclaimer You acknowledge that your access to, use of, connection to, and interactions with that wallet are governed solely by the terms and privacy policies of the applicable third-party wallet provider. Wallets are not maintained, supported, or operated by us, and we are not associated or affiliated with such wallet providers. We expressly disclaim any and all liability arising from your use of third-party wallets, including, without limitation, any use or disclosure of personal data by such third-party wallet providers. # Cookie Policy We understand that your privacy is important to you and are committed to being transparent about the technologies we use. In the spirit of transparency, this Cookies Policy provides detailed information about how and when we use cookies on our Services. ## Do we use cookies? We use cookies and other technologies to understand how you use our Interface so we can improve its design and functionality (to ensure everyone who uses the Interface has the best possible experience). ## What is a cookie? A cookie is a small text file that is placed on your hard drive by a web page server. Cookies contain information that can later be read by a web server in the domain that issued the cookie to you. Some of the cookies will only be used if you use certain features or select certain preferences, and some cookies will always be used.  ## Why would we use cookies? We use cookies and other similar identifiers only to compile aggregate data about Interface traffic and site interaction to offer better user experiences and tools in the future. ## What types of cookies do we use? * Strictly Necessary Cookies: These cookies are essential for the Interface to function properly and enable basic features such as page navigation and access to secure areas of the site. They do not collect personal data. * Analytical/Performance Cookies: These cookies allow us to analyze how visitors use the Interface, which helps us improve its functionality and performance. * Functional Cookies: These cookies enable enhanced functionality and personalization of the website. They may remember your preferences, such as the wallet you previously used to connect. ## How to disable cookies? Users can generally activate or later deactivate the use of cookies through a functionality built into your web browser.  If we introduce optional cookies (e.g., analytics or marketing cookies) in the future, you will be able to block or delete them using the following methods: How to Block Cookies Desktop Browsers * Chrome: Click the “⋮” icon at the top right > Settings > Privacy and security > Cookies and other site data > Block third-party cookies * Edge: Click the “…” icon at the top right > Settings > Cookies and site permissions > Manage and delete cookies and site data > Block cookies * Safari (Mac): Safari > Preferences > Privacy > Block all cookies Mobile Browsers * Chrome (Mobile): Tap the “⋮” icon at the top right > Settings > Site settings > Cookies > Block cookies * Safari (iOS): Device Settings > Safari > Block All Cookies * Samsung Internet: Tap the “≡” icon at the bottom > Settings > Sites and downloads > Block cookies How to Delete Cookies Desktop Browsers * Chrome: Click the “⋮” icon at the top right > Settings > Privacy and security > Clear browsing data > Select “Cookies and other site data” > Delete * Edge: Click the “…” icon at the top right > Settings > Privacy, search, and services > Clear browsing data > Select “Cookies and other site data” > Delete * Safari (Mac): Safari > Preferences > Privacy > Manage Website Data > Select items > Remove Mobile Browsers * Chrome (Mobile): Tap the “⋮” icon at the top right > Settings > Privacy > Clear browsing data > Select “Cookies and site data” > Delete * Safari (iOS): Device Settings > Safari > Advanced > Website Data > Remove All Website Data * Samsung Internet: Tap the “≡” icon at the bottom > Settings > Privacy and security > Delete browsing data > Select “Cookies and site data” > Delete # Use of Your Personal Data  We generally process the information we collect when we need to do so to perform our contract with you. For example, the processing of personal data is carried out for the purpose of enabling your access to, use of, connection to, and interaction with the Website, including: (i) to facilitate your connection to the Website; and (ii) to identify if you are likely to be a restricted person, as defined in our TOU. Each case with respect to any of (i) or (ii) is in order for us to perform our contract with you and in our legitimate interests to provide access to the Website to you.  In particular, we may use your Personal Data for the following purposes: * To provide and maintain our Service, including to monitor the usage of our Service. * To manage your Account: To make the Services available to you and perform services requested by you. * To engage in internal research: To understand the effectiveness of our Service, improve our Service, and better understand our user base. If we publish or provide the results of this research to others, such research will be presented in aggregate form such that individual users cannot be identified. * To help us better understand your interests and needs, such as by engaging in analysis and research regarding use of the Service. * For the performance of a contract: The development, compliance and undertaking of any contract with us through the Service. * To contact you: To contact you by email or other equivalent forms of electronic communication (if you voluntarily provided them to us) regarding updates or informative communications related to the functionalities, products or contracted services, including the security updates, when necessary or reasonable for their implementation. * To manage your requests: To attend and manage your requests to Us. * For business transfers: We may use your information to evaluate or conduct a merger, divestiture, restructuring, reorganization, dissolution, or other sale or transfer of some or all of our assets, whether as a going concern or as part of bankruptcy, liquidation, or similar proceeding, in which Personal Data held by us about our Service users is among the assets transferred * Security and Compliance with Laws: As we believe necessary or appropriate to operate and maintain the security or integrity of the Service, including to prevent or stop an attack on our computer systems or networks, investigate possible wrongdoing in connection with the Interface, enforce our TOS, and comply with applicable laws, lawful requests, and legal process, such as responding to subpoenas or requests from government authorities. * We may also use any of your Personal Data for which we have obtained your consent, where required by applicable law. # Sharing of Your Information ### Provision and/or Disclosure of Your Personal Data \ We do not rent or sell your personal data to third parties for any purposes, including their marketing purposes.  However, we may share your personal data with third parties in the following situations: * With Service Providers: We may share your personal data with third-party service providers that process the data on our behalf as data processors (the “Service Providers”) to contact you. * For business transfers: We may share or transfer your personal data in connection with, or during negotiations of, any merger, sale of our assets, financing, or acquisition of all or a portion of our business to another company. * With Affiliates: We may share your information with our affiliates, in which case we will require those affiliates to honor this Privacy Policy. Affiliates include our parent company and any other subsidiaries, joint venture partners or other companies that we control or that are under common control with us. * With other users: When you share personal data or otherwise interact in the public areas with other users, such information may be viewed by all users and may be publicly distributed outside. If you interact with other users or access online service operated by third parties through the Site, including feedback platforms operated by third party Service Providers, such as Featurebase (such platforms, generally, “Third-Party Platform”), your personal data may be made available or otherwise disclosed on such Third-Party Platform when you choose to provide.  In such case, Third-Party Platform, and users on such Third-Party Platform may see your name, profile, pictures and description of your activity.  * With your consent: We may disclose your personal data for any other purpose with your consent. * For Legal Compliance: Under certain circumstances, we may disclose your personal data if required to do so by law, regulation, or in response to valid requests by public authorities. This includes, without limitation, the disclosure of your personal data when such disclosure is reasonably necessary to (i) comply with a legal obligation; (ii) investigate, prevent, or take action regarding potential or actual unlawful activities, fraud, security incidents, or technical issues; (iii) defend our rights, property, and interests; or (iv) protect the rights, property, or safety of our users, the Services, or the public. ### Google Analytics We may use third-party Service Providers to monitor and analyze the use of our Service:  Google Analytics is a web analytics service offered by Google LLC (“Google”) that tracks and reports website traffic, and we use Google Analytics to help us analyze how users interact with our services. In this regard, certain personal data (such as IP address, device information, and usage data) may be collected by Google and processed on our behalf. Google may also combine such data with other information it has collected about you through its own services. By using our services, you acknowledge and agree that your personal data may be transferred to and processed by Google for the purposes of providing analytics and improving our services. In furtherance of the foregoing, Google may use the collected data to contextualize and personalize the ads of its own advertising network. You can opt-out of having made your activity on the Service available to Google Analytics by installing the Google Analytics opt-out browser add-on. The add-on prevents the Google Analytics JavaScript (ga.js, analytics.js and dc.js) from sharing information with Google Analytics about visits activity. For more information on the privacy practices of Google, please visit the Google Privacy & Terms web page: [https://policies.google.com/privacy](https://policies.google.com/privacy) ### Formo We use Formo, a documentation and analytics platform operated by Formo (“Formo”, “we”, “us”, or “our”), to host and manage certain documentation and user interfaces related to our Service. Formo provides product analytics and token-gated form functionalities for web3 applications. In connection with your use of our documentation or other materials hosted on Formo, certain personal data may be collected and processed by Formo. Such data may include, without limitation, your name, email address, IP address, browser type and version, device identifiers, and usage data (such as pages visited, time spent, and interaction patterns). Formo may use this information to provide, maintain, and improve its Services, to monitor usage, to perform analytics, and to ensure platform security. Formo acts as a separate Data Controller with respect to the data it collects, and processes such information in accordance with its own Privacy Policy and Terms of Service, which govern all use of its platform. We do not control, and are not responsible for, Formo’s processing of your personal data. By accessing or using our documentation or related services hosted via Formo, you acknowledge and agree that your personal data may be transferred to and processed by Formo in accordance with its Privacy Policy available at [https://formo.so/privacy](https://formo.so/privacy) (last updated February 2, 2025). Formo may retain personal data for as long as necessary to provide its Services and may disclose such data in accordance with applicable law, including for legal compliance or in connection with a merger, acquisition, or business transfer. For more information regarding Formo’s privacy practices or to exercise your data rights (including access, correction, or deletion), you may contact Formo directly at [support@formo.so](mailto:support@formo.so). # Retention of Your Personal Data We will retain your Information, including your personal data, only for as long as is necessary for the purposes set out in this Privacy Policy.  We may further retain and use your personal data to the extent necessary to comply with our legal obligations (for example, if we are required to retain your data to comply with applicable laws), resolve disputes, and enforce our legal agreements and policies. We will also retain Device Information and Usage Information for the purposes for which they were collected, as well as for legal compliance and record keeping purposes. # Transfer of Your Personal Data Outside the Country of Collection As a result of sharing information, your personal data may be transferred to, stored, or processed by third parties located outside the country in which it was collected. Your consent to this Privacy Policy followed by your submission of such information represents your consent to such transfer. We will use commercially reasonable efforts to ensure that your personal data is treated securely and in accordance with this Privacy Policy. No transfer of your Personal Data will take place to an organization or a country unless we have used commercially reasonable efforts to verify that adequate safeguards and security measures are in place, including measures designed to protect the confidentiality, integrity, and security of your Personal Data and other information. Notwithstanding anything to the contrary, we do not make any representations or warranties, nor do we provide any guarantee whatsoever, that your personal data will always be securely protected or remain immune from unauthorized access, disclosure, alteration, or destruction.  # Security of Your Personal Data We implement reasonable measures to protect your personal data and the security of your personal data is important to us, but remember that no method of transmission over the Internet, or method of electronic storage is 100% secure. While we strive to use commercially acceptable means to protect your Personal Data, we cannot guarantee its absolute security. ## Detailed Information on the Processing of Your Personal Data The Service Providers we use may have access to your Personal Data. These third-party vendors collect, store, use, process and transfer information about your activity on our Service in accordance with their Privacy Policies. # Email Marketing Upon your consent, we may use your Personal Data to contact you with newsletters, marketing or promotional materials and other information that may be of interest to you. You may choose to refuse receiving any, or all, of these promotional communications from us by following the unsubscribe link or instructions provided in any email we send or by contacting us. We may use Email Marketing Service Providers to manage and send emails to you. * SendGrid Their Privacy Policy can be viewed at [https://sendgrid.com/](https://sendgrid.com/) ## Your Rights  We undertake to respect the confidentiality of your personal data and will use commercially reasonable efforts to ensure that you can exercise your rights under applicable law. You have the right under this Privacy Policy, and by applicable laws, to: * Request access to your personal data : You have the right to access, update or delete your personal information we retain. You can access, update or request deletion of your personal data at any time by contacting us at [**legal@superearn.io**](mailto:legal@superearn.io). You also have the rights to receive a copy of the personal data we hold about you.  * Request correction of the personal data that we hold about you :  You have the right to have any incomplete or inaccurate information we hold about you corrected. * Object to processing of Your Personal Data : This right exists where we are relying on a legitimate interest as the legal basis for our processing and there is something about your particular situation, which makes you want to object to our processing of your personal data on this ground. You also have the right to object where we are processing your personal data for marketing purposes. * Request erasure of your Personal Data : You have the right to ask us to delete or remove personal data when there is no good reason for us to continue processing it. Upon your request, we will use commercially reasonable efforts to permanently delete your personal data in an irrecoverable manner. However, if complete and permanent deletion is technically impracticable due to the nature of the systems, we will take reasonable measures, considering factors such as time, cost, and available technology, to anonymize or irreversibly de-identify the data so that it can no longer be used to identify you. * Request the transfer of Your Personal Data. Upon your explicit request, we will provide to you, or to a third-party you have chosen, your Personal Data in a structured, commonly used, machine-readable format. Please note that this right only applies to automated information which you initially provided consent for us to use or where we used the information to perform a contract with you. * Withdraw Your consent. You have the right to withdraw your consent on using your Personal Data. However, if you withdraw your consent, We may not be able to provide you with access to certain specific functionalities of the Service. ## Exercising of Your Rights You may exercise your rights of access, rectification, cancellation and opposition by contacting us. Please note that we may ask you to verify your identity before responding to such requests. If you make a request, we will try our best to respond to you as soon as possible. ## Website You can opt out of receiving ads that are personalized as served by our Service Providers by following our instructions presented on the Service: * The NAI's opt-out platform: [http://www.networkadvertising.org/choices/](http://www.networkadvertising.org/choices/) * The EDAA's opt-out platform [http://www.youronlinechoices.com/](http://www.youronlinechoices.com/) * The DAA's opt-out platform: [http://optout.aboutads.info/?c=2\&lang=EN](http://optout.aboutads.info/?c=2\&lang=EN) The opt out will place a cookie on your computer that is unique to the browser you use to opt out. If you change browsers or delete the cookies saved by your browser, you will need to opt out again. ## Mobile Devices Your mobile device may give you the ability to opt out of the use of information about the apps you use in order to serve you ads that are targeted to your interests: * "Opt out of Interest-Based Ads" or "Opt out of Ads Personalization" on Android devices * "Limit Ad Tracking" on iOS devices You can also stop the collection of location information from your mobile device by changing the preferences on your mobile device. ## Links to Other Websites Our Service contains links to other websites that are not operated by us. If you click on a third party link, you will be directed to that third party's site. We strongly advise you to review the Privacy Policy of every site you visit. We have no control over and assume no responsibility for the content, privacy policies or practices of any third party sites or services. You understand and agree that it is your sole responsibility to connect to and use any third-party services, including Third-Party Platform, through the links available on our Website. You further agree to indemnify, defend, and hold us harmless from and against any losses, damages, liabilities, or expenses arising out of or in connection with your use of any third-party services accessed via the Website. ## Changes to this Privacy Policy We may review and update this Privacy Policy from time to time. While we shall not be liable for any such modifications, suspensions, or discontinuance, we will use reasonable efforts to provide prior notice of changes. In principle, notice of at least seven (7) days will be given before any changes to this Privacy Policy take effect, and in the case of material changes, notice of at least thirty (30) days will be given. If advance notice is not reasonably practicable, notice will be provided promptly by posting the revised Policy on the Website. For the avoidance of doubt, posting the revised Privacy Policy on the Website shall be deemed to constitute valid and sufficient notice of such changes. Updates to this Privacy Policy will apply only to information collected after the date of the change. If we make changes, we will update the “Last updated” date at the top of this Privacy Policy. If you continue to access or use our Service in any way after a change to this Privacy Policy, you will be deemed to have read, understood, and unconditionally consented and agreed to such changes. You should review this Privacy Policy and applicable policies and guidelines frequently to understand the terms and conditions that apply to your provision of information including personal data. If you do not agree to the revised Privacy Policy, you must immediately cease using the Website and the Service and contact us if you wish to have your personal data deleted before the end of the prescribed retention period. ## GOVERNING LAW AND DISPUTE RESOLUTION This Policy takes into account the requirements of British Virgin Islands' privacy policy and general privacy principles, and shall be governed by and construed in accordance with the laws of the British Virgin Islands. If you have any dispute or claim arising out of or relating in any way to the Interface or these Terms, you must send an email to [**legal@superearn.io**](mailto:legal@superearn.io) to resolve the matter via an informal, good faith negotiation process. If that dispute or claim is not resolved within sixty (60) days of sending such an email, then you agree that all unresolved disputes or claims shall be finally and exclusively settled by arbitration in Singapore, governed by the Singapore International Arbitration Centre (SIAC) Rules in force at the time of the filing for arbitration of such dispute. The arbitration shall be held before a single arbitrator in Singapore, and shall be conducted in the English language on a confidential basis at the Singapore International Arbitration Centre. Any award made by the arbitrator may be entered in any court of competent jurisdiction as necessary. This section shall survive termination of this Privacy Policy or the Service.  **Class Action and Jury Trial Waiver**. You agree to bring all disputes or claims connected to the Service in your individual capacity and not as a plaintiff in or member of any class action, collective action, private attorney general action, or other representative proceeding. Further, you irrevocably waive the right to demand a trial by jury in any jurisdiction. ## Contact Us If you have any questions about this Privacy Policy, You can contact us: * By email: [legal@superearn.io](mailto:legal@superearn.io) # Terms Source: https://docs.superearn.io/en/resources/terms Last Update: April 23, 2026 # 1. Introduction These Terms of Use ("**Terms**") govern access to and use of the [superearn.io](http://superearn.io) website (referred to as the "**Website**") by users (the “Users” or “you”), the [superearn.io](http://superearn.io) interface (referred to as the "**Interface**"), and any other websites, applications or interfaces, available through the [superearn.io](http://superearn.io) domain or other services that link to these Terms (collectively, the "**Services**"). The Services are brought to you by Kairos Studio ("we," "us," or "our").  Superearn protocol is a decentralized, non-custodial protocol composed of open-source self-executing smart contracts that are deployed on various permissionless public blockchains, such as Kaia, Ethereum and other blockchains and related software available for review in github (the "**Superearn Protocol**").  The Website provides information and resources about the Superearn Protocol. The Interface is an independent interface providing one of the available applications through which users, via their self-custodial wallets, interact with the Superearn Protocol. We provide the Websites and the Interface, but we are not involved in the execution of any transactions conducted on the blockchains. Furthermore, we do not have custody or control over the contents of your wallet and have no ability to access, retrieve, or transfer any such contents. We expressly disclaim any liability for any losses or damages arising from or in connection with any interactions with, or actions taken on, the blockchains through the Interface. To use the Services, you must legally be able to enter into these Terms. By using the Services, you represent and warrant that you meet the eligibility requirements. If you do not meet the requirement, you must not use the Services. We may change or update the Services and any part of these Terms at any time, for any reason, at our sole discretion, in accordance with these Terms. Once any such update is made and in effect, you will be bound by the Terms if you continue to use the Services. We may, at any time, and without liability to you, modify or discontinue all or part of the Services (including access to the Services via any third-party links). # 2. Dispute Resolution; Arbitration Agreement If you have any dispute or claim arising out of or relating in any way to the Interface or these Terms, you must send an email to [**legal@superearn.io**](mailto:legal@superearn.io) to resolve the matter via an informal, good faith negotiation process. If that dispute or claim is not resolved within sixty (60) days of sending such an email, then you agree that all unresolved disputes or claims shall be finally and exclusively settled by **arbitration in Singapore**, governed by the **Singapore International Arbitration Centre (SIAC) Rules** in force at the time of the filing for arbitration of such dispute. The arbitration shall be held before a single arbitrator in **Singapore**, and shall be conducted in the **English language** on a **confidential basis** at the Singapore International Arbitration Centre. Any award made by the arbitrator may be entered in any court of competent jurisdiction as necessary. This section shall survive termination of these Terms, the Services, or any connection you may have to the information you obtained from the Services. **Class Action and Jury Trial Waiver.** You agree to bring all disputes or claims connected to the Interface in your individual capacity and not as a plaintiff in or member of any class action, collective action, private attorney general action, or other representative proceeding. Further, you irrevocably waive the right to demand a trial by jury in any jurisdiction. # 3. The Services **a. Users retain full control over their cryptoassets**. It is important to understand that neither we nor any affiliated entity is a party to any transaction on the blockchain networks underlying the Superearn Protocol; we do not have possession, custody or control over any cryptoassets or any user's funds. You understand that when you interact with the Superearn Protocol and/or the Services, you retain control over your cryptoassets at all times. **b. Users use third-party self-custodial wallets to interact with the Protocol**. We have no control or guarantee over the wallets. To interact with the Superearn Protocol using the Interface, you will need to connect and engage with it through your self-custodial wallet. It is essential to understand that your self-custodial wallet is provided by a third-party entity and is generally governed by separate terms and conditions set by the respective third-party service provider. Such third party terms and conditions may involve additional fees, disclaimers, and/or risk warnings regarding the accuracy and reliance on the provided information. Reviewing and comprehending the terms and conditions associated with your chosen self-custodial wallet provider to ensure compliance and to be aware of any applicable charges or risks is your sole responsibility. We assume no responsibility whatsoever for your use of your wallet. **c. We are not intermediaries to the Protocol transactions**. Due to the non-custodial and decentralized nature of the technology, we are not intermediaries, agents, advisors, or custodians, and we do not have a fiduciary relationship or obligation to you regarding any other decisions or activities that you affect when using the Services. Superearn Protocol operates solely as a neutral technological platform that provides a venue for users to access decentralized finance products at their convenience. The Services does not act as a principal, counterparty, or agent in any transaction. **d. We have no information about any transactions beyond what is publicly available via the blockchain**. You acknowledge that we do not have information regarding any transactions conducted through the Superearn Protocol beyond what is available or obtainable publicly via the blockchain. However, we may collect information regarding the users’ access and use of the Services in accordance with these Terms and/or our Privacy Policy. **e. There may be associated blockchain fees**. Transactions using blockchains may require the payment of gas fees, which are essentially network transaction fees paid on every transaction that occurs on the selected blockchain network. Please note that gas fees are non-refundable. We do not provide any services to users or deliver, hold, and/or receive payment for cryptoassets, nor do receive any fees for any transactions or the Services or your use of blockchain.   **f. We may charge you Service fees**. We may, from time to time, charge fees in connection with your access to or use of certain features, functionalities, or enhanced services made available through the Service (“Service Fees”).  Such Service Fees may include, without limitation: * Management Fee – a fee based on the total value locked (TVL) or deposited amount (e.g., 1% of the deposited amount); and * Performance Fee – a fee based on the performance or yield generated (e.g., 10% of a 10% annual percentage yield (APY) performance). The applicable Service Fees, including the amount, scope, and payment method, will be disclosed on the relevant Service page or through a separate notice prior to your use of such paid features. Unless expressly stated otherwise, all Service Fees shall be non-refundable. You acknowledge and agree that your continued use of such paid features or services after the disclosure of the applicable Service Fees shall constitute your acceptance thereof. # 4. Assumption of Risk **a. You assume the risks of engaging in novel and experimental technology.** Technologies such as smart contracts on various blockchains, cryptographic tokens generated by the smart contracts, and other nascent software, applications, and systems that interact with blockchain-based networks are experimental, speculative, inherently risky, and subject to change and technical, legal and regulatory uncertainty. Among other risks, bugs, malfunctions, cyberattacks, or changes to the applicable blockchain (e.g., forks) could disrupt these technologies and even result in a total or partial loss of cryptoassets, their market value, or digital funds. **We assume no liability or responsibility for any such risks** **or losses, to the fullest extent permitted by applicable law. If you are not comfortable assuming these risks, we do not encourage you to access our services, and you should not access or engage in transactions using blockchain-based technology.** **b. We are not liable for any third-party services or links**. You understand and acknowledge that our Services may be connected to, or operate in conjunction with, third-party services. We are not responsible or liable for the content, accuracy, functionality, or availability of any third-party services, networks, applications, or platforms, including but not limited to Discord or MetaMask. We make no representations, warranties, or guarantees regarding the content, accuracy, or functionality of any third-party materials, contents, products or services, and we do not endorse or recommend them for any specific purpose. Further, we do not guarantee, endorse, or recommend such content or services to users of the Services, and we expressly disclaim any and all liability for any losses or damages arising from your use of or reliance on any third-party products, services, or content. **c. You agree to the automated collection and disbursement of proceeds by smart contracts**. You acknowledge and agree that all transactions accessed through the blockchain-based networks will be automatically processed using one or more smart contracts. By engaging in transactions using the Services, you acknowledge and consent to the automatic processing of all transactions in connection with using the Services. You understand that smart contracts operate independently of us and define and control the distribution of funds. You further acknowledge and agree that the applicable smart contract will dictate how the funds of a transaction and ownership of cryptoassets are distributed, and that we shall not be liable or responsible for any losses or damages arising therefrom. **d. You acknowledge the risks of using the Services**. You bear sole responsibility for evaluating the Services before using them. You understand and acknowledge that all transactions on the blockchain are irreversible, final, and without refunds. The Services may be disabled, disrupted, or adversely impacted as a result of sophisticated cyber-attacks, surges in activity, computer viruses, and/or other operational or technical challenges, among other things. We make no representation or warranty that the Services will be secure, uninterrupted, or error-free, and we disclaim any ongoing obligation to notify you of all the potential risks of using and accessing our Services. You agree to assume all such risks and acknowledge that you will not hold us, our affiliates, directors, employees, or service providers, liable for any losses or damages, including indirect, incidental, special, or consequential losses, arising from your use of or inability to use the Services. **e. You are solely responsible for the security of your self-custodial wallet.** You understand and agree that you are solely responsible for maintaining the security of your self-custodial wallet. You alone are responsible for securing your private keys. We do not have access to your wallet, private keys or any other means that would allow us to control or access your wallet. Further, you are solely responsible for ensuring your wallet’s compatibility with the Interface. Any unauthorized access to your self-custodial wallet by third parties could result in the loss or theft of any cryptoasset or funds held in your account and any associated accounts. You understand and agree that we have no involvement in, and you will not hold us responsible for managing and maintaining the security of your self-custodial wallet. You understand and acknowledge that the private key associated with the self-custodial wallet address is the only private key that can control the cryptoassets you transfer into the smart contracts. Loss of such private key may result in the permanent loss of access to your wallet and/or cryptoassets contained therein. You assume full responsibility and liability for the safekeeping of your private key and any losses resulting from its loss, compromise, or misuse.  **f. We reserve the right to restrict your access to the Services**. You agree that we have the right to restrict your access to the Services, in our sole discretion, via any technically available methods if we suspect in our sole discretion, that: (i) you are using the Services for money laundering or any illegal or unauthorized purposes; (ii) you have engaged in fraudulent activity; (iii) you have acquired cryptoassets using inappropriate methods, including, but not limited to, the use of stolen funds to purchase such assets; (iv) you are the target of any sanctions administered or enforced by the U.S. Department of the Treasury’s Office of Foreign Assets Control (“OFAC”), the United Nations Security Council, the European Union, His Majesty’s Treasury, or any other legal or regulatory authority in any applicable jurisdiction; (v) either you, as an individual or an entity, or your wallet address is listed on the Specially Designated Nationals and Blocked Persons List (“SDN List”), Consolidated Sanctions List (“Non-SDN Lists”), or any other sanctions lists administered by OFAC; (vi) you are located, organized, or resident in a country or territory that is, or whose government is, the subject of sanctions, including, without limitation, Côte d’Ivoire, Cuba, Belarus, Iran, Iraq, Liberia, North Korea, Sudan, and Syria; (vii) you are a Restricted Person (as defined in Section 19(a)); or (viii) you have otherwise acted in violation of, or otherwise in a manner inconsistent with, these Terms. If we have a reasonable ground to suspect that you are utilizing the Services for illegal, prohibited or unauthorized purposes, we reserve the right to take whatever action we deem appropriate, including, but not limited to, restricting access to the Services, to the extent permitted by law, or notifying competent authorities. Users located in jurisdictions where access to DeFi services is restricted or unlawful under applicable law are strictly prohibited from using the Services. We may display such restrictions or warnings through its Interface or pop-up notifications. We may also suspend, restrict, or terminate your access to and/or use of the Services, either in whole or in part, from time to time, for purposes of system maintenance, upgrades, security enhancements, or other technical reasons. Such suspension, restriction, or termination may occur with or without prior notice, depending on the urgency or necessity of the maintenance or technical issue. We shall not be liable for any loss, damage, or inconvenience you may suffer as a result of such suspension, restriction, or termination.  **g. We do not guarantee the quality or accessibility of the Services**. As a condition to accessing or using the Services, you acknowledge, understand, and agree that from time to time, the Services may be temporarily or permanently inaccessible or inoperable for any reason, including due to equipment malfunctions, periodic maintenance procedures or repairs, causes beyond our control or that we could not reasonably foresee, disruptions and temporary or permanent unavailability of underlying blockchain infrastructure or unavailability of third-party service providers or external partners for any reason. You acknowledge that the Services are provided on an “as is” and “as available” basis, without any representations or warranties of any kind, express or implied, including warranties of merchantability, fitness for a particular purpose, and non-infringement. You further acknowledge and agree that you will access and use the Services at your own risk. You should not engage in blockchain-based transactions unless it is suitable given your circumstances and financial resources. By using the Services, you represent that you have been, are, and will be solely responsible for conducting your own due diligence into the risks of a transaction and the underlying smart contracts and cryptoassets. The information available through the Services is not professional, legal, business, investment, or other advice related to any financial product, and it is not an offer or recommendation or solicitation to buy or sell any particular digital asset or to use any particular investment strategy. # 5. Taxes You bear sole responsibility for paying any and all taxes, duties, and assessments now or hereafter claimed or imposed by any governmental authority associated with your use of the Services and/or payable as a result of using and/or exploiting any cryptoassets and interacting with smart contracts via our Services. You acknowledge and confirm that blockchain-based transactions are novel, and their tax treatment may be uncertain, evolving, or subject to differing interpretations under applicable law. # 6. Intellectual Property Rights **a. Ownership**. We and rightful third-party licensor own all intellectual property and other rights in and to the Services and their respective contents, including, without limitation, the software, text, graphics, images, trademarks, service marks, copyrights, patents, and designs. These rights are protected by international intellectual property laws and treaties. All such rights are reserved.  **b. Feedback**. With respect to any feedback you provide (whether orally or in writing) concerning the Services, including any features or functionalities thereof, and including identifying potential errors and improvements (“**Feedback**”), you hereby grant us a worldwide, perpetual, irrevocable, non-exclusive, fully paid-up, royalty free, fully-sublicensable (through multiple tiers) and freely assignable and transferable license to use, reproduce, modify, publish, translate, distribute, perform, display, and otherwise exploit any such Feedback for any purpose without payment or restriction. It is further understood that our use of Feedback is at our sole discretion, and that we are in no way obliged to make any payment to you for or make use of any kind of the Feedback or part thereof. For the avoidance of doubt, we bear no obligation to use, implement, or compensate you for any Feedback, in whole or in part. You represent and warrant that your provision of any Feedback does not and will not infringe or violate any intellectual property or other rights of any third party. You agree to indemnify, defend, and hold us harmless from and against any and all claims, liabilities, damages, or expenses arising out of or in connection with your Feedback. **c. License Grant**. Subject to your compliance with these Terms, we grant you a limited, non-exclusive, non-transferable, non-sublicensable, and revocable license to access and use the Services solely for your personal, non-commercial use. This license does not include any rights to modify, distribute, or create derivative works of the Services or any part thereof. Notwithstanding anything to the contrary in the Terms, the Services may contain software components released under separate open-source or business-source license terms, in which case those license terms will govern such software components. **d. Trademarks**. All trademarks, service marks, logos, domain name and trade names associated with the Services are proprietary to us or our affiliates, partners or licensors. You may not use any of these marks without our prior written consent. You further agree that you will not use any of our trademarks, trade names, service marks, copyrights or logos, or our partners’, affiliated entities, licensors, or their licensors trademarks, trade names, service marks, copyrights or logos in any manner that creates the impression that such items: (i) belong to or are associated with you or indicate the sponsorship or approval of us, our licensors, any partners, affiliates or their licensors; or (ii) except as otherwise provided herein, are used with our licensorsʼ, partnersʼ, affiliatesʼ, or their licensorsʼ consent and/or authorization, and you acknowledge that you have no ownership or proprietary rights in or to any such items. # 7. Prohibited Content and Activities **a. You may only use the Services if you comply with these Terms, applicable third-party policies, and all applicable laws, rules, regulations, and related guidance.**  The following conduct is prohibited:  1. using the Services for, or to promote or facilitate, or conceal, any unlawful or prohibited activity (including, but not limited to, money laundering, financing terrorism, tax evasion, buying or selling illegal drugs, contraband, counterfeit goods, or illegal weapons);  2. exploiting the Services for any unauthorized purpose;  3. uploading or transmitting viruses, worms, Trojan horses, time bombs, cancel bots, spiders, malware, or any other type of malicious code that will or may be used in any way that will or could affect the functionality, security or operation of the Services or any related systems;  4. attempting to or actually copying, decompiling, disassembling, mirroring or otherwise making unauthorized use of all or any portion of the Services, including by attempting to reverse compile, reformatting or framing, disassemble, reverse engineer any part of the Services; 5. harvesting, scraping or otherwise collecting information or data from the Services for any unauthorized or unlawful purpose;  6. accessing or using the Services under false or fraudulent pretenses, impersonating another person or entity or otherwise being deceitful; 7. interfering with other users’ access to or use of the Services; 8. Interfering with, disabling, bypassing or circumventing the security features of the Services or any third party’s systems, networks, or resources used in connection with the provision of Services; 9. engaging in, supporting or attempting any attack, hack, denial-of-service attack, interference, or exploit of any smart contract, network, platform, and/or protocol in connection with the use or access of the Service (and operations performed by a user that are technically permitted by a smart contract may nevertheless be a violation of these Terms and the law); or  10. engaging in any anticompetitive, deceptive, fraudulent, or otherwise abusive behavior or other misconduct. **b. Violating our rules may result in our intervention**. You agree and acknowledge any violation of these Terms or applicable law may result in our immediate intervention, including the suspension or restriction of your access to all or part of the Services and we permanently reserve the right to completely or partially restrict, suspend, revoke, or terminate your access to the Services, either completely or for a period of time, at our sole discretion, without prior notice. We further reserve the right to investigate, prosecute and take actions regarding any suspected or actual breaches of these Terms. We may disclose any information as necessary to satisfy any law, regulation, legal process, or governmental request or to protect our rights, property, or the safety of others. # 8. DISCLAIMERS We do not offer or list securities or regulated financial products under applicable laws through the Interface. Partner DeFi service providers represent and warrant to us that their products provided or made accessible through the Services do not constitute securities or other regulated instruments under applicable law. **We make no representations or warranties**. THE SERVICES ARE PROVIDED ON AN “AS IS” AND “AS AVAILABLE” BASIS. WE AND OUR PARENTS, SUBSIDIARIES, AFFILIATES, RELATED COMPANIES, OFFICERS, DIRECTORS, EMPLOYEES, AGENTS, REPRESENTATIVES, AND LICENSORS (COLLECTIVELY, THE “INDEMNIFIED PARTIES”) MAKE NO GUARANTEES, REPRESENTATIONS, OR WARRANTIES OF ANY KIND IN CONNECTION WITH THE SERVICES. TO THE MAXIMUM EXTENT PERMITTED UNDER APPLICABLE LAW, THE INDEMNIFIED PARTIES DISCLAIM ALL WARRANTIES AND CONDITIONS, WHETHER EXPRESS OR IMPLIED, OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, ACCURACY, COMPLETENESS, RELIABILITY, SECURITY OR NON-INFRINGEMENT AND DISCLAIM ALL RESPONSIBILITY AND LIABILITY FOR: (A) THE SERVICES BEING ACCURATE, COMPLETE, CURRENT, RELIABLE, UNINTERRUPTED, TIMELY, SECURE, OR ERROR-FREE. INFORMATION (INCLUDING THE VALUE OR OUTCOME OF ANY TRANSACTION) AVAILABLE THROUGH THE SERVICES IS PROVIDED FOR GENERAL INFORMATION ONLY AND SHOULD NOT BE RELIED UPON OR USED AS THE SOLE BASIS FOR MAKING DECISIONS. ANY RELIANCE ON THE SERVICES IS AT YOUR OWN RISK; (B) INJURY OR DAMAGE RESULTING FROM THE SERVICES; OR (C) VIRUSES, WORMS, TROJAN HORSES, TIME BOMBS, CANCEL BOTS, SPIDERS, MALWARE, OR OTHER TYPE OF MALICIOUS CODE THAT MAY BE USED IN ANY WAY TO AFFECT THE FUNCTIONALITY OR OPERATION OF THE SERVICES. FURTHER, YOU EXPRESSLY ACKNOWLEDGE THAT THE INDEMNIFIED PARTIES ARE NOT RESPONSIBLE FOR LOSS OR DAMAGE CAUSED BY ANOTHER USER’S CONDUCT, UNAUTHORIZED ACTORS, OR ANY UNAUTHORIZED ACCESS TO OR USE OF THE SERVICES.  In furtherance of the foregoing, our provision of the Services, including, but not limited to, any vault-related features, does not constitute investment, tax, legal, or technological advice of any kind. None of the vaults made available through the Services are depository or custodial products, and none of your digital assets are guaranteed by us or any other person. We are not a fiduciary for any vault user, nor will we act as a broker, custodian, investment adviser, or asset manager through our provision of the Services. Vault users shall always deploy their assets to listed vault markets at their own risk, with full understanding that (i) their digital assets may lose some or all of their market value; (ii) their digital asset positions may be liquidated partially or entirely as a result of parameters that they cannot control or change; and that (iii) their only recourse to prevent such risks after deploying to a vault is to fully withdraw them in accordance with the terms applicable to the underlying services forming the basis of the vaults.  Examples of risks may include, inter alia, and without limitation: **(a)** bad debt events, which may result in the loss of part or all of the deployed assets; **(b)** liquidity locks, under which withdrawals may be delayed for more than a week; **(c)** smart contract exploits, which may cause total loss of funds; **(d)** governance or counterparty defaults; **(e)** oracle pricing errors, which may lead to partial or full loss of value; **(f)** counterparty defaults arising from off-chain credit exposures or structured product failures that may reduce the underlying value of the deployed assets; **(g)** exploits or vulnerabilities in SuperEarn core contracts, which may cause direct user fund losses; **(h)** bridge incidents caused by inconsistencies, errors, or losses within cross-chain systems, which may delay or reduce cross-chain withdrawal settlements; **(i)** messaging failures within the cross-chain communication layers, including delayed, duplicated, or replayed messages between vaults, which may result in reconciliation or accounting errors; **(j)** administrative key or multisig compromise, where unauthorized access to governance, timelock, or multisig keys enables the alteration of configurations; **(k)** frontend or API compromises, including phishing, DNS hijacking, or API tampering, which may cause users to interact with fraudulent or modified contract addresses; **(l)** stablecoin de-peg events in which underlying stablecoins, including USDT, lose parity with the U.S. dollar, leading to partial or total impairment of asset value; and **(m)** token-layer accounting or pricing errors in SuperEarn’s yield-bearing tokens, such as EarnUSDT, which may display incorrect exchange rates, accrued yields, or total asset values due to calculation inaccuracies, rounding discrepancies, or synchronization delays. Vault users expressly agree and acknowledge that any losses, liquidations, or withdrawals will be made solely in accordance with the relevant terms of the underlying services or DeFi strategies on which the vaults are built, all of which operate independently of us. Users assume full responsibility and liability for ensuring the timely monitoring and management of their assets, and agree to indemnify and hold the Indemnified Parties harmless from and against any and all claims, losses, liabilities, damages, costs, or expenses arising out of or in connection with their selection, access to, or use of any vault.  Users explicitly acknowledge and agree that any issues, losses, damages, or disputes arising in connection with any third-party service features, including without limitation any DeFi protocols or vaults, shall be resolved solely between the Users and the relevant third-party service providers and we shall have no responsibility or liability whatsoever in connection therewith. For the avoidance of doubt, we shall have **no obligation to intervene in, mediate, or otherwise become involved** in any such disputes. All information made available on the Service including, without limitation, any DeFi services, such as yield estimation, is provided for informational purposes only, and we make no representations or warranties of any kind as to their accuracy, reliability, or performance. Any Service Fees paid to us cannot be reclaimed. We have no contractual obligation to you, any vault user, or any other third party arising from providing vault services, unless expressly provided for in these Terms. While we use commercially reasonable efforts to select vault markets that we believe may optimize vault performance, we do not guarantee the accuracy, completeness or reliability of our modeling and Services, and in no event does our modeling or Services reliably provide expected performance or yield. Further, our Services do not provide assurance, warranty, or guarantees of performance or protection against any risk of loss. You must make your own risk–reward assessment and decisions based on your own market perspectives. Finally, you explicitly agree that you bear full responsibility for lawful possession, custody, and security of your digital assets when you transact with the vaults through our Services. We may provide parameters and open vault markets available through the Services — the rest is up to you. # 9. LIMITATION OF LIABILITY TO THE MAXIMUM EXTENT PERMITTED BY LAW, IN NO EVENT SHALL WE, OR ANY OF THE INDEMNIFIED PARTIES, BE LIABLE TO YOU FOR ANY LOSS, DAMAGE, OR INJURY OF ANY KIND INCLUDING ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, EXEMPLARY, CONSEQUENTIAL, OR PUNITIVE LOSSES OR DAMAGES, OR DAMAGES FOR SYSTEM FAILURE OR MALFUNCTION OR LOSS OF PROFITS, DATA, USE, BUSINESS OR GOOD-WILL OR OTHER INTANGIBLE LOSSES, ARISING OUT OF OR IN CONNECTION WITH: (A) THE SERVICES OR YOUR INABILITY TO USE OR ACCESS THE SERVICES; (B) MISUSE OF THE SERVICES (INCLUDING UNAUTHORIZED ACCESS OF THE SERVICES); (C) ANY USER CONDUCT ON THE SERVICES; OR (D) TERMINATION, SUSPENSION OR RESTRICTION OF ACCESS TO ANY THE SERVICES. IN ADDITION TO THE FOREGOING, NO INDEMNIFIED PARTY SHALL BE LIABLE FOR ANY DAMAGES CAUSED IN WHOLE OR IN PART BY: (I) USER ERROR, SUCH AS FORGOTTEN PASSWORDS OR INCORRECTLY CONSTRUCTED SMART CONTRACTS OR OTHER TRANSACTIONS; (II) SERVER FAILURE OR DATA LOSS; (III) THE MALFUNCTION, UNEXPECTED FUNCTION OR UNINTENDED FUNCTION OF THE BLOCKCHAIN, ANY COMPUTER OR CRYPTOASSET NETWORK (INCLUDING ANY WALLET PROVIDER), INCLUDING LOSSES ASSOCIATED WITH NETWORK FORKS, REPLAY ATTACKS, DOUBLE-SPEND ATTACKS, SYBIL ATTACKS, 51% ATTACKS, GOVERNANCE DISPUTES, MINING DIFFICULTY, CHANGES IN CRYPTOGRAPHY OR CONSENSUS RULES, HACKING, OR CYBERSECURITY BREACHES; (IV) ANY CHANGE IN VALUE OF ANY CRYPTOASSET; (V) ANY CHANGE IN LAW, REGULATION, OR POLICY; (VI) EVENTS OF FORCE MAJEURE; OR (VII) ACTS OR OMISSIONS OF ANY THIRD PARTY.  THIS LIMITATION OF LIABILITY IS INTENDED TO APPLY WITHOUT REGARD TO WHETHER OTHER PROVISIONS OF THESE TERMS HAVE BEEN BREACHED OR HAVE PROVEN INEFFECTIVE. THE LIMITATIONS SET FORTH IN THIS SECTION SHALL APPLY REGARDLESS OF THE FORM OF ACTION, WHETHER THE ASSERTED LIABILITY OR DAMAGES ARE BASED ON CONTRACT, INDEMNIFICATION, TORT, STRICT LIABILITY, STATUTE, OR ANY OTHER LEGAL OR EQUITABLE THEORY, AND WHETHER OR NOT THE INDEMNIFIED PARTIES HAVE BEEN INFORMED OF THE POSSIBILITY OF ANY SUCH DAMAGE. IN NO EVENT WILL THE INDEMNIFIED PARTIES’ CUMULATIVE LIABILITY TO YOU OR ANY OTHER USER, FROM ALL CAUSES OF ACTION AND ALL THEORIES OF LIABILITY EXCEED US \$100. UNDER NO CIRCUMSTANCES SHALL ANY INDEMNIFIED PARTY BE REQUIRED TO DELIVER TO YOU ANY VIRTUAL CURRENCY AS DAMAGES, MAKE SPECIFIC PERFORMANCE, OR ANY OTHER REMEDY. IF YOU WOULD BASE YOUR CALCULATIONS OF DAMAGES IN ANY WAY ON THE VALUE OF VIRTUAL CURRENCY, YOU AND WE AGREE THAT THE CALCULATION SHALL BE BASED ON THE LOWEST VALUE OF THE VIRTUAL CURRENCY DURING THE PERIOD BETWEEN THE ACCRUAL OF THE CLAIM AND THE AWARD OF DAMAGES. Some jurisdictions do not allow the exclusion or limitation of certain warranties and liabilities provided in this section; in such cases, to the extent applicable law does not permit us to disclaim certain warranties or limit certain liabilities, the extent of our liability and the scope of any such warranties will be as permitted under applicable law. We and the Services are not registered or licensed by, do not report to, and are not under the active supervision of any government agency or financial regulatory authority or organization. Similarly, the technology, systems, blockchains, tokens, and persons relevant to information published on the Services may not be registered with or under the supervision of or be registered or qualified with or licensed by any government agency or financial regulatory authority or organization. We are not registered as brokers, dealers, advisors, transfer agents or other intermediaries under any applicable laws or regulatory regimes. Blockchain technologies and digital assets are subject to legal and regulatory uncertainties, and could be adversely impacted by one or more regulatory or legal inquiries, actions, suits, investigations, claims, fines, or judgments, which could impede or limit the ability of User to continue the use and enjoyment of such assets and technologies. # 10. Indemnification You agree to indemnify, defend, and hold harmless the Indemnified Parties from any claim or demand, including reasonable attorneys’ fees, made by any third party due to or arising out of:  (a) your breach or alleged breach of these Terms;  (b) any, contents, data, or materials, including, without limitation Feedback, you contribute to the Services;  (c) your use and misuse of the Services, or any smart contract and/or script related thereto;  (d) your violation of any laws, rules, regulations, codes, statutes, ordinances, or orders of any governmental or quasi-governmental authorities;  (e) your violation of the rights of any third party, including any intellectual property right, publicity, confidentiality, property, or privacy right;  (f) your use of a third-party product, service, and/or website; and/or (g) any misrepresentation made by you.  We reserve the right to assume, at your expense, the exclusive defense and control of any matter subject to indemnification by you. You agree to fully cooperate with our defense of any claim. You shall not in any event settle any claim without our prior written consent. Our agreements or arrangements with DeFi service providers include indemnification clauses clarifying that we are not the end user of such products and bears no liability for users’ or third parties’ use of those services, except in cases of willful misconduct or gross negligence of us. Accordingly, when you use or access our Services, you acknowledge and agree that you are the end user of the underlying DeFi services provided through our Services, and you expressly agree to indemnify, defend, and hold harmless the Indemnified Parties from and against any and all losses, damages, liabilities, costs, and claims arising out of or in connection with your use of such underlying DeFi services, including any claims, demands, or actions brought by such DeFi service providers, wallet providers, or other users. # 11. Waiver of injunctive or other equitable relief To the maximum extent permitted by law, you agree that you shall not seek, and will not be permitted to obtain an injunction or other equitable relief of any kind, such as any court or other action that may interfere with or prevent the development or exploitation of the Services, Website, Interface or any other application, content, submission, product, service, or intellectual property owned, licensed, used or controlled by us. # 12. Termination; Cancellation These Terms are effective unless and until terminated by either you or us. You may terminate these Terms at any time by ceasing all access to the Services. If, in our sole judgment, you fail, or we suspect that you have failed, to comply with any term or provision of these Terms, we reserve the right to terminate these Terms, your access and use of the Services and deny you access to the Services. We further reserve the right to restrict, suspend, discontinue or terminate your access to the Services or to stop providing you with all or a part of the Services at any time and for no reason, including if we reasonably believe in our sole discretion that: (a) your use of the Services exposes us to risk or liability; (b) you are using the Services for unlawful or unauthorized purposes; (c) you have, or are reasonably suspected to have, breached these Terms; or (d) it is not commercially viable or practical to continue providing you with our Services. All of these are in addition to any other rights and remedies that may be available to us, whether in equity or at law, all of which we expressly reserve.  # 13. Modifications to the Services and Terms We reserve the right, in our sole discretion, to modify, update, or discontinue, in whole or in part, either temporarily or permanently, any portion of the Interface, any Services, any vaults made available through the Services, and/or any related policies, FAQs, or guidelines, at any time and without liability. We shall not be responsible or liable for any such modification, suspension, or discontinuance of the Interface, the Services, or any features made available through them. While we are under no obligation to do so, we will use commercially reasonable efforts to provide prior notice of any material changes. As a general principle, we will provide at least seven (7) days’ prior notice before any changes to these Terms take effect, and at least thirty (30) days’ prior notice in the case of material changes. If providing advance notice is not reasonably practicable, notice will be given as soon as possible by posting the revised Terms on the Service.  For the avoidance of doubt, posting the revised Terms on the Interface shall be deemed to constitute valid and sufficient notice of such changes. If we change or modify these Terms, we will revise the “last updated” date located at the top of these Terms, which you may refer to in order to confirm the current version. If you continue to participate in the Interface in any way after a change to these Terms, you will be deemed to have read, understood, and unconditionally consented and agreed to such changes. You should review these Terms and applicable policies and guidelines frequently to understand the terms and conditions that apply to your use of the Interface. If you do not agree to these Terms or revised Terms, you must cease using the Services immediately. # 14. Severability If any provision of the Terms is determined to be unlawful, void, or unenforceable, such provision shall nonetheless be enforceable to the fullest extent permitted by applicable law, and the unenforceable portion shall be deemed to be severed from these Terms. Such determination shall not affect the validity and enforceability of any other remaining provisions. # 15. Assignment These Terms may be assigned without your prior consent, including to our successors in the interest of any business associated with the Services provided by us. You may not assign or transfer any rights or obligations under these Terms without our prior written consent. # 16. Entire Agreement These Terms and any policies or operating rules posted by us on the Services (including the Privacy Policy) constitute the entire agreement and understanding between you and us and govern your use of the Services, superseding any prior or contemporaneous agreements, communications, and proposals, whether oral or written, between you and us (including any prior versions of these Terms). Any failure by us to exercise or enforce any right or provision of these Terms shall not constitute a waiver of such right or provision. # 17. Governing Law These Terms and any separate agreements whereby we provide you Services shall be governed by and construed in accordance with the laws of the British Virgin Islands.  # 18. Miscellaneous Our failure to enforce any right or provision of these Terms will not constitute a waiver of future enforcement of that right or provision. The waiver of any such right or provision will be effective only if in writing and signed by our duly authorized representative. Except as expressly set forth in these Terms, the exercise by either party of any of its remedies under these Terms will be without prejudice to its other remedies under these Terms or otherwise. If for any reason a court of competent jurisdiction finds any provision of these Terms invalid or unenforceable, that provision will be enforced to the maximum extent permissible and the other provisions of these Terms will remain in full force and effect. Throughout these Terms, the word “include” or “including” means “including, but not limited to”. Provisions that by their nature are intended to survive the termination of these Terms or your use of the Services will survive. # 19. Restricted Persons and Jurisdictions **a. Restricted Persons and Jurisdictions.** The Services are not intended for, and may not be used by, any person or entity that is: (i) located in, incorporated or organized in, or a resident of the United States of America or its territories, possessions, or protectorates; (ii) a “U.S. person” as defined under the U.S. Securities Act of 1933, as amended, or under applicable regulations of the U.S. Commodity Futures Trading Commission, or (iii) located in, incorporated or organized in, or a resident of any country or territory that is the subject of sanctions as described in Section 4(f)(vi) (collectively, “**Restricted Persons**”). For the avoidance of doubt, the United States is designated as a restricted jurisdiction for regulatory reasons. **b. User Representation.** By accessing or using the Services, you represent and warrant that you are not a Restricted Person and that you are not acting on behalf of any Restricted Person, and are otherwise eligible to use the Services under these Terms and applicable law and regulation. You further agree to comply with these requirements on an ongoing basis. If at any time you become a Restricted Person or otherwise cease to meet the eligibility requirements after accepting these Terms, you must immediately cease all use of the Services. **c. No Circumvention.** You shall not, directly or indirectly, access or use the Services in a manner intended to circumvent, evade, or bypass any restrictions, prohibitions, or eligibility requirements set forth in these Terms or imposed by applicable law, including, without limitation, restrictions applicable to Restricted Persons. Without limiting the foregoing, you agree not to access or use the Services through any virtual private network (VPN), proxy, or any other means designed to obscure your location or identity or to circumvent geographic restrictions. Any such access or attempt to access the Services constitutes a material breach of these Terms, and we expressly disclaim all liability for losses arising from such access or attempts involving circumvention tools. We reserve the right, in our sole discretion and without liability, to suspend, restrict, or terminate access to the Services, or take any other action we deem appropriate, where we reasonably suspect any attempt to circumvent these Terms or applicable legal or regulatory requirements. # 20. Contact Us You may contact us with questions about your use of the Services at [legal@superearn.io](mailto:legal@superearn.io). # DeFi Protocol Evaluation Framework Source: https://docs.superearn.io/en/risks/defi-protocol-evluation-framework Checklist-driven framework to assess DeFi protocols across technical, economic, and governance risk. While the categories below illustrate core evaluation angles, the assessment is not limited to these items. Additional dimensions may be considered based on the protocol’s structure, documentation, and risk profile. ## Area 1: Technical Security Evaluates how robust the code is and how well the protocol is designed to withstand external attacks. | Evaluation Item | Checklist / Points to Verify | Importance | | :- | :- | :- | | Audit | | Highest | | Bug Bounty Program | | High | | Track Record | | High | | Admin Key Structure | | High | | Dependencies | | Medium | | Dependency Graph Depth | | High | | Oracle Risk Profile | | High | | Code Disclosure & Documentation | | Medium | | Cross-chain Security (bridged tokens only) | | Highest | *** ## Area 2: Economic Security Evaluates whether the protocol’s yield sources, tokenomics, and risk mechanisms are sustainable and resilient even under extreme market conditions. | Evaluation Item | Checklist / Points to Verify | Importance | | :- | :- | :- | | Liquidity | | Highest | | Yield Source Consistency | | High | | TVL and Volatility | | High | | Liquidation / Deleveraging Mechanisms | | High | | Insurance / Safety Fund | | Medium | *** ## Area 3: Operational & Governance Trust Evaluates how trustworthy and transparent the operating team or DAO is. | Evaluation Item | Checklist / Points to Verify | Importance | | :- | :- | :- | | Team Structure & Reputation | | High | | Off-chain Operational Risk | | High | | Curator / Operator Concentration | | High | | Governance Timelock vs Response Window | | High | | Governance Transparency | | Medium | | VCs and Partners | | Low | *** ## Final Evaluation & Application Each checklist item can be scored quantitatively. Additionally, for “Highest Importance” items, a Pass/Fail criterion can be applied: if even one such item fails, the protocol is automatically disqualified. # Risks Source: https://docs.superearn.io/en/risks/risks Overview of SuperEarn’s key risk domains—protocol, counterparty, liquidity, cross-chain, stablecoin, governance—and how we mitigate them. ## Summary * SuperEarn orchestrates stablecoin yield across multiple on-chain and RWA strategies via non-custodial smart contracts, with optional cross-chain deployment. * The main risk domains are: protocol & smart-contract risk, counterparty & bad-debt risk, liquidity & redemption risk, cross-chain & oracle risk, stablecoin & market risk, governance/admin-key risk, and operational/user-side risk. * The system mitigates these risks through conservative contract design, whitelisted strategies, diversification caps, cooldown-based withdrawals, dedicated bridge accounting, and strict role-based access control. * Residual risks come from extreme market stress, cross-chain and stablecoin dependencies, and the fact that SuperEarn’s multi-strategy, multi-chain architecture has not yet been battle-tested across multiple full market cycles. *** ## Evaluation Framework We group SuperEarn’s risk surface into the following domains: 1. **Protocol & Smart-Contract Risk** 2. **Counterparty & Bad-Debt Risk** 3. **Liquidity & Redemption (“Bank Run”) Risk** 4. **Cross-Chain, Bridging & Oracle Risk** 5. **Stablecoin & Broader Market Risk** 6. **Governance, Admin Key & Operational Risk** 7. **Frontend, Wallet & User-Side Risk** For each domain we outline: * **Failure scenario** – how things can break * **Mitigations** – structural controls (design), monitoring, and incident response *** ## 1. Protocol & Smart-Contract Risk ### 1.1 Failure scenario * External protocols integrated by SuperEarn (e.g. Morpho vaults, other DeFi/RWA strategies) may suffer smart-contract exploits or economic attacks. * SuperEarn’s own vault, strategy, bridging, or accounting contracts could contain bugs or misconfigurations, enabling loss of funds or inconsistent accounting. ### 1.2 Mitigations **Design & preventive controls** * Conservative contract architecture with clear separation of concerns (vaults, strategies, bridge/accountant, token layer) to isolate failures where possible. * Separation of privileges and least-privilege role design so that no single role or contract can move user funds arbitrarily; allocations are restricted to **whitelisted strategies and routes**. * Independent external audits (with re-audits for critical upgrades) plus internal testing and review before deployment. * Secure infrastructure and key-management practices (multi-sig approvals for sensitive operations, hardened CI/CD, access control). **Monitoring & detection** * Continuous monitoring of vault event logs for abnormal losses (e.g. >1% per harvest), unusual mint/withdraw patterns, or accounting anomalies. * Real-time alerts on anomalous admin operations or infrastructure events feeding into a defined incident-response runbook. **Response** * Immediate pause of affected vaults / mint–redeem paths on suspected exploit or inflation. * Contract state snapshot, on-chain forensics, and role revocation where necessary. * Recompute NAV and exchange rates, reconcile logs, and only resume operations once corrected and communicated. *** ## 2. Counterparty & Bad-Debt Risk ### 2.1 Failure scenario * Borrower collateral collapses in underlying lending markets (e.g. Morpho), liquidations fail, and the pool accumulates bad debt, leading to principal loss. * Strategies embedding off-chain credit or structured products default or suffer enforcement issues, reducing underlying asset value. ### 2.2 Mitigations **Design & preventive controls** * Strategy selection and partner due diligence using an internal standardized framework that evaluates **technical, economic, and governance factors**. * Diversification and allocation caps so no single protocol, strategy, or sector exceeds predefined exposure limits. * Preference for transparent, on-chain collateralization or reputable RWA counterparties with strong audit history and documentation. **Monitoring & response** * Continuous monitoring of utilization, health factors, APY behavior, halted interest accrual, or frozen pools as default signals. * Mark affected strategies as degraded, pause new deposits, and, where necessary, pause harvests/redemptions while NAV is re-evaluated and exposure is withdrawn or reduced. * Coordinate with underlying protocol teams / risk curators (e.g. Morpho, Gauntlet, RWA issuers) to understand root cause and remediation paths. *** ## 3. Liquidity & Redemption Risk ### 3.1 Failure scenario * Underlying markets reach very high utilization or experience liquidity shocks, causing delayed withdrawals. * A panic-driven “bank run” where a large share of TVL (e.g. >20–30%) attempts to exit within a short window, exceeding available liquidity and stretching redemption queues. ### 3.2 Mitigations **Design & preventive controls** * User redemptions are funneled through a **CooldownVault** abstraction so exits are queued and smoothed rather than forced directly against underlying liquidity in a single block. * Internal thresholds for utilization and liquidity per strategy; ability to rebalance liquidity across strategies where possible. * Preference for underlying protocols with sufficient TVL, stable liquidity profiles, and clear redemption mechanics; limited exposure to long lock-ups and restrictive redemption cycles. * Staggered allocations across different liquidity profiles and internal liquidity buffers at the CooldownVault and/or reserve level. **Monitoring & response** * Real-time monitoring of utilization, available liquidity, TVL outflows, and redemption queue size. * Mark vaults as “Withdrawal Delay” in the UI if liquidity falls below thresholds and show estimated timelines. * For bank-run scenarios: extend cooldowns, cap per-interval redemptions, rebalance from other strategies or buffers where feasible, and communicate status and rationale clearly to users. *** ## 4. Cross-Chain, Bridging & Oracle Risk ### 4.1 Failure scenario * Bridge incidents result in inconsistent balances, stuck assets, or losses during cross-chain transfers. * Cross-chain messaging failures (via Chainlink CCIP / Runespear) cause delayed, duplicated, or replayed messages, leading to incorrect accounting. * Oracle failures or manipulation cause mispricing of collateral or EarnUSDT exchange rates. ### 4.2 Mitigations **Design & preventive controls** * Dedicated **BridgeAccountant** and **CrosschainAdapter** components track assets-in-transit and per-chain balances, with explicit reconciliation logic between origin and remote vaults. * Replay protection and nonce tracking for cross-chain messages. * Multiple price sources (e.g. Chainlink plus internal converters) with deviation checks before prices are applied. **Monitoring & response** * Continuous reconciliation of BridgeAccountant totals vs on-chain vault balances with alerts on mismatches. * Monitoring of message nonces and confirmation lags for delayed/duplicated messages. * Pause mint/redeem and yield reporting on significant oracle discrepancies; recompute NAV with corrected prices before reopening flows. * For bridge incidents: immediately pause bridge operations, reconcile with providers, isolate affected routes, and inform users that withdrawals may be temporarily delayed. *** ## 5. Stablecoin & Broader Market Risk ### 5.1 Failure scenario * Stablecoins used by the protocol (e.g. USDT) de-peg from USD, impairing asset value. * Broader market conditions (volatility spikes, liquidity shocks, shifts in on-chain yield levels) reduce returns or even generate losses despite conservative strategy design. ### 5.2 Mitigations * Diversified strategy and sector allocations across DeFi lending, delta-neutral, RWA, and other sectors (see portfolio docs) instead of single-venue exposure. * Dynamic portfolio optimization and rebalancing using quantitative metrics such as liquidity-adjusted Sharpe and risk-parity style frameworks so allocations adapt to changing market environments. * Continuous monitoring of USDT/USD and other key pairs via oracles and major CEX/DEX venues; depeg thresholds trigger NAV recalculation, disclosure, and potential strategy weight adjustments or pauses. *** ## 6. Governance, Admin Key, Operational Risk ### 6.1 Failure scenarios * Compromise of admin, governance, timelock, or multisig keys enables unauthorized configuration changes or fund movements. * Keeper failures, infrastructure outages, or gas spikes delay harvests, cooldown processing, or monitoring. ### 6.2 Mitigations **Governance & key management** * Role-based access control with multi-signature execution for sensitive functions and, where applicable, timelocks on critical actions. * Monitoring of on-chain governance proposals and events for integrated protocols that may affect SuperEarn contracts. **Operational infrastructure** * Redundant keeper infrastructure with heartbeat monitoring and fallback to manual operations when needed. * Dynamic scheduling and batching of on-chain actions when gas is elevated, to protect net yield. * On keeper or infra malfunction: alerts if no harvest/claim occurs within defined windows, switch to manual execution, and fix cron/RPC issues. *** ## 7. Frontend, Wallet & User-Side Security Risk ### 7.1 Failure scenario * Frontend/DNS/API compromise routes users to malicious interfaces or wrong contract addresses. * Users interact with spoofed websites or malicious frontends that mimic SuperEarn. * User’s self-custodial wallets are compromised (private key loss, phishing, device breach), leading to theft of assets. ### 7.2 Mitigations * DNS and deployment monitoring; strict CI/CD and secret management for frontend and backend infrastructure. * On suspected frontend/API compromise: redirect traffic to a verified portal, revoke exposed keys, validate all contract addresses against the integrity registry, and warn users via official channels. * Publish and maintain a list of official domains, documentation links, and contract addresses; encourage users to verify addresses directly on-chain. * Use well-reviewed wallet connection libraries and clearly display the target network and contract before transaction approval. * On suspected phishing or spoofing campaigns: broadcast warnings through official channels and documentation, and, where applicable, coordinate with ecosystem partners to flag malicious domains. *** ## Considerations Even with the above controls, several risk dimensions are inherently forward-looking: * **Scale effects**: SuperEarn’s multi-strategy, cross-chain architecture has not yet been tested at very large TVL (e.g. hundreds of millions or billions of dollars). Liquidity behavior, bridge throughput, and keeper performance at this scale will need to be validated in practice. * **RWA and delayed-liquidity integrations**: As RWA and other delayed-liquidity strategies grow as a share of the portfolio, governance and redemption mechanics for these assets become a larger part of overall system risk. * **Extreme and correlated event scenarios**: Simultaneous stress across DeFi protocols, stablecoins, and bridges (e.g. depeg + protocol exploit + bridge outage) remains a tail risk that cannot be fully eliminated and will be evaluated via continuous scenario analysis and updated runbooks. * **Empirical track record**: Over time, empirical performance across multiple market cycles, transparent incident reporting, and third-party evaluations will be the main drivers of long-term confidence in SuperEarn’s risk architecture. SuperEarn’s goal is not to remove risk, but to make risk **transparent, structured, and actively managed** so that users and integrators can make informed decisions about their exposure. # RWA Protocol Evaluation Framework Source: https://docs.superearn.io/en/risks/rwa-protocol-evluation-framework Checklist to evaluate RWA protocols across on-chain integrity and off-chain asset structure. While the categories below illustrate core evaluation angles, the assessment is not limited to these items. Additional dimensions may be considered based on the protocol’s structure, documentation, and risk profile. ## Area 1: On-chain Protocol Integrity *Evaluation at the dApp level, verifying the technical and operational completeness and reliability of software operating on the blockchain.* | Evaluation Item | Checklist & Key Points | Priority | | :- | :- | :- | | 1. Audit | | Highest | | 2. Bug Bounty Program | | Medium | | 3. Track Record | | High | | 4. Admin Key Structure | | Medium | | 5. Team Structure & Reputation | | High | | 6. Governance Transparency | | Medium | | 7. Cross-chain Security (bridged tokens only) | | Highest | | 8. NAV Oracle Attestation Profile | | High | *** ## Area 2: Off-chain Asset & Structural Integrity *Evaluation of the quality of underlying assets and the legal/operational stability of financial products that function in the real economy.* | Evaluation Item | Checklist & Key Points | Priority | | :- | :- | :- | | 1. Asset Class & Rating | | Highest | | 2. Portfolio Composition | | High | | 3. Asset Ownership Structure | | Highest | | 4. Regulatory Compliance | | High | | 5. Manager Track Record | | High | | 6. Transparency & Partners | | High | | 7. Redemption & Liquidity | | Highest | | 8. Risk Management Framework | | Medium | ## Final Evaluation & Application Each checklist item can be scored quantitatively. Additionally, for “Highest Importance” items, a Pass/Fail criterion can be applied: if even one such item fails, the protocol is automatically disqualified. # Audits Source: https://docs.superearn.io/en/security-transparency/audits SuperEarn's smart contracts have been audited by [Spearbit](https://spearbit.com), Cantina Managed, [CertiK](https://www.certik.com/en), and [HackenProof](https://hackenproof.com/). The full audit reports are available below.
Date Scope Security firm Report URL
21 July 2026 Crosschain and vault HackenProof [View report](https://github.com/superearn-io/superearn-audit-reports/blob/main/2026.07.21-hacken-bug-bounty.pdf)
21 May 2026 Crosschain and vault Spearbit / Cantina Managed [View report](https://github.com/superearn-io/superearn-audit-reports/blob/main/2026.05.21-spearbit.pdf)
28 April 2026 Vault and strategy CertiK [View report](https://github.com/superearn-io/superearn-audit-reports/blob/main/2026.04.28-certik.pdf)
7 April 2026 Pendle strategy and core CertiK [View report](https://github.com/superearn-io/superearn-audit-reports/blob/main/2026.04.07-certik.pdf)
19 February 2026 Core crosschain CertiK [View report](https://github.com/superearn-io/superearn-audit-reports/blob/main/2026.02.19-certik.pdf)
# Dashboard Source: https://docs.superearn.io/en/security-transparency/dashboard Live SuperEarn transparency dashboard The SuperEarn transparency dashboard is available at [superearn.io/dashboard](https://superearn.io/dashboard). Use it to review the latest protocol transparency updates.