{
  "schemaVersion": 1,
  "title": "Canonical iWRBTC SOV-collateral pool model inputs",
  "snapshot": {
    "block": 9162594,
    "blockHash": "0x64dfff5aabf7eddcce377f024842edcffe25a62f480a6e9b826dc562e85fd0c9",
    "dateUTC": "2026-08-18T17:41:35Z",
    "protocol": "0x5a0d867e0d70fcc6ade25c3f1b89d618b5b4eaa7",
    "priceFeeds": "0x437ac62769f386b2d238409b7f0a7596d36506e4"
  },
  "provenance": {
    "authoritativeState": "local Rootstock JSON-RPC eth_call at the pinned block",
    "sourceAudit": "sovryn_sov_collateral_cross_pool_audit_results.json",
    "sourceAuditSHA256": "1abecf79a4529f96addc167ec83151324a2626e4caec0cc1eb6da45ab5f893cc",
    "snapshotRecord": "snapshots.json",
    "snapshotRecordSHA256": "2165c5e5c3c44b6148f2fe9fc96653d6451aa1a764d7248c1ab05d1d4f22a60e"
  },
  "quoteMethod": {
    "protocolCall": "getSwapExpectedReturn(address,address,uint256)",
    "route": "0xefc78fc7d48b64958315949279ba181c2114abbd (SOV) -> 0x542fda317318ebf1d3deaf76e0b632741a7e677d (WRBTC)",
    "routeEvidence": "The transaction record preserves the protocol quote inputs and outputs. The same-block SOV/WRBTC converter reserves, equal weights, and fee reproduce every individual quote and the aggregate quote exactly.",
    "standaloneDefinition": "Each standalone quote sells only that loan collateral against the same pinned reserves; standalone quotes must not be summed as a simultaneous-exit estimate.",
    "aggregateDefinition": "The aggregate quote sells the sum of all 11 collateral balances in one pinned-block protocol quote.",
    "roundingModel": "For the equal-weight converter: gross = reserveOut - floor(reserveIn*reserveOut/(reserveIn+amountIn)); fee = ceil(gross*feePPM/1,000,000); quote = gross-fee. Integer operations use the smallest indivisible token units.",
    "limitation": "The quote is a pinned-block model using only block 9,162,594 state. Later execution will use then-current reserves, route, fee, loan, and pool conditions."
  },
  "amm": {
    "converter": "0xe76ea314b32fcf641c6c57f14110c5baa1e45ff4",
    "sourceToken": "0xefc78fc7d48b64958315949279ba181c2114abbd",
    "destinationToken": "0x542fda317318ebf1d3deaf76e0b632741a7e677d",
    "reserveSOV": "11425100.92509008735309745",
    "reserveWRBTC": "2.178614354763355403",
    "sourceReserveWeightPPM": 500000,
    "destinationReserveWeightPPM": 500000,
    "conversionFeePPM": 3500,
    "conversionFeePercent": "0.35",
    "calls": [
      {
        "function": "conversionFee()",
        "target": "0xe76ea314b32fcf641c6c57f14110c5baa1e45ff4",
        "returnData": "0x0000000000000000000000000000000000000000000000000000000000000dac"
      },
      {
        "function": "reserveBalance(address)",
        "argument": "0xefc78fc7d48b64958315949279ba181c2114abbd",
        "target": "0xe76ea314b32fcf641c6c57f14110c5baa1e45ff4",
        "returnData": "0x00000000000000000000000000000000000000000009735bf6523e6a5f9a9cea"
      },
      {
        "function": "reserveBalance(address)",
        "argument": "0x542fda317318ebf1d3deaf76e0b632741a7e677d",
        "target": "0xe76ea314b32fcf641c6c57f14110c5baa1e45ff4",
        "returnData": "0x0000000000000000000000000000000000000000000000001e3bfe367e3c950b"
      },
      {
        "function": "reserveWeight(address)",
        "argument": "0xefc78fc7d48b64958315949279ba181c2114abbd",
        "target": "0xe76ea314b32fcf641c6c57f14110c5baa1e45ff4",
        "returnData": "0x000000000000000000000000000000000000000000000000000000000007a120"
      },
      {
        "function": "reserveWeight(address)",
        "argument": "0x542fda317318ebf1d3deaf76e0b632741a7e677d",
        "target": "0xe76ea314b32fcf641c6c57f14110c5baa1e45ff4",
        "returnData": "0x000000000000000000000000000000000000000000000000000000000007a120"
      }
    ]
  },
  "pool": {
    "lender": "0xa9dcdc63eabb8a2b6f39d7ff9429d88340044a7a",
    "iTokenSymbol": "iWRBTC",
    "underlying": "0x542fda317318ebf1d3deaf76e0b632741a7e677d",
    "underlyingSymbol": "WRBTC",
    "lenderClaimsRBTC": "29.208944215588236932",
    "cashRBTC": "21.413381946167434067",
    "allActivePrincipalRBTC": "7.795157965673644666",
    "allActiveLoanCount": 14,
    "activeSOVLoanCount": 11,
    "unsafeSOVLoanCount": 11,
    "sovBackedPrincipalRBTC": "4.784844012619323859",
    "sovCollateralSOV": "5917378.230025721244852352",
    "oracleCollateralValueWRBTC": "1.135252899502900593",
    "oracleShortfallWRBTC": "3.649591113116423266",
    "aggregateAmmQuoteWRBTC": "0.740757082165377581",
    "aggregateAmmShortfallWRBTC": "4.044086930453946278",
    "poolWideAmmHaircutPercent": "13.845371816950839719"
  },
  "loans": [
    {
      "loanId": "0x025e12b1ef09ba962ea72b9cb591c6622aee9a7db83de361c1302501532b0a1a",
      "borrower": "0x1e1a4c2bfcc7addb851d079c42eb314e1b237489",
      "lender": "0xa9dcdc63eabb8a2b6f39d7ff9429d88340044a7a",
      "principalWRBTC": "0.000440774889157219",
      "collateralSOV": "109.770359634005107137",
      "maintenanceMarginPercent": "15",
      "currentMarginPercent": "0",
      "oracleCollateralValueWRBTC": "0.000021059515584393",
      "oracleShortfallWRBTC": "0.000419715373572826",
      "oracleCoveragePercent": "4.777839233233027695",
      "standaloneAmmQuoteWRBTC": "0.000020858281925321",
      "standaloneAmmShortfallWRBTC": "0.000419916607231898",
      "standaloneAmmCoveragePercent": "4.732184713426609590",
      "maxLiquidatableWRBTC": "0.000440774889157219",
      "maxSeizableSOV": "109.770359634005107137",
      "unsafe": true,
      "originalFourBorrower": false,
      "knownLinkedAddress": false,
      "creationDateUTC": "2024-09-27T20:04:29Z",
      "endDateUTC": "2024-10-25T20:04:29Z"
    },
    {
      "loanId": "0x39519639d1193c5f81ef63b9a8f08ef435851486508682557d5b0553c06553b0",
      "borrower": "0x4f3948816785e30c3378ed3b9f2de034e3ae2e97",
      "lender": "0xa9dcdc63eabb8a2b6f39d7ff9429d88340044a7a",
      "principalWRBTC": "0.255430503023481862",
      "collateralSOV": "1241139.036107767796673867",
      "maintenanceMarginPercent": "15",
      "currentMarginPercent": "0",
      "oracleCollateralValueWRBTC": "0.238113339160585322",
      "oracleShortfallWRBTC": "0.01731716386289654",
      "oracleCoveragePercent": "93.220400986602385575",
      "standaloneAmmQuoteWRBTC": "0.212730807007827391",
      "standaloneAmmShortfallWRBTC": "0.042699696015654471",
      "standaloneAmmCoveragePercent": "83.283243187392906933",
      "maxLiquidatableWRBTC": "0.255430503023481862",
      "maxSeizableSOV": "1241139.036107767796673867",
      "unsafe": true,
      "originalFourBorrower": true,
      "knownLinkedAddress": false,
      "creationDateUTC": "2026-02-17T01:27:27Z",
      "endDateUTC": "2026-09-15T13:27:27Z"
    },
    {
      "loanId": "0x3a5e42c0a954113d0d9723a6feae1bd718e2ee3de6526e644ed2644d9452bde2",
      "borrower": "0xb3a6ca1c3783e06a8c5f987954bf650ea368cb1c",
      "lender": "0xa9dcdc63eabb8a2b6f39d7ff9429d88340044a7a",
      "principalWRBTC": "0.000485337388897706",
      "collateralSOV": "149.792438042029113386",
      "maintenanceMarginPercent": "15",
      "currentMarginPercent": "0",
      "oracleCollateralValueWRBTC": "0.000028737777610352",
      "oracleShortfallWRBTC": "0.000456599611287354",
      "oracleCoveragePercent": "5.921195907783034647",
      "standaloneAmmQuoteWRBTC": "0.00002846307481107",
      "standaloneAmmShortfallWRBTC": "0.000456874314086636",
      "standaloneAmmCoveragePercent": "5.864595529249268152",
      "maxLiquidatableWRBTC": "0.000485337388897706",
      "maxSeizableSOV": "149.792438042029113386",
      "unsafe": true,
      "originalFourBorrower": false,
      "knownLinkedAddress": false,
      "creationDateUTC": "2024-09-21T16:01:34Z",
      "endDateUTC": "2024-12-14T16:01:34Z"
    },
    {
      "loanId": "0x78ac142f3e1b5a1ec8e2b6f0658455a8fedf35e647f0b598fbb4ae3f52c455ad",
      "borrower": "0x79b85fe8fdb4b78c601236b6ee46a8954e0ebaa6",
      "lender": "0xa9dcdc63eabb8a2b6f39d7ff9429d88340044a7a",
      "principalWRBTC": "0.000370474708824751",
      "collateralSOV": "56.105233359550423117",
      "maintenanceMarginPercent": "15",
      "currentMarginPercent": "0",
      "oracleCollateralValueWRBTC": "0.00001076382586557",
      "oracleShortfallWRBTC": "0.000359710882959181",
      "oracleCoveragePercent": "2.905414488269888846",
      "standaloneAmmQuoteWRBTC": "0.000010661022480257",
      "standaloneAmmShortfallWRBTC": "0.000359813686344494",
      "standaloneAmmCoveragePercent": "2.877665391539609745",
      "maxLiquidatableWRBTC": "0.000370474708824751",
      "maxSeizableSOV": "56.105233359550423117",
      "unsafe": true,
      "originalFourBorrower": false,
      "knownLinkedAddress": false,
      "creationDateUTC": "2024-02-26T16:11:43Z",
      "endDateUTC": "2024-09-24T04:11:43Z"
    },
    {
      "loanId": "0x7bd4dd1b477d9da2a05db6799bd64b57d551c8cfa08ce88a59855b7823dc284d",
      "borrower": "0x265b233cd0f219dbbfbeabf119548fc24377a19c",
      "lender": "0xa9dcdc63eabb8a2b6f39d7ff9429d88340044a7a",
      "principalWRBTC": "0.000432067826416669",
      "collateralSOV": "67.469023940085591807",
      "maintenanceMarginPercent": "15",
      "currentMarginPercent": "0",
      "oracleCollateralValueWRBTC": "0.000012943976551297",
      "oracleShortfallWRBTC": "0.000419123849865372",
      "oracleCoveragePercent": "2.995820507777023103",
      "standaloneAmmQuoteWRBTC": "0.000012820338183287",
      "standaloneAmmShortfallWRBTC": "0.000419247488233382",
      "standaloneAmmCoveragePercent": "2.967205007975663655",
      "maxLiquidatableWRBTC": "0.000432067826416669",
      "maxSeizableSOV": "67.469023940085591807",
      "unsafe": true,
      "originalFourBorrower": false,
      "knownLinkedAddress": false,
      "creationDateUTC": "2024-06-19T23:00:38Z",
      "endDateUTC": "2024-09-11T23:00:38Z"
    },
    {
      "loanId": "0x839c5e3e54c478d5b7b4f07914552f88c7fd974a067045ee20260bfed07b988f",
      "borrower": "0x8d515805a21743c2f2f33aa12a420907cbbe0fb7",
      "lender": "0xa9dcdc63eabb8a2b6f39d7ff9429d88340044a7a",
      "principalWRBTC": "3.666582472329648522",
      "collateralSOV": "613652.309325335212141695",
      "maintenanceMarginPercent": "15",
      "currentMarginPercent": "0",
      "oracleCollateralValueWRBTC": "0.117729598543037445",
      "oracleShortfallWRBTC": "3.548852873786611077",
      "oracleCoveragePercent": "3.210880961535694140",
      "standaloneAmmQuoteWRBTC": "0.110662002363054014",
      "standaloneAmmShortfallWRBTC": "3.555920469966594508",
      "standaloneAmmCoveragePercent": "3.018123912340156224",
      "maxLiquidatableWRBTC": "3.666582472329648522",
      "maxSeizableSOV": "613652.309325335212141695",
      "unsafe": true,
      "originalFourBorrower": false,
      "knownLinkedAddress": false,
      "creationDateUTC": "2022-02-03T21:11:28Z",
      "endDateUTC": "2024-11-07T21:11:28Z"
    },
    {
      "loanId": "0xa499ced36d0dbba29d8fb6198e2bd2bc39808f7f87026b3c40a566e7b6f8d45a",
      "borrower": "0xb493b1fb97f4cb2a1ea43a9ffed201e797a2c155",
      "lender": "0xa9dcdc63eabb8a2b6f39d7ff9429d88340044a7a",
      "principalWRBTC": "0.180540159585676198",
      "collateralSOV": "880790.599511122456604566",
      "maintenanceMarginPercent": "15",
      "currentMarginPercent": "0",
      "oracleCollateralValueWRBTC": "0.168980254950772935",
      "oracleShortfallWRBTC": "0.011559904634903263",
      "oracleCoveragePercent": "93.597045299266252807",
      "standaloneAmmQuoteWRBTC": "0.155387919612333473",
      "standaloneAmmShortfallWRBTC": "0.025152239973342725",
      "standaloneAmmCoveragePercent": "86.068340677739010763",
      "maxLiquidatableWRBTC": "0.180540159585676198",
      "maxSeizableSOV": "880790.599511122456604566",
      "unsafe": true,
      "originalFourBorrower": true,
      "knownLinkedAddress": true,
      "creationDateUTC": "2026-02-17T01:31:52Z",
      "endDateUTC": "2026-09-15T13:31:52Z"
    },
    {
      "loanId": "0xbecb523d8d0b64e2bc3bbc8bb0393ae6769235de8e597b2a95fcd4adec83b474",
      "borrower": "0x50110ef4e85a6a2e00a37d2eb30062000df07962",
      "lender": "0xa9dcdc63eabb8a2b6f39d7ff9429d88340044a7a",
      "principalWRBTC": "0.29295559763224704",
      "collateralSOV": "1373367.101117685198374234",
      "maintenanceMarginPercent": "15",
      "currentMarginPercent": "0",
      "oracleCollateralValueWRBTC": "0.263481380269817285",
      "oracleShortfallWRBTC": "0.029474217362429755",
      "oracleCoveragePercent": "89.939015468334104535",
      "standaloneAmmQuoteWRBTC": "0.232962659614127384",
      "standaloneAmmShortfallWRBTC": "0.059992938018119656",
      "standaloneAmmCoveragePercent": "79.521491139612912091",
      "maxLiquidatableWRBTC": "0.29295559763224704",
      "maxSeizableSOV": "1373367.101117685198374234",
      "unsafe": true,
      "originalFourBorrower": true,
      "knownLinkedAddress": false,
      "creationDateUTC": "2026-02-17T01:34:59Z",
      "endDateUTC": "2026-09-15T13:34:59Z"
    },
    {
      "loanId": "0xc95376a523540b7375fabd693a1175345242691aa5c844ccc21fc99943dc4c3a",
      "borrower": "0x9ae828decd99ac5b08ffe90b359c3ff186d4a223",
      "lender": "0xa9dcdc63eabb8a2b6f39d7ff9429d88340044a7a",
      "principalWRBTC": "0.000533190148143592",
      "collateralSOV": "194.771632740339689909",
      "maintenanceMarginPercent": "15",
      "currentMarginPercent": "0",
      "oracleCollateralValueWRBTC": "0.00003736706565205",
      "oracleShortfallWRBTC": "0.000495823082491542",
      "oracleCoveragePercent": "7.008206318543375708",
      "standaloneAmmQuoteWRBTC": "0.000037009730273119",
      "standaloneAmmShortfallWRBTC": "0.000496180417870473",
      "standaloneAmmCoveragePercent": "6.941187942420873352",
      "maxLiquidatableWRBTC": "0.000533190148143592",
      "maxSeizableSOV": "194.771632740339689909",
      "unsafe": true,
      "originalFourBorrower": false,
      "knownLinkedAddress": false,
      "creationDateUTC": "2024-09-28T13:51:53Z",
      "endDateUTC": "2025-01-18T13:51:53Z"
    },
    {
      "loanId": "0xeb0bb06df172e7961f8fafa77294a44b4ae0abf1a8702b08811fab9436949ebf",
      "borrower": "0x91ab7f5df554566a8cdd2cfc722d0aa031021684",
      "lender": "0xa9dcdc63eabb8a2b6f39d7ff9429d88340044a7a",
      "principalWRBTC": "0.386160114047406006",
      "collateralSOV": "1807617.844680486387034646",
      "maintenanceMarginPercent": "15",
      "currentMarginPercent": "0",
      "oracleCollateralValueWRBTC": "0.346792670604357507",
      "oracleShortfallWRBTC": "0.039367443443048499",
      "oracleCoveragePercent": "89.805409204375869157",
      "standaloneAmmQuoteWRBTC": "0.296561794668151066",
      "standaloneAmmShortfallWRBTC": "0.08959831937925494",
      "standaloneAmmCoveragePercent": "76.797624581119835562",
      "maxLiquidatableWRBTC": "0.386160114047406006",
      "maxSeizableSOV": "1807617.844680486387034646",
      "unsafe": true,
      "originalFourBorrower": true,
      "knownLinkedAddress": false,
      "creationDateUTC": "2026-02-17T01:19:47Z",
      "endDateUTC": "2026-09-15T13:19:47Z"
    },
    {
      "loanId": "0xeff0550dcd9cc9b69b71fd10edc73df03cf934a78108ed71b4f038aebf0b46b4",
      "borrower": "0xb49f4a3edc04ee7052ec3b97c5895624b0087d39",
      "lender": "0xa9dcdc63eabb8a2b6f39d7ff9429d88340044a7a",
      "principalWRBTC": "0.000913321039424294",
      "collateralSOV": "233.430595608184097988",
      "maintenanceMarginPercent": "15",
      "currentMarginPercent": "0",
      "oracleCollateralValueWRBTC": "0.000044783813066437",
      "oracleShortfallWRBTC": "0.000868537226357857",
      "oracleCoveragePercent": "4.903403199237169268",
      "standaloneAmmQuoteWRBTC": "0.000044355402414831",
      "standaloneAmmShortfallWRBTC": "0.000868965637009463",
      "standaloneAmmCoveragePercent": "4.856496292124195512",
      "maxLiquidatableWRBTC": "0.000913321039424294",
      "maxSeizableSOV": "233.430595608184097988",
      "unsafe": true,
      "originalFourBorrower": false,
      "knownLinkedAddress": false,
      "creationDateUTC": "2024-09-21T08:21:48Z",
      "endDateUTC": "2024-12-14T08:21:48Z"
    }
  ]
}
