Created
February 29, 2024 05:04
-
-
Save orbit-protocol/3dcffa0eab5048d64db016f9bb5bca76 to your computer and use it in GitHub Desktop.
Orbit Space Station ABI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"inputs": [], | |
"stateMutability": "nonpayable", | |
"type": "constructor" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"internalType": "string", | |
"name": "action", | |
"type": "string" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "bool", | |
"name": "pauseState", | |
"type": "bool" | |
} | |
], | |
"name": "ActionPaused", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"internalType": "contract OToken", | |
"name": "oToken", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "string", | |
"name": "action", | |
"type": "string" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "bool", | |
"name": "pauseState", | |
"type": "bool" | |
} | |
], | |
"name": "ActionPaused", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "contributor", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "newSpeed", | |
"type": "uint256" | |
} | |
], | |
"name": "ContributorOrbSpeedUpdated", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "contract OToken", | |
"name": "oToken", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "borrower", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "compDelta", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "compBorrowIndex", | |
"type": "uint256" | |
} | |
], | |
"name": "DistributedBorrowerOrb", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "contract OToken", | |
"name": "oToken", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "supplier", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "compDelta", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "compSupplyIndex", | |
"type": "uint256" | |
} | |
], | |
"name": "DistributedSupplierOrb", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "error", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "info", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "detail", | |
"type": "uint256" | |
} | |
], | |
"name": "Failure", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"internalType": "contract OToken", | |
"name": "oToken", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "address", | |
"name": "account", | |
"type": "address" | |
} | |
], | |
"name": "MarketEntered", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"internalType": "contract OToken", | |
"name": "oToken", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "address", | |
"name": "account", | |
"type": "address" | |
} | |
], | |
"name": "MarketExited", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"internalType": "contract OToken", | |
"name": "oToken", | |
"type": "address" | |
} | |
], | |
"name": "MarketListed", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "contract OToken", | |
"name": "oToken", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "newBorrowCap", | |
"type": "uint256" | |
} | |
], | |
"name": "NewBorrowCap", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"internalType": "address", | |
"name": "oldBorrowCapGuardian", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "address", | |
"name": "newBorrowCapGuardian", | |
"type": "address" | |
} | |
], | |
"name": "NewBorrowCapGuardian", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "oldCloseFactorMantissa", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "newCloseFactorMantissa", | |
"type": "uint256" | |
} | |
], | |
"name": "NewCloseFactor", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"internalType": "contract OToken", | |
"name": "oToken", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "oldCollateralFactorMantissa", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "newCollateralFactorMantissa", | |
"type": "uint256" | |
} | |
], | |
"name": "NewCollateralFactor", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "oldLiquidationIncentiveMantissa", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "newLiquidationIncentiveMantissa", | |
"type": "uint256" | |
} | |
], | |
"name": "NewLiquidationIncentive", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"internalType": "address", | |
"name": "oldPauseGuardian", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "address", | |
"name": "newPauseGuardian", | |
"type": "address" | |
} | |
], | |
"name": "NewPauseGuardian", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"internalType": "contract PriceOracle", | |
"name": "oldPriceOracle", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "contract PriceOracle", | |
"name": "newPriceOracle", | |
"type": "address" | |
} | |
], | |
"name": "NewPriceOracle", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "user", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "oldOrbAccrued", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "newOrbAccrued", | |
"type": "uint256" | |
} | |
], | |
"name": "OrbAccruedAdjusted", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "contract OToken", | |
"name": "oToken", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "newSpeed", | |
"type": "uint256" | |
} | |
], | |
"name": "OrbBorrowSpeedUpdated", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"internalType": "address", | |
"name": "recipient", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "amount", | |
"type": "uint256" | |
} | |
], | |
"name": "OrbGranted", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "user", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "oldOrbReceivable", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "newOrbReceivable", | |
"type": "uint256" | |
} | |
], | |
"name": "OrbReceivableUpdated", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "contract OToken", | |
"name": "oToken", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "newSpeed", | |
"type": "uint256" | |
} | |
], | |
"name": "OrbSupplySpeedUpdated", | |
"type": "event" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "contract SpaceStationUpgradable", | |
"name": "unitroller", | |
"type": "address" | |
} | |
], | |
"name": "_become", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "_borrowGuardianPaused", | |
"outputs": [ | |
{ | |
"internalType": "bool", | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "recipient", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amount", | |
"type": "uint256" | |
} | |
], | |
"name": "_grantOrb", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "_mintGuardianPaused", | |
"outputs": [ | |
{ | |
"internalType": "bool", | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "newBorrowCapGuardian", | |
"type": "address" | |
} | |
], | |
"name": "_setBorrowCapGuardian", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "contract OToken", | |
"name": "oToken", | |
"type": "address" | |
}, | |
{ | |
"internalType": "bool", | |
"name": "state", | |
"type": "bool" | |
} | |
], | |
"name": "_setBorrowPaused", | |
"outputs": [ | |
{ | |
"internalType": "bool", | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "newCloseFactorMantissa", | |
"type": "uint256" | |
} | |
], | |
"name": "_setCloseFactor", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "contract OToken", | |
"name": "oToken", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "newCollateralFactorMantissa", | |
"type": "uint256" | |
} | |
], | |
"name": "_setCollateralFactor", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "contributor", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "compSpeed", | |
"type": "uint256" | |
} | |
], | |
"name": "_setContributorOrbSpeed", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "newLiquidationIncentiveMantissa", | |
"type": "uint256" | |
} | |
], | |
"name": "_setLiquidationIncentive", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "contract OToken[]", | |
"name": "oTokens", | |
"type": "address[]" | |
}, | |
{ | |
"internalType": "uint256[]", | |
"name": "newBorrowCaps", | |
"type": "uint256[]" | |
} | |
], | |
"name": "_setMarketBorrowCaps", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "contract OToken", | |
"name": "oToken", | |
"type": "address" | |
}, | |
{ | |
"internalType": "bool", | |
"name": "state", | |
"type": "bool" | |
} | |
], | |
"name": "_setMintPaused", | |
"outputs": [ | |
{ | |
"internalType": "bool", | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "contract OToken[]", | |
"name": "oTokens", | |
"type": "address[]" | |
}, | |
{ | |
"internalType": "uint256[]", | |
"name": "supplySpeeds", | |
"type": "uint256[]" | |
}, | |
{ | |
"internalType": "uint256[]", | |
"name": "borrowSpeeds", | |
"type": "uint256[]" | |
} | |
], | |
"name": "_setOrbSpeeds", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "newPauseGuardian", | |
"type": "address" | |
} | |
], | |
"name": "_setPauseGuardian", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "contract PriceOracle", | |
"name": "newOracle", | |
"type": "address" | |
} | |
], | |
"name": "_setPriceOracle", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "bool", | |
"name": "state", | |
"type": "bool" | |
} | |
], | |
"name": "_setSeizePaused", | |
"outputs": [ | |
{ | |
"internalType": "bool", | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "newAddress", | |
"type": "address" | |
} | |
], | |
"name": "_setTokenAddress", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "bool", | |
"name": "state", | |
"type": "bool" | |
} | |
], | |
"name": "_setTransferPaused", | |
"outputs": [ | |
{ | |
"internalType": "bool", | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "contract OToken", | |
"name": "oToken", | |
"type": "address" | |
} | |
], | |
"name": "_supportMarket", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"name": "accountAssets", | |
"outputs": [ | |
{ | |
"internalType": "contract OToken", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "admin", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"name": "allMarkets", | |
"outputs": [ | |
{ | |
"internalType": "contract OToken", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "oToken", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "borrower", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "borrowAmount", | |
"type": "uint256" | |
} | |
], | |
"name": "borrowAllowed", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "borrowCapGuardian", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"name": "borrowCaps", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"name": "borrowGuardianPaused", | |
"outputs": [ | |
{ | |
"internalType": "bool", | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "oToken", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "borrower", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "borrowAmount", | |
"type": "uint256" | |
} | |
], | |
"name": "borrowVerify", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "account", | |
"type": "address" | |
}, | |
{ | |
"internalType": "contract OToken", | |
"name": "oToken", | |
"type": "address" | |
} | |
], | |
"name": "checkMembership", | |
"outputs": [ | |
{ | |
"internalType": "bool", | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address[]", | |
"name": "holders", | |
"type": "address[]" | |
}, | |
{ | |
"internalType": "contract OToken[]", | |
"name": "oTokens", | |
"type": "address[]" | |
}, | |
{ | |
"internalType": "bool", | |
"name": "borrowers", | |
"type": "bool" | |
}, | |
{ | |
"internalType": "bool", | |
"name": "suppliers", | |
"type": "bool" | |
} | |
], | |
"name": "claimOrb", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "holder", | |
"type": "address" | |
}, | |
{ | |
"internalType": "contract OToken[]", | |
"name": "oTokens", | |
"type": "address[]" | |
} | |
], | |
"name": "claimOrb", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "holder", | |
"type": "address" | |
} | |
], | |
"name": "claimOrb", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "closeFactorMantissa", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"name": "compAccrued", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"name": "compBorrowSpeeds", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"name": "compBorrowState", | |
"outputs": [ | |
{ | |
"internalType": "uint224", | |
"name": "index", | |
"type": "uint224" | |
}, | |
{ | |
"internalType": "uint32", | |
"name": "block", | |
"type": "uint32" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"name": "compBorrowerIndex", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"name": "compContributorSpeeds", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "compInitialIndex", | |
"outputs": [ | |
{ | |
"internalType": "uint224", | |
"name": "", | |
"type": "uint224" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "compRate", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"name": "compReceivable", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"name": "compSpeeds", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"name": "compSupplierIndex", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"name": "compSupplySpeeds", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"name": "compSupplyState", | |
"outputs": [ | |
{ | |
"internalType": "uint224", | |
"name": "index", | |
"type": "uint224" | |
}, | |
{ | |
"internalType": "uint32", | |
"name": "block", | |
"type": "uint32" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "comptrollerImplementation", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address[]", | |
"name": "oTokens", | |
"type": "address[]" | |
} | |
], | |
"name": "enterMarkets", | |
"outputs": [ | |
{ | |
"internalType": "uint256[]", | |
"name": "", | |
"type": "uint256[]" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "oTokenAddress", | |
"type": "address" | |
} | |
], | |
"name": "exitMarket", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address[]", | |
"name": "affectedUsers", | |
"type": "address[]" | |
}, | |
{ | |
"internalType": "uint256[]", | |
"name": "amounts", | |
"type": "uint256[]" | |
} | |
], | |
"name": "fixBadAccruals", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "account", | |
"type": "address" | |
} | |
], | |
"name": "getAccountLiquidity", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "getAllMarkets", | |
"outputs": [ | |
{ | |
"internalType": "contract OToken[]", | |
"name": "", | |
"type": "address[]" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "account", | |
"type": "address" | |
} | |
], | |
"name": "getAssetsIn", | |
"outputs": [ | |
{ | |
"internalType": "contract OToken[]", | |
"name": "", | |
"type": "address[]" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "getBlockNumber", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "account", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "oTokenModify", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "redeemTokens", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "borrowAmount", | |
"type": "uint256" | |
} | |
], | |
"name": "getHypotheticalAccountLiquidity", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "getTokenAddress", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "isComptroller", | |
"outputs": [ | |
{ | |
"internalType": "bool", | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "contract OToken", | |
"name": "oToken", | |
"type": "address" | |
} | |
], | |
"name": "isDeprecated", | |
"outputs": [ | |
{ | |
"internalType": "bool", | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"name": "lastContributorBlock", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "oTokenBorrowed", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "oTokenCollateral", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "liquidator", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "borrower", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "repayAmount", | |
"type": "uint256" | |
} | |
], | |
"name": "liquidateBorrowAllowed", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "oTokenBorrowed", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "oTokenCollateral", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "liquidator", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "borrower", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "actualRepayAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "seizeTokens", | |
"type": "uint256" | |
} | |
], | |
"name": "liquidateBorrowVerify", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "oTokenBorrowed", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "oTokenCollateral", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "actualRepayAmount", | |
"type": "uint256" | |
} | |
], | |
"name": "liquidateCalculateSeizeTokens", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "liquidationIncentiveMantissa", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"name": "markets", | |
"outputs": [ | |
{ | |
"internalType": "bool", | |
"name": "isListed", | |
"type": "bool" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "collateralFactorMantissa", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bool", | |
"name": "isComped", | |
"type": "bool" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "maxAssets", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "oToken", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "minter", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "mintAmount", | |
"type": "uint256" | |
} | |
], | |
"name": "mintAllowed", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"name": "mintGuardianPaused", | |
"outputs": [ | |
{ | |
"internalType": "bool", | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "oToken", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "minter", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "actualMintAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "mintTokens", | |
"type": "uint256" | |
} | |
], | |
"name": "mintVerify", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "oracle", | |
"outputs": [ | |
{ | |
"internalType": "contract PriceOracle", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "pauseGuardian", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "pendingAdmin", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "pendingComptrollerImplementation", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "proposal65FixExecuted", | |
"outputs": [ | |
{ | |
"internalType": "bool", | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "oToken", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "redeemer", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "redeemTokens", | |
"type": "uint256" | |
} | |
], | |
"name": "redeemAllowed", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "oToken", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "redeemer", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "redeemAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "redeemTokens", | |
"type": "uint256" | |
} | |
], | |
"name": "redeemVerify", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "oToken", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "payer", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "borrower", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "repayAmount", | |
"type": "uint256" | |
} | |
], | |
"name": "repayBorrowAllowed", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "oToken", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "payer", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "borrower", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "actualRepayAmount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "borrowerIndex", | |
"type": "uint256" | |
} | |
], | |
"name": "repayBorrowVerify", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "oTokenCollateral", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "oTokenBorrowed", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "liquidator", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "borrower", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "seizeTokens", | |
"type": "uint256" | |
} | |
], | |
"name": "seizeAllowed", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "seizeGuardianPaused", | |
"outputs": [ | |
{ | |
"internalType": "bool", | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "oTokenCollateral", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "oTokenBorrowed", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "liquidator", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "borrower", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "seizeTokens", | |
"type": "uint256" | |
} | |
], | |
"name": "seizeVerify", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "tokenAddress", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "oToken", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "src", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "dst", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "transferTokens", | |
"type": "uint256" | |
} | |
], | |
"name": "transferAllowed", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "transferGuardianPaused", | |
"outputs": [ | |
{ | |
"internalType": "bool", | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "oToken", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "src", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "dst", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "transferTokens", | |
"type": "uint256" | |
} | |
], | |
"name": "transferVerify", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "contributor", | |
"type": "address" | |
} | |
], | |
"name": "updateContributorRewards", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment