fluid-contracts-public/deployments/mainnet/fToken_fUSDC_LiquidityConfigHandler.json

560 lines
92 KiB
JSON
Raw Permalink Normal View History

{
"address": "0x02AfbFA971299c2434E7a04565d9f5a1eD6180F1",
"abi": [
{
"inputs": [
{
"internalType": "contract IFluidReserveContract",
"name": "reserveContract_",
"type": "address"
},
{
"internalType": "contract IFluidLiquidity",
"name": "liquidity_",
"type": "address"
},
{
"internalType": "address",
"name": "protocol_",
"type": "address"
},
{
"internalType": "address",
"name": "withdrawToken_",
"type": "address"
},
{
"internalType": "address",
"name": "borrowToken_",
"type": "address"
},
{
"components": [
{
"internalType": "uint256",
"name": "tvlCheckPoint1",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "expandPercentUntilCheckPoint1",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "tvlCheckPoint2",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "expandPercentUntilCheckPoint2",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "tvlCheckPoint3",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "expandPercentUntilCheckPoint3",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "expandPercentAboveCheckPoint3",
"type": "uint256"
}
],
"internalType": "struct Structs.LimitCheckPoints",
"name": "withdrawCheckPoints_",
"type": "tuple"
},
{
"components": [
{
"internalType": "uint256",
"name": "tvlCheckPoint1",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "expandPercentUntilCheckPoint1",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "tvlCheckPoint2",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "expandPercentUntilCheckPoint2",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "tvlCheckPoint3",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "expandPercentUntilCheckPoint3",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "expandPercentAboveCheckPoint3",
"type": "uint256"
}
],
"internalType": "struct Structs.LimitCheckPoints",
"name": "borrowCheckPoints_",
"type": "tuple"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "errorId_",
"type": "uint256"
}
],
"name": "FluidConfigError",
"type": "error"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "borrow",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "oldExpandPercent",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "newExpandPercent",
"type": "uint256"
}
],
"name": "LogUpdateBorrowLimitExpansion",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "supply",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "oldExpandPercent",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "newExpandPercent",
"type": "uint256"
}
],
"name": "LogUpdateWithdrawLimitExpansion",
"type": "event"
},
{
"inputs": [],
"name": "BORROW_CHECKPOINT1",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "BORROW_CHECKPOINT2",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "BORROW_CHECKPOINT3",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "BORROW_EXPAND_ABOVE_CHECKPOINT3",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "BORROW_EXPAND_UNTIL_CHECKPOINT1",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "BORROW_EXPAND_UNTIL_CHECKPOINT2",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "BORROW_EXPAND_UNTIL_CHECKPOINT3",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "BORROW_TOKEN",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "LIQUIDITY",
"outputs": [
{
"internalType": "contract IFluidLiquidity",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "PROTOCOL",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "RESERVE_CONTRACT",
"outputs": [
{
"internalType": "contract IFluidReserveContract",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "WITHDRAW_CHECKPOINT1",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "WITHDRAW_CHECKPOINT2",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "WITHDRAW_CHECKPOINT3",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "WITHDRAW_EXPAND_ABOVE_CHECKPOINT3",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "WITHDRAW_EXPAND_UNTIL_CHECKPOINT1",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "WITHDRAW_EXPAND_UNTIL_CHECKPOINT2",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "WITHDRAW_EXPAND_UNTIL_CHECKPOINT3",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "WITHDRAW_TOKEN",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getProtocolBorrowData",
"outputs": [
{
"internalType": "uint256",
"name": "borrow_",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "oldExpandPercent_",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "userBorrowData_",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getProtocolSupplyData",
"outputs": [
{
"internalType": "uint256",
"name": "supply_",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "oldExpandPercent_",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "userSupplyData_",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "rebalance",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"transactionHash": "0x8ac5c85e438856687476b12dccd4897ab68ed6a6bdaae85b6cc70583805ad1e3",
"receipt": {
"to": "0x4e59b44847b379578588920cA78FbF26c0B4956C",
"from": "0x0Ed35B1609Ec45c7079E80d11149a52717e4859A",
"contractAddress": null,
"transactionIndex": 79,
"gasUsed": "1162317",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0x3e122e23ba109c9eec412dba0466fc0884e25deaa04dc9ec9d66d5e0abd2b3be",
"transactionHash": "0x8ac5c85e438856687476b12dccd4897ab68ed6a6bdaae85b6cc70583805ad1e3",
"logs": [],
"blockNumber": 19245693,
"cumulativeGasUsed": "8823811",
"status": 1,
"byzantium": true
},
"args": [
"0x264786EF916af64a1DB19F513F24a3681734ce92",
"0x52Aa899454998Be5b000Ad077a46Bbe360F4e497",
"0x9Fb7b4477576Fe5B32be4C1843aFB1e55F251B33",
"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"0x0000000000000000000000000000000000000000",
{
"tvlCheckPoint1": "20000000000000",
"expandPercentUntilCheckPoint1": 2500,
"tvlCheckPoint2": "30000000000000",
"expandPercentUntilCheckPoint2": 2000,
"tvlCheckPoint3": "40000000000000",
"expandPercentUntilCheckPoint3": 1500,
"expandPercentAboveCheckPoint3": 1000
},
{
"tvlCheckPoint1": 0,
"expandPercentUntilCheckPoint1": 0,
"tvlCheckPoint2": 0,
"expandPercentUntilCheckPoint2": 0,
"tvlCheckPoint3": 0,
"expandPercentUntilCheckPoint3": 0,
"expandPercentAboveCheckPoint3": 0
}
],
"numDeployments": 1,
"solcInputHash": "a6eec996e0d87f14a13695ac2d803bea",
"metadata": "{\"compiler\":{\"version\":\"0.8.21+commit.d9974bed\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract IFluidReserveContract\",\"name\":\"reserveContract_\",\"type\":\"address\"},{\"internalType\":\"contract IFluidLiquidity\",\"name\":\"liquidity_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"protocol_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"withdrawToken_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"borrowToken_\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"tvlCheckPoint1\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expandPercentUntilCheckPoint1\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"tvlCheckPoint2\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expandPercentUntilCheckPoint2\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"tvlCheckPoint3\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expandPercentUntilCheckPoint3\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expandPercentAboveCheckPoint3\",\"type\":\"uint256\"}],\"internalType\":\"struct Structs.LimitCheckPoints\",\"name\":\"withdrawCheckPoints_\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"tvlCheckPoint1\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expandPercentUntilCheckPoint1\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"tvlCheckPoint2\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expandPercentUntilCheckPoint2\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"tvlCheckPoint3\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expandPercentUntilCheckPoint3\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expandPercentAboveCheckPoint3\",\"type\":\"uint256\"}],\"internalType\":\"struct Structs.LimitCheckPoints\",\"name\":\"borrowCheckPoints_\",\"type\":\"tuple\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"errorId_\",\"type\":\"uint256\"}],\"name\":\"FluidConfigError\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"borrow\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldExpandPercent\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newExpandPercent\",\"type\":\"uint256\"}],\"name\":\"LogUpdateBorrowLimitExpansion\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"supply\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldExpandPercent\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newExpandPercent\",\"type\":\"uint256\"}],\"name\":\"LogUpdateWithdrawLimitExpansion\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"BORROW_CHECKPOINT1\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"BORROW_CHECKPOINT2\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"BORROW_CHECKPOINT3\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"BORROW_EXPAND_ABOVE_CHECKPOINT3\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"BORROW_EXPAND_UNTIL_CHECKPOINT1\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"BORROW_EXPAND_UNTIL_CHECKPOINT2\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMu
"bytecode": "0x6103606040523480156200001257600080fd5b5060405162001a7d38038062001a7d83398101604081905262000035916200043d565b866001600160a01b0381166200006857604051636801712d60e11b8152620186a160048201526024015b60405180910390fd5b866001600160a01b0381166200009757604051636801712d60e11b8152620186a160048201526024016200005f565b866001600160a01b038116620000c657604051636801712d60e11b8152620186a160048201526024016200005f565b6001600160a01b03808b1660805289811660a05288811660c05287811660e0819052908716610100526200012e576001600160a01b0386166200012257604051636801712d60e11b8152620186a360048201526024016200005f565b6000610320526200020c565b604080516001600160a01b03808b16602080840191909152600883850152835180840385018152606084018552805190820120918b16608084015260a0808401929092528351808403909201825260c0909201909252815191012061032052604080516001600160a01b038916602080830191909152600582840152825180830384018152606090920190925280519101206102e052620001cf8562000315565b84516102005260408501516102205260808501516102405260208501516102605260608501516102805260a08501516102a05260c08501516102c0525b6001600160a01b038616620002275760006103405262000305565b620002328462000315565b604080516001600160a01b03808b16602080840191909152600983850152835180840385018152606084018552805190820120918a16608084015260a0808401929092528351808403909201825260c0909201909252815191012061034052604080516001600160a01b038816602080830191909152600582840152825180830384018152606090920190925280519101206103005283516101205260408401516101405260808401516101605260208401516101805260608401516101a05260a08401516101c05260c08401516101e0525b50505050505050505050620004e4565b805115806200032657506020810151155b806200033457506040810151155b806200034257506060810151155b806200035057506080810151155b806200035e575060a0810151155b806200036c575060c0810151155b156200039157604051636801712d60e11b8152620186a360048201526024016200005f565b50565b6001600160a01b03811681146200039157600080fd5b600060e08284031215620003bd57600080fd5b60405160e081016001600160401b0381118282101715620003ee57634e487b7160e01b600052604160045260246000fd5b8060405250809150825181526020830151602082015260408301516040820152606083015160608201526080830151608082015260a083015160a082015260c083015160c08201525092915050565b6000806000806000806000610260888a0312156200045a57600080fd5b8751620004678162000394565b60208901519097506200047a8162000394565b60408901519096506200048d8162000394565b6060890151909550620004a08162000394565b6080890151909450620004b38162000394565b9250620004c48960a08a01620003aa565b9150620004d6896101808a01620003aa565b905092959891949750929550565b60805160a05160c05160e05161010051610120516101405161016051610180516101a0516101c0516101e05161020051610220516102405161026051610280516102a0516102c0516102e0516103005161032051610340516113d1620006ac6000396000610501015260006108d501526000610607015260006109db0152600081816104b70152610b5b0152600081816104690152610b340152600081816103ec0152610ae50152600081816102d10152610a960152600081816103500152610b0b0152600081816104900152610abc0152600081816101b40152610a6d0152600081816104130152610edf01526000818161031f0152610eb801526000818161043a0152610e690152600081816103c50152610e1a01526000818161039e0152610e8f0152600081816102830152610e400152600081816102f80152610df101526000818161025c015281816108210152610ff5015260008181610235015281816107da0152610c4f01526000818161037701528181610c130152610fb90152600081816101e901528181610543015281816106520152818161091701528181610a2601528181610d2301526110e00152600081816102aa015261071401526113d16000f3fe608060405234801561001057600080fd5b50600436106101825760003560e01c80638b36bf56116100d8578063dbf7471a1161008c578063e2d3899c11610066578063e2d3899c14610464578063ec305baf1461048b578063f856a532146104b257600080fd5b8063dbf7471a1461040e578063dd3fd0ed14610435578063dfa142051461045c57600080fd5b8063a9a706ab116100bd578063a9a706ab14610399578063c1fb4a79146103c0578063da7d934b146103e757600080fd5b80638b36bf561461034b57806391b9b8271461037257600080fd5b80635123ae461161013a5780636f55c652116101145780636f55c652146102f357806374f025041461031a5780637d7c2a1c1461034157600080fd5b80635123ae461461027e5780636449b8d7146102a55780636c6857b2146102cc57600080fd5b80632861c7d11161016b5780632861c7
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101825760003560e01c80638b36bf56116100d8578063dbf7471a1161008c578063e2d3899c11610066578063e2d3899c14610464578063ec305baf1461048b578063f856a532146104b257600080fd5b8063dbf7471a1461040e578063dd3fd0ed14610435578063dfa142051461045c57600080fd5b8063a9a706ab116100bd578063a9a706ab14610399578063c1fb4a79146103c0578063da7d934b146103e757600080fd5b80638b36bf561461034b57806391b9b8271461037257600080fd5b80635123ae461161013a5780636f55c652116101145780636f55c652146102f357806374f025041461031a5780637d7c2a1c1461034157600080fd5b80635123ae461461027e5780636449b8d7146102a55780636c6857b2146102cc57600080fd5b80632861c7d11161016b5780632861c7d1146101e45780633ed3a054146102305780634c90f25c1461025757600080fd5b806301ae0f2c14610187578063036a2644146101af575b600080fd5b61018f6104d9565b604080519384526020840192909252908201526060015b60405180910390f35b6101d67f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020016101a6565b61020b7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101a6565b61020b7f000000000000000000000000000000000000000000000000000000000000000081565b61020b7f000000000000000000000000000000000000000000000000000000000000000081565b6101d67f000000000000000000000000000000000000000000000000000000000000000081565b61020b7f000000000000000000000000000000000000000000000000000000000000000081565b6101d67f000000000000000000000000000000000000000000000000000000000000000081565b6101d67f000000000000000000000000000000000000000000000000000000000000000081565b6101d67f000000000000000000000000000000000000000000000000000000000000000081565b6103496106e6565b005b6101d67f000000000000000000000000000000000000000000000000000000000000000081565b61020b7f000000000000000000000000000000000000000000000000000000000000000081565b6101d67f000000000000000000000000000000000000000000000000000000000000000081565b6101d67f000000000000000000000000000000000000000000000000000000000000000081565b6101d67f000000000000000000000000000000000000000000000000000000000000000081565b6101d67f000000000000000000000000000000000000000000000000000000000000000081565b6101d67f000000000000000000000000000000000000000000000000000000000000000081565b61018f6108ad565b6101d67f000000000000000000000000000000000000000000000000000000000000000081565b6101d67f000000000000000000000000000000000000000000000000000000000000000081565b6101d67f000000000000000000000000000000000000000000000000000000000000000081565b6040517fb5c736e40000000000000000000000000000000000000000000000000000000081527f000000000000000000000000000000000000000000000000000000000000000060048201526000908190819073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000169063b5c736e490602401602060405180830381865afa15801561058a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ae9190611186565b60a281901c613fff169250905066ffffffffffffff600982901c1660ff600183901c161b9250806001166001036106e1576040517fb5c736e40000000000000000000000000000000000000000000000000000000081527f0000000000000000000000000000000000000000000000000000000000000000600482015260009067ffffffffffffffff90609b9073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000169063b5c736e4906024015b602060405180830381865afa15801561069a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106be9190611186565b901c16905064e8d4a510006106d3828661119f565b6106dd91906111e3565b9350505b909192565b6040517f467c9eff0000000000000000000000000000000000000000000000000000000081523360048201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063467c9eff906024016020604051808303816000875af1158015610772573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610796919061121e565b6107d6576040517fd002e25a000000000000000000000000000000000000000000000000000000008152620186a260048201526024015b60405180910390fd5b60007f00000000000000000000000000000000000000000000000000
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"events": {
"LogUpdateBorrowLimitExpansion(uint256,uint256,uint256)": {
"notice": "emitted when borrow limit expand percent is updated"
},
"LogUpdateWithdrawLimitExpansion(uint256,uint256,uint256)": {
"notice": "emitted when withdraw limit expand percent is updated"
}
},
"kind": "user",
"methods": {
"getProtocolBorrowData()": {
"notice": "returns `PROTOCOL` total borrow at Liquidity"
},
"getProtocolSupplyData()": {
"notice": "returns `PROTOCOL` total supply at Liquidity"
},
"rebalance()": {
"notice": "Rebalances the configs for `PROTOCOL` at Fluid Liquidity based on protocol total supply & total borrow. Emits `LogUpdateWithdrawLimitExpansion` or `LogUpdateBorrowLimitExpansion` if any update is executed. Reverts if no update is needed. Can only be called by an authorized rebalancer."
}
},
"notice": "Sets limits on Liquidity for a protocol based on TVL checkpoints.",
"version": 1
},
"storageLayout": {
"storage": [],
"types": null
}
}