[
    {
        "inputs": [],
        "name": "FeeConverter__NotAuthorized",
        "type": "error"
    },
    {
        "inputs": [],
        "name": "FeeConverter__NotInitialized",
        "type": "error"
    },
    {
        "inputs": [],
        "name": "FeeConverter__TreasuryShareGreaterThanOne",
        "type": "error"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": true,
                "internalType": "address",
                "name": "account",
                "type": "address"
            },
            {
                "indexed": true,
                "internalType": "address",
                "name": "token",
                "type": "address"
            },
            {
                "indexed": false,
                "internalType": "uint256",
                "name": "inAmount",
                "type": "uint256"
            },
            {
                "indexed": false,
                "internalType": "uint256",
                "name": "outAmount",
                "type": "uint256"
            },
            {
                "indexed": false,
                "internalType": "uint256",
                "name": "treasuryAmount",
                "type": "uint256"
            }
        ],
        "name": "Converted",
        "type": "event"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": true,
                "internalType": "address",
                "name": "account",
                "type": "address"
            },
            {
                "indexed": false,
                "internalType": "bool",
                "name": "isAuthorized",
                "type": "bool"
            }
        ],
        "name": "SetAuthorized",
        "type": "event"
    },
    {
        "anonymous": false,
        "inputs": [
            {
                "indexed": true,
                "internalType": "address",
                "name": "newTreasury",
                "type": "address"
            },
            {
                "indexed": false,
                "internalType": "UD60x18",
                "name": "newTreasuryShare",
                "type": "uint256"
            }
        ],
        "name": "SetTreasury",
        "type": "event"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "sourceToken",
                "type": "address"
            },
            {
                "internalType": "address",
                "name": "callee",
                "type": "address"
            },
            {
                "internalType": "address",
                "name": "allowanceTarget",
                "type": "address"
            },
            {
                "internalType": "bytes",
                "name": "data",
                "type": "bytes"
            }
        ],
        "name": "convert",
        "outputs": [],
        "stateMutability": "nonpayable",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "getExchangeHelper",
        "outputs": [
            {
                "internalType": "address",
                "name": "exchangeHelper",
                "type": "address"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [],
        "name": "getTreasury",
        "outputs": [
            {
                "internalType": "address",
                "name": "treasury",
                "type": "address"
            },
            {
                "internalType": "UD60x18",
                "name": "treasuryShare",
                "type": "uint256"
            }
        ],
        "stateMutability": "view",
        "type": "function"
    },
    {
        "inputs": [
            {
                "internalType": "address",
                "name": "vault",
                "type": "address"
            },
            {
                "internalType": "uint256",
                "name": "shareAmount",
                "type": "uint256"
            }
        ],
        "name": "redeem",
        "outputs": [
            {
                "internalType": "uint256",
                "name": "assetAmount",
                "type": "uint256"
            }
        ],
        "stateMutability": "nonpayable",
        "type": "function"
    }
]
