{ "moveToParentClass": { "Comet": "Comet", "MAINNET_USDC": "mainnet_usdc", "COMP": "COMP", "WBTC": "WBTC", "WETH": "WETH", "UNI": "UNI", "LINK": "LINK", "USDC": "USDC", "MAINNET_WETH": "mainnet_weth", "cbETH": "cbETH", "wstETH": "wstETH", "POLYGON_USDC": "polygon_usdc", "WMATIC": "WMATIC", "MaticX": "MaticX", "ARBITRUM_USDC": "arbitrum_usdc", "ARB": "ARB", "GMX": "GMX", "BASE_USDBC": "base_usdbc", "USDbC": "USDbC", "BASE_WETH": "base_weth", "GOERLI_USDC": "goerli_usdc", "GOERLI_WETH": "goerli_weth", "MUMBAI_USDC": "mumbai_usdc", "DAI": "DAI", "GOERLI_ARBITRUM_USDC": "goerli_arbitrum_usdc", "GOERLI_OPTIMISM_USDC": "goerli_optimism_usdc", "OP": "OP", "GOERLI_BASE_USDC": "goerli_base_usdc", "GOERLI_BASE_WETH": "goerli_base_weth", "FUJI_USDC": "fuji_usdc", "WBTC_e": "WBTC_e", "WAVAX": "WAVAX" }, "address": { "mainnet_usdc": { "COMP": { "contract": "0xc00e94Cb662C3520282E6f5717214004A7f26888", "priceFeed": "0xdbd020CAeF83eFd542f4De03e3cF0C28A4428bd5" }, "WBTC": { "contract": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599", "priceFeed": "0xF4030086522a5bEEa4988F8cA5B36dbC97BeE88c" }, "WETH": { "contract": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2", "priceFeed": "0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419" }, "UNI": { "contract": "0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984", "priceFeed": "0x553303d460EE0afB37EdFf9bE42922D8FF63220e" }, "LINK": { "contract": "0x514910771AF9Ca656af840dff83E8264EcF986CA", "priceFeed": "0x2c1d072e956AFFC0D435Cb7AC38EF18d24d9127c" }, "USDC": { "contract": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", "priceFeed": "0x8fFfFfd4AfB6115b954Bd326cbe7B4BA576818f6" }, "Comet": "0xc3d688B66703497DAA19211EEdff47f25384cdc3" }, "mainnet_weth": { "cbETH": { "contract": "0xBe9895146f7AF43049ca1c1AE358B0541Ea49704", "priceFeed": "0x23a982b74a3236A5F2297856d4391B2edBBB5549" }, "wstETH": { "contract": "0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0", "priceFeed": "0x4F67e4d9BD67eFa28236013288737D39AeF48e79" }, "WETH": { "contract": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2", "priceFeed": "0xD72ac1bCE9177CFe7aEb5d0516a38c88a64cE0AB" }, "Comet": "0xA17581A9E3356d9A858b789D68B4d866e593aE94" }, "polygon_usdc": { "WETH": { "contract": "0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619", "priceFeed": "0xF9680D99D6C9589e2a93a78A04A279e509205945" }, "WBTC": { "contract": "0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6", "priceFeed": "0xDE31F8bFBD8c84b5360CFACCa3539B938dd78ae6" }, "WMATIC": { "contract": "0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270", "priceFeed": "0xAB594600376Ec9fD91F8e885dADF0CE036862dE0" }, "MaticX": { "contract": "0xfa68FB4628DFF1028CFEc22b4162FCcd0d45efb6", "priceFeed": "0x5d37E4b374E6907de8Fc7fb33EE3b0af403C7403" }, "USDC": { "contract": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174", "priceFeed": "0xfE4A8cc5b5B2366C1B58Bea3858e81843581b2F7" }, "Comet": "0xF25212E676D1F7F89Cd72fFEe66158f541246445" }, "arbitrum_usdc": { "ARB": { "contract": "0x912CE59144191C1204E64559FE8253a0e49E6548", "priceFeed": "0xb2A824043730FE05F3DA2efaFa1CBbe83fa548D6" }, "GMX": { "contract": "0xfc5A1A6EB076a2C7aD06eD22C90d7E710E35ad0a", "priceFeed": "0xDB98056FecFff59D032aB628337A4887110df3dB" }, "WETH": { "contract": "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1", "priceFeed": "0x639Fe6ab55C921f74e7fac1ee960C0B6293ba612" }, "WBTC": { "contract": "0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f", "priceFeed": "0xd0C7101eACbB49F3deCcCc166d238410D6D46d57" }, "USDC": { "contract": "0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8", "priceFeed": "0x50834F3163758fcC1Df9973b6e91f0F0F0434aD3" }, "Comet": "0xA5EDBDD9646f8dFF606d7448e414884C7d905dCA" }, "base_usdbc": { "cbETH": { "contract": "0x2Ae3F1Ec7F1F5012CFEab0185bfc7aa3cf0DEc22", "priceFeed": "0x4687670f5f01716fAA382E2356C103BaD776752C" }, "WETH": { "contract": "0x4200000000000000000000000000000000000006", "priceFeed": "0x71041dddad3595F9CEd3DcCFBe3D1F4b0a16Bb70" }, "USDbC": { "contract": "0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA", "priceFeed": "0x7e860098F58bBFC8648a4311b374B1D669a2bc6B" }, "Comet": "0x9c4ec768c28520B50860ea7a15bd7213a9fF58bf" }, "base_weth": { "cbETH": { "contract": "0x2Ae3F1Ec7F1F5012CFEab0185bfc7aa3cf0DEc22", "priceFeed": "0x59e242D352ae13166B4987aE5c990C232f7f7CD6" }, "WETH": { "contract": "0x4200000000000000000000000000000000000006", "priceFeed": "0x9f485610E26B9c0140439f88Dc0C7742903Bd1CF" }, "Comet": "0x46e6b214b524310239732D51387075E0e70970bf" }, "goerli_usdc": { "COMP": { "contract": "0x3587b2F7E0E2D6166d6C14230e7Fe160252B0ba4", "priceFeed": "0x54a06047087927D9B0fb21c1cf0ebd792764dDB8" }, "WBTC": { "contract": "0xAAD4992D949f9214458594dF92B44165Fb84dC19", "priceFeed": "0xA39434A63A52E749F02807ae27335515BA4b07F7" }, "WETH": { "contract": "0x42a71137C09AE83D8d05974960fd607d40033499", "priceFeed": "0xD4a33860578De61DBAbDc8BFdb98FD742fA7028e" }, "LINK": { "contract": "0xaf95Ff5fB592646D86BF240B3CaE0903b6E4dd38", "priceFeed": "0x48731cF7e84dc94C5f84577882c14Be11a5B7456" }, "USDC": { "contract": "0x07865c6E87B9F70255377e024ace6630C1Eaa37F", "priceFeed": "0xAb5c49580294Aff77670F839ea425f5b78ab3Ae7" }, "Comet": "0x3EE77595A8459e93C2888b13aDB354017B198188" }, "goerli_weth": { "cbETH": { "contract": "0x2459f06a13ea0997d623224F362519bE71507258", "priceFeed": "0xb79BbFE63309E036dDFa1BD44513d956BeE55c2a" }, "wstETH": { "contract": "0x4942BBAf745f235e525BAff49D31450810EDed5b", "priceFeed": "0x5608d174a3B828abb4eE8b9B6a6433f2346c3E54" }, "WETH": { "contract": "0x42a71137C09AE83D8d05974960fd607d40033499", "priceFeed": "0x1eb99992A2e3456ed2c8C6eD87E4c029bC679FeF" }, "Comet": "0x9A539EEc489AAA03D588212a164d0abdB5F08F5F" }, "mumbai_usdc": { "DAI": { "contract": "0x4DAFE12E1293D889221B1980672FE260Ac9dDd28", "priceFeed": "0x0FCAa9c899EC5A91eBc3D5Dd869De833b06fB046" }, "WETH": { "contract": "0xE1e67212B1A4BF629Bdf828e08A3745307537ccE", "priceFeed": "0x0715A7794a1dc8e42615F059dD6e406A6594651A" }, "WBTC": { "contract": "0x4B5A0F4E00bC0d6F16A593Cae27338972614E713", "priceFeed": "0x007A22900a3B98143368Bd5906f8E17e9867581b" }, "WMATIC": { "contract": "0xfec23a9E1DBA805ADCF55E0338Bf5E03488FC7Fb", "priceFeed": "0xd0D5e3DB44DE05E9F294BB0a3bEEaF030DE24Ada" }, "USDC": { "contract": "0xDB3cB4f2688daAB3BFf59C24cC42D4B6285828e9", "priceFeed": "0x572dDec9087154dC5dfBB1546Bb62713147e0Ab0" }, "Comet": "0xF09F0369aB0a875254fB565E52226c88f10Bc839" }, "goerli_arbitrum_usdc": { "LINK": { "contract": "0xbb7303602bE1B9149B097aAFb094ffce1860E532", "priceFeed": "0xd28Ba6CA3bB72bF371b80a2a0a33cBcf9073C954" }, "WETH": { "contract": "0xe39Ab88f8A4777030A534146A9Ca3B52bd5D43A3", "priceFeed": "0x62CAe0FA2da220f43a51F86Db2EDb36DcA9A5A08" }, "WBTC": { "contract": "0x22d5e2dE578677791f6c90e0110Ec629be9d5Fb5", "priceFeed": "0x6550bc2301936011c1334555e62A87705A81C12C" }, "USDC": { "contract": "0x8FB1E3fC51F3b789dED7557E680551d93Ea9d892", "priceFeed": "0x1692Bdd32F31b831caAc1b0c9fAF68613682813b" }, "Comet": "0x1d573274E19174260c5aCE3f2251598959d24456" }, "goerli_optimism_usdc": { "OP": { "contract": "0x32719c5e2e35909C8f42167315445e349e749E05", "priceFeed": "0xE882831E58eec48B7f304482771F67e6b846733D" }, "WETH": { "contract": "0x4200000000000000000000000000000000000006", "priceFeed": "0x57241A37733983F97C4Ab06448F244A1E0Ca0ba8" }, "WBTC": { "contract": "0xe0a592353e81a94Db6E3226fD4A99F881751776a", "priceFeed": "0xC16679B963CeB52089aD2d95312A5b85E318e9d2" }, "USDC": { "contract": "0x7E07E15D2a87A24492740D16f5bdF58c16db0c4E", "priceFeed": "0x2636B223652d388721A0ED2861792DA9062D8C73" }, "Comet": "0xb8F2f9C84ceD7bBCcc1Db6FB7bb1F19A9a4adfF4" }, "goerli_base_usdc": { "cbETH": { "contract": "0x7c6b91D9Be155A6Db01f749217d76fF02A7227F2", "priceFeed": "0xcD2A119bD1F7DF95d706DE6F2057fDD45A0503E2" }, "WETH": { "contract": "0x4200000000000000000000000000000000000006", "priceFeed": "0xcD2A119bD1F7DF95d706DE6F2057fDD45A0503E2" }, "USDC": { "contract": "0x31D3A7711a74b4Ec970F50c3eaf1ee47ba803A95", "priceFeed": "0xb85765935B4d9Ab6f841c9a00690Da5F34368bc0" }, "Comet": "0xe78Fc55c884704F9485EDa042fb91BfE16fD55c1" }, "goerli_base_weth": { "cbETH": { "contract": "0x7c6b91D9Be155A6Db01f749217d76fF02A7227F2", "priceFeed": "0x5B0156A396BdFc2eb814D945Ac99C40A0F8592B2" }, "WETH": { "contract": "0x4200000000000000000000000000000000000006", "priceFeed": "0x22738A450dDA849BedDFcA219739a5d72dfB3Ec6" }, "Comet": "0xED94f3052638620fE226a9661ead6a39C2a265bE" }, "fuji_usdc": { "WBTC_e": { "contract": "0xfa78400e01Fc9da830Cb2F13B3e7E18F813414Ff", "priceFeed": "0x31CF013A08c6Ac228C94551d535d5BAfE19c602a" }, "WAVAX": { "contract": "0xA2c25E48269e3f89A60b2CC8e02AAfEeB3BAb761", "priceFeed": "0x5498BB86BC934c8D34FDA08E81D444153d0D06aD" }, "USDC": { "contract": "0x4fed3d02D095f7D92AF161311fA6Ef23dc8dA040", "priceFeed": "0x7898AcCC83587C3C55116c5230C17a6Cd9C71bad" }, "Comet": "0x59BF4753899C20EA152dEefc6f6A14B2a5CC3021" } }, "decimals": { "mainnet_usdc": { "COMP": 18, "WBTC": 8, "WETH": 18, "UNI": 18, "LINK": 18, "USDC": 6 }, "mainnet_weth": { "cbETH": 18, "wstETH": 18, "WETH": 18 }, "polygon_usdc": { "WETH": 18, "WBTC": 8, "WMATIC": 18, "MaticX": 18, "USDC": 6 }, "arbitrum_usdc": { "ARB": 18, "GMX": 18, "WETH": 18, "WBTC": 8, "USDC": 6 }, "base_usdbc": { "cbETH": 18, "WETH": 18, "USDbC": 6 }, "base_weth": { "cbETH": 18, "WETH": 18 }, "goerli_usdc": { "COMP": 18, "WBTC": 8, "WETH": 18, "LINK": 18, "USDC": 6 }, "goerli_weth": { "cbETH": 18, "wstETH": 18, "WETH": 18 }, "mumbai_usdc": { "DAI": 18, "WETH": 18, "WBTC": 8, "WMATIC": 18, "USDC": 6 }, "goerli_arbitrum_usdc": { "LINK": 18, "WETH": 18, "WBTC": 8, "USDC": 6 }, "goerli_optimism_usdc": { "OP": 18, "WETH": 18, "WBTC": 8, "USDC": 6 }, "goerli_base_usdc": { "cbETH": 18, "WETH": 18, "USDC": 6 }, "goerli_base_weth": { "cbETH": 18, "WETH": 18 }, "fuji_usdc": { "WBTC_e": 8, "WAVAX": 18, "USDC": 6 } }, "collaterals": { "mainnet_usdc": ["COMP", "WBTC", "WETH", "UNI", "LINK", "USDC"], "mainnet_weth": ["cbETH", "wstETH", "WETH"], "polygon_usdc": ["WETH", "WBTC", "WMATIC", "MaticX", "USDC"], "arbitrum_usdc": ["ARB", "GMX", "WETH", "WBTC", "USDC"], "base_usdbc": ["cbETH", "WETH", "USDbC"], "base_weth": ["cbETH", "WETH"], "goerli_usdc": ["COMP", "WBTC", "WETH", "LINK", "USDC"], "goerli_weth": ["cbETH", "wstETH", "WETH"], "mumbai_usdc": ["DAI", "WETH", "WBTC", "WMATIC", "USDC"], "goerli_arbitrum_usdc": ["LINK", "WETH", "WBTC", "USDC"], "goerli_optimism_usdc": ["OP", "WETH", "WBTC", "USDC"], "goerli_base_usdc": ["cbETH", "WETH", "USDC"], "goerli_base_weth": ["cbETH", "WETH"], "fuji_usdc": ["WBTC_e", "WAVAX", "USDC"] }, "base": { "mainnet_usdc": "USDC", "mainnet_weth": "WETH", "polygon_usdc": "USDC", "arbitrum_usdc": "USDC", "base_usdbc": "USDbC", "base_weth": "WETH", "goerli_usdc": "USDC", "goerli_weth": "WETH", "mumbai_usdc": "USDC", "goerli_arbitrum_usdc": "USDC", "goerli_optimism_usdc": "USDC", "goerli_base_usdc": "USDC", "goerli_base_weth": "WETH", "fuji_usdc": "USDC" }, "instanceNetworkMap": { "mainnet_usdc": "mainnet", "mainnet_weth": "mainnet", "polygon_usdc": "matic", "arbitrum_usdc": "arbitrum", "base_usdbc": "base", "base_weth": "base", "goerli_usdc": "goerli", "goerli_weth": "goerli", "mumbai_usdc": "maticmum", "goerli_arbitrum_usdc": "optimism-arbitrum", "goerli_optimism_usdc": "optimism-goerli", "goerli_base_usdc": "base-goerli", "goerli_base_weth": "base-goerli", "fuji_usdc": "ava-fuji" }, "abi": [{ "inputs": [], "name": "Absurd", "type": "error" }, { "inputs": [], "name": "AlreadyInitialized", "type": "error" }, { "inputs": [], "name": "BadAmount", "type": "error" }, { "inputs": [], "name": "BadAsset", "type": "error" }, { "inputs": [], "name": "BadDecimals", "type": "error" }, { "inputs": [], "name": "BadDiscount", "type": "error" }, { "inputs": [], "name": "BadMinimum", "type": "error" }, { "inputs": [], "name": "BadNonce", "type": "error" }, { "inputs": [], "name": "BadPrice", "type": "error" }, { "inputs": [], "name": "BadSignatory", "type": "error" }, { "inputs": [], "name": "BorrowCFTooLarge", "type": "error" }, { "inputs": [], "name": "BorrowTooSmall", "type": "error" }, { "inputs": [], "name": "InsufficientReserves", "type": "error" }, { "inputs": [], "name": "InvalidInt104", "type": "error" }, { "inputs": [], "name": "InvalidInt256", "type": "error" }, { "inputs": [], "name": "InvalidUInt104", "type": "error" }, { "inputs": [], "name": "InvalidUInt128", "type": "error" }, { "inputs": [], "name": "InvalidUInt64", "type": "error" }, { "inputs": [], "name": "InvalidValueS", "type": "error" }, { "inputs": [], "name": "InvalidValueV", "type": "error" }, { "inputs": [], "name": "LiquidateCFTooLarge", "type": "error" }, { "inputs": [], "name": "NegativeNumber", "type": "error" }, { "inputs": [], "name": "NoSelfTransfer", "type": "error" }, { "inputs": [], "name": "NotCollateralized", "type": "error" }, { "inputs": [], "name": "NotForSale", "type": "error" }, { "inputs": [], "name": "NotLiquidatable", "type": "error" }, { "inputs": [], "name": "Paused", "type": "error" }, { "inputs": [], "name": "SignatureExpired", "type": "error" }, { "inputs": [], "name": "SupplyCapExceeded", "type": "error" }, { "inputs": [], "name": "TimestampTooLarge", "type": "error" }, { "inputs": [], "name": "TooManyAssets", "type": "error" }, { "inputs": [], "name": "TooMuchSlippage", "type": "error" }, { "inputs": [], "name": "TransferInFailed", "type": "error" }, { "inputs": [], "name": "TransferOutFailed", "type": "error" }, { "inputs": [], "name": "Unauthorized", "type": "error" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "absorber", "type": "address" }, { "indexed": true, "internalType": "address", "name": "borrower", "type": "address" }, { "indexed": true, "internalType": "address", "name": "asset", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "collateralAbsorbed", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "usdValue", "type": "uint256" }], "name": "AbsorbCollateral", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "absorber", "type": "address" }, { "indexed": true, "internalType": "address", "name": "borrower", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "basePaidOut", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "usdValue", "type": "uint256" }], "name": "AbsorbDebt", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "spender", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "Approval", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "buyer", "type": "address" }, { "indexed": true, "internalType": "address", "name": "asset", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "baseAmount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "collateralAmount", "type": "uint256" }], "name": "BuyCollateral", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "bool", "name": "supplyPaused", "type": "bool" }, { "indexed": false, "internalType": "bool", "name": "transferPaused", "type": "bool" }, { "indexed": false, "internalType": "bool", "name": "withdrawPaused", "type": "bool" }, { "indexed": false, "internalType": "bool", "name": "absorbPaused", "type": "bool" }, { "indexed": false, "internalType": "bool", "name": "buyPaused", "type": "bool" }], "name": "PauseAction", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "dst", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "Supply", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "dst", "type": "address" }, { "indexed": true, "internalType": "address", "name": "asset", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "SupplyCollateral", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "Transfer", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": true, "internalType": "address", "name": "asset", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "TransferCollateral", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "src", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "Withdraw", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "src", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": true, "internalType": "address", "name": "asset", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "WithdrawCollateral", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "WithdrawReserves", "type": "event" }, { "inputs": [{ "internalType": "address", "name": "absorber", "type": "address" }, { "internalType": "address[]", "name": "accounts", "type": "address[]" }], "name": "absorb", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "account", "type": "address" }], "name": "accrueAccount", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "manager", "type": "address" }, { "internalType": "bool", "name": "isAllowed", "type": "bool" }], "name": "allow", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "manager", "type": "address" }, { "internalType": "bool", "name": "isAllowed", "type": "bool" }, { "internalType": "uint256", "name": "nonce", "type": "uint256" }, { "internalType": "uint256", "name": "expiry", "type": "uint256" }, { "internalType": "uint8", "name": "v", "type": "uint8" }, { "internalType": "bytes32", "name": "r", "type": "bytes32" }, { "internalType": "bytes32", "name": "s", "type": "bytes32" }], "name": "allowBySig", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" }], "name": "allowance", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "approve", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "manager", "type": "address" }, { "internalType": "address", "name": "asset", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "approveThis", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "owner", "type": "address" }], "name": "balanceOf", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "baseAccrualScale", "outputs": [{ "internalType": "uint64", "name": "", "type": "uint64" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "baseBorrowMin", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "baseIndexScale", "outputs": [{ "internalType": "uint64", "name": "", "type": "uint64" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "baseMinForRewards", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "baseScale", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "baseToken", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "baseTokenPriceFeed", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "account", "type": "address" }], "name": "baseTrackingAccrued", "outputs": [{ "internalType": "uint64", "name": "", "type": "uint64" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "baseTrackingBorrowSpeed", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "baseTrackingSupplySpeed", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "account", "type": "address" }], "name": "borrowBalanceOf", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "borrowKink", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "borrowPerSecondInterestRateBase", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "borrowPerSecondInterestRateSlopeHigh", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "borrowPerSecondInterestRateSlopeLow", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "asset", "type": "address" }, { "internalType": "uint256", "name": "minAmount", "type": "uint256" }, { "internalType": "uint256", "name": "baseAmount", "type": "uint256" }, { "internalType": "address", "name": "recipient", "type": "address" }], "name": "buyCollateral", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "account", "type": "address" }, { "internalType": "address", "name": "asset", "type": "address" }], "name": "collateralBalanceOf", "outputs": [{ "internalType": "uint128", "name": "", "type": "uint128" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "decimals", "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "extensionDelegate", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "factorScale", "outputs": [{ "internalType": "uint64", "name": "", "type": "uint64" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint8", "name": "i", "type": "uint8" }], "name": "getAssetInfo", "outputs": [{ "components": [{ "internalType": "uint8", "name": "offset", "type": "uint8" }, { "internalType": "address", "name": "asset", "type": "address" }, { "internalType": "address", "name": "priceFeed", "type": "address" }, { "internalType": "uint64", "name": "scale", "type": "uint64" }, { "internalType": "uint64", "name": "borrowCollateralFactor", "type": "uint64" }, { "internalType": "uint64", "name": "liquidateCollateralFactor", "type": "uint64" }, { "internalType": "uint64", "name": "liquidationFactor", "type": "uint64" }, { "internalType": "uint128", "name": "supplyCap", "type": "uint128" }], "internalType": "struct CometCore.AssetInfo", "name": "", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "asset", "type": "address" }], "name": "getAssetInfoByAddress", "outputs": [{ "components": [{ "internalType": "uint8", "name": "offset", "type": "uint8" }, { "internalType": "address", "name": "asset", "type": "address" }, { "internalType": "address", "name": "priceFeed", "type": "address" }, { "internalType": "uint64", "name": "scale", "type": "uint64" }, { "internalType": "uint64", "name": "borrowCollateralFactor", "type": "uint64" }, { "internalType": "uint64", "name": "liquidateCollateralFactor", "type": "uint64" }, { "internalType": "uint64", "name": "liquidationFactor", "type": "uint64" }, { "internalType": "uint128", "name": "supplyCap", "type": "uint128" }], "internalType": "struct CometCore.AssetInfo", "name": "", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "utilization", "type": "uint256" }], "name": "getBorrowRate", "outputs": [{ "internalType": "uint64", "name": "", "type": "uint64" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "asset", "type": "address" }], "name": "getCollateralReserves", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "priceFeed", "type": "address" }], "name": "getPrice", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getReserves", "outputs": [{ "internalType": "int256", "name": "", "type": "int256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "utilization", "type": "uint256" }], "name": "getSupplyRate", "outputs": [{ "internalType": "uint64", "name": "", "type": "uint64" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getUtilization", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "governor", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "manager", "type": "address" }], "name": "hasPermission", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "initializeStorage", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "isAbsorbPaused", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "", "type": "address" }, { "internalType": "address", "name": "", "type": "address" }], "name": "isAllowed", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "account", "type": "address" }], "name": "isBorrowCollateralized", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "isBuyPaused", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "account", "type": "address" }], "name": "isLiquidatable", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "isSupplyPaused", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "isTransferPaused", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "isWithdrawPaused", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "", "type": "address" }], "name": "liquidatorPoints", "outputs": [{ "internalType": "uint32", "name": "numAbsorbs", "type": "uint32" }, { "internalType": "uint64", "name": "numAbsorbed", "type": "uint64" }, { "internalType": "uint128", "name": "approxSpend", "type": "uint128" }, { "internalType": "uint32", "name": "_reserved", "type": "uint32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "maxAssets", "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "name", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "numAssets", "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "bool", "name": "supplyPaused", "type": "bool" }, { "internalType": "bool", "name": "transferPaused", "type": "bool" }, { "internalType": "bool", "name": "withdrawPaused", "type": "bool" }, { "internalType": "bool", "name": "absorbPaused", "type": "bool" }, { "internalType": "bool", "name": "buyPaused", "type": "bool" }], "name": "pause", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "pauseGuardian", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "priceScale", "outputs": [{ "internalType": "uint64", "name": "", "type": "uint64" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "asset", "type": "address" }, { "internalType": "uint256", "name": "baseAmount", "type": "uint256" }], "name": "quoteCollateral", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "storeFrontPriceFactor", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "asset", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "supply", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "dst", "type": "address" }, { "internalType": "address", "name": "asset", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "supplyFrom", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "supplyKink", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "supplyPerSecondInterestRateBase", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "supplyPerSecondInterestRateSlopeHigh", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "supplyPerSecondInterestRateSlopeLow", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "dst", "type": "address" }, { "internalType": "address", "name": "asset", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "supplyTo", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "symbol", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "targetReserves", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalBorrow", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalSupply", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalsBasic", "outputs": [{ "components": [{ "internalType": "uint64", "name": "baseSupplyIndex", "type": "uint64" }, { "internalType": "uint64", "name": "baseBorrowIndex", "type": "uint64" }, { "internalType": "uint64", "name": "trackingSupplyIndex", "type": "uint64" }, { "internalType": "uint64", "name": "trackingBorrowIndex", "type": "uint64" }, { "internalType": "uint104", "name": "totalSupplyBase", "type": "uint104" }, { "internalType": "uint104", "name": "totalBorrowBase", "type": "uint104" }, { "internalType": "uint40", "name": "lastAccrualTime", "type": "uint40" }, { "internalType": "uint8", "name": "pauseFlags", "type": "uint8" }], "internalType": "struct CometStorage.TotalsBasic", "name": "", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "", "type": "address" }], "name": "totalsCollateral", "outputs": [{ "internalType": "uint128", "name": "totalSupplyAsset", "type": "uint128" }, { "internalType": "uint128", "name": "_reserved", "type": "uint128" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "trackingIndexScale", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "dst", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "transfer", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "dst", "type": "address" }, { "internalType": "address", "name": "asset", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "transferAsset", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "src", "type": "address" }, { "internalType": "address", "name": "dst", "type": "address" }, { "internalType": "address", "name": "asset", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "transferAssetFrom", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "src", "type": "address" }, { "internalType": "address", "name": "dst", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "transferFrom", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "", "type": "address" }], "name": "userBasic", "outputs": [{ "internalType": "int104", "name": "principal", "type": "int104" }, { "internalType": "uint64", "name": "baseTrackingIndex", "type": "uint64" }, { "internalType": "uint64", "name": "baseTrackingAccrued", "type": "uint64" }, { "internalType": "uint16", "name": "assetsIn", "type": "uint16" }, { "internalType": "uint8", "name": "_reserved", "type": "uint8" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "", "type": "address" }, { "internalType": "address", "name": "", "type": "address" }], "name": "userCollateral", "outputs": [{ "internalType": "uint128", "name": "balance", "type": "uint128" }, { "internalType": "uint128", "name": "_reserved", "type": "uint128" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "", "type": "address" }], "name": "userNonce", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "version", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "asset", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "withdraw", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "src", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "address", "name": "asset", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "withdrawFrom", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "withdrawReserves", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "to", "type": "address" }, { "internalType": "address", "name": "asset", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "withdrawTo", "outputs": [], "stateMutability": "nonpayable", "type": "function" }] }
