fluid-contracts-public/deployments/arbitrum/VaultT1Admin.json

716 lines
156 KiB
JSON
Raw Normal View History

{
"address": "0x5dDf07980ADD152D518AE463269e1A97e93EE1a9",
"abi": [
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "colLiquidated",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "debtLiquidated",
"type": "uint256"
}
],
"name": "FluidLiquidateResult",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "errorId_",
"type": "uint256"
}
],
"name": "FluidVaultError",
"type": "error"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256[]",
"name": "nftIds_",
"type": "uint256[]"
},
{
"indexed": false,
"internalType": "uint256",
"name": "absorbedDustDebt_",
"type": "uint256"
}
],
"name": "LogAbsorbDustDebt",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "token_",
"type": "address"
}
],
"name": "LogRescueFunds",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "borrowFee_",
"type": "uint256"
}
],
"name": "LogUpdateBorrowFee",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "borrowRateMagnifier_",
"type": "uint256"
}
],
"name": "LogUpdateBorrowRateMagnifier",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "collateralFactor_",
"type": "uint256"
}
],
"name": "LogUpdateCollateralFactor",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "supplyRateMagnifier_",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "borrowRateMagnifier_",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "collateralFactor_",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "liquidationThreshold_",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "liquidationMaxLimit_",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "withdrawGap_",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "liquidationPenalty_",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "borrowFee_",
"type": "uint256"
}
],
"name": "LogUpdateCoreSettings",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "liquidationMaxLimit_",
"type": "uint256"
}
],
"name": "LogUpdateLiquidationMaxLimit",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "liquidationPenalty_",
"type": "uint256"
}
],
"name": "LogUpdateLiquidationPenalty",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "liquidationThreshold_",
"type": "uint256"
}
],
"name": "LogUpdateLiquidationThreshold",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "newOracle_",
"type": "address"
}
],
"name": "LogUpdateOracle",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "newRebalancer_",
"type": "address"
}
],
"name": "LogUpdateRebalancer",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "supplyRateMagnifier_",
"type": "uint256"
}
],
"name": "LogUpdateSupplyRateMagnifier",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "withdrawGap_",
"type": "uint256"
}
],
"name": "LogUpdateWithdrawGap",
"type": "event"
},
{
"inputs": [
{
"internalType": "uint256[]",
"name": "nftIds_",
"type": "uint256[]"
}
],
"name": "absorbDustDebt",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "token_",
"type": "address"
}
],
"name": "rescueFunds",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "borrowFee_",
"type": "uint256"
}
],
"name": "updateBorrowFee",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "borrowRateMagnifier_",
"type": "uint256"
}
],
"name": "updateBorrowRateMagnifier",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "collateralFactor_",
"type": "uint256"
}
],
"name": "updateCollateralFactor",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "supplyRateMagnifier_",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "borrowRateMagnifier_",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "collateralFactor_",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "liquidationThreshold_",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "liquidationMaxLimit_",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "withdrawGap_",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "liquidationPenalty_",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "borrowFee_",
"type": "uint256"
}
],
"name": "updateCoreSettings",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "liquidationMaxLimit_",
"type": "uint256"
}
],
"name": "updateLiquidationMaxLimit",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "liquidationPenalty_",
"type": "uint256"
}
],
"name": "updateLiquidationPenalty",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "liquidationThreshold_",
"type": "uint256"
}
],
"name": "updateLiquidationThreshold",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "newOracle_",
"type": "address"
}
],
"name": "updateOracle",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "newRebalancer_",
"type": "address"
}
],
"name": "updateRebalancer",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "supplyRateMagnifier_",
"type": "uint256"
}
],
"name": "updateSupplyRateMagnifier",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "withdrawGap_",
"type": "uint256"
}
],
"name": "updateWithdrawGap",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"transactionHash": "0x40372f0ebd280bbf21b7caef77f96331916545f0d1fc2afbfc546d7d59eea11c",
"receipt": {
"to": "0x4e59b44847b379578588920cA78FbF26c0B4956C",
"from": "0x0Ed35B1609Ec45c7079E80d11149a52717e4859A",
"contractAddress": null,
"transactionIndex": 3,
"gasUsed": "3066890",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"blockHash": "0xb958ee4d51c655fda3d8e1b2d167913d0c829ffb42b1d40ba3b4dd9bddd07690",
"transactionHash": "0x40372f0ebd280bbf21b7caef77f96331916545f0d1fc2afbfc546d7d59eea11c",
"logs": [],
"blockNumber": 220375719,
"cumulativeGasUsed": "3517136",
"status": 1,
"byzantium": true
},
"args": [],
"numDeployments": 1,
"solcInputHash": "1989963ad64c4704dbe1170530c79d20",
"metadata": "{\"compiler\":{\"version\":\"0.8.21+commit.d9974bed\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"colLiquidated\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"debtLiquidated\",\"type\":\"uint256\"}],\"name\":\"FluidLiquidateResult\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"errorId_\",\"type\":\"uint256\"}],\"name\":\"FluidVaultError\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"nftIds_\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"absorbedDustDebt_\",\"type\":\"uint256\"}],\"name\":\"LogAbsorbDustDebt\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token_\",\"type\":\"address\"}],\"name\":\"LogRescueFunds\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"borrowFee_\",\"type\":\"uint256\"}],\"name\":\"LogUpdateBorrowFee\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"borrowRateMagnifier_\",\"type\":\"uint256\"}],\"name\":\"LogUpdateBorrowRateMagnifier\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"collateralFactor_\",\"type\":\"uint256\"}],\"name\":\"LogUpdateCollateralFactor\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"supplyRateMagnifier_\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"borrowRateMagnifier_\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"collateralFactor_\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"liquidationThreshold_\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"liquidationMaxLimit_\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"withdrawGap_\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"liquidationPenalty_\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"borrowFee_\",\"type\":\"uint256\"}],\"name\":\"LogUpdateCoreSettings\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"liquidationMaxLimit_\",\"type\":\"uint256\"}],\"name\":\"LogUpdateLiquidationMaxLimit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"liquidationPenalty_\",\"type\":\"uint256\"}],\"name\":\"LogUpdateLiquidationPenalty\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"liquidationThreshold_\",\"type\":\"uint256\"}],\"name\":\"LogUpdateLiquidationThreshold\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOracle_\",\"type\":\"address\"}],\"name\":\"LogUpdateOracle\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newRebalancer_\",\"type\":\"address\"}],\"name\":\"LogUpdateRebalancer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"supplyRateMagnifier_\",\"type\":\"uint256\"}],\"name\":\"LogUpdateSupplyRateMagnifier\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"withdrawGap_\",\"type\":\"uint256\"}],\"name\":\"LogUpdateWithdrawGap\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"nftIds_\",\"type\":\"uint256[]\"}],\"name\":\"absorbDustDebt\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token_\",\"type\":\"ad
"bytecode": "0x60a060405234801561001057600080fd5b5030608052608051612934610084600039600081816102680152818161040a015281816105c40152818161074d015281816108ee01528181610b6101528181610d0c01528181610ec001528181611069015281816111f90152818161133c015281816117e90152611ad401526129346000f3fe608060405234801561001057600080fd5b50600436106100df5760003560e01c8063898e96281161008c578063d3b5be1a11610066578063d3b5be1a14610191578063d61b93fe146101a4578063e53b2017146101b7578063f7a0a7e0146101ca57600080fd5b8063898e962814610158578063b046a4491461016b578063b8244f5f1461017e57600080fd5b8063509c21a4116100bd578063509c21a41461011f57806354b04ef51461013257806357917a111461014557600080fd5b806303f9923c146100e45780631cb44dfc146100f95780634a138a711461010c575b600080fd5b6100f76100f2366004612494565b6101dd565b005b6100f76101073660046124d2565b61037f565b6100f761011a366004612494565b610539565b6100f761012d366004612494565b6106c2565b6100f76101403660046124f6565b610863565b6100f7610153366004612494565b610ad6565b6100f7610166366004612494565b610c81565b6100f76101793660046124d2565b610e35565b6100f761018c366004612494565b610fde565b6100f761019f366004612494565b61116e565b6100f76101b236600461257a565b611325565b6100f76101c53660046124d2565b6117d2565b6100f76101d8366004612494565b611a49565b3073ffffffffffffffffffffffffffffffffffffffff1663021618876040518163ffffffff1660e01b81526004016080604051808303816000875af115801561022a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061024e9190612656565b50505073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016300390506102cb576040517f60121cca0000000000000000000000000000000000000000000000000000000081526180ea60048201526024015b60405180910390fd5b6040518181527fba3aefe95d9bb126dd0e7885e76f453e72b0ee6efd457771f26fe0a7ca56cedc9060200160405180910390a1610309600a826126bb565b90506103e881111561034b576040517f60121cca0000000000000000000000000000000000000000000000000000000081526180e960048201526024016102c2565b603e81901b6001547fffffffffffffffffffffffffffffffffffffffffffffff003fffffffffffffff161760018190555050565b3073ffffffffffffffffffffffffffffffffffffffff1663021618876040518163ffffffff1660e01b81526004016080604051808303816000875af11580156103cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103f09190612656565b50505073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001630039050610468576040517f60121cca0000000000000000000000000000000000000000000000000000000081526180ea60048201526024016102c2565b73ffffffffffffffffffffffffffffffffffffffff81166104b9576040517f60121cca0000000000000000000000000000000000000000000000000000000081526180f160048201526024016102c2565b600180546bffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606084901b1617905560405173ffffffffffffffffffffffffffffffffffffffff8216907f7a46205dbf7cc57a79f474f580e08d7961ad634e14643486b8df2dc30c392b6290600090a250565b3073ffffffffffffffffffffffffffffffffffffffff1663021618876040518163ffffffff1660e01b81526004016080604051808303816000875af1158015610586573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105aa9190612656565b50505073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001630039050610622576040517f60121cca0000000000000000000000000000000000000000000000000000000081526180ea60048201526024016102c2565b6040518181527f06f8b08c94d657867f843433de70bed3628bbdc19b0c89413af75d30420ad3f39060200160405180910390a161ffff811115610695576040517f60121cca0000000000000000000000000000000000000000000000000000000081526180e960048201526024016102c2565b600180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000169091179055565b3073ffffffffffffffffffffffffffffffffffffffff1663021618876040518163ffffffff1660e01b81526004016080604051808303816000875af115801561070f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107339190612656565b50505073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000163003905061
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100df5760003560e01c8063898e96281161008c578063d3b5be1a11610066578063d3b5be1a14610191578063d61b93fe146101a4578063e53b2017146101b7578063f7a0a7e0146101ca57600080fd5b8063898e962814610158578063b046a4491461016b578063b8244f5f1461017e57600080fd5b8063509c21a4116100bd578063509c21a41461011f57806354b04ef51461013257806357917a111461014557600080fd5b806303f9923c146100e45780631cb44dfc146100f95780634a138a711461010c575b600080fd5b6100f76100f2366004612494565b6101dd565b005b6100f76101073660046124d2565b61037f565b6100f761011a366004612494565b610539565b6100f761012d366004612494565b6106c2565b6100f76101403660046124f6565b610863565b6100f7610153366004612494565b610ad6565b6100f7610166366004612494565b610c81565b6100f76101793660046124d2565b610e35565b6100f761018c366004612494565b610fde565b6100f761019f366004612494565b61116e565b6100f76101b236600461257a565b611325565b6100f76101c53660046124d2565b6117d2565b6100f76101d8366004612494565b611a49565b3073ffffffffffffffffffffffffffffffffffffffff1663021618876040518163ffffffff1660e01b81526004016080604051808303816000875af115801561022a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061024e9190612656565b50505073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016300390506102cb576040517f60121cca0000000000000000000000000000000000000000000000000000000081526180ea60048201526024015b60405180910390fd5b6040518181527fba3aefe95d9bb126dd0e7885e76f453e72b0ee6efd457771f26fe0a7ca56cedc9060200160405180910390a1610309600a826126bb565b90506103e881111561034b576040517f60121cca0000000000000000000000000000000000000000000000000000000081526180e960048201526024016102c2565b603e81901b6001547fffffffffffffffffffffffffffffffffffffffffffffff003fffffffffffffff161760018190555050565b3073ffffffffffffffffffffffffffffffffffffffff1663021618876040518163ffffffff1660e01b81526004016080604051808303816000875af11580156103cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103f09190612656565b50505073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001630039050610468576040517f60121cca0000000000000000000000000000000000000000000000000000000081526180ea60048201526024016102c2565b73ffffffffffffffffffffffffffffffffffffffff81166104b9576040517f60121cca0000000000000000000000000000000000000000000000000000000081526180f160048201526024016102c2565b600180546bffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606084901b1617905560405173ffffffffffffffffffffffffffffffffffffffff8216907f7a46205dbf7cc57a79f474f580e08d7961ad634e14643486b8df2dc30c392b6290600090a250565b3073ffffffffffffffffffffffffffffffffffffffff1663021618876040518163ffffffff1660e01b81526004016080604051808303816000875af1158015610586573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105aa9190612656565b50505073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001630039050610622576040517f60121cca0000000000000000000000000000000000000000000000000000000081526180ea60048201526024016102c2565b6040518181527f06f8b08c94d657867f843433de70bed3628bbdc19b0c89413af75d30420ad3f39060200160405180910390a161ffff811115610695576040517f60121cca0000000000000000000000000000000000000000000000000000000081526180e960048201526024016102c2565b600180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000169091179055565b3073ffffffffffffffffffffffffffffffffffffffff1663021618876040518163ffffffff1660e01b81526004016080604051808303816000875af115801561070f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107339190612656565b50505073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016300390506107ab576040517f60121cca0000000000000000000000000000000000000000000000000000000081526180ea60048201526024016102c2565b6040518181527f0e8160f7246256e8f7eea7dc5ee9de8c9fa1d6057c30561f548e6a84defeef159060200160405180910390a1600154602a81901c6103ff166107f5600a846126
"devdoc": {
"kind": "dev",
"methods": {
"absorbDustDebt(uint256[])": {
"details": "in decades if a lot of positions are 100% liquidated (aka absorbed) then dust debt can mount up which is basically sort of an extra revenue for the protocol."
},
"rescueFunds(address)": {
"details": "this contract never holds any funds as all operations send / receive funds from user <-> Liquidity."
}
},
"version": 1
},
"userdoc": {
"errors": {
"FluidLiquidateResult(uint256,uint256)": [
{
"notice": "used to simulate liquidation to find the maximum liquidatable amounts"
}
]
},
"events": {
"LogAbsorbDustDebt(uint256[],uint256)": {
"notice": "emitted when dust debt is absorbed for `nftIds_`"
},
"LogRescueFunds(address)": {
"notice": "emitted when funds are rescued"
},
"LogUpdateBorrowFee(uint256)": {
"notice": "emitted when the borrow fee config is updated"
},
"LogUpdateBorrowRateMagnifier(uint256)": {
"notice": "emitted when the borrow rate magnifier config is updated"
},
"LogUpdateCollateralFactor(uint256)": {
"notice": "emitted when the collateral factor config is updated"
},
"LogUpdateCoreSettings(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256)": {
"notice": "emitted when the core setting configs are updated"
},
"LogUpdateLiquidationMaxLimit(uint256)": {
"notice": "emitted when the liquidation max limit config is updated"
},
"LogUpdateLiquidationPenalty(uint256)": {
"notice": "emitted when the liquidation penalty config is updated"
},
"LogUpdateLiquidationThreshold(uint256)": {
"notice": "emitted when the liquidation threshold config is updated"
},
"LogUpdateOracle(address)": {
"notice": "emitted when the oracle is updated"
},
"LogUpdateRebalancer(address)": {
"notice": "emitted when the allowed rebalancer is updated"
},
"LogUpdateSupplyRateMagnifier(uint256)": {
"notice": "emitted when the supply rate magnifier config is updated"
},
"LogUpdateWithdrawGap(uint256)": {
"notice": "emitted when the withdrawal gap config is updated"
}
},
"kind": "user",
"methods": {
"absorbDustDebt(uint256[])": {
"notice": "absorbs accumulated dust debt"
},
"rescueFunds(address)": {
"notice": "sends any potentially stuck funds to Liquidity contract."
},
"updateBorrowFee(uint256)": {
"notice": "updates the borrow fee to `borrowFee_`. Input in 1e2 (1% = 100, 100% = 10_000)."
},
"updateBorrowRateMagnifier(uint256)": {
"notice": "updates the borrow rate magnifier to `borrowRateMagnifier_`. Input in 1e2 (1% = 100, 100% = 10_000)."
},
"updateCollateralFactor(uint256)": {
"notice": "updates the collateral factor to `collateralFactor_`. Input in 1e2 (1% = 100, 100% = 10_000)."
},
"updateCoreSettings(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256)": {
"notice": "updates the all Vault core settings according to input params. All input values are expected in 1e2 (1% = 100, 100% = 10_000)."
},
"updateLiquidationMaxLimit(uint256)": {
"notice": "updates the liquidation max limit to `liquidationMaxLimit_`. Input in 1e2 (1% = 100, 100% = 10_000)."
},
"updateLiquidationPenalty(uint256)": {
"notice": "updates the liquidation penalty to `liquidationPenalty_`. Input in 1e2 (1% = 100, 100% = 10_000)."
},
"updateLiquidationThreshold(uint256)": {
"notice": "updates the liquidation threshold to `liquidationThreshold_`. Input in 1e2 (1% = 100, 100% = 10_000)."
},
"updateOracle(address)": {
"notice": "updates the Vault oracle to `newOracle_`. Must implement the FluidOracle interface."
},
"updateRebalancer(address)": {
"notice": "updates the allowed rebalancer to `newRebalancer_`."
},
"updateSupplyRateMagnifier(uint256)": {
"notice": "updates the supply rate magnifier to `supplyRateMagnifier_`. Input in 1e2 (1% = 100, 100% = 10_000)."
},
"updateWithdrawGap(uint256)": {
"notice": "updates the withdrawal gap to `withdrawGap_`. Input in 1e2 (1% = 100, 100% = 10_000)."
}
},
"notice": "Fluid Vault protocol Admin Module contract. Implements admin related methods to set configs such as liquidation params, rates oracle address etc. Methods are limited to be called via delegateCall only. Vault CoreModule (\"VaultT1\" contract) is expected to call the methods implemented here after checking the msg.sender is authorized. All methods update the exchange prices in storage before changing configs.",
"version": 1
},
"storageLayout": {
"storage": [
{
"astId": 54719,
"contract": "contracts/protocols/vault/vaultT1/adminModule/main.sol:FluidVaultT1Admin",
"label": "vaultVariables",
"offset": 0,
"slot": "0",
"type": "t_uint256"
},
{
"astId": 54722,
"contract": "contracts/protocols/vault/vaultT1/adminModule/main.sol:FluidVaultT1Admin",
"label": "vaultVariables2",
"offset": 0,
"slot": "1",
"type": "t_uint256"
},
{
"astId": 54725,
"contract": "contracts/protocols/vault/vaultT1/adminModule/main.sol:FluidVaultT1Admin",
"label": "absorbedLiquidity",
"offset": 0,
"slot": "2",
"type": "t_uint256"
},
{
"astId": 54730,
"contract": "contracts/protocols/vault/vaultT1/adminModule/main.sol:FluidVaultT1Admin",
"label": "positionData",
"offset": 0,
"slot": "3",
"type": "t_mapping(t_uint256,t_uint256)"
},
{
"astId": 54735,
"contract": "contracts/protocols/vault/vaultT1/adminModule/main.sol:FluidVaultT1Admin",
"label": "tickHasDebt",
"offset": 0,
"slot": "4",
"type": "t_mapping(t_int256,t_uint256)"
},
{
"astId": 54740,
"contract": "contracts/protocols/vault/vaultT1/adminModule/main.sol:FluidVaultT1Admin",
"label": "tickData",
"offset": 0,
"slot": "5",
"type": "t_mapping(t_int256,t_uint256)"
},
{
"astId": 54747,
"contract": "contracts/protocols/vault/vaultT1/adminModule/main.sol:FluidVaultT1Admin",
"label": "tickId",
"offset": 0,
"slot": "6",
"type": "t_mapping(t_int256,t_mapping(t_uint256,t_uint256))"
},
{
"astId": 54752,
"contract": "contracts/protocols/vault/vaultT1/adminModule/main.sol:FluidVaultT1Admin",
"label": "branchData",
"offset": 0,
"slot": "7",
"type": "t_mapping(t_uint256,t_uint256)"
},
{
"astId": 54755,
"contract": "contracts/protocols/vault/vaultT1/adminModule/main.sol:FluidVaultT1Admin",
"label": "rates",
"offset": 0,
"slot": "8",
"type": "t_uint256"
},
{
"astId": 54758,
"contract": "contracts/protocols/vault/vaultT1/adminModule/main.sol:FluidVaultT1Admin",
"label": "rebalancer",
"offset": 0,
"slot": "9",
"type": "t_address"
},
{
"astId": 54760,
"contract": "contracts/protocols/vault/vaultT1/adminModule/main.sol:FluidVaultT1Admin",
"label": "absorbedDustDebt",
"offset": 0,
"slot": "10",
"type": "t_uint256"
}
],
"types": {
"t_address": {
"encoding": "inplace",
"label": "address",
"numberOfBytes": "20"
},
"t_int256": {
"encoding": "inplace",
"label": "int256",
"numberOfBytes": "32"
},
"t_mapping(t_int256,t_mapping(t_uint256,t_uint256))": {
"encoding": "mapping",
"key": "t_int256",
"label": "mapping(int256 => mapping(uint256 => uint256))",
"numberOfBytes": "32",
"value": "t_mapping(t_uint256,t_uint256)"
},
"t_mapping(t_int256,t_uint256)": {
"encoding": "mapping",
"key": "t_int256",
"label": "mapping(int256 => uint256)",
"numberOfBytes": "32",
"value": "t_uint256"
},
"t_mapping(t_uint256,t_uint256)": {
"encoding": "mapping",
"key": "t_uint256",
"label": "mapping(uint256 => uint256)",
"numberOfBytes": "32",
"value": "t_uint256"
},
"t_uint256": {
"encoding": "inplace",
"label": "uint256",
"numberOfBytes": "32"
}
}
}
}