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

560 lines
94 KiB
JSON
Raw Normal View History

{
"address": "0x28D64d5c85E9a0f0a33A481E71842255aeFf0Fe9",
"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": "0xbf70f26cb7e9c1cab48d582833d3d32ee2863eda55342ecb8082ca23a30c1e08",
"receipt": {
"to": "0x4e59b44847b379578588920cA78FbF26c0B4956C",
"from": "0x0Ed35B1609Ec45c7079E80d11149a52717e4859A",
"contractAddress": null,
"transactionIndex": 89,
"gasUsed": "1201304",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0xde4cf0d634ccbfd223d25ff6c05fbf73d0ac1d08d4ec580fe65b5ab9fba92b55",
"transactionHash": "0xbf70f26cb7e9c1cab48d582833d3d32ee2863eda55342ecb8082ca23a30c1e08",
"logs": [],
"blockNumber": 19311935,
"cumulativeGasUsed": "18968663",
"status": 1,
"byzantium": true
},
"args": [
"0x264786EF916af64a1DB19F513F24a3681734ce92",
"0x52Aa899454998Be5b000Ad077a46Bbe360F4e497",
"0xA0F83Fc5885cEBc0420ce7C7b139Adc80c4F4D91",
"0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0",
"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
{
"tvlCheckPoint1": "6122000000000000000000",
"expandPercentUntilCheckPoint1": 2500,
"tvlCheckPoint2": "9184000000000000000000",
"expandPercentUntilCheckPoint2": 2000,
"tvlCheckPoint3": "12245000000000000000000",
"expandPercentUntilCheckPoint3": 1500,
"expandPercentAboveCheckPoint3": 1000
},
{
"tvlCheckPoint1": "7060000000000000000000",
"expandPercentUntilCheckPoint1": 2500,
"tvlCheckPoint2": "10600000000000000000000",
"expandPercentUntilCheckPoint2": 2000,
"tvlCheckPoint3": "14120000000000000000000",
"expandPercentUntilCheckPoint3": 1500,
"expandPercentAboveCheckPoint3": 1000
}
],
"numDeployments": 1,
"solcInputHash": "089f7bc7df4297f7bd474ebd543bc481",
"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": "0x6103606040523480156200001257600080fd5b5060405162001b3d38038062001b3d83398101604081905262000035916200043d565b866001600160a01b0381166200006857604051636801712d60e11b8152620186a160048201526024015b60405180910390fd5b866001600160a01b0381166200009757604051636801712d60e11b8152620186a160048201526024016200005f565b866001600160a01b038116620000c657604051636801712d60e11b8152620186a160048201526024016200005f565b6001600160a01b03808b1660805289811660a05288811660c05287811660e0819052908716610100526200012e576001600160a01b0386166200012257604051636801712d60e11b8152620186a360048201526024016200005f565b6000610320526200020c565b604080516001600160a01b03808b16602080840191909152600883850152835180840385018152606084018552805190820120918b16608084015260a0808401929092528351808403909201825260c0909201909252815191012061032052604080516001600160a01b038916602080830191909152600582840152825180830384018152606090920190925280519101206102e052620001cf8562000315565b84516102005260408501516102205260808501516102405260208501516102605260608501516102805260a08501516102a05260c08501516102c0525b6001600160a01b038616620002275760006103405262000305565b620002328462000315565b604080516001600160a01b03808b16602080840191909152600983850152835180840385018152606084018552805190820120918a16608084015260a0808401929092528351808403909201825260c0909201909252815191012061034052604080516001600160a01b038816602080830191909152600582840152825180830384018152606090920190925280519101206103005283516101205260408401516101405260808401516101605260208401516101805260608401516101a05260a08401516101c05260c08401516101e0525b50505050505050505050620004e4565b805115806200032657506020810151155b806200033457506040810151155b806200034257506060810151155b806200035057506080810151155b806200035e575060a0810151155b806200036c575060c0810151155b156200039157604051636801712d60e11b8152620186a360048201526024016200005f565b50565b6001600160a01b03811681146200039157600080fd5b600060e08284031215620003bd57600080fd5b60405160e081016001600160401b0381118282101715620003ee57634e487b7160e01b600052604160045260246000fd5b8060405250809150825181526020830151602082015260408301516040820152606083015160608201526080830151608082015260a083015160a082015260c083015160c08201525092915050565b6000806000806000806000610260888a0312156200045a57600080fd5b8751620004678162000394565b60208901519097506200047a8162000394565b60408901519096506200048d8162000394565b6060890151909550620004a08162000394565b6080890151909450620004b38162000394565b9250620004c48960a08a01620003aa565b9150620004d6896101808a01620003aa565b905092959891949750929550565b60805160a05160c05160e05161010051610120516101405161016051610180516101a0516101c0516101e05161020051610220516102405161026051610280516102a0516102c0516102e051610300516103205161034051611483620006ba600039600081816104df015261056601526000818161090c015261098e0152600061066501526000610a8d0152600081816104b70152610c0d0152600081816104690152610be60152600081816103ec0152610b970152600081816102d10152610b480152600081816103500152610bbd0152600081816104900152610b6e0152600081816101b40152610b1f0152600081816104130152610f9101526000818161031f0152610f6a01526000818161043a0152610f1b0152600081816103c50152610ecc01526000818161039e0152610f410152600081816102830152610ef20152600081816102f80152610ea301526000818161025c0152818161087a01526110a7015260008181610235015281816108330152610d0101526000818161037701528181610cc5015261106b0152600081816101e90152818161058c015281816106b0015281816109b401528181610ad801528181610dd501526111920152600081816102aa015261077201526114836000f3fe608060405234801561001057600080fd5b50600436106101825760003560e01c80638b36bf56116100d8578063dbf7471a1161008c578063e2d3899c11610066578063e2d3899c14610464578063ec305baf1461048b578063f856a532146104b257600080fd5b8063dbf7471a1461040e578063dd3fd0ed14610435578063dfa142051461045c57600080fd5b8063a9a706ab116100bd578063a9a706ab14610399578063c1fb4a79146103c0578063da7d934b146103e757600080fd5b80638b36bf561461034b57806391b9b8271461037257600080fd5b80635123ae461161013a5780636f55c652116101145780636f55c652146102f357806374f025041461031a5780637d7c2a1c1461034157600080fd5b80635123ae461461027e5780636449b8d7146102a55780636c6857b2146102cc57600080fd5b8063
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101825760003560e01c80638b36bf56116100d8578063dbf7471a1161008c578063e2d3899c11610066578063e2d3899c14610464578063ec305baf1461048b578063f856a532146104b257600080fd5b8063dbf7471a1461040e578063dd3fd0ed14610435578063dfa142051461045c57600080fd5b8063a9a706ab116100bd578063a9a706ab14610399578063c1fb4a79146103c0578063da7d934b146103e757600080fd5b80638b36bf561461034b57806391b9b8271461037257600080fd5b80635123ae461161013a5780636f55c652116101145780636f55c652146102f357806374f025041461031a5780637d7c2a1c1461034157600080fd5b80635123ae461461027e5780636449b8d7146102a55780636c6857b2146102cc57600080fd5b80632861c7d11161016b5780632861c7d1146101e45780633ed3a054146102305780634c90f25c1461025757600080fd5b806301ae0f2c14610187578063036a2644146101af575b600080fd5b61018f6104d9565b604080519384526020840192909252908201526060015b60405180910390f35b6101d67f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020016101a6565b61020b7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101a6565b61020b7f000000000000000000000000000000000000000000000000000000000000000081565b61020b7f000000000000000000000000000000000000000000000000000000000000000081565b6101d67f000000000000000000000000000000000000000000000000000000000000000081565b61020b7f000000000000000000000000000000000000000000000000000000000000000081565b6101d67f000000000000000000000000000000000000000000000000000000000000000081565b6101d67f000000000000000000000000000000000000000000000000000000000000000081565b6101d67f000000000000000000000000000000000000000000000000000000000000000081565b610349610744565b005b6101d67f000000000000000000000000000000000000000000000000000000000000000081565b61020b7f000000000000000000000000000000000000000000000000000000000000000081565b6101d67f000000000000000000000000000000000000000000000000000000000000000081565b6101d67f000000000000000000000000000000000000000000000000000000000000000081565b6101d67f000000000000000000000000000000000000000000000000000000000000000081565b6101d67f000000000000000000000000000000000000000000000000000000000000000081565b6101d67f000000000000000000000000000000000000000000000000000000000000000081565b61018f610906565b6101d67f000000000000000000000000000000000000000000000000000000000000000081565b6101d67f000000000000000000000000000000000000000000000000000000000000000081565b6101d67f000000000000000000000000000000000000000000000000000000000000000081565b600080807f000000000000000000000000000000000000000000000000000000000000000061053e576040517fd002e25a000000000000000000000000000000000000000000000000000000008152620186a560048201526024015b60405180910390fd5b6040517fb5c736e40000000000000000000000000000000000000000000000000000000081527f000000000000000000000000000000000000000000000000000000000000000060048201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063b5c736e490602401602060405180830381865afa1580156105e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060c9190611238565b60a281901c613fff169250905066ffffffffffffff600982901c1660ff600183901c161b92508060011660010361073f576040517fb5c736e40000000000000000000000000000000000000000000000000000000081527f0000000000000000000000000000000000000000000000000000000000000000600482015260009067ffffffffffffffff90609b9073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000169063b5c736e4906024015b602060405180830381865afa1580156106f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071c9190611238565b901c16905064e8d4a510006107318286611251565b61073b9190611295565b9350505b909192565b6040517f467c9eff0000000000000000000000000000000000000000000000000000000081523360048201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063467c9eff906024016020604051808303816000875af11580156107d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f491906112d0
"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
}
}