Files
dodo-contractV2/build-v1/contracts/Admin.json
2020-11-10 18:38:34 +08:00

7151 lines
289 KiB
JSON

{
"contractName": "Admin",
"abi": [
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "previousOwner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "newOwner",
"type": "address"
}
],
"name": "OwnershipTransferPrepared",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "previousOwner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "newOwner",
"type": "address"
}
],
"name": "OwnershipTransferred",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "oldGasPriceLimit",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "newGasPriceLimit",
"type": "uint256"
}
],
"name": "UpdateGasPriceLimit",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "oldK",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "newK",
"type": "uint256"
}
],
"name": "UpdateK",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "oldLiquidityProviderFeeRate",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "newLiquidityProviderFeeRate",
"type": "uint256"
}
],
"name": "UpdateLiquidityProviderFeeRate",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "oldMaintainerFeeRate",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "newMaintainerFeeRate",
"type": "uint256"
}
],
"name": "UpdateMaintainerFeeRate",
"type": "event"
},
{
"inputs": [],
"name": "_BASE_BALANCE_",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "_BASE_BALANCE_LIMIT_",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "_BASE_CAPITAL_RECEIVE_QUOTE_",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "_BASE_CAPITAL_TOKEN_",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "_BASE_TOKEN_",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "_BUYING_ALLOWED_",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "_CLAIMED_",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "_CLOSED_",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "_DEPOSIT_BASE_ALLOWED_",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "_DEPOSIT_QUOTE_ALLOWED_",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "_GAS_PRICE_LIMIT_",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "_K_",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "_LP_FEE_RATE_",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "_MAINTAINER_",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "_MT_FEE_RATE_",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "_NEW_OWNER_",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "_ORACLE_",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "_OWNER_",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "_QUOTE_BALANCE_",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "_QUOTE_BALANCE_LIMIT_",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "_QUOTE_CAPITAL_RECEIVE_BASE_",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "_QUOTE_CAPITAL_TOKEN_",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "_QUOTE_TOKEN_",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "_R_STATUS_",
"outputs": [
{
"internalType": "enum Types.RStatus",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "_SELLING_ALLOWED_",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "_SUPERVISOR_",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "_TARGET_BASE_TOKEN_AMOUNT_",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "_TARGET_QUOTE_TOKEN_AMOUNT_",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "_TRADE_ALLOWED_",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "claimOwnership",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "lp",
"type": "address"
}
],
"name": "getBaseCapitalBalanceOf",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getOraclePrice",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "lp",
"type": "address"
}
],
"name": "getQuoteCapitalBalanceOf",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getTotalBaseCapital",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getTotalQuoteCapital",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "newOwner",
"type": "address"
}
],
"name": "transferOwnership",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "version",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "newOracle",
"type": "address"
}
],
"name": "setOracle",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "newSupervisor",
"type": "address"
}
],
"name": "setSupervisor",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "newMaintainer",
"type": "address"
}
],
"name": "setMaintainer",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "newLiquidityPorviderFeeRate",
"type": "uint256"
}
],
"name": "setLiquidityProviderFeeRate",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "newMaintainerFeeRate",
"type": "uint256"
}
],
"name": "setMaintainerFeeRate",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "newK",
"type": "uint256"
}
],
"name": "setK",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "newGasPriceLimit",
"type": "uint256"
}
],
"name": "setGasPriceLimit",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "disableTrading",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "enableTrading",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "disableQuoteDeposit",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "enableQuoteDeposit",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "disableBaseDeposit",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "enableBaseDeposit",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "disableBuying",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "enableBuying",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "disableSelling",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "enableSelling",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "newBaseBalanceLimit",
"type": "uint256"
}
],
"name": "setBaseBalanceLimit",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "newQuoteBalanceLimit",
"type": "uint256"
}
],
"name": "setQuoteBalanceLimit",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"metadata": "{\"compiler\":{\"version\":\"0.6.9+commit.3e3065ac\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferPrepared\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldGasPriceLimit\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newGasPriceLimit\",\"type\":\"uint256\"}],\"name\":\"UpdateGasPriceLimit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldK\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newK\",\"type\":\"uint256\"}],\"name\":\"UpdateK\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldLiquidityProviderFeeRate\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newLiquidityProviderFeeRate\",\"type\":\"uint256\"}],\"name\":\"UpdateLiquidityProviderFeeRate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldMaintainerFeeRate\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newMaintainerFeeRate\",\"type\":\"uint256\"}],\"name\":\"UpdateMaintainerFeeRate\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"_BASE_BALANCE_\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"_BASE_BALANCE_LIMIT_\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"_BASE_CAPITAL_RECEIVE_QUOTE_\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"_BASE_CAPITAL_TOKEN_\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"_BASE_TOKEN_\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"_BUYING_ALLOWED_\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"_CLAIMED_\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"_CLOSED_\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"_DEPOSIT_BASE_ALLOWED_\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"_DEPOSIT_QUOTE_ALLOWED_\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"_GAS_PRICE_LIMIT_\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"_K_\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"_LP_FEE_RATE_\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"_MAINTAINER_\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"_MT_FEE_RATE_\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"_NEW_OWNER_\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"_ORACLE_\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"_OWNER_\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"_QUOTE_BALANCE_\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"_QUOTE_BALANCE_LIMIT_\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"_QUOTE_CAPITAL_RECEIVE_BASE_\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"_QUOTE_CAPITAL_TOKEN_\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"_QUOTE_TOKEN_\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"_R_STATUS_\",\"outputs\":[{\"internalType\":\"enum Types.RStatus\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"_SELLING_ALLOWED_\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"_SUPERVISOR_\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"_TARGET_BASE_TOKEN_AMOUNT_\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"_TARGET_QUOTE_TOKEN_AMOUNT_\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"_TRADE_ALLOWED_\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"claimOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"disableBaseDeposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"disableBuying\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"disableQuoteDeposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"disableSelling\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"disableTrading\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"enableBaseDeposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"enableBuying\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"enableQuoteDeposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"enableSelling\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"enableTrading\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"lp\",\"type\":\"address\"}],\"name\":\"getBaseCapitalBalanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getOraclePrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"lp\",\"type\":\"address\"}],\"name\":\"getQuoteCapitalBalanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTotalBaseCapital\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTotalQuoteCapital\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newBaseBalanceLimit\",\"type\":\"uint256\"}],\"name\":\"setBaseBalanceLimit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newGasPriceLimit\",\"type\":\"uint256\"}],\"name\":\"setGasPriceLimit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newK\",\"type\":\"uint256\"}],\"name\":\"setK\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newLiquidityPorviderFeeRate\",\"type\":\"uint256\"}],\"name\":\"setLiquidityProviderFeeRate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newMaintainer\",\"type\":\"address\"}],\"name\":\"setMaintainer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newMaintainerFeeRate\",\"type\":\"uint256\"}],\"name\":\"setMaintainerFeeRate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOracle\",\"type\":\"address\"}],\"name\":\"setOracle\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newQuoteBalanceLimit\",\"type\":\"uint256\"}],\"name\":\"setQuoteBalanceLimit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newSupervisor\",\"type\":\"address\"}],\"name\":\"setSupervisor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"DODO Breeder\",\"methods\":{},\"title\":\"Admin\"},\"userdoc\":{\"methods\":{},\"notice\":\"Functions for admin operations\"}},\"settings\":{\"compilationTarget\":{\"/Users/owen/Desktop/dodo/dodo-smart-contract/contracts/impl/Admin.sol\":\"Admin\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/Users/owen/Desktop/dodo/dodo-smart-contract/contracts/impl/Admin.sol\":{\"keccak256\":\"0x04a6c300c659e67733e5d89e709e052f0d095a5e825a467410d49ef6691fae56\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://f6d4417d9c9bb16431ab7622d6e0f8e8f2233fbad1e71d6ff7971926d9470807\",\"dweb:/ipfs/QmXqLYnbs6Yuhhg9knkNx5AvZWqxkvZsVKmPUJo2j9FqtE\"]},\"/Users/owen/Desktop/dodo/dodo-smart-contract/contracts/impl/Storage.sol\":{\"keccak256\":\"0xbf15f2a72d59bbf0ed32b2a24fc4a68d45ffaa60dd2b2c1cc555d03ec1cd2f0a\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://7289884a2a8939295c4f61aeb7754bd3ce49e9d09188a1eddb762342589f36be\",\"dweb:/ipfs/QmaHYH51wieAyxBDASyHyfYSeu6UJNV7adD3AceeZXCgcZ\"]},\"/Users/owen/Desktop/dodo/dodo-smart-contract/contracts/intf/IDODOLpToken.sol\":{\"keccak256\":\"0x2183977c7a3cf5aa8d2f56d2167bf59515e34a8e4ebd2402efa85b612631955f\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://61766578f8d1bef7f51912a5327e8d4e95e3d9adb509e9486b4e2c8cf179f5e6\",\"dweb:/ipfs/QmXJRK4JKMrJkdn7BFVueoNRixsu26shnX3Dxeb5T9JKK4\"]},\"/Users/owen/Desktop/dodo/dodo-smart-contract/contracts/intf/IOracle.sol\":{\"keccak256\":\"0xed4a31155c30a764366aba2244e42406269e59618088f93c02f1b4c9fec9e53c\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://bd3d50110c9120d942f7713e1cfced848ba7721ea336b2d9c4a87a6eb2a82ca9\",\"dweb:/ipfs/QmTYFeDcAyA2JpfoL1LsGLgj4TeRJxNV1rM27vdcaZSwpF\"]},\"/Users/owen/Desktop/dodo/dodo-smart-contract/contracts/lib/DecimalMath.sol\":{\"keccak256\":\"0x9a093cbac4e37ed4ee5e27495dae08754bbfec81f7c0ceb57a5a7ac4f362208f\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://1ddd9e5de1c555f0d1232e148fe18574e6adaa348e792844d9011bbd39bf908f\",\"dweb:/ipfs/QmSgZNwPNqCrQC4kJNdwH3iQNasbTfw2cbTtAtNVcpqnYc\"]},\"/Users/owen/Desktop/dodo/dodo-smart-contract/contracts/lib/InitializableOwnable.sol\":{\"keccak256\":\"0xf462d86a85221f424c5a40f3c0d4a699c72a61b31ed07091ffb0e0b28b3cd137\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://3d92b79f4527b3d7812395c41e5d0786309a121b99af3bff5cd7663f7255d335\",\"dweb:/ipfs/QmYkQANWtKsJNHKeD6PrtUFeC3D6uWAxhXjB97eBHwqtzK\"]},\"/Users/owen/Desktop/dodo/dodo-smart-contract/contracts/lib/ReentrancyGuard.sol\":{\"keccak256\":\"0xc9c3fc946350fd72083a9d5b1327ff923533ef37b054bc7b6007562b20b0faaf\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://fc140417457139fb240427629673bfaf970c5d4568ad1cfe582764c6e4855bbb\",\"dweb:/ipfs/Qmd7ESYe5kyM6NYiSzeFE74f1YGGPXzpdVd5qnYg2AvgH8\"]},\"/Users/owen/Desktop/dodo/dodo-smart-contract/contracts/lib/SafeMath.sol\":{\"keccak256\":\"0x57d750628881687f826b54f60cbfd46c1a172433eed892bbb123f91869886af1\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://b40bd7946010ddae9679f36630510217dcaa9cb8643824f9edc8ef52bda95717\",\"dweb:/ipfs/QmZSjpfUGyrmokZyaMc74a8h6zy2qFVECPVP8VfTvzNEFb\"]},\"/Users/owen/Desktop/dodo/dodo-smart-contract/contracts/lib/Types.sol\":{\"keccak256\":\"0x0aebcc897b4de833e87e46a11e5a70d2b6e1d2fd99ebdf9e32e6421924f18b15\",\"license\":\"Apache-2.0\",\"urls\":[\"bzz-raw://a1098dace4f0664b0e3f5c3b6ce535ad2aba52e68fb6d1ea94b09debc06ed33c\",\"dweb:/ipfs/QmRbiq7M3Y8utAXaPWmVooGmoYF27N5dKVn6QYTaDFwqdP\"]}},\"version\":1}",
"bytecode": "0x608060405234801561001057600080fd5b5061142b806100206000396000f3fe608060405234801561001057600080fd5b50600436106103785760003560e01c80637c9b8e89116101d3578063b2094fd311610104578063d689107c116100a2578063ec2fd46d1161007c578063ec2fd46d146105ca578063f2220416146105d2578063f2fde38b146105e5578063f67ed448146105f857610378565b8063d689107c146105b2578063dd58b41c146105ba578063eab5d20e146105c257610378565b8063c5bbffe8116100de578063c5bbffe814610592578063c6b73cf91461059a578063cc062b58146105a2578063d4b97046146105aa57610378565b8063b2094fd31461057a578063bc7d679d14610582578063c0ffa1781461058a57610378565b806397316ad811610171578063a598aca71161014b578063a598aca71461055a578063ab44a7a314610562578063ac1fbc981461056a578063aceecbc81461057257610378565b806397316ad8146105375780639b020fba1461054a578063a3161a561461055257610378565b80638a8c523c116101ad5780638a8c523c1461050c5780638ff5e7421461051457806390cbf8221461051c5780639299eb301461052457610378565b80637c9b8e89146104e95780638456db15146104f1578063892daf05146104f957610378565b80633960f142116102ad57806367de8be91161024b57806373a2ab7c1161022557806373a2ab7c146104b3578063796da7af146104bb5780637adbf973146104c35780637aed942d146104d657610378565b806367de8be91461047857806368be20ad1461048b5780636ec6a58d146104ab57610378565b80634de4527e116102875780634de4527e1461044d5780634e71e0c81461045557806354fd4d501461045d5780635bb7552a1461046557610378565b80633960f142146104355780634322ec831461043d5780634a248d2a1461044557610378565b80631769ddaa1161031a578063245c9685116102f4578063245c968514610415578063247f993b1461041d5780632aa82c651461042557806336ac41a81461042d57610378565b80631769ddaa146103f057806317700f01146103f857806317be952e1461040057610378565b80631184d8be116103565780631184d8be146103b857806313c57624146103c057806313ea5d29146103c857806316048bc4146103db57610378565b8063092316021461037d5780630cd1667d146103925780630e6518e9146103b0575b600080fd5b61039061038b36600461122b565b61060b565b005b61039a610693565b6040516103a791906113de565b60405180910390f35b61039a610716565b61039061071c565b610390610785565b6103906103d6366004611204565b6107d3565b6103e361081f565b6040516103a7919061125b565b61039a61082e565b610390610834565b610408610882565b6040516103a7919061127a565b61039a61088b565b610390610891565b61039a6108dc565b610390610921565b6103e361098a565b6103e3610999565b6103e36109a8565b61039a6109b7565b6103906109bd565b61039a610a4b565b61039061047336600461122b565b610a50565b61039061048636600461122b565b610ac6565b61049e610499366004611204565b610b38565b6040516103a7919061126f565b61049e610b4d565b6103e3610b5d565b61039a610b6c565b6103906104d1366004611204565b610bb1565b61039a6104e4366004611204565b610bfd565b61039a610c84565b6103e3610c8a565b61039061050736600461122b565b610c99565b610390610cf2565b61049e610d5b565b610390610d69565b610390610532366004611204565b610dcc565b61039061054536600461122b565b610e18565b61039a610e71565b61049e610e77565b61049e610e80565b61039a610e90565b6103e3610e96565b610390610ea5565b61039a610ef1565b610390610ef7565b61039a610f45565b61049e610f4b565b61039a610f5b565b610390610f61565b6103e3610fc6565b6103e3610fd5565b61049e610fe4565b61039a610ff4565b61039a610ffa565b6103906105e036600461122b565b611000565b6103906105f3366004611204565b611072565b61039a610606366004611204565b61111d565b6006546001600160a01b031633148061062e57506000546001600160a01b031633145b6106535760405162461bcd60e51b815260040161064a906112d2565b60405180910390fd5b7f808f99cfd15f1be6019f93dc76c81d5bd82e0b3e0b3d23a54f5a2e647a6cc3cc600254826040516106869291906113e7565b60405180910390a1600255565b601354604080516318160ddd60e01b815290516000926001600160a01b0316916318160ddd916004808301926020929190829003018186803b1580156106d857600080fd5b505afa1580156106ec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107109190611243565b90505b90565b60165481565b6000546001600160a01b031633146107465760405162461bcd60e51b815260040161064a9061137a565b600154600160b01b900460ff16156107705760405162461bcd60e51b815260040161064a90611330565b6001805460ff60c01b1916600160c01b179055565b6006546001600160a01b03163314806107a857506000546001600160a01b031633145b6107c45760405162461bcd60e51b815260040161064a906112d2565b6001805460ff60c01b19169055565b6000546001600160a01b031633146107fd5760405162461bcd60e51b815260040161064a9061137a565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031681565b60055481565b6006546001600160a01b031633148061085757506000546001600160a01b031633145b6108735760405162461bcd60e51b815260040161064a906112d2565b6001805460ff60c81b19169055565b600e5460ff1681565b60105481565b6006546001600160a01b03163314806108b457506000546001600160a01b031633145b6108d05760405162461bcd60e51b815260040161064a906112d2565b6003805460ff19169055565b601454604080516318160ddd60e01b815290516000926001600160a01b0316916318160ddd916004808301926020929190829003018186803b1580156106d857600080fd5b6000546001600160a01b0316331461094b5760405162461bcd60e51b815260040161064a9061137a565b600154600160b01b900460ff16156109755760405162461bcd60e51b815260040161064a90611330565b6001805460ff60b81b1916600160b81b179055565b6006546001600160a01b031681565b6007546001600160a01b031681565b6008546001600160a01b031681565b60025481565b6001546001600160a01b031633146109e75760405162461bcd60e51b815260040161064a906112ab565b600154600080546040516001600160a01b0393841693909116917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a360018054600080546001600160a01b03199081166001600160a01b03841617909155169055565b606590565b6000546001600160a01b03163314610a7a5760405162461bcd60e51b815260040161064a9061137a565b7f3ce6ea91adda496b7a0546fa6558e5b52c3a509de6015820efb00ca4020e0a07600b5482604051610aad9291906113e7565b60405180910390a1600b819055610ac261114e565b5050565b6000546001600160a01b03163314610af05760405162461bcd60e51b815260040161064a9061137a565b7f023a40bebf7ac113f81c3d628073246cf9e0bc49980a9d6a9531498ce9e3dd1c600d5482604051610b239291906113e7565b60405180910390a1600d819055610ac261114e565b60176020526000908152604090205460ff1681565b600154600160b01b900460ff1681565b600a546001600160a01b031681565b600a5460408051634c6afee560e11b815290516000926001600160a01b0316916398d5fdca916004808301926020929190829003018186803b1580156106d857600080fd5b6000546001600160a01b03163314610bdb5760405162461bcd60e51b815260040161064a9061137a565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6013546040516370a0823160e01b81526000916001600160a01b0316906370a0823190610c2e90859060040161125b565b60206040518083038186803b158015610c4657600080fd5b505afa158015610c5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c7e9190611243565b92915050565b60125481565b6001546001600160a01b031681565b6000546001600160a01b03163314610cc35760405162461bcd60e51b815260040161064a9061137a565b600154600160b01b900460ff1615610ced5760405162461bcd60e51b815260040161064a90611330565b600455565b6000546001600160a01b03163314610d1c5760405162461bcd60e51b815260040161064a9061137a565b600154600160b01b900460ff1615610d465760405162461bcd60e51b815260040161064a90611330565b6001805460ff60c81b1916600160c81b179055565b600354610100900460ff1681565b6000546001600160a01b03163314610d935760405162461bcd60e51b815260040161064a9061137a565b600154600160b01b900460ff1615610dbd5760405162461bcd60e51b815260040161064a90611330565b6003805460ff19166001179055565b6000546001600160a01b03163314610df65760405162461bcd60e51b815260040161064a9061137a565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610e425760405162461bcd60e51b815260040161064a9061137a565b600154600160b01b900460ff1615610e6c5760405162461bcd60e51b815260040161064a90611330565b600555565b60045481565b60035460ff1681565b600154600160c01b900460ff1681565b600b5481565b6014546001600160a01b031681565b6006546001600160a01b0316331480610ec857506000546001600160a01b031633145b610ee45760405162461bcd60e51b815260040161064a906112d2565b6003805461ff0019169055565b600f5481565b6006546001600160a01b0316331480610f1a57506000546001600160a01b031633145b610f365760405162461bcd60e51b815260040161064a906112d2565b6001805460ff60b81b19169055565b600c5481565b600154600160b81b900460ff1681565b60155481565b6000546001600160a01b03163314610f8b5760405162461bcd60e51b815260040161064a9061137a565b600154600160b01b900460ff1615610fb55760405162461bcd60e51b815260040161064a90611330565b6003805461ff001916610100179055565b6009546001600160a01b031681565b6013546001600160a01b031681565b600154600160c81b900460ff1681565b60115481565b600d5481565b6000546001600160a01b0316331461102a5760405162461bcd60e51b815260040161064a9061137a565b7f6b04da3d58e4b37d99652babb3ea2bc25ce94379bfff3059f03d61b26c59e553600c548260405161105d9291906113e7565b60405180910390a1600c819055610ac261114e565b6000546001600160a01b0316331461109c5760405162461bcd60e51b815260040161064a9061137a565b6001600160a01b0381166110c25760405162461bcd60e51b815260040161064a90611309565b600080546040516001600160a01b03808516939216917fdcf55418cee3220104fef63f979ff3c4097ad240c0c43dcb33ce837748983e6291a3600180546001600160a01b0319166001600160a01b0392909216919091179055565b6014546040516370a0823160e01b81526000916001600160a01b0316906370a0823190610c2e90859060040161125b565b6000670de0b6b3a7640000600d54106111795760405162461bcd60e51b815260040161064a906113c0565b6000600d541161119b5760405162461bcd60e51b815260040161064a9061128e565b670de0b6b3a76400006111bb600c54600b546111d890919063ffffffff16565b106107135760405162461bcd60e51b815260040161064a90611355565b6000828201838110156111fd5760405162461bcd60e51b815260040161064a9061139d565b9392505050565b600060208284031215611215578081fd5b81356001600160a01b03811681146111fd578182fd5b60006020828403121561123c578081fd5b5035919050565b600060208284031215611254578081fd5b5051919050565b6001600160a01b0391909116815260200190565b901515815260200190565b602081016003831061128857fe5b91905290565b60208082526003908201526204b3d360ec1b604082015260600190565b6020808252600d908201526c494e56414c49445f434c41494d60981b604082015260600190565b60208082526017908201527f4e4f545f53555045525649534f525f4f525f4f574e4552000000000000000000604082015260600190565b6020808252600d908201526c24a72b20a624a22fa7aba722a960991b604082015260600190565b6020808252600b908201526a1113d113d7d0d313d4d15160aa1b604082015260600190565b6020808252600b908201526a4645455f524154453e3d3160a81b604082015260600190565b6020808252600990820152682727aa2fa7aba722a960b91b604082015260600190565b60208082526009908201526820a2222fa2a92927a960b91b604082015260600190565b6020808252600490820152634b3e3d3160e01b604082015260600190565b90815260200190565b91825260208201526040019056fea2646970667358221220e856033bc330207be0100003cace375d8fad287d256324bddc13e5a37282509e64736f6c63430006090033",
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106103785760003560e01c80637c9b8e89116101d3578063b2094fd311610104578063d689107c116100a2578063ec2fd46d1161007c578063ec2fd46d146105ca578063f2220416146105d2578063f2fde38b146105e5578063f67ed448146105f857610378565b8063d689107c146105b2578063dd58b41c146105ba578063eab5d20e146105c257610378565b8063c5bbffe8116100de578063c5bbffe814610592578063c6b73cf91461059a578063cc062b58146105a2578063d4b97046146105aa57610378565b8063b2094fd31461057a578063bc7d679d14610582578063c0ffa1781461058a57610378565b806397316ad811610171578063a598aca71161014b578063a598aca71461055a578063ab44a7a314610562578063ac1fbc981461056a578063aceecbc81461057257610378565b806397316ad8146105375780639b020fba1461054a578063a3161a561461055257610378565b80638a8c523c116101ad5780638a8c523c1461050c5780638ff5e7421461051457806390cbf8221461051c5780639299eb301461052457610378565b80637c9b8e89146104e95780638456db15146104f1578063892daf05146104f957610378565b80633960f142116102ad57806367de8be91161024b57806373a2ab7c1161022557806373a2ab7c146104b3578063796da7af146104bb5780637adbf973146104c35780637aed942d146104d657610378565b806367de8be91461047857806368be20ad1461048b5780636ec6a58d146104ab57610378565b80634de4527e116102875780634de4527e1461044d5780634e71e0c81461045557806354fd4d501461045d5780635bb7552a1461046557610378565b80633960f142146104355780634322ec831461043d5780634a248d2a1461044557610378565b80631769ddaa1161031a578063245c9685116102f4578063245c968514610415578063247f993b1461041d5780632aa82c651461042557806336ac41a81461042d57610378565b80631769ddaa146103f057806317700f01146103f857806317be952e1461040057610378565b80631184d8be116103565780631184d8be146103b857806313c57624146103c057806313ea5d29146103c857806316048bc4146103db57610378565b8063092316021461037d5780630cd1667d146103925780630e6518e9146103b0575b600080fd5b61039061038b36600461122b565b61060b565b005b61039a610693565b6040516103a791906113de565b60405180910390f35b61039a610716565b61039061071c565b610390610785565b6103906103d6366004611204565b6107d3565b6103e361081f565b6040516103a7919061125b565b61039a61082e565b610390610834565b610408610882565b6040516103a7919061127a565b61039a61088b565b610390610891565b61039a6108dc565b610390610921565b6103e361098a565b6103e3610999565b6103e36109a8565b61039a6109b7565b6103906109bd565b61039a610a4b565b61039061047336600461122b565b610a50565b61039061048636600461122b565b610ac6565b61049e610499366004611204565b610b38565b6040516103a7919061126f565b61049e610b4d565b6103e3610b5d565b61039a610b6c565b6103906104d1366004611204565b610bb1565b61039a6104e4366004611204565b610bfd565b61039a610c84565b6103e3610c8a565b61039061050736600461122b565b610c99565b610390610cf2565b61049e610d5b565b610390610d69565b610390610532366004611204565b610dcc565b61039061054536600461122b565b610e18565b61039a610e71565b61049e610e77565b61049e610e80565b61039a610e90565b6103e3610e96565b610390610ea5565b61039a610ef1565b610390610ef7565b61039a610f45565b61049e610f4b565b61039a610f5b565b610390610f61565b6103e3610fc6565b6103e3610fd5565b61049e610fe4565b61039a610ff4565b61039a610ffa565b6103906105e036600461122b565b611000565b6103906105f3366004611204565b611072565b61039a610606366004611204565b61111d565b6006546001600160a01b031633148061062e57506000546001600160a01b031633145b6106535760405162461bcd60e51b815260040161064a906112d2565b60405180910390fd5b7f808f99cfd15f1be6019f93dc76c81d5bd82e0b3e0b3d23a54f5a2e647a6cc3cc600254826040516106869291906113e7565b60405180910390a1600255565b601354604080516318160ddd60e01b815290516000926001600160a01b0316916318160ddd916004808301926020929190829003018186803b1580156106d857600080fd5b505afa1580156106ec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107109190611243565b90505b90565b60165481565b6000546001600160a01b031633146107465760405162461bcd60e51b815260040161064a9061137a565b600154600160b01b900460ff16156107705760405162461bcd60e51b815260040161064a90611330565b6001805460ff60c01b1916600160c01b179055565b6006546001600160a01b03163314806107a857506000546001600160a01b031633145b6107c45760405162461bcd60e51b815260040161064a906112d2565b6001805460ff60c01b19169055565b6000546001600160a01b031633146107fd5760405162461bcd60e51b815260040161064a9061137a565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031681565b60055481565b6006546001600160a01b031633148061085757506000546001600160a01b031633145b6108735760405162461bcd60e51b815260040161064a906112d2565b6001805460ff60c81b19169055565b600e5460ff1681565b60105481565b6006546001600160a01b03163314806108b457506000546001600160a01b031633145b6108d05760405162461bcd60e51b815260040161064a906112d2565b6003805460ff19169055565b601454604080516318160ddd60e01b815290516000926001600160a01b0316916318160ddd916004808301926020929190829003018186803b1580156106d857600080fd5b6000546001600160a01b0316331461094b5760405162461bcd60e51b815260040161064a9061137a565b600154600160b01b900460ff16156109755760405162461bcd60e51b815260040161064a90611330565b6001805460ff60b81b1916600160b81b179055565b6006546001600160a01b031681565b6007546001600160a01b031681565b6008546001600160a01b031681565b60025481565b6001546001600160a01b031633146109e75760405162461bcd60e51b815260040161064a906112ab565b600154600080546040516001600160a01b0393841693909116917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a360018054600080546001600160a01b03199081166001600160a01b03841617909155169055565b606590565b6000546001600160a01b03163314610a7a5760405162461bcd60e51b815260040161064a9061137a565b7f3ce6ea91adda496b7a0546fa6558e5b52c3a509de6015820efb00ca4020e0a07600b5482604051610aad9291906113e7565b60405180910390a1600b819055610ac261114e565b5050565b6000546001600160a01b03163314610af05760405162461bcd60e51b815260040161064a9061137a565b7f023a40bebf7ac113f81c3d628073246cf9e0bc49980a9d6a9531498ce9e3dd1c600d5482604051610b239291906113e7565b60405180910390a1600d819055610ac261114e565b60176020526000908152604090205460ff1681565b600154600160b01b900460ff1681565b600a546001600160a01b031681565b600a5460408051634c6afee560e11b815290516000926001600160a01b0316916398d5fdca916004808301926020929190829003018186803b1580156106d857600080fd5b6000546001600160a01b03163314610bdb5760405162461bcd60e51b815260040161064a9061137a565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6013546040516370a0823160e01b81526000916001600160a01b0316906370a0823190610c2e90859060040161125b565b60206040518083038186803b158015610c4657600080fd5b505afa158015610c5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c7e9190611243565b92915050565b60125481565b6001546001600160a01b031681565b6000546001600160a01b03163314610cc35760405162461bcd60e51b815260040161064a9061137a565b600154600160b01b900460ff1615610ced5760405162461bcd60e51b815260040161064a90611330565b600455565b6000546001600160a01b03163314610d1c5760405162461bcd60e51b815260040161064a9061137a565b600154600160b01b900460ff1615610d465760405162461bcd60e51b815260040161064a90611330565b6001805460ff60c81b1916600160c81b179055565b600354610100900460ff1681565b6000546001600160a01b03163314610d935760405162461bcd60e51b815260040161064a9061137a565b600154600160b01b900460ff1615610dbd5760405162461bcd60e51b815260040161064a90611330565b6003805460ff19166001179055565b6000546001600160a01b03163314610df65760405162461bcd60e51b815260040161064a9061137a565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610e425760405162461bcd60e51b815260040161064a9061137a565b600154600160b01b900460ff1615610e6c5760405162461bcd60e51b815260040161064a90611330565b600555565b60045481565b60035460ff1681565b600154600160c01b900460ff1681565b600b5481565b6014546001600160a01b031681565b6006546001600160a01b0316331480610ec857506000546001600160a01b031633145b610ee45760405162461bcd60e51b815260040161064a906112d2565b6003805461ff0019169055565b600f5481565b6006546001600160a01b0316331480610f1a57506000546001600160a01b031633145b610f365760405162461bcd60e51b815260040161064a906112d2565b6001805460ff60b81b19169055565b600c5481565b600154600160b81b900460ff1681565b60155481565b6000546001600160a01b03163314610f8b5760405162461bcd60e51b815260040161064a9061137a565b600154600160b01b900460ff1615610fb55760405162461bcd60e51b815260040161064a90611330565b6003805461ff001916610100179055565b6009546001600160a01b031681565b6013546001600160a01b031681565b600154600160c81b900460ff1681565b60115481565b600d5481565b6000546001600160a01b0316331461102a5760405162461bcd60e51b815260040161064a9061137a565b7f6b04da3d58e4b37d99652babb3ea2bc25ce94379bfff3059f03d61b26c59e553600c548260405161105d9291906113e7565b60405180910390a1600c819055610ac261114e565b6000546001600160a01b0316331461109c5760405162461bcd60e51b815260040161064a9061137a565b6001600160a01b0381166110c25760405162461bcd60e51b815260040161064a90611309565b600080546040516001600160a01b03808516939216917fdcf55418cee3220104fef63f979ff3c4097ad240c0c43dcb33ce837748983e6291a3600180546001600160a01b0319166001600160a01b0392909216919091179055565b6014546040516370a0823160e01b81526000916001600160a01b0316906370a0823190610c2e90859060040161125b565b6000670de0b6b3a7640000600d54106111795760405162461bcd60e51b815260040161064a906113c0565b6000600d541161119b5760405162461bcd60e51b815260040161064a9061128e565b670de0b6b3a76400006111bb600c54600b546111d890919063ffffffff16565b106107135760405162461bcd60e51b815260040161064a90611355565b6000828201838110156111fd5760405162461bcd60e51b815260040161064a9061139d565b9392505050565b600060208284031215611215578081fd5b81356001600160a01b03811681146111fd578182fd5b60006020828403121561123c578081fd5b5035919050565b600060208284031215611254578081fd5b5051919050565b6001600160a01b0391909116815260200190565b901515815260200190565b602081016003831061128857fe5b91905290565b60208082526003908201526204b3d360ec1b604082015260600190565b6020808252600d908201526c494e56414c49445f434c41494d60981b604082015260600190565b60208082526017908201527f4e4f545f53555045525649534f525f4f525f4f574e4552000000000000000000604082015260600190565b6020808252600d908201526c24a72b20a624a22fa7aba722a960991b604082015260600190565b6020808252600b908201526a1113d113d7d0d313d4d15160aa1b604082015260600190565b6020808252600b908201526a4645455f524154453e3d3160a81b604082015260600190565b6020808252600990820152682727aa2fa7aba722a960b91b604082015260600190565b60208082526009908201526820a2222fa2a92927a960b91b604082015260600190565b6020808252600490820152634b3e3d3160e01b604082015260600190565b90815260200190565b91825260208201526040019056fea2646970667358221220e856033bc330207be0100003cace375d8fad287d256324bddc13e5a37282509e64736f6c63430006090033",
"immutableReferences": {},
"sourceMap": "270:3200:22:-:0;;;;;;;;;;;;;;;;;;;",
"deployedSourceMap": "270:3200:22:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1771:207;;;;;;;;;:::i;:::-;;2949:133:27;;;:::i;:::-;;;;;;;;;;;;;;;;2006:43;;;:::i;2587:104:22:-;;;:::i;2473:108::-;;;:::i;985:110::-;;;;;;;;;:::i;264:22:37:-;;;:::i;:::-;;;;;;;;1112:36:27;;;:::i;2043:97:22:-;;;:::i;1604:31:27:-;;;:::i;:::-;;;;;;;;1688:42;;;:::i;2758:97:22:-;;;:::i;3243:135:27:-;;;:::i;2361:106:22:-;;;:::i;1202:27:27:-;;;:::i;1271:::-;;;:::i;1352:::-;;;:::i;912:32::-;;;:::i;963:225:37:-;;;:::i;3433:87:27:-;;;:::i;1101:274:22:-;;;;;;;;;:::i;1626:139::-;;;;;;;;;:::i;2055:41:27:-;;;;;;;;;:::i;:::-;;;;;;;;772:20;;;:::i;1419:23::-;;;:::i;2682:108::-;;;:::i;769:94:22:-;;;;;;;;;:::i;2796:147:27:-;;;;;;;;;:::i;1771:30::-;;;:::i;292:26:37:-;;;:::i;3166:146:22:-;;;;;;;;;:::i;2146:93::-;;;:::i;1036:29:27:-;;;:::i;2861:93:22:-;;;:::i;869:110::-;;;;;;;;;:::i;3318:150::-;;;;;;;;;:::i;1071:35:27:-;;;:::i;1002:28::-;;;:::i;839:34::-;;;:::i;1511:28::-;;;:::i;1849:36::-;;;:::i;2960:99:22:-;;;:::i;1641:41:27:-;;;:::i;2245:110:22:-;;;:::i;1545:28:27:-;;;:::i;798:35::-;;;:::i;1957:43::-;;;:::i;3065:95:22:-;;;:::i;1385:28:27:-;;;:::i;1808:35::-;;;:::i;879:27::-;;;:::i;1736:29::-;;;:::i;1579:18::-;;;:::i;1381:239:22:-;;;;;;;;;:::i;737:220:37:-;;;;;;;;;:::i;3088:149:27:-;;;;;;;;;:::i;1771:207:22:-;2212:12:27;;-1:-1:-1;;;;;2212:12:27;2198:10;:26;;:51;;-1:-1:-1;2242:7:27;;-1:-1:-1;;;;;2242:7:27;2228:10;:21;2198:51;2190:87;;;;-1:-1:-1;;;2190:87:27;;;;;;;;;;;;;;;;;1869:56:22::1;1889:17;;1908:16;1869:56;;;;;;;;;;;;;;;;1935:17;:36:::0;1771:207::o;2949:133:27:-;3040:20;;3027:48;;;-1:-1:-1;;;3027:48:27;;;;3001:7;;-1:-1:-1;;;;;3040:20:27;;3027:46;;:48;;;;;;;;;;;;;;3040:20;3027:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3020:55;;2949:133;;:::o;2006:43::-;;;;:::o;2587:104:22:-;648:7:37;;-1:-1:-1;;;;;648:7:37;634:10;:21;626:43;;;;-1:-1:-1;;;626:43:37;;;;;;;;;2341:8:27::1;::::0;-1:-1:-1;;;2341:8:27;::::1;;;2340:9;2332:33;;;;-1:-1:-1::0;;;2332:33:27::1;;;;;;;;;2680:4:22::2;2655:29:::0;;-1:-1:-1;;;;2655:29:22::2;-1:-1:-1::0;;;2655:29:22::2;::::0;;2587:104::o;2473:108::-;2212:12:27;;-1:-1:-1;;;;;2212:12:27;2198:10;:26;;:51;;-1:-1:-1;2242:7:27;;-1:-1:-1;;;;;2242:7:27;2228:10;:21;2198:51;2190:87;;;;-1:-1:-1;;;2190:87:27;;;;;;;;;2544:22:22::1;:30:::0;;-1:-1:-1;;;;2544:30:22::1;::::0;;2473:108::o;985:110::-;648:7:37;;-1:-1:-1;;;;;648:7:37;634:10;:21;626:43;;;;-1:-1:-1;;;626:43:37;;;;;;;;;1060:12:22::1;:28:::0;;-1:-1:-1;;;;;;1060:28:22::1;-1:-1:-1::0;;;;;1060:28:22;;;::::1;::::0;;;::::1;::::0;;985:110::o;264:22:37:-;;;-1:-1:-1;;;;;264:22:37;;:::o;1112:36:27:-;;;;:::o;2043:97:22:-;2212:12:27;;-1:-1:-1;;;;;2212:12:27;2198:10;:26;;:51;;-1:-1:-1;2242:7:27;;-1:-1:-1;;;;;2242:7:27;2228:10;:21;2198:51;2190:87;;;;-1:-1:-1;;;2190:87:27;;;;;;;;;2110:15:22::1;:23:::0;;-1:-1:-1;;;;2110:23:22::1;::::0;;2043:97::o;1604:31:27:-;;;;;;:::o;1688:42::-;;;;:::o;2758:97:22:-;2212:12:27;;-1:-1:-1;;;;;2212:12:27;2198:10;:26;;:51;;-1:-1:-1;2242:7:27;;-1:-1:-1;;;;;2242:7:27;2228:10;:21;2198:51;2190:87;;;;-1:-1:-1;;;2190:87:27;;;;;;;;;2824:16:22::1;:24:::0;;-1:-1:-1;;2824:24:22::1;::::0;;2758:97::o;3243:135:27:-;3335:21;;3322:49;;;-1:-1:-1;;;3322:49:27;;;;3296:7;;-1:-1:-1;;;;;3335:21:27;;3322:47;;:49;;;;;;;;;;;;;;3335:21;3322:49;;;;;;;;;;2361:106:22;648:7:37;;-1:-1:-1;;;;;648:7:37;634:10;:21;626:43;;;;-1:-1:-1;;;626:43:37;;;;;;;;;2341:8:27::1;::::0;-1:-1:-1;;;2341:8:27;::::1;;;2340:9;2332:33;;;;-1:-1:-1::0;;;2332:33:27::1;;;;;;;;;2456:4:22::2;2430:30:::0;;-1:-1:-1;;;;2430:30:22::2;-1:-1:-1::0;;;2430:30:22::2;::::0;;2361:106::o;1202:27:27:-;;;-1:-1:-1;;;;;1202:27:27;;:::o;1271:::-;;;-1:-1:-1;;;;;1271:27:27;;:::o;1352:::-;;;-1:-1:-1;;;;;1352:27:27;;:::o;912:32::-;;;;:::o;963:225:37:-;1030:11;;-1:-1:-1;;;;;1030:11:37;1016:10;:25;1008:51;;;;-1:-1:-1;;;1008:51:37;;;;;;;;;1104:11;;;1095:7;;1074:42;;-1:-1:-1;;;;;1104:11:37;;;;1095:7;;;;1074:42;;;1136:11;;;;1126:21;;-1:-1:-1;;;;;;1126:21:37;;;-1:-1:-1;;;;;1136:11:37;;1126:21;;;;1157:24;;;963:225::o;3433:87:27:-;3501:3;3433:87;:::o;1101:274:22:-;648:7:37;;-1:-1:-1;;;;;648:7:37;634:10;:21;626:43;;;;-1:-1:-1;;;626:43:37;;;;;;;;;1209:74:22::1;1240:13;;1255:27;1209:74;;;;;;;;;;;;;;;;1293:13;:43:::0;;;1346:22:::1;:20;:22::i;:::-;;1101:274:::0;:::o;1626:139::-;648:7:37;;-1:-1:-1;;;;;648:7:37;634:10;:21;626:43;;;;-1:-1:-1;;;626:43:37;;;;;;;;;1688:18:22::1;1696:3;;1701:4;1688:18;;;;;;;;;;;;;;;;1716:3;:10:::0;;;1736:22:::1;:20;:22::i;2055:41:27:-:0;;;;;;;;;;;;;;;:::o;772:20::-;;;-1:-1:-1;;;772:20:27;;;;;:::o;1419:23::-;;;-1:-1:-1;;;;;1419:23:27;;:::o;2682:108::-;2763:8;;2755:28;;;-1:-1:-1;;;2755:28:27;;;;2729:7;;-1:-1:-1;;;;;2763:8:27;;2755:26;;:28;;;;;;;;;;;;;;2763:8;2755:28;;;;;;;;;;769:94:22;648:7:37;;-1:-1:-1;;;;;648:7:37;634:10;:21;626:43;;;;-1:-1:-1;;;626:43:37;;;;;;;;;836:8:22::1;:20:::0;;-1:-1:-1;;;;;;836:20:22::1;-1:-1:-1::0;;;;;836:20:22;;;::::1;::::0;;;::::1;::::0;;769:94::o;2796:147:27:-;2901:20;;2888:48;;-1:-1:-1;;;2888:48:27;;2862:7;;-1:-1:-1;;;;;2901:20:27;;2888:44;;:48;;2933:2;;2888:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2881:55;2796:147;-1:-1:-1;;2796:147:27:o;1771:30::-;;;;:::o;292:26:37:-;;;-1:-1:-1;;;;;292:26:37;;:::o;3166:146:22:-;648:7:37;;-1:-1:-1;;;;;648:7:37;634:10;:21;626:43;;;;-1:-1:-1;;;626:43:37;;;;;;;;;2341:8:27::1;::::0;-1:-1:-1;;;2341:8:27;::::1;;;2340:9;2332:33;;;;-1:-1:-1::0;;;2332:33:27::1;;;;;;;;;3263:20:22::2;:42:::0;3166:146::o;2146:93::-;648:7:37;;-1:-1:-1;;;;;648:7:37;634:10;:21;626:43;;;;-1:-1:-1;;;626:43:37;;;;;;;;;2341:8:27::1;::::0;-1:-1:-1;;;2341:8:27;::::1;;;2340:9;2332:33;;;;-1:-1:-1::0;;;2332:33:27::1;;;;;;;;;2228:4:22::2;2210:22:::0;;-1:-1:-1;;;;2210:22:22::2;-1:-1:-1::0;;;2210:22:22::2;::::0;;2146:93::o;1036:29:27:-;;;;;;;;;:::o;2861:93:22:-;648:7:37;;-1:-1:-1;;;;;648:7:37;634:10;:21;626:43;;;;-1:-1:-1;;;626:43:37;;;;;;;;;2341:8:27::1;::::0;-1:-1:-1;;;2341:8:27;::::1;;;2340:9;2332:33;;;;-1:-1:-1::0;;;2332:33:27::1;;;;;;;;;2924:16:22::2;:23:::0;;-1:-1:-1;;2924:23:22::2;2943:4;2924:23;::::0;;2861:93::o;869:110::-;648:7:37;;-1:-1:-1;;;;;648:7:37;634:10;:21;626:43;;;;-1:-1:-1;;;626:43:37;;;;;;;;;944:12:22::1;:28:::0;;-1:-1:-1;;;;;;944:28:22::1;-1:-1:-1::0;;;;;944:28:22;;;::::1;::::0;;;::::1;::::0;;869:110::o;3318:150::-;648:7:37;;-1:-1:-1;;;;;648:7:37;634:10;:21;626:43;;;;-1:-1:-1;;;626:43:37;;;;;;;;;2341:8:27::1;::::0;-1:-1:-1;;;2341:8:27;::::1;;;2340:9;2332:33;;;;-1:-1:-1::0;;;2332:33:27::1;;;;;;;;;3417:21:22::2;:44:::0;3318:150::o;1071:35:27:-;;;;:::o;1002:28::-;;;;;;:::o;839:34::-;;;-1:-1:-1;;;839:34:27;;;;;:::o;1511:28::-;;;;:::o;1849:36::-;;;-1:-1:-1;;;;;1849:36:27;;:::o;2960:99:22:-;2212:12:27;;-1:-1:-1;;;;;2212:12:27;2198:10;:26;;:51;;-1:-1:-1;2242:7:27;;-1:-1:-1;;;;;2242:7:27;2228:10;:21;2198:51;2190:87;;;;-1:-1:-1;;;2190:87:27;;;;;;;;;3027:17:22::1;:25:::0;;-1:-1:-1;;3027:25:22::1;::::0;;2960:99::o;1641:41:27:-;;;;:::o;2245:110:22:-;2212:12:27;;-1:-1:-1;;;;;2212:12:27;2198:10;:26;;:51;;-1:-1:-1;2242:7:27;;-1:-1:-1;;;;;2242:7:27;2228:10;:21;2198:51;2190:87;;;;-1:-1:-1;;;2190:87:27;;;;;;;;;2317:23:22::1;:31:::0;;-1:-1:-1;;;;2317:31:22::1;::::0;;2245:110::o;1545:28:27:-;;;;:::o;798:35::-;;;-1:-1:-1;;;798:35:27;;;;;:::o;1957:43::-;;;;:::o;3065:95:22:-;648:7:37;;-1:-1:-1;;;;;648:7:37;634:10;:21;626:43;;;;-1:-1:-1;;;626:43:37;;;;;;;;;2341:8:27::1;::::0;-1:-1:-1;;;2341:8:27;::::1;;;2340:9;2332:33;;;;-1:-1:-1::0;;;2332:33:27::1;;;;;;;;;3129:17:22::2;:24:::0;;-1:-1:-1;;3129:24:22::2;;;::::0;;3065:95::o;1385:28:27:-;;;-1:-1:-1;;;;;1385:28:27;;:::o;1808:35::-;;;-1:-1:-1;;;;;1808:35:27;;:::o;879:27::-;;;-1:-1:-1;;;879:27:27;;;;;:::o;1736:29::-;;;;:::o;1579:18::-;;;;:::o;1381:239:22:-;648:7:37;;-1:-1:-1;;;;;648:7:37;634:10;:21;626:43;;;;-1:-1:-1;;;626:43:37;;;;;;;;;1475:60:22::1;1499:13;;1514:20;1475:60;;;;;;;;;;;;;;;;1545:13;:36:::0;;;1591:22:::1;:20;:22::i;737:220:37:-:0;648:7;;-1:-1:-1;;;;;648:7:37;634:10;:21;626:43;;;;-1:-1:-1;;;626:43:37;;;;;;;;;-1:-1:-1;;;;;819:22:37;::::1;811:48;;;;-1:-1:-1::0;;;811:48:37::1;;;;;;;;;900:7;::::0;;874:44:::1;::::0;-1:-1:-1;;;;;874:44:37;;::::1;::::0;900:7;::::1;::::0;874:44:::1;::::0;::::1;928:11;:22:::0;;-1:-1:-1;;;;;;928:22:37::1;-1:-1:-1::0;;;;;928:22:37;;;::::1;::::0;;;::::1;::::0;;737:220::o;3088:149:27:-;3194:21;;3181:49;;-1:-1:-1;;;3181:49:27;;3155:7;;-1:-1:-1;;;;;3194:21:27;;3181:45;;:49;;3227:2;;3181:49;;;;2440:236;2495:7;379:6:36;2522:3:27;;:21;2514:38;;;;-1:-1:-1;;;2514:38:27;;;;;;;;;2576:1;2570:3;;:7;2562:23;;;;-1:-1:-1;;;2562:23:27;;;;;;;;;379:6:36;2603:32:27;2621:13;;2603;;:17;;:32;;;;:::i;:::-;:50;2595:74;;;;-1:-1:-1;;;2595:74:27;;;;;;;;1074:157:41;1132:7;1163:5;;;1186:6;;;;1178:28;;;;-1:-1:-1;;;1178:28:41;;;;;;;;;1223:1;1074:157;-1:-1:-1;;;1074:157:41:o;420:241:-1:-;;524:2;512:9;503:7;499:23;495:32;492:2;;;-1:-1;;530:12;492:2;72:20;;-1:-1;;;;;10201:54;;10655:35;;10645:2;;-1:-1;;10694:12;668:241;;772:2;760:9;751:7;747:23;743:32;740:2;;;-1:-1;;778:12;740:2;-1:-1;209:20;;734:175;-1:-1;734:175;916:263;;1031:2;1019:9;1010:7;1006:23;1002:32;999:2;;;-1:-1;;1037:12;999:2;-1:-1;357:13;;993:186;-1:-1;993:186;4565:222;-1:-1;;;;;10201:54;;;;1257:37;;4692:2;4677:18;;4663:124;4794:210;9974:13;;9967:21;1371:34;;4915:2;4900:18;;4886:118;5011:244;5149:2;5134:18;;10567:1;10557:12;;10547:2;;10573:9;10547:2;1499:61;;;5120:135;;5262:416;5462:2;5476:47;;;1797:1;5447:18;;;9742:19;-1:-1;;;9782:14;;;1812:26;1857:12;;;5433:245;5685:416;5885:2;5899:47;;;2108:2;5870:18;;;9742:19;-1:-1;;;9782:14;;;2124:36;2179:12;;;5856:245;6108:416;6308:2;6322:47;;;2430:2;6293:18;;;9742:19;2466:25;9782:14;;;2446:46;2511:12;;;6279:245;6531:416;6731:2;6745:47;;;2762:2;6716:18;;;9742:19;-1:-1;;;9782:14;;;2778:36;2833:12;;;6702:245;6954:416;7154:2;7168:47;;;3084:2;7139:18;;;9742:19;-1:-1;;;9782:14;;;3100:34;3153:12;;;7125:245;7377:416;7577:2;7591:47;;;3404:2;7562:18;;;9742:19;-1:-1;;;9782:14;;;3420:34;3473:12;;;7548:245;7800:416;8000:2;8014:47;;;3724:1;7985:18;;;9742:19;-1:-1;;;9782:14;;;3739:32;3790:12;;;7971:245;8223:416;8423:2;8437:47;;;4041:1;8408:18;;;9742:19;-1:-1;;;9782:14;;;4056:32;4107:12;;;8394:245;8646:416;8846:2;8860:47;;;4358:1;8831:18;;;9742:19;-1:-1;;;9782:14;;;4373:27;4419:12;;;8817:245;9069:222;4516:37;;;9196:2;9181:18;;9167:124;9298:333;4516:37;;;9617:2;9602:18;;4516:37;9453:2;9438:18;;9424:207",
"source": "/*\n\n Copyright 2020 DODO ZOO.\n SPDX-License-Identifier: Apache-2.0\n\n*/\n\npragma solidity 0.6.9;\npragma experimental ABIEncoderV2;\n\nimport {Storage} from \"./Storage.sol\";\n\n\n/**\n * @title Admin\n * @author DODO Breeder\n *\n * @notice Functions for admin operations\n */\ncontract Admin is Storage {\n // ============ Events ============\n\n event UpdateGasPriceLimit(uint256 oldGasPriceLimit, uint256 newGasPriceLimit);\n\n event UpdateLiquidityProviderFeeRate(\n uint256 oldLiquidityProviderFeeRate,\n uint256 newLiquidityProviderFeeRate\n );\n\n event UpdateMaintainerFeeRate(uint256 oldMaintainerFeeRate, uint256 newMaintainerFeeRate);\n\n event UpdateK(uint256 oldK, uint256 newK);\n\n // ============ Params Setting Functions ============\n\n function setOracle(address newOracle) external onlyOwner {\n _ORACLE_ = newOracle;\n }\n\n function setSupervisor(address newSupervisor) external onlyOwner {\n _SUPERVISOR_ = newSupervisor;\n }\n\n function setMaintainer(address newMaintainer) external onlyOwner {\n _MAINTAINER_ = newMaintainer;\n }\n\n function setLiquidityProviderFeeRate(uint256 newLiquidityPorviderFeeRate) external onlyOwner {\n emit UpdateLiquidityProviderFeeRate(_LP_FEE_RATE_, newLiquidityPorviderFeeRate);\n _LP_FEE_RATE_ = newLiquidityPorviderFeeRate;\n _checkDODOParameters();\n }\n\n function setMaintainerFeeRate(uint256 newMaintainerFeeRate) external onlyOwner {\n emit UpdateMaintainerFeeRate(_MT_FEE_RATE_, newMaintainerFeeRate);\n _MT_FEE_RATE_ = newMaintainerFeeRate;\n _checkDODOParameters();\n }\n\n function setK(uint256 newK) external onlyOwner {\n emit UpdateK(_K_, newK);\n _K_ = newK;\n _checkDODOParameters();\n }\n\n function setGasPriceLimit(uint256 newGasPriceLimit) external onlySupervisorOrOwner {\n emit UpdateGasPriceLimit(_GAS_PRICE_LIMIT_, newGasPriceLimit);\n _GAS_PRICE_LIMIT_ = newGasPriceLimit;\n }\n\n // ============ System Control Functions ============\n\n function disableTrading() external onlySupervisorOrOwner {\n _TRADE_ALLOWED_ = false;\n }\n\n function enableTrading() external onlyOwner notClosed {\n _TRADE_ALLOWED_ = true;\n }\n\n function disableQuoteDeposit() external onlySupervisorOrOwner {\n _DEPOSIT_QUOTE_ALLOWED_ = false;\n }\n\n function enableQuoteDeposit() external onlyOwner notClosed {\n _DEPOSIT_QUOTE_ALLOWED_ = true;\n }\n\n function disableBaseDeposit() external onlySupervisorOrOwner {\n _DEPOSIT_BASE_ALLOWED_ = false;\n }\n\n function enableBaseDeposit() external onlyOwner notClosed {\n _DEPOSIT_BASE_ALLOWED_ = true;\n }\n\n // ============ Advanced Control Functions ============\n\n function disableBuying() external onlySupervisorOrOwner {\n _BUYING_ALLOWED_ = false;\n }\n\n function enableBuying() external onlyOwner notClosed {\n _BUYING_ALLOWED_ = true;\n }\n\n function disableSelling() external onlySupervisorOrOwner {\n _SELLING_ALLOWED_ = false;\n }\n\n function enableSelling() external onlyOwner notClosed {\n _SELLING_ALLOWED_ = true;\n }\n\n function setBaseBalanceLimit(uint256 newBaseBalanceLimit) external onlyOwner notClosed {\n _BASE_BALANCE_LIMIT_ = newBaseBalanceLimit;\n }\n\n function setQuoteBalanceLimit(uint256 newQuoteBalanceLimit) external onlyOwner notClosed {\n _QUOTE_BALANCE_LIMIT_ = newQuoteBalanceLimit;\n }\n}\n",
"sourcePath": "/Users/owen/Desktop/dodo/dodo-smart-contract/contracts/impl/Admin.sol",
"ast": {
"absolutePath": "/Users/owen/Desktop/dodo/dodo-smart-contract/contracts/impl/Admin.sol",
"exportedSymbols": {
"Admin": [
6963
]
},
"id": 6964,
"license": "Apache-2.0",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 6681,
"literals": [
"solidity",
"0.6",
".9"
],
"nodeType": "PragmaDirective",
"src": "78:22:22"
},
{
"id": 6682,
"literals": [
"experimental",
"ABIEncoderV2"
],
"nodeType": "PragmaDirective",
"src": "101:33:22"
},
{
"absolutePath": "/Users/owen/Desktop/dodo/dodo-smart-contract/contracts/impl/Storage.sol",
"file": "./Storage.sol",
"id": 6684,
"nodeType": "ImportDirective",
"scope": 6964,
"sourceUnit": 9614,
"src": "136:38:22",
"symbolAliases": [
{
"foreign": {
"argumentTypes": null,
"id": 6683,
"name": "Storage",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": null,
"src": "144:7:22",
"typeDescriptions": {
"typeIdentifier": null,
"typeString": null
}
},
"local": null
}
],
"unitAlias": ""
},
{
"abstract": false,
"baseContracts": [
{
"arguments": null,
"baseName": {
"contractScope": null,
"id": 6686,
"name": "Storage",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 9613,
"src": "288:7:22",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Storage_$9613",
"typeString": "contract Storage"
}
},
"id": 6687,
"nodeType": "InheritanceSpecifier",
"src": "288:7:22"
}
],
"contractDependencies": [
9613,
11166,
11296
],
"contractKind": "contract",
"documentation": {
"id": 6685,
"nodeType": "StructuredDocumentation",
"src": "177:92:22",
"text": " @title Admin\n @author DODO Breeder\n @notice Functions for admin operations"
},
"fullyImplemented": true,
"id": 6963,
"linearizedBaseContracts": [
6963,
9613,
11296,
11166
],
"name": "Admin",
"nodeType": "ContractDefinition",
"nodes": [
{
"anonymous": false,
"documentation": null,
"id": 6693,
"name": "UpdateGasPriceLimit",
"nodeType": "EventDefinition",
"parameters": {
"id": 6692,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 6689,
"indexed": false,
"mutability": "mutable",
"name": "oldGasPriceLimit",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 6693,
"src": "369:24:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 6688,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "369:7:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 6691,
"indexed": false,
"mutability": "mutable",
"name": "newGasPriceLimit",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 6693,
"src": "395:24:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 6690,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "395:7:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "368:52:22"
},
"src": "343:78:22"
},
{
"anonymous": false,
"documentation": null,
"id": 6699,
"name": "UpdateLiquidityProviderFeeRate",
"nodeType": "EventDefinition",
"parameters": {
"id": 6698,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 6695,
"indexed": false,
"mutability": "mutable",
"name": "oldLiquidityProviderFeeRate",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 6699,
"src": "473:35:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 6694,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "473:7:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 6697,
"indexed": false,
"mutability": "mutable",
"name": "newLiquidityProviderFeeRate",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 6699,
"src": "518:35:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 6696,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "518:7:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "463:96:22"
},
"src": "427:133:22"
},
{
"anonymous": false,
"documentation": null,
"id": 6705,
"name": "UpdateMaintainerFeeRate",
"nodeType": "EventDefinition",
"parameters": {
"id": 6704,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 6701,
"indexed": false,
"mutability": "mutable",
"name": "oldMaintainerFeeRate",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 6705,
"src": "596:28:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 6700,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "596:7:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 6703,
"indexed": false,
"mutability": "mutable",
"name": "newMaintainerFeeRate",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 6705,
"src": "626:28:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 6702,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "626:7:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "595:60:22"
},
"src": "566:90:22"
},
{
"anonymous": false,
"documentation": null,
"id": 6711,
"name": "UpdateK",
"nodeType": "EventDefinition",
"parameters": {
"id": 6710,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 6707,
"indexed": false,
"mutability": "mutable",
"name": "oldK",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 6711,
"src": "676:12:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 6706,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "676:7:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 6709,
"indexed": false,
"mutability": "mutable",
"name": "newK",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 6711,
"src": "690:12:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 6708,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "690:7:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "675:28:22"
},
"src": "662:42:22"
},
{
"body": {
"id": 6722,
"nodeType": "Block",
"src": "826:37:22",
"statements": [
{
"expression": {
"argumentTypes": null,
"id": 6720,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 6718,
"name": "_ORACLE_",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9451,
"src": "836:8:22",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"id": 6719,
"name": "newOracle",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 6713,
"src": "847:9:22",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"src": "836:20:22",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"id": 6721,
"nodeType": "ExpressionStatement",
"src": "836:20:22"
}
]
},
"documentation": null,
"functionSelector": "7adbf973",
"id": 6723,
"implemented": true,
"kind": "function",
"modifiers": [
{
"arguments": null,
"id": 6716,
"modifierName": {
"argumentTypes": null,
"id": 6715,
"name": "onlyOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 11110,
"src": "816:9:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "816:9:22"
}
],
"name": "setOracle",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 6714,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 6713,
"mutability": "mutable",
"name": "newOracle",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 6723,
"src": "788:17:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 6712,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "788:7:22",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "787:19:22"
},
"returnParameters": {
"id": 6717,
"nodeType": "ParameterList",
"parameters": [],
"src": "826:0:22"
},
"scope": 6963,
"src": "769:94:22",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"body": {
"id": 6734,
"nodeType": "Block",
"src": "934:45:22",
"statements": [
{
"expression": {
"argumentTypes": null,
"id": 6732,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 6730,
"name": "_SUPERVISOR_",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9443,
"src": "944:12:22",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"id": 6731,
"name": "newSupervisor",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 6725,
"src": "959:13:22",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"src": "944:28:22",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"id": 6733,
"nodeType": "ExpressionStatement",
"src": "944:28:22"
}
]
},
"documentation": null,
"functionSelector": "9299eb30",
"id": 6735,
"implemented": true,
"kind": "function",
"modifiers": [
{
"arguments": null,
"id": 6728,
"modifierName": {
"argumentTypes": null,
"id": 6727,
"name": "onlyOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 11110,
"src": "924:9:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "924:9:22"
}
],
"name": "setSupervisor",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 6726,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 6725,
"mutability": "mutable",
"name": "newSupervisor",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 6735,
"src": "892:21:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 6724,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "892:7:22",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "891:23:22"
},
"returnParameters": {
"id": 6729,
"nodeType": "ParameterList",
"parameters": [],
"src": "934:0:22"
},
"scope": 6963,
"src": "869:110:22",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"body": {
"id": 6746,
"nodeType": "Block",
"src": "1050:45:22",
"statements": [
{
"expression": {
"argumentTypes": null,
"id": 6744,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 6742,
"name": "_MAINTAINER_",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9445,
"src": "1060:12:22",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"id": 6743,
"name": "newMaintainer",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 6737,
"src": "1075:13:22",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"src": "1060:28:22",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"id": 6745,
"nodeType": "ExpressionStatement",
"src": "1060:28:22"
}
]
},
"documentation": null,
"functionSelector": "13ea5d29",
"id": 6747,
"implemented": true,
"kind": "function",
"modifiers": [
{
"arguments": null,
"id": 6740,
"modifierName": {
"argumentTypes": null,
"id": 6739,
"name": "onlyOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 11110,
"src": "1040:9:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "1040:9:22"
}
],
"name": "setMaintainer",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 6738,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 6737,
"mutability": "mutable",
"name": "newMaintainer",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 6747,
"src": "1008:21:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 6736,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1008:7:22",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "1007:23:22"
},
"returnParameters": {
"id": 6741,
"nodeType": "ParameterList",
"parameters": [],
"src": "1050:0:22"
},
"scope": 6963,
"src": "985:110:22",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"body": {
"id": 6766,
"nodeType": "Block",
"src": "1194:181:22",
"statements": [
{
"eventCall": {
"argumentTypes": null,
"arguments": [
{
"argumentTypes": null,
"id": 6755,
"name": "_LP_FEE_RATE_",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9453,
"src": "1240:13:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
{
"argumentTypes": null,
"id": 6756,
"name": "newLiquidityPorviderFeeRate",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 6749,
"src": "1255:27:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
{
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
],
"id": 6754,
"name": "UpdateLiquidityProviderFeeRate",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 6699,
"src": "1209:30:22",
"typeDescriptions": {
"typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$returns$__$",
"typeString": "function (uint256,uint256)"
}
},
"id": 6757,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "1209:74:22",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 6758,
"nodeType": "EmitStatement",
"src": "1204:79:22"
},
{
"expression": {
"argumentTypes": null,
"id": 6761,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 6759,
"name": "_LP_FEE_RATE_",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9453,
"src": "1293:13:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"id": 6760,
"name": "newLiquidityPorviderFeeRate",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 6749,
"src": "1309:27:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"src": "1293:43:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 6762,
"nodeType": "ExpressionStatement",
"src": "1293:43:22"
},
{
"expression": {
"argumentTypes": null,
"arguments": [],
"expression": {
"argumentTypes": [],
"id": 6763,
"name": "_checkDODOParameters",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9538,
"src": "1346:20:22",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_view$__$returns$_t_uint256_$",
"typeString": "function () view returns (uint256)"
}
},
"id": 6764,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "1346:22:22",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 6765,
"nodeType": "ExpressionStatement",
"src": "1346:22:22"
}
]
},
"documentation": null,
"functionSelector": "5bb7552a",
"id": 6767,
"implemented": true,
"kind": "function",
"modifiers": [
{
"arguments": null,
"id": 6752,
"modifierName": {
"argumentTypes": null,
"id": 6751,
"name": "onlyOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 11110,
"src": "1184:9:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "1184:9:22"
}
],
"name": "setLiquidityProviderFeeRate",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 6750,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 6749,
"mutability": "mutable",
"name": "newLiquidityPorviderFeeRate",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 6767,
"src": "1138:35:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 6748,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1138:7:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "1137:37:22"
},
"returnParameters": {
"id": 6753,
"nodeType": "ParameterList",
"parameters": [],
"src": "1194:0:22"
},
"scope": 6963,
"src": "1101:274:22",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"body": {
"id": 6786,
"nodeType": "Block",
"src": "1460:160:22",
"statements": [
{
"eventCall": {
"argumentTypes": null,
"arguments": [
{
"argumentTypes": null,
"id": 6775,
"name": "_MT_FEE_RATE_",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9455,
"src": "1499:13:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
{
"argumentTypes": null,
"id": 6776,
"name": "newMaintainerFeeRate",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 6769,
"src": "1514:20:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
{
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
],
"id": 6774,
"name": "UpdateMaintainerFeeRate",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 6705,
"src": "1475:23:22",
"typeDescriptions": {
"typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$returns$__$",
"typeString": "function (uint256,uint256)"
}
},
"id": 6777,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "1475:60:22",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 6778,
"nodeType": "EmitStatement",
"src": "1470:65:22"
},
{
"expression": {
"argumentTypes": null,
"id": 6781,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 6779,
"name": "_MT_FEE_RATE_",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9455,
"src": "1545:13:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"id": 6780,
"name": "newMaintainerFeeRate",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 6769,
"src": "1561:20:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"src": "1545:36:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 6782,
"nodeType": "ExpressionStatement",
"src": "1545:36:22"
},
{
"expression": {
"argumentTypes": null,
"arguments": [],
"expression": {
"argumentTypes": [],
"id": 6783,
"name": "_checkDODOParameters",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9538,
"src": "1591:20:22",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_view$__$returns$_t_uint256_$",
"typeString": "function () view returns (uint256)"
}
},
"id": 6784,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "1591:22:22",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 6785,
"nodeType": "ExpressionStatement",
"src": "1591:22:22"
}
]
},
"documentation": null,
"functionSelector": "f2220416",
"id": 6787,
"implemented": true,
"kind": "function",
"modifiers": [
{
"arguments": null,
"id": 6772,
"modifierName": {
"argumentTypes": null,
"id": 6771,
"name": "onlyOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 11110,
"src": "1450:9:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "1450:9:22"
}
],
"name": "setMaintainerFeeRate",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 6770,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 6769,
"mutability": "mutable",
"name": "newMaintainerFeeRate",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 6787,
"src": "1411:28:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 6768,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1411:7:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "1410:30:22"
},
"returnParameters": {
"id": 6773,
"nodeType": "ParameterList",
"parameters": [],
"src": "1460:0:22"
},
"scope": 6963,
"src": "1381:239:22",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"body": {
"id": 6806,
"nodeType": "Block",
"src": "1673:92:22",
"statements": [
{
"eventCall": {
"argumentTypes": null,
"arguments": [
{
"argumentTypes": null,
"id": 6795,
"name": "_K_",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9457,
"src": "1696:3:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
{
"argumentTypes": null,
"id": 6796,
"name": "newK",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 6789,
"src": "1701:4:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
{
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
],
"id": 6794,
"name": "UpdateK",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 6711,
"src": "1688:7:22",
"typeDescriptions": {
"typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$returns$__$",
"typeString": "function (uint256,uint256)"
}
},
"id": 6797,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "1688:18:22",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 6798,
"nodeType": "EmitStatement",
"src": "1683:23:22"
},
{
"expression": {
"argumentTypes": null,
"id": 6801,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 6799,
"name": "_K_",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9457,
"src": "1716:3:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"id": 6800,
"name": "newK",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 6789,
"src": "1722:4:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"src": "1716:10:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 6802,
"nodeType": "ExpressionStatement",
"src": "1716:10:22"
},
{
"expression": {
"argumentTypes": null,
"arguments": [],
"expression": {
"argumentTypes": [],
"id": 6803,
"name": "_checkDODOParameters",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9538,
"src": "1736:20:22",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_view$__$returns$_t_uint256_$",
"typeString": "function () view returns (uint256)"
}
},
"id": 6804,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "1736:22:22",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 6805,
"nodeType": "ExpressionStatement",
"src": "1736:22:22"
}
]
},
"documentation": null,
"functionSelector": "67de8be9",
"id": 6807,
"implemented": true,
"kind": "function",
"modifiers": [
{
"arguments": null,
"id": 6792,
"modifierName": {
"argumentTypes": null,
"id": 6791,
"name": "onlyOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 11110,
"src": "1663:9:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "1663:9:22"
}
],
"name": "setK",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 6790,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 6789,
"mutability": "mutable",
"name": "newK",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 6807,
"src": "1640:12:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 6788,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1640:7:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "1639:14:22"
},
"returnParameters": {
"id": 6793,
"nodeType": "ParameterList",
"parameters": [],
"src": "1673:0:22"
},
"scope": 6963,
"src": "1626:139:22",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"body": {
"id": 6823,
"nodeType": "Block",
"src": "1854:124:22",
"statements": [
{
"eventCall": {
"argumentTypes": null,
"arguments": [
{
"argumentTypes": null,
"id": 6815,
"name": "_GAS_PRICE_LIMIT_",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9433,
"src": "1889:17:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
{
"argumentTypes": null,
"id": 6816,
"name": "newGasPriceLimit",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 6809,
"src": "1908:16:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
{
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
],
"id": 6814,
"name": "UpdateGasPriceLimit",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 6693,
"src": "1869:19:22",
"typeDescriptions": {
"typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$returns$__$",
"typeString": "function (uint256,uint256)"
}
},
"id": 6817,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "1869:56:22",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 6818,
"nodeType": "EmitStatement",
"src": "1864:61:22"
},
{
"expression": {
"argumentTypes": null,
"id": 6821,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 6819,
"name": "_GAS_PRICE_LIMIT_",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9433,
"src": "1935:17:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"id": 6820,
"name": "newGasPriceLimit",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 6809,
"src": "1955:16:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"src": "1935:36:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 6822,
"nodeType": "ExpressionStatement",
"src": "1935:36:22"
}
]
},
"documentation": null,
"functionSelector": "09231602",
"id": 6824,
"implemented": true,
"kind": "function",
"modifiers": [
{
"arguments": null,
"id": 6812,
"modifierName": {
"argumentTypes": null,
"id": 6811,
"name": "onlySupervisorOrOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9496,
"src": "1832:21:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "1832:21:22"
}
],
"name": "setGasPriceLimit",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 6810,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 6809,
"mutability": "mutable",
"name": "newGasPriceLimit",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 6824,
"src": "1797:24:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 6808,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1797:7:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "1796:26:22"
},
"returnParameters": {
"id": 6813,
"nodeType": "ParameterList",
"parameters": [],
"src": "1854:0:22"
},
"scope": 6963,
"src": "1771:207:22",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"body": {
"id": 6833,
"nodeType": "Block",
"src": "2100:40:22",
"statements": [
{
"expression": {
"argumentTypes": null,
"id": 6831,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 6829,
"name": "_TRADE_ALLOWED_",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9431,
"src": "2110:15:22",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"hexValue": "66616c7365",
"id": 6830,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "bool",
"lValueRequested": false,
"nodeType": "Literal",
"src": "2128:5:22",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"value": "false"
},
"src": "2110:23:22",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"id": 6832,
"nodeType": "ExpressionStatement",
"src": "2110:23:22"
}
]
},
"documentation": null,
"functionSelector": "17700f01",
"id": 6834,
"implemented": true,
"kind": "function",
"modifiers": [
{
"arguments": null,
"id": 6827,
"modifierName": {
"argumentTypes": null,
"id": 6826,
"name": "onlySupervisorOrOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9496,
"src": "2078:21:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "2078:21:22"
}
],
"name": "disableTrading",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 6825,
"nodeType": "ParameterList",
"parameters": [],
"src": "2066:2:22"
},
"returnParameters": {
"id": 6828,
"nodeType": "ParameterList",
"parameters": [],
"src": "2100:0:22"
},
"scope": 6963,
"src": "2043:97:22",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"body": {
"id": 6845,
"nodeType": "Block",
"src": "2200:39:22",
"statements": [
{
"expression": {
"argumentTypes": null,
"id": 6843,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 6841,
"name": "_TRADE_ALLOWED_",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9431,
"src": "2210:15:22",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"hexValue": "74727565",
"id": 6842,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "bool",
"lValueRequested": false,
"nodeType": "Literal",
"src": "2228:4:22",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"value": "true"
},
"src": "2210:22:22",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"id": 6844,
"nodeType": "ExpressionStatement",
"src": "2210:22:22"
}
]
},
"documentation": null,
"functionSelector": "8a8c523c",
"id": 6846,
"implemented": true,
"kind": "function",
"modifiers": [
{
"arguments": null,
"id": 6837,
"modifierName": {
"argumentTypes": null,
"id": 6836,
"name": "onlyOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 11110,
"src": "2180:9:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "2180:9:22"
},
{
"arguments": null,
"id": 6839,
"modifierName": {
"argumentTypes": null,
"id": 6838,
"name": "notClosed",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9506,
"src": "2190:9:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "2190:9:22"
}
],
"name": "enableTrading",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 6835,
"nodeType": "ParameterList",
"parameters": [],
"src": "2168:2:22"
},
"returnParameters": {
"id": 6840,
"nodeType": "ParameterList",
"parameters": [],
"src": "2200:0:22"
},
"scope": 6963,
"src": "2146:93:22",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"body": {
"id": 6855,
"nodeType": "Block",
"src": "2307:48:22",
"statements": [
{
"expression": {
"argumentTypes": null,
"id": 6853,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 6851,
"name": "_DEPOSIT_QUOTE_ALLOWED_",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9427,
"src": "2317:23:22",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"hexValue": "66616c7365",
"id": 6852,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "bool",
"lValueRequested": false,
"nodeType": "Literal",
"src": "2343:5:22",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"value": "false"
},
"src": "2317:31:22",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"id": 6854,
"nodeType": "ExpressionStatement",
"src": "2317:31:22"
}
]
},
"documentation": null,
"functionSelector": "bc7d679d",
"id": 6856,
"implemented": true,
"kind": "function",
"modifiers": [
{
"arguments": null,
"id": 6849,
"modifierName": {
"argumentTypes": null,
"id": 6848,
"name": "onlySupervisorOrOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9496,
"src": "2285:21:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "2285:21:22"
}
],
"name": "disableQuoteDeposit",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 6847,
"nodeType": "ParameterList",
"parameters": [],
"src": "2273:2:22"
},
"returnParameters": {
"id": 6850,
"nodeType": "ParameterList",
"parameters": [],
"src": "2307:0:22"
},
"scope": 6963,
"src": "2245:110:22",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"body": {
"id": 6867,
"nodeType": "Block",
"src": "2420:47:22",
"statements": [
{
"expression": {
"argumentTypes": null,
"id": 6865,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 6863,
"name": "_DEPOSIT_QUOTE_ALLOWED_",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9427,
"src": "2430:23:22",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"hexValue": "74727565",
"id": 6864,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "bool",
"lValueRequested": false,
"nodeType": "Literal",
"src": "2456:4:22",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"value": "true"
},
"src": "2430:30:22",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"id": 6866,
"nodeType": "ExpressionStatement",
"src": "2430:30:22"
}
]
},
"documentation": null,
"functionSelector": "36ac41a8",
"id": 6868,
"implemented": true,
"kind": "function",
"modifiers": [
{
"arguments": null,
"id": 6859,
"modifierName": {
"argumentTypes": null,
"id": 6858,
"name": "onlyOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 11110,
"src": "2400:9:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "2400:9:22"
},
{
"arguments": null,
"id": 6861,
"modifierName": {
"argumentTypes": null,
"id": 6860,
"name": "notClosed",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9506,
"src": "2410:9:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "2410:9:22"
}
],
"name": "enableQuoteDeposit",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 6857,
"nodeType": "ParameterList",
"parameters": [],
"src": "2388:2:22"
},
"returnParameters": {
"id": 6862,
"nodeType": "ParameterList",
"parameters": [],
"src": "2420:0:22"
},
"scope": 6963,
"src": "2361:106:22",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"body": {
"id": 6877,
"nodeType": "Block",
"src": "2534:47:22",
"statements": [
{
"expression": {
"argumentTypes": null,
"id": 6875,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 6873,
"name": "_DEPOSIT_BASE_ALLOWED_",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9429,
"src": "2544:22:22",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"hexValue": "66616c7365",
"id": 6874,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "bool",
"lValueRequested": false,
"nodeType": "Literal",
"src": "2569:5:22",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"value": "false"
},
"src": "2544:30:22",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"id": 6876,
"nodeType": "ExpressionStatement",
"src": "2544:30:22"
}
]
},
"documentation": null,
"functionSelector": "13c57624",
"id": 6878,
"implemented": true,
"kind": "function",
"modifiers": [
{
"arguments": null,
"id": 6871,
"modifierName": {
"argumentTypes": null,
"id": 6870,
"name": "onlySupervisorOrOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9496,
"src": "2512:21:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "2512:21:22"
}
],
"name": "disableBaseDeposit",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 6869,
"nodeType": "ParameterList",
"parameters": [],
"src": "2500:2:22"
},
"returnParameters": {
"id": 6872,
"nodeType": "ParameterList",
"parameters": [],
"src": "2534:0:22"
},
"scope": 6963,
"src": "2473:108:22",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"body": {
"id": 6889,
"nodeType": "Block",
"src": "2645:46:22",
"statements": [
{
"expression": {
"argumentTypes": null,
"id": 6887,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 6885,
"name": "_DEPOSIT_BASE_ALLOWED_",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9429,
"src": "2655:22:22",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"hexValue": "74727565",
"id": 6886,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "bool",
"lValueRequested": false,
"nodeType": "Literal",
"src": "2680:4:22",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"value": "true"
},
"src": "2655:29:22",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"id": 6888,
"nodeType": "ExpressionStatement",
"src": "2655:29:22"
}
]
},
"documentation": null,
"functionSelector": "1184d8be",
"id": 6890,
"implemented": true,
"kind": "function",
"modifiers": [
{
"arguments": null,
"id": 6881,
"modifierName": {
"argumentTypes": null,
"id": 6880,
"name": "onlyOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 11110,
"src": "2625:9:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "2625:9:22"
},
{
"arguments": null,
"id": 6883,
"modifierName": {
"argumentTypes": null,
"id": 6882,
"name": "notClosed",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9506,
"src": "2635:9:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "2635:9:22"
}
],
"name": "enableBaseDeposit",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 6879,
"nodeType": "ParameterList",
"parameters": [],
"src": "2613:2:22"
},
"returnParameters": {
"id": 6884,
"nodeType": "ParameterList",
"parameters": [],
"src": "2645:0:22"
},
"scope": 6963,
"src": "2587:104:22",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"body": {
"id": 6899,
"nodeType": "Block",
"src": "2814:41:22",
"statements": [
{
"expression": {
"argumentTypes": null,
"id": 6897,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 6895,
"name": "_BUYING_ALLOWED_",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9435,
"src": "2824:16:22",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"hexValue": "66616c7365",
"id": 6896,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "bool",
"lValueRequested": false,
"nodeType": "Literal",
"src": "2843:5:22",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"value": "false"
},
"src": "2824:24:22",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"id": 6898,
"nodeType": "ExpressionStatement",
"src": "2824:24:22"
}
]
},
"documentation": null,
"functionSelector": "247f993b",
"id": 6900,
"implemented": true,
"kind": "function",
"modifiers": [
{
"arguments": null,
"id": 6893,
"modifierName": {
"argumentTypes": null,
"id": 6892,
"name": "onlySupervisorOrOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9496,
"src": "2792:21:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "2792:21:22"
}
],
"name": "disableBuying",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 6891,
"nodeType": "ParameterList",
"parameters": [],
"src": "2780:2:22"
},
"returnParameters": {
"id": 6894,
"nodeType": "ParameterList",
"parameters": [],
"src": "2814:0:22"
},
"scope": 6963,
"src": "2758:97:22",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"body": {
"id": 6911,
"nodeType": "Block",
"src": "2914:40:22",
"statements": [
{
"expression": {
"argumentTypes": null,
"id": 6909,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 6907,
"name": "_BUYING_ALLOWED_",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9435,
"src": "2924:16:22",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"hexValue": "74727565",
"id": 6908,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "bool",
"lValueRequested": false,
"nodeType": "Literal",
"src": "2943:4:22",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"value": "true"
},
"src": "2924:23:22",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"id": 6910,
"nodeType": "ExpressionStatement",
"src": "2924:23:22"
}
]
},
"documentation": null,
"functionSelector": "90cbf822",
"id": 6912,
"implemented": true,
"kind": "function",
"modifiers": [
{
"arguments": null,
"id": 6903,
"modifierName": {
"argumentTypes": null,
"id": 6902,
"name": "onlyOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 11110,
"src": "2894:9:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "2894:9:22"
},
{
"arguments": null,
"id": 6905,
"modifierName": {
"argumentTypes": null,
"id": 6904,
"name": "notClosed",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9506,
"src": "2904:9:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "2904:9:22"
}
],
"name": "enableBuying",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 6901,
"nodeType": "ParameterList",
"parameters": [],
"src": "2882:2:22"
},
"returnParameters": {
"id": 6906,
"nodeType": "ParameterList",
"parameters": [],
"src": "2914:0:22"
},
"scope": 6963,
"src": "2861:93:22",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"body": {
"id": 6921,
"nodeType": "Block",
"src": "3017:42:22",
"statements": [
{
"expression": {
"argumentTypes": null,
"id": 6919,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 6917,
"name": "_SELLING_ALLOWED_",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9437,
"src": "3027:17:22",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"hexValue": "66616c7365",
"id": 6918,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "bool",
"lValueRequested": false,
"nodeType": "Literal",
"src": "3047:5:22",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"value": "false"
},
"src": "3027:25:22",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"id": 6920,
"nodeType": "ExpressionStatement",
"src": "3027:25:22"
}
]
},
"documentation": null,
"functionSelector": "aceecbc8",
"id": 6922,
"implemented": true,
"kind": "function",
"modifiers": [
{
"arguments": null,
"id": 6915,
"modifierName": {
"argumentTypes": null,
"id": 6914,
"name": "onlySupervisorOrOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9496,
"src": "2995:21:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "2995:21:22"
}
],
"name": "disableSelling",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 6913,
"nodeType": "ParameterList",
"parameters": [],
"src": "2983:2:22"
},
"returnParameters": {
"id": 6916,
"nodeType": "ParameterList",
"parameters": [],
"src": "3017:0:22"
},
"scope": 6963,
"src": "2960:99:22",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"body": {
"id": 6933,
"nodeType": "Block",
"src": "3119:41:22",
"statements": [
{
"expression": {
"argumentTypes": null,
"id": 6931,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 6929,
"name": "_SELLING_ALLOWED_",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9437,
"src": "3129:17:22",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"hexValue": "74727565",
"id": 6930,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "bool",
"lValueRequested": false,
"nodeType": "Literal",
"src": "3149:4:22",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"value": "true"
},
"src": "3129:24:22",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"id": 6932,
"nodeType": "ExpressionStatement",
"src": "3129:24:22"
}
]
},
"documentation": null,
"functionSelector": "cc062b58",
"id": 6934,
"implemented": true,
"kind": "function",
"modifiers": [
{
"arguments": null,
"id": 6925,
"modifierName": {
"argumentTypes": null,
"id": 6924,
"name": "onlyOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 11110,
"src": "3099:9:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "3099:9:22"
},
{
"arguments": null,
"id": 6927,
"modifierName": {
"argumentTypes": null,
"id": 6926,
"name": "notClosed",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9506,
"src": "3109:9:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "3109:9:22"
}
],
"name": "enableSelling",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 6923,
"nodeType": "ParameterList",
"parameters": [],
"src": "3087:2:22"
},
"returnParameters": {
"id": 6928,
"nodeType": "ParameterList",
"parameters": [],
"src": "3119:0:22"
},
"scope": 6963,
"src": "3065:95:22",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"body": {
"id": 6947,
"nodeType": "Block",
"src": "3253:59:22",
"statements": [
{
"expression": {
"argumentTypes": null,
"id": 6945,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 6943,
"name": "_BASE_BALANCE_LIMIT_",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9439,
"src": "3263:20:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"id": 6944,
"name": "newBaseBalanceLimit",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 6936,
"src": "3286:19:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"src": "3263:42:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 6946,
"nodeType": "ExpressionStatement",
"src": "3263:42:22"
}
]
},
"documentation": null,
"functionSelector": "892daf05",
"id": 6948,
"implemented": true,
"kind": "function",
"modifiers": [
{
"arguments": null,
"id": 6939,
"modifierName": {
"argumentTypes": null,
"id": 6938,
"name": "onlyOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 11110,
"src": "3233:9:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "3233:9:22"
},
{
"arguments": null,
"id": 6941,
"modifierName": {
"argumentTypes": null,
"id": 6940,
"name": "notClosed",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9506,
"src": "3243:9:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "3243:9:22"
}
],
"name": "setBaseBalanceLimit",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 6937,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 6936,
"mutability": "mutable",
"name": "newBaseBalanceLimit",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 6948,
"src": "3195:27:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 6935,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "3195:7:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "3194:29:22"
},
"returnParameters": {
"id": 6942,
"nodeType": "ParameterList",
"parameters": [],
"src": "3253:0:22"
},
"scope": 6963,
"src": "3166:146:22",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"body": {
"id": 6961,
"nodeType": "Block",
"src": "3407:61:22",
"statements": [
{
"expression": {
"argumentTypes": null,
"id": 6959,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 6957,
"name": "_QUOTE_BALANCE_LIMIT_",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9441,
"src": "3417:21:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"id": 6958,
"name": "newQuoteBalanceLimit",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 6950,
"src": "3441:20:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"src": "3417:44:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 6960,
"nodeType": "ExpressionStatement",
"src": "3417:44:22"
}
]
},
"documentation": null,
"functionSelector": "97316ad8",
"id": 6962,
"implemented": true,
"kind": "function",
"modifiers": [
{
"arguments": null,
"id": 6953,
"modifierName": {
"argumentTypes": null,
"id": 6952,
"name": "onlyOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 11110,
"src": "3387:9:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "3387:9:22"
},
{
"arguments": null,
"id": 6955,
"modifierName": {
"argumentTypes": null,
"id": 6954,
"name": "notClosed",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9506,
"src": "3397:9:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "3397:9:22"
}
],
"name": "setQuoteBalanceLimit",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 6951,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 6950,
"mutability": "mutable",
"name": "newQuoteBalanceLimit",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 6962,
"src": "3348:28:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 6949,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "3348:7:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "3347:30:22"
},
"returnParameters": {
"id": 6956,
"nodeType": "ParameterList",
"parameters": [],
"src": "3407:0:22"
},
"scope": 6963,
"src": "3318:150:22",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
}
],
"scope": 6964,
"src": "270:3200:22"
}
],
"src": "78:3393:22"
},
"legacyAST": {
"absolutePath": "/Users/owen/Desktop/dodo/dodo-smart-contract/contracts/impl/Admin.sol",
"exportedSymbols": {
"Admin": [
6963
]
},
"id": 6964,
"license": "Apache-2.0",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 6681,
"literals": [
"solidity",
"0.6",
".9"
],
"nodeType": "PragmaDirective",
"src": "78:22:22"
},
{
"id": 6682,
"literals": [
"experimental",
"ABIEncoderV2"
],
"nodeType": "PragmaDirective",
"src": "101:33:22"
},
{
"absolutePath": "/Users/owen/Desktop/dodo/dodo-smart-contract/contracts/impl/Storage.sol",
"file": "./Storage.sol",
"id": 6684,
"nodeType": "ImportDirective",
"scope": 6964,
"sourceUnit": 9614,
"src": "136:38:22",
"symbolAliases": [
{
"foreign": {
"argumentTypes": null,
"id": 6683,
"name": "Storage",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": null,
"src": "144:7:22",
"typeDescriptions": {
"typeIdentifier": null,
"typeString": null
}
},
"local": null
}
],
"unitAlias": ""
},
{
"abstract": false,
"baseContracts": [
{
"arguments": null,
"baseName": {
"contractScope": null,
"id": 6686,
"name": "Storage",
"nodeType": "UserDefinedTypeName",
"referencedDeclaration": 9613,
"src": "288:7:22",
"typeDescriptions": {
"typeIdentifier": "t_contract$_Storage_$9613",
"typeString": "contract Storage"
}
},
"id": 6687,
"nodeType": "InheritanceSpecifier",
"src": "288:7:22"
}
],
"contractDependencies": [
9613,
11166,
11296
],
"contractKind": "contract",
"documentation": {
"id": 6685,
"nodeType": "StructuredDocumentation",
"src": "177:92:22",
"text": " @title Admin\n @author DODO Breeder\n @notice Functions for admin operations"
},
"fullyImplemented": true,
"id": 6963,
"linearizedBaseContracts": [
6963,
9613,
11296,
11166
],
"name": "Admin",
"nodeType": "ContractDefinition",
"nodes": [
{
"anonymous": false,
"documentation": null,
"id": 6693,
"name": "UpdateGasPriceLimit",
"nodeType": "EventDefinition",
"parameters": {
"id": 6692,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 6689,
"indexed": false,
"mutability": "mutable",
"name": "oldGasPriceLimit",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 6693,
"src": "369:24:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 6688,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "369:7:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 6691,
"indexed": false,
"mutability": "mutable",
"name": "newGasPriceLimit",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 6693,
"src": "395:24:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 6690,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "395:7:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "368:52:22"
},
"src": "343:78:22"
},
{
"anonymous": false,
"documentation": null,
"id": 6699,
"name": "UpdateLiquidityProviderFeeRate",
"nodeType": "EventDefinition",
"parameters": {
"id": 6698,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 6695,
"indexed": false,
"mutability": "mutable",
"name": "oldLiquidityProviderFeeRate",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 6699,
"src": "473:35:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 6694,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "473:7:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 6697,
"indexed": false,
"mutability": "mutable",
"name": "newLiquidityProviderFeeRate",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 6699,
"src": "518:35:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 6696,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "518:7:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "463:96:22"
},
"src": "427:133:22"
},
{
"anonymous": false,
"documentation": null,
"id": 6705,
"name": "UpdateMaintainerFeeRate",
"nodeType": "EventDefinition",
"parameters": {
"id": 6704,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 6701,
"indexed": false,
"mutability": "mutable",
"name": "oldMaintainerFeeRate",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 6705,
"src": "596:28:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 6700,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "596:7:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 6703,
"indexed": false,
"mutability": "mutable",
"name": "newMaintainerFeeRate",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 6705,
"src": "626:28:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 6702,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "626:7:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "595:60:22"
},
"src": "566:90:22"
},
{
"anonymous": false,
"documentation": null,
"id": 6711,
"name": "UpdateK",
"nodeType": "EventDefinition",
"parameters": {
"id": 6710,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 6707,
"indexed": false,
"mutability": "mutable",
"name": "oldK",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 6711,
"src": "676:12:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 6706,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "676:7:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
},
{
"constant": false,
"id": 6709,
"indexed": false,
"mutability": "mutable",
"name": "newK",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 6711,
"src": "690:12:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 6708,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "690:7:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "675:28:22"
},
"src": "662:42:22"
},
{
"body": {
"id": 6722,
"nodeType": "Block",
"src": "826:37:22",
"statements": [
{
"expression": {
"argumentTypes": null,
"id": 6720,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 6718,
"name": "_ORACLE_",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9451,
"src": "836:8:22",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"id": 6719,
"name": "newOracle",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 6713,
"src": "847:9:22",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"src": "836:20:22",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"id": 6721,
"nodeType": "ExpressionStatement",
"src": "836:20:22"
}
]
},
"documentation": null,
"functionSelector": "7adbf973",
"id": 6723,
"implemented": true,
"kind": "function",
"modifiers": [
{
"arguments": null,
"id": 6716,
"modifierName": {
"argumentTypes": null,
"id": 6715,
"name": "onlyOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 11110,
"src": "816:9:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "816:9:22"
}
],
"name": "setOracle",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 6714,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 6713,
"mutability": "mutable",
"name": "newOracle",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 6723,
"src": "788:17:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 6712,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "788:7:22",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "787:19:22"
},
"returnParameters": {
"id": 6717,
"nodeType": "ParameterList",
"parameters": [],
"src": "826:0:22"
},
"scope": 6963,
"src": "769:94:22",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"body": {
"id": 6734,
"nodeType": "Block",
"src": "934:45:22",
"statements": [
{
"expression": {
"argumentTypes": null,
"id": 6732,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 6730,
"name": "_SUPERVISOR_",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9443,
"src": "944:12:22",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"id": 6731,
"name": "newSupervisor",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 6725,
"src": "959:13:22",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"src": "944:28:22",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"id": 6733,
"nodeType": "ExpressionStatement",
"src": "944:28:22"
}
]
},
"documentation": null,
"functionSelector": "9299eb30",
"id": 6735,
"implemented": true,
"kind": "function",
"modifiers": [
{
"arguments": null,
"id": 6728,
"modifierName": {
"argumentTypes": null,
"id": 6727,
"name": "onlyOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 11110,
"src": "924:9:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "924:9:22"
}
],
"name": "setSupervisor",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 6726,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 6725,
"mutability": "mutable",
"name": "newSupervisor",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 6735,
"src": "892:21:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 6724,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "892:7:22",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "891:23:22"
},
"returnParameters": {
"id": 6729,
"nodeType": "ParameterList",
"parameters": [],
"src": "934:0:22"
},
"scope": 6963,
"src": "869:110:22",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"body": {
"id": 6746,
"nodeType": "Block",
"src": "1050:45:22",
"statements": [
{
"expression": {
"argumentTypes": null,
"id": 6744,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 6742,
"name": "_MAINTAINER_",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9445,
"src": "1060:12:22",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"id": 6743,
"name": "newMaintainer",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 6737,
"src": "1075:13:22",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"src": "1060:28:22",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"id": 6745,
"nodeType": "ExpressionStatement",
"src": "1060:28:22"
}
]
},
"documentation": null,
"functionSelector": "13ea5d29",
"id": 6747,
"implemented": true,
"kind": "function",
"modifiers": [
{
"arguments": null,
"id": 6740,
"modifierName": {
"argumentTypes": null,
"id": 6739,
"name": "onlyOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 11110,
"src": "1040:9:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "1040:9:22"
}
],
"name": "setMaintainer",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 6738,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 6737,
"mutability": "mutable",
"name": "newMaintainer",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 6747,
"src": "1008:21:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 6736,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1008:7:22",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "1007:23:22"
},
"returnParameters": {
"id": 6741,
"nodeType": "ParameterList",
"parameters": [],
"src": "1050:0:22"
},
"scope": 6963,
"src": "985:110:22",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"body": {
"id": 6766,
"nodeType": "Block",
"src": "1194:181:22",
"statements": [
{
"eventCall": {
"argumentTypes": null,
"arguments": [
{
"argumentTypes": null,
"id": 6755,
"name": "_LP_FEE_RATE_",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9453,
"src": "1240:13:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
{
"argumentTypes": null,
"id": 6756,
"name": "newLiquidityPorviderFeeRate",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 6749,
"src": "1255:27:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
{
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
],
"id": 6754,
"name": "UpdateLiquidityProviderFeeRate",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 6699,
"src": "1209:30:22",
"typeDescriptions": {
"typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$returns$__$",
"typeString": "function (uint256,uint256)"
}
},
"id": 6757,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "1209:74:22",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 6758,
"nodeType": "EmitStatement",
"src": "1204:79:22"
},
{
"expression": {
"argumentTypes": null,
"id": 6761,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 6759,
"name": "_LP_FEE_RATE_",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9453,
"src": "1293:13:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"id": 6760,
"name": "newLiquidityPorviderFeeRate",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 6749,
"src": "1309:27:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"src": "1293:43:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 6762,
"nodeType": "ExpressionStatement",
"src": "1293:43:22"
},
{
"expression": {
"argumentTypes": null,
"arguments": [],
"expression": {
"argumentTypes": [],
"id": 6763,
"name": "_checkDODOParameters",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9538,
"src": "1346:20:22",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_view$__$returns$_t_uint256_$",
"typeString": "function () view returns (uint256)"
}
},
"id": 6764,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "1346:22:22",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 6765,
"nodeType": "ExpressionStatement",
"src": "1346:22:22"
}
]
},
"documentation": null,
"functionSelector": "5bb7552a",
"id": 6767,
"implemented": true,
"kind": "function",
"modifiers": [
{
"arguments": null,
"id": 6752,
"modifierName": {
"argumentTypes": null,
"id": 6751,
"name": "onlyOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 11110,
"src": "1184:9:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "1184:9:22"
}
],
"name": "setLiquidityProviderFeeRate",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 6750,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 6749,
"mutability": "mutable",
"name": "newLiquidityPorviderFeeRate",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 6767,
"src": "1138:35:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 6748,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1138:7:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "1137:37:22"
},
"returnParameters": {
"id": 6753,
"nodeType": "ParameterList",
"parameters": [],
"src": "1194:0:22"
},
"scope": 6963,
"src": "1101:274:22",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"body": {
"id": 6786,
"nodeType": "Block",
"src": "1460:160:22",
"statements": [
{
"eventCall": {
"argumentTypes": null,
"arguments": [
{
"argumentTypes": null,
"id": 6775,
"name": "_MT_FEE_RATE_",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9455,
"src": "1499:13:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
{
"argumentTypes": null,
"id": 6776,
"name": "newMaintainerFeeRate",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 6769,
"src": "1514:20:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
{
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
],
"id": 6774,
"name": "UpdateMaintainerFeeRate",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 6705,
"src": "1475:23:22",
"typeDescriptions": {
"typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$returns$__$",
"typeString": "function (uint256,uint256)"
}
},
"id": 6777,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "1475:60:22",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 6778,
"nodeType": "EmitStatement",
"src": "1470:65:22"
},
{
"expression": {
"argumentTypes": null,
"id": 6781,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 6779,
"name": "_MT_FEE_RATE_",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9455,
"src": "1545:13:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"id": 6780,
"name": "newMaintainerFeeRate",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 6769,
"src": "1561:20:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"src": "1545:36:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 6782,
"nodeType": "ExpressionStatement",
"src": "1545:36:22"
},
{
"expression": {
"argumentTypes": null,
"arguments": [],
"expression": {
"argumentTypes": [],
"id": 6783,
"name": "_checkDODOParameters",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9538,
"src": "1591:20:22",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_view$__$returns$_t_uint256_$",
"typeString": "function () view returns (uint256)"
}
},
"id": 6784,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "1591:22:22",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 6785,
"nodeType": "ExpressionStatement",
"src": "1591:22:22"
}
]
},
"documentation": null,
"functionSelector": "f2220416",
"id": 6787,
"implemented": true,
"kind": "function",
"modifiers": [
{
"arguments": null,
"id": 6772,
"modifierName": {
"argumentTypes": null,
"id": 6771,
"name": "onlyOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 11110,
"src": "1450:9:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "1450:9:22"
}
],
"name": "setMaintainerFeeRate",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 6770,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 6769,
"mutability": "mutable",
"name": "newMaintainerFeeRate",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 6787,
"src": "1411:28:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 6768,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1411:7:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "1410:30:22"
},
"returnParameters": {
"id": 6773,
"nodeType": "ParameterList",
"parameters": [],
"src": "1460:0:22"
},
"scope": 6963,
"src": "1381:239:22",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"body": {
"id": 6806,
"nodeType": "Block",
"src": "1673:92:22",
"statements": [
{
"eventCall": {
"argumentTypes": null,
"arguments": [
{
"argumentTypes": null,
"id": 6795,
"name": "_K_",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9457,
"src": "1696:3:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
{
"argumentTypes": null,
"id": 6796,
"name": "newK",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 6789,
"src": "1701:4:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
{
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
],
"id": 6794,
"name": "UpdateK",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 6711,
"src": "1688:7:22",
"typeDescriptions": {
"typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$returns$__$",
"typeString": "function (uint256,uint256)"
}
},
"id": 6797,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "1688:18:22",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 6798,
"nodeType": "EmitStatement",
"src": "1683:23:22"
},
{
"expression": {
"argumentTypes": null,
"id": 6801,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 6799,
"name": "_K_",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9457,
"src": "1716:3:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"id": 6800,
"name": "newK",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 6789,
"src": "1722:4:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"src": "1716:10:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 6802,
"nodeType": "ExpressionStatement",
"src": "1716:10:22"
},
{
"expression": {
"argumentTypes": null,
"arguments": [],
"expression": {
"argumentTypes": [],
"id": 6803,
"name": "_checkDODOParameters",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9538,
"src": "1736:20:22",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_view$__$returns$_t_uint256_$",
"typeString": "function () view returns (uint256)"
}
},
"id": 6804,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "1736:22:22",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 6805,
"nodeType": "ExpressionStatement",
"src": "1736:22:22"
}
]
},
"documentation": null,
"functionSelector": "67de8be9",
"id": 6807,
"implemented": true,
"kind": "function",
"modifiers": [
{
"arguments": null,
"id": 6792,
"modifierName": {
"argumentTypes": null,
"id": 6791,
"name": "onlyOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 11110,
"src": "1663:9:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "1663:9:22"
}
],
"name": "setK",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 6790,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 6789,
"mutability": "mutable",
"name": "newK",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 6807,
"src": "1640:12:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 6788,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1640:7:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "1639:14:22"
},
"returnParameters": {
"id": 6793,
"nodeType": "ParameterList",
"parameters": [],
"src": "1673:0:22"
},
"scope": 6963,
"src": "1626:139:22",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"body": {
"id": 6823,
"nodeType": "Block",
"src": "1854:124:22",
"statements": [
{
"eventCall": {
"argumentTypes": null,
"arguments": [
{
"argumentTypes": null,
"id": 6815,
"name": "_GAS_PRICE_LIMIT_",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9433,
"src": "1889:17:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
{
"argumentTypes": null,
"id": 6816,
"name": "newGasPriceLimit",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 6809,
"src": "1908:16:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
{
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
],
"id": 6814,
"name": "UpdateGasPriceLimit",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 6693,
"src": "1869:19:22",
"typeDescriptions": {
"typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$returns$__$",
"typeString": "function (uint256,uint256)"
}
},
"id": 6817,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"names": [],
"nodeType": "FunctionCall",
"src": "1869:56:22",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 6818,
"nodeType": "EmitStatement",
"src": "1864:61:22"
},
{
"expression": {
"argumentTypes": null,
"id": 6821,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 6819,
"name": "_GAS_PRICE_LIMIT_",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9433,
"src": "1935:17:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"id": 6820,
"name": "newGasPriceLimit",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 6809,
"src": "1955:16:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"src": "1935:36:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 6822,
"nodeType": "ExpressionStatement",
"src": "1935:36:22"
}
]
},
"documentation": null,
"functionSelector": "09231602",
"id": 6824,
"implemented": true,
"kind": "function",
"modifiers": [
{
"arguments": null,
"id": 6812,
"modifierName": {
"argumentTypes": null,
"id": 6811,
"name": "onlySupervisorOrOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9496,
"src": "1832:21:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "1832:21:22"
}
],
"name": "setGasPriceLimit",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 6810,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 6809,
"mutability": "mutable",
"name": "newGasPriceLimit",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 6824,
"src": "1797:24:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 6808,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1797:7:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "1796:26:22"
},
"returnParameters": {
"id": 6813,
"nodeType": "ParameterList",
"parameters": [],
"src": "1854:0:22"
},
"scope": 6963,
"src": "1771:207:22",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"body": {
"id": 6833,
"nodeType": "Block",
"src": "2100:40:22",
"statements": [
{
"expression": {
"argumentTypes": null,
"id": 6831,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 6829,
"name": "_TRADE_ALLOWED_",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9431,
"src": "2110:15:22",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"hexValue": "66616c7365",
"id": 6830,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "bool",
"lValueRequested": false,
"nodeType": "Literal",
"src": "2128:5:22",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"value": "false"
},
"src": "2110:23:22",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"id": 6832,
"nodeType": "ExpressionStatement",
"src": "2110:23:22"
}
]
},
"documentation": null,
"functionSelector": "17700f01",
"id": 6834,
"implemented": true,
"kind": "function",
"modifiers": [
{
"arguments": null,
"id": 6827,
"modifierName": {
"argumentTypes": null,
"id": 6826,
"name": "onlySupervisorOrOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9496,
"src": "2078:21:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "2078:21:22"
}
],
"name": "disableTrading",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 6825,
"nodeType": "ParameterList",
"parameters": [],
"src": "2066:2:22"
},
"returnParameters": {
"id": 6828,
"nodeType": "ParameterList",
"parameters": [],
"src": "2100:0:22"
},
"scope": 6963,
"src": "2043:97:22",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"body": {
"id": 6845,
"nodeType": "Block",
"src": "2200:39:22",
"statements": [
{
"expression": {
"argumentTypes": null,
"id": 6843,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 6841,
"name": "_TRADE_ALLOWED_",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9431,
"src": "2210:15:22",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"hexValue": "74727565",
"id": 6842,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "bool",
"lValueRequested": false,
"nodeType": "Literal",
"src": "2228:4:22",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"value": "true"
},
"src": "2210:22:22",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"id": 6844,
"nodeType": "ExpressionStatement",
"src": "2210:22:22"
}
]
},
"documentation": null,
"functionSelector": "8a8c523c",
"id": 6846,
"implemented": true,
"kind": "function",
"modifiers": [
{
"arguments": null,
"id": 6837,
"modifierName": {
"argumentTypes": null,
"id": 6836,
"name": "onlyOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 11110,
"src": "2180:9:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "2180:9:22"
},
{
"arguments": null,
"id": 6839,
"modifierName": {
"argumentTypes": null,
"id": 6838,
"name": "notClosed",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9506,
"src": "2190:9:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "2190:9:22"
}
],
"name": "enableTrading",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 6835,
"nodeType": "ParameterList",
"parameters": [],
"src": "2168:2:22"
},
"returnParameters": {
"id": 6840,
"nodeType": "ParameterList",
"parameters": [],
"src": "2200:0:22"
},
"scope": 6963,
"src": "2146:93:22",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"body": {
"id": 6855,
"nodeType": "Block",
"src": "2307:48:22",
"statements": [
{
"expression": {
"argumentTypes": null,
"id": 6853,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 6851,
"name": "_DEPOSIT_QUOTE_ALLOWED_",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9427,
"src": "2317:23:22",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"hexValue": "66616c7365",
"id": 6852,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "bool",
"lValueRequested": false,
"nodeType": "Literal",
"src": "2343:5:22",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"value": "false"
},
"src": "2317:31:22",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"id": 6854,
"nodeType": "ExpressionStatement",
"src": "2317:31:22"
}
]
},
"documentation": null,
"functionSelector": "bc7d679d",
"id": 6856,
"implemented": true,
"kind": "function",
"modifiers": [
{
"arguments": null,
"id": 6849,
"modifierName": {
"argumentTypes": null,
"id": 6848,
"name": "onlySupervisorOrOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9496,
"src": "2285:21:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "2285:21:22"
}
],
"name": "disableQuoteDeposit",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 6847,
"nodeType": "ParameterList",
"parameters": [],
"src": "2273:2:22"
},
"returnParameters": {
"id": 6850,
"nodeType": "ParameterList",
"parameters": [],
"src": "2307:0:22"
},
"scope": 6963,
"src": "2245:110:22",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"body": {
"id": 6867,
"nodeType": "Block",
"src": "2420:47:22",
"statements": [
{
"expression": {
"argumentTypes": null,
"id": 6865,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 6863,
"name": "_DEPOSIT_QUOTE_ALLOWED_",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9427,
"src": "2430:23:22",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"hexValue": "74727565",
"id": 6864,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "bool",
"lValueRequested": false,
"nodeType": "Literal",
"src": "2456:4:22",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"value": "true"
},
"src": "2430:30:22",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"id": 6866,
"nodeType": "ExpressionStatement",
"src": "2430:30:22"
}
]
},
"documentation": null,
"functionSelector": "36ac41a8",
"id": 6868,
"implemented": true,
"kind": "function",
"modifiers": [
{
"arguments": null,
"id": 6859,
"modifierName": {
"argumentTypes": null,
"id": 6858,
"name": "onlyOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 11110,
"src": "2400:9:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "2400:9:22"
},
{
"arguments": null,
"id": 6861,
"modifierName": {
"argumentTypes": null,
"id": 6860,
"name": "notClosed",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9506,
"src": "2410:9:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "2410:9:22"
}
],
"name": "enableQuoteDeposit",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 6857,
"nodeType": "ParameterList",
"parameters": [],
"src": "2388:2:22"
},
"returnParameters": {
"id": 6862,
"nodeType": "ParameterList",
"parameters": [],
"src": "2420:0:22"
},
"scope": 6963,
"src": "2361:106:22",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"body": {
"id": 6877,
"nodeType": "Block",
"src": "2534:47:22",
"statements": [
{
"expression": {
"argumentTypes": null,
"id": 6875,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 6873,
"name": "_DEPOSIT_BASE_ALLOWED_",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9429,
"src": "2544:22:22",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"hexValue": "66616c7365",
"id": 6874,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "bool",
"lValueRequested": false,
"nodeType": "Literal",
"src": "2569:5:22",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"value": "false"
},
"src": "2544:30:22",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"id": 6876,
"nodeType": "ExpressionStatement",
"src": "2544:30:22"
}
]
},
"documentation": null,
"functionSelector": "13c57624",
"id": 6878,
"implemented": true,
"kind": "function",
"modifiers": [
{
"arguments": null,
"id": 6871,
"modifierName": {
"argumentTypes": null,
"id": 6870,
"name": "onlySupervisorOrOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9496,
"src": "2512:21:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "2512:21:22"
}
],
"name": "disableBaseDeposit",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 6869,
"nodeType": "ParameterList",
"parameters": [],
"src": "2500:2:22"
},
"returnParameters": {
"id": 6872,
"nodeType": "ParameterList",
"parameters": [],
"src": "2534:0:22"
},
"scope": 6963,
"src": "2473:108:22",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"body": {
"id": 6889,
"nodeType": "Block",
"src": "2645:46:22",
"statements": [
{
"expression": {
"argumentTypes": null,
"id": 6887,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 6885,
"name": "_DEPOSIT_BASE_ALLOWED_",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9429,
"src": "2655:22:22",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"hexValue": "74727565",
"id": 6886,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "bool",
"lValueRequested": false,
"nodeType": "Literal",
"src": "2680:4:22",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"value": "true"
},
"src": "2655:29:22",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"id": 6888,
"nodeType": "ExpressionStatement",
"src": "2655:29:22"
}
]
},
"documentation": null,
"functionSelector": "1184d8be",
"id": 6890,
"implemented": true,
"kind": "function",
"modifiers": [
{
"arguments": null,
"id": 6881,
"modifierName": {
"argumentTypes": null,
"id": 6880,
"name": "onlyOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 11110,
"src": "2625:9:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "2625:9:22"
},
{
"arguments": null,
"id": 6883,
"modifierName": {
"argumentTypes": null,
"id": 6882,
"name": "notClosed",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9506,
"src": "2635:9:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "2635:9:22"
}
],
"name": "enableBaseDeposit",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 6879,
"nodeType": "ParameterList",
"parameters": [],
"src": "2613:2:22"
},
"returnParameters": {
"id": 6884,
"nodeType": "ParameterList",
"parameters": [],
"src": "2645:0:22"
},
"scope": 6963,
"src": "2587:104:22",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"body": {
"id": 6899,
"nodeType": "Block",
"src": "2814:41:22",
"statements": [
{
"expression": {
"argumentTypes": null,
"id": 6897,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 6895,
"name": "_BUYING_ALLOWED_",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9435,
"src": "2824:16:22",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"hexValue": "66616c7365",
"id": 6896,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "bool",
"lValueRequested": false,
"nodeType": "Literal",
"src": "2843:5:22",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"value": "false"
},
"src": "2824:24:22",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"id": 6898,
"nodeType": "ExpressionStatement",
"src": "2824:24:22"
}
]
},
"documentation": null,
"functionSelector": "247f993b",
"id": 6900,
"implemented": true,
"kind": "function",
"modifiers": [
{
"arguments": null,
"id": 6893,
"modifierName": {
"argumentTypes": null,
"id": 6892,
"name": "onlySupervisorOrOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9496,
"src": "2792:21:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "2792:21:22"
}
],
"name": "disableBuying",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 6891,
"nodeType": "ParameterList",
"parameters": [],
"src": "2780:2:22"
},
"returnParameters": {
"id": 6894,
"nodeType": "ParameterList",
"parameters": [],
"src": "2814:0:22"
},
"scope": 6963,
"src": "2758:97:22",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"body": {
"id": 6911,
"nodeType": "Block",
"src": "2914:40:22",
"statements": [
{
"expression": {
"argumentTypes": null,
"id": 6909,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 6907,
"name": "_BUYING_ALLOWED_",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9435,
"src": "2924:16:22",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"hexValue": "74727565",
"id": 6908,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "bool",
"lValueRequested": false,
"nodeType": "Literal",
"src": "2943:4:22",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"value": "true"
},
"src": "2924:23:22",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"id": 6910,
"nodeType": "ExpressionStatement",
"src": "2924:23:22"
}
]
},
"documentation": null,
"functionSelector": "90cbf822",
"id": 6912,
"implemented": true,
"kind": "function",
"modifiers": [
{
"arguments": null,
"id": 6903,
"modifierName": {
"argumentTypes": null,
"id": 6902,
"name": "onlyOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 11110,
"src": "2894:9:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "2894:9:22"
},
{
"arguments": null,
"id": 6905,
"modifierName": {
"argumentTypes": null,
"id": 6904,
"name": "notClosed",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9506,
"src": "2904:9:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "2904:9:22"
}
],
"name": "enableBuying",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 6901,
"nodeType": "ParameterList",
"parameters": [],
"src": "2882:2:22"
},
"returnParameters": {
"id": 6906,
"nodeType": "ParameterList",
"parameters": [],
"src": "2914:0:22"
},
"scope": 6963,
"src": "2861:93:22",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"body": {
"id": 6921,
"nodeType": "Block",
"src": "3017:42:22",
"statements": [
{
"expression": {
"argumentTypes": null,
"id": 6919,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 6917,
"name": "_SELLING_ALLOWED_",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9437,
"src": "3027:17:22",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"hexValue": "66616c7365",
"id": 6918,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "bool",
"lValueRequested": false,
"nodeType": "Literal",
"src": "3047:5:22",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"value": "false"
},
"src": "3027:25:22",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"id": 6920,
"nodeType": "ExpressionStatement",
"src": "3027:25:22"
}
]
},
"documentation": null,
"functionSelector": "aceecbc8",
"id": 6922,
"implemented": true,
"kind": "function",
"modifiers": [
{
"arguments": null,
"id": 6915,
"modifierName": {
"argumentTypes": null,
"id": 6914,
"name": "onlySupervisorOrOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9496,
"src": "2995:21:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "2995:21:22"
}
],
"name": "disableSelling",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 6913,
"nodeType": "ParameterList",
"parameters": [],
"src": "2983:2:22"
},
"returnParameters": {
"id": 6916,
"nodeType": "ParameterList",
"parameters": [],
"src": "3017:0:22"
},
"scope": 6963,
"src": "2960:99:22",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"body": {
"id": 6933,
"nodeType": "Block",
"src": "3119:41:22",
"statements": [
{
"expression": {
"argumentTypes": null,
"id": 6931,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 6929,
"name": "_SELLING_ALLOWED_",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9437,
"src": "3129:17:22",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"hexValue": "74727565",
"id": 6930,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "bool",
"lValueRequested": false,
"nodeType": "Literal",
"src": "3149:4:22",
"subdenomination": null,
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
},
"value": "true"
},
"src": "3129:24:22",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
},
"id": 6932,
"nodeType": "ExpressionStatement",
"src": "3129:24:22"
}
]
},
"documentation": null,
"functionSelector": "cc062b58",
"id": 6934,
"implemented": true,
"kind": "function",
"modifiers": [
{
"arguments": null,
"id": 6925,
"modifierName": {
"argumentTypes": null,
"id": 6924,
"name": "onlyOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 11110,
"src": "3099:9:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "3099:9:22"
},
{
"arguments": null,
"id": 6927,
"modifierName": {
"argumentTypes": null,
"id": 6926,
"name": "notClosed",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9506,
"src": "3109:9:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "3109:9:22"
}
],
"name": "enableSelling",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 6923,
"nodeType": "ParameterList",
"parameters": [],
"src": "3087:2:22"
},
"returnParameters": {
"id": 6928,
"nodeType": "ParameterList",
"parameters": [],
"src": "3119:0:22"
},
"scope": 6963,
"src": "3065:95:22",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"body": {
"id": 6947,
"nodeType": "Block",
"src": "3253:59:22",
"statements": [
{
"expression": {
"argumentTypes": null,
"id": 6945,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 6943,
"name": "_BASE_BALANCE_LIMIT_",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9439,
"src": "3263:20:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"id": 6944,
"name": "newBaseBalanceLimit",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 6936,
"src": "3286:19:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"src": "3263:42:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 6946,
"nodeType": "ExpressionStatement",
"src": "3263:42:22"
}
]
},
"documentation": null,
"functionSelector": "892daf05",
"id": 6948,
"implemented": true,
"kind": "function",
"modifiers": [
{
"arguments": null,
"id": 6939,
"modifierName": {
"argumentTypes": null,
"id": 6938,
"name": "onlyOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 11110,
"src": "3233:9:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "3233:9:22"
},
{
"arguments": null,
"id": 6941,
"modifierName": {
"argumentTypes": null,
"id": 6940,
"name": "notClosed",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9506,
"src": "3243:9:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "3243:9:22"
}
],
"name": "setBaseBalanceLimit",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 6937,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 6936,
"mutability": "mutable",
"name": "newBaseBalanceLimit",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 6948,
"src": "3195:27:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 6935,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "3195:7:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "3194:29:22"
},
"returnParameters": {
"id": 6942,
"nodeType": "ParameterList",
"parameters": [],
"src": "3253:0:22"
},
"scope": 6963,
"src": "3166:146:22",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"body": {
"id": 6961,
"nodeType": "Block",
"src": "3407:61:22",
"statements": [
{
"expression": {
"argumentTypes": null,
"id": 6959,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"argumentTypes": null,
"id": 6957,
"name": "_QUOTE_BALANCE_LIMIT_",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9441,
"src": "3417:21:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"nodeType": "Assignment",
"operator": "=",
"rightHandSide": {
"argumentTypes": null,
"id": 6958,
"name": "newQuoteBalanceLimit",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 6950,
"src": "3441:20:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"src": "3417:44:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 6960,
"nodeType": "ExpressionStatement",
"src": "3417:44:22"
}
]
},
"documentation": null,
"functionSelector": "97316ad8",
"id": 6962,
"implemented": true,
"kind": "function",
"modifiers": [
{
"arguments": null,
"id": 6953,
"modifierName": {
"argumentTypes": null,
"id": 6952,
"name": "onlyOwner",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 11110,
"src": "3387:9:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "3387:9:22"
},
{
"arguments": null,
"id": 6955,
"modifierName": {
"argumentTypes": null,
"id": 6954,
"name": "notClosed",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 9506,
"src": "3397:9:22",
"typeDescriptions": {
"typeIdentifier": "t_modifier$__$",
"typeString": "modifier ()"
}
},
"nodeType": "ModifierInvocation",
"src": "3397:9:22"
}
],
"name": "setQuoteBalanceLimit",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 6951,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 6950,
"mutability": "mutable",
"name": "newQuoteBalanceLimit",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 6962,
"src": "3348:28:22",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 6949,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "3348:7:22",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "3347:30:22"
},
"returnParameters": {
"id": 6956,
"nodeType": "ParameterList",
"parameters": [],
"src": "3407:0:22"
},
"scope": 6963,
"src": "3318:150:22",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
}
],
"scope": 6964,
"src": "270:3200:22"
}
],
"src": "78:3393:22"
},
"compiler": {
"name": "solc",
"version": "0.6.9+commit.3e3065ac.Emscripten.clang"
},
"networks": {},
"schemaVersion": "3.2.3",
"updatedAt": "2020-11-06T08:03:35.678Z",
"devdoc": {
"author": "DODO Breeder",
"methods": {},
"title": "Admin"
},
"userdoc": {
"methods": {},
"notice": "Functions for admin operations"
}
}